:root {
    --ink: #0a1220;
    --ink-soft: #121c2e;
    --fog: #e8eef8;
    --mist: #8fa3c0;
    --accent: #f0a35a;
    --accent-deep: #e08a3a;
    --paper: #f5f8fc;
    --glow: rgba(240, 163, 90, 0.28);
    --font-display: "Outfit", system-ui, sans-serif;
    --font-body: "Source Sans 3", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--fog);
    background: var(--ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
code {
    font-size: 0.92em;
    padding: 0.1em 0.35em;
    background: rgba(143, 163, 192, 0.15);
    border-radius: 3px;
}
.shell { min-height: 100vh; display: flex; flex-direction: column; }
.nav {
    position: sticky; top: 0; z-index: 20;
    display: flex; align-items: center; justify-content: space-between;
    gap: 1rem; padding: 1rem 1.5rem;
    background: rgba(10, 18, 32, 0.86);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(143, 163, 192, 0.12);
}
.brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.03em;
    color: var(--paper);
}
.brand span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 1.1rem; flex-wrap: wrap; }
.nav-links > a:not(.btn) { color: var(--mist); font-size: 0.92rem; font-weight: 500; }
.nav-links > a:not(.btn):hover { color: var(--paper); }
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    gap: 0.4rem; padding: 0.7rem 1.15rem;
    border-radius: 999px; font-weight: 700; font-size: 0.92rem;
    border: 0; cursor: pointer; font-family: inherit;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease, border-color .18s;
}
.btn:hover { transform: translateY(-1px); }
.btn-accent {
    background: var(--accent); color: var(--ink);
    box-shadow: 0 0 0 1px rgba(240,163,90,.35), 0 12px 40px var(--glow);
}
.btn-accent:hover { background: var(--accent-deep); }
.btn-ghost {
    border: 1px solid rgba(232, 238, 248, 0.28);
    color: var(--paper); background: transparent;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { width: 100%; margin-top: 0.5rem; }
main { flex: 1; }

.hero {
    position: relative;
    min-height: calc(100vh - 4.25rem);
    display: grid;
    align-items: end;
    overflow: hidden;
    isolation: isolate;
}
.hero-bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(ellipse 85% 65% at 82% 28%, rgba(240,163,90,0.16), transparent 55%),
        radial-gradient(ellipse 55% 45% at 8% 85%, rgba(60,100,160,0.28), transparent 50%),
        linear-gradient(160deg, #070d18 0%, #0c1526 40%, #101c30 100%);
}
.hero-bg::after {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(232,238,248,0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232,238,248,0.035) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black 15%, transparent 88%);
    opacity: 0.75;
}
.hero-visual {
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: min(52vw, 640px);
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0%, rgba(12,21,38,0.4) 30%, rgba(7,13,24,0.65) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='720' viewBox='0 0 640 720'%3E%3Cdefs%3E%3ClinearGradient id='g' x1='0' y1='0' x2='1' y2='1'%3E%3Cstop stop-color='%23f0a35a' stop-opacity='.32'/%3E%3Cstop offset='1' stop-color='%233c64a0' stop-opacity='.12'/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect x='120' y='140' width='380' height='420' rx='8' fill='url(%23g)' stroke='%23f0a35a' stroke-opacity='.25'/%3E%3Crect x='150' y='180' width='140' height='70' rx='4' fill='%23f0a35a' fill-opacity='.15'/%3E%3Crect x='310' y='180' width='160' height='70' rx='4' fill='%23e8eef8' fill-opacity='.08'/%3E%3Crect x='150' y='270' width='320' height='18' rx='3' fill='%23e8eef8' fill-opacity='.12'/%3E%3Crect x='150' y='310' width='260' height='18' rx='3' fill='%23e8eef8' fill-opacity='.1'/%3E%3Crect x='150' y='350' width='300' height='18' rx='3' fill='%23e8eef8' fill-opacity='.08'/%3E%3Ccircle cx='480' cy='480' r='48' fill='%23f0a35a' fill-opacity='.2' stroke='%23f0a35a' stroke-opacity='.45'/%3E%3C/svg%3E")
        right center / cover no-repeat;
}
.hero-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 4.5rem 1.5rem 5rem;
}
.hero-copy { max-width: 34rem; }
.hero-brand {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2.6rem, 7vw, 4.4rem);
    letter-spacing: -0.045em;
    line-height: 0.95;
    color: var(--paper);
    margin: 0 0 1.1rem;
}
.hero-brand em { font-style: normal; color: var(--accent); }
.hero-lead {
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    color: var(--mist);
    margin: 0 0 1.75rem;
    max-width: 30rem;
}
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.section {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 4rem 1.5rem;
}
.section h1, .section h2 {
    font-family: var(--font-display);
    letter-spacing: -0.03em;
    color: var(--paper);
    margin: 0 0 0.65rem;
}
.section h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
.section h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
.section p.lead {
    color: var(--mist);
    margin: 0 0 2rem;
    max-width: 40rem;
    font-size: 1.05rem;
}
.page-hero { padding-top: 3rem; }

