.alert-badge,
.sale-title {
    color: #fff;
    margin-bottom: 20px
}

.p-badge,
nav {
    top: 0;
    left: 0
}

.cart-btn,
.filter-btn,
.logo,
.p-badge,
.section-title,
.trust-card h3 {
    text-transform: uppercase
}

.hero,
.p-card {
    perspective: 1000px
}

.sale-title,
.section-title,
h1 {
    line-height: .9
}

.legacy-title .highlight,
h1 span {
    -webkit-text-stroke: 1px #fff;
    color: transparent
}

:root {
    --bg-dark: #0a0a0a;
    --neon: #07b410;
    --alert: #ff3333;
    --surface: #111;
    --border: #333;
    --font-head: system-ui;
    --font-mono: 'Courier New', monospace;
    --bg: #0a0a0a;
    --surface: #121212;
    --text-main: #ffffff;
    --accent: #07b410;
    --accent-glow: rgba(204, 255, 0, 0.4);
    --font-display: 'Impact', 'Oswald', sans-serif;
    --font-body: 'Courier New', monospace;
    --scroll-pct: 0;
    --text-gray: #888
}

.flash-sale-section {
    position: relative;
    background: var(--alert);
    padding: 5px;
    overflow: hidden
}

.sale-container {
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 60px 8%;
    position: relative;
    z-index: 2
}

.price-lock,
.timer-box {
    align-items: center;
    display: flex
}

.sale-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0, 0, 0, .1) 10px, rgba(0, 0, 0, .1) 20px);
    pointer-events: none
}

.alert-badge {
    background: var(--alert);
    display: inline-block;
    padding: 5px 10px;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: .8rem;
    letter-spacing: 2px;
    animation: 2s infinite blink
}

.sale-title {
    font-family: var(--font-head);
    font-size: clamp(3rem, 6vw, 5rem)
}

.price-lock,
.sale-desc,
.timer-box {
    margin-bottom: 30px
}

.glitch-text {
    position: relative;
    color: var(--neon)
}

.glitch-text::after,
.glitch-text::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark)
}

.glitch-text::before {
    left: 2px;
    text-shadow: -1px 0 red;
    clip: rect(24px, 550px, 90px, 0);
    animation: 3s linear infinite alternate-reverse glitch-anim
}

.glitch-text::after {
    left: -2px;
    text-shadow: -1px 0 #00f;
    clip: rect(85px, 550px, 140px, 0);
    animation: 2s linear infinite alternate-reverse glitch-anim
}

.sale-desc {
    color: #ccc;
    max-width: 400px;
    font-family: var(--font-mono)
}

.timer-box {
    gap: 15px;
    font-family: var(--font-head);
    font-size: 2rem;
    color: #fff
}

.old-price,
.time-unit small {
    font-family: var(--font-mono)
}

.time-unit {
    display: flex;
    flex-direction: column;
    align-items: center
}

.time-unit small {
    font-size: .7rem;
    color: #888
}

.price-lock {
    gap: 20px
}

.old-price {
    text-decoration: line-through;
    color: #666
}

.claim-btn,
.new-price,
.trust-card h3 {
    font-family: var(--font-head)
}

.new-price {
    font-size: 2.5rem;
    color: var(--alert)
}

.claim-btn {
    background: #fff;
    color: #000;
    padding: 15px 40px;
    text-decoration: none;
    font-size: 1.2rem;
    display: inline-block;
    transition: .3s
}

.claim-btn:hover {
    background: var(--alert);
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 51, 51, .4)
}

.sale-visual {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center
}

.holo-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed var(--neon);
    border-radius: 50%;
    animation: 20s linear infinite spin;
    opacity: .3
}

.bundle-img {
    width: 120%;
    transform: rotate(-15deg);
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, .8));
    transition: transform .5s
}

.sale-container:hover .bundle-img {
    transform: rotate(0) scale(1.1)
}

.trust-grid-section {
    background: #000;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2px;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333
}

.trust-card {
    background: var(--bg-dark);
    padding: 40px;
    border-right: 1px solid #222;
    transition: .3s
}

