/* ============================================================
   STARMINER — Landing Page Styles
   Industrial sci-fi aesthetic with teal holographic accents
   ============================================================ */

/* --- Design Tokens --- */
:root {
    /* Backgrounds */
    --bg-void: #040810;
    --bg-deep: #080e16;
    --bg-dark: #0c1420;
    --bg-card: #101c2a;
    --bg-card-hover: #162636;

    /* Teal / Holographic */
    --teal-50: #e0fafa;
    --teal-300: #5ef0f0;
    --teal-400: #38dede;
    --teal-500: #2ab8b8;
    --teal-600: #1e8e8e;
    --teal-700: #166a6a;
    --teal-glow: rgba(56, 222, 222, 0.15);
    --teal-glow-strong: rgba(56, 222, 222, 0.35);

    /* Amber / Energy */
    --ember-400: #f0a050;
    --ember-500: #d4783c;
    --ember-600: #b85a28;

    /* Text */
    --text-bright: #f0eeeb;
    --text-primary: #d0ccc6;
    --text-secondary: #8a9499;
    --text-dim: #506068;

    /* Fonts */
    --font-display: 'Oxanium', 'Segoe UI', sans-serif;
    --font-body: 'Outfit', 'Segoe UI', sans-serif;

    /* Spacing */
    --section-pad: clamp(80px, 12vh, 140px);
    --container-max: 1240px;
    --container-pad: clamp(20px, 4vw, 48px);

    /* Transitions */
    --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);
}

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

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

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

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { background: none; border: none; cursor: pointer; color: inherit; font-family: inherit; }

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

/* --- Stars Background --- */
.stars {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* --- Noise Overlay --- */
.noise-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.035;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.7' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
}

/* --- Section Shared --- */
.section-label {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--teal-400);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 600;
    color: var(--text-bright);
    line-height: 1.15;
    margin-bottom: 48px;
    letter-spacing: 0.02em;
}

.text-accent {
    color: var(--teal-400);
}

/* --- Section Divider --- */
.section-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 var(--container-pad);
    max-width: var(--container-max);
    margin: 0 auto 60px auto;
}

.section-divider__line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--teal-700), transparent);
}

.section-divider__diamond {
    width: 8px;
    height: 8px;
    border: 1px solid var(--teal-600);
    transform: rotate(45deg);
    flex-shrink: 0;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 14px 32px;
    border-radius: 2px;
    transition: all 0.35s var(--ease-out);
    position: relative;
    white-space: nowrap;
}

.btn__icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.btn--primary {
    background: var(--teal-500);
    color: var(--bg-void);
    box-shadow: 0 0 24px var(--teal-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}

.btn--primary:hover {
    background: var(--teal-400);
    box-shadow: 0 0 40px var(--teal-glow-strong), inset 0 1px 0 rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.btn--outline {
    border: 1px solid var(--teal-600);
    color: var(--teal-400);
}

.btn--outline:hover {
    background: var(--teal-glow);
    border-color: var(--teal-400);
    box-shadow: 0 0 24px var(--teal-glow);
    transform: translateY(-2px);
}

.btn--steam {
    background: var(--teal-500);
    color: var(--bg-void);
    padding: 10px 22px;
    font-size: 0.75rem;
}

.btn--steam:hover {
    background: var(--teal-400);
    box-shadow: 0 0 20px var(--teal-glow-strong);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 24px;
    transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
    background: rgba(8, 14, 22, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(42, 184, 184, 0.1);
}

.nav__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 72px;
    gap: 40px;
}

.nav__logo-img {
    height: 28px;
    width: auto;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.nav__logo:hover .nav__logo-img {
    opacity: 1;
}

.nav__links {
    display: flex;
    list-style: none;
    gap: 36px;
    margin-left: auto;
}

.nav__links a {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color 0.3s;
    position: relative;
}

.nav__links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--teal-400);
    transform: scaleX(0);
    transition: transform 0.3s var(--ease-out);
}

.nav__links a:hover {
    color: var(--teal-400);
}

.nav__links a:hover::after {
    transform: scaleX(1);
}

.nav__cta {
    margin-left: 12px;
    flex-shrink: 0;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    margin-left: auto;
}

.nav__toggle span {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-secondary);
    transition: all 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 2;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero__bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    transform: scale(1.05);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 80% 60% at 50% 40%, rgba(4, 8, 16, 0.4) 0%, rgba(4, 8, 16, 0.85) 70%),
        linear-gradient(180deg, rgba(4, 8, 16, 0.3) 0%, rgba(4, 8, 16, 0.6) 50%, var(--bg-void) 100%);
}

