/* ============================================
   KUREX — Stylesheet
   ============================================ */

:root {
    --bg: #050608;
    --bg-2: #0a0c11;
    --bg-3: #0e1118;
    --surface: rgba(255, 255, 255, 0.03);
    --surface-2: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    --text: #eef0f4;
    --text-muted: #a4a9b4;
    --text-dim: #6c7280;

    --primary: #00e5ff;
    --primary-2: #6f4dff;
    --primary-glow: rgba(0, 229, 255, 0.45);
    --primary-soft: rgba(0, 229, 255, 0.08);

    --gradient: linear-gradient(135deg, #00e5ff 0%, #6f4dff 100%);
    --gradient-soft: linear-gradient(135deg, rgba(0, 229, 255, 0.15) 0%, rgba(111, 77, 255, 0.15) 100%);

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 22px;

    --shadow-glow: 0 0 60px -10px var(--primary-glow);
    --shadow-card: 0 20px 60px -25px rgba(0, 0, 0, 0.7);

    --easing: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Registered custom props — smooth gradient angle on homepage */
@property --gradient-angle {
    syntax: '<angle>';
    inherits: true;
    initial-value: 135deg;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ----- Background Layers ----- */
.bg-grid,
.bg-glow,
.bg-noise {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
}

.bg-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 75%);
}

.bg-glow {
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.55;
    animation: float 18s ease-in-out infinite;
}

.bg-glow-1 {
    width: 600px;
    height: 600px;
    top: -150px;
    left: -150px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.4), transparent 70%);
}

.bg-glow-2 {
    width: 700px;
    height: 700px;
    top: 30%;
    right: -200px;
    background: radial-gradient(circle, rgba(111, 77, 255, 0.35), transparent 70%);
    animation-delay: -9s;
    animation-duration: 22s;
}

.bg-noise {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.025;
    mix-blend-mode: overlay;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, 60px) scale(1.1); }
}

/* ----- Typography ----- */
h1, h2, h3, h4 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

p { color: var(--text-muted); }

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

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* ----- Homepage: living gradients & motion ----- */
.page-home {
    --gradient: linear-gradient(var(--gradient-angle), #00e5ff 0%, #6f4dff 100%);
    --gradient-soft: linear-gradient(var(--gradient-angle), rgba(0, 229, 255, 0.16) 0%, rgba(111, 77, 255, 0.12) 100%);
    animation: home-gradient-angle 22s ease-in-out infinite;
}

@keyframes home-gradient-angle {
    0%, 100% { --gradient-angle: 108deg; }
    33% { --gradient-angle: 148deg; }
    66% { --gradient-angle: 182deg; }
}

.page-home .bg-grid {
    animation: home-grid-drift 90s linear infinite;
}

@keyframes home-grid-drift {
    0% { background-position: 0 0, 0 0; }
    100% { background-position: 60px 60px, 60px 60px; }
}

.page-home .bg-glow {
    animation: home-glow-float 24s ease-in-out infinite;
}

.page-home .bg-glow-2 {
    animation-name: home-glow-float;
    animation-duration: 28s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-delay: -12s;
}

@keyframes home-glow-float {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 0.55;
    }
    33% {
        transform: translate(48px, 36px) scale(1.08) rotate(6deg);
        opacity: 0.62;
    }
    66% {
        transform: translate(-28px, 52px) scale(1.04) rotate(-4deg);
        opacity: 0.5;
    }
}

.page-home .hero-badge {
    animation: home-badge-pulse 5s ease-in-out infinite;
}

@keyframes home-badge-pulse {
    0%, 100% {
        border-color: rgba(0, 229, 255, 0.2);
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0);
    }
    50% {
        border-color: rgba(0, 229, 255, 0.38);
        box-shadow: 0 0 28px -6px rgba(0, 229, 255, 0.35);
    }
}

.page-home .hero-badge .dot {
    animation: home-badge-dot 2s ease-in-out infinite;
}

@keyframes home-badge-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.15); opacity: 0.85; }
}

.page-home .stars span {
    animation: home-star-twinkle 3.6s ease-in-out infinite;
}

.page-home .stars span:nth-child(1) { animation-delay: 0s; }
.page-home .stars span:nth-child(2) { animation-delay: 0.12s; }
.page-home .stars span:nth-child(3) { animation-delay: 0.24s; }
.page-home .stars span:nth-child(4) { animation-delay: 0.36s; }
.page-home .stars span:nth-child(5) { animation-delay: 0.48s; }

@keyframes home-star-twinkle {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 4px var(--primary-glow)); }
    45% { transform: scale(1.08); filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.65)); }
}

.page-home .hero-title .title-line.gradient-text {
    background-size: 200% 200%;
    animation: home-title-gradient-pan 18s ease-in-out infinite;
}

@keyframes home-title-gradient-pan {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@media (prefers-reduced-motion: reduce) {
    .page-home {
        animation: none !important;
        --gradient-angle: 135deg !important;
    }

    .page-home .bg-grid,
    .page-home .bg-glow,
    .page-home .bg-glow-2,
    .page-home .hero-badge,
    .page-home .hero-badge .dot,
    .page-home .stars span,
    .page-home .hero-title .title-line.gradient-text {
        animation: none !important;
    }

    .page-home .hero-v2-right .kurex-ui {
        animation: none !important;
        transform: perspective(1500px) rotateY(-6deg) rotateX(3deg);
    }

    .page-home .hero-title .title-line.gradient-text {
        background-size: 100% 100%;
    }
}

/* ----- Buttons ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s var(--easing);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s var(--easing);
}

.btn:hover svg {
    transform: translateX(3px);
}

.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-block { width: 100%; }

.btn-primary {
    background: var(--gradient);
    color: #04060a;
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 0 0 0 rgba(0, 229, 255, 0);
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #6f4dff 0%, #00e5ff 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover {
    box-shadow: 0 10px 40px -10px var(--primary-glow), 0 0 0 1px rgba(0, 229, 255, 0.3);
    transform: translateY(-2px);
}
.btn-primary:hover::before { opacity: 1; }
.btn-primary > * { position: relative; z-index: 1; }

.btn-ghost {
    background: var(--surface);
    color: var(--text);
    border-color: var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.btn-ghost:hover {
    background: var(--surface-2);
    border-color: var(--border-strong);
    transform: translateY(-2px);
}

/* ----- Navigation ----- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: all 0.4s var(--easing);
}

.nav.scrolled {
    padding: 12px 0;
    background: rgba(5, 6, 8, 0.7);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
    border-bottom: 0;
    box-shadow: 0 8px 26px -18px rgba(0, 0, 0, 0.75);
}

.nav-inner {
    width: min(1200px, 92%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.18em;
    color: var(--text);
}

.logo-mark {
    width: 28px;
    height: 28px;
    color: var(--primary);
    display: inline-flex;
    filter: drop-shadow(0 0 6px var(--primary-glow));
    animation: spin-slow 30s linear infinite;
}

.logo-mark svg {
    width: 100%;
    height: 100%;
}

@keyframes spin-slow {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width 0.3s var(--easing);
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a:hover::after { width: 100%; }

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-cta .btn-primary {
    min-width: 138px;
    justify-content: center;
}

@media (max-width: 720px) {
    .nav-cta .btn-primary {
        min-width: 44px;
    }
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: 0;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.cart-link {
    position: relative;
    gap: 8px !important;
    min-width: 70px;
    justify-content: center;
}

.cart-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 22px;
    padding: 0;
    border-radius: 999px;
    background: var(--surface-2);
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1;
    font-family: 'JetBrains Mono', monospace;
    font-variant-numeric: tabular-nums;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.cart-badge.has-items {
    background: var(--primary);
    color: #04060a;
    box-shadow: 0 0 12px -2px var(--primary-glow);
}

/* Reserve space for JS-injected language switcher to prevent layout shift */
.lang-switcher-slot {
    display: inline-flex;
    align-items: center;
    min-width: 132px;
    min-height: 36px;
    flex-shrink: 0;
}

@media (max-width: 899px) {
    .lang-switcher-slot {
        min-width: 64px;
    }
}

@media (max-width: 720px) {
    .lang-switcher-slot {
        min-width: 56px;
        min-height: 34px;
    }
}

/* Anti-flicker: hide translatable text until i18n applied (with timeout fallback) */
html.i18n-pending [data-i18n],
html.i18n-pending [data-i18n-html] {
    opacity: 0;
}

html.i18n-pending [data-i18n].i18n-no-fade,
html.i18n-pending [data-i18n-html].i18n-no-fade {
    opacity: 1;
}

html:not(.i18n-pending) [data-i18n],
html:not(.i18n-pending) [data-i18n-html] {
    transition: opacity 0.15s ease;
}

/* ----- Hero ----- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-inner {
    width: min(1200px, 92%);
    margin: 0 auto;
    max-width: 720px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 7px 14px;
    border-radius: 999px;
    background: var(--surface);
    border: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-muted);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    margin-bottom: 32px;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    margin-bottom: 24px;
}

.title-line {
    display: block;
}

.hero-sub {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    max-width: 600px;
    margin-bottom: 40px;
    color: var(--text-muted);
}

.hero-sub strong {
    color: var(--text);
    font-weight: 600;
}

.hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    max-width: 600px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 6px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Hero Visual / Scope */
.hero-visual {
    position: absolute;
    right: max(-100px, -8vw);
    top: 50%;
    transform: translateY(-50%);
    width: clamp(380px, 45vw, 620px);
    height: clamp(380px, 45vw, 620px);
    z-index: 1;
    opacity: 0.95;
    pointer-events: none;
}

.scope {
    position: absolute;
    inset: 0;
}

.scope-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(0, 229, 255, 0.18);
}

.scope-ring-outer {
    border-color: rgba(0, 229, 255, 0.25);
    animation: rotate 40s linear infinite;
}

.scope-ring-outer::before,
.scope-ring-outer::after {
    content: "";
    position: absolute;
    border: 1px solid var(--primary);
    border-radius: 50%;
    box-sizing: border-box;
}

