/* ============================================
   BANANAUT — Hyper-Realistic Space Design
   ============================================ */

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

:root {
    /* Backgrounds */
    --bg-void: #030308;
    --bg-space: #080816;
    --bg-nebula: #0c0c1f;
    --bg-card: #0f0f24;

    /* Accent — cool white-blue from the space photo */
    --accent: #7eb8d8;
    --accent-light: #a8d4ea;
    --accent-dim: #4a7d99;
    --accent-glow: rgba(126, 184, 216, 0.12);

    /* Text */
    --text-primary: #eaedf2;
    --text-secondary: #8a90a4;
    --text-muted: #454862;

    /* Utility */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.15);
    --border-frame: rgba(126, 184, 216, 0.25);

    /* Typography */
    --font-heading: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --section-padding: clamp(5rem, 12vh, 9rem);

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-void);
    overflow-x: hidden;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* --- Starfield Canvas --- */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.8s ease;
}

#starfield.visible {
    opacity: 1;
}

/* --- Container --- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
}

/* --- Section Labels & Titles --- */
.section-label {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 2rem;
}

.section-label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1.2rem;
    height: 1px;
    background: var(--accent);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.8;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 0.85rem 2rem;
    border-radius: 4px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.4s var(--ease-out-quart);
    position: relative;
}

.btn--white {
    background: #fff;
    color: var(--bg-void);
    border-color: #fff;
}

.btn--white:hover {
    background: var(--text-primary);
    box-shadow: 0 4px 30px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn--ghost {
    background: transparent;
    color: var(--text-secondary);
    border-color: var(--border-hover);
}

.btn--ghost:hover {
    border-color: #fff;
    color: #fff;
    transform: translateY(-2px);
}

.btn--large {
    padding: 1rem 2.8rem;
    font-size: 0.9rem;
}

/* --- Glass --- */
.glass {
    background: rgba(12, 12, 31, 0.5);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-subtle);
    border-radius: 16px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.2rem 0;
    transition: all 0.5s var(--ease-out-quart);
}

.nav.scrolled {
    padding: 0.8rem 0;
    background: rgba(3, 3, 8, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.nav__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 10;
}

.nav__logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: var(--text-primary);
}

.nav__links {
    display: none;
    align-items: center;
    gap: 2.5rem;
    margin-left: auto;
}

.nav__link {
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: color 0.3s ease;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--text-primary);
    transition: width 0.4s var(--ease-out-expo);
}

.nav__link:hover {
    color: var(--text-primary);
}

.nav__link:hover::after {
    width: 100%;
}


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

.nav__burger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav__burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav__burger.active span:nth-child(2) {
    opacity: 0;
}