.hero__scanline {
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    z-index: 5;
    background: linear-gradient(90deg, transparent 5%, var(--teal-400) 20%, var(--teal-300) 50%, var(--teal-400) 80%, transparent 95%);
    opacity: 0.2;
    animation: scanline 10s linear infinite;
    pointer-events: none;
}

@keyframes scanline {
    0% { top: -2%; }
    100% { top: 102%; }
}

.hero__content {
    text-align: center;
    padding: 120px 24px 80px;
    position: relative;
    z-index: 3;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-400);
    border: 1px solid var(--teal-700);
    padding: 8px 20px;
    border-radius: 2px;
    margin-bottom: 40px;
    background: rgba(42, 184, 184, 0.06);
    animation: fadeInDown 1s var(--ease-out-expo) 0.2s both;
}

.hero__badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--teal-400);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; box-shadow: 0 0 4px var(--teal-400); }
    50% { opacity: 0.4; box-shadow: 0 0 8px var(--teal-300); }
}

.hero__logo {
    max-width: min(600px, 80vw);
    height: auto;
    margin: 0 auto 28px;
    filter: brightness(1.1);
    animation: fadeInUp 1s var(--ease-out-expo) 0.4s both;
}

.hero__tagline {
    font-family: var(--font-display);
    font-size: clamp(0.85rem, 2vw, 1.1rem);
    font-weight: 300;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 20px;
    animation: fadeInUp 1s var(--ease-out-expo) 0.6s both;
}

.hero__desc {
    font-size: clamp(0.95rem, 1.8vw, 1.15rem);
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 560px;
    margin: 0 auto 44px;
    animation: fadeInUp 1s var(--ease-out-expo) 0.8s both;
}

.hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s var(--ease-out-expo) 1s both;
}

.hero__scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeIn 1s var(--ease-out-expo) 1.5s both;
}

.hero__scroll span {
    font-family: var(--font-display);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-dim);
}

.hero__scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(180deg, var(--teal-600), transparent);
    animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 0.8; transform: scaleY(1.3); transform-origin: top; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
    position: relative;
    z-index: 2;
    padding: var(--section-pad) 0;
    background: linear-gradient(180deg, var(--bg-void) 0%, var(--bg-deep) 30%, var(--bg-dark) 100%);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

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

.about__desc:last-of-type {
    margin-bottom: 36px;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid rgba(42, 184, 184, 0.1);
    padding: 16px;
    border-radius: 2px;
    text-align: center;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    border-color: var(--teal-600);
    box-shadow: 0 0 20px var(--teal-glow);
}

.stat-card__label {
    display: block;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-500);
    margin-bottom: 6px;
}

.stat-card__value {
    display: block;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-bright);
}

.about__visual {
    position: relative;
}

.about__image-frame {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.about__image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.6s var(--ease-out);
}

.about__image-frame:hover .about__image {
    transform: scale(1.03);
}

.about__image-border {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(42, 184, 184, 0.15);
    border-radius: 4px;
    pointer-events: none;
    transition: border-color 0.4s;
}

.about__image-frame:hover .about__image-border {
    border-color: rgba(42, 184, 184, 0.35);
}

/* Corner accents on image */
.about__image-frame::before,
.about__image-frame::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    border-color: var(--teal-500);
    border-style: solid;
    z-index: 2;
    opacity: 0.5;
    transition: opacity 0.4s;
}

