/* -----------------------------------------------------------
   BLACK × CRIMSON — HIGH-END GAMING THEME
   Aesthetic: Luxury Combat / Dark Ops / Blood Steel
   Fonts: Bebas Neue (display) + DM Sans (body)
----------------------------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,500&family=Share+Tech+Mono&display=swap');

:root {
    /* ── PALETTE ── */
    --bg-0:         #040304;      /* deepest black */
    --bg-1:         #080608;      /* page background */
    --bg-2:         #0D090C;      /* sections */
    --bg-card:      #110D10;      /* cards */
    --bg-raised:    #160F14;      /* raised surfaces */

    /* Crimson system */
    --red:          #E8000D;      /* pure vivid crimson */
    --red-hot:      #FF1A24;      /* brightest highlight */
    --red-deep:     #9B000A;      /* dark blood red */
    --red-dim:      rgba(232, 0, 13, 0.08);
    --red-glow:     rgba(232, 0, 13, 0.40);
    --red-glow-soft:rgba(232, 0, 13, 0.15);

    /* Text */
    --text-100:     #F2EDF0;
    --text-60:      #7A6472;
    --text-40:      #4A3842;

    /* Borders */
    --border:       #1E1218;
    --border-lit:   rgba(232, 0, 13, 0.22);

    /* ── TYPOGRAPHY ── */
    --f-display:    'Bebas Neue', sans-serif;
    --f-body:       'DM Sans', sans-serif;
    --f-mono:       'Share Tech Mono', monospace;

    /* ── SPACING ── */
    --r-xs:  2px;
    --r-sm:  6px;
    --r-md:  12px;
    --w:     1200px;
    --ease:  cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; transition: color .25s; }
ul { list-style: none; }
img { display: block; max-width: 100%; height: auto; }

.container { max-width: var(--w); margin: 0 auto; padding: 0 28px; }
.text-accent { color: var(--red); }
.text-secondary { color: var(--text-60); }
 /* --- CORE X LOGO STYLES --- */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 5px; /* Spacing between text and X */
    font-family: 'Space Grotesk', sans-serif; /* Or your preferred font */
    font-weight: 800; /* Heavy font weight */
    font-size: 24px;
    text-transform: uppercase;
}

.core-text {
    color: #ffffff; /* White color for 'CORE' */
    letter-spacing: 1px;
}

.x-icon {
    height: 28px; /* Adjust size of the X */
    width: auto;
    display: block;
    margin-top: -0.5rem
}

/* Subtle hover effect for the whole logo */
.logo:hover .core-text {
    color: #ffcccc; /* Slight reddish tint on text hover */
}

.logo:hover .x-icon {
    transform: scale(1.1); /* Slight zoom on X hover */
    filter: drop-shadow(0 0 5px rgba(255, 0, 0, 0.5)); /* Red Glow */
    transition: all 0.3s ease;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .logo {
        font-size: 20px;
    }
    .x-icon {
        height: 24px;
    }
}

/* --- FOOTER LOGO STYLES --- */
.footer-logo {
    margin-bottom: 15px; /* Spacing below logo */
}

.footer-logo img {
    height: 40px; /* Slightly smaller for the footer */
    width: auto;
    display: block;
    object-fit: contain;
    opacity: 0.7; /* Starts slightly dimmer for elegance */
    transition: all 0.3s ease;
}

.footer-logo:hover img {
    opacity: 1; /* Brightens on hover */
    filter: drop-shadow(0 0 8px rgba(255, 0, 0, 0.6));
}


/* --- MOBILE RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 768px) {
    /* .logo img {
        height: 40px;  Smaller logo on mobile devices 
    } */
    .footer-logo img {
        height: 30px;
    }
}
/* ── NOISE OVERLAY ── */
.noise-overlay {
    position: fixed; inset: 0;
    pointer-events: none; z-index: 9999;
    opacity: 0.028;
    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.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.active { opacity: 1; transform: none; }

/* ═══════════════════════════════════════════
   BUTTONS
═══════════════════════════════════════════ */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 15px 36px;
    font-family: var(--f-display);
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
    white-space: nowrap;
    /* Angled cut — top-right & bottom-left */
    clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 14px, 100% 100%, 14px 100%, 0 calc(100% - 14px));
}

