/* ============================================
   BLUE OKO - Premium Dark Theme
   Apple-style storytelling website
   ============================================ */

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

:root {
    --bg-primary: #050508;
    --bg-secondary: #0a0d14;
    --bg-card: #0f1219;
    --bg-card-hover: #151a24;
    --green-primary: #00d09c;
    --green-dark: #0d9488;
    --green-light: #10b981;
    --green-glow: rgba(0, 208, 156, 0.15);
    --gold: #f5a623;
    --gold-glow: rgba(245, 166, 35, 0.15);
    --white: #ffffff;
    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-dark: #1e293b;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.45, 0, 0.15, 1);
}

html {
    scroll-behavior: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

/* === PRELOADER === */
#preloader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-inner {
    text-align: center;
}

.preloader-ring {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(0, 208, 156, 0.15);
    border-top-color: var(--green-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.preloader-text {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--green-primary);
}

/* === NAVIGATION === */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 48px;
    height: 72px;
    display: flex;
    align-items: center;
    background: rgba(5, 5, 8, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: background 0.3s, transform 0.4s var(--ease-out);
}

#navbar.hidden {
    transform: translateY(-100%);
}

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

.nav-logo {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
}

.logo-blue {
    color: var(--white);
}

.logo-oko {
    color: var(--green-primary);
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.3s;
    letter-spacing: 0.02em;
}

.nav-links a:hover {
    color: var(--white);
}

.nav-cta {
    font-size: 14px;
    font-weight: 600;
    color: var(--bg-primary);
    background: var(--green-primary);
    padding: 10px 24px;
    border-radius: 100px;
    transition: all 0.3s var(--ease-out);
}

.nav-cta:hover {
    background: var(--green-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 208, 156, 0.3);
}

/* === BUTTONS === */
.btn-primary {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    color: var(--bg-primary);
    background: var(--green-primary);
    padding: 16px 40px;
    border-radius: 100px;
    transition: all 0.4s var(--ease-out);
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    background: var(--green-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 208, 156, 0.35);
}

.btn-primary.large {
    font-size: 18px;
    padding: 20px 48px;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    color: var(--text-secondary);
    padding: 16px 32px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 100px;
    transition: all 0.4s var(--ease-out);
}

.btn-ghost:hover {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.04);
}

.btn-ghost.large {
    font-size: 18px;
    padding: 20px 40px;
}

.arrow-down {
    transition: transform 0.3s;
}

.btn-ghost:hover .arrow-down {
    transform: translateY(3px);
}

/* === SECTION SHARED === */
.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.section-number {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    color: var(--green-primary);
    letter-spacing: 0.05em;
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--green-primary);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 60px;
}

.section-title .accent {
    color: var(--green-primary);
}

/* === HERO === */
.section-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 48px 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.15);
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(5, 5, 8, 0.92) 0%,
        rgba(5, 5, 8, 0.75) 40%,
        rgba(5, 5, 8, 0.6) 100%
    );
}

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

.hero-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    color: var(--green-primary);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    margin-bottom: 28px;
}

.title-line {
    display: block;
    font-size: clamp(48px, 7vw, 88px);
    font-weight: 700;
    line-height: 1.05;
    color: var(--white);
}

.title-line.accent {
    color: var(--green-primary);
}

.hero-sub {
    font-size: 18px;
    line-height: 1.7;
    color: var(--text-secondary);
    max-width: 560px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-stats {
    position: absolute;
    bottom: 80px;
    right: 48px;
    z-index: 2;
    display: flex;
    gap: 48px;
}

.hero-stat {
    text-align: right;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--green-primary);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 600;
    color: var(--green-primary);
}

.stat-label {
    display: block;
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 6px;
    letter-spacing: 0.02em;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--green-primary), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.6); }
    50% { opacity: 1; transform: scaleY(1); }
}

.scroll-indicator span {
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* === BIG STATEMENT (scroll-reveal text) === */
.section-statement {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 48px;
    background: var(--bg-primary);
}

.statement-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.statement-text {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3.5vw, 42px);
    font-weight: 500;
    line-height: 1.5;
    color: var(--white);
}

.statement-text .word {
    display: inline-block;
    opacity: 0.12;
    transition: opacity 0.05s;
    margin-right: 0.25em;
}

.statement-text .word.active {
    opacity: 1;
}

