/* =========================================================
 1017 DEVELOPMENT - Design System
 Dark tactical OS × premium studio
 ========================================================= */

/* ---------- CSS Variables ---------- */
:root {
 /* Base */
 --bg-deep: #050706;
 --bg-base: #0a0d0b;
 --bg-elevated: #101512;
 --bg-surface: #171d19;
 --bg-hover: #1c2420;

 /* Text */
 --text-primary: #e8efe9;
 --text-secondary: #7d8a80;
 --text-muted: #5a665f;

 /* Accent */
 --accent: #97df5b;
 --accent-dim: rgba(151, 223, 91, 0.15);
 --accent-glow: rgba(151, 223, 91, 0.35);
 --accent-strong: rgba(151, 223, 91, 0.6);

 /* Borders & lines */
 --border: rgba(151, 223, 91, 0.12);
 --border-strong: rgba(151, 223, 91, 0.28);
 --line: rgba(232, 239, 233, 0.06);

 /* Type */
 --font-display: "Space Grotesk", system-ui, sans-serif;
 --font-body: "Inter", system-ui, sans-serif;
 --font-mono: "JetBrains Mono", ui-monospace, monospace;

 /* Spacing scale */
 --space-1: 0.25rem;
 --space-2: 0.5rem;
 --space-3: 0.75rem;
 --space-4: 1rem;
 --space-5: 1.5rem;
 --space-6: 2rem;
 --space-7: 3rem;
 --space-8: 4rem;
 --space-9: 6rem;
 --space-10: 8rem;

 /* Radius */
 --radius-sm: 4px;
 --radius: 8px;
 --radius-lg: 12px;
 --radius-xl: 16px;

 /* Transitions */
 --ease: cubic-bezier(0.22, 1, 0.36, 1);
 --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
 --duration: 0.35s;

 /* Layout */
 --nav-height: 72px;
 --container: 1480px;
 --gutter: 1.75rem;
}

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

html {
 font-size: 16px;
 scroll-behavior: auto; /* Lenis handles smooth */
 -webkit-text-size-adjust: 100%;
}

body {
 font-family: var(--font-body);
 background: var(--bg-deep);
 color: var(--text-primary);
 line-height: 1.6;
 overflow-x: hidden;
 min-height: 100vh;
 -webkit-font-smoothing: antialiased;
 -moz-osx-font-smoothing: grayscale;
}

body.loading {
 overflow: hidden;
}

img, video {
 max-width: 100%;
 display: block;
}

a {
 color: inherit;
 text-decoration: none;
}

button, input, select, textarea {
 font: inherit;
 color: inherit;
 background: none;
 border: none;
 outline: none;
}

ul, ol {
 list-style: none;
}

/* Focus visible for a11y */
:focus-visible {
 outline: 2px solid var(--accent);
 outline-offset: 3px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
 *, *::before, *::after {
 animation-duration: 0.01ms !important;
 animation-iteration-count: 1 !important;
 transition-duration: 0.01ms !important;
 scroll-behavior: auto !important;
 }
 .canvas-bg, .grain, .scan-line, .cursor-custom {
 display: none !important;
 }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5, h6 {
 font-family: var(--font-display);
 font-weight: 600;
 line-height: 1.15;
 letter-spacing: -0.02em;
}

.display-xl {
 font-size: clamp(2.75rem, 7vw, 5.5rem);
 font-weight: 700;
 letter-spacing: -0.03em;
 line-height: 1.05;
}

.display-lg {
 font-size: clamp(2rem, 4.5vw, 3.5rem);
 font-weight: 600;
}

.display-md {
 font-size: clamp(1.5rem, 3vw, 2.25rem);
}

.body-lg {
 font-size: 1.125rem;
 line-height: 1.65;
}

.body-sm {
 font-size: 0.875rem;
}

.mono {
 font-family: var(--font-mono);
 font-size: 0.8125rem;
 letter-spacing: 0.02em;
}

.label {
 font-family: var(--font-mono);
 font-size: 0.6875rem;
 text-transform: uppercase;
 letter-spacing: 0.12em;
 color: var(--text-secondary);
}

/* ---------- Layout ---------- */
.container {
 width: 100%;
 max-width: var(--container);
 margin-inline: auto;
 padding-inline: var(--gutter);
}

.section {
 padding-block: var(--space-9);
 position: relative;
}

.section-sm {
 padding-block: var(--space-7);
}


/* ---------- Scrollbar ---------- */
html {
 scrollbar-width: thin;
 scrollbar-color: rgba(151, 223, 91, 0.35) transparent;
}

::-webkit-scrollbar {
 width: 6px;
 height: 6px;
}

::-webkit-scrollbar-track {
 background: transparent;
}

::-webkit-scrollbar-thumb {
 background: rgba(151, 223, 91, 0.28);
 border-radius: 99px;
 box-shadow: 0 0 8px rgba(151, 223, 91, 0.2);
}

::-webkit-scrollbar-thumb:hover {
 background: rgba(151, 223, 91, 0.5);
 box-shadow: 0 0 12px rgba(151, 223, 91, 0.35);
}

::-webkit-scrollbar-corner {
 background: transparent;
}

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

/* ---------- Canvas background ---------- */
.canvas-bg {
 position: fixed;
 inset: 0;
 z-index: 0;
 pointer-events: none;
 opacity: 0.55;
}

/* ---------- Giant 1017 ---------- */
.giant-1017 {
 position: fixed;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
 font-family: var(--font-display);
 font-size: clamp(18rem, 42vw, 38rem);
 font-weight: 700;
 color: transparent;
 -webkit-text-stroke: 1px rgba(151, 223, 91, 0.07);
 pointer-events: none;
 z-index: 0;
 user-select: none;
 white-space: nowrap;
 transition: -webkit-text-stroke-color 0.4s var(--ease);
 will-change: transform;
}

.giant-1017.glow {
 -webkit-text-stroke-color: rgba(151, 223, 91, 0.18);
}

/* ---------- Custom cursor ---------- */
.cursor-custom {
 position: fixed;
 width: 28px;
 height: 28px;
 border: 1.5px solid var(--accent);
 border-radius: 50%;
 pointer-events: none;
 z-index: 10000;
 transform: translate(-50%, -50%);
 transition: width 0.2s var(--ease), height 0.2s var(--ease), border-color 0.2s, background 0.2s;
 mix-blend-mode: difference;
 display: none;
}

.cursor-custom::before,
.cursor-custom::after {
 content: "";
 position: absolute;
 background: var(--accent);
}

.cursor-custom::before {
 width: 1px;
 height: 8px;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
}

.cursor-custom::after {
 width: 8px;
 height: 1px;
 top: 50%;
 left: 50%;
 transform: translate(-50%, -50%);
}

.cursor-custom.active {
 width: 48px;
 height: 48px;
 background: var(--accent-dim);
 border-color: var(--accent);
}

.cursor-custom.snap {
 width: 40px;
 height: 40px;
 background: rgba(151, 223, 91, 0.08);
}

@media (hover: hover) and (pointer: fine) {
 .cursor-custom { display: block; }
 body { cursor: none; }
 a, button, [data-magnetic], .product-card, input, select, textarea {
 cursor: none;
 }
}

/* ---------- Loading / Intro ---------- */
.loader {
 position: fixed;
 inset: 0;
 z-index: 10001;
 background: var(--bg-deep);
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 gap: var(--space-5);
 transition: opacity 0.5s var(--ease), visibility 0.5s;
}

.loader.done {
 opacity: 0;
 visibility: hidden;
 pointer-events: none;
}

.loader-logo {
 width: 96px;
 height: 96px;
 animation: loaderPulse 1.2s var(--ease) infinite;
}

.loader-bar {
 width: 120px;
 height: 2px;
 background: var(--bg-surface);
 border-radius: 2px;
 overflow: hidden;
}

.loader-bar span {
 display: block;
 height: 100%;
 width: 0%;
 background: var(--accent);
 transition: width 1.1s var(--ease-out);
}

.loader.loading .loader-bar span {
 width: 100%;
}

@keyframes loaderPulse {
 0%, 100% { opacity: 0.6; transform: scale(1); }
 50% { opacity: 1; transform: scale(1.04); }
}

/* ---------- Navbar ---------- */
.navbar {
 position: fixed;
 top: 0;
 left: 0;
 right: 0;
 height: var(--nav-height);
 z-index: 1000;
 display: flex;
 align-items: center;
 transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
 border-bottom: 1px solid transparent;
}

.navbar.scrolled {
 background: rgba(5, 7, 6, 0.82);
 backdrop-filter: blur(16px);
 -webkit-backdrop-filter: blur(16px);
 border-bottom-color: transparent;
}

/* Thin glowing divider under navbar */
.navbar::after {
 content: "";
 position: absolute;
 left: 0;
 right: 0;
 bottom: 0;
 height: 1px;
 background: linear-gradient(
 90deg,
 transparent 0%,
 rgba(151, 223, 91, 0.15) 15%,
 rgba(151, 223, 91, 0.55) 50%,
 rgba(151, 223, 91, 0.15) 85%,
 transparent 100%
 );
 box-shadow: 0 0 8px rgba(151, 223, 91, 0.25), 0 0 2px rgba(151, 223, 91, 0.4);
 pointer-events: none;
}

.navbar .container {
 display: flex;
 align-items: center;
 justify-content: space-between;
 width: 100%;
}

.nav-logo {
 display: flex;
 align-items: center;
 gap: var(--space-3);
 z-index: 10;
}

.nav-logo img {
 width: 40px;
 height: 40px;
 object-fit: contain;
}

.nav-logo span {
 font-family: var(--font-display);
 font-weight: 600;
 font-size: 1.05rem;
 letter-spacing: -0.01em;
}

.nav-links {
 display: flex;
 align-items: center;
 gap: var(--space-6);
}

.nav-links a {
 font-size: 0.9rem;
 font-weight: 500;
 color: var(--text-secondary);
 position: relative;
 transition: color 0.25s;
}

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

.nav-links a.active::after {
 content: "";
 position: absolute;
 bottom: -6px;
 left: 0;
 right: 0;
 height: 2px;
 background: var(--accent);
 border-radius: 1px;
}

.nav-icon-btn {
 width: 38px;
 height: 38px;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 border-radius: 50%;
 border: 1px solid var(--border);
 color: var(--text-secondary);
 background: transparent;
 transition: color 0.25s, border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.nav-icon-btn:hover {
 color: var(--accent);
 border-color: rgba(151, 223, 91, 0.45);
 background: rgba(151, 223, 91, 0.06);
 box-shadow: 0 0 14px rgba(151, 223, 91, 0.15);
}

.nav-actions {
 display: flex;
 align-items: center;
 gap: var(--space-3);
}

.cart-btn {
 position: relative;
 width: 42px;
 height: 42px;
 display: flex;
 align-items: center;
 justify-content: center;
 border-radius: var(--radius);
 border: 1px solid var(--border);
 transition: border-color 0.25s, background 0.25s;
}

.cart-btn:hover {
 border-color: var(--border-strong);
 background: var(--accent-dim);
}

.cart-count {
 position: absolute;
 top: -4px;
 right: -4px;
 min-width: 18px;
 height: 18px;
 padding: 0 5px;
 background: var(--accent);
 color: var(--bg-deep);
 font-size: 0.65rem;
 font-weight: 700;
 border-radius: 99px;
 display: flex;
 align-items: center;
 justify-content: center;
 font-family: var(--font-mono);
}

.cart-count:empty,
.cart-count[data-count="0"] {
 display: none;
}

.nav-toggle {
 display: none;
 width: 42px;
 height: 42px;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 gap: 5px;
 border: 1px solid var(--border);
 border-radius: var(--radius);
}

.nav-toggle span {
 display: block;
 width: 18px;
 height: 1.5px;
 background: var(--text-primary);
 transition: transform 0.3s, opacity 0.3s;
}

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

/* Mobile menu */
.mobile-menu {
 position: fixed;
 inset: 0;
 background: var(--bg-deep);
 z-index: 999;
 display: flex;
 flex-direction: column;
 padding: calc(var(--nav-height) + var(--space-6)) var(--gutter) var(--space-6);
 opacity: 0;
 visibility: hidden;
 transition: opacity 0.35s, visibility 0.35s;
}

.mobile-menu.open {
 opacity: 1;
 visibility: visible;
}

.mobile-menu nav {
 display: flex;
 flex-direction: column;
 gap: var(--space-5);
}

.mobile-menu a {
 font-family: var(--font-display);
 font-size: 1.75rem;
 font-weight: 600;
 color: var(--text-secondary);
 transition: color 0.25s;
}

.mobile-menu a:hover,
.mobile-menu a.active {
 color: var(--accent);
}

/* ---------- Buttons ---------- */
.btn {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 gap: var(--space-2);
 padding: 0.85rem 1.5rem;
 font-weight: 550;
 font-size: 0.9rem;
 border-radius: var(--radius);
 border: 1px solid transparent;
 transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
 position: relative;
 overflow: hidden;
 white-space: nowrap;
}

.btn-primary {
 background: var(--accent);
 color: var(--bg-deep);
 border-color: var(--accent);
 box-shadow: 0 0 18px rgba(151, 223, 91, 0.25);
}

.btn-primary:hover {
 box-shadow: 0 0 32px rgba(151, 223, 91, 0.55), 0 0 12px rgba(151, 223, 91, 0.35);
 transform: translateY(-1px);
 filter: brightness(1.05);
}

.btn-secondary {
 background: transparent;
 color: var(--text-primary);
 border-color: var(--border-strong);
}

.btn-secondary:hover {
 border-color: var(--accent);
 background: var(--accent-dim);
}

.btn-ghost {
 background: transparent;
 color: var(--text-secondary);
 border-color: transparent;
 padding-inline: 0.75rem;
}

.btn-ghost:hover {
 color: var(--accent);
}

.btn-sm {
 padding: 0.55rem 1rem;
 font-size: 0.8125rem;
}

.btn-lg {
 padding: 1rem 1.85rem;
 font-size: 1rem;
}

/* Magnetic glow sweep */
.btn-magnetic::after {
 content: "";
 position: absolute;
 inset: 0;
 background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.25) 50%, transparent 60%);
 transform: translateX(-120%);
 transition: transform 0.6s var(--ease);
}

