/* ============================================================
   EntroVy · Landing Page
   Design system + scroll-driven laptop transition
   ============================================================ */

/* ----------------------------- Tokens ----------------------------- */
:root {
    --bg: #0b0e11;
    --bg-2: #0e1318;
    --surface: #14191f;
    --surface-2: #1a2027;
    --line: rgba(255, 255, 255, 0.08);
    --line-2: rgba(255, 255, 255, 0.16);

    --text: #eef2f6;
    --muted: #9aa4af;
    --muted-2: #6c7580;

    --accent: #2dafe6;
    --accent-2: #38bdf8;
    --accent-3: #7dd3fc;
    --accent-ink: #04222e;

    --green: #22c55e;
    --amber: #f59e0b;
    --red: #ef4444;

    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 26px;
    --maxw: 1200px;

    --font: "Satoshi", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --shadow: 0 24px 70px -24px rgba(0, 0, 0, 0.65);
    --shadow-accent: 0 20px 60px -20px rgba(45, 175, 230, 0.45);
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ----------------------------- Reset ----------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
}

img,
svg {
    display: block;
    max-width: 100%;
}

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

ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
    line-height: 1.08;
    letter-spacing: -0.02em;
    font-weight: 900;
}

::selection {
    background: var(--accent);
    color: #04222e;
}

/* ----------------------------- Buttons ----------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    padding: 0.72em 1.25em;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    border: 1px solid transparent;
    transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s, color 0.25s;
    white-space: nowrap;
}

.btn:active {
    transform: translateY(1px) scale(0.99);
}

.btn--primary {
    background: var(--accent);
    color: #04222e;
    box-shadow: var(--shadow-accent);
}

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

.btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--line-2);
    color: var(--text);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn--lg {
    padding: 0.95em 1.6em;
    font-size: 1.02rem;
}

.btn--block {
    width: 100%;
}

/* ----------------------------- Shared bits ----------------------------- */
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    display: inline-block;
    box-shadow: 0 0 0 4px rgba(45, 175, 230, 0.18);
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55em;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--muted);
}

.accent-eyebrow {
    color: var(--accent-2);
}

.accent {
    color: var(--accent-2);
}

.section-head {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    padding: 0 24px;
}

.section-head h2 {
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    margin: 0.5em 0 0.4em;
}

.section-lead {
    color: var(--muted);
    font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 0.42em 0.85em;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    color: var(--text);
}

.pill--live i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
    animation: pulse 2.4s var(--ease) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.35;
    }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    transition: background 0.35s, border-color 0.35s, backdrop-filter 0.35s;
    border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
    background: rgba(11, 14, 17, 0.72);
    backdrop-filter: saturate(150%) blur(14px);
    -webkit-backdrop-filter: saturate(150%) blur(14px);
    border-bottom-color: var(--line);
}

.nav__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav__mark {
    width: 32px;
    height: auto;
}

.nav__word {
    height: 19px;
    width: auto;
    opacity: 0.96;
}

.nav__studio {
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.01em;
    color: var(--text);
    opacity: 0.55;
}

.nav__links {
    display: flex;
    gap: 6px;
    margin-left: 12px;
    margin-right: auto;
}

.nav__links a {
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 600;
    font-size: 0.94rem;
    transition: color 0.2s, background 0.2s;
}

.nav__links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav__burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 8px;
}

.nav__burger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}

.nav.is-open .nav__burger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav.is-open .nav__burger span:nth-child(2) {
    opacity: 0;
}

.nav.is-open .nav__burger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100svh;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero__glow {
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 900px;
    max-width: 140vw;
    background: radial-gradient(circle at center, rgba(45, 175, 230, 0.28), rgba(45, 175, 230, 0.05) 45%, transparent 70%);
    filter: blur(20px);
    pointer-events: none;
}

.hero__grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6em;
    padding: 0.5em 1em;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.86rem;
    font-weight: 600;
    margin-bottom: 26px;
    animation: rise 0.8s var(--ease) both;
}

.hero__title {
    font-size: clamp(2.9rem, 8.5vw, 6.6rem);
    letter-spacing: -0.035em;
    animation: rise 0.8s var(--ease) 0.05s both;
}

.hero__accent {
    position: relative;
    color: var(--accent);
    white-space: nowrap;
}

.hero__arrow {
    display: inline-block;
    width: clamp(38px, 7vw, 82px);
    height: auto;
    vertical-align: baseline;
    margin-left: 0.12em;
    transform: translateY(0.06em);
    filter: drop-shadow(0 6px 22px rgba(45, 175, 230, 0.5));
    animation: floaty 5s ease-in-out infinite;
}

