/* =============================================
   XSUNRAYBAN PLUS — DESIGN SYSTEM
   ============================================= */

:root {
    --bg:         #060606;
    --bg-2:       #0d0d0d;
    --bg-3:       #111111;
    --red:        #D32027;
    --red-dark:   #a81a1f;
    --green:      #008C45;
    --white:      #ffffff;
    --muted:      rgba(255,255,255,0.55);
    --muted-2:    rgba(255,255,255,0.25);
    --border:     rgba(255,255,255,0.08);
    --card-bg:    rgba(255,255,255,0.04);
    --font-head:  'Outfit', sans-serif;
    --font-body:  'Inter', sans-serif;
    --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--white);
    font-family: var(--font-body);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    cursor: none;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

.container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 5vw;
}

/* ---- TYPOGRAPHY ---- */
.section-title {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 4.5vw, 5rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}
.section-desc {
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    color: var(--muted);
    line-height: 1.8;
    max-width: 520px;
}
.accent-text {
    color: var(--red);
}
.section-badge {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--red);
    border: 1px solid rgba(211,32,39,0.35);
    padding: 0.35rem 0.9rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
}

/* ---- BUTTONS ---- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--red);
    color: var(--white);
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.9rem 2.2rem;
    border-radius: 100px;
    border: none;
    cursor: none;
    transition: background 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(211,32,39,0.35);
}
.btn-ghost {
    display: inline-flex;
    align-items: center;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
}
.btn-ghost:hover { color: var(--white); }

/* =============================================
   CURSOR
   ============================================= */
.cursor-dot {
    position: fixed;
    width: 7px;
    height: 7px;
    background: var(--red);
    border-radius: 50%;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.15s, height 0.15s;
}
.cursor-ring {
    position: fixed;
    width: 38px;
    height: 38px;
    border: 1.5px solid rgba(255,255,255,0.35);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.25s var(--ease-out), height 0.25s var(--ease-out), border-color 0.25s, background-color 0.25s;
}
body:has(a:hover) .cursor-ring,
body:has(button:hover) .cursor-ring {
    width: 56px;
    height: 56px;
    border-color: rgba(211,32,39,0.6);
    background-color: rgba(211,32,39,0.08);
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 1.6rem 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    transition: background 0.4s, backdrop-filter 0.4s, padding 0.4s;
}
.navbar.scrolled {
    background: rgba(6,6,6,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 1rem 5vw;
    border-bottom: 1px solid var(--border);
}
.brand-logo {
    font-family: var(--font-head);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--white);
}
.brand-x { color: var(--red); font-weight: 900; }
.brand-ray { color: var(--green); }
.brand-plus { font-size: 0.55em; font-weight: 300; opacity: 0.8; vertical-align: super; }
.nav-links {
    display: flex;
    gap: 2.5rem;
}
.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--muted);
    letter-spacing: 0.3px;
    position: relative;
    transition: color 0.3s;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px; left: 0;
    width: 0; height: 1.5px;
    background: var(--red);
    transition: width 0.3s var(--ease-out);
}
.nav-link:hover { color: var(--white); }
.nav-link:hover::after { width: 100%; }
.nav-cta {
    font-family: var(--font-head);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
    background: var(--red);
    padding: 0.55rem 1.4rem;
    border-radius: 100px;
    transition: background 0.3s, transform 0.3s;
}
.nav-cta:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.hamburger span {
    display: block;
    width: 24px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transform: translateX(100%);
    transition: transform 0.5s var(--ease-out);
}
.mobile-menu.open { transform: translateX(0); }
.mobile-link {
    font-family: var(--font-head);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--muted);
    transition: color 0.3s;
}
.mobile-link:hover { color: var(--white); }
.mobile-cta {
    font-family: var(--font-head);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    background: var(--red);
    padding: 1rem 3rem;
    border-radius: 100px;
    margin-top: 1rem;
}