/* Shimmer sweep */
.btn::after {
    content: '';
    position: absolute; top: 0; left: -80%;
    width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    transition: left .55s ease;
}
.btn:hover::after { left: 130%; }

.btn-primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 0 28px var(--red-glow), inset 0 1px 0 rgba(255,255,255,0.15);
}
.btn-primary:hover {
    background: var(--red-hot);
    transform: translateY(-3px);
    box-shadow: 0 0 48px var(--red-glow), 0 12px 32px rgba(0,0,0,.6);
}

.btn-secondary {
    background: transparent;
    color: var(--red);
    border: 1px solid var(--red);
    box-shadow: inset 0 0 0 var(--red-dim);
}
.btn-secondary:hover {
    background: var(--red-dim);
    box-shadow: 0 0 24px var(--red-glow-soft);
    transform: translateY(-3px);
}

/* ═══════════════════════════════════════════
   HEADER
═══════════════════════════════════════════ */
header {
    position: fixed; top: 0; left: 0; width: 100%;
    z-index: 200;
    padding: 22px 0;
    transition: padding .3s, background .3s, border-color .3s;
}

header.scrolled {
    background: rgba(4, 3, 4, 0.93);
    backdrop-filter: blur(18px) saturate(1.4);
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 40px rgba(0,0,0,.8), 0 1px 0 rgba(232,0,13,.06);
}

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

.logo {
    font-family: var(--f-display);
    font-size: 28px;
    letter-spacing: 5px;
    z-index: 202;
    text-shadow: 0 0 24px var(--red-glow-soft);
}
.logo span { color: var(--red); text-shadow: 0 0 20px var(--red-glow); }

nav ul { display: flex; gap: 44px; align-items: center; }

nav a {
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-60);
    position: relative;
    transition: color .25s;
}
nav a::after {
    content: '';
    position: absolute; bottom: -5px; left: 0;
    width: 0; height: 1px;
    background: var(--red);
    box-shadow: 0 0 8px var(--red-glow);
    transition: width .3s ease;
}
nav a:hover { color: var(--text-100); }
nav a:hover::after { width: 100%; }

.nav-login {
    font-family: var(--f-mono) !important;
    color: var(--red) !important;
    border: 1px solid var(--red);
    padding: 8px 22px;
    clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 8px, 100% 100%, 8px 100%, 0 calc(100% - 8px));
    transition: .3s;
    box-shadow: 0 0 14px rgba(232,0,13,.1);
}
.nav-login:hover { background: var(--red); color: #fff !important; box-shadow: 0 0 30px var(--red-glow); }
.nav-login::after { display: none; }

.menu-toggle { display: none; font-size: 26px; cursor: pointer; z-index: 202; color: var(--red); }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.hero {
    min-height: 100vh;
    display: flex; align-items: center;
    position: relative;
    /* padding-top: 110px; */
    overflow: hidden;
    background: var(--bg-0);
}

/* Fine circuit grid */
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(232,0,13,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232,0,13,.05) 1px, transparent 1px);
    background-size: 48px 48px;
    z-index: 0;
    mask-image: radial-gradient(ellipse 70% 80% at 70% 50%, black 10%, transparent 75%);
    animation: gridPulse 7s ease-in-out infinite;
}
@keyframes gridPulse { 0%,100%{opacity:.4} 50%{opacity:1} }

/* Ambient blood glow */
.hero-glow {
    position: absolute; inset: 0; z-index: 0; pointer-events: none;
    background:
        radial-gradient(ellipse 650px 500px at 72% 45%, rgba(232,0,13,.09) 0%, transparent 70%),
        radial-gradient(ellipse 300px 400px at 5%  85%, rgba(140,0,8,.06)  0%, transparent 65%);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    width: 100%;
    position: relative; z-index: 1;
}

/* HERO EYEBROW */
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--red);
    text-transform: uppercase;
    margin-bottom: 18px;
}
.hero-eyebrow::before {
    content: '';
    display: block; width: 28px; height: 1px;
    background: var(--red);
    box-shadow: 0 0 6px var(--red-glow);
}

.hero-content h1 {
    font-family: var(--f-display);
    font-size: clamp(4rem, 7.5vw, 7.5rem);
    line-height: .95;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 28px;
    color: var(--text-100);
}

/* Gradient word "LEGEND" */
.text-accent {
    background: linear-gradient(135deg, var(--red-hot) 0%, var(--red-deep) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px var(--red-glow));
}