.hero__lead {
    max-width: 640px;
    margin: 26px auto 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    animation: rise 0.8s var(--ease) 0.12s both;
}

.hero__lead strong {
    color: var(--text);
    font-weight: 700;
}

.hero__cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 36px;
    animation: rise 0.8s var(--ease) 0.18s both;
}

.hero__badges {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
    animation: rise 0.8s var(--ease) 0.24s both;
}

.hero__badges li {
    padding: 0.5em 1em;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
}

.hero__scroll {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--muted-2);
    font-size: 0.76rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    animation: fadePulse 3s ease-in-out infinite;
}

.hero__mouse {
    width: 22px;
    height: 34px;
    border: 2px solid var(--muted-2);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 5px;
}

.hero__mouse i {
    width: 3px;
    height: 7px;
    border-radius: 3px;
    background: var(--accent);
    animation: wheel 1.8s var(--ease) infinite;
}

@keyframes rise {
    from {
        opacity: 0;
        transform: translateY(26px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes floaty {

    0%,
    100% {
        transform: translateY(0.06em) rotate(0deg);
    }

    50% {
        transform: translateY(-0.2em) rotate(-4deg);
    }
}

@keyframes fadePulse {

    0%,
    100% {
        opacity: 0.4;
    }

    50% {
        opacity: 0.9;
    }
}

@keyframes wheel {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    70% {
        transform: translateY(9px);
        opacity: 0;
    }

    100% {
        opacity: 0;
    }
}

/* ============================================================
   SCROLL STAGE — KPI → screen → laptop
   ============================================================ */
.stage {
    position: relative;
    height: 260vh;
}

.stage__sticky {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
    display: grid;
    place-items: center;
}

/* KPI overlay */
.kpi {
    position: absolute;
    z-index: 4;
    text-align: center;
    padding: 0 24px;
    pointer-events: none;
    will-change: opacity, transform;
}

.kpi__label {
    color: var(--muted);
    font-size: clamp(1rem, 2.4vw, 1.6rem);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.kpi__big {
    font-size: clamp(5rem, 20vw, 17rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.9;
    color: var(--accent);
    text-shadow: 0 20px 90px rgba(45, 175, 230, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.kpi__big span {
    font-size: clamp(1.3rem, 4.4vw, 3.4rem);
    letter-spacing: -0.02em;
    color: var(--text);
    margin-top: 0.1em;
}

.kpi__sub {
    color: var(--muted);
    font-size: clamp(0.95rem, 1.8vw, 1.25rem);
    margin-top: 0.8em;
}

/* Dark scrim keeps the KPI legible over the bright app; fades with the KPI */
.stage__scrim {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: radial-gradient(ellipse 95% 85% at 50% 45%, rgba(6, 9, 12, 0.72), rgba(6, 9, 12, 0.94));
}

/* Scene / laptop */
.scene {
    position: relative;
    z-index: 2;
    width: min(1080px, 88vw, 108vh);
    margin: 0 auto;
}

.laptop {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    --frame: 0;
}

/* Bezel + base + camera fade in together via --frame (independent of the screen) */
.laptop__frame {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 22px;
    background: linear-gradient(155deg, #23282e, #0c0f12 60%);
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.08),
        0 44px 100px -34px rgba(0, 0, 0, 0.85);
    opacity: var(--frame);
    transition: opacity 0.1s linear;
}

.laptop__cam {
    position: absolute;
    z-index: 4;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #05070a;
    box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.12);
    opacity: var(--frame);
}

.laptop__base {
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 118%;
    height: clamp(12px, 1.5vw, 20px);
    background: linear-gradient(180deg, #2a2f35, #16191d);
    border-radius: 3px 3px 12px 12px / 3px 3px 60px 60px;
    box-shadow: 0 34px 44px -22px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    opacity: var(--frame);
}

.laptop__notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: clamp(80px, 12%, 150px);
    height: 44%;
    background: linear-gradient(180deg, #0c0f12, #16191d);
    border-radius: 0 0 10px 10px;
}

/* The screen — always opaque, transformed by JS from full-bleed into the display */
.screen {
    position: absolute;
    z-index: 2;
    inset: 14px;
    border-radius: 12px;
    overflow: hidden;
    background: #eceff2;
    transform-origin: center center;
    will-change: transform;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

/* Laptop screen: real product video */
.screen__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: #0b0f14;
}

/* Laptop screen: real-screenshot slideshow (fallback) */
.slides {
    position: absolute;
    inset: 0;
    background: #fff;
}

.slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transform-origin: top center;
    opacity: 0;
    transition: opacity 0.9s var(--ease);
    will-change: opacity, transform;
}

.slide.is-active {
    opacity: 1;
    animation: slideKen 7s ease-out both;
}

@keyframes slideKen {
    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1);
    }
}

/* macOS look */
.laptop.os-mac .laptop__frame {
    background: linear-gradient(155deg, #1c1f24, #0a0c0f 60%);
    border-radius: 20px;
}

.laptop.os-mac .screen {
    inset: 13px;
    border-radius: 10px;
}

.laptop.os-mac .laptop__cam {
    width: 6px;
    height: 6px;
    top: 7px;
}

.laptop.os-mac .laptop__base {
    background: linear-gradient(180deg, #d9dde1, #b4b9c0);
    box-shadow: 0 34px 44px -22px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.laptop.os-mac .laptop__notch {
    background: linear-gradient(180deg, #aab0b7, #c9ced4);
    border-radius: 0 0 9px 9px;
}

/* Windows look */
.laptop.os-win .laptop__frame {
    background: linear-gradient(155deg, #262b31, #0c0f12 60%);
    border-radius: 12px;
}

.laptop.os-win .screen {
    inset: 16px 15px;
    border-radius: 6px;
}

.laptop.os-win .laptop__base {
    background: linear-gradient(180deg, #33383e, #1b1e22);
    border-radius: 2px 2px 8px 8px / 2px 2px 40px 40px;
}

.stage__caption {
    position: absolute;
    bottom: clamp(20px, 5vh, 54px);
    z-index: 5;
    text-align: center;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.35rem);
    opacity: 0;
    padding: 0 24px;
    will-change: opacity, transform;
}

.stage__caption b {
    color: var(--text);
}

/* ============================================================
   IN-APP DEMO (lives inside .screen)
   ============================================================ */
.app {
    --a: #2dafe6;
    --ink: #111418;
    --mut: #8a9099;
    --cardline: #e6e8eb;
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 210px 1fr;
    background: #eceff2;
    color: var(--ink);
    font-size: 14px;
}

.app__side {
    background: #fff;
    border-right: 1px solid var(--cardline);
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.app__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 15px;
    letter-spacing: -0.01em;
}

.app__nav {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.app__nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border-radius: 9px;
    color: var(--mut);
    font-weight: 600;
    font-size: 13.5px;
}

.app__nav a.is-active {
    background: rgba(45, 175, 230, 0.12);
    color: #0b3f54;
}

.app__nav a.is-active .ic {
    background: var(--a);
}

.app__side-foot {
    margin-top: auto;
}

.app__side-foot .pill {
    background: rgba(45, 175, 230, 0.1);
    border-color: rgba(45, 175, 230, 0.25);
    color: #0b3f54;
}

.app__side-foot .pill--live i {
    background: var(--a);
    box-shadow: 0 0 0 3px rgba(45, 175, 230, 0.2);
}

.app__main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.app__top {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    border-bottom: 1px solid var(--cardline);
    background: #fff;
}

.app__search {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 9px;
    background: #f1f3f5;
    border: 1px solid var(--cardline);
    border-radius: 9px;
    padding: 8px 12px;
    color: var(--mut);
    font-size: 13px;
}

.app__top-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--a), #7dd3fc);
    color: #04222e;
    font-size: 11px;
    font-weight: 800;
    display: grid;
    place-items: center;
}

.app__scenes {
    position: relative;
    flex: 1;
}

.vscene {
    position: absolute;
    inset: 0;
    padding: 22px 24px;
    opacity: 0;
    transform: translateY(14px) scale(0.99);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
    pointer-events: none;
}

.vscene.is-active {
    opacity: 1;
    transform: none;
}

.vscene__head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.vscene__head h4 {
    font-size: 20px;
    letter-spacing: -0.02em;
}

.chip {
    padding: 5px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: #eef1f4;
    color: #4a525c;
}

.chip--ai {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(45, 175, 230, 0.12);
    color: #0b3f54;
}

.chip--ai i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--a);
    box-shadow: 0 0 0 3px rgba(45, 175, 230, 0.2);
}

/* Dashboard */
.stat-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.stat {
    background: #fff;
    border: 1px solid var(--cardline);
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat span {
    color: var(--mut);
    font-size: 12px;
    font-weight: 600;
}

.stat b {
    font-size: 22px;
    letter-spacing: -0.02em;
}

.trend {
    font-size: 11px;
    font-weight: 700;
    color: var(--mut);
}

.trend.up {
    color: var(--green);
}

.panel {
    background: #fff;
    border: 1px solid var(--cardline);
    border-radius: 12px;
    padding: 16px;
}

.panel__head {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 14px;
}

.panel__head .muted {
    color: var(--mut);
    font-weight: 600;
}

.chart {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    height: 120px;
}

.chart i {
    flex: 1;
    height: var(--h);
    background: linear-gradient(180deg, var(--a), rgba(45, 175, 230, 0.35));
    border-radius: 6px 6px 3px 3px;
    animation: grow 0.9s var(--ease) both;
}

@keyframes grow {
    from {
        height: 0;
        opacity: 0.3;
    }
}

/* AI chat */
.chat {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: 640px;
}

.bubble {
    padding: 12px 15px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.5;
    max-width: 90%;
}

.bubble--user {
    align-self: flex-end;
    background: var(--a);
    color: #04222e;
    font-weight: 600;
    border-bottom-right-radius: 4px;
}

.bubble--ai {
    align-self: flex-start;
    background: #fff;
    border: 1px solid var(--cardline);
    border-bottom-left-radius: 4px;
}

.bubble--ai p {
    margin-bottom: 6px;
}

.bubble--ai ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding-left: 2px;
}

.bubble--ai li {
    position: relative;
    padding-left: 18px;
    color: #2b3138;
}

.bubble--ai li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 7px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--a);
}

.src {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 9px;
    font-size: 11.5px;
    color: var(--mut);
    font-weight: 600;
}

.src .ic {
    width: 13px;
    height: 13px;
    background: var(--mut);
}

.bubble--typing {
    align-self: flex-start;
    display: inline-flex;
    gap: 5px;
    background: #fff;
    border: 1px solid var(--cardline);
}

.bubble--typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--mut);
    animation: blink 1.4s infinite;
}

.bubble--typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.bubble--typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes blink {

    0%,
    60%,
    100% {
        opacity: 0.3;
        transform: translateY(0);
    }

    30% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

/* Kanban */
.kanban {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.kcol {
    background: #f4f6f8;
    border: 1px solid var(--cardline);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.kcol__h {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 700;
    color: #4a525c;
}

.kcol__h b {
    margin-left: auto;
    color: var(--mut);
}

.kcol__h .dot {
    box-shadow: none;
}

.dot.blue {
    background: var(--a);
}

.dot.amber {
    background: var(--amber);
}

.dot.green {
    background: var(--green);
}

.kcard {
    background: #fff;
    border: 1px solid var(--cardline);
    border-radius: 10px;
    padding: 11px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
}

.kcard--hl {
    border-color: rgba(45, 175, 230, 0.5);
    box-shadow: 0 6px 18px -6px rgba(45, 175, 230, 0.4);
}

.kid {
    display: block;
    font-size: 11px;
    color: var(--mut);
    font-weight: 700;
    margin-bottom: 3px;
}

.k-progress {
    display: block;
    height: 4px;
    background: #eef1f4;
    border-radius: 999px;
    margin-top: 9px;
    overflow: hidden;
}

.k-progress b {
    display: block;
    height: 100%;
    background: var(--a);
    border-radius: 999px;
}

/* Doc / Mahnwesen */
.doc {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 16px;
}

.doc__paper {
    background: #fff;
    border: 1px solid var(--cardline);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.12);
}

.doc__logo {
    display: flex;
    align-items: center;
    gap: 7px;
    font-weight: 800;
    font-size: 13px;
    margin-bottom: 16px;
}

.doc__h {
    font-weight: 800;
    font-size: 15px;
    margin-bottom: 12px;
}

.doc__line {
    height: 8px;
    border-radius: 4px;
    background: #eef1f4;
    margin: 7px 0;
}

.doc__line.short {
    width: 62%;
}

.doc__box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f4f6f8;
    border: 1px solid var(--cardline);
    border-radius: 9px;
    padding: 10px 13px;
    margin: 12px 0;
    font-size: 13px;
}

.doc__box b {
    font-size: 15px;
}

.doc__side {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.tag {
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 12.5px;
    font-weight: 700;
    background: #fff;
    border: 1px solid var(--cardline);
    color: #4a525c;
}

.tag--b2b {
    background: rgba(45, 175, 230, 0.12);
    border-color: rgba(45, 175, 230, 0.3);
    color: #0b3f54;
}

.tag--ok {
    background: rgba(34, 197, 94, 0.12);
    border-color: rgba(34, 197, 94, 0.3);
    color: #15803d;
}

/* Cursor */
.app__cursor {
    position: absolute;
    z-index: 20;
    top: 0;
    left: 0;
    width: 18px;
    height: 18px;
    pointer-events: none;
    transform: translate(50%, 50%);
    transition: transform 0.9s var(--ease);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.app__cursor::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: #111418;
    clip-path: polygon(0 0, 0 78%, 26% 60%, 44% 100%, 60% 92%, 42% 55%, 74% 54%);
    border: 1px solid #fff;
}

/* ============================================================
   ICON SYSTEM (CSS masks)
   ============================================================ */
.ic {
    width: 16px;
    height: 16px;
    display: inline-block;
    flex: none;
    background: currentColor;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.ic-grid {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Crect x='3' y='3' width='8' height='8' rx='1.5'/%3E%3Crect x='13' y='3' width='8' height='8' rx='1.5'/%3E%3Crect x='3' y='13' width='8' height='8' rx='1.5'/%3E%3Crect x='13' y='13' width='8' height='8' rx='1.5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Crect x='3' y='3' width='8' height='8' rx='1.5'/%3E%3Crect x='13' y='3' width='8' height='8' rx='1.5'/%3E%3Crect x='3' y='13' width='8' height='8' rx='1.5'/%3E%3Crect x='13' y='13' width='8' height='8' rx='1.5'/%3E%3C/svg%3E");
}

.ic-spark {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 2l2.2 6.2L20 10l-5.8 1.8L12 18l-2.2-6.2L4 10l5.8-1.8z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 2l2.2 6.2L20 10l-5.8 1.8L12 18l-2.2-6.2L4 10l5.8-1.8z'/%3E%3C/svg%3E");
}

.ic-board {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Crect x='3' y='3' width='5' height='18' rx='1.5'/%3E%3Crect x='10' y='3' width='5' height='12' rx='1.5'/%3E%3Crect x='17' y='3' width='4' height='16' rx='1.5'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Crect x='3' y='3' width='5' height='18' rx='1.5'/%3E%3Crect x='10' y='3' width='5' height='12' rx='1.5'/%3E%3Crect x='17' y='3' width='4' height='16' rx='1.5'/%3E%3C/svg%3E");
}

.ic-doc {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M6 2h8l4 4v16H6z'/%3E%3Cpath fill='%23fff' d='M8 11h8v1.6H8zm0 4h8v1.6H8z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M6 2h8l4 4v16H6z'/%3E%3Cpath fill='%23fff' d='M8 11h8v1.6H8zm0 4h8v1.6H8z'/%3E%3C/svg%3E");
}

.ic-folder {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M3 5h6l2 2h10v12H3z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M3 5h6l2 2h10v12H3z'/%3E%3C/svg%3E");
}

.ic-mail {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M3 5h18v14H3z'/%3E%3Cpath fill='%23fff' d='M4 6l8 6 8-6v1.6l-8 6-8-6z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M3 5h18v14H3z'/%3E%3Cpath fill='%23fff' d='M4 6l8 6 8-6v1.6l-8 6-8-6z'/%3E%3C/svg%3E");
}

.ic-search {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-4.3-4.3'/%3E%3C/svg%3E");
}

.ic-bell {
    width: 17px;
    height: 17px;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 2a6 6 0 00-6 6c0 7-3 8-3 8h18s-3-1-3-8a6 6 0 00-6-6zm0 20a2.5 2.5 0 002.4-2h-4.8A2.5 2.5 0 0012 22z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M12 2a6 6 0 00-6 6c0 7-3 8-3 8h18s-3-1-3-8a6 6 0 00-6-6zm0 20a2.5 2.5 0 002.4-2h-4.8A2.5 2.5 0 0012 22z'/%3E%3C/svg%3E");
    background: var(--mut);
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
    padding: clamp(80px, 12vh, 140px) 0;
    position: relative;
}

/* Produkt‑Tour (real screenshots) */
.tour {
    padding: clamp(40px, 6vh, 80px) 0 0;
}

.tour__row {
    max-width: var(--maxw);
    margin: clamp(48px, 8vh, 96px) auto 0;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: center;
}

.tour__row--rev .tour__media {
    order: 2;
}

.tour__row--rev .tour__text {
    order: 1;
}

.shot {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--line-2);
    background: #0f1419;
    box-shadow: var(--shadow);
    transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.shot:hover {
    transform: translateY(-6px);
    box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.7), var(--shadow-accent);
}

.shot__bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    background: #0b0f14;
    border-bottom: 1px solid var(--line);
}

.shot__bar i {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: #3a4048;
}

.shot__bar i:nth-child(1) {
    background: #ff5f57;
}

.shot__bar i:nth-child(2) {
    background: #febc2e;
}

.shot__bar i:nth-child(3) {
    background: #28c840;
}

.shot__bar span {
    margin-left: 10px;
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.05);
    padding: 3px 12px;
    border-radius: 6px;
}

/* Windows browser chrome — shown only on Windows (controls on the right) */
body.os-win .shot__bar {
    gap: 0;
    padding: 0 0 0 14px;
}

body.os-win .shot__bar span {
    order: -1;
    margin-left: 0;
    margin-right: auto;
    align-self: center;
}

body.os-win .shot__bar i {
    width: 46px;
    height: 34px;
    border-radius: 0;
    background: transparent;
    position: relative;
    transition: background 0.15s;
}

body.os-win .shot__bar i::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

body.os-win .shot__bar i:nth-child(1)::before {
    width: 10px;
    height: 1px;
    background: var(--muted);
}

body.os-win .shot__bar i:nth-child(2)::before {
    width: 9px;
    height: 9px;
    border: 1px solid var(--muted);
}

body.os-win .shot__bar i:nth-child(3)::before,
body.os-win .shot__bar i:nth-child(3)::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1px;
    background: var(--muted);
}