.btn-magnetic:hover::after {
 transform: translateX(120%);
}

/* ---------- HUD brackets ---------- */
.hud-bracket {
 position: relative;
}

.hud-bracket::before,
.hud-bracket::after {
 content: "";
 position: absolute;
 width: 12px;
 height: 12px;
 border-color: var(--accent);
 border-style: solid;
 opacity: 0.45;
 pointer-events: none;
}

.hud-bracket::before {
 top: 0;
 left: 0;
 border-width: 1.5px 0 0 1.5px;
}

.hud-bracket::after {
 bottom: 0;
 right: 0;
 border-width: 0 1.5px 1.5px 0;
}

/* ---------- Hero ---------- */
.hero {
 min-height: 100vh;
 display: flex;
 align-items: center;
 position: relative;
 padding-top: var(--nav-height);
 overflow: hidden;
}

.hero-grid {
 display: grid;
 grid-template-columns: 1fr 1.05fr;
 gap: var(--space-7);
 align-items: center;
 width: 100%;
}

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

.hero-label {
 display: inline-flex;
 align-items: center;
 gap: var(--space-2);
 margin-bottom: var(--space-5);
 color: var(--accent);
}

.hero-label::before {
 content: "";
 width: 8px;
 height: 8px;
 background: var(--accent);
 border-radius: 50%;
 box-shadow: 0 0 12px var(--accent);
 animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
 0%, 100% { opacity: 1; }
 50% { opacity: 0.4; }
}

.hero h1 {
 margin-bottom: var(--space-5);
}

.hero h1 .line {
 display: block;
 overflow: hidden;
}

.hero h1 .word {
 display: inline-block;
 transform: translateY(110%);
 opacity: 0;
}

.hero-sub {
 color: var(--text-secondary);
 max-width: 54ch;
 margin-bottom: var(--space-6);
 font-size: 1.1rem;
 line-height: 1.55;
}

.fivem-mark {
 color: #f47321;
 font-weight: 600;
 text-shadow:
 0 0 8px rgba(244, 115, 33, 0.55),
 0 0 18px rgba(244, 115, 33, 0.35),
 0 0 32px rgba(244, 115, 33, 0.2);
}

.fw-mark {
 color: var(--accent);
 font-weight: 600;
 text-shadow:
 0 0 8px rgba(151, 223, 91, 0.5),
 0 0 16px rgba(151, 223, 91, 0.3),
 0 0 28px rgba(151, 223, 91, 0.18);
}

.hero-ctas {
 display: flex;
 flex-wrap: wrap;
 gap: var(--space-3);
}

.hero-ctas .btn {
 padding: 0.72rem 2.15rem;
 min-width: 180px;
 font-size: 0.9rem;
 letter-spacing: 0.02em;
}

.hero-ctas .btn-primary {
 box-shadow: 0 0 22px rgba(151, 223, 91, 0.35), 0 0 6px rgba(151, 223, 91, 0.2);
 animation: heroBtnGlow 2.8s ease-in-out infinite;
}

.hero-ctas .btn-primary:hover {
 animation: none;
 box-shadow: 0 0 36px rgba(151, 223, 91, 0.6), 0 0 14px rgba(151, 223, 91, 0.4);
}

@keyframes heroBtnGlow {
 0%, 100% { box-shadow: 0 0 18px rgba(151, 223, 91, 0.28), 0 0 4px rgba(151, 223, 91, 0.15); }
 50% { box-shadow: 0 0 28px rgba(151, 223, 91, 0.48), 0 0 10px rgba(151, 223, 91, 0.28); }
}