.scope-ring-outer::before {
    inset: -1px;
    clip-path: polygon(0 0, 100% 0, 100% 12%, 0 12%, 0 0);
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.scope-ring-outer::after {
    inset: -1px;
    clip-path: polygon(0 88%, 100% 88%, 100% 100%, 0 100%);
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
}

.scope-ring-mid {
    inset: 18%;
    border-color: rgba(0, 229, 255, 0.35);
    border-style: dashed;
    animation: rotate 25s linear infinite reverse;
}

.scope-ring-inner {
    inset: 36%;
    border-color: rgba(0, 229, 255, 0.5);
    animation: rotate 18s linear infinite;
}

@keyframes rotate {
    to { transform: rotate(360deg); }
}

.scope-cross {
    position: absolute;
    inset: 30%;
    pointer-events: none;
}

.scope-cross .line {
    position: absolute;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.scope-cross .line-h {
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    transform: translateY(-50%);
}

.scope-cross .line-v {
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    transform: translateX(-50%);
    background: linear-gradient(180deg, transparent, var(--primary), transparent);
}

.scope-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 20px var(--primary), 0 0 40px var(--primary-glow);
    animation: pulse 2.5s ease-in-out infinite;
}

.scope-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 30px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid var(--primary);
    animation: pulse-ring 2.5s ease-out infinite;
}

@keyframes pulse-ring {
    0% { transform: translate(-50%, -50%) scale(0.5); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(6); opacity: 0; }
}

.scope-target {
    position: absolute;
    width: 36px;
    height: 36px;
    border: 1px solid var(--primary);
    box-shadow: 0 0 14px var(--primary-glow);
    border-radius: 4px;
    opacity: 0;
}

.scope-target::before,
.scope-target::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border: 1px solid var(--primary);
}

.scope-target::before {
    top: -1px;
    left: -1px;
    border-right: 0;
    border-bottom: 0;
}

.scope-target::after {
    bottom: -1px;
    right: -1px;
    border-left: 0;
    border-top: 0;
}

.target-1 {
    top: 30%;
    left: 25%;
    animation: target-blink 4s ease-in-out infinite;
    animation-delay: 0.5s;
}

.target-2 {
    top: 60%;
    left: 65%;
    animation: target-blink 4s ease-in-out infinite;
    animation-delay: 1.8s;
}

.target-3 {
    top: 22%;
    left: 70%;
    animation: target-blink 4s ease-in-out infinite;
    animation-delay: 3s;
}

@keyframes target-blink {
    0%, 100% { opacity: 0; transform: scale(0.8); }
    20%, 80% { opacity: 1; transform: scale(1); }
}

.scope-data {
    position: absolute;
    bottom: 10%;
    left: 12%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.72rem;
    color: var(--primary);
    text-shadow: 0 0 6px var(--primary-glow);
    letter-spacing: 0.1em;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 38px;
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
    z-index: 2;
}

.hero-scroll span {
    width: 2px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scroll-down 2s ease-in-out infinite;
}

@keyframes scroll-down {
    0% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(10px); opacity: 0.4; }
    100% { transform: translateY(0); opacity: 1; }
}

/* ----- Section ----- */
.section {
    width: min(1200px, 92%);
    margin: 0 auto;
    padding: 120px 0;
    position: relative;
}

.section-alt {
    width: 100%;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(0, 229, 255, 0.04), transparent 50%),
        var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.section-alt > .section-head,
.section-alt > .why-grid,
.section-alt > .pricing-grid,
.section-alt > .feature-block,
.section-alt > .testimonial-grid,
.section-alt > .misc-grid,
.section-alt > .specs-grid,
.section-alt > .product-detail {
    width: min(1200px, 92%);
    margin-left: auto;
    margin-right: auto;
}

.section-alt {
    padding: 120px 0;
}

.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.eyebrow {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 18px;
}

.section-sub {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* ----- Feature Grid ----- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 22px;
}

.feature-card {
    position: relative;
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.4s var(--easing);
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(0, 229, 255, 0.08), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.feature-card:hover {
    border-color: rgba(0, 229, 255, 0.25);
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient-soft);
    border: 1px solid rgba(0, 229, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 22px;
}

.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-list li {
    color: var(--text-muted);
    font-size: 0.92rem;
    padding-left: 20px;
    position: relative;
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 6px var(--primary-glow);
}

/* ----- Why Grid ----- */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-3);
}

.why-item {
    padding: 36px 32px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s ease;
    position: relative;
}

.why-item:hover {
    background: var(--surface);
}

.why-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 14px;
    letter-spacing: 0.1em;
}

.why-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.why-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* ----- Hardware Grid ----- */
.hardware-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
    margin-bottom: 32px;
}

.hardware-card {
    position: relative;
    padding: 28px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s var(--easing);
}

.hardware-card:hover {
    border-color: rgba(0, 229, 255, 0.25);
    transform: translateY(-3px);
}

.hw-tag {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(0, 229, 255, 0.25);
    letter-spacing: 0.06em;
}

.hw-tag-pro {
    background: rgba(111, 77, 255, 0.12);
    color: #a48cff;
    border-color: rgba(111, 77, 255, 0.3);
}

.hardware-card h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.hw-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 14px;
}

.hardware-card p {
    font-size: 0.92rem;
}

.hardware-card-info {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.06), rgba(111, 77, 255, 0.06));
    border-color: rgba(0, 229, 255, 0.2);
}

.hw-fw {
    list-style: none;
    margin-top: 8px;
}

.hw-fw li {
    color: var(--text-muted);
    font-size: 0.92rem;
    padding: 6px 0;
    border-bottom: 1px dashed var(--border);
}

.hw-fw li:last-child { border-bottom: 0; }

.hardware-note {
    padding: 18px 22px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.95rem;
}

.hardware-note strong { color: var(--text); }

/* ----- Pricing Grid ----- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    align-items: stretch;
}

.price-card {
    position: relative;
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    transition: all 0.4s var(--easing);
}

.price-card:hover {
    border-color: rgba(0, 229, 255, 0.25);
    transform: translateY(-4px);
}

.price-featured {
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.08) 0%, rgba(111, 77, 255, 0.05) 100%);
    border-color: rgba(0, 229, 255, 0.35);
    box-shadow: 0 0 0 1px rgba(0, 229, 255, 0.15), 0 30px 80px -30px rgba(0, 229, 255, 0.4);
}

.price-featured::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: var(--gradient);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.price-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.price-head h3 {
    font-size: 1.1rem;
    color: var(--text);
}

.price-tag {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--surface-2);
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid var(--border);
    letter-spacing: 0.05em;
}

.price-tag-hot {
    color: var(--primary);
    background: var(--primary-soft);
    border-color: rgba(0, 229, 255, 0.25);
}

.price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-family: 'Space Grotesk', sans-serif;
    margin-bottom: 14px;
}

.price .currency {
    font-size: 1.4rem;
    color: var(--text-muted);
    font-weight: 600;
}

.price .amount {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
}

.price .cents {
    font-size: 1.4rem;
    color: var(--text-muted);
    font-weight: 600;
}

.price-desc {
    font-size: 0.9rem;
    margin-bottom: 22px;
    min-height: 42px;
}

.price-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 26px;
    flex-grow: 1;
}

.price-list li {
    color: var(--text);
    font-size: 0.9rem;
    padding-left: 24px;
    position: relative;
}

.price-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-soft);
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.price-list li::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.7em;
    width: 5px;
    height: 3px;
    border-left: 1.5px solid var(--primary);
    border-bottom: 1.5px solid var(--primary);
    transform: rotate(-45deg);
}

/* ----- FAQ ----- */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item[open] {
    border-color: rgba(0, 229, 255, 0.25);
    background: var(--surface-2);
}

.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-weight: 600;
    color: var(--text);
    font-size: 1rem;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--border);
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--text);
    transition: all 0.3s ease;
}

.faq-icon::before {
    width: 10px;
    height: 1.5px;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 1.5px;
    height: 10px;
    transform: translate(-50%, -50%);
}

.faq-item[open] .faq-icon {
    background: var(--primary-soft);
    border-color: rgba(0, 229, 255, 0.3);
}

.faq-item[open] .faq-icon::before { background: var(--primary); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }

.faq-body {
    padding: 0 24px 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

.faq-body strong { color: var(--text); }

.faq-body p { margin-bottom: 12px; }
.faq-body p:last-child { margin-bottom: 0; }

.faq-body ul,
.faq-body ol {
    margin: 12px 0;
    padding-left: 22px;
}

.faq-body ul li,
.faq-body ol li {
    margin-bottom: 8px;
    padding-left: 4px;
}

.faq-body ul li::marker { color: var(--primary); }
.faq-body ol li::marker { color: var(--primary); font-weight: 600; }

.faq-body a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 229, 255, 0.3);
    transition: border-color 0.2s ease;
}

.faq-body a:hover { border-bottom-color: var(--primary); }

.faq-body em {
    font-style: italic;
    color: var(--text-muted);
}

/* ----- CTA Section ----- */
.cta-section {
    width: min(1200px, 92%);
    margin: 0 auto;
    padding: 100px 0;
}

.cta-card {
    text-align: center;
    padding: 70px 32px;
    border-radius: var(--radius-lg);
    background:
        radial-gradient(ellipse at 50% 100%, rgba(0, 229, 255, 0.15), transparent 60%),
        radial-gradient(ellipse at 50% 0%, rgba(111, 77, 255, 0.12), transparent 60%),
        var(--bg-3);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, black, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 70%);
    pointer-events: none;
}

.cta-card > * { position: relative; }

.cta-card h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 14px;
}

.cta-card p {
    font-size: 1.05rem;
    margin-bottom: 32px;
}

/* ----- Footer ----- */
.footer {
    border-top: 1px solid var(--border);
    background: var(--bg-2);
    padding: 70px 0 30px;
    margin-top: 80px;
}

.footer-inner {
    width: min(1200px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 2fr;
    gap: 60px;
    padding-bottom: 50px;
    border-bottom: 1px solid var(--border);
}

.footer-brand p {
    color: var(--text-muted);
    margin-top: 18px;
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    font-size: 0.92rem;
    padding: 5px 0;
    transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--primary); }

