/* Home Page Specific Styles */

/* Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    padding: 100px 24px 60px 72px;
    background: var(--bg-secondary);
    overflow: hidden;
}

/* Optional background video. Hidden (opacity: 0) until it can actually
   play, so if assets/img/hero-bg.mp4 is missing the section just keeps
   showing the flat background color above — drop the file in and it
   fades in automatically, no code changes needed. */
.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    z-index: 0;
    pointer-events: none;
    transition: opacity 1s ease;
}

.hero-bg-video.is-visible {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.55);
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    top: 10%;
    left: -5%;
}

.hero-shape-2 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    bottom: 20%;
    right: -3%;
}

.hero-shape-3 {
    width: 150px;
    height: 150px;
    background: var(--accent);
    top: 50%;
    left: 60%;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: min(100%, 920px);
    text-align: left;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-title {
    max-width: 820px;
    font-size: clamp(4rem, 8.3vw, 8.5rem);
    font-weight: 800;
    line-height: 0.94;
    margin-bottom: 40px;
    letter-spacing: -0.065em;
    color: var(--text-primary);
    animation: fadeInUp 1s cubic-bezier(0.25, 0.1, 0.25, 1) 0.3s both;
}

.hero-learn-more {
    animation: fadeInUp 1s cubic-bezier(0.25, 0.1, 0.25, 1) 0.4s both;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
    flex-wrap: wrap;
    animation: fadeInUp 1s cubic-bezier(0.25, 0.1, 0.25, 1) 0.5s both;
}

/* CTA Section */
.cta-section {
    padding: 120px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0,113,227,0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0,198,255,0.08) 0%, transparent 50%);
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Section with background */
.section-alt {
    background: var(--bg-secondary);
    max-width: none;
    padding: 100px 24px;
}

.section-alt .section-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-section {
        padding-left: 32px;
    }

    .hero-title {
        font-size: clamp(3.3rem, 10vw, 5.5rem);
    }

    .cta-title {
        font-size: 36px;
    }

    .cta-subtitle {
        font-size: 18px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-transparent, .btn-primary {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .hero-section {
        min-height: 540px;
        padding: 96px 20px 48px 24px;
    }

    .hero-title {
        font-size: clamp(3rem, 15vw, 4.6rem);
        line-height: 0.98;
    }

    .cta-title {
        font-size: 28px;
    }
}