.hero-perks {
 display: flex;
 flex-direction: row;
 flex-wrap: nowrap;
 align-items: center;
 gap: 1.25rem;
 margin-top: var(--space-5);
 list-style: none;
 padding: 0;
}

.hero-perks li {
 display: inline-flex;
 align-items: center;
 gap: 0.4rem;
 color: var(--text-secondary);
 font-size: 0.875rem;
 font-weight: 500;
 white-space: nowrap;
}

.hero-perks .check {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 1.05rem;
 height: 1.05rem;
 flex-shrink: 0;
 border-radius: 50%;
 background: rgba(151, 223, 91, 0.15);
 border: 1px solid rgba(151, 223, 91, 0.55);
 color: var(--accent);
 font-size: 0.7rem;
 line-height: 1;
 box-shadow: 0 0 10px rgba(151, 223, 91, 0.25);
}

.hero-perks .check::before {
 content: "✓";
 font-weight: 700;
 color: var(--accent);
}

@media (max-width: 768px) {
 .hero-perks {
 flex-wrap: wrap;
 gap: 0.6rem 1rem;
 }
}

/* Hero visual */
.hero-visual {
 position: relative;
 border-radius: var(--radius-xl);
 overflow: visible;
 border: 1px solid var(--border);
 background: #050706;
 width: 100%;
 max-width: 700px;
 margin-left: auto;
 display: flex;
 align-items: center;
 justify-content: center;
 margin-bottom: 0.85rem;
}

.hero-visual img {
 border-radius: var(--radius-xl);
}

.hero-visual img {
 width: 100%;
 height: auto;
 max-height: min(60vh, 540px);
 object-fit: contain;
 object-position: center;
 display: block;
}

.hero-visual-cta {
 position: absolute;
 left: 1rem;
 bottom: -1rem;
 z-index: 3;
 display: inline-flex;
 align-items: center;
 gap: 0.75rem;
 padding: 0.45rem 0.45rem 0.45rem 0.95rem;
 min-width: auto;
 background: rgba(12, 16, 14, 0.88);
 color: var(--text-primary);
 border: 1px solid rgba(151, 223, 91, 0.22);
 border-radius: 999px;
 backdrop-filter: blur(12px);
 -webkit-backdrop-filter: blur(12px);
 box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
 text-decoration: none;
 transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.hero-visual-cta .cta-text {
 display: flex;
 flex-direction: column;
 line-height: 1.15;
 padding-right: 0.15rem;
}

.hero-visual-cta .cta-text strong {
 font-size: 0.88rem;
 font-weight: 600;
 color: var(--text-primary);
}

.hero-visual-cta .cta-text small {
 font-size: 0.72rem;
 color: var(--text-muted);
 font-weight: 400;
}

.hero-visual-cta .cta-arrow {
 width: 2.15rem;
 height: 2.15rem;
 border-radius: 50%;
 background: var(--accent);
 color: #050706;
 display: inline-flex;
 align-items: center;
 justify-content: center;
 box-shadow: 0 0 16px rgba(151, 223, 91, 0.45);
 transition: transform 0.25s, box-shadow 0.25s;
}

.hero-visual-cta .cta-arrow svg {
 display: block;
}

.hero-visual-cta:hover {
 border-color: rgba(151, 223, 91, 0.55);
 transform: translateY(-2px);
 box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5), 0 0 18px rgba(151, 223, 91, 0.15);
 color: var(--text-primary);
}

.hero-visual-cta:hover .cta-arrow {
 transform: translateX(2px);
 box-shadow: 0 0 22px rgba(151, 223, 91, 0.6);
}

@media (max-width: 768px) {
 .hero-visual-cta {
 left: 0.65rem;
 bottom: -0.85rem;
 padding: 0.4rem 0.4rem 0.4rem 0.8rem;
 }
 .hero-visual-cta .cta-arrow {
 width: 1.9rem;
 height: 1.9rem;
 }
}

/* Boot console */
.boot-console {
 background: var(--bg-elevated);
 border: 1px solid var(--border);
 border-radius: var(--radius-lg);
 padding: var(--space-5);
 font-family: var(--font-mono);
 font-size: 0.8rem;
 line-height: 1.7;
 position: relative;
 overflow: hidden;
 min-height: 280px;
}

.boot-console::before {
 content: "SYS//1017";
 position: absolute;
 top: 10px;
 right: 14px;
 font-size: 0.65rem;
 color: var(--text-muted);
 letter-spacing: 0.1em;
}

.boot-console .line {
 opacity: 0;
 transform: translateY(8px);
 transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.boot-console .line.visible {
 opacity: 1;
 transform: none;
}

.boot-console .prompt {
 color: var(--accent);
}

.boot-console .ok {
 color: var(--accent);
}

.boot-console .dim {
 color: var(--text-muted);
}

/* ---------- Trust / Stats ---------- */
.stats-strip {
 border-block: 1px solid var(--border);
 background: var(--bg-base);
}

.stats-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: var(--space-6);
 padding-block: var(--space-7);
 text-align: center;
}

.stat-value {
 font-family: var(--font-display);
 font-size: clamp(2rem, 4vw, 3rem);
 font-weight: 700;
 color: var(--accent);
 letter-spacing: -0.02em;
 line-height: 1;
 margin-bottom: var(--space-2);
}

.stat-label {
 color: var(--text-secondary);
 font-size: 0.875rem;
}

/* ---------- Section headers ---------- */
.section-header {
 margin-bottom: var(--space-7);
 max-width: 40rem;
}

.section-header .label {
 margin-bottom: var(--space-3);
 display: block;
}

.section-header h2 {
 margin-bottom: var(--space-3);
}

.section-header p {
 color: var(--text-secondary);
}

/* ---------- Featured / Product cards ---------- */
.featured-grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: var(--space-4);
}

.product-card {
 background: var(--bg-elevated);
 border: 1px solid var(--border);
 border-radius: var(--radius-lg);
 overflow: hidden;
 position: relative;
 transition: border-color 0.3s, transform 0.4s var(--ease);
 transform-style: preserve-3d;
 perspective: 1000px;
}

.product-card:hover {
 border-color: var(--border-strong);
}

.product-card .card-media {
 aspect-ratio: 1 / 1;
 background: #050706;
 position: relative;
 overflow: hidden;
}

.product-card .card-media img {
 width: 100%;
 height: 100%;
 object-fit: contain;
 object-position: center;
 transition: transform 0.6s var(--ease);
}

.product-card:hover .card-media img {
 transform: scale(1.03);
}

.product-card .card-media .placeholder {
 width: 100%;
 height: 100%;
 display: flex;
 align-items: center;
 justify-content: center;
 background: linear-gradient(145deg, #0f1512, #1a221c);
 color: var(--text-muted);
 font-family: var(--font-mono);
 font-size: 0.75rem;
 letter-spacing: 0.08em;
}

/* Scan line */
.product-card .scan-line {
 position: absolute;
 inset: 0;
 background: linear-gradient(to bottom, transparent, rgba(151, 223, 91, 0.12), transparent);
 transform: translateY(-100%);
 opacity: 0;
 pointer-events: none;
 transition: none;
}

.product-card:hover .scan-line {
 animation: scanReveal 0.7s var(--ease) forwards;
}

@keyframes scanReveal {
 0% { transform: translateY(-100%); opacity: 0.8; }
 100% { transform: translateY(100%); opacity: 0; }
}

/* Light edge following cursor */
.product-card .light-edge {
 position: absolute;
 inset: 0;
 border-radius: inherit;
 pointer-events: none;
 opacity: 0;
 transition: opacity 0.3s;
 background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(151, 223, 91, 0.12), transparent 50%);
}

.product-card:hover .light-edge {
 opacity: 1;
}

.product-card .card-body {
 padding: var(--space-4) var(--space-5) var(--space-5);
 position: relative;
}

.product-card .card-tags {
 display: flex;
 flex-wrap: wrap;
 gap: var(--space-2);
 margin-bottom: var(--space-3);
}

.tag {
 font-family: var(--font-mono);
 font-size: 0.65rem;
 padding: 0.2rem 0.5rem;
 border-radius: 3px;
 letter-spacing: 0.04em;
 text-transform: uppercase;
}