.footer-bottom {
    width: min(1200px, 92%);
    margin: 0 auto;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* ----- Reveal animations ----- */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.8s var(--easing), transform 0.8s var(--easing);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ----- Responsive ----- */
@media (max-width: 960px) {
    .nav-links {
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        background: rgba(5, 6, 8, 0.96);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
        border-bottom: 1px solid var(--border);
        padding: 24px;
        gap: 18px;
        transform: translateY(-110%);
        transition: transform 0.4s var(--easing);
    }

    .nav-links.active { transform: translateY(0); }

    .nav-toggle { display: flex; }

    .hero-visual {
        opacity: 0.35;
        right: -25%;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .section { padding: 80px 0; }
    .section-alt { padding: 80px 0; }
}

@media (max-width: 600px) {
    .hero { padding: 100px 0 60px; }
    .hero-cta { flex-direction: column; align-items: stretch; }
    .hero-cta .btn { justify-content: center; }
    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .footer-cols { grid-template-columns: repeat(2, 1fr); }
    .why-item { padding: 28px 24px; }
    .feature-card { padding: 26px; }
    .cta-card { padding: 50px 22px; }
}

/* ============================================
   v2 — Extended Components
   ============================================ */

/* ----- Active nav link ----- */
.nav-links a.active {
    color: var(--text);
}
.nav-links a.active::after {
    width: 100%;
    background: var(--gradient);
    height: 2px;
}

/* ----- Hero v2 (homepage) ----- */
.hero-v2 {
    padding: 140px 0 60px;
    min-height: auto;
    display: block;
}

.hero-v2-inner {
    width: min(1200px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-v2-left { max-width: 620px; }

.hero-v2 .hero-title { margin-bottom: 22px; }
.hero-v2 .hero-sub { margin-bottom: 32px; }
.hero-v2 .hero-cta { margin-bottom: 32px; }

.hero-trust {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.trust-rating, .trust-users {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.trust-rating strong, .trust-users strong {
    color: var(--text);
    font-weight: 600;
}

.trust-divider {
    width: 1px;
    height: 24px;
    background: var(--border);
}

.stars {
    display: inline-flex;
    gap: 2px;
}

.stars span {
    width: 14px;
    height: 14px;
    background: var(--primary);
    clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    filter: drop-shadow(0 0 4px var(--primary-glow));
}

.avatar-stack {
    display: inline-flex;
}

.avatar-stack .avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00e5ff, #6f4dff);
    border: 2px solid var(--bg);
    margin-left: -8px;
}
.avatar-stack .avatar:first-child { margin-left: 0; }
.avatar-stack .avatar:nth-child(2) { background: linear-gradient(135deg, #6f4dff, #ff4d8d); }
.avatar-stack .avatar:nth-child(3) { background: linear-gradient(135deg, #ffb24d, #ff4d8d); }
.avatar-stack .avatar:nth-child(4) { background: linear-gradient(135deg, #4dffb2, #00e5ff); }

/* ----- Dashboard Mockup ----- */
.hero-v2-right {
    position: relative;
    perspective: 1500px;
}

.dashboard-mockup {
    width: 100%;
    max-width: 460px;
    margin-left: auto;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01)),
        var(--bg-3);
    border: 1px solid var(--border-strong);
    border-radius: 16px;
    box-shadow:
        0 30px 80px -20px rgba(0, 0, 0, 0.7),
        0 0 80px -30px var(--primary-glow);
    overflow: hidden;
    transform: rotateY(-6deg) rotateX(4deg);
    transition: transform 0.6s var(--easing);
    font-family: 'JetBrains Mono', monospace;
}

.hero-v2-right:hover .dashboard-mockup {
    transform: rotateY(0) rotateX(0);
}

.dashboard-mockup-static {
    transform: none;
    margin: 0;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--border);
}

.dashboard-dots {
    display: inline-flex;
    gap: 6px;
}
.dashboard-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--surface-2);
    border: 1px solid var(--border);
}
.dashboard-dots span:first-child { background: #ff5f57; border-color: rgba(0,0,0,0.2); }
.dashboard-dots span:nth-child(2) { background: #ffbd2e; border-color: rgba(0,0,0,0.2); }
.dashboard-dots span:nth-child(3) { background: #27c93f; border-color: rgba(0,0,0,0.2); }

.dashboard-title {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    font-weight: 500;
}

.dashboard-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 0.1em;
}
.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
    animation: pulse 2s ease-in-out infinite;
}

.dashboard-body { padding: 18px 16px; }

.dashboard-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 14px;
    padding: 4px;
    background: var(--bg);
    border-radius: 8px;
    border: 1px solid var(--border);
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 6px 0;
    font-size: 0.72rem;
    color: var(--text-muted);
    border-radius: 5px;
    cursor: pointer;
    letter-spacing: 0.05em;
}

.tab-item.active {
    background: var(--gradient);
    color: #04060a;
    font-weight: 600;
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.control-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 0.78rem;
}

.control-label {
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.control-value {
    color: var(--primary);
    font-weight: 600;
    background: var(--primary-soft);
    padding: 3px 10px;
    border-radius: 5px;
    border: 1px solid rgba(0, 229, 255, 0.2);
    font-size: 0.72rem;
}

.toggle-switch {
    width: 32px;
    height: 18px;
    border-radius: 999px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    position: relative;
    transition: all 0.3s var(--easing);
}
.toggle-switch span {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: all 0.3s var(--easing);
}
.toggle-switch.active {
    background: var(--gradient);
    border-color: var(--primary);
}
.toggle-switch.active span {
    left: 16px;
    background: #04060a;
}

.slider {
    width: 50%;
    height: 18px;
    background: var(--bg);
    border-radius: 999px;
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.slider-fill {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    background: var(--gradient);
    border-radius: 999px;
    box-shadow: 0 0 12px var(--primary-glow);
}
.slider-value {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.68rem;
    color: var(--text);
    font-weight: 600;
    text-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--border);
}

.ds-stat { text-align: center; }
.ds-stat-label {
    font-size: 0.62rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.ds-stat-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 4px;
    text-shadow: 0 0 8px var(--primary-glow);
    font-family: 'Space Grotesk', sans-serif;
}

/* Floating cards */
.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(14, 17, 24, 0.85);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.6), 0 0 30px -10px var(--primary-glow);
    animation: float-y 4s ease-in-out infinite;
    z-index: 3;
}

.float-card-1 {
    top: 15%;
    left: -20px;
    animation-delay: 0s;
}

.float-card-2 {
    bottom: 12%;
    right: -10px;
    animation-delay: -2s;
}

@keyframes float-y {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.fc-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--primary-soft);
    border: 1px solid rgba(0, 229, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}
.fc-icon svg { width: 16px; height: 16px; }

.fc-title {
    font-size: 0.82rem;
    color: var(--text);
    font-weight: 600;
    line-height: 1.2;
}
.fc-sub {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Hero strip */
.hero-strip {
    width: min(1200px, 92%);
    margin: 80px auto 0;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 40px;
    overflow: hidden;
}

.strip-label {
    font-size: 0.75rem;
    color: var(--text-dim);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    flex-shrink: 0;
}

.strip-games {
    display: flex;
    align-items: center;
    gap: 36px;
    flex-wrap: wrap;
}

.strip-games span {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    transition: color 0.2s ease;
}

.strip-games span:hover { color: var(--text); }

/* ----- Stats Bar ----- */
.stats-bar {
    width: 100%;
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 60px 0;
}

.stats-bar-inner {
    width: min(1200px, 92%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.stat-big {
    text-align: center;
    padding: 0 20px;
    border-right: 1px solid var(--border);
}

.stat-big:last-child { border-right: 0; }

.stat-big-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-big-label {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* ----- Steps Grid ----- */
.steps-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 16px;
    align-items: stretch;
    max-width: 1100px;
    margin: 0 auto;
}

.step-card {
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s var(--easing);
}

.step-card:hover {
    border-color: rgba(0, 229, 255, 0.25);
    transform: translateY(-4px);
}

.step-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    color: var(--primary);
    margin-bottom: 16px;
    letter-spacing: 0.1em;
}

.step-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--gradient-soft);
    border: 1px solid rgba(0, 229, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 22px;
}
.step-icon svg { width: 28px; height: 28px; }

.step-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.step-arrow {
    display: flex;
    align-items: center;
    color: rgba(0, 229, 255, 0.4);
}
.step-arrow svg { width: 60px; height: 24px; }

/* ----- Feature Block (alternating) ----- */
.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.feature-block:last-child { margin-bottom: 0; }

.feature-block-reverse .fb-text { order: 2; }
.feature-block-reverse .fb-visual { order: 1; }

.fb-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 18px;
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.fb-text h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 18px;
    letter-spacing: -0.02em;
}

.fb-text p {
    font-size: 1.02rem;
    margin-bottom: 24px;
}

.fb-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fb-list li {
    color: var(--text);
    font-size: 0.95rem;
    padding-left: 26px;
    position: relative;
}

.fb-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-soft);
    border: 1px solid rgba(0, 229, 255, 0.3);
}
.fb-list li::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.7em;
    width: 5px;
    height: 3px;
    border-left: 1.5px solid var(--primary);
    border-bottom: 1.5px solid var(--primary);
    transform: rotate(-45deg);
}

/* AI visual */
.ai-visual {
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.05), rgba(111, 77, 255, 0.04)), var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.ai-visual-lg { padding: 32px; }

.ai-frame {
    position: relative;
    aspect-ratio: 16 / 9;
    background:
        linear-gradient(180deg, rgba(8, 10, 16, 0.52) 0%, rgba(8, 10, 16, 0.28) 35%, rgba(8, 10, 16, 0.65) 100%),
        url("assets/enemy-scene.png"),
        linear-gradient(135deg, #0a0c11, #050608);
    background-size: cover;
    background-position: center;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.ai-grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    pointer-events: none;
}

.ai-detect {
    position: absolute;
    border: 2px solid var(--primary);
    border-radius: 4px;
    box-shadow: 0 0 16px var(--primary-glow);
}

.ai-detect::before, .ai-detect::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    border: 2px solid var(--primary);
}
.ai-detect::before {
    top: -2px; left: -2px;
    border-right: 0; border-bottom: 0;
}
.ai-detect::after {
    bottom: -2px; right: -2px;
    border-left: 0; border-top: 0;
}

.ai-detect-1 {
    top: 22%;
    left: 18%;
    width: 18%;
    height: 50%;
    animation: ai-blink 3s ease-in-out infinite;
}
.ai-detect-2 {
    top: 30%;
    left: 60%;
    width: 16%;
    height: 42%;
    animation: ai-blink 3s ease-in-out infinite;
    animation-delay: 0.4s;
}
.ai-detect-3 {
    top: 35%;
    left: 38%;
    width: 14%;
    height: 38%;
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: none;
    opacity: 0.5;
}
.ai-detect-3::before, .ai-detect-3::after {
    border-color: rgba(255, 255, 255, 0.25);
}

@keyframes ai-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.ai-tag {
    position: absolute;
    top: -22px;
    left: 0;
    background: var(--primary);
    color: #04060a;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 600;
    white-space: nowrap;
    letter-spacing: 0.04em;
}

.ai-tag-mute {
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-muted);
}