.hero-content p {
    font-size: 16px;
    color: var(--text-60);
    max-width: 420px;
    line-height: 1.75;
    margin-bottom: 36px;
    font-weight: 300;
}

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

/* GIF / Visual */
.hero-visual {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    min-height: 300px;
}

.gif-wrapper {
    width: 100%; max-width: 500px;
    aspect-ratio: 1/1;
    border-radius: var(--r-sm);
    overflow: hidden;
    background: #000;
    position: relative;
    border: 1px solid var(--border-lit);
    box-shadow:
        0 0 0 1px var(--border),
        0 0 60px rgba(232,0,13,.12),
        0 24px 72px rgba(0,0,0,.85);
}

/* HUD corner brackets */
.gif-wrapper::before, .gif-wrapper::after {
    content: '';
    position: absolute; z-index: 10;
    width: 32px; height: 32px;
    border: 2px solid var(--red);
    box-shadow: 0 0 12px var(--red-glow-soft);
}
.gif-wrapper::before { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.gif-wrapper::after  { bottom: 12px; right: 12px; border-left: none; border-top: none; }

.gif-wrapper img { width: 100%; height: 100%; object-fit: cover; }

/* ═══════════════════════════════════════════
   SCROLLING STRAP
═══════════════════════════════════════════ */
.scroll-strap-container {
    position: relative; z-index: 10;
    margin-top: -40px;
    margin-bottom: 90px;
}

.scroll-strap {
    background: var(--red);
    padding: 13px 0;
    transform: rotate(-1.2deg);
    overflow: hidden; white-space: nowrap;
    box-shadow: 0 0 60px rgba(232,0,13,.35), 0 12px 36px rgba(0,0,0,.7);
    border-top: 1px solid rgba(255,80,80,.3);
    border-bottom: 1px solid rgba(80,0,0,.5);
}

.scroll-content {
    display: inline-block;
    font-family: var(--f-display);
    font-size: clamp(14px, 2.5vw, 22px);
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #fff;
    animation: marquee 24s linear infinite;
}
@keyframes marquee { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ═══════════════════════════════════════════
   FEATURES
═══════════════════════════════════════════ */
.features {
    background: linear-gradient(180deg, var(--bg-0) 0%, var(--bg-2) 100%);
    padding: 110px 0;
}

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

/* Eyebrow label */
.features-text > span {
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--red);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.features-text h2 {
    font-family: var(--f-display);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1;
    margin: 14px 0 20px;
    color: var(--text-100);
}

.features-text > p { color: var(--text-60); font-weight: 300; line-height: 1.75; }

.feature-list { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid transparent;
    padding: 20px 22px;
    border-radius: var(--r-xs);
    display: flex; align-items: flex-start; gap: 18px;
    transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
    position: relative; overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(120deg, var(--red-dim), transparent 60%);
    opacity: 0; transition: opacity .35s;
}
.feature-card:hover {
    transform: translateX(10px);
    border-left-color: var(--red);
    border-color: var(--border-lit);
    box-shadow: -4px 0 20px rgba(232,0,13,.15), 0 0 24px rgba(232,0,13,.05);
}
.feature-card:hover::before { opacity: 1; }

.feature-icon {
    width: 44px; height: 44px;
    background: var(--red-dim);
    border: 1px solid var(--border-lit);
    border-radius: var(--r-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--red); font-size: 20px;
    flex-shrink: 0; position: relative; z-index: 1;
}

.feature-info { position: relative; z-index: 1; }
.feature-info h3 {
    font-family: var(--f-display);
    font-size: 20px;
    letter-spacing: 1.5px;
    margin-bottom: 4px;
    color: var(--text-100);
}
.feature-info p { font-size: 14px; color: var(--text-60); line-height: 1.55; font-weight: 300; }

.features-image img {
    border-radius: var(--r-md);
    width: 100%; height: auto;
    filter: grayscale(100%) brightness(.65) contrast(1.1);
    transition: filter .7s var(--ease), box-shadow .7s;
    box-shadow: 0 0 0 1px var(--border), 0 24px 60px rgba(0,0,0,.6);
}
.features-image:hover img {
    filter: grayscale(0%) brightness(.95) contrast(1);
    box-shadow: 0 0 48px rgba(232,0,13,.12), 0 24px 60px rgba(0,0,0,.5);
}

/* ═══════════════════════════════════════════
   VIDEO SECTION
═══════════════════════════════════════════ */
.video-section {
    position: relative;
    height: 88vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}

.video-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; z-index: 0;
    filter: grayscale(50%) brightness(.68) contrast(1.2);
    margin-top: 5rem;
}

.video-overlay {
    position: absolute; inset: 0; z-index: 1;
    margin-top: 5rem;
    background: linear-gradient(160deg, rgba(4,3,4,.85) 0%, rgba(30,0,4,.4) 50%, rgba(4,3,4,) 100%);
}

/* CRT scanline */
.video-overlay::after {
    content: '';
    position: absolute; inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(232,0,13,.015) 3px, rgba(232,0,13,.015) 4px);
    pointer-events: none;
}