.tag-new { background: var(--accent); color: var(--bg-deep); }
.tag-updated { background: var(--accent-dim); color: var(--accent); border: 1px solid var(--border-strong); }
.tag-sale { background: #df5b5b22; color: #df7b7b; border: 1px solid #df5b5b44; }
.tag-free { background: var(--accent-dim); color: var(--accent); border: 1px solid var(--border-strong); }
.tag-open-source { background: rgba(151, 223, 91, 0.12); color: var(--accent); border: 1px solid var(--border-strong); }

.product-card h3 {
 font-size: 1.15rem;
 margin-bottom: var(--space-2);
}

.product-card .btn-buy {
 width: 100%;
 margin-top: var(--space-3);
 text-align: center;
}

.product-card .short {
 color: var(--text-secondary);
 font-size: 0.875rem;
 margin-bottom: var(--space-4);
 display: -webkit-box;
 -webkit-line-clamp: 2;
 -webkit-box-orient: vertical;
 overflow: hidden;
}

.product-card .card-meta {
 display: flex;
 flex-direction: column;
 align-items: flex-start;
 gap: var(--space-2);
 margin-bottom: var(--space-3);
}

.product-card .frameworks {
 display: flex;
 flex-wrap: wrap;
 gap: 4px;
}

.fw-badge {
 font-family: var(--font-mono);
 font-size: 0.65rem;
 padding: 0.15rem 0.4rem;
 background: var(--bg-surface);
 border: 1px solid var(--border);
 border-radius: 3px;
 color: var(--text-secondary);
}

.product-card .price {
 font-family: var(--font-display);
 font-weight: 600;
 font-size: 1.15rem;
 color: var(--accent);
}

.product-card .price s {
 color: var(--text-muted);
 font-size: 0.85rem;
 margin-right: 0.35rem;
 font-weight: 400;
}

/* Integrated specs row (always visible, clean) */
.product-card .card-specs {
 display: flex;
 flex-wrap: wrap;
 gap: var(--space-2) var(--space-4);
 padding-top: var(--space-3);
 border-top: 1px solid var(--line);
 font-family: var(--font-mono);
 font-size: 0.68rem;
 color: var(--text-muted);
}

.product-card .card-specs span {
 display: inline-flex;
 align-items: center;
 gap: 0.35rem;
}

.product-card .card-specs strong {
 color: var(--text-secondary);
 font-weight: 500;
}

/* Featured cards - equal size */
.featured-grid .product-card {
 height: 100%;
 display: flex;
 flex-direction: column;
}

.featured-grid .product-card .card-body {
 flex: 1;
 display: flex;
 flex-direction: column;
}

.featured-grid .product-card .card-media {
 aspect-ratio: 1 / 1;
}

/* ---------- Pillars ---------- */
.pillars-grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: var(--space-4);
}

.pillar {
 background: var(--bg-elevated);
 border: 1px solid var(--border);
 border-radius: var(--radius-lg);
 padding: var(--space-5);
 position: relative;
 transition: border-color 0.3s, transform 0.3s var(--ease);
}

.pillar:hover {
 border-color: var(--border-strong);
 transform: translateY(-3px);
}

.pillar-icon {
 width: 42px;
 height: 42px;
 margin-bottom: var(--space-4);
 color: var(--accent);
 display: flex;
 align-items: center;
 justify-content: center;
}

.pillar-icon svg {
 width: 28px;
 height: 28px;
 stroke: currentColor;
 fill: none;
 stroke-width: 1.5;
}

.pillar h3 {
 font-size: 1.05rem;
 margin-bottom: var(--space-2);
}

.pillar p {
 color: var(--text-secondary);
 font-size: 0.875rem;
}

/* ---------- Frameworks row ---------- */
.frameworks-row {
 display: flex;
 flex-wrap: wrap;
 gap: var(--space-3);
 justify-content: center;
 align-items: center;
}

.frameworks-row .fw {
 font-family: var(--font-mono);
 font-size: 0.9rem;
 padding: 0.6rem 1.25rem;
 border: 1px solid var(--border);
 border-radius: var(--radius);
 color: var(--text-secondary);
 transition: border-color 0.25s, color 0.25s, background 0.25s;
}

.frameworks-row .fw:hover {
 border-color: var(--accent);
 color: var(--accent);
 background: var(--accent-dim);
}

/* ---------- News teasers ---------- */
.news-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: var(--space-4);
}

.news-card {
 background: var(--bg-elevated);
 border: 1px solid var(--border);
 border-radius: var(--radius-lg);
 overflow: hidden;
 transition: border-color 0.3s, transform 0.3s var(--ease);
}

.news-card:hover {
 border-color: var(--border-strong);
 transform: translateY(-3px);
}

.news-card .media {
 aspect-ratio: 16 / 9;
 background: #050706;
 overflow: hidden;
 display: flex;
 align-items: center;
 justify-content: center;
}

.news-card .media img {
 width: 100%;
 height: 100%;
 object-fit: contain;
 object-position: center;
 display: block;
}

.news-card .media .placeholder {
 width: 100%;
 height: 100%;
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--text-muted);
 font-family: var(--font-mono);
 font-size: 0.7rem;
}

.news-card .body {
 padding: var(--space-4) var(--space-5) var(--space-5);
}

.news-card .meta {
 display: flex;
 gap: var(--space-3);
 margin-bottom: var(--space-3);
 font-family: var(--font-mono);
 font-size: 0.7rem;
 color: var(--text-muted);
}

.news-card .cat {
 color: var(--accent);
}

.news-card h3 {
 font-size: 1.1rem;
 margin-bottom: var(--space-2);
 transition: color 0.25s;
}

.news-card:hover h3 {
 color: var(--accent);
}

.news-card p {
 color: var(--text-secondary);
 font-size: 0.875rem;
 display: -webkit-box;
 -webkit-line-clamp: 2;
 -webkit-box-orient: vertical;
 overflow: hidden;
}

/* ---------- CTA band ---------- */
.cta-band {
 background: var(--bg-elevated);
 border-block: 1px solid var(--border);
 text-align: center;
 padding-block: var(--space-9);
}

.cta-band h2 {
 margin-bottom: var(--space-3);
}

.cta-band p {
 color: var(--text-secondary);
 max-width: 36ch;
 margin-inline: auto;
 margin-bottom: var(--space-6);
}

.cta-band .actions {
 display: flex;
 flex-wrap: wrap;
 gap: var(--space-3);
 justify-content: center;
}

/* ---------- Footer ---------- */
.footer {
 background: var(--bg-base);
 border-top: 1px solid var(--border);
 padding-block: var(--space-8) var(--space-6);
 position: relative;
 z-index: 2;
}

.footer-grid {
 display: grid;
 grid-template-columns: 1.4fr 1fr 1fr 1fr;
 gap: var(--space-7);
 margin-bottom: var(--space-7);
}

.footer-brand img {
 width: 48px;
 height: 48px;
 margin-bottom: var(--space-3);
}

.footer-brand p {
 color: var(--text-secondary);
 font-size: 0.9rem;
 max-width: 28ch;
 margin-bottom: var(--space-4);
}

.footer h4 {
 font-size: 0.8rem;
 font-family: var(--font-mono);
 text-transform: uppercase;
 letter-spacing: 0.1em;
 color: var(--text-muted);
 margin-bottom: var(--space-4);
}

.footer ul {
 display: flex;
 flex-direction: column;
 gap: var(--space-2);
}

.footer a {
 color: var(--text-secondary);
 font-size: 0.9rem;
 transition: color 0.25s;
}

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

.footer-bottom {
 display: flex;
 flex-wrap: wrap;
 justify-content: space-between;
 gap: var(--space-4);
 padding-top: var(--space-5);
 border-top: 1px solid var(--line);
 font-size: 0.8rem;
 color: var(--text-muted);
}

.footer-legal {
 display: flex;
 gap: var(--space-4);
}

.footer-disclaimer {
 font-size: 0.75rem;
 color: var(--text-muted);
 max-width: 52ch;
 line-height: 1.5;
}

/* ---------- Store page ---------- */
.page-header {
 padding-top: calc(var(--nav-height) + var(--space-8));
 padding-bottom: var(--space-6);
 border-bottom: 1px solid var(--border);
}

.page-header h1 {
 margin-bottom: var(--space-3);
}

.page-header p {
 color: var(--text-secondary);
 max-width: 40ch;
}

.store-toolbar {
 display: flex;
 flex-wrap: wrap;
 gap: var(--space-4);
 align-items: center;
 justify-content: space-between;
 margin-block: var(--space-6);
}

.search-box {
 position: relative;
 flex: 1;
 min-width: 220px;
 max-width: 360px;
}

.search-box input {
 width: 100%;
 padding: 0.75rem 1rem 0.75rem 2.5rem;
 background: var(--bg-elevated);
 border: 1px solid var(--border);
 border-radius: var(--radius);
 transition: border-color 0.25s;
}

.search-box input:focus {
 border-color: var(--accent);
}

.search-box svg {
 position: absolute;
 left: 0.85rem;
 top: 50%;
 transform: translateY(-50%);
 width: 16px;
 height: 16px;
 color: var(--text-muted);
 pointer-events: none;
}

.filters {
 display: flex;
 flex-wrap: wrap;
 gap: var(--space-2);
 align-items: center;
}

.filters select {
 padding: 0.65rem 2rem 0.65rem 0.85rem;
 background: var(--bg-elevated);
 border: 1px solid var(--border);
 border-radius: var(--radius);
 appearance: none;
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%237d8a80' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
 background-repeat: no-repeat;
 background-position: right 0.75rem center;
 cursor: pointer;
 transition: border-color 0.25s;
}

.filters select:focus {
 border-color: var(--accent);
}

.store-grid {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
 gap: var(--space-4);
 margin-bottom: var(--space-8);
}