.trust-card:hover {
    background: #0f0f0f
}

.trust-card.active {
    background: #111;
    border-bottom: 2px solid var(--neon)
}

.icon-box {
    color: var(--neon);
    width: 40px;
    height: 40px;
    margin-bottom: 20px
}

.trust-card h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 10px
}

.terminal-body,
.terminal-btn,
.trust-card p,
.win-title {
    font-family: var(--font-mono)
}

.trust-card p {
    color: #888;
    font-size: .9rem;
    line-height: 1.5
}

.terminal-contact-section {
    background: var(--bg-dark);
    padding: 80px 5%;
    display: flex;
    justify-content: center
}

.terminal-window {
    width: 100%;
    max-width: 800px;
    background: rgba(20, 20, 20, .9);
    border: 1px solid var(--border);
    box-shadow: 0 0 50px rgba(0, 0, 0, .5);
    border-radius: 5px;
    overflow: hidden
}

.terminal-header {
    background: #222;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333
}

.btns {
    display: flex;
    gap: 8px
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%
}

.red {
    background: #ff5f56
}

.yellow {
    background: #ffbd2e
}

.green {
    background: #27c93f
}

.win-title {
    margin-left: 20px;
    color: #888;
    font-size: .8rem
}

.terminal-body {
    padding: 40px
}

.cmd-line {
    margin-bottom: 30px;
    color: #fff
}

.prompt {
    color: var(--neon);
    margin-right: 10px
}

.cmd-text {
    animation: 1s steps(20, end) type;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    vertical-align: bottom
}

.input-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px
}

.input-group label {
    color: #666;
    font-size: .8rem
}

.terminal-form input,
.terminal-form textarea {
    background: 0 0;
    border: none;
    border-bottom: 1px solid #444;
    color: #fff;
    font-family: var(--font-mono);
    padding: 10px 0;
    width: 100%;
    outline: 0;
    font-size: 1rem
}

.terminal-form input:focus,
.terminal-form textarea:focus {
    border-color: var(--neon);
    background: rgba(204, 255, 0, .05)
}

.terminal-btn {
    background: 0 0;
    border: none;
    color: var(--neon);
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 20px;
    padding: 0;
    text-align: left
}

.prod-section,
body {
    background-color: var(--bg)
}

.terminal-btn:hover {
    text-decoration: underline;
    text-shadow: 0 0 10px var(--neon)
}

.footer-links {
    margin-top: 50px;
    border-top: 1px dashed #333;
    padding-top: 20px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap
}

.footer-links a {
    color: #666;
    text-decoration: none;
    font-size: .8rem;
    transition: .2s
}

.footer-links a:hover,
.legacy-desc strong {
    color: #fff
}

@keyframes spin {
    100% {
        transform: rotate(360deg)
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0
    }
}

@keyframes glitch-anim {
    0% {
        clip: rect(42px, 9999px, 44px, 0);
        transform: skew(.5deg)
    }

    5% {
        clip: rect(12px, 9999px, 5px, 0);
        transform: skew(.5deg)
    }

    10% {
        clip: rect(85px, 9999px, 60px, 0);
        transform: skew(.5deg)
    }

    100%,
    15% {
        clip: rect(10px, 9999px, 80px, 0);
        transform: skew(.5deg)
    }
}

@keyframes type {
    from {
        width: 0
    }

    to {
        width: 100%
    }
}

.prod-section {
    padding: 100px 5%;
    border-top: 1px solid #222;
    position: relative;
    overflow: hidden
}

.prod-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 20px
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #fff
}

.filter-btn,
.tech-tag,
body {
    font-family: var(--font-body)
}

.filters {
    display: flex;
    gap: 10px
}

.filter-btn {
    background: 0 0;
    border: 1px solid #333;
    color: #888;
    padding: 8px 16px;
    font-size: .85rem;
    cursor: pointer;
    transition: .3s
}

.filter-btn.active,
.filter-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 10px rgba(204, 255, 0, .1)
}

.prod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px
}

.p-buy-row,
.p-card,
.p-meta,
.p-visual {
    display: flex
}