.about__image-frame::before {
    top: -1px;
    left: -1px;
    border-width: 1px 0 0 1px;
}

.about__image-frame::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 1px 1px 0;
}

.about__image-frame:hover::before,
.about__image-frame:hover::after {
    opacity: 1;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
    position: relative;
    z-index: 2;
    padding: var(--section-pad) 0;
    background:
        radial-gradient(ellipse 60% 40% at 20% 80%, rgba(42, 184, 184, 0.03) 0%, transparent 70%),
        linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-deep) 100%);
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid rgba(42, 184, 184, 0.08);
    border-radius: 3px;
    padding: 36px 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease-out);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--teal-400), var(--teal-700));
    opacity: 0;
    transition: opacity 0.4s;
}

.feature-card:hover {
    border-color: rgba(42, 184, 184, 0.2);
    background: var(--bg-card-hover);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3), 0 0 30px var(--teal-glow);
    transform: translateY(-4px);
}

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

.feature-card__icon {
    width: 48px;
    height: 48px;
    color: var(--teal-400);
    margin-bottom: 20px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.feature-card:hover .feature-card__icon {
    opacity: 1;
}

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

.feature-card__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-bright);
    margin-bottom: 12px;
    letter-spacing: 0.02em;
}

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

/* ============================================================
   GALLERY
   ============================================================ */
.gallery {
    position: relative;
    z-index: 2;
    padding: var(--section-pad) 0;
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-void) 50%, var(--bg-deep) 100%);
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-flow: dense;
    gap: 16px;
}

.gallery__item {
    position: relative;
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 16 / 9;
    border: 1px solid rgba(42, 184, 184, 0.06);
    transition: all 0.4s var(--ease-out);
}

.gallery__item--wide {
    grid-column: span 2;
}

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

.gallery__item:hover {
    border-color: var(--teal-500);
    box-shadow: 0 0 30px var(--teal-glow);
    z-index: 2;
}

.gallery__item:hover img {
    transform: scale(1.05);
}

.gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(4, 8, 16, 0.85) 100%);
    display: flex;
    align-items: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.35s;
}

.gallery__item:hover .gallery__item-overlay {
    opacity: 1;
}

.gallery__item-overlay span {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-300);
}

/* ============================================================
   PRESS KIT
   ============================================================ */
.press {
    position: relative;
    z-index: 2;
    padding: var(--section-pad) 0;
    background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
}

.press__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.press__table {
    width: 100%;
    border-collapse: collapse;
}

.press__table tr {
    border-bottom: 1px solid rgba(42, 184, 184, 0.06);
}

.press__table td {
    padding: 16px 0;
    vertical-align: top;
}

.press__table-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-500);
    width: 130px;
    padding-right: 24px;
}

.press__table-value {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.press__links-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-bright);
    margin-bottom: 24px;
    letter-spacing: 0.04em;
}

.press__link-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.press__link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-card);
    border: 1px solid rgba(42, 184, 184, 0.08);
    border-radius: 3px;
    font-family: var(--font-display);
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--text-primary);
    letter-spacing: 0.04em;
    transition: all 0.3s var(--ease-out);
}

.press__link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--teal-500);
    transition: color 0.3s;
}

.press__link:hover {
    background: var(--bg-card-hover);
    border-color: var(--teal-600);
    color: var(--teal-300);
    box-shadow: 0 0 20px var(--teal-glow);
    transform: translateX(4px);
}

.press__link:hover svg {
    color: var(--teal-300);
}

.press__developer {
    display: flex;
    align-items: center;
    gap: 16px;
}

.press__developer-logo {
    height: 48px;
    width: auto;
    opacity: 0.6;
    filter: invert(1);
    transition: opacity 0.3s;
}