/* Product modal / detail */
.modal-overlay {
 position: fixed;
 inset: 0;
 background: rgba(5, 7, 6, 0.85);
 backdrop-filter: blur(8px);
 z-index: 2000;
 display: flex;
 align-items: center;
 justify-content: center;
 padding: var(--space-5);
 opacity: 0;
 visibility: hidden;
 transition: opacity 0.3s, visibility 0.3s;
}

.modal-overlay.open {
 opacity: 1;
 visibility: visible;
}

.modal {
 background: var(--bg-elevated);
 border: 1px solid var(--border);
 border-radius: var(--radius-xl);
 max-width: 900px;
 width: 100%;
 max-height: 90vh;
 overflow-y: auto;
 position: relative;
 transform: translateY(20px);
 transition: transform 0.35s var(--ease);
}

.modal-overlay.open .modal {
 transform: translateY(0);
}

.modal-close {
 position: absolute;
 top: var(--space-4);
 right: var(--space-4);
 width: 36px;
 height: 36px;
 display: flex;
 align-items: center;
 justify-content: center;
 border-radius: var(--radius);
 border: 1px solid var(--border);
 z-index: 5;
 transition: border-color 0.25s, background 0.25s;
}

.modal-close:hover {
 border-color: var(--accent);
 background: var(--accent-dim);
}

.modal-media {
 aspect-ratio: 16 / 9;
 background: var(--bg-surface);
}

.modal-media .placeholder {
 width: 100%;
 height: 100%;
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--text-muted);
 font-family: var(--font-mono);
 font-size: 0.8rem;
}

.modal-body {
 padding: var(--space-6);
}

.modal-body h2 {
 margin-bottom: var(--space-3);
}

.modal-body .price-row {
 display: flex;
 align-items: center;
 gap: var(--space-4);
 margin-bottom: var(--space-5);
 flex-wrap: wrap;
}

.modal-body .price {
 font-family: var(--font-display);
 font-size: 1.75rem;
 font-weight: 700;
 color: var(--accent);
}

.modal-body .desc {
 color: var(--text-secondary);
 margin-bottom: var(--space-5);
 line-height: 1.7;
}

.modal-body h3 {
 font-size: 1rem;
 margin-bottom: var(--space-3);
 margin-top: var(--space-5);
}

.modal-body ul {
 display: grid;
 gap: var(--space-2);
 margin-bottom: var(--space-4);
}

.modal-body li {
 display: flex;
 gap: var(--space-2);
 color: var(--text-secondary);
 font-size: 0.9rem;
}

.modal-body li::before {
 content: "▸";
 color: var(--accent);
 flex-shrink: 0;
}

.accordion details {
 border: 1px solid var(--border);
 border-radius: var(--radius);
 margin-bottom: var(--space-2);
 overflow: hidden;
}

.accordion summary {
 padding: var(--space-3) var(--space-4);
 cursor: pointer;
 font-weight: 500;
 list-style: none;
 display: flex;
 justify-content: space-between;
 align-items: center;
}

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

.accordion summary::after {
 content: "+";
 font-family: var(--font-mono);
 color: var(--accent);
}

.accordion details[open] summary::after {
 content: "−";
}

.accordion details[open] summary {
 border-bottom: 1px solid var(--border);
}

.accordion .content {
 padding: var(--space-3) var(--space-4) var(--space-4);
 color: var(--text-secondary);
 font-size: 0.9rem;
}

/* Cart drawer */
.cart-drawer {
 position: fixed;
 top: 0;
 right: 0;
 width: min(400px, 100%);
 height: 100%;
 background: var(--bg-elevated);
 border-left: 1px solid var(--border);
 z-index: 2500;
 display: flex;
 flex-direction: column;
 transform: translateX(100%);
 transition: transform 0.4s var(--ease);
}

.cart-drawer.open {
 transform: translateX(0);
}

.cart-backdrop {
 position: fixed;
 inset: 0;
 background: rgba(5, 7, 6, 0.6);
 z-index: 2499;
 opacity: 0;
 visibility: hidden;
 transition: opacity 0.3s, visibility 0.3s;
}

.cart-backdrop.open {
 opacity: 1;
 visibility: visible;
}

.cart-header {
 display: flex;
 align-items: center;
 justify-content: space-between;
 padding: var(--space-5);
 border-bottom: 1px solid var(--border);
}

.cart-header h3 {
 font-size: 1.1rem;
}

.cart-items {
 flex: 1;
 overflow-y: auto;
 padding: var(--space-4);
}

.cart-item {
 display: flex;
 gap: var(--space-3);
 padding: var(--space-3) 0;
 border-bottom: 1px solid var(--line);
}

.cart-item .info {
 flex: 1;
}

.cart-item h4 {
 font-size: 0.95rem;
 margin-bottom: 0.25rem;
}

.cart-item .price {
 color: var(--accent);
 font-family: var(--font-mono);
 font-size: 0.85rem;
}

.cart-item .qty {
 display: flex;
 align-items: center;
 gap: var(--space-2);
 margin-top: var(--space-2);
}

.cart-item .qty button {
 width: 28px;
 height: 28px;
 border: 1px solid var(--border);
 border-radius: var(--radius-sm);
 display: flex;
 align-items: center;
 justify-content: center;
 transition: border-color 0.2s;
}

.cart-item .qty button:hover {
 border-color: var(--accent);
}

.cart-footer {
 padding: var(--space-5);
 border-top: 1px solid var(--border);
}

.cart-total {
 display: flex;
 justify-content: space-between;
 margin-bottom: var(--space-4);
 font-weight: 600;
}

.cart-total span:last-child {
 color: var(--accent);
 font-family: var(--font-display);
 font-size: 1.25rem;
}

.cart-empty {
 text-align: center;
 padding: var(--space-8) var(--space-4);
 color: var(--text-secondary);
}

/* ---------- News page ---------- */
.news-hero-card {
 display: grid;
 grid-template-columns: 1.2fr 1fr;
 gap: 0;
 background: var(--bg-elevated);
 border: 1px solid var(--border);
 border-radius: var(--radius-xl);
 overflow: hidden;
 margin-bottom: var(--space-8);
}

.news-hero-card .media {
 aspect-ratio: 16 / 10;
 background: #050706;
 overflow: hidden;
 display: flex;
 align-items: center;
 justify-content: center;
}

.news-hero-card .media img {
 width: 100%;
 height: 100%;
 object-fit: contain;
 object-position: center;
 display: block;
}

.news-hero-card .media .placeholder {
 width: 100%;
 height: 100%;
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--text-muted);
 font-family: var(--font-mono);
}

.news-hero-card .body {
 padding: var(--space-6);
 display: flex;
 flex-direction: column;
 justify-content: center;
}

.news-hero-card .meta {
 margin-bottom: var(--space-3);
 font-family: var(--font-mono);
 font-size: 0.75rem;
 color: var(--text-muted);
 display: flex;
 gap: var(--space-3);
}

.news-hero-card .cat {
 color: var(--accent);
}

.news-hero-card h2 {
 font-size: clamp(1.5rem, 3vw, 2rem);
 margin-bottom: var(--space-3);
}

.news-hero-card p {
 color: var(--text-secondary);
 margin-bottom: var(--space-5);
}

/* Article page style (inline for simplicity) */
.article {
 max-width: 820px;
 margin-inline: auto;
 padding-block: var(--space-8);
}

.article-hero {
 width: 100%;
 aspect-ratio: 21 / 9;
 max-height: 420px;
 background: #050706;
 border: 1px solid var(--border);
 border-radius: var(--radius-xl);
 overflow: hidden;
 margin-bottom: var(--space-6);
 display: flex;
 align-items: center;
 justify-content: center;
}

.article-hero img {
 width: 100%;
 height: 100%;
 object-fit: contain;
 object-position: center;
 display: block;
}

.article .meta {
 margin-bottom: var(--space-5);
 font-family: var(--font-mono);
 font-size: 0.8rem;
 color: var(--text-muted);
 display: flex;
 gap: var(--space-3);
}

.article h1 {
 margin-bottom: var(--space-5);
}

.article-content {
 color: var(--text-secondary);
 line-height: 1.75;
}

.article-content h2 {
 color: var(--text-primary);
 font-size: 1.35rem;
 margin-top: var(--space-6);
 margin-bottom: var(--space-3);
}

.article-content ul {
 margin: var(--space-3) 0;
 padding-left: var(--space-5);
}

.article-content li {
 list-style: disc;
 margin-bottom: var(--space-2);
}

.article-content p {
 margin-bottom: var(--space-4);
}

/* ---------- Contact ---------- */
.contact-grid {
 display: grid;
 grid-template-columns: 1.1fr 0.9fr;
 gap: var(--space-8);
}

.contact-form {
 display: grid;
 gap: var(--space-4);
}

.form-group label {
 display: block;
 font-size: 0.8rem;
 font-family: var(--font-mono);
 color: var(--text-secondary);
 margin-bottom: var(--space-2);
 letter-spacing: 0.04em;
}

