/* ============================================
   EVERGREEN COMPUTER TECHNOLOGY - STYLES
   RGB Gaming Aesthetic + Professional Tech
   ============================================ */

/* --- FOUT Prevention: Size-Adjusted Fallback Fonts ---
   These @font-face rules create local fallback fonts that match the
   metrics (width, height, spacing) of our Google Fonts so text doesn't
   jump when the real fonts load. The size-adjust, ascent-override, and
   descent-override values are tuned to each font's metrics.
   -------------------------------------------------------- */

/* Orbitron fallback — wide, geometric display font.
   Fallback: Arial (similar x-height), scaled down to avoid oversizing on swap */
@font-face {
    font-family: 'Orbitron Fallback';
    src: local('Arial'), local('Helvetica Neue'), local('Helvetica'), local('sans-serif');
    font-weight: 400 900;
    font-style: normal;
    size-adjust: 93%;
    ascent-override: 105%;
    descent-override: 22%;
    line-gap-override: 0%;
}

/* Rajdhani fallback — condensed heading font.
   Fallback: Arial Narrow / system sans, narrowed and shrunk to match Rajdhani's compact glyphs */
@font-face {
    font-family: 'Rajdhani Fallback';
    src: local('Arial Narrow'), local('Arial'), local('Helvetica'), local('sans-serif');
    font-weight: 300 700;
    font-style: normal;
    size-adjust: 89%;
    ascent-override: 110%;
    descent-override: 28%;
    line-gap-override: 0%;
}

/* Inter fallback — clean body font, very close to system sans.
   Fallback: system-ui which is metrically similar to Inter */
@font-face {
    font-family: 'Inter Fallback';
    src: local('system-ui'), local('-apple-system'), local('Segoe UI'), local('Arial'), local('sans-serif');
    font-weight: 300 700;
    font-style: normal;
    size-adjust: 100%;
    ascent-override: 90%;
    descent-override: 22%;
    line-gap-override: 0%;
}

/* --- CSS Variables --- */
:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #0f0f18;
    --bg-card: #12121e;
    --bg-card-hover: #181830;

    --text-primary: #f0f0f5;
    --text-secondary: #8888aa;
    --text-muted: #555577;

    --rgb-red: #ff3366;
    --rgb-blue: #3366ff;
    --rgb-cyan: #00ffcc;
    --rgb-purple: #aa44ff;
    --rgb-green: #33ff88;
    --rgb-orange: #ff8833;
    --rgb-pink: #ff44aa;

    --gradient-primary: linear-gradient(135deg, var(--rgb-cyan), var(--rgb-blue), var(--rgb-purple));
    --gradient-rgb: linear-gradient(90deg, var(--rgb-red), var(--rgb-orange), var(--rgb-green), var(--rgb-cyan), var(--rgb-blue), var(--rgb-purple), var(--rgb-pink), var(--rgb-red));
    --gradient-card: linear-gradient(160deg, rgba(100, 100, 255, 0.08), rgba(0, 255, 204, 0.04));

    --border-color: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(0, 255, 204, 0.2);

    --font-display: 'Orbitron', 'Orbitron Fallback', sans-serif;
    --font-heading: 'Rajdhani', 'Rajdhani Fallback', sans-serif;
    --font-body: 'Inter', 'Inter Fallback', sans-serif;

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --shadow-glow: 0 0 40px rgba(0, 255, 204, 0.15);
    --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.4);

    --nav-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

ul { list-style: none; }

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

/* --- Animated RGB Background --- */
.rgb-bg {
    position: fixed;
    inset: 0;
    z-index: -3;
    background: var(--bg-primary);
}

.rgb-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg at 50% 50%,
        rgba(255, 51, 102, 0.03),
        rgba(51, 102, 255, 0.03),
        rgba(0, 255, 204, 0.03),
        rgba(170, 68, 255, 0.03),
        rgba(255, 51, 102, 0.03)
    );
    animation: rgbRotate 20s linear infinite;
}

@keyframes rgbRotate {
    100% { transform: rotate(360deg); }
}

.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: -2;
    background-image:
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

/* --- Particles --- */
.particle-container {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    animation: particleFloat linear infinite;
    opacity: 0;
}

@keyframes particleFloat {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    background: #0a0a0f;
    border-bottom: 1px solid var(--border-color);
}

.navbar.scrolled {
    background: #0a0a0f;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    position: relative;
}

.logo-icon-sm {
    width: 32px;
    height: 32px;
}

.chip-icon {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chip-icon > span {
    position: absolute;
    width: 3px;
    height: 6px;
    background: var(--rgb-cyan);
    border-radius: 1px;
}

.chip-icon > span:nth-child(1) { top: 0; left: 25%; }
.chip-icon > span:nth-child(2) { top: 0; right: 25%; }
.chip-icon > span:nth-child(3) { bottom: 0; left: 25%; }
.chip-icon > span:nth-child(4) { bottom: 0; right: 25%; }
.chip-icon > span:nth-child(5) { left: 0; top: 25%; width: 6px; height: 3px; }
.chip-icon > span:nth-child(6) { left: 0; bottom: 25%; width: 6px; height: 3px; }
.chip-icon > span:nth-child(7) { right: 0; top: 25%; width: 6px; height: 3px; }
.chip-icon > span:nth-child(8) { right: 0; bottom: 25%; width: 6px; height: 3px; }

.chip-core {
    width: 55%;
    height: 55%;
    background: linear-gradient(135deg, var(--rgb-cyan), var(--rgb-blue));
    border-radius: 4px;
    box-shadow: 0 0 12px rgba(0, 255, 204, 0.5);
    animation: chipPulse 3s ease-in-out infinite;
}

@keyframes chipPulse {
    0%, 100% { box-shadow: 0 0 12px rgba(0, 255, 204, 0.5); }
    50% { box-shadow: 0 0 20px rgba(0, 255, 204, 0.8), 0 0 40px rgba(0, 255, 204, 0.3); }
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 3px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-sub {
    font-family: var(--font-heading);
    font-size: 0.6rem;
    letter-spacing: 4px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    transition: width 0.3s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ── Nav Dropdown ── */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
    transition: color 0.3s;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.nav-dropdown-toggle::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
    transition: width 0.3s ease;
}

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

.nav-dropdown-toggle:hover::after,
.nav-dropdown-toggle.active::after {
    width: 100%;
}

.nav-dropdown-arrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    transition: transform 0.25s ease;
}

.nav-dropdown.open .nav-dropdown-arrow {
    transform: rotate(180deg);
}

/* ── Mega Menu ── */
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    width: max-content;
    max-width: 720px;
    background: rgba(12, 12, 20, 0.97);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 12px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    z-index: 200;
    box-shadow: 0 16px 48px rgba(0,0,0,0.55), 0 0 0 1px rgba(0,255,204,0.04);
}