/* =============================================
   HERO
   ============================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hero-bg-img {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    transform: scale(1.05);
}
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(6,6,6,0.35) 0%,
        rgba(6,6,6,0.55) 40%,
        rgba(6,6,6,0.92) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 2rem;
    max-width: 900px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    opacity: 0;
}
.badge-dot {
    width: 7px; height: 7px;
    background: var(--green);
    border-radius: 50%;
    animation: blink 2s infinite;
}
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}
.hero-title {
    font-family: var(--font-head);
    font-size: clamp(4rem, 9vw, 9.5rem);
    font-weight: 900;
    line-height: 0.94;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
    color: #ffffff;
    text-shadow: 0 4px 20px rgba(0,0,0,0.8);
    opacity: 0;
    overflow: hidden;
}
.hero-title-accent {
    color: transparent;
    -webkit-text-stroke: 1.5px var(--red);
    display: inline-block;
}
.hero-sub {
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    color: #ffffff;
    text-shadow: 0 2px 15px rgba(0,0,0,0.8);
    line-height: 1.7;
    margin-bottom: 2.8rem;
    opacity: 0;
}
.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    opacity: 0;
}
.scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--muted-2);
    z-index: 10;
    opacity: 0;
}
.scroll-line {
    width: 1px;
    height: 55px;
    background: linear-gradient(to bottom, var(--muted-2), transparent);
    animation: lineDown 2s infinite;
}
@keyframes lineDown {
    0%   { transform: scaleY(0); transform-origin: top; }
    50%  { transform: scaleY(1); transform-origin: top; }
    50.1%{ transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* =============================================
   PRODUCT BOX SCROLL REVEAL
   ============================================= */
.box-reveal-section {
    position: relative;
    background: var(--bg);
}
.box-stage-wrap {
    position: relative;
}
.box-stage {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg);
    perspective: 1200px;
}

/* Animated background glow */
.box-bg-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 90% at 50% 80%, rgba(211,32,39,0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Giant bg typography */
.box-bg-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-head);
    font-size: clamp(16vw, 20vw, 26vw);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 0.88;
    text-align: center;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.04);
    pointer-events: none;
    z-index: 0;
    white-space: nowrap;
}

/* Product image wrapper */
.box-product-wrap {
    position: relative;
    z-index: 10;
    width: min(560px, 75vw);
    display: flex;
    align-items: center;
    justify-content: center;
    /* GSAP will animate transform from JS */
}
.box-product-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 25px 40px rgba(0,0,0,0.6));
    display: block;
}

/* Floating spec badges */
.box-badge {
    position: absolute;
    z-index: 20;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 14px;
    padding: 1rem 1.4rem;
    opacity: 0; /* GSAP reveals these */
    pointer-events: none;
}
.box-badge-tl { top: 18%; left:  6vw; }
.box-badge-tr { top: 18%; right: 6vw; }
.box-badge-bl { bottom: 22%; left:  6vw; }
.box-badge-br { bottom: 22%; right: 6vw; }

.bb-value {
    font-family: var(--font-head);
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.03em;
    color: var(--white);
    line-height: 1;
}
.bb-key {
    font-size: 0.7rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 0.3rem;
}
.box-badge-tl .bb-value,
.box-badge-bl .bb-value { color: var(--green); }

/* Bottom CTA strip */
.box-bottom-cta {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 2rem;
    opacity: 0; /* GSAP reveals */
    white-space: nowrap;
}
.box-series-line {
    font-family: var(--font-head);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--muted);
}

/* Scroll space */
.box-scroll-space {
    height: 250vh;
}

/* =============================================
   STATS BAR
   ============================================= */
.stats-bar {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 3.5rem 5vw;
}
.stats-inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}
.stat-item {
    text-align: center;
    flex: 1;
}
.stat-number {
    font-family: var(--font-head);
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 900;
    line-height: 1;
    color: var(--white);
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}
.stat-infinity {
    color: var(--red);
}
.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
}
.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--border);
    flex-shrink: 0;
}

