/* Homepage Styles for FileShare Pro */

/* General Styles */
:root {
    --primary-color: #11a0a0;
    --secondary-color: #7648fe;
    --dark-color: #2c3e50;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --gradient-primary: #008080;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.1);
    --border-radius: 10px;
    --transition: all 0.3s ease;
}

body {
    color: #444;
    font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--dark-color);
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header p {
    color: var(--gray-color);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(250px, -250px);
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-150px, 150px);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.hero-image {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 1200 120" preserveAspectRatio="none" xmlns="http://www.w3.org/2000/svg"><path d="M0 0v46.29c47.79 22.2 103.59 32.17 158 28 70.36-5.37 136.33-33.31 206.8-37.5 73.84-4.36 147.54 16.88 218.2 35.26 69.27 18 138.3 24.88 209.4 13.08 36.15-6 69.85-17.84 104.45-29.34C989.49 25 1113-14.29 1200 52.47V0z" fill="%23FFFFFF" opacity="1"/></svg>');
    background-size: cover;
    z-index: 2;
}

/* Upload Section */
.upload-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.upload-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    padding: 40px;
    text-align: center;
    transition: var(--transition);
}

.upload-card:hover {
    box-shadow: var(--shadow-lg);
}

.upload-header {
    margin-bottom: 30px;
}

.upload-header h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.upload-area {
    margin-bottom: 25px;
}

.upload-dropzone {
    border: 2px dashed #ddd;
    border-radius: var(--border-radius);
    padding: 40px 20px;
    cursor: pointer;
    transition: var(--transition);
}

.upload-dropzone:hover, .upload-dropzone.highlight {
    border-color: var(--primary-color);
    background-color: rgba(74, 111, 255, 0.05);
}

.upload-dropzone i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.upload-dropzone p {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.upload-dropzone p span {
    color: var(--primary-color);
    font-weight: 600;
}

.upload-progress {
    margin-top: 20px;
}

.progress {
    height: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    background-color: #e9ecef;
    overflow: hidden;
}

.progress-bar {
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--gray-color);
}

.upload-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.btn-upload {
    background: var(--gradient-primary);
    border: none;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-upload:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(74, 111, 255, 0.3);
}

.upload-limit {
    margin-bottom: 0;
    font-size: 0.9rem;
    color: var(--gray-color);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: #fff;
}

.feature-card {
    padding: 30px 25px;
    border-radius: var(--border-radius);
    background: white;
    box-shadow: var(--shadow-sm);
    margin-bottom: 30px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon i {
    color: white;
    font-size: 1.8rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--gray-color);
    margin-bottom: 0;
}

/* How It Works Section */
.how-it-works-section {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: #e9ecef;
    z-index: 0;
}

.step-item {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 33.333%;
    padding: 0 20px;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--dark-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    z-index: 2;
}

.step-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    border: 4px solid #e9ecef;
}

.step-icon i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.step-item h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.step-item p {
    color: var(--gray-color);
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-color: #fff;
}

.testimonial-card {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-content p {
    font-style: italic;
    position: relative;
    padding-left: 25px;
}

.testimonial-content p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex-grow: 1;
}

.author-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--gray-color);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Call to Action Section */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
}

.cta-container {
    position: relative;
    z-index: 1;
    color: white;
}

.cta-section::before, .cta-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.cta-section::before {
    top: -150px;
    right: -50px;
}

.cta-section::after {
    bottom: -150px;
    left: -50px;
}

.cta-container h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-container p {
    opacity: 0.9;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .step-item {
        width: 100%;
        margin-bottom: 40px;
    }
    
    .steps-container::before {
        display: none;
    }
    
    .cta-container {
        text-align: center;
    }
    
    .cta-container .btn {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .hero-section {
        padding: 80px 0 60px;
    }
    
    .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .feature-card, .testimonial-card {
        margin-bottom: 20px;
    }
}