:root {
    --blue: #0B4F8C;
    --blue-deep: #062F54;
    --blue-mid: #0E5FA8;
    --blue-soft: #E8F1FA;
    --gold: #E0B100;
    --gold-deep: #B88900;
    --green: #0F7A3A;
    --ink: #10233A;
    --muted: #4A6078;
    --white: #FFFFFF;
    --sand: #F3F7FB;
    --line: rgba(16, 35, 58, 0.1);
    --shadow: 0 18px 50px rgba(11, 79, 140, 0.12);
    --wrap: min(1120px, calc(100% - 2.5rem));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: "Figtree", system-ui, sans-serif;
    color: var(--ink);
    background: var(--sand);
    line-height: 1.55;
    min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.wrap {
    width: var(--wrap);
    margin-inline: auto;
}

.site-header {
    position: absolute;
    z-index: 20;
    top: 0; left: 0; right: 0;
}
.site-header.is-solid {
    position: sticky;
    background: rgba(6, 47, 84, 0.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav {
    width: var(--wrap);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 0;
}
.brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: var(--white);
    flex: 0 0 auto;
}
.brand img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: contain;
    background: #FAF8F4;
}
.brand span {
    font-family: "Bricolage Grotesque", Georgia, sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: .02em;
}
.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .15rem;
    flex: 1 1 auto;
}
.nav-link {
    color: rgba(255,255,255,.88);
    font-weight: 600;
    font-size: .92rem;
    padding: .5rem .75rem;
    border-radius: 999px;
    transition: background .2s ease, color .2s ease;
}
.nav-link:hover,
.nav-link.is-active {
    background: rgba(255,255,255,.12);
    color: var(--white);
}
.nav-actions {
    display: flex;
    gap: .55rem;
    align-items: center;
    flex: 0 0 auto;
}
.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: var(--white);
    font-size: 1.4rem;
    padding: .35rem;
    cursor: pointer;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border: 0;
    border-radius: 999px;
    padding: .8rem 1.25rem;
    font-weight: 700;
    font-size: .92rem;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #1A1400; }
.btn-outline {
    background: transparent;
    color: var(--white);
    box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.55);
}
.btn-blue { background: var(--blue); color: var(--white); }
.btn-soft {
    background: var(--blue-soft);
    color: var(--blue-deep);
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    color: var(--white);
    overflow: hidden;
    display: grid;
    place-items: center;
    text-align: center;
}
.hero-media {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    animation: heroIn 1.4s ease both;
}
.hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(6,47,84,.45) 0%, rgba(6,47,84,.28) 42%, rgba(6,47,84,.88) 100%),
        radial-gradient(ellipse at 50% 70%, rgba(11,79,140,.25), transparent 55%);
}
.hero-content {
    position: relative;
    z-index: 2;
    width: min(760px, calc(100% - 2.5rem));
    margin-inline: auto;
    padding: 7rem 0 4.5rem;
    animation: rise .9s .15s ease both;
}
.hero-kicker {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--gold);
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-size: .78rem;
}
.hero h1 {
    font-family: "Bricolage Grotesque", Georgia, sans-serif;
    font-weight: 800;
    font-size: clamp(3.6rem, 10vw, 6.6rem);
    line-height: .92;
    letter-spacing: -.03em;
    margin-bottom: 1rem;
}
.hero p {
    font-size: clamp(1.05rem, 2.1vw, 1.28rem);
    color: rgba(255,255,255,.92);
    max-width: 34rem;
    margin: 0 auto 1.6rem;
}
.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: center;
}

section { padding: clamp(3.8rem, 8vw, 6.2rem) 0; }
.section-head {
    width: min(640px, 100%);
    margin: 0 auto 2.4rem;
    text-align: center;
}
.section-head h2 {
    font-family: "Bricolage Grotesque", Georgia, sans-serif;
    font-size: clamp(2rem, 4.4vw, 3rem);
    line-height: 1.1;
    letter-spacing: -.02em;
    color: var(--blue-deep);
    margin-bottom: .75rem;
}
.section-head p {
    color: var(--muted);
    font-size: 1.05rem;
}

