/* =========================
   HERO SECTION
========================= */

.hero {
    padding: 120px 24px 100px;
    background: radial-gradient(circle at top right, rgba(79, 70, 229, 0.08) 0%, transparent 45%), 
                radial-gradient(circle at bottom left, rgba(6, 182, 212, 0.08) 0%, transparent 45%), 
                linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 920px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(226, 232, 240, 0.8);
    padding: 8px 16px;
    border-radius: 999px;
    color: #4f46e5;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 28px;
    box-shadow: 0 4px 15px rgba(79, 70, 229, 0.05);
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2.5px;
    margin: 0 0 24px;
    color: #0f172a;
}

.text-gradient {
    background: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero p {
    max-width: 700px;
    margin: 0 auto 40px;
    font-size: 19px;
    line-height: 1.7;
    color: #475569;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
}

.primary-btn,
.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 0 32px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}

.primary-btn {
    background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.25);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35);
    background: linear-gradient(135deg, #4338ca 0%, #2563eb 100%);
}

.secondary-btn {
    background: #ffffff;
    color: #334155 !important;
    border: 1px solid #cbd5e1;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.secondary-btn:hover {
    background: #f8fafc;
    color: #0f172a !important;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

/* =========================
   STATS
========================= */

.stats-grid {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.stats-grid h3 {
    margin: 0;
    font-size: 42px;
    font-weight: 800;
    color: #020617;
}

.stats-grid p {
    margin-top: 10px;
    color: #64748b;
    font-size: 15px;
}

/* =========================
   SECTION HEADER
========================= */

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    margin: 0 0 14px;
    font-size: 48px;
    font-weight: 800;
    color: #020617;
}

.section-header p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 18px;
    color: #64748b;
    line-height: 1.6;
}

/* =========================
   FEATURES
========================= */

.features {
    padding: 90px 48px;
}

.feature-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    display: block;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 28px;
    min-height: 240px;
    transition: all .25s ease;
    color: inherit;
    text-decoration: none;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .08);
}

.feature-card h3 {
    margin: 0 0 14px;
    font-size: 22px;
    font-weight: 700;
    color: #020617;
}

.feature-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
}

.icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
}

.blue { background: #eff6ff; }
.purple { background: #faf5ff; }
.green { background: #f0fdf4; }
.orange { background: #fff7ed; }
.red { background: #fff1f2; }
.cyan { background: #ecfeff; }
.pink { background: #fdf2f8; }
.indigo { background: #eef2ff; }

/* =========================
   HOW IT WORKS
========================= */

.how-it-works {
    padding: 90px 48px;
    background: #f8fafc;
}

.steps-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.step-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 50px 28px 30px;
    text-align: center;
}

.step-number {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #020617;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.step-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 30px;
}

.step-card h3 {
    margin: 0 0 12px;
    font-size: 21px;
    font-weight: 700;
}

.step-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.7;
}

/* =========================
   CTA
========================= */

.cta {
    padding: 100px 24px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    text-align: center;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cta h2 {
    margin: 0 0 18px;
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.cta p {
    max-width: 720px;
    margin: 0 auto 36px;
    font-size: 18px;
    line-height: 1.7;
    color: #94a3b8;
}

.cta-btn {
    display: inline-block;
    background: #ffffff;
    color: #0f172a;
    padding: 16px 36px;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
    background: #f8fafc;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1100px) {

    .feature-grid,
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {

    .stats-grid,
    .feature-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero h1 {
        font-size: 38px;
    }

    .section-header h2 {
        font-size: 34px;
    }

    .cta h2 {
        font-size: 34px;
    }
}