.video-content {
    position: relative; z-index: 2;
    text-align: center;
    max-width: 1100px;
    padding: 0 24px;
}

.video-title {
    font-family: var(--f-display);
    font-size: clamp(3.5rem, 10vw, 10rem);
    letter-spacing: 6px;
    text-transform: uppercase;
    line-height: .88;
    background: linear-gradient(180deg, #fff 0%, var(--red-hot) 55%, var(--red-deep) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 40px var(--red-glow));
    margin-bottom: 30px;
    opacity: 0;
    animation: heroReveal 1.3s var(--ease) forwards .4s;
}

@keyframes heroReveal {
    from { opacity: 0; transform: scaleY(.85) translateY(40px); letter-spacing: 2px; }
    to   { opacity: 1; transform: none; letter-spacing: 6px; }
}

.video-subtitle {
    font-family: var(--f-mono);
    font-size: clamp(10px, 1.5vw, 13px);
    color: rgba(255,255,255,.7);
    letter-spacing: 7px;
    text-transform: uppercase;
    padding: 10px 28px;
    border-top: 1px solid rgba(232,0,13,.45);
    border-bottom: 1px solid rgba(232,0,13,.45);
    display: inline-block;
    text-shadow: 0 0 18px var(--red-glow-soft);
    opacity: 0;
    animation: fadeUp .9s ease forwards 1.4s;
}
@keyframes fadeUp { from{opacity:0;transform:translateY(18px)} to{opacity:1;transform:none} }

/* ═══════════════════════════════════════════
   BLUEPRINT (Interactive Anatomy)
═══════════════════════════════════════════ */
.blueprint {
    background: var(--bg-2);
    padding: 130px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative; overflow: hidden;
}

/* Grid layer */
.blueprint::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(232,0,13,.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(232,0,13,.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Blood glow top-left */
.blueprint::after {
    content: '';
    position: absolute; top: -150px; left: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(232,0,13,.05) 0%, transparent 70%);
    pointer-events: none;
}

.blueprint-inner {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative; z-index: 2;
}

/* PC Image Panel */
.blueprint-visual {
    position: relative;
    border: 1px solid #1a0c10;
    border-radius: var(--r-xs);
    padding: 10px;
    background: var(--bg-0);
    box-shadow: 0 0 80px rgba(0,0,0,.7), 0 0 0 1px rgba(232,0,13,.04);
}

/* Corner accents */
.tech-corner {
    position: absolute;
    width: 22px; height: 22px;
    border: 2px solid var(--red);
    box-shadow: 0 0 12px var(--red-glow-soft);
}
.tc-tl { top:-2px; left:-2px; border-right:none; border-bottom:none; }
.tc-tr { top:-2px; right:-2px; border-left:none; border-bottom:none; }
.tc-bl { bottom:-2px; left:-2px; border-right:none; border-top:none; }
.tc-br { bottom:-2px; right:-2px; border-left:none; border-top:none; }

.blueprint-img-container {
    position: relative;
    width: 100%; aspect-ratio: 4/3;
    overflow: hidden; background: #000;
}

.blueprint-img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(100%) brightness(.6) contrast(1.15);
    transition: filter .6s;
}
.blueprint-img-container:hover .blueprint-img {
    filter: grayscale(20%) brightness(.85) sepia(.3) hue-rotate(320deg);
}

/* Hotspots */
.hotspot {
    position: absolute;
    width: 22px; height: 22px;
    background: var(--bg-0);
    border: 2px solid var(--red);
    border-radius: 50%;
    cursor: pointer; z-index: 10;
    transition: all .3s ease;
    box-shadow: 0 0 12px var(--red-glow-soft);
}
.hotspot::after {
    content: '';
    position: absolute; inset: 0;
    border-radius: 50%;
    border: 1px solid var(--red);
    animation: pulse-ring 2.2s infinite;
}
.hotspot:hover, .hotspot.active {
    background: var(--red);
    transform: scale(1.3);
    box-shadow: 0 0 24px var(--red-glow);
}

.hs-1 { top:30%; left:60%; }
.hs-2 { top:50%; left:25%; }
.hs-3 { top:70%; left:80%; }

@keyframes pulse-ring {
    0%   { transform:scale(1); opacity:1; }
    100% { transform:scale(2.6); opacity:0; }
}

/* Scan line */
.scan-line {
    position: absolute; top:0; left:0; width:100%; height:2px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    opacity: .55; z-index: 5;
    box-shadow: 0 0 14px var(--red-glow);
    animation: scan 4.5s linear infinite;
    pointer-events: none;
}
@keyframes scan {
    0%   { top:0%;   opacity:0; }
    8%   { opacity:.7; }
    92%  { opacity:.7; }
    100% { top:100%; opacity:0; }
}

/* Content side */
.blueprint-content h2 {
    font-family: var(--f-display);
    font-size: clamp(2.4rem, 4.5vw, 4rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 20px;
}

.blueprint-desc {
    color: var(--text-60);
    margin-bottom: 40px;
    line-height: 1.75;
    font-size: 15px;
    font-weight: 300;
    border-left: 3px solid var(--red);
    padding-left: 20px;
    box-shadow: -3px 0 18px rgba(232,0,13,.15);
}

.info-box {
    display: none;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 2px solid var(--red);
    padding: 28px 30px;
    border-radius: var(--r-xs);
    animation: fadeIn .45s var(--ease);
    box-shadow: 0 0 36px rgba(232,0,13,.06);
}
.info-box.active { display: block; }
@keyframes fadeIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:none} }