body.os-win .shot__bar i:nth-child(3)::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

body.os-win .shot__bar i:nth-child(3)::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

body.os-win .shot__bar i:nth-child(3):hover {
    background: #e81123;
}

body.os-win .shot__bar i:nth-child(3):hover::before,
body.os-win .shot__bar i:nth-child(3):hover::after {
    background: #fff;
}

.shot img {
    display: block;
    width: 100%;
    height: auto;
}

.tour__text h3 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin: 0.5em 0 0.5em;
}

.tour__text>p {
    color: var(--muted);
    font-size: 1.08rem;
}

.tour__text>p strong {
    color: var(--text);
}

.check {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.check li {
    position: relative;
    padding-left: 32px;
    color: var(--text);
    font-weight: 500;
}

.check li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(45, 175, 230, 0.15);
    border: 1px solid rgba(45, 175, 230, 0.4);
}

.check li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 7px;
    width: 8px;
    height: 4px;
    border-left: 2px solid var(--accent-2);
    border-bottom: 2px solid var(--accent-2);
    transform: rotate(-45deg);
}

/* Feature grid */
.fgrid {
    max-width: var(--maxw);
    margin: clamp(70px, 10vh, 120px) auto 0;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.fcard {
    background: linear-gradient(180deg, var(--surface), var(--bg-2));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

.fcard:hover {
    transform: translateY(-6px);
    border-color: rgba(45, 175, 230, 0.4);
    box-shadow: 0 30px 60px -30px rgba(45, 175, 230, 0.35);
}

.fcard h4 {
    font-size: 1.25rem;
    margin: 20px 0 8px;
}

.fcard p {
    color: var(--muted);
    font-size: 0.98rem;
}

.fcard__visual {
    height: 150px;
    border-radius: 16px;
    background: radial-gradient(120% 120% at 30% 0%, rgba(45, 175, 230, 0.14), transparent 60%), #0c1116;
    border: 1px solid var(--line);
    display: grid;
    place-items: center;
    overflow: hidden;
}

/* Mini mockups */
.mini {
    width: 78%;
}

.mini--kanban {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    align-items: start;
}

.mini--kanban .mini__dot {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    grid-row: 1;
}

.mini__dot.blue {
    background: var(--accent);
}

.mini__dot.amber {
    background: var(--amber);
}

.mini__dot.green {
    background: var(--green);
}

.mini--kanban .mini__cards {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-top: 6px;
}

.mini--kanban .mini__cards i {
    height: 26px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--line);
}

.mini--kanban .mini__cards i.hl {
    background: rgba(45, 175, 230, 0.25);
    border-color: rgba(45, 175, 230, 0.5);
    height: 34px;
}

.mini--doc .mini__paper {
    background: #fff;
    border-radius: 8px;
    padding: 14px;
    position: relative;
    box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.5);
}