.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

/* 3-column grid */
.mega-columns {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    padding: 0.6rem 0;
}

.mega-col {
    padding: 0 0.25rem;
    border-right: 1px solid rgba(255,255,255,0.04);
}

.mega-col:last-child {
    border-right: none;
}

/* Category label */
.nav-dropdown-label {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.9rem 0.3rem;
    color: var(--accent, #00ffcc);
    font-family: var(--font-heading);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.75;
    pointer-events: none;
}

.nav-dropdown-label svg {
    width: 12px;
    height: 12px;
    opacity: 0.6;
}

.nav-dropdown-label:not(:first-child) {
    margin-top: 0.45rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Items */
.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    color: rgba(255,255,255,0.6);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.3px;
    text-decoration: none;
    transition: all 0.18s;
    white-space: nowrap;
    border-radius: 6px;
    margin: 0 0.25rem;
}

.nav-dropdown-item:hover {
    background: rgba(0,255,204,0.06);
    color: var(--text-primary, #f0f0f5);
}

.nav-dropdown-item svg {
    width: 14px;
    height: 14px;
    opacity: 0.35;
    flex-shrink: 0;
    transition: opacity 0.2s;
}

.nav-dropdown-item:hover svg {
    opacity: 0.75;
}

/* Footer row — full-width below columns */
.mega-footer {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(255,255,255,0.015);
    border-radius: 0 0 12px 12px;
}

.mega-footer .nav-dropdown-item {
    padding: 0.4rem 0.9rem;
    font-size: 0.76rem;
    color: rgba(255,255,255,0.55);
    border-radius: 6px;
    margin: 0;
}

.mega-footer .nav-dropdown-item:hover {
    background: rgba(0,255,204,0.08);
    color: #00ffcc;
}

/* Legacy compat — hide old dividers in mega menu */
.nav-dropdown-divider {
    display: none;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 255, 204, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-glow);
}

.btn-outline:hover {
    background: rgba(0, 255, 204, 0.05);
    border-color: var(--rgb-cyan);
    transform: translateY(-2px);
}

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

/* --- Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: calc(var(--nav-height) + 2rem) 2rem 4rem;
    max-width: 1280px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(0, 255, 204, 0.06);
    border: 1px solid rgba(0, 255, 204, 0.15);
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--rgb-cyan);
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease both;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--rgb-cyan);
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(0, 255, 204, 0.6); }
    50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(0, 255, 204, 0); }
}

.hero-title {
    font-family: var(--font-display);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: 2px;
    animation: fadeInUp 0.8s ease both;
    animation-delay: 0.15s;
}

.title-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.3s;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 520px;
    animation: fadeInUp 0.8s ease both;
    animation-delay: 0.45s;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease both;
    animation-delay: 0.6s;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    animation: fadeInUp 0.8s ease both;
    animation-delay: 0.75s;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--rgb-cyan);
}

.stat-plus {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--rgb-cyan);
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Hero Visual: PC Showcase --- */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeInUp 1s ease both;
    animation-delay: 0.4s;
}

.pc-showcase {
    position: relative;
    width: 340px;
    height: 420px;
}

.pc-case {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0d0d1a, #0a0a14);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-card);
}

.case-glass {
    position: absolute;
    inset: 8px;
    border-radius: calc(var(--radius-lg) - 4px);
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    overflow: hidden;
    padding: 16px;
}

/* RGB Fans */
.rgb-fan {
    position: absolute;
    left: 12px;
    width: 64px;
    height: 64px;
}

.fan-top { top: 16px; }
.fan-mid { top: 88px; }
.fan-bot { top: 160px; }

.fan-blade {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(0, 255, 204, 0.1) 30deg,
        transparent 60deg,
        rgba(51, 102, 255, 0.1) 90deg,
        transparent 120deg,
        rgba(170, 68, 255, 0.1) 150deg,
        transparent 180deg,
        rgba(0, 255, 204, 0.1) 210deg,
        transparent 240deg,
        rgba(51, 102, 255, 0.1) 270deg,
        transparent 300deg,
        rgba(170, 68, 255, 0.1) 330deg,
        transparent 360deg
    );
    animation: fanSpin 3s linear infinite;
}

.fan-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    animation: rgbBorder 4s linear infinite;
}

.fan-top .fan-ring { animation-delay: 0s; }
.fan-mid .fan-ring { animation-delay: -1.3s; }
.fan-bot .fan-ring { animation-delay: -2.6s; }

@keyframes fanSpin {
    100% { transform: rotate(360deg); }
}

@keyframes rgbBorder {
    0% { border-color: var(--rgb-cyan); box-shadow: 0 0 15px rgba(0, 255, 204, 0.3), inset 0 0 15px rgba(0, 255, 204, 0.1); }
    33% { border-color: var(--rgb-blue); box-shadow: 0 0 15px rgba(51, 102, 255, 0.3), inset 0 0 15px rgba(51, 102, 255, 0.1); }
    66% { border-color: var(--rgb-purple); box-shadow: 0 0 15px rgba(170, 68, 255, 0.3), inset 0 0 15px rgba(170, 68, 255, 0.1); }
    100% { border-color: var(--rgb-cyan); box-shadow: 0 0 15px rgba(0, 255, 204, 0.3), inset 0 0 15px rgba(0, 255, 204, 0.1); }
}

/* Motherboard */
.mobo {
    position: absolute;
    right: 12px;
    top: 16px;
    bottom: 16px;
    width: calc(100% - 96px);
    background: rgba(20, 20, 40, 0.6);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 12px;
}

.cpu-block {
    width: 56px;
    height: 56px;
    margin: 8px auto 0;
    background: rgba(30, 30, 50, 0.8);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}

.water-block {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--rgb-cyan), var(--rgb-blue));
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.4);
    animation: waterBlockGlow 3s ease-in-out infinite;
}

@keyframes waterBlockGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 204, 0.4); }
    50% { box-shadow: 0 0 35px rgba(0, 255, 204, 0.7), 0 0 60px rgba(0, 255, 204, 0.2); }
}

.ram-slots {
    display: flex;
    gap: 4px;
    margin-top: 16px;
    justify-content: center;
}

