/* ==========================================================================
   ChromeTrack - Home Page CSS
   Landing page specific styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
    margin-top: 80px;
    padding: 100px 0 80px;
    background: linear-gradient(135deg, var(--light) 0%, #E8F1FF 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-tag {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.5px;
}

.hero h1 {
    margin-bottom: var(--spacing-md);
}

.hero-description {
    font-size: 20px;
    color: var(--medium);
    margin-bottom: 36px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.hero-visual {
    animation: fadeInUp 0.8s ease-out 0.4s both;
    max-width: 520px;
    margin-left: auto;
}

/* --------------------------------------------------------------------------
   Problem Section
   -------------------------------------------------------------------------- */
.problem-section {
    padding: var(--spacing-2xl) 0;
    background: var(--white);
}

/* --------------------------------------------------------------------------
   Solution Section
   -------------------------------------------------------------------------- */
.solution-section {
    padding: var(--spacing-2xl) 0;
    background: var(--dark);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.solution-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 102, 255, 0.1) 0%, transparent 70%);
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.solution-text h2 {
    color: var(--white);
}

.solution-text p {
    font-size: 18px;
    margin-bottom: var(--spacing-md);
    opacity: 0.9;
}

.solution-features {
    list-style: none;
    margin-bottom: 32px;
}

.solution-features li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.solution-visual {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   Features Section
   -------------------------------------------------------------------------- */
.features-section {
    padding: var(--spacing-2xl) 0;
    background: var(--white);
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translateX(-50%);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white);
    font-size: 48px;
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    font-size: 20px;
    margin-bottom: 36px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
}

/* --------------------------------------------------------------------------
   Responsive - Home Page
   -------------------------------------------------------------------------- */
@media (max-width: 968px) {
    .hero {
        padding: 60px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-visual {
        margin: var(--spacing-lg) auto 0;
        max-width: 100%;
    }

    .solution-content {
        grid-template-columns: 1fr;
    }

    .cta-content h2 {
        font-size: 36px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 40px 0;
    }

    .hero-description {
        font-size: 17px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .cta-content p {
        font-size: 16px;
    }
}