.split {
    width: var(--wrap);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
.split-visual {
    overflow: hidden;
    min-height: 360px;
    border-radius: 28px;
}
.split-visual img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}
.split-copy h3 {
    font-family: "Bricolage Grotesque", Georgia, sans-serif;
    font-size: 1.7rem;
    color: var(--blue-deep);
    margin-bottom: .7rem;
}
.split-copy p { color: var(--muted); margin-bottom: 1rem; }
.list {
    list-style: none;
    display: grid;
    gap: .65rem;
}
.list li {
    display: flex;
    gap: .7rem;
    align-items: flex-start;
    color: var(--ink);
    font-weight: 500;
}
.list li::before {
    content: "";
    width: .7rem;
    height: .7rem;
    margin-top: .4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--green));
    flex: 0 0 auto;
}

.band {
    background:
        radial-gradient(circle at 12% 18%, rgba(224,177,0,.16), transparent 40%),
        radial-gradient(circle at 88% 82%, rgba(15,122,58,.12), transparent 35%),
        linear-gradient(135deg, #0B4F8C, #062F54 58%, #0A3D6E);
    color: var(--white);
}
.band .section-head h2 { color: var(--white); }
.band .section-head p { color: rgba(255,255,255,.78); }
.steps {
    width: var(--wrap);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(1.2rem, 3vw, 2rem);
}
.step {
    text-align: left;
    padding: 1.35rem 1.2rem 1.2rem;
    border-top: 2px solid rgba(224,177,0,.7);
    background: rgba(255,255,255,.06);
    border-radius: 0 0 18px 18px;
}
.step strong {
    display: block;
    font-family: "Bricolage Grotesque", Georgia, sans-serif;
    font-size: 1.28rem;
    margin: .45rem 0 .4rem;
}
.step span {
    color: rgba(255,255,255,.78);
    font-size: .98rem;
}
.step em {
    font-style: normal;
    color: var(--gold);
    font-weight: 700;
    font-size: .82rem;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.demo {
    width: var(--wrap);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 2rem;
    align-items: stretch;
}
.demo-panel,
.panel {
    background: var(--white);
    border-radius: 24px;
    padding: 1.7rem;
    box-shadow: var(--shadow);
}
.demo-panel h3,
.panel h3 {
    font-family: "Bricolage Grotesque", Georgia, sans-serif;
    font-size: 1.35rem;
    margin-bottom: .45rem;
    color: var(--blue-deep);
}
.cred {
    margin-top: 1rem;
    display: grid;
    gap: .55rem;
}
.cred code {
    display: block;
    background: var(--blue-soft);
    color: var(--blue-deep);
    padding: .8rem 1rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: .95rem;
}
.status { margin-top: 1rem; font-size: .92rem; color: var(--muted); }
.status.ok { color: var(--green); font-weight: 700; }

.page-hero {
    background:
        radial-gradient(circle at 15% 20%, rgba(224,177,0,.18), transparent 40%),
        linear-gradient(135deg, #0B4F8C, #062F54);
    color: var(--white);
    padding: 7.5rem 0 3.5rem;
    text-align: center;
}
.page-hero h1 {
    font-family: "Bricolage Grotesque", Georgia, sans-serif;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    letter-spacing: -.02em;
    margin-bottom: .6rem;
}
.page-hero p {
    max-width: 38rem;
    margin: 0 auto;
    color: rgba(255,255,255,.84);
    font-size: 1.08rem;
}
.page-body {
    width: min(860px, calc(100% - 2.5rem));
    margin: -1.5rem auto 4rem;
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow);
    padding: clamp(1.6rem, 4vw, 2.4rem);
}
.page-body h2 {
    font-family: "Bricolage Grotesque", Georgia, sans-serif;
    color: var(--blue-deep);
    font-size: 1.35rem;
    margin: 1.5rem 0 .55rem;
}
.page-body h2:first-child { margin-top: 0; }
.page-body p, .page-body li { color: var(--muted); margin-bottom: .75rem; }
.page-body ul, .page-body ol {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}
.page-body a { color: var(--blue); font-weight: 600; }

.faq details {
    border-bottom: 1px solid var(--line);
    padding: 1rem 0;
}
.faq summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--blue-deep);
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: "+";
    float: right;
    color: var(--gold-deep);
    font-weight: 800;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: .7rem; }