/* === PROBLEM SECTION === */
.section-problem {
    padding: 140px 48px;
    max-width: 1400px;
    margin: 0 auto;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.problem-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.5s var(--ease-out);
}

.problem-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(0, 208, 156, 0.15);
    transform: translateY(-4px);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.problem-card:hover .card-image img {
    transform: scale(1.08);
}

.card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, var(--bg-card) 100%);
}

.card-number {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: rgba(0, 208, 156, 0.08);
    padding: 0 24px;
    margin-top: -20px;
    position: relative;
}

.problem-card h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    padding: 0 24px;
    margin-bottom: 12px;
}

.problem-card p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
    padding: 0 24px 28px;
}

/* === SOLUTION SECTION (Sticky Scroll) === */
.section-solution {
    padding: 140px 48px 0;
    max-width: 1400px;
    margin: 0 auto;
}

.solution-scroll-container {
    display: flex;
    gap: 60px;
    position: relative;
}

.solution-sticky {
    position: sticky;
    top: 100px;
    width: 50%;
    height: calc(100vh - 200px);
    flex-shrink: 0;
    align-self: flex-start;
}

.solution-visual {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    background: var(--bg-card);
}

.solution-image-wrap {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.05);
    transition: all 0.8s var(--ease-out);
}

.solution-image-wrap.active {
    opacity: 1;
    transform: scale(1);
}

.solution-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.solution-steps {
    width: 50%;
    padding: 40px 0 200px;
}

.solution-step {
    display: flex;
    gap: 24px;
    min-height: 60vh;
    padding: 40px 0;
    opacity: 0.25;
    transition: opacity 0.5s var(--ease-out);
}

.solution-step.active {
    opacity: 1;
}

.step-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--green-primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--green-primary);
    border-radius: 50%;
}

.step-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(to bottom, var(--green-primary), transparent);
    opacity: 0.3;
}

.step-content h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.step-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

.step-stats {
    display: flex;
    gap: 32px;
}

.step-stat {
    display: flex;
    flex-direction: column;
}

.step-stat-value {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--green-primary);
    line-height: 1;
}

.step-stat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* === MARKET SECTION === */
.section-market {
    padding: 140px 48px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.market-circles {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
}

.circle-tam {
    width: 440px;
    height: 440px;
    border-radius: 50%;
    border: 2px solid rgba(13, 148, 136, 0.3);
    background: rgba(13, 148, 136, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 30px;
    position: relative;
}

.circle-sam {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 2px solid rgba(16, 185, 129, 0.4);
    background: rgba(16, 185, 129, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 25px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.circle-som {
    width: 170px;
    height: 170px;
    border-radius: 50%;
    background: var(--green-primary);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
}

.circle-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--text-muted);
}

.circle-som .circle-label {
    color: rgba(5, 5, 8, 0.6);
}

.circle-value {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--green-primary);
}

.circle-som .circle-value {
    color: var(--bg-primary);
    font-size: 24px;
}

.circle-desc {
    font-size: 12px;
    color: var(--text-muted);
}

.circle-som .circle-desc {
    color: rgba(5, 5, 8, 0.5);
}

.market-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left;
}

.market-detail-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

.market-detail-card:hover {
    border-color: rgba(0, 208, 156, 0.15);
    transform: translateY(-2px);
}

.detail-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--green-dark);
}

.detail-accent.mid {
    background: var(--green-light);
}

.detail-accent.bright {
    background: var(--green-primary);
}

.market-detail-card h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.market-detail-card p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
}

/* === HOW IT WORKS - HORIZONTAL SCROLL === */
.section-how {
    padding: 140px 0 0;
    overflow: hidden;
}

.how-header {
    padding: 0 48px;
    max-width: 1400px;
    margin: 0 auto 60px;
}

.horizontal-scroll-wrapper {
    overflow: hidden;
    padding-bottom: 100px;
}

.horizontal-track {
    display: flex;
    gap: 32px;
    padding: 0 48px;
    width: max-content;
}

.h-card {
    width: 400px;
    flex-shrink: 0;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.h-card:hover {
    border-color: rgba(0, 208, 156, 0.2);
    transform: translateY(-4px);
}

.h-card-num {
    position: absolute;
    top: 16px;
    left: 20px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--green-primary);
    background: rgba(5, 5, 8, 0.7);
    backdrop-filter: blur(10px);
    padding: 6px 14px;
    border-radius: 100px;
    z-index: 2;
}