.ai-scan {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    box-shadow: 0 0 12px var(--primary);
    animation: ai-scan 4s linear infinite;
}

@keyframes ai-scan {
    0% { transform: translateY(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(450px); opacity: 0; }
}

.ai-meta {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-family: 'JetBrains Mono', monospace;
}

.ai-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    padding: 4px 12px;
    background: var(--bg);
    border-radius: 6px;
    border: 1px solid var(--border);
}

.ai-meta-row span { color: var(--text-muted); letter-spacing: 0.05em; }
.ai-meta-row strong { color: var(--primary); font-weight: 600; }

/* Aim visual */
.aim-visual {
    position: relative;
    aspect-ratio: 4 / 3;
    background-image:
        linear-gradient(180deg, rgba(8, 10, 16, 0.55) 0%, rgba(8, 10, 16, 0.25) 35%, rgba(8, 10, 16, 0.7) 100%),
        url("assets/tracking-scene.png");
    background-size: cover;
    background-position: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.aim-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, 0.45) 100%);
    pointer-events: none;
    z-index: 1;
}

.aim-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.06) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 1;
}

.aim-path {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.6));
}

.aim-cursor {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    box-shadow: 0 0 14px var(--primary-glow);
    background: rgba(0, 229, 255, 0.2);
    z-index: 3;
}

.aim-cursor-start {
    bottom: 8%;
    left: 4%;
    animation: cursor-fade 3s ease-in-out infinite;
}

.aim-cursor-end {
    top: 12%;
    right: 4%;
    width: 18px;
    height: 18px;
    animation: cursor-pulse 3s ease-in-out infinite;
}

@keyframes cursor-fade {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
@keyframes cursor-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); box-shadow: 0 0 24px var(--primary-glow); }
}

.aim-labels {
    position: absolute;
    bottom: 14px;
    right: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    z-index: 3;
}

.aim-label {
    background: rgba(14, 17, 24, 0.85);
    border: 1px solid var(--border);
    backdrop-filter: blur(8px);
    padding: 4px 10px;
    border-radius: 5px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    color: var(--primary);
    letter-spacing: 0.04em;
}

/* Hardware visual */
.hw-visual {
    position: relative;
    aspect-ratio: 4 / 3;
    background:
        radial-gradient(ellipse at center, rgba(0, 229, 255, 0.08), transparent 60%),
        var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    overflow: hidden;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-card);
}

.hw-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--border-strong);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    color: var(--text);
    z-index: 2;
}

.hw-node svg { width: 26px; height: 26px; color: var(--primary); }

.hw-node span {
    font-size: 0.72rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.hw-node-pc { top: 20%; left: 8%; }
.hw-node-hw { top: 20%; right: 8%; }

.hw-node-kurex {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.15), rgba(111, 77, 255, 0.08));
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
    padding: 16px 24px;
}

.hw-node-kurex strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.1em;
}

.hw-pulse {
    position: absolute;
    inset: -4px;
    border-radius: 14px;
    border: 1px solid var(--primary);
    opacity: 0.4;
    animation: hw-pulse 2s ease-out infinite;
    pointer-events: none;
}

@keyframes hw-pulse {
    0% { transform: scale(1); opacity: 0.4; }
    100% { transform: scale(1.4); opacity: 0; }
}

.hw-node-side { padding: 8px 12px; }
.hw-node-side svg { width: 20px; height: 20px; }
.hw-node-console { bottom: 12%; left: 14%; }
.hw-node-cloud { bottom: 12%; right: 14%; }

.hw-line {
    position: absolute;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    z-index: 1;
}
.hw-line-1 { left: 22%; right: 58%; transform: translateY(-50%); }
.hw-line-2 { left: 58%; right: 22%; transform: translateY(-50%); }

.hw-line::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
    animation: line-dot 2s linear infinite;
}
.hw-line-2::before { animation-delay: 1s; }

@keyframes line-dot {
    0% { left: 0; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* ----- Games Grid ----- */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 18px;
}

.game-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s var(--easing);
}

.game-card:hover {
    border-color: rgba(0, 229, 255, 0.25);
    transform: translateY(-4px);
}

.game-thumb {
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
}

.game-thumb::before {
    content: attr(data-game);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.6rem;
    letter-spacing: 0.05em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.game-thumb-cs::before { content: "CS2"; }
.game-thumb-cs { background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%); }

