/* === Inter Font (lokal, DSGVO-konform) === */
@font-face { font-family: 'Inter'; src: url('fonts/inter-300.woff2') format('woff2'); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-400.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-500.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-600.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-700.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-800.woff2') format('woff2'); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('fonts/inter-900.woff2') format('woff2'); font-weight: 900; font-style: normal; font-display: swap; }

/* === Reset & Base === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --bg: #000;
    --bg-light: #111;
    --text: #f5f5f7;
    --text-muted: #a1a1a6;
    --accent: #2997ff;
    --accent-hover: #5ab4ff;
    --card-bg: rgba(255,255,255,0.05);
    --card-border: rgba(255,255,255,0.08);
    --radius: 20px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html { scroll-behavior: smooth; font-size: 16px; }

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

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hover); }

/* === Gradient Text === */
.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-blue-purple {
    background-image: linear-gradient(135deg, #2997ff 0%, #a855f7 100%);
}

.gradient-purple-pink {
    background-image: linear-gradient(135deg, #a855f7 0%, #ec4899 100%);
}

.gradient-pink-orange {
    background-image: linear-gradient(135deg, #ec4899 0%, #f97316 100%);
}

.gradient-cyan-blue {
    background-image: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
}

.gradient-green-cyan {
    background-image: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
}

.gradient-orange-yellow {
    background-image: linear-gradient(135deg, #f97316 0%, #eab308 100%);
}

/* === Navigation === */
#nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 40px;
    height: 52px;
    display: flex;
    align-items: center;
    background: rgba(0,0,0,0.7);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.3s;
}

.nav-inner {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-logo-img {
    height: 28px;
    width: 28px;
    border-radius: 6px;
    object-fit: cover;
}

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 400;
    transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-cta {
    background: var(--accent);
    color: #fff !important;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 500;
    transition: background 0.2s;
}
.nav-cta:hover { background: var(--accent-hover); }

/* Language Switcher */
.lang-switch {
    background: none;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 20px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 1rem;
    line-height: 1;
}
.lang-flag {
    opacity: 0.4;
    transition: opacity 0.2s;
    cursor: pointer;
    user-select: none;
}
.lang-flag.active { opacity: 1; }
.lang-flag:hover { opacity: 0.8; }

/* Mobile: language switch + burger grouped */
.nav-right-mobile {
    display: none;
    align-items: center;
    gap: 12px;
}

/* Burger */
.nav-burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    flex-direction: column;
    gap: 5px;
}
.nav-burger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
    display: none;
    position: fixed;
    top: 52px; left: 0; right: 0;
    z-index: 99;
    background: rgba(0,0,0,0.95);
    backdrop-filter: blur(20px);
    padding: 20px 40px;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mobile-menu a {
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 500;
}
.mobile-menu.open { display: flex; }

/* === Hero === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    will-change: transform, opacity;
    transition: transform 0.1s linear;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.5) 0%,
        rgba(0,0,0,0.4) 50%,
        rgba(0,0,0,0.9) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.hero-line { display: block; }
.hero-line.accent {
    background: linear-gradient(135deg, #2997ff 0%, #a855f7 50%, #ec4899 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-line-ueben {
    background: linear-gradient(135deg, #f472b6 0%, #a3e635 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 18px rgba(244,114,182,0.4));
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    margin: 0 auto 40px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

.hero-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-btn {
    display: inline-block;
    padding: 14px 32px;
    background: var(--accent);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s, background 0.2s;
}
.hero-btn:hover { background: var(--accent-hover); color: #fff; transform: scale(1.05); }
.hero-btn-outline {
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.4);
}
.hero-btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
}

/* === Fade In === */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* === Reveal on Scroll === */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* === Intro Section === */
.intro-section {
    padding: 120px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.intro-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-text h2 {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: 20px;
}

.intro-text p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.7;
    font-weight: 400;
}

.intro-img {
    overflow: hidden;
    border-radius: var(--radius);
    min-height: 360px;
}
.intro-img img,
.intro-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    display: block;
}

/* === Word Rotator === */
.word-rotator {
    display: inline-block;
    overflow: hidden;
    height: 1.15em;
    vertical-align: bottom;
}

.word-rotator-track {
    display: block;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.rotator-word {
    display: block;
    height: 1.15em;
    line-height: 1.15;
    white-space: nowrap;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(135deg, #2997ff, #a855f7);
}

.rotator-word:nth-child(1) { background-image: linear-gradient(135deg, #2997ff, #a855f7); }
.rotator-word:nth-child(2) { background-image: linear-gradient(135deg, #a855f7, #ec4899); }
.rotator-word:nth-child(3) { background-image: linear-gradient(135deg, #ec4899, #f97316); }
.rotator-word:nth-child(4) { background-image: linear-gradient(135deg, #06b6d4, #3b82f6); }
.rotator-word:nth-child(5) { background-image: linear-gradient(135deg, #10b981, #06b6d4); }

/* === Feature Composite (gradient + avatar + text overlay) === */
.feature-composite {
    display: flex;
    align-items: stretch;
    background: linear-gradient(135deg, #0f1628 0%, #1a1040 40%, #2a1a50 70%, #1a1040 100%);
}

.feature-composite-text {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 40px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    min-height: 240px;
}

.feature-composite-avatar {
    flex: 0 0 40%;
    overflow: hidden;
    position: relative;
}

.feature-composite-avatar video {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

/* === Feature Overlay (full-width image + text on top) === */
.feature-overlay {
    position: relative;
}

.feature-overlay-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-overlay-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0 40px;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
}

/* === Typewriter === */
.typewriter::after {
    content: '▌';
    color: var(--accent);
    font-weight: 400;
    animation: blink-cursor 1s step-end infinite;
}

@keyframes blink-cursor {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

/* === Word-by-Word Reveal === */
.wr-line {
    margin-bottom: 2px;
}

.wr-heading {
    font-size: 1.15em;
    margin-bottom: 10px;
}

.wr-bullet {
    padding-left: 18px;
    position: relative;
}

.wr-bullet::before {
    content: '\2013';
    position: absolute;
    left: 0;
    color: var(--text-muted);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wr-bullet.has-visible::before {
    opacity: 1;
}

.wr-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.wr-word.visible {
    opacity: 1;
    transform: translateY(0);
}

.wr-pink .wr-word {
    color: #e91e8c;
}

/* === Sticky Section (Features) === */
.sticky-section {
    padding: 120px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.sticky-container {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.sticky-text {
    position: sticky;
    top: 140px;
    flex: 0 0 260px;
}

.sticky-text h2 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.sticky-cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 0;
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
}
.feature-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-2px); }

.feature-img-wrap {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: var(--bg-light);
}

.feature-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.feature-card:hover .feature-img { transform: scale(1.03); }

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 24px 32px 8px;
    letter-spacing: -0.01em;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 32px 28px;
}

/* === Parallax === */
.parallax-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 40px 0;
}

.parallax-bg {
    position: absolute;
    inset: -30%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.parallax-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
}

.parallax-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px;
}

.parallax-content blockquote {
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    font-weight: 400;
    line-height: 1.4;
    max-width: 700px;
    margin: 0 auto;
    color: var(--text);
    font-style: italic;
}

/* === Scenarios === */
.scenarios {
    padding: 120px 0;
    max-width: 100%;
    overflow: hidden;
}
.scenarios .section-title,
.scenarios .section-sub {
    padding: 0 24px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 16px;
}

.section-sub {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 64px;
    font-weight: 400;
}

/* === Scenario Carousel === */
.scenario-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    /* fade right edge only — left stays sharp */
    mask-image: linear-gradient(to right, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 80%, transparent 100%);
}

/* Scroll arrow — right edge */
.scenario-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: background 0.2s, border-color 0.2s, opacity 0.4s, transform 0.3s;
    /* pulse animation */
    animation: arrowPulse 2s ease-in-out infinite;
}
.scenario-arrow:hover {
    background: rgba(255,255,255,0.16);
    border-color: rgba(255,255,255,0.35);
}
.scenario-arrow svg {
    width: 20px;
    height: 20px;
}
.scenario-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}
@keyframes arrowPulse {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50%       { transform: translateY(-50%) translateX(4px); }
}

.scenario-grid {
    display: flex;
    gap: 20px;
    width: max-content;
    padding: 16px 24px;
    cursor: grab;
    user-select: none;
    will-change: transform;
    transition: transform 0.05s linear;
}
.scenario-grid:active { cursor: grabbing; }

/* Progress dots below carousel */
.scenario-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}
.scenario-dot {
    width: 36px;
    height: 8px;
    border-radius: 99px;
    background: rgba(255,255,255,0.2);
    transform: scaleX(0.22);
    transform-origin: center;
    transition: transform 0.35s ease, background 0.35s, box-shadow 0.35s;
    cursor: pointer;
}
.scenario-dot.active {
    transform: scaleX(1);
    background: linear-gradient(90deg, #ec4899, #a855f7);
    box-shadow: 0 0 12px rgba(236,72,153,0.65), 0 0 4px rgba(168,85,247,0.5);
}

.scenario-cta {
    text-align: center;
    margin-top: 56px;
    padding: 48px 24px;
}

.scenario-cta p {
    color: var(--text-muted);
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 24px;
}

.scenario-cta strong {
    color: var(--text);
}

.scenario-item {
    flex: 0 0 260px;
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: var(--radius);
    padding: 28px 28px 24px;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 0 20px rgba(255,255,255,0.04);
}
.scenario-item:hover {
    border-color: rgba(255,255,255,0.22);
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.08), 0 0 28px rgba(255,255,255,0.08);
}

.scenario-number {
    font-size: 2.2rem;
    font-weight: 800;
    opacity: 0.85;
    margin-bottom: 10px;
    letter-spacing: -0.04em;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(135deg, #2997ff, #a855f7);
}

.scenario-item:nth-child(1) .scenario-number { background-image: linear-gradient(135deg, #2997ff, #a855f7); }
.scenario-item:nth-child(2) .scenario-number { background-image: linear-gradient(135deg, #a855f7, #ec4899); }
.scenario-item:nth-child(3) .scenario-number { background-image: linear-gradient(135deg, #ec4899, #f97316); }
.scenario-item:nth-child(4) .scenario-number { background-image: linear-gradient(135deg, #f97316, #eab308); }
.scenario-item:nth-child(5) .scenario-number { background-image: linear-gradient(135deg, #10b981, #06b6d4); }
.scenario-item:nth-child(6) .scenario-number { background-image: linear-gradient(135deg, #06b6d4, #3b82f6); }
.scenario-item:nth-child(7) .scenario-number { background-image: linear-gradient(135deg, #3b82f6, #8b5cf6); }

.scenario-item { cursor: pointer; }
.scenario-item h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 8px; }
.scenario-item p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

.scenario-more {
    display: inline-block;
    margin-top: 12px;
    font-size: 0.9rem;
    color: var(--accent);
    font-weight: 500;
    text-decoration: none;
    transition: transform 0.2s;
}
.scenario-item:hover .scenario-more { transform: translateX(4px); }

/* === Scenario Modal === */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}
.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    position: relative;
    background: #1a1a1a;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    max-width: 820px;
    width: 92%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(30px) scale(0.96);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.open .modal-box {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 16px; right: 20px;
    z-index: 10;
    background: rgba(255,255,255,0.1);
    border: none;
    color: var(--text);
    font-size: 1.6rem;
    width: 36px; height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    line-height: 1;
}
.modal-close:hover { background: rgba(255,255,255,0.2); }

.modal-grid {
    display: flex;
    flex-direction: column;
}

.modal-video {
    position: relative;
    background: #000;
    border-radius: 24px 24px 0 0;
    overflow: hidden;
}

.modal-video video {
    width: 100%;
    display: block;
    border-radius: 24px 24px 0 0;
}

.video-placeholder {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
}
.video-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0; left: 0;
}
.play-hint {
    position: relative;
    z-index: 1;
    padding: 10px 24px;
    border-radius: 24px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(8px);
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
    font-weight: 500;
}

.modal-text {
    padding: 32px 40px 40px;
}

.modal-number {
    font-size: 3.5rem;
    font-weight: 800;
    opacity: 0.8;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #2997ff, #a855f7);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.modal-text h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.modal-text p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
}

@media (max-width: 700px) {
    .modal-video video { border-radius: 24px 24px 0 0; }
    .modal-text { padding: 24px 20px 32px; }
}

/* === Steps === */
.how-it-works {
    padding: 120px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.steps-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.step { text-align: center; padding: 32px 20px; }

.step-num {
    width: 56px; height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2997ff, #a855f7);
    color: #fff;
    font-size: 1.4rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
}

.step:nth-child(1) .step-num { background: linear-gradient(135deg, #2997ff, #a855f7); }
.step:nth-child(2) .step-num { background: linear-gradient(135deg, #a855f7, #ec4899); }
.step:nth-child(3) .step-num { background: linear-gradient(135deg, #ec4899, #f97316); }
.step:nth-child(4) .step-num { background: linear-gradient(135deg, #10b981, #06b6d4); }

.step h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.5; }

/* === Audiences === */
.audiences {
    padding: 120px 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.audience-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.audience-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 40px 28px;
    text-align: center;
    transition: border-color 0.3s, transform 0.3s;
}
.audience-card:hover { border-color: rgba(255,255,255,0.15); transform: translateY(-4px); }

.audience-icon { font-size: 2.4rem; margin-bottom: 16px; }
.audience-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.audience-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* === Team === */
.team-section {
    padding: 120px 24px;
    max-width: 900px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 48px;
}

.team-member { text-align: center; }

.team-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 3px solid rgba(255,255,255,0.1);
    transition: transform 0.3s, border-color 0.3s;
}
.team-member:hover .team-photo {
    transform: scale(1.05);
    border-color: var(--accent);
}

.team-member h4 { font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; }
.team-member p { color: var(--text-muted); font-size: 0.9rem; }

.team-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
}
.team-links a {
    font-size: 0.85rem;
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s;
}
.team-links a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* Partners */
.partners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 48px;
    margin-top: 80px;
    padding-top: 48px;
    border-top: 1px solid var(--card-border);
}

.partner-logo {
    height: 48px;
    object-fit: contain;
    filter: grayscale(100%) brightness(1.8);
    opacity: 0.6;
    transition: opacity 0.3s, filter 0.3s;
}
.partner-logo:hover { opacity: 1; filter: grayscale(0%) brightness(1); }

/* === CTA === */
.cta-section {
    padding: 160px 24px;
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto 40px;
    font-weight: 400;
}

.cta-btns {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-block;
    padding: 16px 40px;
    background: #fff;
    color: #000;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: transform 0.2s, opacity 0.2s;
}
.cta-btn:hover { transform: scale(1.05); opacity: 0.9; color: #000; }

.cta-btn-outline {
    background: transparent;
    color: var(--text);
    border: 1.5px solid rgba(255,255,255,0.3);
}
.cta-btn-outline:hover {
    background: rgba(255,255,255,0.08);
    color: var(--text);
    border-color: rgba(255,255,255,0.5);
}

/* === Request Form === */
.request-form {
    max-width: 560px;
    margin: 40px auto 0;
    text-align: left;
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.form-row input { flex: 1; }

.request-form input,
.request-form textarea {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 12px;
    color: #fff;
    font-family: var(--font);
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.request-form input::placeholder,
.request-form textarea::placeholder {
    color: rgba(255,255,255,0.55);
}

.request-form input:focus,
.request-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.request-form textarea {
    resize: vertical;
    min-height: 100px;
    margin-bottom: 24px;
}

.request-form .cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    border: none;
    cursor: pointer;
    font-family: var(--font);
}

.request-form .cta-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.form-message {
    margin-top: 16px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.95rem;
    display: none;
    text-align: center;
}

.form-message.success {
    display: block;
    background: rgba(0, 200, 80, 0.1);
    color: #00c850;
    border: 1px solid rgba(0, 200, 80, 0.2);
}

.form-message.error {
    display: block;
    background: rgba(255, 60, 60, 0.1);
    color: #ff3c3c;
    border: 1px solid rgba(255, 60, 60, 0.2);
}

.form-note {
    margin-top: 40px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* === News Preview Section === */
.news-preview-section {
    padding: 100px 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.news-preview-section h2 {
    text-align: center;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 16px;
}

.news-preview-section .section-sub {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 56px;
    font-size: 1.05rem;
}

.news-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
    margin-bottom: 48px;
}

.news-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 28px;
    text-decoration: none;
    color: var(--text);
    display: block;
    transition: border-color 0.25s, background 0.25s, transform 0.25s;
}

.news-card:hover {
    border-color: rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.07);
    transform: translateY(-3px);
}

.news-card-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
    background: rgba(255,255,255,0.08);
}

.news-card-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.news-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.news-preview-cta {
    text-align: center;
}

@media (max-width: 600px) {
    .form-row { flex-direction: column; gap: 12px; }
}

/* === Footer === */
footer {
    border-top: 1px solid var(--card-border);
    padding: 40px 24px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand p { color: var(--text-muted); font-size: 0.85rem; margin-top: 6px; }

.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; }
.footer-links a:hover { color: var(--text); }

/* === Layer Stack === */
.layer-header {
    text-align: center;
    padding: 120px 24px 60px;
}

.layer-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.layer-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
}

/* Tall scroll runway — this is what creates the scroll distance */
.layer-scroll-area {
    height: 350vh;
    position: relative;
}

/* Stays pinned in the viewport while user scrolls through the area */
.layer-viewport {
    position: sticky;
    top: 60px;
    height: calc(100vh - 80px);
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    /* allow the peeking tabs below the card to be visible */
    overflow: visible;
}

/* Contains the stacked cards — extra bottom space for peeking tabs */
.layer-stack {
    position: relative;
    width: 100%;
    height: 360px;
    /* bottom padding so the tab-peeks don't overflow the viewport */
    margin-bottom: 0;
}

/* Each card fills the stack, stacked via z-index */
.layer-card {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 360px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--card-bg);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: var(--radius);
    overflow: hidden;
    will-change: transform, opacity;
    box-shadow: 0 0 0 1px rgba(255,255,255,0.06), 0 0 24px rgba(255,255,255,0.07);
}

/* z-index via data-layer, initial offsets handled by JS */
.layer-card[data-layer="1"] { z-index: 6; }
.layer-card[data-layer="2"] { z-index: 5; }
.layer-card[data-layer="3"] { z-index: 4; }
.layer-card[data-layer="4"] { z-index: 3; }
.layer-card[data-layer="5"] { z-index: 2; }
.layer-card[data-layer="6"] { z-index: 1; }

.layer-visual {
    min-height: 400px;
    position: relative;
    overflow: hidden;
}
.layer-visual video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.layer-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 40px;
    background: rgba(10, 12, 20, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Per-layer accent tint on the info panel */
[data-layer="1"] .layer-info { background: linear-gradient(145deg, rgba(14,24,50,0.92), rgba(10,12,20,0.88)); }
[data-layer="2"] .layer-info { background: linear-gradient(145deg, rgba(28,14,44,0.92), rgba(10,12,20,0.88)); }
[data-layer="3"] .layer-info { background: linear-gradient(145deg, rgba(8,28,44,0.92), rgba(10,12,20,0.88)); }
[data-layer="4"] .layer-info { background: linear-gradient(145deg, rgba(40,14,30,0.92), rgba(10,12,20,0.88)); }
[data-layer="5"] .layer-info { background: linear-gradient(145deg, rgba(8,34,28,0.92), rgba(10,12,20,0.88)); }
[data-layer="6"] .layer-info { background: linear-gradient(145deg, rgba(38,24,8,0.92), rgba(10,12,20,0.88)); }

.layer-number {
    font-size: 3rem;
    font-weight: 800;
    opacity: 0.8;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 12px;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(135deg, #2997ff, #a855f7);
}

[data-layer="1"] .layer-number { background-image: linear-gradient(135deg, #2997ff, #a855f7); }
[data-layer="2"] .layer-number { background-image: linear-gradient(135deg, #a855f7, #ec4899); }
[data-layer="3"] .layer-number { background-image: linear-gradient(135deg, #06b6d4, #3b82f6); }
[data-layer="4"] .layer-number { background-image: linear-gradient(135deg, #ec4899, #f97316); }
[data-layer="5"] .layer-number { background-image: linear-gradient(135deg, #10b981, #06b6d4); }
[data-layer="6"] .layer-number { background-image: linear-gradient(135deg, #f97316, #eab308); }

.layer-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.layer-info p {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

/* Progress dots */
.layer-progress {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.layer-dot {
    width: 8px;
    height: 36px;
    border-radius: 99px;
    background: rgba(255,255,255,0.32);
    transform: scaleY(0.40); /* visually ~9px tall */
    transform-origin: center;
    transition: transform 0.35s ease, background 0.35s, box-shadow 0.35s;
}

.layer-dot.active {
    transform: scaleY(1);
    background: linear-gradient(180deg, #2997ff, #a855f7);
    box-shadow: 0 0 12px rgba(41,151,255,0.7), 0 0 8px rgba(168,85,247,0.5);
}

/* === Responsive === */
@media (max-width: 1100px) {
}

@media (max-width: 900px) {
    .nav-links { display: none; }
    .nav-right-mobile { display: flex; }
    .nav-burger { display: flex; }
    .sticky-container { flex-direction: column; gap: 40px; }
    .sticky-text { position: static; flex: auto; }
    .intro-inner { grid-template-columns: 1fr; gap: 40px; }
    .steps-track { grid-template-columns: repeat(2, 1fr); }
    .audience-cards { grid-template-columns: repeat(2, 1fr); }
    .layer-card { grid-template-columns: 1fr; }
    .layer-visual { min-height: 180px; }
    .layer-progress { display: none; }
}

@media (max-width: 600px) {
    #nav { padding: 0 16px; }
    .steps-track { grid-template-columns: 1fr; }
    .audience-cards { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; }
    .partners { flex-direction: column; gap: 24px; }
    .footer-inner { flex-direction: column; gap: 20px; text-align: center; }
    .footer-links { flex-direction: column; gap: 8px; align-items: center; }
    .feature-img-wrap { height: 180px; }
    .feature-composite { flex-direction: column; }
    .feature-composite-text { min-height: auto; padding: 32px 24px; font-size: 1.2rem; }
    .feature-composite-avatar { flex: none; height: 180px; }
}

/* === Hero Word Flip === */
@keyframes heroWordOut {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-14px); }
}
@keyframes heroWordIn {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero-flip-word {
    display: inline-block;
}
.hero-flip-word.anim-out {
    animation: heroWordOut 0.28s ease forwards;
}
.hero-flip-word.anim-in {
    animation: heroWordIn 0.28s ease forwards;
}

/* === Doc Modals === */
.doc-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.doc-modal-overlay.open {
    display: flex;
}
.doc-modal-box {
    background: #111;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    width: 100%;
    max-width: 720px;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.7);
    animation: docModalIn 0.25s ease;
}
@keyframes docModalIn {
    from { opacity: 0; transform: translateY(20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}
.doc-modal-close {
    position: absolute;
    top: 20px;
    right: 24px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
}
.doc-modal-close:hover { color: #fff; }
.doc-modal-title {
    font-size: 1.3rem;
    font-weight: 700;
    padding: 28px 32px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
    position: relative;
}
.doc-modal-body {
    overflow-y: auto;
    padding: 24px 32px 32px;
    color: rgba(255,255,255,0.75);
    font-size: 0.92rem;
    line-height: 1.75;
}
.doc-modal-body h2 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 20px 0 6px;
}
.doc-modal-body h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255,255,255,0.85);
    margin: 14px 0 4px;
}
.doc-modal-body p { margin-bottom: 10px; }
.doc-modal-body ul { padding-left: 20px; margin-bottom: 10px; }
.doc-modal-body li { margin-bottom: 4px; }
.doc-modal-body a { color: var(--accent); }
.doc-modal-body strong { color: rgba(255,255,255,0.9); }
@media (max-width: 600px) {
    .doc-modal-box { border-radius: 14px; max-height: 90vh; }
    .doc-modal-title { padding: 20px 20px 14px; font-size: 1.1rem; }
    .doc-modal-body { padding: 16px 20px 24px; }
}