.h-card-visual {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.h-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}

.h-card:hover .h-card-visual img {
    transform: scale(1.06);
}

.h-card h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    padding: 24px 24px 12px;
}

.h-card p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
    padding: 0 24px 28px;
}

/* === BUSINESS MODEL === */
.section-model {
    padding: 140px 48px;
    max-width: 1400px;
    margin: 0 auto;
}

.model-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.model-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

.model-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--green-primary);
}

.model-card.platform::before {
    background: var(--gold);
}

.model-card:hover {
    border-color: rgba(0, 208, 156, 0.15);
    transform: translateY(-4px);
}

.model-card-header {
    margin-bottom: 32px;
}

.model-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--green-primary);
    background: var(--green-glow);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.model-tag.gold {
    color: var(--gold);
    background: var(--gold-glow);
}

.model-card h3 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
}

.model-big-number {
    margin-bottom: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.model-value {
    font-family: var(--font-heading);
    font-size: 56px;
    font-weight: 700;
    color: var(--green-primary);
    line-height: 1;
}

.model-value.gold {
    color: var(--gold);
}

.model-desc {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 8px;
}

.model-metrics {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.model-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.metric-label {
    font-size: 14px;
    color: var(--text-muted);
}

.metric-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
}

/* === FINANCIALS === */
.section-financials {
    padding: 140px 48px;
    max-width: 1200px;
    margin: 0 auto;
}

.finance-bars {
    display: flex;
    gap: 24px;
    align-items: flex-end;
    height: 400px;
}

.finance-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}

.bar-fill {
    width: 100%;
    border-radius: 8px 8px 0 0;
    background: linear-gradient(to top, var(--green-dark), var(--green-primary));
    transition: height 1.2s var(--ease-out);
    height: 0;
    position: relative;
}

.bar-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.08), transparent);
    border-radius: inherit;
}

.bar-value {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.bar-year {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-top: 12px;
}

.bar-detail {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
    text-align: center;
    white-space: nowrap;
}

/* === TRACTION === */
.section-traction {
    padding: 140px 48px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.traction-bg-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.06;
}

.traction-bg-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.section-traction > * {
    position: relative;
    z-index: 1;
}

.traction-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

.traction-col {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 36px;
}

.traction-col h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-icon {
    color: var(--green-primary);
    font-size: 18px;
}

.cross-icon {
    color: var(--gold);
    font-size: 18px;
}

.traction-col ul {
    list-style: none;
}

.traction-col li {
    font-size: 15px;
    color: var(--text-secondary);
    padding: 10px 0;
    padding-left: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    position: relative;
}

.traction-col li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transform: translateY(-50%);
}

.traction-col.have li::before {
    background: var(--green-primary);
}

.traction-col.need li::before {
    background: var(--gold);
}

.traction-tagline {
    font-size: 16px;
    font-style: italic;
    color: var(--green-primary);
    text-align: center;
}

/* === THE ASK === */
.section-ask {
    padding: 140px 48px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.ask-title {
    font-family: var(--font-heading);
    font-size: clamp(44px, 6vw, 72px);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 60px;
}

.ask-metrics {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 80px;
}

.ask-metric {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 40px 56px;
    text-align: center;
    transition: all 0.4s var(--ease-out);
}

.ask-metric:hover {
    border-color: rgba(0, 208, 156, 0.2);
    transform: translateY(-4px);
}

.ask-value {
    font-family: var(--font-heading);
    font-size: 48px;
    font-weight: 700;
    color: var(--green-primary);
    line-height: 1;
}

.ask-label {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 10px;
}

.allocation-section {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
}

.allocation-section h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 28px;
}