.features {
    display: grid;
    gap: 1.25rem;
}
@media (min-width: 800px) {
    .features { grid-template-columns: 1fr 1fr; }
}
.feature {
    padding: 1.5rem 0 0;
    border-top: 1px solid rgba(143,163,192,0.18);
}
.feature-kicker {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin: 0 0 0.35rem;
}
.feature h3 {
    margin: 0 0 0.4rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--paper);
}
.feature p { margin: 0; color: var(--mist); font-size: 0.98rem; }

.band {
    background: linear-gradient(180deg, rgba(18,28,46,0.65), transparent);
    border-top: 1px solid rgba(143,163,192,0.1);
    border-bottom: 1px solid rgba(143,163,192,0.1);
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}
.band > h2, .band > .lead, .band > .steps {
    width: min(1120px, 100%);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}
.band > h2 { margin-bottom: 0.65rem; }
.steps {
    display: grid;
    gap: 1.5rem;
    counter-reset: step;
    padding-bottom: 1rem;
}
@media (min-width: 800px) {
    .steps { grid-template-columns: repeat(3, 1fr); }
}
.step {
    padding: 1.35rem 0 0;
    border-top: 1px solid rgba(143,163,192,0.18);
}
.step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: block;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--accent);
    font-size: 0.95rem;
    margin-bottom: 0.55rem;
    letter-spacing: 0.04em;
}
.step h3 { margin: 0 0 0.4rem; font-size: 1.05rem; color: var(--paper); }
.step p { margin: 0; color: var(--mist); font-size: 0.95rem; }

.bullets {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 0.55rem;
    max-width: 40rem;
}
.bullets li {
    color: var(--fog);
    padding-left: 1.1rem;
    position: relative;
}
.bullets li::before {
    content: "";
    position: absolute; left: 0; top: 0.55em;
    width: 0.4rem; height: 0.4rem;
    background: var(--accent);
}

.cta-band {
    border-top: 1px solid rgba(143,163,192,0.12);
    background: rgba(18,28,46,0.5);
}
.cta-band-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    padding: 3.25rem 1.5rem;
    display: flex; flex-wrap: wrap; align-items: center;
    justify-content: space-between; gap: 1.5rem;
}
.cta-band-inner h2 {
    font-family: var(--font-display);
    margin: 0 0 0.4rem;
    color: var(--paper);
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
}
.cta-band-inner p { margin: 0; color: var(--mist); max-width: 28rem; }

.plans {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}
@media (min-width: 800px) {
    .plans { grid-template-columns: 1fr 1fr; }
}
.plan {
    padding: 1.75rem 1.5rem;
    border: 1px solid rgba(143,163,192,0.2);
    background: rgba(18,28,46,0.45);
}
.plan-featured { border-color: rgba(240,163,90,0.45); }
.plan h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin: 0 0 0.5rem;
    color: var(--paper);
}
.plan > p { color: var(--mist); margin: 0 0 1.25rem; }
.plan .bullets { margin-bottom: 1.5rem; }
.plan .btn { margin-top: 0.25rem; }