.ram-stick {
    width: 8px;
    height: 48px;
    border-radius: 3px;
    position: relative;
    overflow: hidden;
    background: rgba(20, 20, 40, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.ram-stick::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    animation: ramRgb 3s ease-in-out infinite;
}

.ram-stick:nth-child(1)::after { animation-delay: 0s; }
.ram-stick:nth-child(2)::after { animation-delay: 0.2s; }
.ram-stick:nth-child(3)::after { animation-delay: 0.4s; }
.ram-stick:nth-child(4)::after { animation-delay: 0.6s; }

@keyframes ramRgb {
    0%, 100% { background: var(--rgb-red); box-shadow: 0 0 8px rgba(255, 51, 102, 0.6); }
    16% { background: var(--rgb-orange); box-shadow: 0 0 8px rgba(255, 136, 51, 0.6); }
    33% { background: var(--rgb-green); box-shadow: 0 0 8px rgba(51, 255, 136, 0.6); }
    50% { background: var(--rgb-cyan); box-shadow: 0 0 8px rgba(0, 255, 204, 0.6); }
    66% { background: var(--rgb-blue); box-shadow: 0 0 8px rgba(51, 102, 255, 0.6); }
    83% { background: var(--rgb-purple); box-shadow: 0 0 8px rgba(170, 68, 255, 0.6); }
}

.gpu {
    margin-top: 20px;
    background: rgba(15, 15, 30, 0.8);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px;
    height: 80px;
}

.gpu-fans {
    display: flex;
    gap: 4px;
    justify-content: center;
    height: 100%;
    align-items: center;
}

.gpu-fan {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: conic-gradient(from 0deg, transparent, rgba(0, 255, 204, 0.08), transparent, rgba(51, 102, 255, 0.08), transparent);
    animation: fanSpin 4s linear infinite;
}

.gpu-fan:nth-child(2) { animation-direction: reverse; }

/* Coolant Tubes */
.coolant-tubes {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.tube {
    position: absolute;
    border: 2px solid rgba(0, 255, 204, 0.2);
    border-radius: 20px;
}

.tube-1 {
    top: 40px;
    left: 74px;
    width: 50px;
    height: 2px;
    border: none;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 204, 0.3), rgba(0, 255, 204, 0.15));
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.2);
    animation: coolantFlow 2s ease-in-out infinite;
}

.tube-2 {
    bottom: 60px;
    left: 74px;
    width: 50px;
    height: 2px;
    border: none;
    background: linear-gradient(90deg, rgba(0, 255, 204, 0.15), rgba(0, 255, 204, 0.3), transparent);
    box-shadow: 0 0 8px rgba(0, 255, 204, 0.2);
    animation: coolantFlow 2s ease-in-out infinite reverse;
}

@keyframes coolantFlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Reservoir */
.reservoir {
    position: absolute;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 100px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 204, 0.15);
    border-radius: 25px;
    overflow: hidden;
}

.coolant-liquid {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70%;
    background: linear-gradient(180deg, rgba(0, 255, 204, 0.1), rgba(0, 255, 204, 0.25));
    border-radius: 0 0 25px 25px;
    animation: liquidBubble 3s ease-in-out infinite;
}

.coolant-liquid::before {
    content: '';
    position: absolute;
    top: -4px;
    left: 0;
    right: 0;
    height: 8px;
    background: rgba(0, 255, 204, 0.4);
    border-radius: 50%;
    filter: blur(2px);
    animation: liquidWave 2s ease-in-out infinite;
}

@keyframes liquidBubble {
    0%, 100% { height: 70%; }
    50% { height: 72%; }
}

@keyframes liquidWave {
    0%, 100% { transform: translateX(-2px); }
    50% { transform: translateX(2px); }
}

.glow-ring {
    position: absolute;
    inset: -20px;
    border-radius: calc(var(--radius-lg) + 20px);
    border: 1px solid transparent;
    animation: glowRingPulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes glowRingPulse {
    0%, 100% {
        box-shadow: 0 0 30px rgba(0, 255, 204, 0.1), inset 0 0 30px rgba(0, 255, 204, 0.05);
        border-color: rgba(0, 255, 204, 0.05);
    }
    50% {
        box-shadow: 0 0 60px rgba(0, 255, 204, 0.2), inset 0 0 60px rgba(0, 255, 204, 0.1);
        border-color: rgba(0, 255, 204, 0.15);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
    letter-spacing: 1px;
    animation: fadeInUp 1s ease both 1.2s;
    z-index: 2;
    width: max-content;
}

.mouse {
    width: 24px;
    height: 36px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--rgb-cyan);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 0.3; }
}

/* --- Section Common --- */
.section {
    padding: 6rem 0;
    position: relative;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding-inline: 2rem;
    box-sizing: border-box;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-tag {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--rgb-cyan);
    margin-bottom: 1rem;
    position: relative;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--rgb-cyan));
}

.section-tag::before {
    right: calc(100% + 12px);
}

.section-tag::after {
    left: calc(100% + 12px);
    background: linear-gradient(90deg, var(--rgb-cyan), transparent);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
}

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

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 1rem auto 0;
    line-height: 1.7;
}