.game-thumb-val::before { content: "VALORANT"; }
.game-thumb-val { background: linear-gradient(135deg, #ef4444 0%, #7f1d1d 100%); }

.game-thumb-apex::before { content: "APEX"; }
.game-thumb-apex { background: linear-gradient(135deg, #b91c1c 0%, #1f2937 100%); }

.game-thumb-fn::before { content: "FORTNITE"; }
.game-thumb-fn { background: linear-gradient(135deg, #6366f1 0%, #4338ca 100%); }

.game-thumb-r6::before { content: "R6 SIEGE"; }
.game-thumb-r6 { background: linear-gradient(135deg, #1f2937 0%, #111827 100%); }

.game-thumb-wz::before { content: "WARZONE"; }
.game-thumb-wz { background: linear-gradient(135deg, #57534e 0%, #292524 100%); }

.game-thumb-pubg::before { content: "PUBG"; }
.game-thumb-pubg { background: linear-gradient(135deg, #f97316 0%, #7c2d12 100%); }

.game-thumb-marvel::before { content: "MARVEL"; }
.game-thumb-marvel { background: linear-gradient(135deg, #dc2626 0%, #6f4dff 100%); }

.game-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.5)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 100% 100%, 30px 30px, 30px 30px;
    pointer-events: none;
}

.game-card h4 {
    font-size: 0.95rem;
    padding: 14px 18px 4px;
}

.game-status {
    display: inline-block;
    margin: 0 18px 14px;
    padding: 3px 8px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.game-status-perf {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.25);
}

.game-status-good {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.12);
    border: 1px solid rgba(96, 165, 250, 0.25);
}

.games-more {
    margin-top: 30px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.games-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 16px;
    color: var(--primary);
    font-weight: 600;
    transition: gap 0.3s ease;
}

.games-link svg { width: 14px; height: 14px; }
.games-link:hover { gap: 12px; }

/* ----- Compare Table ----- */
.compare-table {
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-3);
}

.compare-row {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.compare-row:last-child { border-bottom: 0; }

.compare-cell {
    padding: 18px 22px;
    font-size: 0.95rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.compare-cell:first-child {
    color: var(--text-muted);
    font-weight: 500;
    border-right: 1px solid var(--border);
}

.compare-cell.compare-us {
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.08), rgba(111, 77, 255, 0.04));
    border-right: 1px solid var(--border);
    color: var(--text);
    font-weight: 500;
}

.compare-row.compare-head {
    background: var(--bg-2);
}

.compare-head .compare-cell {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 22px;
}

.compare-head .compare-cell strong {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
}
.compare-head .compare-cell span {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.compare-head .compare-us strong { color: var(--primary); }

.compare-yes, .compare-no, .compare-mid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    flex-shrink: 0;
}

.compare-yes {
    background: rgba(74, 222, 128, 0.15);
    border: 1px solid rgba(74, 222, 128, 0.4);
    position: relative;
}
.compare-yes::after {
    content: "";
    width: 8px; height: 4px;
    border-left: 2px solid #4ade80;
    border-bottom: 2px solid #4ade80;
    transform: rotate(-45deg);
    margin-top: -3px;
}

.compare-no {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    position: relative;
}
.compare-no::before, .compare-no::after {
    content: "";
    position: absolute;
    width: 10px;
    height: 2px;
    background: #ef4444;
}
.compare-no::before { transform: rotate(45deg); }
.compare-no::after { transform: rotate(-45deg); }

.compare-mid {
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
}
.compare-mid::after {
    content: "";
    width: 10px; height: 2px; background: #f59e0b;
}

/* ----- Testimonials ----- */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 20px;
}

.testimonial {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    transition: all 0.3s var(--easing);
    display: flex;
    flex-direction: column;
}

.testimonial:hover {
    border-color: rgba(0, 229, 255, 0.25);
    transform: translateY(-3px);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 16px;
}

.testimonial-stars span {
    width: 16px;
    height: 16px;
    background: var(--primary);
    clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.testimonial p {
    color: var(--text);
    font-size: 0.98rem;
    line-height: 1.6;
    margin-bottom: 22px;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.ta-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00e5ff, #6f4dff);
    flex-shrink: 0;
    position: relative;
    box-shadow: 0 0 0 2px var(--bg-3), 0 4px 12px -2px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.ta-avatar::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.25), transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(0, 0, 0, 0.2), transparent 50%);
}

.testimonial:nth-child(2) .ta-avatar { background: linear-gradient(135deg, #6f4dff, #ff4d8d); }
.testimonial:nth-child(3) .ta-avatar { background: linear-gradient(135deg, #ffb24d, #ff4d8d); }
.testimonial:nth-child(4) .ta-avatar { background: linear-gradient(135deg, #4dffb2, #00e5ff); }
.testimonial:nth-child(5) .ta-avatar { background: linear-gradient(135deg, #ff4d8d, #ffb24d); }
.testimonial:nth-child(6) .ta-avatar { background: linear-gradient(135deg, #00e5ff, #4dffb2); }

.testimonial-author strong {
    display: block;
    color: var(--text);
    font-size: 0.92rem;
}

.testimonial-author span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

/* ----- CTA actions ----- */
.cta-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ----- Footer Social ----- */
.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    color: var(--primary);
    border-color: rgba(0, 229, 255, 0.25);
    background: var(--primary-soft);
    transform: translateY(-2px);
}

.footer-social svg { width: 16px; height: 16px; }

/* ============================================
   Product Page
   ============================================ */

.product-main { padding-top: 80px; }

.product-hero {
    padding: 60px 0 40px;
    text-align: center;
}

.product-hero-inner {
    width: min(900px, 92%);
    margin: 0 auto;
}

.product-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin: 18px 0 18px;
}

.product-hero p {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 620px;
    margin: 0 auto 30px;
}

/* ============================================
   Product catalog listing (product.html)
   Classic rows: thumb · description · price + CTA
   ============================================ */

.products-shop-wrap {
    width: min(960px, 92%);
    margin: 0 auto;
    padding: 28px 0 72px;
}

.products-shop-head {
    margin-bottom: 26px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border);
}

.products-shop-head h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.45rem, 2.8vw, 1.85rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    margin: 0 0 10px;
}

.products-shop-head > p {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 52ch;
    line-height: 1.55;
    margin: 0;
}

.products-shop-meta {
    font-size: 0.82rem;
    color: var(--text-dim);
    margin: 12px 0 0;
}

.products-catalog {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.product-catalog-row {
    display: grid;
    grid-template-columns: 132px 1fr minmax(168px, 220px);
    align-items: stretch;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.product-catalog-row:hover {
    border-color: var(--border-strong);
    box-shadow: var(--shadow-card);
}

.pc-thumb {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-3);
    border-right: 1px solid var(--border);
    padding: 22px 18px;
    min-height: 128px;
}

.pc-thumb svg {
    width: 56px;
    height: 56px;
    color: var(--primary);
}

.pc-thumb-spoof {
    background: linear-gradient(180deg, rgba(111, 77, 255, 0.06), transparent), var(--bg-3);
}

.pc-thumb-spoof svg {
    color: #c5b6ff;
}

.pc-body {
    padding: 22px 24px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.pc-label-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.pc-badge {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 9px;
    border-radius: 4px;
    background: var(--primary-soft);
    color: var(--primary);
    border: 1px solid rgba(0, 229, 255, 0.28);
}

.pc-badge-muted {
    background: transparent;
    color: var(--text-muted);
    border-color: var(--border);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.pc-badge-new {
    background: rgba(111, 77, 255, 0.14);
    color: #c5b6ff;
    border-color: rgba(111, 77, 255, 0.35);
}

.pc-body h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.22rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 4px 0 0;
    line-height: 1.2;
}

.pc-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

.pc-features {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.pc-features li {
    font-size: 0.87rem;
    color: var(--text);
    padding-left: 22px;
    position: relative;
    line-height: 1.45;
}

.pc-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.82rem;
}

.pc-aside {
    padding: 22px 20px;
    border-left: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.015);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.pc-price-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 6px;
}

.pc-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1;
}

.pc-price-note {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 8px;
}

.pc-aside .btn {
    padding: 12px 18px;
    font-size: 0.88rem;
}

.products-shop-note {
    margin-top: 26px;
    padding: 15px 18px;
    font-size: 0.87rem;
    color: var(--text-muted);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    line-height: 1.55;
}

/* Classic, minimal product listing (product.html) */
.products-shop-wrap--classic {
    padding: 20px 0 56px;
}

.products-shop-wrap--classic .products-shop-head {
    margin-bottom: 18px;
    padding-bottom: 14px;
}

.products-shop-wrap--classic .products-shop-head > p {
    max-width: 44ch;
    font-size: 0.9rem;
    line-height: 1.5;
}

.products-shop-wrap--classic .products-catalog {
    gap: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.015);
}

.products-shop-wrap--classic .product-catalog-row {
    background: transparent;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid var(--border);
    box-shadow: none;
}

.products-shop-wrap--classic .product-catalog-row:hover {
    box-shadow: none;
    border-color: var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.products-shop-wrap--classic .products-catalog li:last-child .product-catalog-row {
    border-bottom: none;
}

.products-shop-wrap--classic .pc-thumb {
    min-height: 0;
    padding: 18px 16px;
    background: var(--bg-2);
}

.products-shop-wrap--classic .pc-thumb-spoof {
    background: var(--bg-2);
}

.products-shop-wrap--classic .pc-thumb svg {
    width: 44px;
    height: 44px;
}

.products-shop-wrap--classic .pc-thumb-spoof svg {
    color: var(--text-muted);
}

.products-shop-wrap--classic .pc-body {
    padding: 18px 20px 20px;
    gap: 6px;
}

.products-shop-wrap--classic .pc-body h2 {
    font-size: 1.08rem;
    margin: 0;
}

.products-shop-wrap--classic .pc-desc {
    font-size: 0.86rem;
    line-height: 1.45;
}

.products-shop-wrap--classic .pc-aside {
    padding: 18px 18px;
    background: transparent;
}

.products-shop-wrap--classic .pc-price {
    font-size: 1.35rem;
}

.products-shop-wrap--classic .products-shop-note {
    margin-top: 18px;
    padding: 0;
    background: transparent;
    border: none;
    font-size: 0.82rem;
    color: var(--text-dim);
}

@media (max-width: 820px) {
    .product-catalog-row {
        grid-template-columns: 1fr;
    }

    .pc-thumb {
        border-right: 0;
        border-bottom: 1px solid var(--border);
        min-height: 100px;
    }

    .pc-aside {
        border-left: 0;
        border-top: 1px solid var(--border);
    }

    .pc-aside .btn {
        width: 100%;
        justify-content: center;
    }
}

.anchor-nav {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px;
    padding: 6px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.anchor-nav a {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: all 0.2s ease;
}

.anchor-nav a:hover {
    color: var(--text);
    background: var(--surface-2);
}

.product-section {
    padding: 80px 0;
}

/* Overview cards */
.overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.overview-card {
    padding: 24px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    transition: all 0.3s var(--easing);
}

.overview-card:hover {
    border-color: rgba(0, 229, 255, 0.25);
    transform: translateY(-3px);
}

.overview-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--gradient-soft);
    border: 1px solid rgba(0, 229, 255, 0.25);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.overview-icon svg { width: 20px; height: 20px; }

.overview-card strong {
    display: block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 4px;
}

.overview-card span {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
}

/* Product detail (alternating side-by-side) */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.product-detail-reverse .pd-text { order: 2; }
.product-detail-reverse .pd-visual { order: 1; }

.pd-text .eyebrow { margin-bottom: 14px; }

.pd-text h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.8rem, 3.2vw, 2.5rem);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.pd-text > p {
    color: var(--text-muted);
    font-size: 1.02rem;
    margin-bottom: 26px;
}

.spec-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 13px 18px;
    background: var(--bg-3);
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.spec-row:hover {
    background: var(--surface);
}

.spec-label { color: var(--text-muted); }
.spec-value { color: var(--text); font-weight: 500; }

/* Capture cards */
.cap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.cap-card {
    padding: 26px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    transition: all 0.3s var(--easing);
}

.cap-card:hover {
    border-color: rgba(0, 229, 255, 0.25);
    transform: translateY(-3px);
}

.cap-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--gradient-soft);
    border: 1px solid rgba(0, 229, 255, 0.25);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}
.cap-icon svg { width: 20px; height: 20px; }

.cap-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.cap-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* Misc grid */
.misc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
}

.misc-card {
    padding: 22px 24px;
    border-radius: var(--radius);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.3s var(--easing);
}

.misc-card:hover {
    border-color: rgba(0, 229, 255, 0.25);
}

.misc-card h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 6px;
}

.misc-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Hardware table */
.hardware-table {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--bg-3);
    margin-bottom: 24px;
}

.hw-row {
    display: grid;
    grid-template-columns: 1.4fr 0.7fr 1.4fr 0.7fr;
    align-items: center;
    border-bottom: 1px solid var(--border);
}

.hw-row:last-child { border-bottom: 0; }

.hw-row > div {
    padding: 18px 22px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.hw-row strong {
    color: var(--text);
    font-family: 'Space Grotesk', sans-serif;
}

.hw-row-head {
    background: var(--bg-2);
    font-weight: 600;
}
.hw-row-head > div {
    color: var(--text-dim);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.hw-badge {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 600;
    border: 1px solid rgba(0, 229, 255, 0.25);
    letter-spacing: 0.06em;
}

.hw-badge-pro {
    background: rgba(111, 77, 255, 0.12);
    color: #a48cff;
    border-color: rgba(111, 77, 255, 0.3);
}

.firmware-box {
    padding: 26px 28px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.06), rgba(111, 77, 255, 0.04));
    border: 1px solid rgba(0, 229, 255, 0.2);
}

.firmware-box h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    margin-bottom: 14px;
    color: var(--text);
}

.firmware-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.fw-item {
    padding: 14px 16px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.fw-item strong {
    display: block;
    color: var(--text);
    font-size: 0.92rem;
    margin-bottom: 2px;
}

.fw-item span {
    color: var(--text-muted);
    font-size: 0.82rem;
}

/* Specs grid */
.specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.spec-block {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--surface);
    border: 1px solid var(--border);
}

.spec-block-featured {
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.08), rgba(111, 77, 255, 0.04));
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 20px 60px -25px rgba(0, 229, 255, 0.4);
}

.spec-block h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--primary);
    margin-bottom: 18px;
}

.spec-block ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.spec-block ul li {
    display: flex;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--bg-3);
    font-size: 0.88rem;
}

.spec-block ul li span { color: var(--text-muted); }
.spec-block ul li strong { color: var(--text); font-weight: 500; }

/* Setup steps */
.setup-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.setup-step {
    display: flex;
    gap: 22px;
    padding: 22px 26px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s var(--easing);
    position: relative;
}

.setup-step:hover {
    border-color: rgba(0, 229, 255, 0.25);
    transform: translateX(4px);
}

.setup-num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-soft);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
}