.allocation-bars {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.alloc-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.alloc-info {
    display: flex;
    justify-content: space-between;
}

.alloc-name {
    font-size: 14px;
    color: var(--text-primary);
}

.alloc-amount {
    font-size: 14px;
    color: var(--text-muted);
}

.alloc-bar-bg {
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 100px;
    overflow: hidden;
}

.alloc-bar-fill {
    height: 100%;
    background: linear-gradient(to right, var(--green-dark), var(--green-primary));
    border-radius: 100px;
    width: 0;
    transition: width 1.2s var(--ease-out);
}

/* === TEAM === */
.section-team {
    padding: 140px 48px;
    max-width: 1400px;
    margin: 0 auto;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 100px;
}

.team-member {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 36px;
    text-align: center;
    transition: all 0.4s var(--ease-out);
}

.team-member:hover {
    border-color: rgba(0, 208, 156, 0.15);
    transform: translateY(-4px);
}

.member-avatar {
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--green-dark), var(--green-primary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.member-avatar.hiring {
    background: linear-gradient(135deg, var(--gold), #f59e0b);
    border: 2px dashed rgba(255, 255, 255, 0.3);
}

.avatar-placeholder {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--white);
}

.team-member h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

.member-role {
    font-size: 13px;
    font-weight: 600;
    color: var(--green-primary);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 14px;
}

.hiring-tag {
    color: var(--gold);
}

.team-member p {
    font-size: 14px;
    line-height: 1.65;
    color: var(--text-secondary);
}

/* Timeline */
.timeline-section {
    text-align: center;
}

.timeline-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 48px;
}

.timeline {
    display: flex;
    justify-content: center;
    gap: 0;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 15%;
    right: 15%;
    height: 2px;
    background: linear-gradient(to right, var(--green-dark), var(--green-primary), var(--green-dark));
    opacity: 0.3;
}

.timeline-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--green-primary);
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 2px var(--green-primary);
    margin-bottom: 20px;
    z-index: 1;
}

.timeline-content {
    max-width: 240px;
}

.timeline-month {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: var(--green-primary);
    display: block;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* === CTA / CONTACT === */
.section-contact {
    position: relative;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 48px;
    text-align: center;
    overflow: hidden;
}

.contact-bg {
    position: absolute;
    inset: 0;
}

.contact-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(5, 5, 8, 0.85),
        rgba(5, 5, 8, 0.7)
    );
}

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

.contact-title {
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.contact-sub {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === FOOTER === */
.site-footer {
    padding: 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-brand {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
}

.footer-brand p {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
    margin-top: 4px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-copy {
    font-size: 12px;
    color: var(--text-muted);
}

/* === ANIMATION UTILITIES === */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.85);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .problem-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .solution-scroll-container {
        flex-direction: column;
    }

    .solution-sticky {
        position: relative;
        top: 0;
        width: 100%;
        height: 50vh;
        margin-bottom: 40px;
    }

    .solution-steps {
        width: 100%;
        padding: 0 0 80px;
    }

    .solution-step {
        min-height: auto;
        padding: 24px 0;
    }

    .horizontal-track {
        gap: 20px;
    }

    .h-card {
        width: 320px;
    }

    .hero-stats {
        position: relative;
        bottom: auto;
        right: auto;
        justify-content: flex-start;
        gap: 32px;
        margin-top: 48px;
    }

    .hero-stat {
        text-align: left;
    }
}

@media (max-width: 768px) {
    #navbar {
        padding: 0 24px;
    }

    .nav-links {
        display: none;
    }

    .section-hero {
        padding: 100px 24px 60px;
    }

    .title-line {
        font-size: clamp(36px, 10vw, 56px);
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }

    .stat-number {
        font-size: 36px;
    }

    .section-problem,
    .section-solution,
    .section-market,
    .section-model,
    .section-financials,
    .section-traction,
    .section-ask,
    .section-team,
    .section-contact {
        padding: 80px 24px;
    }

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

    .model-cards {
        grid-template-columns: 1fr;
    }

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

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

    .ask-metrics {
        flex-direction: column;
        gap: 16px;
    }

    .ask-metric {
        padding: 28px;
    }

    .market-details {
        grid-template-columns: 1fr;
    }

    .circle-tam {
        width: 300px;
        height: 300px;
    }

    .circle-sam {
        width: 220px;
        height: 220px;
    }

    .circle-som {
        width: 120px;
        height: 120px;
    }

    .circle-value {
        font-size: 22px;
    }

    .circle-som .circle-value {
        font-size: 18px;
    }

    .finance-bars {
        height: 300px;
        gap: 12px;
    }

    .bar-value {
        font-size: 14px;
    }

    .timeline {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }

    .timeline::before {
        top: 0;
        bottom: 0;
        left: 7px;
        right: auto;
        width: 2px;
        height: auto;
    }

    .timeline-item {
        flex-direction: row;
        gap: 16px;
        text-align: left;
    }

    .footer-inner {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .how-header {
        padding: 0 24px;
    }

    .horizontal-track {
        padding: 0 24px;
    }

    .section-statement {
        padding: 80px 24px;
    }

    .model-value {
        font-size: 40px;
    }

    .ask-value {
        font-size: 36px;
    }
}

/* =========================================================
   ========  BLUE OKO v2 — 3D TRAVELING DATA SCENE  ========
   ========  + PER-SECTION BACKGROUNDS  +  70/30 GRID ========
   ========================================================= */

/* Fixed 3D canvas — lives behind every section */
#bgCanvas {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    background: transparent;
}

/* Soft atmospheric fog layer that floats above canvas, below content */
#bgFog {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 20% 20%, rgba(0, 208, 156, 0.08), transparent 45%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.06), transparent 50%);
    mix-blend-mode: screen;
    transition: background 1.2s var(--ease-smooth);
}