.form-grid { display: grid; gap: .9rem; }
.form-grid label {
    display: grid;
    gap: .35rem;
    font-weight: 600;
    color: var(--blue-deep);
    font-size: .92rem;
}
.form-grid input,
.form-grid textarea,
.form-grid select {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: .85rem 1rem;
    background: #FBFDFF;
    color: var(--ink);
}
.form-grid textarea { min-height: 140px; resize: vertical; }
.alert {
    padding: .85rem 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-weight: 600;
}
.alert-error { background: #FDECEC; color: #9B1C1C; }
.alert-success { background: #E8F7EE; color: #0F7A3A; }

.admin-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 2rem 1.25rem;
    background:
        radial-gradient(circle at 20% 15%, rgba(224,177,0,.2), transparent 35%),
        linear-gradient(160deg, #062F54, #0B4F8C 45%, #0A3D6E);
}
.admin-card {
    width: min(440px, 100%);
    background: var(--white);
    border-radius: 24px;
    padding: 1.8rem;
    box-shadow: var(--shadow);
}
.admin-card h1 {
    font-family: "Bricolage Grotesque", Georgia, sans-serif;
    color: var(--blue-deep);
    font-size: 1.8rem;
    margin: .4rem 0 .35rem;
}
.admin-card p { color: var(--muted); margin-bottom: 1.2rem; }
.admin-dash {
    width: min(980px, calc(100% - 2rem));
    margin: 2rem auto 3rem;
}
.admin-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.2rem;
}
.stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.2rem;
}
.stat {
    background: var(--white);
    border-radius: 18px;
    padding: 1.2rem;
    box-shadow: var(--shadow);
}
.stat strong {
    display: block;
    font-family: "Bricolage Grotesque", Georgia, sans-serif;
    font-size: 1.6rem;
    color: var(--blue-deep);
}
.stat span { color: var(--muted); font-size: .92rem; }

.site-footer {
    padding: 2rem 0 2.4rem;
    color: var(--muted);
    border-top: 1px solid var(--line);
    background: #EEF4FA;
}
.footer-grid {
    width: var(--wrap);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 1.5rem;
}
.site-footer strong {
    color: var(--blue-deep);
    font-family: "Bricolage Grotesque", Georgia, sans-serif;
    display: block;
    margin-bottom: .55rem;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: .55rem;
    color: var(--blue-deep);
}
.footer-brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: contain;
    background: #FAF8F4;
}
.footer-brand strong {
    margin: 0;
}
.site-footer a {
    display: block;
    padding: .2rem 0;
    color: var(--muted);
}
.site-footer a:hover { color: var(--blue); }
.footer-brand:hover { color: var(--blue); }

@keyframes heroIn {
    from { transform: scale(1.06); opacity: .75; }
    to { transform: scale(1); opacity: 1; }
}
@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}

.trust-row {
    width: var(--wrap);
    margin: -2.2rem auto 0;
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}
.trust-item {
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(8px);
    border-radius: 18px;
    padding: 1rem 1.1rem;
    box-shadow: var(--shadow);
}
.trust-item strong {
    display: block;
    font-family: "Bricolage Grotesque", Georgia, sans-serif;
    color: var(--blue-deep);
    margin-bottom: .25rem;
}
.trust-item span { color: var(--muted); font-size: .92rem; }

@media (max-width: 920px) {
    .nav-toggle { display: inline-flex; }
    .nav-links,
    .nav-actions .btn-outline { display: none; }
    .nav.is-open .nav-links {
        display: flex;
        position: absolute;
        top: 100%;
        left: 1.25rem;
        right: 1.25rem;
        flex-direction: column;
        background: rgba(6, 47, 84, 0.98);
        border-radius: 18px;
        padding: .7rem;
        box-shadow: var(--shadow);
    }
    .split, .split.reverse, .demo, .steps, .footer-grid, .stat-grid, .trust-row {
        grid-template-columns: 1fr;
    }
    .split.reverse { direction: ltr; }
    .hero-content { padding-top: 6.5rem; }
    .trust-row { margin-top: 1rem; }
}
