@property --photo-speed {
    syntax: "<number>";
    inherits: false;
    initial-value: 12;
}

@font-face {
    font-family: 'Inter';
    src: url('./fonts/InterVariable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('./fonts/InterVariable-Italic.woff2') format('woff2');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Space Grotesk';
    src: url('./fonts/SpaceGrotesk-Variable.woff2') format('woff2');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --bg: #070b14;
    --bg-2: #0d111b;
    --header-bg: rgba(7, 11, 20, 0.8);
    --surface: rgba(14, 20, 35, 0.8);
    --surface-2: rgba(20, 27, 45, 0.6);
    --surface-3: rgba(26, 34, 55, 0.5);
    --text: #f0f4ff;
    --muted: #9aa6bf;
    --line: rgba(255, 255, 255, 0.08);
    --accent: #8eff00;
    --accent-2: #b6ff3b;
    --shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    --hero-glow: rgba(142, 255, 0, 0.15);
    --hero-swoosh-a: rgba(94, 131, 255, 0.26);
    --hero-swoosh-b: rgba(255, 255, 255, 0.09);
}

html[data-theme="light"] {
    --bg: #f8fafc;
    --bg-2: #f1f5f9;
    --header-bg: rgba(248, 250, 252, 0.8);
    --surface: rgba(255, 255, 255, 0.9);
    --surface-2: rgba(248, 250, 252, 0.8);
    --surface-3: rgba(241, 245, 249, 0.7);
    --text: #0f172a;
    --muted: #64748b;
    --line: rgba(0, 0, 0, 0.08);
    --accent: #8eff00;
    --accent-2: #b6ff3b;
    --shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    --hero-glow: rgba(142, 255, 0, 0.1);
    --hero-swoosh-a: rgba(94, 131, 255, 0.18);
    --hero-swoosh-b: rgba(255, 255, 255, 0.38);
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 17px;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

body.overlay-open {
    overflow: hidden;
}

main {
    margin: auto;
    max-width: 95%;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
}

.wrap {
    width: min(1200px, calc(100% - 4rem));
    margin: 0 auto;
}

.topbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 2rem;
    backdrop-filter: blur(20px);
    background: var(--header-bg);
    border-bottom: 1px solid var(--line);
}

.topbar .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.topbar-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0.85;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.topbar-link:hover {
    color: var(--accent);
    opacity: 1;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
}

.brand-dot {
    width: 3rem;
    height: 3rem;
    border-radius: 100vw;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    box-shadow: 0 0 20px rgba(142, 255, 0, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.brand-dot img {
    width: 80%;
    height: 80%;
    object-fit: contain;
    margin: 0.2rem;
}

.brand-link {
    color: inherit;
    text-decoration: none;
}

.legal-layout {
    padding-top: 5.5rem;
}

.legal-page .section-head h1 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 3rem);
}

.legal-document h2 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.3rem;
    color: var(--text);
}

.theme-toggle {
    border: 1px solid var(--line);
    background: var(--surface-2);
    color: var(--muted);
    width: 4.7rem;
    height: 2.55rem;
    border-radius: 100vw;
    cursor: pointer;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center;
    padding: 0.16rem;
    position: relative;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.theme-icon {
    z-index: 1;
    opacity: 0.75;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.theme-knob {
    position: absolute;
    top: 0.18rem;
    left: 0.2rem;
    width: 2.05rem;
    height: 2.05rem;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.78));
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

html[data-theme="dark"] .theme-knob {
    transform: translateX(2.15rem);
    background: linear-gradient(180deg, #212837, #181e2b);
}

html[data-theme="dark"] .theme-icon-moon,
html[data-theme="light"] .theme-icon-sun {
    color: var(--text);
    opacity: 1;
}

.theme-toggle:hover {
    color: var(--text);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(142, 255, 0, 0.2);
}

.hero {
    min-height: calc(100vh - 2rem);
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    padding: 8rem 2rem 2rem;
    position: relative;
    isolation: isolate;
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: -1;
}

.hero::before {
    inset: -22% -16% auto;
    height: min(680px, 68vh);
    background:
        radial-gradient(72% 72% at 68% 38%, var(--hero-swoosh-a), transparent 68%),
        radial-gradient(42% 52% at 26% 26%, var(--hero-swoosh-b), transparent 74%),
        linear-gradient(120deg, transparent 0%, rgba(142, 255, 0, 0.08) 56%, rgba(94, 131, 255, 0.14) 100%);
    filter: blur(18px);
}

.hero::after {
    inset: auto 4% -10% 52%;
    height: min(460px, 40vh);
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.18), transparent 66%);
    filter: blur(30px);
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin: 0 0 1.5rem;
    letter-spacing: -0.04em;
}