.setup-content {
    flex: 1;
}

.setup-content h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.setup-content p {
    color: var(--text-muted);
    font-size: 0.93rem;
    line-height: 1.6;
}

.setup-content code {
    background: var(--bg-3);
    padding: 1px 6px;
    border-radius: 4px;
    border: 1px solid var(--border);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85em;
    color: var(--primary);
}

.setup-time {
    display: inline-block;
    margin-top: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--text-dim);
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--bg-3);
    border: 1px solid var(--border);
}

/* ============================================
   v2 — Responsive overrides
   ============================================ */

@media (max-width: 960px) {
    .hero-v2 { padding: 110px 0 40px; }

    .hero-v2-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-v2-right {
        max-width: 460px;
        margin: 0 auto;
    }

    .hero-strip {
        gap: 20px;
        flex-direction: column;
        text-align: center;
    }
    .strip-games { gap: 20px; justify-content: center; }

    .stats-bar-inner {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 0;
    }

    .stat-big { border-right: 0; }
    .stat-big:nth-child(odd) { border-right: 1px solid var(--border); }

    .steps-grid {
        grid-template-columns: 1fr;
    }
    .step-arrow { display: none; }

    .feature-block {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 70px;
    }

    .feature-block-reverse .fb-text,
    .feature-block-reverse .fb-visual { order: initial; }

    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .product-detail-reverse .pd-text,
    .product-detail-reverse .pd-visual { order: initial; }

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

    .hw-row {
        grid-template-columns: 1fr 1fr;
        gap: 0;
    }
    .hw-row > div:nth-child(3),
    .hw-row > div:nth-child(4) {
        border-top: 1px dashed var(--border);
    }
    .hw-row-head > div:nth-child(3),
    .hw-row-head > div:nth-child(4) {
        display: none;
    }

    .compare-row {
        grid-template-columns: 1.4fr 1fr 1fr;
    }
    .compare-cell { padding: 14px 12px; font-size: 0.85rem; }

    .anchor-nav { font-size: 0.78rem; }
    .anchor-nav a { padding: 6px 12px; font-size: 0.78rem; }
}

@media (max-width: 600px) {
    .float-card-1 { left: 0; top: 8%; }
    .float-card-2 { right: 0; bottom: 6%; }

    .stats-bar-inner { grid-template-columns: 1fr; gap: 24px; }
    .stat-big { border-right: 0 !important; }

    .compare-table { font-size: 0.85rem; }
    .compare-row { grid-template-columns: 1.5fr 1fr 1fr; }
    .compare-cell { padding: 12px 10px; font-size: 0.8rem; }
    .compare-head .compare-cell strong { font-size: 0.95rem; }

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

    .hero-trust { gap: 14px; }
    .trust-divider { display: none; }

    .setup-step { padding: 18px 20px; }
    .setup-step:hover { transform: none; }
}

/* ============================================
   Kurex UI Mockup (Dark Modern Style based on screenshot)
   ============================================ */

.kurex-ui {
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    overflow: hidden;
    position: relative;
    box-shadow:
        0 40px 100px -20px rgba(0, 0, 0, 0.9),
        0 0 96px -30px rgba(0, 229, 255, 0.24),
        0 0 0 1px rgba(255, 255, 255, 0.03);
    aspect-ratio: 1.45;
    transform: perspective(1000px) rotateY(-8deg) rotateX(4deg) scale(0.95);
    transform-style: preserve-3d;
    transition: transform 0.6s var(--easing);
    width: 100%;
    max-width: 620px;
    margin: 0 auto;
}

.kurex-ui-static {
    transform: none;
    aspect-ratio: 1.45;
}

.kurex-ui:hover {
    transform: perspective(1000px) rotateY(-4deg) rotateX(2deg) scale(0.98);
}

.page-home .hero-v2-right .kurex-ui {
    transform-style: preserve-3d;
    will-change: transform;
    animation: kurex-card-motion 16s ease-in-out infinite;
    border-color: rgba(0, 229, 255, 0.16);
    box-shadow:
        0 40px 100px -20px rgba(0, 0, 0, 0.9),
        0 0 110px -34px rgba(0, 229, 255, 0.34),
        0 0 0 1px rgba(255, 255, 255, 0.03);
}

@keyframes kurex-card-motion {
    0%, 100% {
        transform: perspective(1500px) rotateY(-9deg) rotateX(5deg) translateY(0) translateZ(0);
    }
    25% {
        transform: perspective(1500px) rotateY(-5deg) rotateX(3deg) translateY(-10px) translateZ(10px);
    }
    50% {
        transform: perspective(1500px) rotateY(-3deg) rotateX(6deg) translateY(-5px) translateZ(16px);
    }
    75% {
        transform: perspective(1500px) rotateY(-8deg) rotateX(4deg) translateY(-12px) translateZ(8px);
    }
}

.page-home .hero-v2-right:hover .kurex-ui {
    border-color: rgba(0, 229, 255, 0.22);
    box-shadow:
        0 38px 96px -22px rgba(0, 0, 0, 0.88),
        0 0 96px -26px var(--primary-glow),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Sidebar */
.kurex-sidebar {
    width: 170px;
    background: #050505;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    border-right: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    flex-shrink: 0;
}

.kurex-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    padding-left: 8px;
}

.kurex-logo svg {
    width: 16px;
    height: 16px;
    color: #e0e0e0;
}

.kl-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #e0e0e0;
    letter-spacing: -0.01em;
}

.kl-ai {
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    color: #888888;
    font-weight: 400;
}

/* Nav */
.kurex-nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kurex-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    background: transparent;
    border: none;
    color: #777777;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.kurex-nav-item:hover {
    color: #d1d1d1;
    background: rgba(255, 255, 255, 0.02);
}

.kurex-nav-item.active {
    background: #ffffff;
    color: #000000;
    font-weight: 600;
}

.kurex-nav-item svg {
    width: 14px;
    height: 14px;
    color: inherit;
    flex-shrink: 0;
}

.kurex-version {
    margin-top: auto;
    color: #333333;
    font-size: 0.7rem;
    padding-left: 12px;
}

/* Content Area */
.kurex-content {
    flex: 1;
    padding: 24px 32px;
    position: relative;
    background: #0d0d0d;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.kurex-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.kurex-window-controls {
    display: flex;
    gap: 10px;
}

.kurex-window-controls button {
    background: transparent;
    border: none;
    color: #444444;
    cursor: pointer;
    padding: 4px;
}

.kurex-window-controls svg {
    width: 12px;
    height: 12px;
}

/* Main Layout: Left (Dropdown + Visual) / Right (Controls) */
.k-main-grid {
    display: grid;
    grid-template-columns: 1.1fr 1.3fr;
    gap: 32px;
    align-items: start;
    flex: 1;
}

.k-left-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.k-right-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 5px;
}

/* Dropdowns */
.k-dropdown-wide {
    background: #151515;
    border: 1px solid rgba(255, 255, 255, 0.03);
    color: #b0b0b0;
    padding: 10px 14px;
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    width: 220px;
    margin-bottom: 20px;
}

.k-dropdown-wide svg {
    width: 12px;
    height: 12px;
    color: #666;
}

.k-dropdown-small {
    background: #202020;
    border: none;
    color: #b0b0b0;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    width: fit-content;
}

/* Player Silhouette Box */
.k-visual-box {
    background: #181818;
    border-radius: 10px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    margin-top: 4px;
}

.k-silhouette {
    width: 70px;
    height: 160px;
    color: #3b3b3b;
}

.k-target-dot {
    position: absolute;
    top: 35%; /* Chest area */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
}

/* Controls Header (Aimbot Checkbox) */
.k-control-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #777777;
    font-size: 0.8rem;
}

/* Checkbox (Square) */
.k-checkbox {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    background: #202020;
    display: inline-block;
}

/* Sliders */
.k-slider-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.k-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #888888;
    font-size: 0.75rem;
}

.k-slider-header svg {
    width: 12px;
    height: 12px;
    color: #555555;
}

.k-slider-track {
    height: 3px;
    background: #252525;
    border-radius: 2px;
    position: relative;
    margin-top: 6px;
    display: flex;
    align-items: center;
}

.k-slider-fill {
    height: 100%;
    background: #ffffff;
    border-radius: 2px;
    position: absolute;
    left: 0;
    top: 0;
}

.k-slider-thumb {
    background: #ffffff;
    color: #000000;
    font-size: 0.65rem;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 12px;
    position: absolute;
    transform: translate(-100%, -50%);
    top: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
}

/* Keybinds */
.k-keybinds {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 4px;
}

.k-keybind-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.k-keybind-label {
    color: #777777;
    font-size: 0.75rem;
}

.k-key-btn {
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.03);
    color: #c0c0c0;
    padding: 8px 16px;
    border-radius: 16px;
    font-size: 0.75rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    width: fit-content;
}

@media (max-width: 600px) {
    .kurex-ui { flex-direction: column; aspect-ratio: auto; }
    .kurex-sidebar { width: 100%; padding: 16px; flex-direction: row; align-items: center; justify-content: space-between; border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.03); }
    .kurex-nav { flex-direction: row; gap: 8px; }
    .kurex-logo { margin-bottom: 0; padding-left: 0; }
    .kurex-version { display: none; }
    .k-main-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================
   MOBILE POLISH — comprehensive responsive layer
   ============================================ */