.form-group input,
.form-group select,
.form-group textarea {
 width: 100%;
 padding: 0.85rem 1rem;
 background: var(--bg-elevated);
 border: 1px solid var(--border);
 border-radius: var(--radius);
 transition: border-color 0.25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
 border-color: var(--accent);
}

.form-group textarea {
 min-height: 140px;
 resize: vertical;
}

.form-group .error {
 color: #df7b7b;
 font-size: 0.8rem;
 margin-top: var(--space-1);
 display: none;
}

.form-group.invalid input,
.form-group.invalid select,
.form-group.invalid textarea {
 border-color: #df7b7b;
}

.form-group.invalid .error {
 display: block;
}

.form-success {
 display: none;
 padding: var(--space-5);
 background: var(--accent-dim);
 border: 1px solid var(--border-strong);
 border-radius: var(--radius);
 color: var(--accent);
 text-align: center;
}

.form-success.show {
 display: block;
}

.contact-channels {
 display: flex;
 flex-direction: column;
 gap: var(--space-4);
}

.channel {
 background: var(--bg-elevated);
 border: 1px solid var(--border);
 border-radius: var(--radius-lg);
 padding: var(--space-5);
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: var(--space-3);
}

.channel h3 {
 font-size: 1rem;
 margin-bottom: 0.25rem;
}

.channel p {
 color: var(--text-secondary);
 font-size: 0.875rem;
}

.copy-btn {
 font-family: var(--font-mono);
 font-size: 0.75rem;
 padding: 0.4rem 0.75rem;
 border: 1px solid var(--border);
 border-radius: var(--radius-sm);
 color: var(--text-secondary);
 transition: border-color 0.25s, color 0.25s;
}

.copy-btn:hover {
 border-color: var(--accent);
 color: var(--accent);
}

.support-hours {
 background: var(--bg-elevated);
 border: 1px solid var(--border);
 border-radius: var(--radius-lg);
 padding: var(--space-5);
 margin-top: var(--space-4);
}

.support-hours .status {
 display: inline-flex;
 align-items: center;
 gap: var(--space-2);
 color: var(--accent);
 font-family: var(--font-mono);
 font-size: 0.8rem;
 margin-bottom: var(--space-2);
}

.support-hours .status::before {
 content: "";
 width: 8px;
 height: 8px;
 background: var(--accent);
 border-radius: 50%;
 box-shadow: 0 0 8px var(--accent);
}

/* ---------- 404 ---------- */
.page-404 {
 min-height: 100vh;
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 text-align: center;
 padding: var(--space-8) var(--gutter);
}

.page-404 .code {
 font-family: var(--font-display);
 font-size: clamp(6rem, 18vw, 12rem);
 font-weight: 700;
 color: transparent;
 -webkit-text-stroke: 1.5px var(--accent);
 line-height: 1;
 margin-bottom: var(--space-4);
 opacity: 0.7;
}

.page-404 h1 {
 margin-bottom: var(--space-3);
}

.page-404 p {
 color: var(--text-secondary);
 margin-bottom: var(--space-6);
 max-width: 32ch;
}

/* ---------- Utilities ---------- */
.sr-only {
 position: absolute;
 width: 1px;
 height: 1px;
 padding: 0;
 margin: -1px;
 overflow: hidden;
 clip: rect(0, 0, 0, 0);
 border: 0;
}

.text-accent { color: var(--accent); }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mb-4 { margin-bottom: var(--space-4); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
 .hero-grid {
 grid-template-columns: 1fr;
 gap: var(--space-6);
 }
 .boot-console {
 max-width: 480px;
 }
 .featured-grid {
 grid-template-columns: 1fr 1fr;
 }
 .pillars-grid {
 grid-template-columns: 1fr 1fr;
 }
 .footer-grid {
 grid-template-columns: 1fr 1fr;
 }
 .news-hero-card {
 grid-template-columns: 1fr;
 }
 .contact-grid {
 grid-template-columns: 1fr;
 }
}

@media (max-width: 768px) {
 :root {
 --nav-height: 64px;
 --gutter: 1.15rem;
 }
 .nav-links, .nav-actions .btn-secondary {
 display: none;
 }
 .nav-toggle {
 display: flex;
 }
 .stats-grid {
 grid-template-columns: 1fr;
 gap: var(--space-5);
 }
 .featured-grid,
 .news-grid,
 .pillars-grid {
 grid-template-columns: 1fr;
 }
 .footer-grid {
 grid-template-columns: 1fr;
 gap: var(--space-5);
 }
 .store-toolbar {
 flex-direction: column;
 align-items: stretch;
 }
 .search-box {
 max-width: none;
 }
 .hero-ctas {
 flex-direction: column;
 }
 .hero-ctas .btn {
 width: 100%;
 }
}

@media (max-width: 480px) {
 .display-xl {
 font-size: 2.35rem;
 }
}