.p-card {
    background: #0f0f0f;
    border: 1px solid #222;
    position: relative;
    height: 450px;
    flex-direction: column;
    transition: transform .1s linear, box-shadow .3s;
    transform-style: preserve-3d;
    cursor: pointer
}

.p-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 30px rgba(204, 255, 0, .15);
    z-index: 10
}

.p-badge {
    position: absolute;
    background: var(--accent);
    color: #000;
    padding: 5px 10px;
    font-weight: 900;
    font-size: .75rem;
    z-index: 5;
    transform: translateZ(30px)
}

.cart-btn,
.cart-count,
.p-price {
    font-weight: 700
}

.p-badge.new {
    background: #fff
}

.p-visual {
    flex: 1;
    position: relative;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transform-style: preserve-3d
}

.p-grid-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#222 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: .5;
    transform: translateZ(0)
}

.p-img {
    width: 70%;
    height: auto;
    max-height: 200px;
    object-fit: contain;
    transform: translateZ(50px);
    filter: drop-shadow(0 20px 20px rgba(0, 0, 0, .8));
    transition: transform .3s
}

.p-card:hover .p-img {
    transform: translateZ(80px) scale(1.1)
}

.p-info {
    padding: 20px;
    background: #111;
    border-top: 1px solid #222;
    transform: translateZ(20px)
}

.cart-btn,
.p-add-btn {
    background: 0 0;
    cursor: pointer
}

.p-meta {
    gap: 10px;
    margin-bottom: 10px
}

.tech-tag {
    font-size: .7rem;
    color: #666;
    border: 1px solid #333;
    padding: 2px 6px
}

.logo,
.p-title {
    font-family: var(--font-display)
}

.p-title {
    color: #fff;
    font-size: 1.5rem;
    letter-spacing: .5px;
    margin-bottom: 15px
}

.p-buy-row {
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #222;
    padding-top: 15px
}

.cart-count,
.p-add-btn {
    align-items: center;
    display: flex
}

.p-price {
    color: var(--accent);
    font-size: 1.1rem
}

.p-add-btn {
    border: 1px solid #fff;
    color: #fff;
    width: 35px;
    height: 35px;
    justify-content: center;
    transition: .2s;
    font-size: 1.2rem
}

.p-add-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
    transform: rotate(90deg)
}

@media (max-width:768px) {
    .prod-header {
        flex-direction: column;
        align-items: flex-start
    }

    .prod-grid {
        grid-template-columns: 1fr
    }

    .p-card {
        height: 400px
    }

    .p-badge,
    .p-img,
    .p-info {
        transform: translateZ(0) !important
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    color: var(--text-main);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased
}

nav {
    position: fixed;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    z-index: 100;
    background: rgba(10, 10, 10, .8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border)
}

.logo {
    font-size: 1.5rem;
    letter-spacing: -1px;
    color: var(--accent)
}

.cart-btn {
    position: relative;
    border: 1px solid var(--text-main);
    color: var(--text-main);
    padding: 8px 16px;
    font-family: var(--font-body);
    font-size: .8rem
}

.badge,
.btn-main:hover,
.cart-count {
    background: var(--accent)
}

.marquee-text,
h1 {
    font-family: var(--font-display)
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    color: #000;
    width: 20px;
    height: 20px;
    justify-content: center;
    border-radius: 50%;
    font-size: .7rem
}

.hero,
.hero-visual {
    align-items: center
}

.marquee-container {
    position: absolute;
    top: 20vh;
    width: 90%;
    overflow: hidden;
    z-index: 0;
    opacity: .1;
    transform: rotate(-5deg) scale(1.2);
    pointer-events: none
}

.marquee-content {
    white-space: nowrap;
    display: flex;
    animation: 20s linear infinite marquee
}

.marquee-text {
    font-size: 8rem;
    padding-right: 50px;
    -webkit-text-stroke: 2px #fff;
    color: transparent
}

.badge,
.btn-main {
    color: #000;
    font-weight: 900
}

@keyframes marquee {
    0% {
        transform: translateX(0)
    }

    100% {
        transform: translateX(-50%)
    }
}

.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 80px 5% 0;
    max-width: 1600px;
    margin: 0 auto;
    gap: 2rem
}