/* ---------- 960px: tablets + small laptops ---------- */
@media (max-width: 960px) {
    .nav-inner { gap: 10px; }
    .nav-cta .btn-sm { padding: 8px 12px; font-size: 0.8rem; }

    .hero-strip {
        margin-top: 56px;
        padding: 18px 0;
        gap: 18px;
    }
    .strip-games { gap: 16px 22px; }

    .pricing-grid { gap: 16px; }
    .feature-grid { gap: 18px; }
    .why-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- 720px: large phones ---------- */
@media (max-width: 720px) {
    /* Nav --------------------------------------------------- */
    .logo-text { display: none; }
    .nav { padding: 12px 0; }
    .nav-inner { gap: 8px; }

    .nav-links {
        top: 58px;
        padding: 18px 16px;
    }
    .nav-links a { font-size: 1rem; }

    .nav-cta { gap: 6px; }
    .nav-cta .btn {
        padding: 8px 10px;
        min-width: 40px;
        gap: 6px;
    }
    .nav-cta .btn span { display: none; }

    /* Hero -------------------------------------------------- */
    .hero-v2 { padding: 96px 0 24px; }
    .hero-v2-inner { gap: 28px; }
    .hero-title { font-size: clamp(1.9rem, 9vw, 2.6rem); line-height: 1.15; }
    .hero-v2 .hero-sub { font-size: 1rem; margin-bottom: 22px; }
    .hero-v2 .hero-cta {
        margin-bottom: 26px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .hero-v2 .hero-cta .btn { justify-content: center; }
    .hero-v2 .hero-cta .btn-lg { padding: 14px 22px; font-size: 0.95rem; }
    .hero-trust {
        padding-top: 18px;
        gap: 16px;
    }
    .trust-divider { display: none; }
    .stars span { width: 13px; height: 13px; }

    /* Stats bar --------------------------------------------- */
    .stats-bar { padding: 44px 0; }
    .stats-bar-inner { grid-template-columns: 1fr 1fr; gap: 28px 0; }
    .stat-big { border-right: 0; padding: 0 12px; }
    .stat-big:nth-child(odd) { border-right: 1px solid var(--border); }
    .stat-big-value { font-size: clamp(1.6rem, 7vw, 2rem); }
    .stat-big-label { font-size: 0.82rem; }

    /* Sections / titles ------------------------------------- */
    .section,
    .section-alt { padding: 60px 0; }
    .section-head { margin-bottom: 38px; }
    .section-title { font-size: clamp(1.6rem, 8vw, 2rem); }
    .section-sub { font-size: 0.95rem; }
    .eyebrow { font-size: 0.7rem; padding: 4px 10px; }

    /* Steps grid -------------------------------------------- */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .step-arrow { display: none; }
    .step-card { padding: 26px 22px; }
    .step-icon { width: 46px; height: 46px; margin-bottom: 16px; }
    .step-icon svg { width: 22px; height: 22px; }
    .step-card h3 { font-size: 1.1rem; }
    .step-card p { font-size: 0.92rem; }

    /* Feature blocks (alternating) -------------------------- */
    .feature-block {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-bottom: 44px;
    }
    .feature-block-reverse .fb-text,
    .feature-block-reverse .fb-visual { order: initial; }
    .fb-text h3 { font-size: clamp(1.45rem, 6vw, 1.8rem); }
    .fb-text p { font-size: 0.97rem; margin-bottom: 18px; }
    .fb-list li { font-size: 0.92rem; }

    .ai-visual { padding: 16px; }
    .ai-visual-lg { padding: 16px; }
    .ai-frame { aspect-ratio: 16 / 11; }
    .ai-tag { font-size: 0.6rem; padding: 2px 5px; top: -18px; }
    .ai-meta { margin-top: 12px; }
    .ai-meta-row { font-size: 0.72rem; padding: 3px 10px; }

    .aim-visual { aspect-ratio: 4 / 3; }
    .aim-labels { right: 8px; bottom: 8px; gap: 4px; }
    .aim-label { font-size: 0.65rem; padding: 3px 8px; }

    .hw-visual { aspect-ratio: 4 / 3; padding: 14px; }
    .hw-node { padding: 8px 10px; }
    .hw-node svg { width: 20px; height: 20px; }
    .hw-node span { font-size: 0.66rem; }
    .hw-node-side { padding: 6px 8px; }
    .hw-node-side svg { width: 16px; height: 16px; }
    .hw-node-kurex { padding: 10px 16px; }
    .hw-node-kurex strong { font-size: 0.85rem; }

    /* Why grid ---------------------------------------------- */
    .why-grid { grid-template-columns: 1fr; }
    .why-item {
        padding: 24px 22px;
        border-right: 0;
    }
    .why-item h3 { font-size: 1.05rem; }
    .why-item p { font-size: 0.9rem; }

    /* Games grid -------------------------------------------- */
    .games-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .game-card h4 { font-size: 0.88rem; padding: 12px 14px 4px; }
    .game-status { margin: 0 14px 12px; font-size: 0.65rem; }
    .game-thumb::before { font-size: 1.1rem; }
    .games-more { font-size: 0.88rem; }
    .games-link { display: inline-flex; margin-left: 8px; }

    /* Pricing ----------------------------------------------- */
    .pricing-grid { grid-template-columns: 1fr; gap: 14px; }
    .price-card { padding: 24px 20px; }
    .price .amount { font-size: 2.4rem; }
    .price .currency,
    .price .cents { font-size: 1.15rem; }
    .price-desc { font-size: 0.88rem; min-height: 0; margin-bottom: 16px; }
    .price-list li { font-size: 0.88rem; }

    /* Compare table — switch to stacked cards --------------- */
    .compare-table { font-size: 0.85rem; border-radius: var(--radius); }
    .compare-row {
        grid-template-columns: 1.4fr 1fr 1fr;
    }
    .compare-cell { padding: 12px 10px; font-size: 0.8rem; }
    .compare-cell:first-child { font-size: 0.78rem; }
    .compare-head .compare-cell { padding: 14px 10px; }
    .compare-head .compare-cell strong { font-size: 0.92rem; }
    .compare-head .compare-cell span { font-size: 0.7rem; }

    /* Testimonials ------------------------------------------ */
    .testimonial-grid { grid-template-columns: 1fr; gap: 14px; }
    .testimonial { padding: 22px 20px; }
    .testimonial p { font-size: 0.93rem; margin-bottom: 16px; }
    .ta-avatar { width: 34px; height: 34px; }

    /* FAQ --------------------------------------------------- */
    .faq-item summary { padding: 14px 16px; font-size: 0.92rem; gap: 12px; }
    .faq-icon { width: 20px; height: 20px; }
    .faq-body { padding: 0 16px 16px; font-size: 0.9rem; }
    .faq-body p,
    .faq-body ul,
    .faq-body ol { font-size: 0.9rem; }

    /* CTA section ------------------------------------------- */
    .cta-section { padding: 44px 0; }
    .cta-card { padding: 40px 22px; }
    .cta-card h2 { font-size: clamp(1.6rem, 8vw, 2rem); }
    .cta-card p { font-size: 0.95rem; }
    .cta-actions { flex-direction: column; gap: 10px; }
    .cta-actions .btn { width: 100%; justify-content: center; }

    /* Footer ------------------------------------------------ */
    .footer { padding: 60px 0 28px; }
    .footer-inner { gap: 32px; }
    .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-col h4 { font-size: 0.78rem; margin-bottom: 12px; }
    .footer-col a { font-size: 0.88rem; }
    .footer-bottom {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        font-size: 0.78rem;
    }
    .footer-social { gap: 8px; }
    .footer-social a { width: 32px; height: 32px; border-radius: 8px; }

    /* Anchor nav (Pills) ------------------------------------ */
    .anchor-nav { flex-wrap: wrap; padding: 5px; gap: 4px; max-width: 100%; }
    .anchor-nav a { padding: 6px 12px; font-size: 0.78rem; }

    /* Misc / Specs grids ------------------------------------ */
    .misc-grid { grid-template-columns: 1fr; gap: 14px; }
    .specs-grid { grid-template-columns: 1fr; gap: 14px; }

    /* Product detail (PDP) ---------------------------------- */
    .product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .product-detail-reverse .pd-text,
    .product-detail-reverse .pd-visual { order: initial; }

    /* Floating decorations -- hide on tiny screens ---------- */
    .float-card-1 { left: -10px; top: 4%; }
    .float-card-2 { right: -10px; bottom: 4%; }
    .fc-icon { width: 28px; height: 28px; }
    .fc-icon svg { width: 14px; height: 14px; }
    .fc-title { font-size: 0.76rem; }
    .fc-sub { font-size: 0.66rem; }

}

/* ---------- 600px: standard phones (Kurex mockup, finer tweaks) ---------- */
@media (max-width: 600px) {
    /* Kurex UI mockup — stack sidebar above content */
    .kurex-ui {
        flex-direction: column;
        aspect-ratio: auto;
        transform: none;
        max-width: 100%;
    }
    .page-home .hero-v2-right .kurex-ui {
        animation: none;
        transform: none;
    }
    .kurex-sidebar {
        width: 100%;
        padding: 14px;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 14px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    }
    .kurex-logo { margin-bottom: 0; padding-left: 0; }
    .kurex-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .kurex-nav-item {
        gap: 8px;
        padding: 8px 10px;
        font-size: 0.78rem;
    }
    .kurex-nav-item svg { width: 12px; height: 12px; }
    .kurex-version {
        display: block;
        margin-top: 0;
        padding-left: 0;
        font-size: 0.68rem;
    }
    .kurex-content { padding: 16px 14px; }
    .kurex-content::before,
    .kurex-content::after {
        opacity: 0.32;
        filter: blur(30px);
    }
    .kurex-header { margin-bottom: 12px; }
    .k-dropdown-wide { width: 100%; margin-bottom: 14px; }
    .k-main-grid { grid-template-columns: 1fr; gap: 16px; }
    .k-right-col { gap: 16px; padding-top: 0; }
    .k-visual-box { height: 180px; }
    .k-silhouette { width: 64px; height: 142px; }
    .k-keybinds { grid-template-columns: 1fr; gap: 10px; }
    .k-key-btn { width: 100%; justify-content: center; }

    /* Other finer tweaks */
    .stats-bar-inner { grid-template-columns: 1fr; gap: 22px; }
    .stat-big { border-right: 0 !important; padding: 0; }
    .games-grid { grid-template-columns: 1fr; }
    .float-card-1,
    .float-card-2 { display: none; }
}

/* ---------- 420px: small phones (iPhone SE, etc.) ---------- */
@media (max-width: 420px) {
    .hero-v2 { padding: 88px 0 16px; }
    .hero-title { font-size: clamp(1.7rem, 9vw, 2.2rem); }
    .hero-badge { font-size: 0.72rem; padding: 5px 10px; margin-bottom: 22px; }

    .nav-cta .btn-primary { min-width: 40px; padding: 8px; }
    .nav-cta .btn-primary svg { margin: 0; }

    .footer-cols { grid-template-columns: 1fr; gap: 22px; }

    .compare-row { grid-template-columns: 1.2fr 1fr 1fr; }
    .compare-cell { padding: 10px 8px; font-size: 0.72rem; }
    .compare-head .compare-cell strong { font-size: 0.82rem; }

    .price-card { padding: 22px 18px; }

    .kurex-nav { grid-template-columns: 1fr; }
    .k-visual-box { height: 160px; }
}

/* ---------- HARD MOBILE NAV STABILIZER ----------
   Ensures nav always behaves as drawer on phones/tablets.
   Prevents inline-link spill/overlap seen on some devices. */
@media (max-width: 960px) {
    .nav-inner {
        display: grid;
        grid-template-columns: auto 1fr auto auto;
        align-items: center;
        column-gap: 8px;
    }

    .logo {
        order: 1;
        min-width: 0;
    }

    .lang-switcher-slot {
        order: 2;
        justify-self: end;
    }

    .nav-cta {
        order: 3;
        justify-self: end;
    }

    .nav-toggle {
        order: 4;
        justify-self: end;
        display: flex !important;
    }

    /* Keep links out of header flow; show only via drawer */
    .nav-links {
        position: fixed !important;
        top: 58px;
        left: 0;
        right: 0;
        z-index: 120;
        transform: translateY(-130%) !important;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .nav-links.active {
        transform: translateY(0) !important;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}

@media (max-width: 720px) {
    .nav-inner {
        grid-template-columns: auto 1fr auto auto;
        column-gap: 6px;
    }

    .logo-mark {
        width: 24px;
        height: 24px;
    }

    .lang-switcher-slot {
        min-width: 52px;
    }

    .nav-cta .cart-link {
        min-width: 44px;
        padding: 8px;
    }
}

/* ============================================
   LEGAL PAGES
   ============================================ */

.legal-main {
    padding-top: 110px;
    min-height: calc(100vh - 200px);
}

.legal-hero {
    width: min(900px, 92%);
    margin: 0 auto;
    padding: 30px 0 50px;
    text-align: center;
}

.legal-hero .eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--primary);
    margin-bottom: 14px;
    padding: 6px 14px;
    background: var(--primary-soft);
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 999px;
}

.legal-hero h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 16px;
}

.legal-hero p {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto;
}

.legal-content {
    width: min(900px, 92%);
    margin: 0 auto 80px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 50px clamp(24px, 4vw, 60px);
}

.legal-content > .legal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 24px;
    padding-bottom: 24px;
    margin-bottom: 32px;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.88rem;
}