.mini--doc .mini__paper i {
    display: block;
    height: 7px;
    border-radius: 3px;
    background: #e6e8eb;
    margin: 6px 0;
}

.mini--doc .mini__paper i.short {
    width: 55%;
}

.mini__stamp {
    position: absolute;
    right: 12px;
    bottom: 12px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--accent);
    color: #04222e;
    display: grid;
    place-items: center;
    font-weight: 800;
    box-shadow: var(--shadow-accent);
}

.mini--crm {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.mini__row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mini__row .av {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-3));
    flex: none;
}

.mini__row .ln {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    flex: 1;
}

.mini__row .ln.short {
    flex: 0.6;
}

.mini--files {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.mini--files .folder {
    height: 34px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    position: relative;
}

.mini--files .folder::before {
    content: "";
    position: absolute;
    top: -5px;
    left: 8px;
    width: 22px;
    height: 7px;
    border-radius: 3px 3px 0 0;
    background: rgba(255, 255, 255, 0.08);
}

.mini--files .folder.alt {
    background: rgba(45, 175, 230, 0.16);
    border-color: rgba(45, 175, 230, 0.4);
}

.mini--mail {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.mini__mailrow {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mini__mailrow .d {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    flex: none;
}

.mini__mailrow .d.unread {
    background: var(--accent);
    box-shadow: 0 0 0 3px rgba(45, 175, 230, 0.2);
}

.mini__mailrow .ln {
    height: 9px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.12);
    flex: 1;
}

.mini__mailrow .ln.short {
    flex: 0.55;
}

.mini--calc {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.mini--calc .mini__num {
    font-weight: 900;
    letter-spacing: 0.05em;
    color: var(--accent-2);
    font-size: 20px;
}

.mini--calc .mini__keys {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: 100%;
}

.mini--calc .mini__keys i {
    height: 20px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--line);
}

.mini--kpi {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 84px;
}

.mini--kpi i {
    flex: 1;
    height: var(--h);
    min-height: 8px;
    background: linear-gradient(180deg, var(--accent), rgba(45, 175, 230, 0.28));
    border-radius: 5px 5px 2px 2px;
}

/* ============================================================
   SOVEREIGNTY BAND
   ============================================================ */
.sov {
    position: relative;
    padding: clamp(80px, 12vh, 140px) 0;
    overflow: hidden;
}

.sov::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(45, 175, 230, 0.06), transparent);
}