.hero-text {
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: calc(1 - var(--scroll-pct));
    transform: translateX(calc(var(--scroll-pct) * -100px))
}

.hero-visual,
.product-card-3d {
    position: relative;
    transform-style: preserve-3d
}

.badge {
    display: inline-block;
    padding: 5px 10px;
    font-size: .8rem;
    width: fit-content;
    text-transform: uppercase
}

.btn-main,
.btn-outline {
    padding: 15px 30px;
    text-decoration: none;
    font-family: var(--font-body);
    text-transform: uppercase
}

h1 {
    font-size: clamp(3.5rem, 8vw, 6.5rem);
    text-transform: uppercase;
    color: #fff
}

h1 span {
    display: block
}

p.description {
    color: #888;
    max-width: 450px;
    line-height: 1.5;
    font-size: .9rem;
    border-left: 2px solid var(--accent);
    padding-left: 20px
}

.cta-box {
    display: flex;
    gap: 15px;
    margin-top: 20px
}

.btn-main {
    background: var(--text-main);
    transition: .3s;
    border: 1px solid #fff
}

.btn-main:hover {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow)
}

.btn-outline {
    background: 0 0;
    color: #fff;
    border: 1px solid #333;
    font-weight: 700;
    transition: .2s
}

.btn-outline:hover {
    border-color: #fff
}

.hero-visual {
    height: 600px;
    display: flex;
    justify-content: center
}

.product-card-3d {
    width: 350px;
    height: 500px;
    transform: rotateX(calc(var(--scroll-pct) * 15deg)) rotateY(calc(-15deg + (var(--scroll-pct) * 30deg))) scale(calc(1 - (var(--scroll-pct) * .1)));
    transition: transform .1s linear
}

.card-bg,
.card-img-layer,
.card-ui-layer,
.price-tag,
.spec-box {
    position: absolute
}

.card-bg {
    inset: 0;
    border: 2px solid #333;
    background: linear-gradient(45deg, transparent 48%, #333 49%, #333 51%, transparent 52%), linear-gradient(-45deg, transparent 48%, #333 49%, #333 51%, transparent 52%);
    background-size: 30px 30px;
    background-color: rgba(20, 20, 20, .8);
    transform: translateZ(-50px)
}

.card-img-layer {
    inset: -20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateZ(20px);
    filter: drop-shadow(0 30px 30px rgba(0, 0, 0, .8))
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    will-change: transform
}

.card-ui-layer {
    inset: 0;
    transform: translateZ(60px);
    pointer-events: none
}

.price-tag {
    top: 20px;
    right: -20px;
    background: var(--accent);
    color: #000;
    padding: 15px 20px;
    font-weight: 900;
    font-size: 1.5rem;
    transform: rotate(5deg);
    box-shadow: 10px 10px 0 rgba(0, 0, 0, .5);
    font-family: var(--font-display)
}

.spec-box {
    bottom: 40px;
    left: -20px;
    background: #000;
    border: 1px solid #333;
    color: #fff;
    padding: 15px;
    font-size: .8rem;
    width: 160px;
    box-shadow: -10px 10px 20px rgba(0, 0, 0, .8)
}

.spec-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    border-bottom: 1px solid #222;
    padding-bottom: 2px
}

@media (max-width:968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 100px;
        gap: 0
    }

    .hero-text {
        align-items: center;
        margin-bottom: 50px
    }

    p.description {
        border-left: none;
        border-top: 2px solid var(--accent);
        padding-top: 10px;
        padding-left: 0
    }

    .marquee-text {
        font-size: 5rem
    }

    .hero-visual {
        height: 450px
    }

    .product-card-3d {
        width: 280px;
        height: 400px
    }

    .price-tag {
        right: 0;
        top: 0;
        transform: rotate(0)
    }

    .spec-box {
        left: 0;
        bottom: -20px;
        width: 100%
    }
}