.info-title {
    font-family: var(--f-display);
    font-size: 22px;
    letter-spacing: 2px;
    color: var(--red);
    margin-bottom: 12px;
    display: flex; align-items: center; gap: 10px;
    text-shadow: 0 0 16px var(--red-glow-soft);
}

.info-box p { color: var(--text-60); font-weight: 300; line-height: 1.7; font-size: 14px; }

/* ═══════════════════════════════════════════
   METRICS
═══════════════════════════════════════════ */
.metrics {
    padding: 88px 0;
    background: var(--bg-0);
    border-bottom: 1px solid var(--border);
    position: relative; overflow: hidden;
}

/* Red streak */
.metrics::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    opacity: .22;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.metric-item { position: relative; padding: 20px; }
.metric-item:not(:last-child)::after {
    content: '';
    position: absolute; right: 0; top: 50%;
    transform: translateY(-50%);
    height: 55%; width: 1px;
    background: linear-gradient(180deg, transparent, var(--red), transparent);
    opacity: .25;
}

.metric-number {
    font-family: var(--f-display);
    font-size: clamp(3.5rem, 7vw, 5.5rem);
    letter-spacing: 2px;
    line-height: 1; margin-bottom: 10px;
    display: inline-block;
    background: linear-gradient(180deg, #fff 0%, var(--red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 16px var(--red-glow-soft));
}

.metric-label {
    font-family: var(--f-mono);
    color: var(--red);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 10px;
    opacity: .85;
}

/* ═══════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════ */
.gallery {
    background: var(--bg-2);
    padding: 130px 0;
}

.gallery-header { margin-bottom: 64px; }
.gallery-title > span {
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--red);
    letter-spacing: 3px;
    text-transform: uppercase;
}
.gallery-title h2 {
    font-family: var(--f-display);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    letter-spacing: 2px;
    text-transform: uppercase;
    line-height: 1;
    margin-top: 10px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 300px;
    gap: 10px;
}

.gallery-item {
    position: relative;
    border-radius: var(--r-xs);
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: border-color .35s, box-shadow .35s;
}
.gallery-item:hover { border-color: var(--border-lit); box-shadow: 0 0 40px rgba(232,0,13,.12); }
.gallery-item.tall { grid-row: span 2; }
.gallery-item.wide { grid-column: span 2; }