.nav__burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Mobile Menu --- */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 110;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--bg-space);
    border-left: 1px solid var(--border-subtle);
    z-index: 120;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 2.5rem;
    gap: 1.5rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out-expo);
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu__link {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.mobile-menu__link:hover {
    color: var(--accent);
}

.mobile-menu__cta {
    margin-top: 1rem;
    text-align: center;
}

/* ============================================
   HERO — Fullscreen Cinematic
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    z-index: 1;
    overflow: hidden;
}

/* Background — video + last frame image */
.hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero__bg-video {
    width: 65%;
    height: 100%;
    object-fit: cover;
    object-position: 60% center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    transition: opacity 0.3s ease;
}

.hero__bg-video.ended {
    opacity: 0;
}

.hero__bg-img {
    width: 65%;
    height: 100%;
    object-fit: cover;
    object-position: 60% center;
}

.hero__bg-img--final {
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.hero__bg-img--final.visible {
    opacity: 1;
}

.hero__bg-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(90deg, transparent 0%, transparent 30%, rgba(3,3,8,0.4) 45%, rgba(3,3,8,0.95) 60%, var(--bg-void) 75%),
        linear-gradient(180deg, rgba(3,3,8,0.4) 0%, transparent 20%, transparent 75%, rgba(3,3,8,0.95) 100%),
        linear-gradient(0deg, var(--bg-void) 0%, transparent 8%);
}

/* Decorative Frame — like the reference */
.hero__frame {
    display: none;
    position: absolute;
    top: 15%;
    left: 10%;
    width: 28%;
    height: 60%;
    border: 1px solid var(--border-frame);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    animation: frameReveal 0.8s 0s var(--ease-out-expo) both;
}

@keyframes frameReveal {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Content */
.hero__container {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    display: flex;
    justify-content: flex-end;
}

.hero__content {
    max-width: 520px;
    padding-top: 0;
}

.hero__label {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--text-secondary);
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hero__label-line {
    width: 40px;
    height: 1px;
    background: var(--accent);
    flex-shrink: 0;
}

.hero__title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero__subtitle {
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 420px;
    text-shadow: 0 1px 8px rgba(3, 3, 8, 0.8);
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Hero bottom bar */
.hero__bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 1.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--border-subtle);
    background: rgba(3, 3, 8, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero__bottom-inner {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 clamp(1.5rem, 5vw, 4rem);
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero__bottom-item {
    display: none;
}

.hero__bottom-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 0.25rem;
}

.hero__bottom-value {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

a.hero__bottom-value:hover {
    color: #fff;
}

.hero__scroll-indicator {
    margin-left: auto;
    color: var(--text-muted);
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* Hero stagger animations */
.hero__content .reveal:nth-child(1) { transition-delay: 300ms; }
.hero__content .reveal:nth-child(2) { transition-delay: 500ms; }
.hero__content .reveal:nth-child(3) { transition-delay: 700ms; }
.hero__content .reveal:nth-child(4) { transition-delay: 900ms; }

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-void) 0%, var(--bg-space) 50%, var(--bg-void) 100%);
}

.about__header {
    text-align: center;
    margin-bottom: 4rem;
}

.about__header .section-label::before {
    display: none;
}

.about__header .section-label {
    padding-left: 0;
}

.about__header .section-subtitle {
    margin: 0 auto;
}

.about__cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* --- Card --- */
.card {
    padding: 2.5rem 2rem;
    transition: all 0.5s var(--ease-out-quart);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.card:hover::before {
    opacity: 1;
}

.card__icon {
    width: 44px;
    height: 44px;
    margin-bottom: 1.5rem;
    color: var(--accent);
}

.card__icon svg {
    width: 100%;
    height: 100%;
}

.card__title {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.card__text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   PRODUCTS SECTION
   ============================================ */
.products {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 0;
    background: var(--bg-void);
}

.products__header {
    text-align: center;
    margin-bottom: 5rem;
}

.products__header .section-label::before {
    display: none;
}

.products__header .section-label {
    padding-left: 0;
}

/* --- Product Item --- */
.product {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: center;
    margin-bottom: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid var(--border-subtle);
}

.product:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.product__number {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
    display: block;
    background: linear-gradient(135deg, rgba(126, 184, 216, 0.2), rgba(126, 184, 216, 0.05));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product__badge {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-glow);
    border: 1px solid rgba(126, 184, 216, 0.2);
    border-radius: 100px;
    padding: 0.3rem 1rem;
    margin-bottom: 1rem;
}

.product__title {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.product__text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    max-width: 480px;
}

.product__link {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: gap 0.3s ease, color 0.3s ease;
}

.product__link:hover {
    gap: 0.8rem;
    color: var(--accent-light);
}

/* Product Visuals — Browser Mockups */
.product__visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.product__browser {
    width: 100%;
    max-width: 460px;
    border-radius: 12px;
    background: rgba(8, 8, 22, 0.8);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
}

.product__browser-bar {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 1rem;
    background: rgba(12, 12, 31, 0.6);
    border-bottom: 1px solid var(--border-subtle);
}

.browser-dots {
    display: flex;
    gap: 5px;
}

.browser-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.browser-dots span:first-child { background: rgba(255, 100, 100, 0.4); }
.browser-dots span:nth-child(2) { background: rgba(255, 200, 50, 0.4); }
.browser-dots span:last-child { background: rgba(100, 220, 100, 0.4); }

.browser-url {
    flex: 1;
    font-family: var(--font-body);
    font-size: 0.72rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 0.3rem 0.8rem;
    text-align: center;
}

/* Marketing Suite browser body */
.product__browser-body--ms {
    background: radial-gradient(ellipse at 50% 100%, rgba(74, 222, 128, 0.06) 0%, transparent 70%),
                linear-gradient(180deg, rgba(8, 8, 22, 0.9), rgba(8, 8, 22, 1));
}

.ms-badge {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 100px;
    padding: 0.25rem 0.8rem;
    margin-bottom: 1.2rem;
}

.ms-headline {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    line-height: 1.3;
    margin-bottom: 1.2rem;
}

.ms-headline span {
    color: #4ade80;
}

.ms-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 80%;
    max-width: 260px;
    padding: 0.5rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
}

.ms-input-text {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.06);
    margin-left: 0.5rem;
}

.ms-input-btn {
    width: 60px;
    height: 28px;
    border-radius: 100px;
    background: #4ade80;
    opacity: 0.8;
}

/* Creative Hack browser body */
.product__browser-body {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 220px;
    position: relative;
}

/* Creative Hack browser body */
.product__browser-body--ch {
    background: radial-gradient(ellipse at 50% 50%, rgba(126, 184, 216, 0.06) 0%, transparent 70%),
                linear-gradient(180deg, rgba(8, 8, 22, 0.9), rgba(8, 8, 22, 1));
    gap: 0.8rem;
}

.ch-avatar {
    width: 90px;
    height: 90px;
    opacity: 0.8;
}

.ch-label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.ch-coming {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0.7;
}


/* ============================================
   STATS SECTION
   ============================================ */
.stats {
    position: relative;
    z-index: 1;
    padding: clamp(3rem, 6vh, 5rem) 0;
    background: var(--bg-nebula);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.stats__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat { padding: 1rem; }

.stat__number {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    display: inline;
}

.stat__suffix {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--accent);
}

.stat__label {
    display: block;
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    letter-spacing: 0.04em;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    position: relative;
    z-index: 1;
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--bg-void) 0%, var(--bg-space) 100%);
}