.sov__glow {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 1100px;
    height: 500px;
    max-width: 150vw;
    background: radial-gradient(ellipse at center, rgba(45, 175, 230, 0.22), transparent 65%);
    filter: blur(30px);
    pointer-events: none;
}

.section-head--light {
    position: relative;
    z-index: 2;
}

.sov__grid {
    position: relative;
    z-index: 2;
    max-width: var(--maxw);
    margin: 54px auto 0;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.sov__stat {
    text-align: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 34px 20px;
    transition: transform 0.4s var(--ease), border-color 0.4s;
}

.sov__stat:hover {
    transform: translateY(-6px);
    border-color: rgba(45, 175, 230, 0.4);
}

.sov__stat b {
    display: block;
    font-size: clamp(2.6rem, 5vw, 4rem);
    color: var(--accent);
    letter-spacing: -0.04em;
    text-shadow: 0 12px 40px rgba(45, 175, 230, 0.4);
}

.sov__stat span {
    color: var(--muted);
    font-size: 0.96rem;
    font-weight: 500;
}

.sov__note {
    position: relative;
    z-index: 2;
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 34px;
    padding: 0 24px;
}

/* ============================================================
   PRICING
   ============================================================ */
.pricing {
    padding: clamp(80px, 12vh, 140px) 0;
}

.plans {
    max-width: var(--maxw);
    margin: 54px auto 0;
    padding: 0 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    align-items: start;
}

.plan {
    position: relative;
    background: linear-gradient(180deg, var(--surface), var(--bg-2));
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    transition: transform 0.4s var(--ease), border-color 0.4s;
}

.plan:hover {
    transform: translateY(-6px);
    border-color: var(--line-2);
}

.plan--featured {
    border-color: rgba(45, 175, 230, 0.5);
    box-shadow: 0 40px 80px -40px rgba(45, 175, 230, 0.5);
    background: linear-gradient(180deg, rgba(45, 175, 230, 0.08), var(--bg-2));
}

.plan__badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--accent);
    color: #04222e;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 11px;
    border-radius: 999px;
}