.gallery-img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(.7) saturate(.6);
    transition: transform .8s var(--ease), filter .8s;
}

.gallery-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(4,3,4,.96) 0%, rgba(20,0,4,.5) 50%, transparent 100%);
    opacity: 0;
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 26px;
    transition: opacity .4s;
}

/* Red top border sweep */
.gallery-overlay::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--red), transparent);
    transform: scaleX(0); transform-origin: left;
    transition: transform .55s var(--ease);
    box-shadow: 0 0 12px var(--red-glow);
}

.gallery-item:hover .gallery-img { transform: scale(1.09); filter: brightness(.82) saturate(.9); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-item:hover .gallery-overlay::before { transform: scaleX(1); }

.builder-name {
    font-family: var(--f-display);
    font-size: 20px;
    letter-spacing: 2px;
    color: #fff;
    display: flex; align-items: center; gap: 8px;
}

.build-specs {
    font-family: var(--f-mono);
    font-size: 11px;
    color: var(--red);
    margin-top: 6px;
    letter-spacing: 1.5px;
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════ */
.testimonials {
    background: var(--bg-1);
    padding: 110px 0;
    position: relative; overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(circle at 8%  25%, rgba(232,0,13,.045) 0%, transparent 40%),
        radial-gradient(circle at 92% 75%, rgba(232,0,13,.04)  0%, transparent 40%);
    pointer-events: none;
}

.section-header { margin-bottom: 64px; }
.section-header h2 {
    font-family: var(--f-display);
    font-size: clamp(2.8rem, 5vw, 4.5rem);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.test-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    position: relative; z-index: 1;
}

.test-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 34px 26px;
    border-radius: var(--r-xs);
    position: relative; overflow: hidden;
    transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}

/* Glowing bottom line on hover */
.test-card::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 0; height: 2px;
    background: var(--red);
    box-shadow: 0 0 10px var(--red-glow);
    transition: width .5s var(--ease);
}

.test-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-lit);
    box-shadow: 0 24px 48px rgba(0,0,0,.55), 0 0 36px rgba(232,0,13,.07);
}
.test-card:hover::after { width: 100%; }

.stars { color: var(--red); margin-bottom: 18px; font-size: 14px; filter: drop-shadow(0 0 5px var(--red-glow-soft)); }
.test-text { font-size: 15px; font-weight: 300; font-style: italic; line-height: 1.75; color: var(--text-60); margin-bottom: 26px; }

.user-info { display: flex; align-items: center; gap: 14px; }
.user-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--bg-raised); overflow: hidden;
    border: 1px solid var(--border-lit);
    box-shadow: 0 0 12px rgba(232,0,13,.1);
}
.user-info h4 { font-family: var(--f-display); font-size: 17px; letter-spacing: 1px; }
.user-info span { font-family: var(--f-mono); font-size: 11px; }

/* ═══════════════════════════════════════════
   FINAL CTA
═══════════════════════════════════════════ */
.final-cta {
    background: var(--bg-0);
    padding: 130px 0;
    text-align: center;
    position: relative; overflow: hidden;
    border-top: 1px solid var(--border);
}

/* Animated red beam */
.final-cta::before {
    content: '';
    position: absolute;
    top: 50%; left: -70%;
    width: 220%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--red), transparent);
    animation: beam 6s linear infinite;
    opacity: .35;
}
@keyframes beam {
    0%   { transform: translateX(-30%) rotate(8deg); }
    100% { transform: translateX(30%) rotate(8deg); }
}

