html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #0f172a;
    color: #0f172a;
}

/* Removed default main padding handled by layout */

    padding-bottom: 6rem;
}

.container {
    width: min(1100px, 92vw);
    margin-inline: auto;
}

.home-hero {
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 45%, #22d3ee 100%);
    padding: 6rem 0 5rem;
    color: #f8fafc;
    position: relative;
    overflow: hidden;
}

.home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.25) 0%, transparent 55%);
    pointer-events: none;
}

.home-hero__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 3rem;
    align-items: center;
}

.home-hero__content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.home-hero__content h1 {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    line-height: 1.1;
    font-weight: 700;
    margin: 0;
}

.home-hero__content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(248, 250, 252, 0.9);
    margin: 0;
}

.eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(248, 250, 252, 0.7);
}

.home-hero__actions {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.75rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary {
    background: #0f172a;
    border: none;
    color: #f8fafc;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.28);
}

.btn-outline {
    background: transparent;
    border: 1px solid rgba(248, 250, 252, 0.6);
    color: #f8fafc;
}

.btn-outline:hover {
    background: rgba(248, 250, 252, 0.1);
    transform: translateY(-2px);
}

.home-hero__visual {
    position: relative;
    z-index: 1;
}

.home-hero__card {
    background: #0f172a;
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.3);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.home-hero__badge {
    align-self: flex-start;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    background: rgba(56, 189, 248, 0.18);
    color: #38bdf8;
    font-weight: 600;
    font-size: 0.9rem;
}

.home-hero__metric {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    color: #f8fafc;
}

.home-hero__metric span {
    font-size: 2.25rem;
    font-weight: 700;
}

.home-hero__metric small {
    font-size: 0.9rem;
    color: rgba(248, 250, 252, 0.6);
}

.home-hero__progress {
    height: 8px;
    background: rgba(148, 163, 184, 0.35);
    border-radius: 999px;
    overflow: hidden;
}

.home-hero__progress-fill {
    width: 72%;
    height: 100%;
    background: linear-gradient(90deg, #22d3ee 0%, #3b82f6 100%);
}

.home-hero__meta {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.95rem;
    color: rgba(148, 163, 184, 0.75);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.dot-success {
    background: #22c55e;
}

.dot-primary {
    background: #3b82f6;
}

.home-section {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.section-header h2 {
    font-size: 2rem;
    color: #0f172a;
    margin: 0;
}

.section-header p {
    color: #475569;
    margin: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.25rem 2rem;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    color: #0f172a;
    margin: 0;
}

.feature-card p {
    color: #475569;
    margin: 0;
    line-height: 1.6;
}

.icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(59, 130, 246, 0.16);
}

.icon-blue {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(96, 165, 250, 0.35));
}

.icon-purple {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(217, 70, 239, 0.35));
}

.icon-green {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(74, 222, 128, 0.35));
}

.insight-card {
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 60%, #e2e8f0 100%);
    border-radius: 24px;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    padding: 3rem;
    gap: 3rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
}

.insight-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.insight-content p {
    margin: 0;
    color: #475569;
}

.stat-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
}

.stat-label {
    font-size: 0.95rem;
    color: #475569;
}

.home-cta {
    margin-top: 1rem;
}

.insight-visual {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.insight-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.75rem;
    height: 180px;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.08);
    border-radius: 20px;
}

.chart-bar {
    width: 22px;
    border-radius: 12px 12px 0 0;
    background: linear-gradient(180deg, #38bdf8 0%, #1d4ed8 100%);
}

.bar-1 { height: 60%; }
.bar-2 { height: 82%; }
.bar-3 { height: 74%; }
.bar-4 { height: 92%; }

.insight-legend {
    margin-top: 1.5rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-panel {
    background: linear-gradient(135deg, #1d4ed8 0%, #3b82f6 45%, #22d3ee 100%);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    color: #f8fafc;
}

.cta-panel h2 {
    margin: 0 0 0.75rem;
    font-size: 2rem;
}

.cta-panel p {
    margin: 0;
    color: rgba(248, 250, 252, 0.8);
}

.cta-actions {
    display: flex;
    gap: 1rem;
}

@media (max-width: 960px) {
    .home-hero__grid,
    .insight-card,
    .feature-grid {
        grid-template-columns: 1fr;
    }

    .home-hero {
        padding-inline: 1.5rem;
    }

    .container {
        width: min(580px, 92vw);
    }

    .home-hero__visual {
        order: -1;
    }

    .cta-panel {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .home-page {
        gap: 4rem;
    }

    .home-hero__actions,
    .cta-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn,
    .btn-outline,
    .btn-primary {
        width: 100%;
    }

    .stat-group {
        grid-template-columns: 1fr;
    }
}