.plan__name {
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--muted);
}

.plan__price {
    font-size: 2.6rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    margin: 6px 0 4px;
}

.plan__price span {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--muted);
    letter-spacing: 0;
}

.plan__desc {
    color: var(--muted);
    margin-bottom: 20px;
}

.plan .check {
    margin: 0 0 26px;
}

.plan .check li {
    font-size: 0.96rem;
}

/* ============================================================
   FINAL CTA
   ============================================================ */
.cta {
    padding: clamp(60px, 8vh, 100px) 24px clamp(80px, 10vh, 120px);
}

.cta__card {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    background:
        radial-gradient(120% 140% at 50% 0%, rgba(45, 175, 230, 0.18), transparent 60%),
        linear-gradient(180deg, var(--surface), var(--bg-2));
    border: 1px solid rgba(45, 175, 230, 0.28);
    border-radius: 32px;
    padding: clamp(44px, 6vw, 72px);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.cta__mark {
    width: 60px;
    margin: 0 auto 24px;
    filter: drop-shadow(0 8px 30px rgba(45, 175, 230, 0.6));
    animation: floaty 5s ease-in-out infinite;
}

.cta__card h2 {
    font-size: clamp(1.9rem, 4vw, 3rem);
}

.cta__card p {
    color: var(--muted);
    font-size: 1.1rem;
    margin: 16px auto 32px;
    max-width: 520px;
}

.cta__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    border-top: 1px solid var(--line);
    background: var(--bg-2);
    padding: 64px 24px 32px;
}