/* Deep glow */
.final-cta::after {
    content: '';
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px; height: 600px;
    background: radial-gradient(ellipse, rgba(232,0,13,.05) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content { position: relative; z-index: 2; }

.cta-content h2 {
    font-family: var(--f-display);
    font-size: clamp(3rem, 6vw, 6rem);
    letter-spacing: 4px;
    text-transform: uppercase;
    line-height: .95;
    margin-bottom: 40px;
    background: linear-gradient(160deg, #fff 0%, var(--red-hot) 55%, var(--red-deep) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 28px var(--red-glow-soft));
}

.btn-glow {
    background: var(--red);
    color: #fff;
    font-family: var(--f-display);
    font-size: 20px;
    letter-spacing: 3px;
    padding: 18px 52px;
    width: 100%; max-width: 320px;
    border: none; cursor: pointer;
    clip-path: polygon(14px 0%, 100% 0%, calc(100% - 14px) 100%, 0% 100%);
    animation: ctaPulse 2.8s infinite;
    transition: background .3s, transform .3s;
    position: relative; overflow: hidden;
}
.btn-glow::after {
    content: '';
    position: absolute; top: 0; left: -80%; width: 60%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,.18), transparent);
    transition: left .55s ease;
}
.btn-glow:hover::after { left: 130%; }
.btn-glow:hover { background: var(--red-hot); transform: scale(1.05) translateY(-3px); }

@keyframes ctaPulse {
    0%   { box-shadow: 0 0 0 0 rgba(232,0,13,.55); }
    70%  { box-shadow: 0 0 0 24px rgba(232,0,13,0); }
    100% { box-shadow: 0 0 0 0 rgba(232,0,13,0); }
}

/* ═══════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════ */
.footer-back-to-top {
    background: var(--bg-raised);
    color: var(--red);
    text-align: center;
    padding: 14px;
    font-family: var(--f-mono);
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .3s;
    border-bottom: 1px solid var(--border);
}
.footer-back-to-top:hover { background: #1c0c10; }

footer {
    background: var(--bg-0);
    border-top: 1px solid var(--border);
    padding-bottom: 48px;
    font-size: 14px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 44px;
    padding: 64px 0;
    border-bottom: 1px solid var(--border);
}

.footer-col h3 {
    font-family: var(--f-mono);
    color: var(--text-100);
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    margin-bottom: 22px;
}

.footer-col ul li { margin-bottom: 13px; }
.footer-col ul li a {
    color: var(--text-60);
    font-weight: 300;
    font-size: 14px;
    transition: color .25s;
}
.footer-col ul li a:hover { color: var(--red); }

.footer-bottom {
    padding-top: 32px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 20px;
}

.footer-logo {
    font-family: var(--f-display);
    font-size: 24px;
    letter-spacing: 5px;
    text-shadow: 0 0 18px rgba(232,0,13,.2);
}
.footer-logo span { color: var(--red); }

.footer-copyright { font-family: var(--f-mono); font-size: 11px; color: var(--text-40); letter-spacing: 1px; }

/* ═══════════════════════════════════════════
   TOAST
═══════════════════════════════════════════ */
.toast {
    position: fixed; bottom: 32px; left: 50%;
    transform: translateX(-50%) translateY(120px);
    background: var(--bg-card);
    color: var(--text-100);
    border: 1px solid var(--border-lit);
    padding: 14px 28px;
    border-radius: var(--r-xs);
    font-family: var(--f-mono);
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    box-shadow: 0 0 36px rgba(232,0,13,.22), 0 12px 36px rgba(0,0,0,.7);
    opacity: 0;
    transition: all .5s var(--ease);
    z-index: 999;
    display: flex; align-items: center; gap: 12px;
    width: max-content; max-width: 92%;
    clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast i { color: var(--red); }

/* ═══════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════ */
@media (max-width: 992px) {
    .hero-inner, .features-inner, .blueprint-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-eyebrow { justify-content: center; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { margin-top: 24px; min-height: auto; }
    .blueprint-visual { order: 2; margin-bottom: 40px; }
    .blueprint-content { order: 1; }
    .blueprint-desc { border: none; padding: 0; box-shadow: none; }
    .gallery-item.wide { grid-column: auto; }
    .hs-1{top:30%;left:70%;} .hs-2{top:50%;left:20%;} .hs-3{top:70%;left:75%;}
    .video-section { height: 62vh; }
}

@media (max-width: 768px) {
    nav ul {
        display: none;
        position: fixed; inset: 0;
        background: rgba(4,3,4,.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 36px;
    }
    nav ul.nav-active { display: flex; }
    .menu-toggle { display: block; }
    .features, .blueprint, .gallery, .testimonials { padding: 70px 0; }
    .metrics { padding: 50px 0; }
    .metrics-grid { grid-template-columns: 1fr; gap: 20px; }
    .metric-item:not(:last-child)::after { display: none; }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-copyright { text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 18px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item.tall { grid-row: auto; }
    .footer-content { grid-template-columns: 1fr; }
    .scroll-strap-container { margin-top: -20px; }
    .video-title { font-size: 3.2rem; letter-spacing: 2px; }
    .info-box { padding: 20px; }
}