/* =============================================
   PRODUCT STORY (Apple-style pinned scroll)
   ============================================= */
.story-section {
    position: relative;
}
.story-container {
    display: flex;
    min-height: 100vh;
}

/* Sticky visual (left) */
.story-visual {
    position: sticky;
    top: 0;
    width: 55%;
    height: 100vh;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.story-img-wrap {
    position: relative;
    width: 90%;
    height: 80%;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,0.7);
    will-change: transform;
}
.story-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.story-img-wrap:hover .story-img {
    transform: scale(1.03);
}
.story-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(211,32,39,0.15) 0%, transparent 60%);
    transition: opacity 0.5s;
}

/* Pulse dots on image */
.story-pulse {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--red);
    z-index: 5;
    animation: pulseRing 2.5s infinite;
}
.story-pulse[data-delay="0.3s"] { animation-delay: 0.3s; }
.story-pulse[data-delay="0.6s"] { animation-delay: 0.6s; }
@keyframes pulseRing {
    0%   { box-shadow: 0 0 0 0 rgba(211,32,39,0.6); }
    70%  { box-shadow: 0 0 0 16px rgba(211,32,39,0); }
    100% { box-shadow: 0 0 0 0 rgba(211,32,39,0); }
}

/* Progress bar */
.story-progress {
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 3px;
    height: 120px;
    background: var(--border);
    border-radius: 2px;
    overflow: hidden;
}
.progress-bar {
    width: 100%;
    height: 0%;
    background: var(--red);
    border-radius: 2px;
    transition: height 0.2s;
}

/* Scrolling steps (right) */
.story-steps {
    flex: 1;
    padding: 10vh 6vw 10vh 4vw;
    display: flex;
    flex-direction: column;
}
.story-step {
    padding: 10vh 0;
    opacity: 0.2;
    transform: translateY(30px);
    transition: opacity 0.5s var(--ease-out), transform 0.5s var(--ease-out);
}
.story-step.active {
    opacity: 1;
    transform: translateY(0);
}
.step-num {
    font-family: var(--font-head);
    font-size: 1rem;
    font-weight: 700;
    color: var(--red);
    letter-spacing: 4px;
    margin-bottom: 1.2rem;
}
.story-step h2 {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 4vw, 4.5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}
.story-step p {
    font-size: clamp(0.95rem, 1.1vw, 1.1rem);
    color: var(--muted);
    line-height: 1.85;
    max-width: 440px;
    margin-bottom: 1.5rem;
}
.step-tag {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--green);
    border: 1px solid rgba(0,140,69,0.35);
    padding: 0.4rem 1rem;
    border-radius: 100px;
}

/* =============================================
   SERIES SHOWCASE — Full-Screen Apple Style
   ============================================= */
.series-section {
    position: relative;
}

/* Intro header */
.series-header-intro {
    text-align: center;
    padding: 10rem 5vw 6rem;
    max-width: 680px;
    margin: 0 auto;
}
.series-header-intro .section-desc { margin: 0 auto; }

/* The sticky wrapper that pins the stage */
.series-stage-wrap {
    position: relative;
}
.series-stage {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Full-screen background image layers */
.ss-bg {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s var(--ease-out);
    z-index: 0;
}
.ss-bg.active { opacity: 1; }
.ss-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.35) saturate(1.1);
    transform: scale(1.05);
    transition: transform 8s ease;
}
.ss-bg.active img { transform: scale(1); }

/* Radial vignette overlay */
.ss-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, transparent 30%, rgba(6,6,6,0.7) 100%);
    z-index: 1;
    pointer-events: none;
}

/* GIANT watermark series name — background typography */
.ss-bg-name {
    position: absolute;
    bottom: -0.1em;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-head);
    font-size: clamp(18vw, 22vw, 28vw);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255,255,255,0.07);
    white-space: nowrap;
    pointer-events: none;
    z-index: 2;
    transition: opacity 0.5s;
}