.contact__content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact__content .section-label::before {
    display: none;
}

.contact__content .section-label {
    padding-left: 0;
}

.contact__text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.contact__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.contact__link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.contact__link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: var(--accent);
}

.contact__link:hover {
    color: #fff;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    position: relative;
    z-index: 1;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-void);
}

.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer__logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.2em;
    color: var(--text-primary);
}

.footer__tagline {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.8rem;
    line-height: 1.6;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.footer__heading {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

.footer__link {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.footer__link:hover {
    color: #fff;
}

.footer__bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.footer__bottom p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out-expo),
                transform 0.8s var(--ease-out-expo);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger > .reveal:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > .reveal:nth-child(2) { transition-delay: 150ms; }
.reveal-stagger > .reveal:nth-child(3) { transition-delay: 300ms; }

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet+ */
@media (min-width: 768px) {
    .nav__links {
        display: flex;
    }

    .nav__burger {
        display: none;
    }

    .hero__bg-video,
    .hero__bg-img {
        width: 60%;
    }

    .hero__bg-overlay {
        background:
            linear-gradient(90deg, transparent 0%, transparent 20%, rgba(3,3,8,0.5) 35%, rgba(3,3,8,0.95) 50%, var(--bg-void) 65%),
            linear-gradient(180deg, rgba(3,3,8,0.4) 0%, transparent 20%, transparent 70%, rgba(3,3,8,0.95) 100%),
            linear-gradient(0deg, var(--bg-void) 0%, transparent 8%);
    }

    .hero__frame {
        display: block;
    }

    .hero__bottom-item {
        display: block;
    }

    .about__cards {
        grid-template-columns: repeat(3, 1fr);
    }

    .product {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }

    .product--reverse .product__content {
        order: 2;
    }

    .product--reverse .product__visual {
        order: 1;
    }

    .stats__container {
        grid-template-columns: repeat(4, 1fr);
    }

    .contact__info {
        flex-direction: row;
        justify-content: center;
        gap: 2.5rem;
    }

    .footer__grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .hero__bg-video,
    .hero__bg-img {
        width: 65%;
    }

    .hero__bg-overlay {
        background:
            linear-gradient(90deg, transparent 0%, transparent 30%, rgba(3,3,8,0.4) 45%, rgba(3,3,8,0.95) 60%, var(--bg-void) 72%),
            linear-gradient(180deg, rgba(3,3,8,0.35) 0%, transparent 20%, transparent 75%, rgba(3,3,8,0.95) 100%),
            linear-gradient(0deg, var(--bg-void) 0%, transparent 6%);
    }

    .product {
        gap: 5rem;
    }

    .card {
        padding: 3rem 2.5rem;
    }
}

/* Small phones */
@media (max-width: 480px) {
    .hero__title {
        font-size: clamp(2.2rem, 10vw, 3rem);
    }

    .hero__content {
        max-width: 100%;
    }

    .hero__actions {
        flex-direction: column;
    }

    .hero__actions .btn {
        width: 100%;
    }

    .hero__bg-video,
    .hero__bg-img {
        width: 100%;
        object-position: 45% center;
    }

    .hero__bg-overlay {
        background:
            linear-gradient(180deg, rgba(3,3,8,0.5) 0%, rgba(3,3,8,0.3) 30%, rgba(3,3,8,0.6) 60%, rgba(3,3,8,0.95) 100%),
            rgba(3, 3, 8, 0.35);
    }

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

    .hero__subtitle {
        color: var(--text-primary);
        opacity: 0.8;
        text-shadow: 0 2px 12px rgba(3, 3, 8, 0.9);
    }

    .about__cards {
        gap: 1rem;
    }

    .card {
        padding: 2rem 1.5rem;
    }

    .product__browser {
        max-width: 300px;
    }
}