.footer__inner {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer__logo span {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--muted);
}

.footer__brand p {
    color: var(--muted);
    max-width: 340px;
    margin-bottom: 16px;
    font-size: 0.96rem;
}

.footer__col h5 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--muted-2);
    margin-bottom: 16px;
}

.footer__col a {
    display: block;
    color: var(--muted);
    padding: 6px 0;
    font-weight: 500;
    transition: color 0.2s;
}

.footer__col a:hover {
    color: var(--accent-2);
}

.footer__bar {
    max-width: var(--maxw);
    margin: 48px auto 0;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--muted-2);
    font-size: 0.88rem;
}

/* ============================================================
   LEGAL PAGES (impressum / datenschutz)
   ============================================================ */
.legal {
    max-width: 920px;
    margin: 0 auto;
    padding: 120px 24px 80px;
}

.legal__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    color: var(--muted);
    font-weight: 600;
}

.legal__back:hover {
    color: var(--accent-2);
}

.legal__card {
    background: #fff;
    color: #1f2937;
    border-radius: var(--radius-lg);
    padding: clamp(26px, 5vw, 60px);
    box-shadow: var(--shadow);
}

.legal__card h1 {
    color: var(--accent);
    font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.legal__sub {
    color: #6b7280;
    margin: 6px 0 4px;
}

.legal__stand {
    color: #6b7280;
    font-style: italic;
    margin: 0 0 1.4em;
}

.legal__card h2 {
    font-size: 1.4rem;
    margin: 1.8em 0 0.6em;
    padding-bottom: 0.45em;
    border-bottom: 2px solid #e5e7eb;
    color: #111827;
}

.legal__card h3 {
    font-size: 1.12rem;
    margin: 1.3em 0 0.4em;
    color: #111827;
}

.legal__card p {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 0.9em;
}

.legal__card a {
    color: var(--accent);
    word-break: break-word;
}

.legal__card a:hover {
    text-decoration: underline;
}

.legal__card ul {
    list-style: disc;
    padding-left: 1.4em;
    margin: 0 0 1em;
}

.legal__card li {
    color: #374151;
    line-height: 1.7;
    margin-bottom: 0.35em;
}

.legal__box {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 18px 20px;
    margin: 1.1em 0;
}

.legal__box--accent {
    border-left: 4px solid var(--accent);
}

.legal__foot {
    text-align: center;
    margin-top: 2.4em;
    padding-top: 1.4em;
    border-top: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 0.92rem;
}

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.in {
    opacity: 1;
    transform: none;
}

.reveal-d1 {
    transition-delay: 0.08s;
}

.reveal-d2 {
    transition-delay: 0.16s;
}

.reveal-d3 {
    transition-delay: 0.24s;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {

    .nav__links,
    .nav__actions {
        display: none;
    }

    .nav__burger {
        display: flex;
        margin-left: auto;
    }

    /* Open menu: clean full-screen overlay (links + actions stacked) */
    .nav.is-open {
        height: 100dvh;
        overflow-y: auto;
        background: rgba(11, 14, 17, 0.98);
        backdrop-filter: saturate(140%) blur(16px);
        -webkit-backdrop-filter: saturate(140%) blur(16px);
        border-bottom: 1px solid var(--line);
    }

    .nav.is-open .nav__inner {
        flex-wrap: wrap;
        row-gap: 0;
        padding-bottom: 26px;
    }

    .nav.is-open .nav__links {
        order: 3;
        flex-basis: 100%;
        display: flex;
        flex-direction: column;
        gap: 2px;
        margin: 16px 0 0;
        padding-top: 16px;
        border-top: 1px solid var(--line);
    }

    .nav.is-open .nav__links a {
        padding: 14px 12px;
        font-size: 1.08rem;
        border-radius: 12px;
    }

    .nav.is-open .nav__actions {
        order: 4;
        flex-basis: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        margin-top: 20px;
    }

    .nav.is-open .nav__actions .btn {
        width: 100%;
        justify-content: center;
        padding: 1em 1.4em;
        font-size: 1.02rem;
    }

    .tour__row {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .tour__row--rev .tour__media {
        order: 1;
    }

    .tour__row--rev .tour__text {
        order: 2;
    }

    .fgrid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sov__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .plans {
        grid-template-columns: 1fr;
        max-width: 460px;
    }

    .footer__inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 560px) {
    .fgrid {
        grid-template-columns: 1fr;
    }

    .sov__grid {
        grid-template-columns: 1fr;
    }

    .stat-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__badges li {
        font-size: 0.82rem;
    }

    .footer__bar {
        justify-content: flex-start;
    }
}

/* Shorter stage on touch / small screens — keep it readable */
@media (max-width: 720px) {
    .stage {
        height: 220vh;
    }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}