/* All scene sections sit above canvas/fog */
.scene-section {
    position: relative;
    z-index: 2;
}

/* Per-section painted atmospheres — each unique, Apple-like */
.scene-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    opacity: 0.95;
    transition: opacity 0.6s var(--ease-smooth);
}

/* 0 — Hero: deep void with green nebula */
.section-hero::before {
    background:
        radial-gradient(ellipse at 50% 40%, rgba(0, 208, 156, 0.18), transparent 55%),
        linear-gradient(180deg, #030308 0%, #050510 50%, #07101a 100%);
}

/* 1 — Statement: dramatic crimson->dark */
.section-statement {
    background: transparent;
}
.section-statement::before {
    background:
        radial-gradient(ellipse at 70% 30%, rgba(245, 80, 80, 0.12), transparent 60%),
        linear-gradient(135deg, #0a0510 0%, #120818 60%, #08060f 100%);
}

/* 2 — Problem: industrial steel blue */
.section-problem {
    background: transparent;
}
.section-problem::before {
    background:
        radial-gradient(ellipse at 20% 80%, rgba(56, 120, 200, 0.14), transparent 55%),
        linear-gradient(180deg, #050914 0%, #081220 55%, #050913 100%);
}

/* 3 — Solution: emerald workshop */
.section-solution {
    background: transparent;
}
.section-solution::before {
    background:
        radial-gradient(ellipse at 80% 20%, rgba(0, 208, 156, 0.16), transparent 55%),
        radial-gradient(ellipse at 10% 90%, rgba(16, 185, 129, 0.10), transparent 55%),
        linear-gradient(180deg, #040a0a 0%, #061815 60%, #040a0a 100%);
}

/* 4 — Market: royal cobalt */
.section-market {
    background: transparent;
}
.section-market::before {
    background:
        radial-gradient(circle at 50% 50%, rgba(56, 90, 220, 0.18), transparent 60%),
        linear-gradient(140deg, #05081a 0%, #0a1030 60%, #060a20 100%);
}

/* 5 — How it works: warm amber assembly line */
.section-how {
    background: transparent;
}
.section-how::before {
    background:
        radial-gradient(ellipse at 30% 40%, rgba(245, 166, 35, 0.10), transparent 55%),
        linear-gradient(180deg, #0a0705 0%, #141008 55%, #070505 100%);
}

/* 6 — Business Model: teal/gold duotone */
.section-model {
    background: transparent;
}
.section-model::before {
    background:
        radial-gradient(ellipse at 25% 30%, rgba(0, 208, 156, 0.12), transparent 55%),
        radial-gradient(ellipse at 80% 70%, rgba(245, 166, 35, 0.10), transparent 55%),
        linear-gradient(180deg, #050d10 0%, #091418 55%, #060a0c 100%);
}

/* 7 — Financials: violet-indigo growth */
.section-financials {
    background: transparent;
}
.section-financials::before {
    background:
        radial-gradient(ellipse at 70% 60%, rgba(139, 92, 246, 0.14), transparent 55%),
        linear-gradient(135deg, #0a0614 0%, #120a24 60%, #07050f 100%);
}

/* 8 — Traction: earthy honest gray-blue */
.section-traction {
    background: transparent;
}
.section-traction::before {
    background:
        radial-gradient(ellipse at 40% 50%, rgba(100, 116, 139, 0.14), transparent 55%),
        linear-gradient(180deg, #080a0d 0%, #0e1218 55%, #060809 100%);
}

/* 9 — Ask: premium gold */
.section-ask {
    background: transparent;
}
.section-ask::before {
    background:
        radial-gradient(ellipse at 50% 40%, rgba(245, 166, 35, 0.16), transparent 55%),
        linear-gradient(180deg, #0e0a04 0%, #1a1208 55%, #0a0703 100%);
}

/* 10 — Team: soft rose human */
.section-team {
    background: transparent;
}
.section-team::before {
    background:
        radial-gradient(ellipse at 30% 30%, rgba(236, 72, 153, 0.10), transparent 55%),
        radial-gradient(ellipse at 80% 80%, rgba(0, 208, 156, 0.08), transparent 55%),
        linear-gradient(180deg, #0a0710 0%, #120a18 55%, #080610 100%);
}

/* 11 — Contact: final green + black cinema */
.section-contact::before {
    background:
        radial-gradient(ellipse at 50% 50%, rgba(0, 208, 156, 0.22), transparent 55%),
        linear-gradient(180deg, #020304 0%, #040a08 50%, #02030c 100%);
}

/* Make existing image backgrounds blend gracefully with the new atmospheres */
.hero-bg,
.traction-bg-img,
.contact-bg {
    opacity: 0.35;
    mix-blend-mode: luminosity;
}

/* ==== 70 / 30 visual-first split for text-heavy sections ==== */

/* Problem grid: larger images, tighter text */
.section-problem .problem-grid {
    gap: 36px;
}
.section-problem .problem-card .card-image {
    aspect-ratio: 4 / 3;
    height: auto;
    min-height: 260px;
}
.section-problem .problem-card h3 {
    margin-top: 18px;
}
.section-problem .problem-card p {
    font-size: 14px;
    opacity: 0.82;
    line-height: 1.55;
}

/* Solution: make sticky visual dominant (70%), steps slim (30%) */
@media (min-width: 1024px) {
    .section-solution .solution-scroll-container {
        grid-template-columns: 7fr 3fr !important;
    }
    .section-solution .solution-visual {
        aspect-ratio: 16 / 10;
    }
    .section-solution .step-content p {
        font-size: 15px;
    }
}

/* How it works cards: visual emphasis */
.section-how .h-card-visual {
    aspect-ratio: 4 / 3;
    min-height: 280px;
}
.section-how .h-card h3 {
    margin-top: 18px;
}
.section-how .h-card p {
    font-size: 14px;
    line-height: 1.55;
    opacity: 0.82;
}

/* Business model: bigger visual-style numbers */
.section-model .model-big-number .model-value {
    font-size: clamp(64px, 9vw, 120px);
    line-height: 1;
}

/* Team: larger avatars (visual dominant) */
.section-team .member-avatar {
    width: 180px;
    height: 180px;
}
.section-team .avatar-placeholder {
    font-size: 64px;
}

/* Finance bars: taller, more visual */
.section-financials .finance-bars {
    min-height: 520px;
}
.section-financials .bar-fill {
    min-height: 80px;
}

/* Section content needs to breathe — raise z on interior content above ::before */
.hero-content,
.statement-inner,
.problem-grid,
.solution-scroll-container,
.market-circles,
.market-details,
.how-header,
.horizontal-scroll-wrapper,
.model-cards,
.finance-bars,
.traction-columns,
.traction-tagline,
.ask-metrics,
.allocation-section,
.team-grid,
.timeline-section,
.contact-content,
.section-header,
.section-title,
.ask-title,
.hero-stats,
.scroll-indicator {
    position: relative;
    z-index: 2;
}

/* Scene indicator — tiny corner marker showing current slide (Apple-like progress) */
.scene-progress {
    position: fixed;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 500;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}
.scene-progress .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    transition: all 0.5s var(--ease-smooth);
}
.scene-progress .dot.active {
    background: var(--green-primary);
    box-shadow: 0 0 14px var(--green-primary);
    transform: scale(1.8);
}

/* Slight global contrast boost so content sits cleanly over 3D scene */
body {
    background: #020207;
}

/* Preloader must cover canvas */
#preloader { z-index: 10000; }

@media (max-width: 768px) {
    .scene-progress { display: none; }
    #bgCanvas { opacity: 0.75; }
}