/* Product floating card — center stage */
.ss-product-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: min(520px, 70vw);
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 30px 80px rgba(0,0,0,0.8));
}
.ss-product-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    transition: transform 0.6s var(--ease-out), opacity 0.5s;
}
.ss-product-glow {
    position: absolute;
    inset: -40px;
    background: radial-gradient(ellipse at center, rgba(211,32,39,0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    transition: background 0.8s;
}

/* Top-left info block */
.ss-top-left {
    position: absolute;
    top: 10%;
    left: 5vw;
    z-index: 20;
}
.ss-counter {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 4px;
    color: var(--red);
    margin-bottom: 0.6rem;
    text-transform: uppercase;
}
.ss-name {
    font-family: var(--font-head);
    font-size: clamp(3rem, 6vw, 6.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
    color: var(--white);
    transition: transform 0.45s var(--ease-out), opacity 0.3s;
    overflow: hidden;
}
.ss-subtitle {
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 0.4rem;
    transition: opacity 0.4s;
}

/* Right panel — tagline + description */
.ss-right-panel {
    position: absolute;
    top: 50%;
    right: 5vw;
    transform: translateY(-50%);
    z-index: 20;
    max-width: 280px;
    text-align: right;
}
.ss-tagline {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1rem;
    transition: transform 0.45s var(--ease-out), opacity 0.3s;
}
.ss-desc {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.75;
    transition: opacity 0.4s;
}

/* Bottom specs bar */
.ss-specs-bar {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 0;
    background: rgba(6,6,6,0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 1.5rem 5vw;
    transform: translateY(100%);
    transition: transform 0.7s var(--ease-out);
}
.ss-specs-bar.visible {
    transform: translateY(0);
}
.ss-spec {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}
.ss-spec-key {
    font-size: 0.68rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 500;
}
.ss-spec-val {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
    transition: all 0.4s var(--ease-out);
}
.ss-guarantee {
    color: var(--green) !important;
    font-size: 2rem !important;
}
.ss-spec-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
    flex-shrink: 0;
    margin: 0 3vw;
}
.ss-spec-cta {
    margin-left: auto;
    padding-left: 3vw;
}
.ss-cta-btn {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--white);
    background: var(--red);
    padding: 0.75rem 1.8rem;
    border-radius: 100px;
    transition: background 0.3s, transform 0.3s;
    white-space: nowrap;
}
.ss-cta-btn:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
}

/* Progress dots */
.ss-dots {
    position: absolute;
    bottom: 7rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 0.5rem;
}
.ss-dot {
    width: 24px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255,255,255,0.25);
    cursor: pointer;
    transition: background 0.3s, width 0.35s;
}
.ss-dot.active {
    background: var(--red);
    width: 42px;
}

/* Scroll space */
.series-scroll-space {
    position: relative;
    height: 300vh;
}
.ss-panel-trigger {
    height: 100vh;
}


/* =============================================
   TECHNOLOGY
   ============================================= */
.tech-section {
    padding: 10rem 0;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
}
.tech-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 6rem;
}
.tech-header .section-desc { margin: 0 auto; }
.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.5rem;
}
.tech-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    transition: transform 0.4s var(--ease-out), background 0.4s, border-color 0.4s;
    animation-delay: var(--delay, 0s);
    position: relative;
    overflow: hidden;
}
.tech-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(211,32,39,0.07) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}
.tech-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.06);
    border-color: rgba(211,32,39,0.25);
}
.tech-card:hover::before { opacity: 1; }
.tech-icon {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
}
.tech-card h3 {
    font-family: var(--font-head);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}