/* ---------- Product detail page ---------- */
.product-page {
 padding-top: calc(var(--nav-height) + var(--space-7));
 padding-bottom: var(--space-9);
}
.product-page .back-link {
 display: inline-flex;
 align-items: center;
 gap: 0.4rem;
 font-family: var(--font-mono);
 font-size: 0.75rem;
 letter-spacing: 0.06em;
 color: var(--text-muted);
 margin-bottom: var(--space-5);
 transition: color 0.25s;
}
.product-page .back-link:hover { color: var(--accent); }
.product-layout {
 display: grid;
 grid-template-columns: 1.05fr 0.95fr;
 gap: var(--space-7);
 align-items: start;
}
.product-gallery {
 background: #050706;
 border: 1px solid var(--border);
 border-radius: var(--radius-xl);
 overflow: hidden;
 aspect-ratio: 1 / 1;
 display: flex;
 align-items: center;
 justify-content: center;
}
.product-gallery img {
 width: 100%;
 height: 100%;
 object-fit: contain;
 object-position: center;
 display: block;
}
.product-gallery .placeholder {
 width: 100%;
 height: 100%;
 display: flex;
 align-items: center;
 justify-content: center;
 color: var(--text-muted);
 font-family: var(--font-mono);
 font-size: 0.8rem;
 text-align: center;
 padding: var(--space-5);
 background: linear-gradient(145deg, #0f1512, #1a221c);
}
.product-info .card-tags { margin-bottom: var(--space-3); }
.product-info h1 {
 font-size: clamp(1.75rem, 3.5vw, 2.5rem);
 margin-bottom: var(--space-3);
}
.product-info .price-row {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 gap: var(--space-4);
 margin-bottom: var(--space-5);
}
.product-info .price {
 font-family: var(--font-display);
 font-size: 1.75rem;
 font-weight: 700;
 color: var(--accent);
}
.product-info .desc {
 color: var(--text-secondary);
 line-height: 1.7;
 margin-bottom: var(--space-5);
}
.product-info h3 {
 font-size: 1rem;
 margin-top: var(--space-5);
 margin-bottom: var(--space-3);
}
.product-info ul {
 display: grid;
 gap: var(--space-2);
}
.product-info li {
 display: flex;
 gap: var(--space-2);
 color: var(--text-secondary);
 font-size: 0.9rem;
}
.product-info li::before {
 content: "▸";
 color: var(--accent);
 flex-shrink: 0;
}
.product-meta-box {
 margin-top: var(--space-5);
 padding: var(--space-4);
 background: var(--bg-elevated);
 border: 1px solid var(--border);
 border-radius: var(--radius-lg);
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: var(--space-3);
 font-family: var(--font-mono);
 font-size: 0.75rem;
}
.product-meta-box span { color: var(--text-muted); display: block; margin-bottom: 0.2rem; }
.product-meta-box strong { color: var(--text-primary); font-weight: 500; }
@media (max-width: 900px) {
 .product-layout { grid-template-columns: 1fr; }
 .product-meta-box { grid-template-columns: 1fr; }
}

/* ---------- Showcase spotlight ---------- */
.showcase-section {
 padding-block: var(--space-8);
}

.showcase-card {
 display: grid;
 grid-template-columns: 1fr 1.15fr;
 gap: 0;
 background: var(--bg-elevated);
 border: 1px solid var(--border);
 border-radius: var(--radius-xl);
 overflow: hidden;
 align-items: stretch;
}

.showcase-copy {
 padding: clamp(1.25rem, 2.5vw, 1.85rem);
 display: flex;
 flex-direction: column;
 justify-content: center;
}

.showcase-copy .label {
 margin-bottom: var(--space-3);
 color: var(--accent);
}

.showcase-copy h2 {
 margin-bottom: var(--space-2);
 font-size: clamp(1.35rem, 2.4vw, 1.85rem);
}

.showcase-desc {
 color: var(--text-secondary);
 margin-bottom: var(--space-4);
 max-width: 42ch;
 line-height: 1.5;
 font-size: 0.92rem;
}

.showcase-features {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: 0.4rem 1rem;
 list-style: none;
 padding: 0;
 margin: 0 0 var(--space-4);
}

.showcase-features li {
 display: flex;
 align-items: center;
 gap: 0.4rem;
 font-size: 0.8rem;
 color: var(--text-secondary);
}

.showcase-features .check {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 width: 1rem;
 height: 1rem;
 flex-shrink: 0;
 border-radius: 50%;
 background: rgba(151, 223, 91, 0.12);
 border: 1px solid rgba(151, 223, 91, 0.45);
 color: var(--accent);
 font-size: 0.65rem;
 line-height: 1;
}

.showcase-features .check::before {
 content: "✓";
 font-weight: 700;
 color: var(--accent);
}

.showcase-price-row {
 display: flex;
 flex-wrap: wrap;
 align-items: baseline;
 gap: 0.5rem 0.85rem;
 margin-bottom: var(--space-4);
}

.showcase-price {
 font-size: 1.4rem;
 font-weight: 700;
 color: var(--text-primary);
 letter-spacing: -0.02em;
}

.showcase-meta {
 font-size: 0.8rem;
 color: var(--text-muted);
 font-family: var(--font-mono);
}

.showcase-actions {
 display: flex;
 flex-wrap: wrap;
 gap: var(--space-3);
}

.showcase-media {
 position: relative;
 background: #050706;
 min-height: 100%;
 display: flex;
 align-items: center;
 justify-content: center;
 overflow: hidden;
 padding: 1.25rem;
}

.showcase-media img {
 width: auto;
 height: auto;
 max-width: 100%;
 max-height: 280px;
 object-fit: contain;
 object-position: center;
 display: block;
 margin: auto;
}

.showcase-badges {
 position: absolute;
 left: 1rem;
 bottom: 1rem;
 display: flex;
 gap: 0.4rem;
 flex-wrap: wrap;
}

.showcase-badges span {
 padding: 0.3rem 0.65rem;
 font-size: 0.7rem;
 font-family: var(--font-mono);
 text-transform: uppercase;
 letter-spacing: 0.06em;
 color: var(--text-primary);
 background: rgba(5, 7, 6, 0.75);
 border: 1px solid var(--border);
 border-radius: 99px;
 backdrop-filter: blur(8px);
}

@media (max-width: 900px) {
 .showcase-card {
 grid-template-columns: 1fr;
 }
 .showcase-media {
 max-height: 260px;
 aspect-ratio: 16 / 10;
 }
 .showcase-features {
 grid-template-columns: 1fr;
 }
}


/* ---------- Home FAQ ---------- */
.faq-layout {
 display: grid;
 grid-template-columns: 0.9fr 1.2fr;
 gap: var(--space-8);
 align-items: start;
}

.faq-intro h2 {
 margin-bottom: var(--space-4);
 line-height: 1.02;
 font-size: clamp(2.4rem, 5.5vw, 3.75rem);
 letter-spacing: -0.03em;
}

.faq-intro p {
 color: var(--text-secondary);
 max-width: 32ch;
 margin-bottom: var(--space-5);
 line-height: 1.55;
}

.faq-list.accordion details {
 background: var(--bg-elevated);
 border-radius: var(--radius-lg);
 margin-bottom: 0.65rem;
 border-color: var(--border);
 transition: border-color 0.25s;
}

.faq-list.accordion details[open] {
 border-color: rgba(151, 223, 91, 0.35);
 box-shadow: 0 0 0 1px rgba(151, 223, 91, 0.08);
}

.faq-list.accordion summary {
 padding: 1rem 1.15rem;
 font-size: 0.95rem;
}

.faq-list.accordion summary::after {
 content: "▾";
 font-size: 0.75rem;
 transition: transform 0.25s;
}

.faq-list.accordion details[open] summary::after {
 content: "▴";
}

.faq-list.accordion .content {
 padding: 0 1.15rem 1.1rem;
 font-size: 0.9rem;
 line-height: 1.55;
}

@media (max-width: 900px) {
 .faq-layout {
 grid-template-columns: 1fr;
 gap: var(--space-6);
 }
}


/* ---------- Legal pages ---------- */
.legal-page {
 padding-top: calc(var(--nav-height) + var(--space-7));
}

.legal-wrap {
 max-width: 820px;
}

.legal-header {
 margin-bottom: var(--space-7);
 padding-bottom: var(--space-5);
 border-bottom: 1px solid var(--border);
}

.legal-header .label {
 color: var(--accent);
 margin-bottom: var(--space-3);
 display: inline-block;
}

.legal-header h1 {
 margin-bottom: var(--space-3);
}

.legal-meta {
 color: var(--text-muted);
 font-size: 0.875rem;
 font-family: var(--font-mono);
}

.legal-content h2 {
 font-size: 1.15rem;
 margin-top: var(--space-6);
 margin-bottom: var(--space-3);
 color: var(--text-primary);
}

.legal-content p,
.legal-content li {
 color: var(--text-secondary);
 line-height: 1.65;
 font-size: 0.95rem;
}

.legal-content p {
 margin-bottom: var(--space-3);
}

.legal-content ul {
 margin: 0 0 var(--space-4);
 padding-left: 1.2rem;
}

.legal-content li {
 margin-bottom: 0.4rem;
}

.legal-content a {
 color: var(--accent);
 text-decoration: underline;
 text-underline-offset: 2px;
}

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


/* ---------- Documentation ---------- */
.docs-hub { padding-top: calc(var(--nav-height) + var(--space-7)); }

.docs-hero {
 max-width: 40rem;
 margin-bottom: var(--space-7);
}

.docs-hero .label { color: var(--accent); display: inline-block; margin-bottom: var(--space-3); }
.docs-hero h1 { margin-bottom: var(--space-3); }
.docs-hero p { color: var(--text-secondary); font-size: 1.05rem; }

.docs-grid {
 display: grid;
 grid-template-columns: repeat(3, 1fr);
 gap: var(--space-4);
 margin-bottom: var(--space-8);
}

.docs-card {
 display: flex;
 flex-direction: column;
 background: var(--bg-elevated);
 border: 1px solid var(--border);
 border-radius: var(--radius-xl);
 overflow: hidden;
 text-decoration: none;
 color: inherit;
 transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

.docs-card:hover {
 border-color: rgba(151, 223, 91, 0.35);
 transform: translateY(-3px);
 box-shadow: 0 16px 40px rgba(0,0,0,0.35);
 color: inherit;
}

.docs-card-media {
 aspect-ratio: 16 / 11;
 background: #050706;
 display: flex;
 align-items: center;
 justify-content: center;
 overflow: hidden;
}

.docs-card-media img {
 width: 100%;
 height: 100%;
 object-fit: contain;
}

.docs-card-body {
 padding: 1.25rem 1.35rem 1.4rem;
 display: flex;
 flex-direction: column;
 flex: 1;
 gap: 0.65rem;
}

.docs-card-meta {
 display: flex;
 flex-wrap: wrap;
 gap: 0.35rem;
}

.docs-card-body h2 {
 font-size: 1.15rem;
 margin: 0;
}

.docs-card-body p {
 color: var(--text-secondary);
 font-size: 0.9rem;
 line-height: 1.5;
 margin: 0;
 flex: 1;
}

.docs-card-link {
 color: var(--accent);
 font-size: 0.875rem;
 font-weight: 600;
 margin-top: 0.35rem;
}

.docs-help {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: var(--space-4);
 padding: 1.35rem 1.5rem;
 background: var(--bg-elevated);
 border: 1px solid var(--border);
 border-radius: var(--radius-xl);
}

.docs-help h3 { margin-bottom: 0.35rem; }
.docs-help p { color: var(--text-secondary); margin: 0; max-width: 40ch; font-size: 0.925rem; }

/* Article */
.docs-article { padding-top: calc(var(--nav-height) + var(--space-6)); }

.docs-layout {
 display: grid;
 grid-template-columns: 220px 1fr;
 gap: var(--space-7);
 align-items: start;
}

.docs-sidebar {
 position: sticky;
 top: calc(var(--nav-height) + 1.25rem);
}

.docs-back {
 display: inline-block;
 color: var(--accent);
 font-size: 0.85rem;
 font-weight: 500;
 margin-bottom: var(--space-5);
}

.docs-sidebar-label {
 font-family: var(--font-mono);
 font-size: 0.7rem;
 text-transform: uppercase;
 letter-spacing: 0.08em;
 color: var(--text-muted);
 margin-bottom: 0.75rem;
}

.docs-toc {
 display: flex;
 flex-direction: column;
 gap: 0.35rem;
 margin-bottom: var(--space-5);
}

.docs-toc a {
 color: var(--text-secondary);
 font-size: 0.875rem;
 padding: 0.35rem 0;
 border-left: 2px solid transparent;
 padding-left: 0.65rem;
 transition: color 0.2s, border-color 0.2s;
}

.docs-toc a:hover {
 color: var(--accent);
 border-left-color: var(--accent);
}

.docs-sidebar-cta {
 padding: 1rem;
 background: var(--bg-elevated);
 border: 1px solid var(--border);
 border-radius: var(--radius-lg);
}

.docs-sidebar-cta p {
 font-size: 0.85rem;
 color: var(--text-secondary);
 margin-bottom: 0.65rem;
}

.docs-content {
 max-width: 760px;
 background: var(--bg-elevated);
 border: 1px solid var(--border);
 border-radius: var(--radius-xl);
 padding: clamp(1.5rem, 3vw, 2.25rem);
}

.docs-content-header {
 margin-bottom: var(--space-6);
 padding-bottom: var(--space-5);
 border-bottom: 1px solid var(--border);
}

.docs-content-header .label {
 color: var(--accent);
 display: inline-block;
 margin-bottom: var(--space-3);
}

.docs-content-header h1 {
 margin-bottom: var(--space-3);
 font-size: clamp(1.6rem, 3vw, 2.15rem);
}

.docs-lead {
 color: var(--text-secondary);
 margin: 0;
 font-size: 0.95rem;
}

.docs-content h2 {
 font-size: 1.15rem;
 margin: var(--space-6) 0 var(--space-3);
 scroll-margin-top: calc(var(--nav-height) + 1rem);
}

.docs-content p, .docs-content li {
 color: var(--text-secondary);
 line-height: 1.65;
 font-size: 0.95rem;
}

.docs-content a { color: var(--accent); }

.docs-checklist, .docs-steps {
 margin: 0 0 var(--space-4);
 padding-left: 1.2rem;
}

.docs-checklist li, .docs-steps li { margin-bottom: 0.45rem; }

.docs-code {
 background: #050706;
 border: 1px solid var(--border);
 border-radius: var(--radius-lg);
 padding: 1rem 1.15rem;
 overflow-x: auto;
 margin: 0 0 var(--space-4);
}

.docs-code code {
 font-family: var(--font-mono);
 font-size: 0.8rem;
 color: var(--text-primary);
 line-height: 1.6;
 white-space: pre;
}

.docs-callout {
 padding: 0.9rem 1.1rem;
 border-radius: var(--radius-lg);
 border: 1px solid rgba(151, 223, 91, 0.28);
 background: rgba(151, 223, 91, 0.06);
 color: var(--text-secondary);
 font-size: 0.9rem;
 margin-bottom: var(--space-5);
 line-height: 1.5;
}

.docs-callout strong { color: var(--accent); }

.docs-callout.warn {
 border-color: rgba(151, 223, 91, 0.2);
 background: rgba(255, 180, 50, 0.06);
 border-color: rgba(255, 180, 50, 0.3);
}

.docs-callout.warn strong { color: #e8b84a; }

.docs-table-wrap { overflow-x: auto; margin-bottom: var(--space-4); }

.docs-table {
 width: 100%;
 border-collapse: collapse;
 font-size: 0.875rem;
}

.docs-table th,
.docs-table td {
 text-align: left;
 padding: 0.7rem 0.85rem;
 border-bottom: 1px solid var(--border);
 color: var(--text-secondary);
}

.docs-table th {
 color: var(--text-muted);
 font-family: var(--font-mono);
 font-size: 0.72rem;
 text-transform: uppercase;
 letter-spacing: 0.06em;
 font-weight: 500;
}

.docs-foot {
 margin-top: var(--space-6);
 padding-top: var(--space-4);
 border-top: 1px solid var(--border);
 font-size: 0.875rem;
}

@media (max-width: 1000px) {
 .docs-grid { grid-template-columns: 1fr; }
 .docs-layout { grid-template-columns: 1fr; }
 .docs-sidebar {
 position: relative;
 top: 0;
 }
 .docs-toc { flex-direction: row; flex-wrap: wrap; gap: 0.5rem 1rem; }
 .docs-toc a { border-left: none; padding-left: 0; }
 .docs-help { flex-direction: column; align-items: flex-start; }
}


/* ---------- Contact redesign ---------- */
.contact-section {
  padding-top: var(--space-6);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.85fr;
  gap: var(--space-5);
  align-items: start;
}

.contact-panel {
  position: relative;
  background: linear-gradient(180deg, rgba(23, 29, 25, 0.95), rgba(10, 13, 11, 0.98));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: clamp(1.4rem, 3vw, 2.1rem);
  overflow: hidden;
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(151,223,91,0.7), transparent);
}

.contact-panel-head {
  margin-bottom: var(--space-5);
}

.contact-panel-head .label {
  color: var(--accent);
  display: inline-block;
  margin-bottom: 0.65rem;
}

.contact-panel-head h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  margin-bottom: 0.5rem;
}

.contact-panel-head p {
  color: var(--text-secondary);
  max-width: 42ch;
  margin: 0;
  font-size: 0.95rem;
}

.contact-form-v2 .cf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3);
}