.legal-meta strong { color: var(--text); }

.legal-toc {
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 26px;
    margin-bottom: 40px;
}

.legal-toc h3 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 14px;
    color: var(--text);
}

.legal-toc ol {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc;
    columns: 2;
    column-gap: 30px;
}

.legal-toc ol li {
    counter-increment: toc;
    padding: 4px 0;
    break-inside: avoid;
}

.legal-toc ol li::before {
    content: counter(toc, decimal-leading-zero);
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    margin-right: 10px;
    font-weight: 600;
}

.legal-toc a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.92rem;
    transition: color 0.2s ease;
}

.legal-toc a:hover { color: var(--primary); }

.legal-section {
    margin-bottom: 40px;
    scroll-margin-top: 100px;
}

.legal-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: baseline;
    gap: 14px;
}

.legal-section h2::before {
    content: attr(data-num);
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    font-weight: 600;
    flex-shrink: 0;
}

.legal-section h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 24px 0 12px;
    color: var(--text);
}

.legal-section h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 18px 0 8px;
    color: var(--text);
}

.legal-section p {
    color: var(--text-muted);
    font-size: 0.96rem;
    line-height: 1.75;
    margin-bottom: 14px;
}

.legal-section p strong { color: var(--text); }

.legal-section ul,
.legal-section ol {
    margin: 12px 0 18px;
    padding-left: 22px;
    color: var(--text-muted);
}

.legal-section li {
    margin-bottom: 8px;
    line-height: 1.7;
    padding-left: 4px;
}

.legal-section li::marker { color: var(--primary); }

.legal-section a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid rgba(0, 229, 255, 0.3);
    transition: border-color 0.2s ease;
}

.legal-section a:hover { border-bottom-color: var(--primary); }

.legal-callout {
    background: rgba(255, 184, 0, 0.05);
    border: 1px solid rgba(255, 184, 0, 0.25);
    border-left: 3px solid #ffb800;
    border-radius: var(--radius);
    padding: 18px 22px;
    margin: 20px 0;
}

.legal-callout.callout-danger {
    background: rgba(255, 80, 80, 0.05);
    border-color: rgba(255, 80, 80, 0.25);
    border-left-color: #ff5050;
}

.legal-callout.callout-info {
    background: var(--primary-soft);
    border-color: rgba(0, 229, 255, 0.25);
    border-left-color: var(--primary);
}

.legal-callout strong {
    display: block;
    color: var(--text);
    margin-bottom: 6px;
    font-size: 0.92rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.legal-callout p { margin: 0; font-size: 0.92rem; }
.legal-callout p + p { margin-top: 10px; }

.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 18px 0;
    font-size: 0.92rem;
}

.legal-table th,
.legal-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.legal-table th {
    background: var(--surface-2);
    color: var(--text);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
}

.legal-table td {
    color: var(--text-muted);
}

.legal-table tr:last-child td { border-bottom: none; }

.legal-contact {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px 24px;
    padding: 24px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin: 20px 0;
    font-size: 0.94rem;
}

.legal-contact dt {
    color: var(--text-muted);
    font-weight: 500;
}

.legal-contact dd {
    color: var(--text);
}

.legal-contact dd a { color: var(--primary); text-decoration: none; }

.legal-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.legal-back:hover { color: var(--primary); }

.legal-back svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 720px) {
    .legal-content { padding: 30px 22px; }
    .legal-toc ol { columns: 1; }
    .legal-contact { grid-template-columns: 1fr; gap: 4px; }
    .legal-contact dt { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 8px; }
}

/* ----- Scrollbar ----- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
    background: var(--surface-2);
    border-radius: 6px;
    border: 2px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: rgba(0, 229, 255, 0.3); }

::selection { background: rgba(0, 229, 255, 0.25); color: var(--text); }

/* ----- Language switcher (i18n) ----- */
.lang-switcher {
    position: relative;
    flex-shrink: 0;
}

.lang-switcher-inner {
    position: relative;
}

.lang-switcher-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.2s, color 0.2s;
    min-width: 132px;
    height: 36px;
    white-space: nowrap;
}

@media (max-width: 899px) {
    .lang-switcher-btn {
        min-width: 64px;
    }
}

@media (max-width: 720px) {
    .lang-switcher-btn {
        min-width: 56px;
        height: 34px;
    }
}

.lang-switcher-btn:hover {
    border-color: var(--border-strong);
    color: var(--text);
}

.lang-switcher-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.72rem;
    opacity: 0.85;
}

.lang-switcher-name { display: none; }

@media (min-width: 900px) {
    .lang-switcher-name { display: inline; }
}

.lang-switcher-chevron {
    opacity: 0.65;
    flex-shrink: 0;
}

.lang-switcher-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 6px);
    min-width: 188px;
    list-style: none;
    margin: 0;
    padding: 6px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-card);
    z-index: 200;
}

.lang-switcher-menu li {
    margin: 0;
    padding: 0;
}

.lang-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}

.lang-option:hover {
    background: var(--surface);
    color: var(--text);
}

.lang-option.active {
    color: var(--primary);
    background: var(--primary-soft);
}

.lang-option span:first-child {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.7rem;
    opacity: 0.75;
    width: 28px;
}

.locale-legal-banner {
    width: min(900px, 92%);
    margin: 16px auto 0;
    padding: 12px 16px;
    font-size: 0.82rem;
    line-height: 1.55;
    color: var(--text-muted);
    background: rgba(255, 180, 80, 0.08);
    border: 1px solid rgba(255, 180, 80, 0.28);
    border-radius: var(--radius-sm);
}

@media (max-width: 720px) {
    .lang-switcher-btn {
        padding: 8px 10px;
        font-size: 0.76rem;
    }
}

/* ----- Lemon Squeezy checkout handoff ----- */
.ls-pay-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(5, 6, 8, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.ls-pay-overlay[hidden] {
    display: none !important;
}

.ls-pay-overlay-card {
    width: min(420px, 100%);
    text-align: center;
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-strong);
    background: var(--bg-2);
    box-shadow: var(--shadow-card);
}

.ls-pay-spinner {
    width: 44px;
    height: 44px;
    margin: 0 auto 20px;
    border-radius: 50%;
    border: 3px solid var(--border);
    border-top-color: var(--primary);
    animation: ls-pay-spin 0.75s linear infinite;
}

@keyframes ls-pay-spin {
    to { transform: rotate(360deg); }
}

.ls-pay-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text);
}

.ls-pay-sub {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 24px;
}

.ls-pay-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    opacity: 0;
}

.ls-pay-cancel {
    margin-top: 20px;
    width: 100%;
}

.ls-pay-overlay-checkout-open .ls-pay-spinner {
    opacity: 0.35;
}

.ls-pay-overlay-checkout-open .ls-pay-title,
.ls-pay-overlay-checkout-open .ls-pay-sub {
    opacity: 0.72;
}