.hero-content p {
    font-size: 1.4rem;
    color: var(--muted);
    margin: 0 0 2rem;
    max-width: 32rem;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
    color: var(--muted);
    font-size: 0.98rem;
}

.hero-meta span::before {
    content: "•";
    color: var(--accent);
    margin-right: 0.5rem;
}

.cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    text-decoration: none;
    border-radius: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-header {
    padding: 0.85rem 1.25rem;
    font-size: 0.95rem;
    color: #061000;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    border-color: rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 36px rgba(142, 255, 0, 0.22);
}

.btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(142, 255, 0, 0.32);
}

.btn-header::after {
    content: "↗";
    font-size: 0.92rem;
}

.final-cta .cta {
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #000;
    box-shadow: 0 20px 40px rgba(142, 255, 0, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 25px 50px rgba(142, 255, 0, 0.4);
}

.btn-ghost {
    border-color: var(--line);
    background: var(--surface);
    color: var(--text);
}

.btn-ghost:hover {
    border-color: var(--accent);
    background: var(--surface-2);
}

.photo-grid {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    margin: 0 auto;
}

.photo-grid::before {
    content: "";
    position: absolute;
    inset: -18% -14% -8%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(190, 215, 255, 0.12) 40%, rgba(255, 255, 255, 0.03) 62%, transparent 78%);
    filter: blur(148px);
    z-index: 0;
    pointer-events: none;
}