.contact-form-v2 .form-group {
  margin-bottom: 1rem;
}

.contact-form-v2 label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
  font-family: var(--font-mono);
}

.contact-form-v2 input[type="text"],
.contact-form-v2 input[type="email"],
.contact-form-v2 textarea {
  width: 100%;
  background: rgba(5, 7, 6, 0.75);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  padding: 0.85rem 1rem;
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form-v2 textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.55;
}

.contact-form-v2 input:focus,
.contact-form-v2 textarea:focus {
  outline: none;
  border-color: rgba(151, 223, 91, 0.55);
  box-shadow: 0 0 0 3px rgba(151, 223, 91, 0.1);
}

.cf-topics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}

.cf-topic {
  display: block;
  cursor: pointer;
}

.cf-topic input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.cf-topic span {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 44px;
  padding: 0.55rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(5, 7, 6, 0.55);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--font-sans);
  transition: border-color 0.2s, color 0.2s, background 0.2s, box-shadow 0.2s;
}

.cf-topic input:checked + span {
  color: #050706;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 18px rgba(151, 223, 91, 0.28);
}

.cf-topic:hover span {
  border-color: rgba(151, 223, 91, 0.35);
  color: var(--text-primary);
}

.cf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
  margin-top: 0.35rem;
}

.cf-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.form-success-v2 {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}

.form-success-v2.show,
.form-success.show.form-success-v2 {
  display: block;
}

.form-success-v2 .fs-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(151, 223, 91, 0.12);
  border: 1px solid rgba(151, 223, 91, 0.45);
  color: var(--accent);
  font-size: 1.3rem;
  box-shadow: 0 0 24px rgba(151, 223, 91, 0.2);
}

.form-success-v2 h3 {
  margin-bottom: 0.4rem;
}

.form-success-v2 p {
  color: var(--text-secondary);
  margin: 0;
}

.contact-aside {
  display: grid;
  gap: 0.85rem;
}

.info-card {
  display: block;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 1.15rem 1.2rem;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}

a.info-card:hover {
  border-color: rgba(151, 223, 91, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.28);
  color: inherit;
}

.info-card-discord {
  background: linear-gradient(145deg, rgba(151, 223, 91, 0.08), rgba(10, 13, 11, 0.95));
  border-color: rgba(151, 223, 91, 0.22);
}

.info-card-soft {
  background: rgba(10, 13, 11, 0.85);
}

.info-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.info-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  background: rgba(151, 223, 91, 0.08);
  border: 1px solid rgba(151, 223, 91, 0.2);
}

.info-badge,
.info-live {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  color: var(--accent);
  border: 1px solid rgba(151, 223, 91, 0.35);
  background: rgba(151, 223, 91, 0.08);
}

.info-live::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  vertical-align: middle;
}

.info-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.info-card p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0 0 0.85rem;
}

.info-card p:last-child {
  margin-bottom: 0;
}

.info-email {
  font-family: var(--font-mono);
  color: var(--text-primary) !important;
  font-size: 0.92rem !important;
}

.info-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
}

@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-form-v2 .cf-row,
  .cf-topics {
    grid-template-columns: 1fr;
  }
}


/* ---------- Video spotlight ---------- */
.video-spotlight {
  background: var(--bg-base);
}

.video-spotlight-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: var(--space-6);
  align-items: center;
}

.video-spotlight-copy .label {
  color: var(--accent);
  display: inline-block;
  margin-bottom: var(--space-3);
}

.video-spotlight-copy h2 {
  margin-bottom: var(--space-3);
}

.video-spotlight-copy > p {
  color: var(--text-secondary);
  max-width: 40ch;
  margin-bottom: var(--space-4);
  line-height: 1.55;
}

.video-spotlight-points {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-5);
  display: grid;
  gap: 0.55rem;
}

.video-spotlight-points li {
  position: relative;
  padding-left: 1.2rem;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.45;
}

.video-spotlight-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px rgba(151, 223, 91, 0.45);
}

.video-spotlight-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.video-spotlight-frame {
  position: relative;
}

.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 560px;
  margin-inline: auto;
  max-width: 320px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(151, 223, 91, 0.22);
  background: #050706;
  box-shadow:
    0 0 0 1px rgba(151, 223, 91, 0.05),
    0 20px 50px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(151, 223, 91, 0.08);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 900px) {
  .video-spotlight-grid {
    grid-template-columns: 1fr;
  }
  .video-embed {
    max-width: 280px;
  }
}