.signup-wrap { max-width: 36rem; margin-left: auto; margin-right: auto; }
.signup-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--paper);
    margin: 1.1rem 0 0.35rem;
}
.signup-form input[type="text"],
.signup-form input[type="email"],
.signup-form select {
    width: 100%;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(143,163,192,0.28);
    border-radius: 6px;
    background: rgba(18,28,46,0.8);
    color: var(--paper);
    font: inherit;
}
.signup-form input:focus,
.signup-form select:focus {
    outline: 2px solid rgba(240,163,90,0.45);
    border-color: var(--accent);
}
.slug-row { display: flex; align-items: stretch; gap: 0; }
.slug-row input { border-radius: 6px 0 0 6px; }
.slug-suffix {
    display: flex; align-items: center;
    padding: 0 0.85rem;
    background: rgba(143,163,192,0.12);
    border: 1px solid rgba(143,163,192,0.28);
    border-left: 0;
    border-radius: 0 6px 6px 0;
    color: var(--mist);
    font-size: 0.9rem;
    white-space: nowrap;
}
.hint { color: var(--mist); font-size: 0.88rem; margin: 0.5rem 0 0; }
.hint a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.check {
    display: flex !important;
    gap: 0.65rem;
    align-items: flex-start;
    font-weight: 400 !important;
    color: var(--mist) !important;
    margin-top: 1.25rem !important;
}
.check input { margin-top: 0.25rem; }
.check a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

.footer {
    padding: 2rem 1.5rem 2.5rem;
    border-top: 1px solid rgba(143,163,192,0.12);
    color: var(--mist); font-size: 0.88rem;
    display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
}
.footer a:hover { color: var(--accent); }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }

.lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--mist);
}
.lang-switch a { color: var(--mist); font-weight: 600; }
.lang-switch a.is-active { color: var(--accent); }
.lang-switch a:hover { color: var(--paper); }

.plan-price {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--paper);
    margin: 0.35rem 0 0;
    line-height: 1;
}
.plan-period {
    color: var(--mist);
    font-size: 0.92rem;
    margin: 0.35rem 0 1rem;
}
.vat-note {
    color: var(--mist);
    font-size: 0.9rem;
    margin: 1.25rem 0 0;
    max-width: 40rem;
}
.trial-note {
    margin-top: 1.5rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
}

.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    padding: 1rem;
    background: rgba(7, 13, 24, 0.96);
    border-top: 1px solid rgba(143, 163, 192, 0.22);
    backdrop-filter: blur(10px);
}
.cookie-inner {
    width: min(1120px, 100%);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}
.cookie-inner p {
    margin: 0.25rem 0 0;
    color: var(--mist);
    font-size: 0.9rem;
    max-width: 40rem;
}
.cookie-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.academy-grid {
    display: grid;
    gap: 1.25rem;
    margin-top: 1.5rem;
}
@media (min-width: 800px) {
    .academy-grid { grid-template-columns: 1fr 1fr; }
}

@keyframes rise {
    from { opacity: 0; transform: translateY(18px); }
    to { opacity: 1; transform: translateY(0); }
}
.rise { animation: rise .7s ease both; }
.rise-delay { animation-delay: .12s; }
.rise-delay-2 { animation-delay: .22s; }

@media (max-width: 720px) {
    .nav { padding: 0.85rem 1rem; }
    .nav-links .hide-sm { display: none; }
    .hero-visual { display: none; }
    .hero { min-height: auto; }
    .hero-inner { padding-top: 3rem; padding-bottom: 3.5rem; }
}
@media (min-width: 860px) {
    .hero-visual { display: block; }
}
