/* ================================
   Base
   ================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --ink: #0c1221;
    --ink-soft: #263044;
    --muted: #5b6a7f;
    --primary: #176b5c;
    --primary-dark: #0f4b41;
    --accent: #f27f2c;
    --surface: #ffffff;
    --surface-alt: #f5f2ec;
    --border: rgba(12, 18, 33, 0.08);
    --shadow: 0 18px 40px rgba(12, 18, 33, 0.12);
    --radius: 18px;
    --radius-lg: 28px;
    --font-display: "Space Grotesk", sans-serif;
    --font-body: "Manrope", sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--ink);
    line-height: 1.6;
    background:
        radial-gradient(900px circle at 10% 10%, rgba(242, 127, 44, 0.12), transparent 40%),
        radial-gradient(1000px circle at 90% -10%, rgba(23, 107, 92, 0.2), transparent 50%),
        #f6f4ef;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1120px, 92vw);
    margin: 0 auto;
}

/* ================================
   Navigation
   ================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(18px);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-weight: 700;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), #2f6be0);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.nav-links {
    display: flex;
    gap: 1rem;
    font-weight: 600;
    color: var(--ink-soft);
    padding: 0.35rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--border);
}

.nav-links a {
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    transition: background 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
    background: rgba(23, 107, 92, 0.12);
    color: var(--ink);
}

.nav-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.4rem;
    border-radius: 999px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn.primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 16px 30px rgba(23, 107, 92, 0.25);
}

.btn.primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn.ghost {
    background: white;
    border: 1px solid var(--border);
    color: var(--ink);
}

.btn.ghost:hover {
    border-color: rgba(23, 107, 92, 0.4);
    color: var(--primary);
}

/* ================================
   Hero
   ================================ */
.hero {
    padding: 6.5rem 0 4rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.hero-copy h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 4vw, 3.4rem);
    line-height: 1.05;
    margin-bottom: 1rem;
}

.hero-copy p {
    color: var(--muted);
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem;
    box-shadow: var(--shadow);
}

.stat-card strong {
    display: block;
    font-size: 1.1rem;
    font-family: var(--font-display);
}

.stat-card span {
    color: var(--muted);
    font-size: 0.85rem;
}

.hero-panel {
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    animation: float 8s ease-in-out infinite;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
}

.panel-chip {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: white;
    background: var(--accent);
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
}

.panel-chart {
    display: flex;
    align-items: flex-end;
    gap: 0.4rem;
    height: 140px;
    margin-bottom: 1.5rem;
}

.chart-bar {
    flex: 1;
    height: var(--i);
    background: linear-gradient(180deg, rgba(23, 107, 92, 0.85), rgba(23, 107, 92, 0.2));
    border-radius: 12px;
}

.panel-list {
    display: grid;
    gap: 0.8rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.panel-list strong {
    color: var(--ink);
    display: block;
    font-size: 1.1rem;
}

/* ================================
   Sections
   ================================ */
.section {
    padding: 5rem 0;
}

.section.alt {
    background: var(--surface-alt);
}

.section-header {
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin: 0.8rem 0;
}

.section-header p {
    color: var(--muted);
}

.eyebrow {
    display: inline-flex;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--primary-dark);
    background: rgba(23, 107, 92, 0.12);
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 1.8rem;
    box-shadow: var(--shadow);
    position: relative;
}

.card h3 {
    font-family: var(--font-display);
    margin-bottom: 0.6rem;
}

.card p {
    color: var(--muted);
}

.chip {
    display: inline-flex;
    margin-top: 1.2rem;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(242, 127, 44, 0.16);
    color: var(--accent);
}

.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.step-card {
    background: white;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 1.8rem;
    box-shadow: var(--shadow);
}

.step-index {
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(23, 107, 92, 0.12);
    color: var(--primary-dark);
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 700;
    margin-bottom: 1rem;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2rem;
    align-items: center;
}

.trust-list {
    margin-top: 1.5rem;
    display: grid;
    gap: 0.6rem;
    color: var(--ink-soft);
    font-weight: 600;
}

.trust-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
}

.badge-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem;
    margin: 1.2rem 0;
}

.badge-grid span {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0.4rem 0.6rem;
    border-radius: 999px;
    background: rgba(23, 107, 92, 0.12);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--primary-dark);
}

.doc-card .link {
    margin-top: 1rem;
    display: inline-flex;
    font-weight: 700;
    color: var(--primary);
}

/* ================================
   CTA + Footer
   ================================ */
.cta {
    padding: 4rem 0 5rem;
}

.cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    background: linear-gradient(120deg, rgba(23, 107, 92, 0.95), rgba(47, 107, 224, 0.85));
    color: white;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}

.cta-card h2 {
    font-family: var(--font-display);
    margin-bottom: 0.6rem;
}

.footer {
    background: #0c1221;
    color: rgba(255, 255, 255, 0.78);
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
}

.footer-grid h4 {
    color: white;
    margin-bottom: 0.8rem;
}

.footer-grid a {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-bottom {
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    font-size: 0.85rem;
}


/* ================================
   Motion + Responsive
   ================================ */
@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 980px) {
    .nav-shell {
        flex-direction: column;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 720px) {
    .nav-actions {
        width: 100%;
        justify-content: center;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-panel {
        animation: none;
    }
}