.press__developer-logo:hover {
    opacity: 0.9;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    position: relative;
    z-index: 2;
    padding: 40px 0;
    border-top: 1px solid rgba(42, 184, 184, 0.08);
    background: var(--bg-dark);
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer__brand {
    display: flex;
    align-items: center;
    gap: 24px;
}

.footer__logo {
    height: 22px;
    width: auto;
    opacity: 0.5;
}

.footer__copy {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.footer__links {
    display: flex;
    gap: 28px;
}

.footer__links a {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    transition: color 0.3s;
}

.footer__links a:hover {
    color: var(--teal-400);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(4, 8, 16, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox__content {
    max-width: 90vw;
    max-height: 85vh;
}

.lightbox__img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 3px;
    border: 1px solid rgba(42, 184, 184, 0.1);
    transition: opacity 0.3s;
}

.lightbox__close {
    position: absolute;
    top: 24px;
    right: 32px;
    font-size: 2rem;
    color: var(--text-secondary);
    transition: color 0.3s;
    z-index: 5;
    padding: 8px;
    line-height: 1;
}

.lightbox__close:hover { color: var(--teal-400); }

.lightbox__prev,
.lightbox__next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    padding: 16px;
    color: var(--text-secondary);
    transition: color 0.3s, transform 0.3s;
}

.lightbox__prev { left: 20px; }
.lightbox__next { right: 20px; }

.lightbox__prev:hover,
.lightbox__next:hover {
    color: var(--teal-400);
}

.lightbox__prev svg,
.lightbox__next svg {
    width: 32px;
    height: 32px;
}

.lightbox__counter {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: var(--text-dim);
}

/* ============================================================
   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);
}

/* Stagger children */
.features__grid .reveal:nth-child(1) { transition-delay: 0s; }
.features__grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.features__grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.features__grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.features__grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.features__grid .reveal:nth-child(6) { transition-delay: 0.4s; }

.gallery__grid .reveal:nth-child(1) { transition-delay: 0s; }
.gallery__grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.gallery__grid .reveal:nth-child(3) { transition-delay: 0.12s; }
.gallery__grid .reveal:nth-child(4) { transition-delay: 0.18s; }
.gallery__grid .reveal:nth-child(5) { transition-delay: 0.24s; }
.gallery__grid .reveal:nth-child(6) { transition-delay: 0.3s; }
.gallery__grid .reveal:nth-child(7) { transition-delay: 0.36s; }
.gallery__grid .reveal:nth-child(8) { transition-delay: 0.42s; }
.gallery__grid .reveal:nth-child(9) { transition-delay: 0.48s; }

/* Entry keyframes */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-16px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

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

    .gallery__item--wide {
        grid-column: span 2;
    }

    .about__grid {
        gap: 40px;
    }

    .press__grid {
        gap: 40px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .nav__links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 280px;
        background: rgba(8, 14, 22, 0.97);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        padding: 100px 32px 40px;
        gap: 0;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out);
        border-left: 1px solid rgba(42, 184, 184, 0.1);
    }

    .nav__links.open {
        transform: translateX(0);
    }

    .nav__links li a {
        display: block;
        padding: 16px 0;
        font-size: 0.9rem;
        border-bottom: 1px solid rgba(42, 184, 184, 0.06);
    }

    .nav__toggle {
        display: flex;
    }

    .nav__toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 4px);
    }
    .nav__toggle.active span:nth-child(2) {
        opacity: 0;
    }
    .nav__toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -4px);
    }

    .nav__cta {
        display: none;
    }

    .about__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about__stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }

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

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

    .gallery__item--wide {
        grid-column: span 1;
    }

    .press__grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero__logo {
        max-width: 85vw;
    }

    .hero__actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        justify-content: center;
        max-width: 320px;
    }

    .footer__inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .footer__brand {
        flex-direction: column;
        gap: 12px;
    }

    .section-title {
        margin-bottom: 36px;
    }

    .section-divider {
        margin-bottom: 40px;
    }

    .lightbox__prev { left: 8px; }
    .lightbox__next { right: 8px; }

    .lightbox__prev svg,
    .lightbox__next svg {
        width: 24px;
        height: 24px;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    .hero__content {
        padding: 100px 16px 60px;
    }

    .feature-card {
        padding: 28px 20px;
    }

    .press__table-label {
        width: 100px;
        font-size: 0.68rem;
    }
}
