:root {
    --navy: #0B1F33;
    --teal: #18B6A3;
    --bright-teal: #3DDCC8;
    --slate: #445A73;
    --soft: #E9EEF2;
    --white: #fff;
    --shadow: 0 24px 60px rgba(11, 31, 51, 0.1);
    --radius: 20px;
    --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Inter", "Segoe UI", system-ui, sans-serif;
    color: var(--navy);
    background: #f8fbfd;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

.container { width: min(100% - 2.5rem, var(--max)); margin: 0 auto; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: rgba(255,255,255,.9);
    border-bottom: 1px solid rgba(68,90,115,.1);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
}
.brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    flex-shrink: 0;
    line-height: 0;
}
.brand-logo {
    height: 56px;
    width: auto;
    max-width: min(220px, 45vw);
    object-fit: contain;
    object-position: left center;
    display: block;
}
.main-nav { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.main-nav a {
    color: var(--slate);
    text-decoration: none;
    font-size: .92rem;
    font-weight: 500;
    transition: color .2s;
}
.main-nav a:hover { color: var(--teal); }

/* Hero */
.section-hero {
    padding: 5.5rem 0 4.5rem;
    background:
        radial-gradient(ellipse 80% 60% at 90% 0%, rgba(61,220,200,.2), transparent),
        radial-gradient(ellipse 50% 40% at 0% 100%, rgba(11,31,51,.04), transparent),
        linear-gradient(180deg, #fff 0%, #f4f9fb 100%);
    overflow: hidden;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 3rem;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem .85rem;
    border-radius: 999px;
    background: rgba(24,182,163,.1);
    border: 1px solid rgba(24,182,163,.25);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--teal);
    margin-bottom: 1.25rem;
}
.hero-badge::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bright-teal);
    box-shadow: 0 0 8px var(--bright-teal);
}
.section-hero h1 {
    font-size: clamp(2.5rem, 5.5vw, 4.2rem);
    line-height: 1.05;
    letter-spacing: -.04em;
    margin: 0 0 1.25rem;
    font-weight: 800;
}
.hero-lead {
    font-size: 1.2rem;
    color: var(--slate);
    max-width: 540px;
    margin: 0 0 2rem;
}
.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(68,90,115,.12);
}
.hero-stat strong {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--navy);
}
.hero-stat span { font-size: .85rem; color: var(--slate); }

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: rgba(233,238,242,.4); }
.eyebrow {
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .75rem;
    font-weight: 700;
    color: var(--teal);
    margin: 0 0 .75rem;
}
.section h2 {
    font-size: clamp(1.85rem, 3.5vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -.03em;
    margin: 0 0 1rem;
    font-weight: 800;
}
.section-intro { font-size: 1.1rem; color: var(--slate); max-width: 680px; margin-bottom: 2rem; }

/* Cards & steps */
.cards-grid { display: grid; gap: 1.25rem; }
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.info-card {
    background: var(--white);
    border: 1px solid rgba(68,90,115,.1);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s;
}
.info-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 28px 70px rgba(11,31,51,.12);
}
.info-card h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.info-card p { margin: 0; color: var(--slate); font-size: .95rem; }
.info-card .icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(24,182,163,.15), rgba(61,220,200,.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin: 2rem 0;
}
.step-card {
    background: var(--white);
    border: 1px solid rgba(68,90,115,.1);
    border-radius: var(--radius);
    padding: 1.25rem;
    position: relative;
}
.step-number {
    display: inline-flex;
    width: 2rem;
    height: 2rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--bright-teal));
    color: #fff;
    font-weight: 700;
    font-size: .85rem;
    margin-bottom: .75rem;
}
.step-card h3 { margin: 0 0 .4rem; font-size: .95rem; }
.step-card p { margin: 0; font-size: .85rem; color: var(--slate); }

/* Visuals */
.section-visual {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: block;
}
.svg-fallback { min-height: 280px; background: #fff; }
.hero-visual .section-visual { min-height: 360px; object-fit: cover; }
.visual-wrap { margin-top: 2rem; }
.visual-placeholder {
    position: relative;
    min-height: 280px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(11,31,51,.05), rgba(24,182,163,.12));
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.visual-placeholder span {
    position: relative;
    z-index: 2;
    font-size: .88rem;
    color: var(--slate);
    background: rgba(255,255,255,.85);
    padding: .5rem 1rem;
    border-radius: 999px;
}
.shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent);
    animation: shimmer 1.8s infinite;
}
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Buttons */
.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.6rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    font-size: .95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
    background: linear-gradient(135deg, var(--teal), var(--bright-teal));
    color: #fff;
    box-shadow: 0 12px 32px rgba(24,182,163,.35);
}
.btn-secondary {
    background: #fff;
    color: var(--navy);
    border-color: rgba(68,90,115,.2);
}

/* Prose & lists */
.prose { color: var(--slate); max-width: 720px; }
.bullet-list { padding-left: 1.25rem; color: var(--slate); }
.bullet-list li { margin-bottom: .5rem; }

/* Split layout */
.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* Contact */
.section-contact {
    background: linear-gradient(180deg, #fff, #eef6f5);
}
.contact-form {
    background: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(68,90,115,.08);
    max-width: 640px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .88rem; font-weight: 500; color: var(--slate); }
.contact-form label.full { grid-column: 1 / -1; }
.contact-form input, .contact-form textarea {
    border: 1px solid rgba(68,90,115,.18);
    border-radius: 12px;
    padding: .85rem 1rem;
    font: inherit;
    transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(24,182,163,.15);
}

/* Footer */
.site-footer {
    padding: 2.5rem 0 3rem;
    border-top: 1px solid rgba(68,90,115,.1);
    color: var(--slate);
    font-size: .92rem;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-tag { color: var(--teal); font-weight: 600; }

/* Loading screen */
.loading-screen {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #fff, #eef6f5);
    text-align: center;
    padding: 2rem;
}
.loading-card {
    max-width: 420px;
    background: #fff;
    border-radius: var(--radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
}
.loading-bar {
    height: 6px;
    background: var(--soft);
    border-radius: 999px;
    overflow: hidden;
    margin: 1.5rem 0;
}
.loading-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--teal), var(--bright-teal));
    border-radius: 999px;
    transition: width .4s ease;
}
.loading-screen h1 { font-size: 1.35rem; margin: 0 0 .5rem; }
.loading-screen p { color: var(--slate); margin: 0; font-size: .95rem; }

@media (max-width: 960px) {
    .main-nav { display: none; }
    .hero-grid, .split-grid, .steps-grid, .cards-grid-2, .cards-grid-3, .form-grid {
        grid-template-columns: 1fr;
    }
    .hero-stats { flex-direction: column; gap: 1rem; }
}

@media (prefers-reduced-motion: reduce) {
    .shimmer { animation: none; }
    .btn:hover, .info-card:hover { transform: none; }
}