.reveal-group {
    opacity: 0;
    transform: translateY(50px);
    transition: .8s cubic-bezier(.165, .84, .44, 1);
    will-change: transform, opacity
}

.reveal-group.active {
    opacity: 1;
    transform: translateY(0)
}

.delay-100 {
    transition-delay: 0.1s
}

.delay-200 {
    transition-delay: 0.2s
}

.delay-300 {
    transition-delay: 0.3s
}

.delay-400 {
    transition-delay: 0.4s
}

.legacy-section {
    background: var(--bg-dark);
    padding: 100px 5%;
    border-bottom: 1px solid var(--border);
    overflow: hidden
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center
}

.legacy-points,
.point {
    gap: 15px;
    display: flex
}

.tech-label {
    font-family: var(--font-mono);
    color: var(--neon);
    font-size: .8rem;
    letter-spacing: 2px;
    margin-bottom: 20px;
    display: inline-block;
    border: 1px solid var(--neon);
    padding: 5px 10px
}

.legacy-title {
    font-family: var(--font-head);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: #fff;
    line-height: 1;
    margin-bottom: 30px;
    text-transform: uppercase
}

.coords,
.point {
    font-family: var(--font-mono)
}

.legacy-desc {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 30px;
    font-size: 1.1rem
}

.legacy-points {
    flex-direction: column
}

.point {
    align-items: center;
    color: #fff;
    font-size: .9rem
}

.coords,
.p-icon {
    color: var(--neon)
}

.p-icon {
    font-weight: 700
}

.map-card {
    background: 0 0/20px 20px #151515;
    border: 1px solid var(--border);
    height: 400px;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 30px;
    background-image: radial-gradient(#333 1px, transparent 1px);
    box-shadow: 20px 20px 0 #141414
}

.location-pin {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%)
}

.pin-dot {
    width: 10px;
    height: 10px;
    background: var(--neon);
    border-radius: 50%;
    position: relative;
    z-index: 2
}

.pin-pulse {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 30px;
    height: 30px;
    border: 1px solid var(--neon);
    border-radius: 50%;
    animation: 2s infinite ping
}

.card-details h3 {
    color: #fff;
    font-family: var(--font-head);
    font-size: 1.5rem;
    letter-spacing: 1px
}

.coords {
    font-size: .8rem;
    margin-top: 5px
}

.section-head,
.stat-num {
    font-family: var(--font-head)
}

.metrics-section {
    background: #050505;
    padding: 100px 5%
}

.metrics-container {
    max-width: 1200px;
    margin: 0 auto
}

.section-head {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 60px;
    text-align: center
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px
}

.stat-card {
    background: #0f0f0f;
    border: 1px solid #222;
    padding: 40px 20px;
    text-align: center;
    transition: .3s;
    position: relative;
    overflow: hidden
}

.stat-card:hover {
    border-color: var(--neon);
    transform: translateY(-10px)
}

.stat-icon {
    color: #fff;
    width: 40px;
    height: 40px;
    margin: 0 auto 20px;
    opacity: .5;
    transition: .3s
}

.stat-card:hover .stat-icon {
    color: var(--neon);
    opacity: 1;
    transform: scale(1.1)
}

.stat-num {
    font-size: 3.5rem;
    color: #fff;
    line-height: 1;
    margin-bottom: 10px
}

.stat-label {
    font-family: var(--font-mono);
    color: #666;
    font-size: .9rem
}

@keyframes ping {
    0% {
        transform: scale(1);
        opacity: 1
    }

    100% {
        transform: scale(2);
        opacity: 0
    }
}

@media (max-width:900px) {
    .sale-container {
        flex-direction: column-reverse;
        text-align: center;
        gap: 40px
    }

    .sale-visual {
        width: 100%;
        height: 300px
    }

    .bundle-img {
        width: 80%
    }

    .footer-links,
    .price-lock,
    .timer-box {
        justify-content: center
    }

    .terminal-body {
        padding: 20px
    }

    .content-wrapper {
        grid-template-columns: 1fr
    }

    .map-card {
        height: 250px;
        margin-top: 30px
    }

    .legacy-title {
        font-size: 2.5rem
    }
}