/* --- Product Cards --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s ease;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 204, 0.2);
}

.card-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.4s;
    background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(0, 255, 204, 0.06), transparent 60%);
}

.product-card:hover .card-glow {
    opacity: 1;
}

.card-content {
    padding: 2rem;
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    color: var(--rgb-cyan);
}

.card-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    letter-spacing: 1px;
}

.card-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.card-brands {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 1.25rem;
}

.brand-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-family: var(--font-display);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    border: 1px solid;
}

/* ── Official brand colours ── */
/* Processors */
.brand-intel { color: #0071C5; border-color: rgba(0, 113, 197, 0.3); background: rgba(0, 113, 197, 0.08); }
.brand-amd { color: #ED1C24; border-color: rgba(237, 28, 36, 0.3); background: rgba(237, 28, 36, 0.08); }
/* Memory */
.brand-kingston { color: #FF0000; border-color: rgba(255, 0, 0, 0.25); background: rgba(255, 0, 0, 0.06); }
.brand-gskill { color: #FF6600; border-color: rgba(255, 102, 0, 0.3); background: rgba(255, 102, 0, 0.08); }
.brand-corsair { color: #F0D000; border-color: rgba(240, 208, 0, 0.3); background: rgba(240, 208, 0, 0.08); }
.brand-samsung { color: #1428A0; border-color: rgba(20, 40, 160, 0.3); background: rgba(20, 40, 160, 0.08); }
.brand-teamgroup { color: #FF8C00; border-color: rgba(255, 140, 0, 0.3); background: rgba(255, 140, 0, 0.08); }
/* Storage */
.brand-wd { color: #005BBB; border-color: rgba(0, 91, 187, 0.3); background: rgba(0, 91, 187, 0.08); }
.brand-lexar { color: #ED1C24; border-color: rgba(237, 28, 36, 0.3); background: rgba(237, 28, 36, 0.08); }

/* === Product Cards v2 — expanded 7-category grid === */
.card-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.sku-badge {
    font-family: 'JetBrains Mono', var(--font-mono, monospace);
    font-size: 0.6rem;
    color: var(--text-muted);
    background: rgba(0, 255, 204, 0.04);
    border: 1px solid rgba(0, 255, 204, 0.1);
    border-radius: 4px;
    padding: 2px 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.sku-badge strong {
    color: var(--rgb-cyan);
}

.sku-badge-enterprise {
    border-color: rgba(0, 179, 134, 0.15);
}

.sku-badge-enterprise strong {
    color: #00b386;
}

.product-card-enterprise {
    border-color: rgba(0, 179, 134, 0.15);
}

.product-card-enterprise:hover {
    border-color: rgba(0, 179, 134, 0.3);
}

/* Brand tag as clickable link */
a.brand-tag {
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
}

a.brand-tag:hover {
    filter: brightness(1.3);
    transform: scale(1.05);
}

/* Motherboards */
.brand-asus { color: #b0b0b8; border-color: rgba(176, 176, 184, 0.3); background: rgba(176, 176, 184, 0.06); }
.brand-msi { color: #FF0000; border-color: rgba(255, 0, 0, 0.25); background: rgba(255, 0, 0, 0.06); }
.brand-gigabyte { color: #F7751F; border-color: rgba(247, 117, 31, 0.3); background: rgba(247, 117, 31, 0.08); }
.brand-asrock { color: #009A44; border-color: rgba(0, 154, 68, 0.3); background: rgba(0, 154, 68, 0.08); }
/* Graphics Cards */
.brand-zotac { color: #F5D300; border-color: rgba(245, 211, 0, 0.3); background: rgba(245, 211, 0, 0.08); }
.brand-palit { color: #0066B3; border-color: rgba(0, 102, 179, 0.3); background: rgba(0, 102, 179, 0.08); }
.brand-gainward { color: #D4A017; border-color: rgba(212, 160, 23, 0.3); background: rgba(212, 160, 23, 0.08); }
.brand-inno3d { color: #00A651; border-color: rgba(0, 166, 81, 0.3); background: rgba(0, 166, 81, 0.08); }
.brand-pny { color: #999999; border-color: rgba(153, 153, 153, 0.3); background: rgba(153, 153, 153, 0.06); }
.brand-sapphire { color: #005BAC; border-color: rgba(0, 91, 172, 0.3); background: rgba(0, 91, 172, 0.08); }
.brand-powercolor { color: #CC0000; border-color: rgba(204, 0, 0, 0.25); background: rgba(204, 0, 0, 0.06); }
.brand-xfx { color: #00B140; border-color: rgba(0, 177, 64, 0.3); background: rgba(0, 177, 64, 0.08); }
/* Storage */
.brand-micron { color: #009CDE; border-color: rgba(0, 156, 222, 0.3); background: rgba(0, 156, 222, 0.08); }
.brand-crucial { color: #0058A2; border-color: rgba(0, 88, 162, 0.3); background: rgba(0, 88, 162, 0.08); }
.brand-seagate { color: #6EBE49; border-color: rgba(110, 190, 73, 0.3); background: rgba(110, 190, 73, 0.08); }
.brand-toshiba { color: #FF0000; border-color: rgba(255, 0, 0, 0.25); background: rgba(255, 0, 0, 0.06); }
/* Utility */
.brand-more { color: #555577; border-color: rgba(85, 85, 119, 0.2); background: rgba(85, 85, 119, 0.06); }
.brand-more:hover { color: #00ffcc; border-color: rgba(0, 255, 204, 0.2); }

.card-features {
    margin-bottom: 1.5rem;
}

.card-features li {
    font-size: 0.88rem;
    color: var(--text-secondary);
    padding: 4px 0;
    padding-left: 16px;
    position: relative;
}

.card-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--rgb-cyan);
    transform: translateY(-50%);
    opacity: 0.6;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--rgb-cyan);
    letter-spacing: 1px;
    transition: gap 0.3s;
}

.card-link:hover {
    gap: 10px;
    color: #33ffdd;
}

/* --- Brands Marquee --- */
.section-subtitle {
    font-size: 1rem;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 0.75rem;
    font-weight: 600;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 600px) {
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.brand-card {
    padding: 1.5rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-card:hover {
    border-color: rgba(0, 255, 204, 0.2);
    background: var(--bg-card-hover);
}

.brand-name {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 4px;
}

.brand-category {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1px;
}

/* --- Advantages / Why Us --- */
.advantage-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.advantage-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-rgb);
    background-size: 200% 100%;
    animation: rgbSlide 4s linear infinite;
    opacity: 0;
    transition: opacity 0.3s;
}

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

.advantage-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 204, 0.15);
    background: var(--bg-card-hover);
}

@keyframes rgbSlide {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

.adv-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: 12px;
    right: 16px;
    line-height: 1;
}

.adv-icon {
    color: var(--rgb-cyan);
    margin-bottom: 1rem;
}

.advantage-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.advantage-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- CTA Section --- */
.cta-section {
    padding: 4rem 0;
}

.cta-box {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 4rem;
    text-align: center;
    overflow: hidden;
}

.cta-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, rgba(0, 255, 204, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-rgb);
    background-size: 300% 100%;
    animation: rgbSlide 6s linear infinite;
}

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

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.cta-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* --- Contact Section --- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s;
}

.info-card:hover {
    border-color: rgba(0, 255, 204, 0.15);
    background: var(--bg-card-hover);
}

.info-icon {
    color: var(--rgb-cyan);
    flex-shrink: 0;
    margin-top: 2px;
}

.info-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}

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

.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: all 0.3s;
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--rgb-cyan);
    box-shadow: 0 0 0 3px rgba(0, 255, 204, 0.08);
    background: rgba(0, 255, 204, 0.02);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238888aa' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.form-group select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

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

/* --- Footer --- */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 280px;
}

.footer-links-group h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.footer-links-group ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links-group a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    transition: color 0.3s;
}

.footer-links-group a:hover {
    color: var(--rgb-cyan);
}

/* Footer links — bare <a> structure (used on detail & catalog pages) */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-links a {
    font-size: 0.88rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    line-height: 1.8;
}

.footer-links a:hover {
    color: var(--rgb-cyan);
}

/* Footer contact block */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.footer-contact p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-socials {
    display: flex;
    gap: 1rem;
}

.footer-socials a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-socials a:hover {
    color: var(--rgb-cyan);
}

/* --- Scroll Animations --- */
.product-card,
.advantage-card,
.info-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.product-card.visible,
.advantage-card.visible,
.info-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: calc(var(--nav-height) + 3rem);
        gap: 3rem;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
    }

    .pc-showcase {
        width: 280px;
        height: 340px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantage-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1.5rem 2rem;
        border-bottom: 1px solid var(--border-color);
        gap: 1rem;
    }

    .nav-links.open {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Mobile dropdown — stack mega menu vertically */
    .nav-dropdown-menu {
        position: static;
        transform: none !important;
        min-width: 0;
        max-width: 100%;
        width: 100%;
        background: rgba(255,255,255,0.03);
        border: none;
        border-radius: 8px;
        box-shadow: none;
        padding: 0.25rem 0;
        margin-top: 0.25rem;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }
    .nav-dropdown.open .nav-dropdown-menu {
        transform: none !important;
    }
    .mega-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .mega-col {
        border-right: none;
        padding: 0;
    }
    .nav-dropdown-item {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
        margin: 0 0.15rem;
    }
    .nav-dropdown-label {
        padding: 0.4rem 0.8rem 0.15rem;
        font-size: 0.58rem;
    }
    .mega-footer {
        flex-direction: column;
        gap: 0;
        padding: 0.25rem 0;
        border-radius: 0;
    }
    .mega-footer .nav-dropdown-item {
        justify-content: flex-start;
    }

    .btn-sm { display: none; }

    .hero-title .title-line {
        font-size: clamp(2rem, 8vw, 3rem);
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .scroll-indicator {
        display: none;
    }

    .cta-box {
        padding: 2.5rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding-inline: 1rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .section {
        padding: 4rem 0;
    }

    .hero {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Page Hero — used on dedicated subpages (e.g. Why Us) */
.page-hero {
    padding: 10rem 2rem 4rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .page-hero {
        padding: 8rem 1rem 3rem;
    }
}

/* Subpages: show cards immediately (no scroll-reveal needed) */
.subpage .advantage-card {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   AUTH PAGES (Login, Register, Forgot Password)
   ============================================ */

.auth-section {
    padding-top: 2rem;
}

.auth-container {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
    max-width: 960px;
    margin: 0 auto;
}

.auth-container--narrow {
    max-width: 480px;
}

.auth-form-wrapper {
    flex: 1;
    min-width: 0;
}

.auth-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
}

.auth-form-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.auth-form-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.auth-form .form-group {
    margin-bottom: 1.25rem;
}

.auth-form .form-row {
    margin-bottom: 0;
}

.auth-form .form-row .form-group {
    margin-bottom: 1.25rem;
}

.auth-form .btn {
    margin-top: 0.5rem;
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.auth-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--rgb-cyan);
    cursor: pointer;
}

.auth-link {
    color: var(--rgb-cyan);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: opacity 0.3s;
}

.auth-link:hover {
    opacity: 0.8;
    text-decoration: underline;
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Auth Benefits Panel */
.auth-benefits {
    flex: 0 0 320px;
    position: sticky;
    top: calc(var(--nav-height) + 2rem);
}

.auth-benefits-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.auth-benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    margin-bottom: 1rem;
    transition: all 0.3s;
}

.auth-benefit-card:hover {
    border-color: rgba(0, 255, 204, 0.15);
    background: var(--bg-card-hover);
}

.auth-benefit-card .adv-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(0, 255, 204, 0.06);
    color: var(--rgb-cyan);
}

.auth-benefit-card h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
    letter-spacing: 0.3px;
}

.auth-benefit-card p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Auth Success State */
.auth-success {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 3rem 2.5rem;
    text-align: center;
}

.auth-success-icon {
    color: var(--rgb-cyan);
    margin-bottom: 1.5rem;
}

.auth-success .auth-form-title {
    margin-bottom: 1rem;
}

.auth-success .auth-form-desc {
    margin-bottom: 2rem;
}

.auth-success .auth-form-desc strong {
    color: var(--rgb-cyan);
}

/* Responsive: Auth Pages */
@media (max-width: 768px) {
    .auth-container {
        flex-direction: column;
        gap: 2rem;
    }

    .auth-benefits {
        flex: none;
        width: 100%;
        position: static;
    }

    .auth-form {
        padding: 1.75rem;
    }
}

@media (max-width: 480px) {
    .auth-form {
        padding: 1.25rem;
    }
}

/* ============================================
   LEGAL PAGES (Terms, Privacy, Warranty)
   ============================================ */

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 3rem;
}

.legal-updated {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.legal-section {
    margin-bottom: 2.5rem;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.legal-section p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0;
}

.legal-section ul li {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.8;
    padding-left: 1.25rem;
    position: relative;
}

.legal-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.7em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--rgb-cyan);
}

/* Footer legal links row */
.footer-legal-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-legal-links a {
    font-size: 0.82rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-legal-links a:hover {
    color: var(--rgb-cyan);
}

@media (max-width: 768px) {
    .legal-card {
        padding: 2rem 1.5rem;
    }

    .footer-bottom {
        gap: 1rem;
    }

    .footer-legal-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .legal-card {
        padding: 1.5rem 1.25rem;
    }
}

@media (max-width: 600px) {
    .product-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

/* === Redesigned Footer v2 === */
.footer-glow {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,255,204,0.25), rgba(51,102,255,0.3), rgba(0,255,204,0.25), transparent);
}

.footer-container {
    padding-top: 3.5rem;
    padding-bottom: 2rem;
}

.footer-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 0.8rem;
}

.footer-badge {
    font-size: 0.625rem;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 1.5px;
    padding: 4px 10px;
    border-radius: 4px;
    border: 1px solid rgba(0,255,204,0.2);
    color: var(--rgb-cyan);
    background: rgba(0,255,204,0.06);
    text-transform: uppercase;
}

.footer-stats {
    display: flex;
    gap: 2rem;
}

.footer-stat {
    font-size: 0.688rem;
    color: var(--text-muted);
}

.footer-stat strong {
    color: var(--rgb-cyan);
    font-weight: 600;
    font-family: 'JetBrains Mono', var(--font-mono);
    font-size: 0.75rem;
}

.footer-count {
    font-size: 0.625rem;
    color: var(--text-muted);
    margin-left: 4px;
    font-family: 'JetBrains Mono', var(--font-mono);
}

.footer-links h4 {
    position: relative;
    padding-bottom: 8px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 20px;
    height: 1px;
    background: rgba(0,255,204,0.25);
}

.footer-links a {
    transition: color 0.2s, padding-left 0.2s;
}

.footer-links a:hover {
    padding-left: 4px;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
    margin-bottom: 1.5rem;
}

.footer-socials a {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
}

.footer-socials a:hover {
    border-color: rgba(0,255,204,0.25);
    background: rgba(0,255,204,0.06);
    box-shadow: 0 0 12px rgba(0,255,204,0.15);
}

.footer-bottom p strong {
    color: var(--text-secondary);
    font-weight: 500;
}

/* === Login & Registration Pages === */
.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: calc(var(--nav-height, 70px) + 2rem) 2rem 2rem;
}

.auth-wrap { width: 100%; }
.auth-wrap-sm { max-width: 420px; }
.auth-wrap-lg { max-width: 640px; }

.auth-logo { text-align: center; margin-bottom: 2rem; }

.auth-card {
    background: rgba(12, 12, 30, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0,255,204,0.25), rgba(51,102,255,0.3), rgba(0,255,204,0.25), transparent);
}

.auth-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.25rem;
}

.auth-subtitle {
    font-size: 0.82rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.auth-field { margin-bottom: 1.25rem; }

.auth-field label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-bottom: 5px;
}

.auth-field .required { color: var(--rgb-cyan); margin-left: 2px; }

.auth-field input,
.auth-field select,
.auth-field textarea {
    width: 100%;
    padding: 11px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.85rem;
    outline: none;
    transition: all 0.25s;
}

.auth-field input:focus,
.auth-field select:focus,
.auth-field textarea:focus {
    border-color: rgba(0, 255, 204, 0.4);
    box-shadow: 0 0 0 3px rgba(0, 255, 204, 0.08);
    background: rgba(255, 255, 255, 0.05);
}

.auth-field input::placeholder,
.auth-field textarea::placeholder { color: #444466; }

.auth-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23555577' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.auth-field select option { background: #12121e; color: #f0f0f5; }

.auth-field textarea { resize: vertical; min-height: 70px; }

.auth-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.auth-row-phone { display: grid; grid-template-columns: 130px 1fr; gap: 12px; }

.auth-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--text-secondary);
    cursor: pointer;
    margin: 0.5rem 0 0.5rem;
}

.auth-checkbox input { width: 16px; height: 16px; accent-color: #00ffcc; cursor: pointer; }

.auth-section-label {
    font-family: var(--font-heading);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--rgb-cyan);
    text-transform: uppercase;
    margin: 1.75rem 0 1rem;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(0, 255, 204, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

.auth-section-label svg { width: 14px; height: 14px; opacity: 0.6; }

.auth-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #00ffcc, #00ccaa);
    border: none;
    border-radius: 8px;
    color: #0a0a0f;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.25s;
    margin-top: 1rem;
}

.auth-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(0, 255, 204, 0.3); }
.auth-btn:active { transform: translateY(0); }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 1.5rem 0;
    color: #444466;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.auth-divider::before,
.auth-divider::after { content: ''; flex: 1; height: 1px; background: rgba(255, 255, 255, 0.06); }

.auth-alt-link { text-align: center; font-size: 0.85rem; color: var(--text-secondary); }
.auth-alt-link a { color: var(--rgb-cyan); text-decoration: none; font-weight: 500; }

.auth-remember-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }

.auth-forgot { font-size: 0.82rem; color: var(--rgb-cyan); text-decoration: none; transition: opacity 0.2s; }
.auth-forgot:hover { opacity: 0.8; }

.auth-steps { display: flex; justify-content: center; gap: 8px; margin-bottom: 2rem; }

.auth-step {
    font-family: 'JetBrains Mono', var(--font-mono, monospace);
    font-size: 0.6rem;
    padding: 4px 12px;
    border-radius: 4px;
    letter-spacing: 1px;
    background: rgba(0, 255, 204, 0.1);
    border: 1px solid rgba(0, 255, 204, 0.25);
    color: #00ffcc;
}

.auth-note {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 1rem;
    line-height: 1.6;
}

.auth-note a { color: var(--rgb-cyan); text-decoration: none; }

.auth-status {
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    margin-top: 1.5rem;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-family: 'JetBrains Mono', var(--font-mono, monospace);
}

.auth-status-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #00ffcc;
    box-shadow: 0 0 6px rgba(0, 255, 204, 0.5);
    animation: authBlink 2s infinite;
}

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

@media (max-width: 560px) {
    .auth-row, .auth-row-phone { grid-template-columns: 1fr; }
    .auth-card { padding: 1.5rem; }
}

/* Hide JSON-LD schema preview (dev tool, not for visitors) */
.schema-preview { display: none !important; }

/* === Subpage Product Pages === */
/* Extracted from gen_expand_pages.py on 2026-03-30 */
/* Applies to all product detail pages (body.subpage) */

body.subpage.subpage { background: var(--exec-bg-primary, #0a0a0f) !important; letter-spacing: var(--exec-letter-spacing, normal); }
.subpage main { padding-top: calc(var(--nav-height, 72px) + 1.5rem); }
.subpage .container { max-width: 1280px; margin: 0 auto; padding-inline: 2rem; }
.subpage .breadcrumb { padding: 1rem 0; font-size: 0.8rem; color: var(--exec-text-muted); }
.subpage .breadcrumb a { color: var(--exec-text-secondary); transition: color 0.2s; }
.subpage .breadcrumb a:hover { color: var(--exec-accent); }
.subpage .breadcrumb .sep { margin: 0 0.5rem; opacity: 0.3; }
.subpage .technical-snapshot { background: var(--exec-glass-bg); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--exec-glass-border); border-left: 3px solid var(--exec-accent); border-radius: var(--exec-radius-sm); padding: 1.5rem 2rem; margin-bottom: 2rem; }
.subpage .snapshot-title { font-family: var(--font-heading); font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; color: var(--exec-accent); margin-bottom: 0.75rem; }
.subpage .snapshot-summary { font-size: 0.9rem; line-height: 1.7; color: var(--exec-text-secondary); margin-bottom: 1rem; }
.subpage .snapshot-summary strong { color: var(--exec-text-primary); }
.subpage .snapshot-specs { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1.5rem; font-size: 0.82rem; }
.subpage .snapshot-specs dt { color: var(--exec-text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 0.7rem; padding-top: 2px; }
.subpage .snapshot-specs dd { color: var(--exec-text-secondary); margin: 0; line-height: 1.5; }
.subpage .product-hero { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2.5rem; padding: 2rem 0 3rem; align-items: start; }
.subpage .product-gallery { position: relative; }
.subpage .product-main-image { background: var(--exec-glass-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--exec-glass-border); border-radius: var(--exec-radius); overflow: hidden; aspect-ratio: 1; max-height: 480px; display: flex; align-items: center; justify-content: center; padding: 1.5rem; position: relative; }
.subpage .product-main-image img { max-width: 100%; max-height: 100%; object-fit: contain; }
.subpage .image-badge { position: absolute; top: 1rem; left: 1rem; background: rgba(0,0,0,0.6); backdrop-filter: blur(8px); color: var(--exec-accent); font-size: 0.6rem; font-weight: 700; letter-spacing: 2px; padding: 0.35rem 0.75rem; border-radius: 4px; text-transform: uppercase; border: 1px solid var(--exec-glass-border); }
.subpage .product-info h1 { font-family: var(--font-heading); font-size: 1.85rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.15; color: var(--exec-text-primary); }
.subpage .brand-label { color: var(--exec-accent); font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 4px; margin-bottom: 0.5rem; display: block; }
.subpage .subtitle { color: var(--exec-text-secondary); font-size: 0.88rem; margin-bottom: 1.5rem; line-height: 1.5; }
.subpage .hero-specs-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; margin-bottom: 1.5rem; }
.subpage .hero-spec-card { background: var(--exec-glass-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--exec-glass-border); border-radius: var(--exec-radius-sm); padding: 1rem; display: flex; flex-direction: column; gap: 0.5rem; transition: all 0.3s ease; position: relative; overflow: visible; }
.subpage .hero-spec-card:hover { border-color: var(--exec-accent); box-shadow: 0 4px 20px var(--exec-accent-glow); transform: translateY(-2px); }
.subpage .hero-spec-card .spec-icon { width: 36px; height: 36px; color: var(--exec-accent); opacity: 0.8; }
.subpage .hero-spec-card .spec-label { font-size: 0.6rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--exec-text-muted); }
.subpage .hero-spec-card .spec-value { font-size: 1.1rem; font-weight: 700; color: var(--exec-text-primary); line-height: 1.2; }
.subpage .spec-tooltip { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%) scale(0.95); background: var(--exec-bg-elevated); border: 1px solid var(--exec-glass-border); border-radius: var(--exec-radius-xs); padding: 0.75rem 1rem; width: 260px; font-size: 0.75rem; line-height: 1.5; color: var(--exec-text-secondary); opacity: 0; pointer-events: none; transition: opacity 0.25s, transform 0.25s; z-index: 100; box-shadow: 0 8px 32px rgba(0,0,0,0.5); backdrop-filter: blur(12px); }
.subpage .spec-tooltip::after { content: ''; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 6px solid transparent; border-top-color: var(--exec-bg-elevated); }
.subpage .hero-spec-card:hover .spec-tooltip { opacity: 1; transform: translateX(-50%) scale(1); pointer-events: auto; }
.subpage .sku-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.5rem; padding: 1rem; background: var(--exec-glass-bg); backdrop-filter: blur(10px); border: 1px solid var(--exec-glass-border); border-radius: var(--exec-radius-sm); }
.subpage .sku-field { display: flex; flex-direction: column; gap: 0.15rem; }
.subpage .sku-label { font-size: 0.6rem; color: var(--exec-text-muted); text-transform: uppercase; letter-spacing: 1px; }
.subpage .sku-value { font-size: 0.85rem; font-weight: 500; font-family: 'JetBrains Mono', monospace; color: var(--exec-text-primary); }
.subpage .product-cta { display: flex; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap; }
.subpage .btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1.5rem; border-radius: var(--exec-radius-xs); font-size: 0.82rem; font-weight: 600; text-decoration: none; transition: all 0.25s; cursor: pointer; border: none; letter-spacing: var(--exec-letter-spacing); }
.subpage .btn-primary { background: linear-gradient(135deg, var(--exec-accent), var(--exec-accent-dim)); color: #fff; }
.subpage .btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px var(--exec-accent-glow); }
.subpage .btn-outline { border: 1px solid var(--exec-border); background: var(--exec-glass-bg); backdrop-filter: blur(8px); color: var(--exec-text-primary); }
.subpage .btn-outline:hover { border-color: var(--exec-accent); color: var(--exec-accent); }
.subpage .btn-outline.added { border-color: #00ff88; color: #00ff88; background: rgba(0,255,136,0.05); }
.subpage .compare-cta { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 2rem; font-size: 0.78rem; color: var(--exec-text-muted); }
.subpage .compare-cta a { color: var(--exec-accent); }
.subpage .io-section { margin-bottom: 3rem; background: var(--exec-glass-bg); backdrop-filter: blur(10px); border: 1px solid var(--exec-glass-border); border-radius: var(--exec-radius); padding: 2rem; }
.subpage .io-section h2 { font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: 1.5rem; color: var(--exec-text-primary); display: flex; align-items: center; gap: 0.75rem; }
.subpage .io-section h2 svg { width: 22px; height: 22px; color: var(--exec-accent); }
.subpage .io-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.75rem; }
.subpage .io-item { background: var(--exec-bg-secondary); border: 1px solid var(--exec-border); border-radius: var(--exec-radius-xs); padding: 0.85rem 1rem; display: flex; flex-direction: column; gap: 0.25rem; transition: all 0.25s ease; }
.subpage .io-item:hover { border-color: var(--exec-accent); transform: translateY(-1px); }
.subpage .io-label { font-size: 0.62rem; color: var(--exec-text-muted); text-transform: uppercase; letter-spacing: 1px; }
.subpage .io-value { font-size: 0.88rem; color: var(--exec-text-primary); font-weight: 600; }
.subpage .spec-section { margin-bottom: 3rem; }
.subpage .spec-section h2 { font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: 1rem; color: var(--exec-text-primary); }
.subpage .data-source { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: var(--exec-text-muted); margin-bottom: 1rem; padding: 0.5rem 0; }
.subpage .spec-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.subpage .spec-table td { padding: 0.7rem 1rem; border-bottom: 1px solid var(--exec-border); }
.subpage .spec-table tr:hover td { background: rgba(255,255,255,0.02); }
.subpage .spec-table td:first-child { color: var(--exec-text-muted); width: 220px; font-weight: 500; }
.subpage .spec-table td:last-child { color: var(--exec-text-primary); font-weight: 500; }
.subpage .spec-group-title { font-family: var(--font-heading); font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--exec-accent); padding-top: 1.2rem !important; border-bottom-color: var(--exec-accent-glow-15, rgba(0,255,204,0.15)) !important; }
.subpage .spec-highlight { color: var(--exec-accent) !important; font-weight: 600; }
.subpage .support-section { margin-bottom: 3rem; }
.subpage .support-section h2 { font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: 1rem; color: var(--exec-text-primary); display: flex; align-items: center; gap: 0.75rem; }
.subpage .support-section h2 svg{ width:22px; height:22px; color:var(--exec-accent); }
.subpage .support-tabs { display: flex; gap: 0.5rem; margin-bottom: 1rem; }
.subpage .support-tab { padding: 0.5rem 1rem; border-radius: var(--exec-radius-xs); background: var(--exec-glass-bg); border: 1px solid var(--exec-border); color: var(--exec-text-secondary); font-size: 0.78rem; font-weight: 600; cursor: pointer; transition: all 0.2s; }
.subpage .support-tab:hover { border-color: var(--exec-accent); color: var(--exec-text-primary); }
.subpage .support-tab.active { border-color: var(--exec-accent); color: var(--exec-accent); background: var(--exec-accent-glow-05, rgba(0,255,204,0.05)); }
.subpage .support-panel { display: none; }
.subpage .support-panel.active { display: block; }
.subpage .download-row { display: flex; justify-content: space-between; align-items: center; padding: 1rem; margin-bottom: 0.5rem; background: var(--exec-glass-bg); border: 1px solid var(--exec-border); border-radius: var(--exec-radius-xs); }
.subpage .download-info { display: flex; flex-direction: column; gap: 0.2rem; }
.subpage .download-name { font-size: 0.85rem; font-weight: 600; color: var(--exec-text-primary); }
.subpage .download-meta { font-size: 0.72rem; color: var(--exec-text-muted); }
.subpage .download-btn { padding: 0.4rem 0.8rem; border-radius: var(--exec-radius-xs); background: var(--exec-glass-bg); border: 1px solid var(--exec-accent); color: var(--exec-accent); font-size: 0.72rem; font-weight: 600; text-decoration: none; white-space: nowrap; transition: all 0.2s; }
.subpage .download-btn:hover { background: var(--exec-accent); color: #121212; }
.subpage .related-products-section { margin: 3rem 0; padding: 2rem; background: var(--exec-glass-bg); border-radius: var(--exec-radius); border-left: 4px solid var(--exec-accent); }
.subpage .related-products-section h2 { font-family: var(--font-heading); color: var(--exec-text-primary); margin-bottom: 1.5rem; font-size: 1.15rem; }
.subpage .related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1rem; }
.subpage .related-card { text-decoration: none; padding: 1rem; background: var(--exec-bg-card); border-radius: var(--exec-radius-sm); border: 1px solid var(--exec-border); transition: all 0.3s ease; display: block; color: var(--exec-text-primary); }
.subpage .related-card:hover { border-color: var(--exec-accent); transform: translateY(-2px); box-shadow: 0 4px 20px var(--exec-accent-glow); }
.subpage .related-card-name { font-weight: 600; color: var(--exec-accent); margin-bottom: 0.25rem; }
.subpage .related-card-meta { font-size: 0.78rem; color: var(--exec-text-muted); margin-bottom: 0.5rem; }
.subpage .related-card-cta { font-size: 0.82rem; color: var(--exec-text-secondary); }
.subpage .faq-section { margin-bottom: 3rem; }
.subpage .faq-section h2 { font-family: var(--font-heading); font-size: 1.15rem; margin-bottom: 1rem; color: var(--exec-text-primary); }
.subpage .faq-item { padding: 1.25rem; margin-bottom: 0.75rem; background: var(--exec-glass-bg); border: 1px solid var(--exec-border); border-radius: var(--exec-radius-sm); }
.subpage .faq-item h4 { font-size: 0.9rem; color: var(--exec-text-primary); margin-bottom: 0.5rem; }
.subpage .faq-item p { font-size: 0.82rem; color: var(--exec-text-secondary); line-height: 1.6; }
.subpage .schema-preview { margin-bottom: 3rem; }
.subpage .schema-header { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem 1rem; background: var(--exec-glass-bg); border: 1px solid var(--exec-border); border-radius: var(--exec-radius-sm); }
.subpage .schema-badge { display: flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; color: var(--exec-text-muted); }
.subpage .schema-badge svg { width: 16px; height: 16px; color: var(--exec-accent); }
.subpage .schema-toggle { padding: 0.3rem 0.7rem; border-radius: 4px; background: transparent; border: 1px solid var(--exec-border); color: var(--exec-text-secondary); font-size: 0.7rem; cursor: pointer; transition: all 0.2s; }
.subpage .schema-toggle:hover { border-color: var(--exec-accent); color: var(--exec-accent); }
.subpage .schema-body { display: none; margin-top: 0.5rem; padding: 1rem; background: var(--exec-bg-secondary); border: 1px solid var(--exec-border); border-radius: var(--exec-radius-sm); overflow-x: auto; }
.subpage .schema-body.open { display: block; }
.subpage .schema-body pre { font-family: 'JetBrains Mono', 'Fira Code', monospace; font-size: 0.72rem; color: var(--exec-text-secondary); white-space: pre-wrap; word-break: break-word; }
@media (max-width: 900px) { .subpage .product-hero { grid-template-columns: 1fr; } .subpage .hero-specs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .subpage .product-info h1 { font-size: 1.4rem; } .subpage .io-grid { grid-template-columns: repeat(2, 1fr); } .subpage .technical-snapshot { padding: 1rem 1.25rem; } .subpage .snapshot-specs { grid-template-columns: 1fr; gap: 0.5rem; } }
@media (max-width: 480px) { .subpage .hero-specs-grid { grid-template-columns: 1fr 1fr; } .subpage .product-cta { flex-direction: column; } .subpage .download-row { flex-direction: column; gap: 0.75rem; align-items: flex-start; } }
/* === Mobile nav: buttons inside hamburger menu === */
/* Desktop: hide the mobile CTA block inside nav-links, show nav-actions buttons */
.nav-mobile-cta {
    display: none;
}

/* Mobile: show CTA inside nav-links, hide desktop buttons in nav-actions */
@media (max-width: 768px) {
    .nav-mobile-cta {
        display: flex;
        gap: 0.75rem;
        padding: 0.75rem 0 0.25rem;
    }
    .nav-mobile-cta .btn-sm {
        display: inline-flex !important;
        font-size: 0.85rem;
        padding: 0.65rem 1.2rem;
    }
    .nav-desktop-only {
        display: none !important;
    }
}