.photo-stack {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.photo-item {
    --photo-speed: 12;
    --photo-radius: 1rem;
    border-radius: var(--photo-radius);
    background: linear-gradient(135deg, #2a3441, #1e2530);
    border: 1px solid var(--line);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease, --photo-speed 0.9s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    clip-path: inset(0 round var(--photo-radius));
    backface-visibility: hidden;
}

.photo-item[role="button"] {
    appearance: none;
}

.photo-item:focus-visible {
    outline: 2px solid rgba(142, 255, 0, 0.9);
    outline-offset: 4px;
}

.photo-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.photo-item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(40deg, transparent 6%, rgba(255, 255, 255, 0.42) 48%, transparent 88%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.photo-item-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.28s ease;
}

.photo-feature-pill {
    position: absolute;
    bottom: 0.65rem;
    left: 0.65rem;
    padding: 0.34rem 0.58rem;
    border-radius: 999px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fff;
    background: rgba(7, 11, 20, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
    z-index: 1;
}

.photo-badge {
    position: absolute;
    top: 0.6rem;
    right: 0.6rem;
    width: 1.9rem;
    height: 1.9rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(7, 11, 20, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.9rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
    animation: starPulse 3.2s ease-in-out infinite;
}

.photo-caption {
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    top: 0.65rem;
    display: grid;
    gap: 0.16rem;
    padding: 0.7rem 0.8rem;
    border-radius: 0.9rem;
    background: rgba(7, 11, 20, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    backdrop-filter: blur(14px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.28);
}

.photo-caption strong {
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(182, 255, 59, 0.96);
}

.photo-caption span {
    font-size: 0.73rem;
    line-height: 1.4;
}

.photo-tags {
    position: absolute;
    left: 0.65rem;
    right: 0.65rem;
    top: 0.65rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.28rem;
    align-content: flex-start;
}

.photo-caption--status {
    padding-top: 0.55rem;
    padding-bottom: 0.55rem;
}

.photo-tag {
    padding: 0.22rem 0.42rem;
    border-radius: 999px;
    background: rgba(7, 11, 20, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    backdrop-filter: blur(12px);
}

.detection-box {
    position: absolute;
    left: var(--x);
    top: var(--y);
    width: var(--w);
    height: var(--h);
    border: 2px solid var(--box-color, rgba(142, 255, 0, 0.95));
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
}

.detection-box span {
    position: absolute;
    top: 0;
    left: -2px;
    transform: translateY(-100%);
    padding: 0.25rem 0.42rem;
    background: var(--box-color, rgba(142, 255, 0, 0.95));
    color: #031005;
    font-size: 0.33rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.detection-box--lime {
    --box-color: rgba(142, 255, 0, 0.96);
}

.detection-box--blue {
    --box-color: rgba(94, 131, 255, 0.95);
}

.detection-box--gold {
    --box-color: rgba(255, 210, 92, 0.96);
}

.detection-box--purple {
    --box-color: rgba(196, 133, 255, 0.96);
}

.photo-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.photo-item:hover,
.photo-item:focus-visible,
.photo-item.active {
    animation: none;
}

.photo-item:hover img,
.photo-item.active img {
    transform: scale(1.08);
}

.photo-item:hover::before {
    opacity: 1;
}

.photo-item.active {
    transform: translateY(-6px);
    box-shadow: 0 25px 50px rgba(10, 18, 32, 0.45);
    border-color: rgba(255, 255, 255, 0.58);
    --photo-speed: 36;
}

.photo-item.active .photo-item-overlay {
    opacity: 1;
}

.photo-item.active[data-feature="favorite"] {
    border-color: rgba(255, 214, 112, 0.95);
    box-shadow: 0 25px 50px rgba(10, 18, 32, 0.45), 0 0 0 1px rgba(255, 214, 112, 0.18);
}

.photo-item.active[data-feature="object-detection"] {
    border-color: rgba(94, 131, 255, 0.82);
}

.photo-item.active[data-feature="face-recognition"] {
    border-color: rgba(196, 133, 255, 0.82);
}

.photo-item.active[data-feature="captioning"] {
    border-color: rgba(255, 255, 255, 0.72);
}

.photo-item.active[data-feature="tagging"] {
    border-color: rgba(142, 255, 0, 0.9);
}

.photo-stats {
    text-align: center;
    margin-top: 2rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.photo-stats strong {
    color: var(--accent);
    font-size: 1.1rem;
}

.trust-strip {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 3rem 2rem;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
}

.trust-strip--hero {
    grid-column: 1 / -1;
    margin-top: 0.75rem;
}

.trust-strip .wrap {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--muted);
    font-size: 0.98rem;
    font-weight: 500;
    padding: 0.9rem 1.15rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.02);
}

.trust-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.8rem;
    background: rgba(142, 255, 0, 0.08);
    border: 1px solid rgba(142, 255, 0, 0.14);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.trust-icon svg {
    width: 1rem;
    height: 1rem;
}

.section {
    padding: 6rem 2rem;
}

.section-head {
    text-align: center;
    margin-bottom: 4rem;
}

.section-head h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin: 0 0 1rem;
    letter-spacing: -0.03em;
}

.section-head p {
    font-size: 1.28rem;
    color: var(--muted);
    margin: 0 auto;
    max-width: 40rem;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 4rem;
}

.step {
    text-align: center;
}

.step-number {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.step h3 {
    font-size: 1.5rem;
    margin: 0 0 1rem;
}

.step p {
    color: var(--muted);
    margin: 0;
    font-size: 1.02rem;
}

.feature-blocks {
    display: grid;
    gap: 6rem;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-block.reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.feature-block.reverse .feature-content {
    direction: ltr;
}

.feature-visual {
    height: 400px;
    border-radius: 1.5rem;
    background: var(--surface);
    border: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.feature-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(142, 255, 0, 0.05), transparent);
}

.feature-screenshot-shell {
    position: absolute;
    inset: 1rem;
    border-radius: 1.1rem;
    overflow: hidden;
    background: rgba(4, 8, 18, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.32);
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 0.7s ease, transform 0.7s ease;
    z-index: 1;
}

.feature-screenshot-topbar {
    display: flex;
    gap: 0.45rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.feature-screenshot-topbar span {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.22);
}

.feature-screenshot {
    width: 100%;
    height: calc(100% - 5.1rem);
    object-fit: cover;
    display: block;
}

.feature-screenshot-meta {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    z-index: 2;
}

.feature-screenshot-meta span {
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(7, 11, 20, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.88rem;
    backdrop-filter: blur(8px);
}

.feature-icon {
    width: 6rem;
    height: 6rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.feature-icon.pictogram {
    width: 50%;
    height: 50%;
    object-fit: contain;
    background: none;
}

.feature-icon.pictogram img {
    width: 100%;
    height: 100%;
}

.feature-block.is-visible .feature-screenshot-shell {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.feature-block.is-visible .feature-icon.pictogram {
    opacity: 0.08;
    transform: scale(0.88);
}

.feature-content h3 {
    font-size: 2.5rem;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.feature-content p {
    font-size: 1.16rem;
    color: var(--muted);
    margin: 0 0 1.5rem;
    line-height: 1.6;
}

.feature-pill {
    background: rgba(142, 255, 0, 0.1);
    border: 1px solid var(--accent);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    display: inline-block;
    margin-top: 1rem;
}

.feature-bullets {
    display: grid;
    gap: 0.8rem;
}

.feature-bullets-spaced {
    margin-top: 1rem;
}

.feature-bullets li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--muted);
}

.feature-bullets li::before {
    content: "✓";
    color: var(--accent);
    font-weight: 700;
}

.performance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.perf-item {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
}

.perf-item strong {
    display: block;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.perf-item span {
    color: var(--muted);
    font-size: 1rem;
}

.platforms {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.platform {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.platform:hover {
    border-color: var(--accent);
    background: var(--surface-2);
}

.platform img {
    width: 4rem;
    height: 4rem;
    margin-bottom: 0.8rem;
}


.faq-section {
    padding-top: 4rem;
}

.faq-list {
    width: min(900px, 100%);
    margin: 0 auto;
    display: grid;
    gap: 1rem;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--surface);
    padding: 0 1.25rem;
    backdrop-filter: blur(10px);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 1.1rem 1.75rem 1.1rem 0;
    font-size: 1.05rem;
    font-weight: 600;
    position: relative;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 1.15rem;
    font-weight: 700;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    margin: 0 0 1.1rem;
    color: var(--muted);
    font-size: 1rem;
}

.final-cta {
    background: linear-gradient(135deg, var(--bg), var(--bg-2));
    border: 1px solid var(--line);
    border-radius: 2rem;
    padding: 4rem 2rem;
    text-align: center;
    margin: 4rem 0;
}

.final-cta h3 {
    font-size: 3rem;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
}

.final-cta p {
    font-size: 1.2rem;
    color: var(--muted);
    margin: 0 0 2rem;
}

.footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 0.9rem;
    padding: 2rem 2rem 8rem;
}

.footer-wrap {
    width: min(1200px, calc(100% - 1rem));
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.footer-branding {
    max-width: 34rem;
}

.footer-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    color: var(--text);
    margin-bottom: 0.65rem;
}

.footer-branding p {
    margin: 0;
    font-size: 1rem;
}

.footer-quicklinks {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-quicklinks a {
    color: var(--text);
    text-decoration: none;
    opacity: 0.85;
}

.footer-quicklinks a:hover {
    color: var(--accent);
}

.footer-meta {
    font-size: 0.86rem;
    text-align: center;
}

.video-overlay {
    position: fixed;
    inset: 0;
    z-index: 300;
    display: grid;
    place-items: center;
    padding: 2rem;
}

.video-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 6, 14, 0.8);
    backdrop-filter: blur(12px);
}

.video-modal {
    position: relative;
    width: min(960px, 100%);
    border-radius: 1.5rem;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(14, 20, 35, 0.98), rgba(8, 12, 24, 0.98));
    box-shadow: 0 32px 100px rgba(0, 0, 0, 0.5);
    padding: 1.5rem;
    max-height: min(88vh, 980px);
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    z-index: 1;
}

.video-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    font-size: 1.2rem;
    cursor: pointer;
}

.video-copy {
    max-width: 40rem;
    margin-bottom: 1.25rem;
}

.video-kicker {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.8rem;
    margin: 0 0 0.65rem;
}

.video-copy h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(2rem, 3vw, 2.6rem);
}

.video-copy p:last-child {
    margin: 0;
    color: var(--muted);
}

.video-player-shell {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 1.2rem;
    overflow: hidden;
    border: 1px solid var(--line);
    background: rgba(0, 0, 0, 0.35);
}

.video-player-shell iframe,
.video-placeholder {
    width: 100%;
    height: 100%;
}

.video-player-shell iframe {
    border: 0;
}

.video-placeholder {
    position: relative;
}

.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.9) brightness(0.7);
}

.video-placeholder-copy {
    position: absolute;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    display: grid;
    gap: 0.35rem;
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: rgba(7, 11, 20, 0.74);
    backdrop-filter: blur(10px);
}

.video-placeholder-copy strong {
    color: var(--text);
}

.video-placeholder-copy span {
    color: var(--muted);
    font-size: 0.95rem;
}


.cookie-banner {
    position: fixed;
    left: 1.25rem;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 250;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.15rem;
    border-radius: 1.25rem;
    border: 1px solid var(--line);
    background: rgba(10, 15, 28, 0.92);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(18px);
    opacity: 0;
    transform: translateY(calc(100% + 2rem));
    transition: transform 0.36s ease, opacity 0.36s ease;
    will-change: transform, opacity;
}

.cookie-banner.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.cookie-copy {
    max-width: 46rem;
}

.cookie-copy strong {
    display: block;
    color: var(--text);
    margin-bottom: 0.3rem;
}

.cookie-copy p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.cookie-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.cookie-btn {
    padding: 0.8rem 1rem;
    font-size: 0.95rem;
}

.cookie-choice {
    color: var(--text);
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--line);
    box-shadow: none;
}

.cookie-choice:hover {
    border-color: var(--accent);
    background: rgba(142, 255, 0, 0.08);
    transform: translateY(-1px);
}


.legal-page {
    padding-top: 2rem;
}

.legal-document {
    width: min(980px, 100%);
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: 1rem;
    padding: 1.5rem;
    background: var(--surface);
    color: var(--muted);
}

.legal-document h3 {
    margin: 1.2rem 0 0.5rem;
    font-size: 1.1rem;
    color: var(--text);
}

.to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 1.4rem;
    z-index: 260;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(1rem);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.to-top.is-visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.to-top:hover {
    border-color: var(--accent);
}


@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 6rem 2rem 3rem;
    }

    .workflow-steps {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-block,
    .feature-block.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        direction: ltr;
    }

    .feature-blocks {
        gap: 4rem;
    }

    .cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .header-actions {
        gap: 0.55rem;
    }

    .btn-header {
        display: none;
    }

    .cta {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .cta .btn,
    .cookie-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .cookie-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .photo-grid {
        max-width: 300px;
    }

    .trust-strip .wrap {
        flex-direction: column;
        gap: 1rem;
    }

    .platforms {
        grid-template-columns: repeat(2, 1fr);
    }

    .performance-grid {
        grid-template-columns: 1fr;
    }

    .video-overlay {
        padding: 1rem;
    }

    .video-modal {
        padding: 1rem;
    }


    .faq-section {
        padding-top: 3rem;
    }

    .faq-item {
        padding: 0 1rem;
    }

    .faq-item summary {
        font-size: 1rem;
        padding: 1rem 1.5rem 1rem 0;
    }

    .cookie-banner {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .to-top {
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .legal-document {
        padding: 1rem;
    }
}

@keyframes photoShuffle {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(1deg); }
    50% { transform: translateY(5px) rotate(-1deg); }
    75% { transform: translateY(-5px) rotate(0.5deg); }
}

.photo-item:nth-child(1) { animation: photoShuffle calc(var(--photo-speed) * 1s) ease-in-out infinite; }
.photo-item:nth-child(2) { animation: photoShuffle calc(var(--photo-speed) * 1s) ease-in-out infinite 1s; }
.photo-item:nth-child(3) { animation: photoShuffle calc(var(--photo-speed) * 1s) ease-in-out infinite 2s; }
.photo-item:nth-child(4) { animation: photoShuffle calc(var(--photo-speed) * 1s) ease-in-out infinite 3s; }
.photo-item:nth-child(5) { animation: photoShuffle calc(var(--photo-speed) * 1s) ease-in-out infinite 4s; }
.photo-item:nth-child(6) { animation: photoShuffle calc(var(--photo-speed) * 1s) ease-in-out infinite 5s; }
.photo-item:nth-child(7) { animation: photoShuffle calc(var(--photo-speed) * 1s) ease-in-out infinite 0.5s; }
.photo-item:nth-child(8) { animation: photoShuffle calc(var(--photo-speed) * 1s) ease-in-out infinite 1.5s; }
.photo-item:nth-child(9) { animation: photoShuffle calc(var(--photo-speed) * 1s) ease-in-out infinite 2.5s; }

@keyframes starPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35); }
    50% { transform: scale(1.08); box-shadow: 0 14px 28px rgba(255, 255, 255, 0.2); }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