.tech-card p {
    color: var(--muted);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* =============================================
   GALLERY
   ============================================= */
.gallery-section {
    padding: 10rem 0;
    background: var(--bg);
}
.gallery-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 5rem;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 1rem;
    grid-auto-rows: 280px;
}
.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
}
.gallery-item.gi-tall {
    grid-row: span 2;
}
.gallery-item.gi-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 img {
    transform: scale(1.06);
}
.gallery-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 0.8rem 1.2rem;
    background: linear-gradient(to top, rgba(6,6,6,0.8) 0%, transparent 100%);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s, transform 0.4s;
}
.gallery-item:hover .gallery-label {
    opacity: 1;
    transform: translateY(0);
}

/* =============================================
   GUARANTEE
   ============================================= */
.guarantee-section {
    padding: 10rem 0;
    background: var(--bg-3);
    border-top: 1px solid var(--border);
}
.guarantee-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 5vw;
    display: flex;
    align-items: center;
    gap: 8rem;
}
.guarantee-badge-wrap {
    flex-shrink: 0;
}
.big-guarantee-badge {
    font-family: var(--font-head);
    font-size: clamp(8rem, 15vw, 14rem);
    font-weight: 900;
    color: var(--red);
    line-height: 1;
    opacity: 0.85;
    filter: drop-shadow(0 0 60px rgba(211,32,39,0.3));
}
.guarantee-features {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 2rem;
}
.g-feat {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.75);
}
.g-check {
    color: var(--green);
    font-weight: 700;
    font-size: 1.1rem;
}

/* =============================================
   CONTACT
   ============================================= */
.contact-section {
    padding: 10rem 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2.5rem;
}
.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--muted);
}
.ci-icon { font-size: 1.3rem; }

/* Form */
.contact-form-wrap {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 3rem;
    transition: border-color 0.3s;
    animation-delay: var(--delay, 0s);
}
.contact-form-wrap:hover {
    border-color: rgba(211,32,39,0.2);
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.form-group label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--muted);
}
.form-group input,
.form-group select {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.85rem 1.2rem;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
    -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus {
    border-color: var(--red);
    background: rgba(211,32,39,0.05);
}
.form-group select option { background: #1a1a1a; }
.form-submit {
    margin-top: 0.5rem;
    border: none;
    font-family: var(--font-head);
    font-size: 1rem;
    cursor: none;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 5rem 0 0;
}
.footer-inner {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
}
.footer-logo {
    font-family: var(--font-head);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}
.footer-slogan {
    font-size: 0.72rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 1.2rem;
}
.footer-desc {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.7;
    max-width: 300px;
}
.footer-links h4 {
    font-family: var(--font-head);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted-2);
    margin-bottom: 1.5rem;
}
.footer-links a {
    display: block;
    font-size: 0.9rem;
    color: var(--muted);
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}
.footer-links a:hover { color: var(--white); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.5rem 5vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--muted-2);
}

/* =============================================
   SCROLL REVEAL UTILITIES
   ============================================= */
.reveal-up {
    opacity: 0;
    transform: translateY(50px);
    transition-delay: var(--delay, 0s);
}
.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal-fade {
    opacity: 0;
}
.reveal-fade.visible {
    opacity: 1;
    transition: opacity 1s var(--ease-out);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1100px) {
    .story-container { flex-direction: column; }
    .story-visual {
        width: 100%;
        height: 50vh;
        position: relative;
    }

}

/* =============================================
   MOBILE BOTTOM CONTACT BAR & RESPONSIVE FIXES
   ============================================= */
.mobile-bottom-bar {
    display: none;
}
@media (max-width: 768px) {
    /* Sticky Contact Bar */
    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0; left: 0;
        width: 100%;
        background: rgba(10,10,10,0.98);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 9999;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    .mbb-btn {
        flex: 1;
        padding: 0.9rem 0;
        text-align: center;
        font-family: var(--font-head);
        font-weight: 700;
        font-size: 0.88rem;
        color: var(--white);
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        border-right: 1px solid rgba(255,255,255,0.08);
        transition: background 0.3s;
    }
    .mbb-btn:last-child { border-right: none; }
    .mbb-whatsapp { background: rgba(37,211,102,0.15); color: #25D366; }
    .mbb-offer { background: var(--red); color: white; }
    .mbb-icon { font-size: 1.1rem; }

    /* Series Layout Reconstruction (Flex Stack) guarantees ZERO overlap */
    .series-stage { 
        display: flex !important; 
        flex-direction: column !important; 
        justify-content: flex-start !important; 
        background: var(--bg) !important; 
        padding-top: 8vh !important; 
    }
    
    /* Hide decorative backgrounds that cause clutter on small devices */
    .ss-bg, .ss-overlay, .ss-bg-name { display: none !important; }
    
    /* 1. Product Image wrapper */
    .ss-product-card { 
        position: relative !important; 
        top: 0 !important; left: 0 !important; transform: none !important; 
        width: 100vw !important; height: 32vh !important; 
        margin: 0 auto 1.5rem !important; 
        display: flex !important; align-items: center !important; justify-content: center !important; 
    }
    .ss-product-img { max-height: 100% !important; object-fit: contain !important; }
    
    /* 2. Title & Subtitle Group */
    .ss-top-left { 
        position: relative !important; 
        top: 0 !important; left: 0 !important; 
        width: 100% !important; padding: 0 5vw !important; 
        margin-bottom: 1rem !important; text-align: left !important; 
    }
    .ss-name { font-size: 3.2rem !important; margin-bottom: 0.2rem !important; line-height: 1 !important; color: white !important; }
    
    /* 3. Description Group */
    .ss-right-panel { 
        position: relative !important; 
        top: 0 !important; right: 0 !important; bottom: 0 !important; left: 0 !important; transform: none !important;
        width: 100% !important; max-width: 100% !important; 
        padding: 0 5vw !important; margin-top: 0 !important; margin-bottom: 1.5rem !important;
        text-align: left !important; 
    }
    .ss-tagline { font-size: 1.8rem !important; margin-bottom: 0.4rem !important; line-height: 1.1 !important; }
    .ss-desc { color: rgba(255,255,255,0.85) !important; font-size: 0.95rem !important; line-height: 1.5 !important; max-width: 90% !important; }
    
    /* 4. Dots Indicator */
    .ss-dots { position: relative !important; bottom: 0 !important; left: 5vw !important; transform: none !important; justify-content: flex-start !important; margin-bottom: 3rem !important; }
    
    /* 5. Specs bar stays pinned strictly to bottom of screen */
    .ss-specs-bar {
        bottom: 50px !important; /* sit precisely above mobile bar */
        padding: 0 5vw 1rem !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 1rem !important;
        background: transparent !important;
        border-top: none !important;
    }
    .ss-spec-cta, .ss-spec-divider { display: none !important; }
    .ss-spec-val { font-size: 1.15rem !important; }
    .ss-guarantee { font-size: 1.15rem !important; }
}

/* Base Readability Adjustments */
@media (max-height: 768px) {
    .scroll-hint { display: none !important; }
}
@media (max-width: 768px) {
    .hero-overlay {
        background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%, rgba(13,13,13,1) 100%) !important;
    }
    .story-steps { padding: 3rem 5vw; }
    .series-spacer { height: 200vh; }
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
    .guarantee-inner { flex-direction: column; gap: 3rem; text-align: center; }
}

@media (max-width: 768px) {
    .nav-links, .nav-cta { display: none; }
    .hamburger { display: flex; }
    .hero-title { font-size: clamp(3.5rem, 14vw, 6rem); }
    .hero-sub br { display: none; }
    .stats-inner { flex-direction: column; gap: 2rem; }
    .stat-divider { width: 60px; height: 1px; }
    .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .gallery-item.gi-tall { grid-row: span 1; }
    .gallery-item.gi-wide { grid-column: span 2; }
    .footer-inner { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}
