/* ============================================
   MINDPULSE — CYBERPUNK COGNITIVE HEALTH THEME
   Neon gradients · HUD interfaces · Animated backgrounds
   ============================================ */

/* --- CSS Variables --- */
:root {
    --bg-dark: #0a0a0f;
    --bg-card: #0d0d1a;
    --bg-card-alt: #111128;
    --bg-surface: #14142a;
    --bg-glass: rgba(13, 13, 26, 0.85);

    --cyan: #00f0ff;
    --magenta: #ff00ff;
    --neon-green: #39ff14;
    --hot-pink: #ff0066;
    --electric-purple: #b400ff;
    --neon-yellow: #f0ff00;
    --neon-orange: #ff6600;

    --primary: var(--cyan);
    --secondary: var(--magenta);
    --accent: var(--neon-green);

    --text-primary: #e8e8f0;
    --text-secondary: #9898b0;
    --text-dim: #5a5a78;
    --text-bright: #ffffff;

    --border-dim: rgba(0, 240, 255, 0.12);
    --border-glow: rgba(0, 240, 255, 0.3);
    --border-magenta: rgba(255, 0, 255, 0.2);

    --font-display: 'Orbitron', monospace;
    --font-body: 'Exo 2', 'Segoe UI', sans-serif;
    --font-mono: 'Share Tech Mono', 'Courier New', monospace;

    --glow-cyan: 0 0 10px rgba(0, 240, 255, 0.3), 0 0 40px rgba(0, 240, 255, 0.1);
    --glow-magenta: 0 0 10px rgba(255, 0, 255, 0.3), 0 0 40px rgba(255, 0, 255, 0.1);
    --glow-green: 0 0 10px rgba(57, 255, 20, 0.3), 0 0 40px rgba(57, 255, 20, 0.1);
    --glow-strong-cyan: 0 0 5px rgba(0, 240, 255, 0.5), 0 0 20px rgba(0, 240, 255, 0.3), 0 0 60px rgba(0, 240, 255, 0.15);

    --radius: 4px;
    --radius-lg: 8px;
    --container-max: 1200px;
    --transition: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Canvas background */
#cyber-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* Scanline overlay */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    pointer-events: none;
    z-index: 9999;
}

/* All content above canvas */
.top-banner, .header, main, section, .footer, .lightbox,
.page-hero, .section { position: relative; z-index: 1; }

a { color: var(--cyan); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--magenta); text-shadow: 0 0 8px rgba(255, 0, 255, 0.4); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }

::selection {
    background: var(--cyan);
    color: var(--bg-dark);
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--cyan), var(--magenta));
    border-radius: 3px;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }

.neon-text {
    color: var(--cyan);
    text-shadow: 0 0 7px rgba(0, 240, 255, 0.5), 0 0 30px rgba(0, 240, 255, 0.2);
}
.neon-text-magenta {
    color: var(--magenta);
    text-shadow: 0 0 7px rgba(255, 0, 255, 0.5), 0 0 30px rgba(255, 0, 255, 0.2);
}
.neon-text-green {
    color: var(--neon-green);
    text-shadow: 0 0 7px rgba(57, 255, 20, 0.5), 0 0 30px rgba(57, 255, 20, 0.2);
}

.mono { font-family: var(--font-mono); }
.text-dim { color: var(--text-dim); }
.text-cyan { color: var(--cyan); }
.text-magenta { color: var(--magenta); }
.text-green { color: var(--neon-green); }

/* --- Glitch Effect --- */
.glitch {
    position: relative;
    display: inline-block;
}
.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden;
}
.glitch::before {
    color: var(--cyan);
    z-index: -1;
    animation: glitch-1 3s infinite linear alternate-reverse;
}
.glitch::after {
    color: var(--magenta);
    z-index: -2;
    animation: glitch-2 2s infinite linear alternate-reverse;
}

@keyframes glitch-1 {
    0%, 80% { clip-path: inset(0 0 0 0); transform: translate(0); }
    82% { clip-path: inset(20% 0 60% 0); transform: translate(-3px, 1px); }
    84% { clip-path: inset(70% 0 10% 0); transform: translate(3px, -1px); }
    86% { clip-path: inset(40% 0 40% 0); transform: translate(-2px, 2px); }
    88%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
}
@keyframes glitch-2 {
    0%, 75% { clip-path: inset(0 0 0 0); transform: translate(0); }
    77% { clip-path: inset(60% 0 20% 0); transform: translate(2px, -2px); }
    79% { clip-path: inset(10% 0 70% 0); transform: translate(-4px, 1px); }
    81% { clip-path: inset(30% 0 50% 0); transform: translate(1px, -1px); }
    83%, 100% { clip-path: inset(0 0 0 0); transform: translate(0); }
}

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

.section {
    padding: 5rem 0;
}
.section-dark {
    background: linear-gradient(180deg, rgba(13, 13, 26, 0.95), rgba(10, 10, 15, 0.98));
}
.section-glow {
    background: radial-gradient(ellipse at 50% 0%, rgba(0, 240, 255, 0.05) 0%, transparent 60%);
}
.section-magenta-glow {
    background: radial-gradient(ellipse at 50% 0%, rgba(255, 0, 255, 0.04) 0%, transparent 60%);
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text-bright);
}
.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto 3rem;
    line-height: 1.6;
}

/* Section divider - HUD line */
.hud-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 3rem auto;
    max-width: 600px;
}
.hud-divider::before,
.hud-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
}
.hud-divider-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--cyan);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    white-space: nowrap;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cyan), var(--magenta));
    color: var(--bg-dark);
    clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px));
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3), 0 0 40px rgba(0, 240, 255, 0.1);
}
.btn-primary:hover {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5), 0 0 60px rgba(0, 240, 255, 0.2), 0 0 100px rgba(255, 0, 255, 0.1);
    transform: translateY(-2px);
    color: var(--bg-dark);
    text-shadow: none;
}
.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: linear-gradient(
        45deg,
        transparent 40%,
        rgba(255, 255, 255, 0.15) 50%,
        transparent 60%
    );
    animation: btn-shimmer 3s infinite;
}
@keyframes btn-shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

.btn-outline {
    background: transparent;
    color: var(--cyan);
    border: 1px solid var(--cyan);
    clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.btn-outline:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: var(--glow-cyan);
    color: var(--cyan);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.btn-lg { padding: 1.1rem 3rem; font-size: 0.9rem; }
.btn-sm { padding: 0.5rem 1.2rem; font-size: 0.7rem; }
.btn-block { width: 100%; }

/* Pulsing CTA button */
.btn-pulse {
    animation: neon-pulse 2s infinite;
}
@keyframes neon-pulse {
    0%, 100% { box-shadow: 0 0 15px rgba(0, 240, 255, 0.3), 0 0 40px rgba(0, 240, 255, 0.1); }
    50% { box-shadow: 0 0 25px rgba(0, 240, 255, 0.5), 0 0 70px rgba(0, 240, 255, 0.2), 0 0 100px rgba(255, 0, 255, 0.15); }
}

/* --- TOP BANNER --- */
.top-banner {
    background: linear-gradient(90deg, var(--bg-dark), var(--bg-card), var(--bg-dark));
    border-bottom: 1px solid var(--border-dim);
    padding: 0.5rem 0;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    color: var(--text-dim);
    position: relative;
    z-index: 100;
}
.banner-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.banner-inner a { color: var(--cyan); }
.banner-sep { color: var(--border-glow); margin: 0 0.25rem; }

/* --- HEADER --- */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-dim);
    padding: 0.75rem 0;
    transition: var(--transition);
}
.header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 240, 255, 0.08);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

/* Logo */
.logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text-bright);
    letter-spacing: 0.08em;
    text-decoration: none;
    position: relative;
}
.logo:hover { color: var(--text-bright); text-shadow: var(--glow-strong-cyan); }
.logo-accent {
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}
.logo-footer { font-size: 1.6rem; }

/* Nav */
.nav {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
.nav-link {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.15em;
    padding: 0.5rem 0.75rem;
    text-decoration: none;
    position: relative;
    transition: var(--transition);
}
.nav-link:hover {
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%;
    width: 0; height: 1px;
    background: var(--cyan);
    box-shadow: 0 0 5px var(--cyan);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}
.nav-link:hover::after {
    width: 80%;
}

/* Header actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.header-cta {
    padding: 0.55rem 1.5rem;
    font-size: 0.7rem;
}

/* Cart icon */
.cart-icon-link {
    position: relative;
    color: var(--text-secondary);
    transition: var(--transition);
}
.cart-icon-link:hover { color: var(--cyan); }
.cart-icon { width: 22px; height: 22px; }
.cart-badge {
    position: absolute;
    top: -6px; right: -8px;
    background: var(--magenta);
    color: #fff;
    font-family: var(--font-display);
    font-size: 0.55rem;
    font-weight: 700;
    width: 18px; height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 0, 255, 0.5);
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    z-index: 1001;
}
.mobile-toggle span {
    display: block;
    width: 24px; height: 2px;
    background: var(--cyan);
    transition: var(--transition);
    box-shadow: 0 0 4px rgba(0, 240, 255, 0.4);
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- HUD CARD --- */
.hud-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    padding: 2rem;
    transition: all 0.4s ease;
}

/* HUD corner brackets */
.hud-card::before,
.hud-card::after {
    content: '';
    position: absolute;
    width: 20px; height: 20px;
    border-color: var(--cyan);
    border-style: solid;
    transition: all 0.4s ease;
}
.hud-card::before {
    top: -1px; left: -1px;
    border-width: 2px 0 0 2px;
}
.hud-card::after {
    bottom: -1px; right: -1px;
    border-width: 0 2px 2px 0;
}

.hud-card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--glow-cyan);
    transform: translateY(-4px);
}
.hud-card:hover::before,
.hud-card:hover::after {
    width: 30px; height: 30px;
    border-color: var(--magenta);
    box-shadow: var(--glow-magenta);
}

/* HUD card magenta */
.hud-card-magenta::before,
.hud-card-magenta::after {
    border-color: var(--magenta);
}
.hud-card-magenta:hover::before,
.hud-card-magenta:hover::after {
    border-color: var(--cyan);
    box-shadow: var(--glow-cyan);
}

/* HUD card green */
.hud-card-green::before,
.hud-card-green::after {
    border-color: var(--neon-green);
}

/* Animated border card */
.glow-border {
    position: relative;
    background: var(--bg-card);
    z-index: 1;
}
.glow-border::before {
    content: '';
    position: absolute;
    top: -1px; left: -1px;
    right: -1px; bottom: -1px;
    background: linear-gradient(45deg, var(--cyan), var(--magenta), var(--cyan), var(--magenta));
    background-size: 300% 300%;
    z-index: -1;
    animation: border-flow 4s ease infinite;
    opacity: 0.6;
}
.glow-border::after {
    content: '';
    position: absolute;
    top: 1px; left: 1px;
    right: 1px; bottom: 1px;
    background: var(--bg-card);
    z-index: -1;
}
@keyframes border-flow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* --- PAGE HERO --- */
.page-hero {
    padding: 8rem 0 4rem;
    background: radial-gradient(ellipse at 50% 20%, rgba(0, 240, 255, 0.06) 0%, transparent 50%);
    border-bottom: 1px solid var(--border-dim);
    position: relative;
    overflow: hidden;
}
.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
}

.page-breadcrumb {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    letter-spacing: 0.15em;
}
.page-breadcrumb a { color: var(--cyan); }
.page-breadcrumb span { margin: 0 0.5rem; }

.page-hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    color: var(--text-bright);
    line-height: 1.05;
    margin-bottom: 1rem;
}
.page-hero-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.6;
}

/* --- HERO (INDEX) --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(0, 240, 255, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(255, 0, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--cyan);
    letter-spacing: 0.3em;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.hero-tag::before {
    content: '';
    width: 30px; height: 1px;
    background: var(--cyan);
    box-shadow: 0 0 6px var(--cyan);
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 5rem);
    color: var(--text-bright);
    line-height: 1;
    margin-bottom: 1.5rem;
}
.hero-title-accent {
    display: block;
    background: linear-gradient(135deg, var(--cyan), var(--magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}
.hero-stat {
    text-align: center;
}
.hero-stat-value {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}
.hero-stat-label {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-dim);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

/* Hero image side */
.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.hero-image-wrapper {
    position: relative;
}
/* Floating holographic ring */
.hero-image-wrapper::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 110%; height: 110%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 50%;
    animation: holo-ring 6s linear infinite;
}
@keyframes holo-ring {
    0% { transform: translate(-50%, -50%) rotate(0deg); border-color: rgba(0, 240, 255, 0.15); }
    33% { border-color: rgba(255, 0, 255, 0.15); }
    66% { border-color: rgba(57, 255, 20, 0.15); }
    100% { transform: translate(-50%, -50%) rotate(360deg); border-color: rgba(0, 240, 255, 0.15); }
}

.product-img {
    max-width: 520px;
    width: 100%;
    filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.15)) drop-shadow(0 0 60px rgba(255, 0, 255, 0.08));
    animation: float 4s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* --- STATS BAR --- */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-dim);
    border: 1px solid var(--border-dim);
}
.stat-card {
    background: var(--bg-card);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}
.stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover { background: var(--bg-card-alt); }

.stat-value {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    font-weight: 900;
    color: var(--cyan);
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
    margin-bottom: 0.5rem;
}
.stat-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* --- PRODUCT CARDS (index page) --- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.ingredient-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    padding: 2rem 1.5rem;
    transition: all 0.4s ease;
    overflow: hidden;
}
/* Top line accent */
.ingredient-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.ingredient-card:hover::before { transform: scaleX(1); }
.ingredient-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(0, 240, 255, 0.08);
}

.ingredient-card-icon {
    width: 48px; height: 48px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.15);
    font-size: 1.5rem;
}
.ingredient-card-name {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--text-bright);
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}
.ingredient-card-dose {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--cyan);
    margin-bottom: 0.75rem;
}
.ingredient-card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- COMPARISON TABLE --- */
.compare-table-wrap {
    overflow-x: auto;
    border: 1px solid var(--border-dim);
}
.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.compare-table th {
    background: var(--bg-card);
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--cyan);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-glow);
    white-space: nowrap;
}
.compare-table td {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid var(--border-dim);
    color: var(--text-primary);
}
.compare-table tr:hover td {
    background: rgba(0, 240, 255, 0.03);
}
.compare-table .check {
    color: var(--neon-green);
    text-shadow: 0 0 6px rgba(57, 255, 20, 0.4);
    font-size: 1.1rem;
}

/* --- TIMELINE --- */
.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
    padding-left: 3rem;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 0; top: 0;
    width: 2px; height: 100%;
    background: linear-gradient(180deg, var(--cyan), var(--magenta), var(--neon-green));
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}
.timeline-item {
    position: relative;
    padding: 1.5rem 0;
}
.timeline-item::before {
    content: '';
    position: absolute;
    left: -3rem; top: 1.8rem;
    width: 12px; height: 12px;
    background: var(--cyan);
    border: 2px solid var(--bg-dark);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
    transform: translateX(-5px);
}
.timeline-item:nth-child(2)::before { background: var(--magenta); box-shadow: 0 0 10px rgba(255, 0, 255, 0.5); }
.timeline-item:nth-child(3)::before { background: var(--neon-green); box-shadow: 0 0 10px rgba(57, 255, 20, 0.5); }
.timeline-item:nth-child(4)::before { background: var(--neon-yellow); box-shadow: 0 0 10px rgba(240, 255, 0, 0.5); }

.timeline-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--cyan);
    letter-spacing: 0.2em;
    margin-bottom: 0.25rem;
}
.timeline-title {
    font-size: 1.1rem;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
}
.timeline-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* --- PRICING CARDS --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: start;
}
.pricing-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all 0.4s ease;
}
.pricing-card::before,
.pricing-card::after {
    content: '';
    position: absolute;
    width: 25px; height: 25px;
    border-style: solid;
    border-color: var(--cyan);
    transition: all 0.4s ease;
}
.pricing-card::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.pricing-card::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; }

.pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--glow-cyan);
    border-color: var(--border-glow);
}

.pricing-card-popular {
    border-color: var(--magenta);
    background: linear-gradient(180deg, var(--bg-card), rgba(255, 0, 255, 0.04));
    transform: scale(1.03);
}
.pricing-card-popular::before,
.pricing-card-popular::after {
    border-color: var(--magenta);
    width: 35px; height: 35px;
}
.pricing-card-popular:hover {
    box-shadow: var(--glow-magenta);
}

.pricing-badge {
    position: absolute;
    top: 0; left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    padding: 0.3rem 1rem;
    background: linear-gradient(135deg, var(--magenta), var(--electric-purple));
    color: #fff;
    clip-path: polygon(0 0, calc(100% - 6px) 0, 100% 6px, 100% 100%, 6px 100%, 0 calc(100% - 6px));
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.4);
}

.pricing-tier {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--text-dim);
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}
.pricing-amount {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--text-bright);
    margin-bottom: 0.25rem;
}
.pricing-amount .currency {
    font-size: 1.5rem;
    vertical-align: super;
    color: var(--cyan);
}
.pricing-per {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-bottom: 1.5rem;
}
.pricing-features {
    text-align: left;
    margin-bottom: 2rem;
}
.pricing-feature {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 240, 255, 0.06);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.pricing-feature::before {
    content: '>';
    font-family: var(--font-mono);
    color: var(--neon-green);
    font-size: 0.8rem;
    text-shadow: 0 0 4px rgba(57, 255, 20, 0.4);
}

/* --- FAQ --- */
.faq-item {
    border: 1px solid var(--border-dim);
    margin-bottom: 0.5rem;
    background: var(--bg-card);
    transition: all 0.3s ease;
}
.faq-item:hover { border-color: rgba(0, 240, 255, 0.2); }
.faq-item.active { border-color: var(--cyan); box-shadow: var(--glow-cyan); }

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-align: left;
    cursor: pointer;
    transition: var(--transition);
}
.faq-question:hover { color: var(--cyan); }
.faq-toggle {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: var(--cyan);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}
.faq-item.active .faq-toggle { transform: rotate(45deg); color: var(--magenta); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- BLOG --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}
.blog-card {
    display: block;
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    padding: 2rem;
    text-decoration: none;
    transition: all 0.4s ease;
    overflow: hidden;
}
.blog-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.blog-card:hover::before { transform: scaleX(1); }
.blog-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.08);
}
.blog-tag {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--cyan);
    letter-spacing: 0.25em;
    margin-bottom: 1rem;
    padding: 0.2rem 0.6rem;
    border: 1px solid rgba(0, 240, 255, 0.2);
    display: inline-block;
}
.blog-title {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.blog-excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}
.blog-link {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--cyan);
    letter-spacing: 0.2em;
}

/* --- BLOG POST --- */
.blog-post-body {
    max-width: 780px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-primary);
}
.blog-post-body h2 {
    font-size: 1.5rem;
    color: var(--text-bright);
    margin: 3rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-dim);
}
.blog-post-body h3 {
    font-size: 1.15rem;
    color: var(--cyan);
    margin: 2rem 0 0.75rem;
}
.blog-post-body p { margin-bottom: 1.25rem; }
.blog-post-body ul, .blog-post-body ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25rem;
}
.blog-post-body li {
    list-style: none;
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1rem;
}
.blog-post-body li::before {
    content: '>';
    font-family: var(--font-mono);
    color: var(--cyan);
    position: absolute;
    left: 0;
}
.blog-post-body blockquote {
    border-left: 2px solid var(--magenta);
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background: rgba(255, 0, 255, 0.04);
    color: var(--text-secondary);
    font-style: italic;
}
.blog-post-body strong { color: var(--text-bright); }

/* --- SHOP --- */
.shop-filters {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.filter-btn {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    padding: 0.5rem 1.25rem;
    border: 1px solid var(--border-dim);
    color: var(--text-secondary);
    background: var(--bg-card);
    text-decoration: none;
    transition: var(--transition);
}
.filter-btn:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    text-shadow: 0 0 6px rgba(0, 240, 255, 0.3);
}
.filter-active {
    border-color: var(--cyan);
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.08);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.shop-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
}
.shop-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.shop-card:hover::before { opacity: 1; }
.shop-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.08);
}

.shop-card-img {
    position: relative;
    background: linear-gradient(180deg, var(--bg-surface), var(--bg-card));
    padding: 2rem;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.shop-card-img img { max-height: 200px; width: auto; object-fit: contain; }
.shop-card-bundle-imgs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}
.shop-card-bundle-imgs img { max-height: 140px; width: auto; flex-shrink: 1; }
.shop-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    opacity: 0.4;
}
.placeholder-icon { width: 50px; height: 50px; opacity: 0.5; }
.shop-card-tag {
    position: absolute;
    top: 0.75rem; right: 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    letter-spacing: 0.2em;
    padding: 0.2rem 0.6rem;
    background: rgba(0, 240, 255, 0.12);
    color: var(--cyan);
    border: 1px solid rgba(0, 240, 255, 0.25);
}
.shop-card-tag-ebook {
    background: rgba(255, 0, 255, 0.12);
    color: var(--magenta);
    border-color: rgba(255, 0, 255, 0.25);
}
.shop-card-tag-bundle {
    background: rgba(57, 255, 20, 0.12);
    color: var(--neon-green);
    border-color: rgba(57, 255, 20, 0.25);
}

.shop-card-body { padding: 1.5rem; }
.shop-card-name {
    font-family: var(--font-display);
    font-size: 0.9rem;
    color: var(--text-bright);
    margin-bottom: 0.5rem;
    letter-spacing: 0.08em;
}
.shop-card-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}
.shop-card-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.shop-card-price { margin-bottom: 1rem; }
.shop-card-amount {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-bright);
}
.shop-card-sub-amount {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--neon-green);
}
.sub-freq { font-size: 0.7rem; color: var(--text-dim); }

/* Tier buttons */
.shop-card-tiers {
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}
.tier-btn {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    padding: 0.35rem 0.6rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-dim);
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.3rem;
    letter-spacing: 0.08em;
}
.tier-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.tier-active {
    border-color: var(--cyan);
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.08);
}
.tier-badge {
    font-size: 0.45rem;
    padding: 0.1rem 0.3rem;
    background: var(--cyan);
    color: var(--bg-dark);
    font-weight: 700;
    letter-spacing: 0.05em;
}
.tier-badge-best { background: var(--magenta); }

/* Ingredients link */
.shop-card-ingredients {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}
.shop-card-ingredients:hover { color: var(--cyan); }
.shop-card-ingredients svg { width: 12px; height: 12px; }

/* Subscribe toggle */
.shop-card-mode { margin-bottom: 1rem; }
.mode-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}
.mode-checkbox {
    appearance: none;
    width: 36px; height: 18px;
    background: var(--bg-surface);
    border: 1px solid var(--border-dim);
    border-radius: 9px;
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}
.mode-checkbox::after {
    content: '';
    position: absolute;
    top: 2px; left: 2px;
    width: 12px; height: 12px;
    background: var(--text-dim);
    border-radius: 50%;
    transition: var(--transition);
}
.mode-checkbox:checked {
    background: rgba(57, 255, 20, 0.2);
    border-color: var(--neon-green);
}
.mode-checkbox:checked::after {
    left: 20px;
    background: var(--neon-green);
    box-shadow: 0 0 6px rgba(57, 255, 20, 0.5);
}
.mode-label-text {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-dim);
    letter-spacing: 0.15em;
}

/* Shop ATC button */
.shop-card-atc {
    width: 100%;
    padding: 0.75rem;
    font-size: 0.7rem;
}

/* --- CONTACT / FORM --- */
.form-group { margin-bottom: 1.5rem; }
.form-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-dim);
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}
.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--bg-surface);
    border: 1px solid var(--border-dim);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}
.form-textarea { min-height: 140px; resize: vertical; }

/* ============================================
   CART PAGE
   ============================================ */

/* Empty cart state */
.cart-empty {
    text-align: center;
    padding: 4rem 0;
}
.cart-empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.2;
    color: var(--text-dim);
}
.cart-empty-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}
.cart-empty-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Cart layout — items + summary side-by-side */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 3rem;
    align-items: start;
}

/* Individual cart line item */
.cart-line {
    display: grid;
    grid-template-columns: 80px 1fr auto auto auto 40px;
    gap: 1rem;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-dim);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.cart-line:first-child {
    border-top: 1px solid var(--border-dim);
}

/* Product thumbnail */
.cart-line-img {
    width: 80px;
    height: 80px;
    border: 1px solid var(--border-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--bg-surface);
    border-radius: var(--radius);
}
.cart-line-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Product info */
.cart-line-name {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-bright);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.cart-line-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-dim);
    margin-top: 0.25rem;
    letter-spacing: 0.05em;
}
.cart-line-mode {
    margin-top: 0.5rem;
}

/* Unit price */
.cart-line-price {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Quantity controls */
.cart-line-qty {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-dim);
    border-radius: var(--radius);
    overflow: hidden;
}
.qty-btn {
    width: 34px;
    height: 34px;
    background: var(--bg-surface);
    border: none;
    font-family: var(--font-mono);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-btn:hover {
    background: rgba(0, 240, 255, 0.15);
    color: var(--cyan);
}
.qty-input {
    width: 40px;
    height: 34px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border-dim);
    border-right: 1px solid var(--border-dim);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    background: var(--bg-card);
    color: var(--text-bright);
    -moz-appearance: textfield;
}
.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

/* Line total */
.cart-line-total {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--cyan);
    text-align: right;
    min-width: 80px;
    white-space: nowrap;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}

/* Remove button */
.cart-line-remove {
    width: 34px;
    height: 34px;
    background: transparent;
    border: 1px solid var(--border-dim);
    border-radius: var(--radius);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dim);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.cart-line-remove:hover {
    background: rgba(255, 0, 102, 0.15);
    border-color: var(--hot-pink);
    color: var(--hot-pink);
    box-shadow: 0 0 10px rgba(255, 0, 102, 0.2);
}

/* ============================================
   ORDER SUMMARY (shared by cart & checkout)
   ============================================ */
.order-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius);
    padding: 2rem;
    position: sticky;
    top: 120px;
}
.order-summary::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, var(--cyan), var(--magenta));
    border-radius: var(--radius) var(--radius) 0 0;
}
.order-summary h3 {
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-dim);
    color: var(--text-bright);
}
.order-line {
    display: flex;
    justify-content: space-between;
    padding: 0.65rem 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(0, 240, 255, 0.06);
}
.order-line:last-of-type {
    border-bottom: none;
}
.order-line-discount {
    color: var(--neon-green);
    font-weight: 700;
    text-shadow: 0 0 6px rgba(57, 255, 20, 0.3);
}
.order-total {
    display: flex;
    justify-content: space-between;
    padding: 1.25rem 0 0;
    margin-top: 0.5rem;
    font-weight: 700;
    font-size: 1.15rem;
    font-family: var(--font-display);
    color: var(--text-bright);
    border-top: 1px solid var(--border-glow);
}

/* ============================================
   QTY SELECTOR (Shop Page)
   ============================================ */
.qty-selector {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0.75rem 0 0.5rem;
}
.qty-selector .qty-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--border-glow, rgba(255,255,255,0.15));
    background: var(--surface-card, rgba(255,255,255,0.04));
    color: var(--text-primary, #fff);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, border-color 0.15s;
    user-select: none;
}
.qty-selector .qty-btn:first-child { border-radius: 6px 0 0 6px; }
.qty-selector .qty-btn:last-child { border-radius: 0 6px 6px 0; }
.qty-selector .qty-btn:hover {
    background: var(--accent, #00e5a0);
    color: #000;
    border-color: var(--accent, #00e5a0);
}
.qty-selector .qty-input {
    width: 48px;
    height: 36px;
    text-align: center;
    border: 1px solid var(--border-glow, rgba(255,255,255,0.15));
    border-left: none;
    border-right: none;
    background: var(--surface-card, rgba(255,255,255,0.04));
    color: var(--text-primary, #fff);
    font-size: 1rem;
    font-weight: 700;
    -moz-appearance: textfield;
    appearance: textfield;
}
.qty-selector .qty-input::-webkit-inner-spin-button,
.qty-selector .qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Per-bottle price pill (Shop Page) */
.shop-card-per-bottle {
    display: inline-block;
    background: rgba(0, 229, 160, 0.12);
    color: var(--accent, #00e5a0);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.2em 0.7em;
    border-radius: 999px;
    margin-left: 0.5rem;
    vertical-align: middle;
    letter-spacing: 0.02em;
}

/* Per-bottle price (Cart Page) */
.cart-per-bottle {
    font-size: 0.85rem;
    color: var(--accent, #00e5a0);
    font-weight: 600;
}

/* ============================================
   COUPON SYSTEM
   ============================================ */
.coupon-section {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-dim);
}
.coupon-input-row {
    display: flex;
    gap: 0;
    margin-bottom: 0.75rem;
}
.coupon-input-row input {
    flex: 1;
    padding: 0.65rem 0.85rem;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-dim);
    border-right: none;
    border-radius: var(--radius) 0 0 var(--radius);
    outline: none;
    transition: var(--transition);
}
.coupon-input-row input::placeholder {
    color: var(--text-dim);
    text-transform: uppercase;
}
.coupon-input-row input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}
.coupon-input-row button {
    padding: 0.65rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(0, 240, 255, 0.1);
    color: var(--cyan);
    border: 1px solid var(--cyan);
    border-radius: 0 var(--radius) var(--radius) 0;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.coupon-input-row button:hover {
    background: rgba(0, 240, 255, 0.2);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}
.coupon-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.coupon-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.6rem;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--neon-green);
    background: rgba(57, 255, 20, 0.08);
    border: 1px solid rgba(57, 255, 20, 0.3);
    border-radius: var(--radius);
}
.coupon-chip-remove {
    background: none;
    border: none;
    color: var(--neon-green);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    font-weight: 700;
    opacity: 0.7;
    transition: opacity var(--transition);
}
.coupon-chip-remove:hover { opacity: 1; }
.coupon-chip-readonly {
    border-color: var(--border-dim);
    color: var(--text-dim);
    background: transparent;
}
.coupon-error {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--hot-pink);
    margin-bottom: 0.5rem;
}

/* ============================================
   SHIPPING PROGRESS BAR
   ============================================ */
.cart-shipping-progress {
    padding: 1rem 0;
}
.shipping-progress-text {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    color: var(--text-dim);
}
.shipping-progress-bar {
    height: 4px;
    background: var(--bg-surface);
    border: 1px solid var(--border-dim);
    border-radius: 2px;
    overflow: hidden;
}
.shipping-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cyan), var(--neon-green));
    transition: width 0.3s ease;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */
.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 3rem;
    align-items: start;
}

/* Checkout form inputs */
.contact-form label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}
.contact-form label:first-child {
    margin-top: 0;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--bg-surface);
    border: 1px solid var(--border-dim);
    border-radius: var(--radius);
    transition: var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}
.contact-form input::placeholder {
    color: var(--text-dim);
}
.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}
/* Hidden inputs should stay hidden */
.contact-form input[type="hidden"] {
    display: none;
}

/* Checkout terms */
.checkout-terms {
    border: 1px solid var(--border-dim);
    border-radius: var(--radius);
    padding: 1.25rem;
    background: var(--bg-card);
}
.checkout-terms-heading {
    font-family: var(--font-display);
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: var(--text-bright);
}
.checkout-term-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-dim);
    cursor: pointer;
}
.checkout-term-item:last-of-type {
    border-bottom: none;
}
.checkout-term-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    accent-color: var(--cyan);
    cursor: pointer;
    margin-top: 2px;
}
.checkout-term-text {
    font-size: 0.7rem;
    line-height: 1.5;
    color: var(--text-secondary);
}
.checkout-terms-note {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-dim);
    margin-top: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.checkout-terms-error {
    background: rgba(255, 0, 102, 0.08);
    border: 1px solid var(--hot-pink);
    color: var(--hot-pink);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-align: center;
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: var(--radius);
}

/* Shipping options */
.shipping-options {
    margin-top: 0.75rem;
    margin-bottom: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.shipping-option {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid var(--border-dim);
    border-bottom: none;
    cursor: pointer;
    transition: background var(--transition), border-color var(--transition);
}
.shipping-option:first-child {
    border-radius: var(--radius) var(--radius) 0 0;
}
.shipping-option:last-child {
    border-bottom: 1px solid var(--border-dim);
    border-radius: 0 0 var(--radius) var(--radius);
}
.shipping-option:hover {
    background: rgba(0, 240, 255, 0.04);
}
.shipping-option input[type="radio"],
.shipping-option input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--cyan);
    flex-shrink: 0;
    cursor: pointer;
}
.shipping-option-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.shipping-option-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--text-primary);
}
.shipping-option-desc {
    font-size: 0.7rem;
    color: var(--text-dim);
}
.shipping-option-price {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
}
.shipping-option-addon {
    border-top: 1px dashed var(--border-dim);
    margin-top: 0.5rem;
}
.shipping-option:has(input:checked) {
    border-color: var(--cyan);
    background: rgba(0, 240, 255, 0.06);
}
.shipping-option:has(input:checked) + .shipping-option:not(:has(input:checked)) {
    border-top-color: var(--cyan);
}

/* Trust badges */
.trust-badges {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.badge-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-secondary);
}
.badge-icon {
    font-size: 1rem;
    color: var(--neon-green);
    text-shadow: 0 0 6px rgba(57, 255, 20, 0.3);
}

/* ============================================
   CART & CHECKOUT RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }
    .checkout-grid {
        grid-template-columns: 1fr;
    }
    .order-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .cart-line {
        grid-template-columns: 60px 1fr auto 40px;
        gap: 0.75rem;
    }
    .cart-line-price {
        display: none;
    }
    .cart-line-img {
        width: 60px;
        height: 60px;
    }
    .cart-line-total {
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .cart-line {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        text-align: center;
    }
    .cart-line-img {
        width: 80px;
        height: 80px;
        margin: 0 auto;
    }
    .cart-line-qty {
        justify-content: center;
    }
    .cart-line-remove {
        margin: 0 auto;
    }
}

/* Cart toast notification */
.cart-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--bg-card);
    color: var(--neon-green);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.85rem 2rem;
    border: 1px solid var(--neon-green);
    border-radius: var(--radius);
    box-shadow: var(--glow-green);
    z-index: 9999;
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    pointer-events: none;
}
.cart-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Section tag (used in checkout) */
.section-tag {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 0.3rem 0.8rem;
    margin-bottom: 1rem;
    border-radius: var(--radius);
}

/* --- CTA Section --- */
.section-cta {
    background:
        radial-gradient(ellipse at 50% 50%, rgba(0, 240, 255, 0.08) 0%, transparent 50%),
        var(--bg-dark);
    padding: 6rem 0;
    text-align: center;
    position: relative;
}
.section-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
}
.section-cta .section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
}
.section-cta .section-text {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

/* --- FOOTER --- */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-dim);
    padding: 4rem 0 2rem;
    position: relative;
}
.footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-tagline {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--cyan);
    letter-spacing: 0.1em;
    margin: 1rem 0 0.5rem;
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.3);
}
.footer-desc {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.6;
}
.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.footer-heading {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--text-dim);
    letter-spacing: 0.25em;
    margin-bottom: 1rem;
}
.footer-link {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.25rem 0;
}
.footer-link:hover { color: var(--cyan); }

.footer-contact {
    border-top: 1px solid var(--border-dim);
    padding-top: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-align: center;
}
.footer-contact a { color: var(--cyan); }

.footer-bottom {
    border-top: 1px solid var(--border-dim);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-dim);
}
.footer-disclaimer {
    font-size: 0.65rem;
    color: var(--text-dim);
    max-width: 800px;
    margin: 1rem auto 0;
    line-height: 1.5;
}

/* --- LIGHTBOX --- */
.lightbox {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(5, 5, 10, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-img { max-width: 90%; max-height: 90vh; object-fit: contain; }
.lightbox-close {
    position: absolute;
    top: 1.5rem; right: 1.5rem;
    font-size: 2rem;
    color: var(--cyan);
    background: none;
    border: 1px solid var(--border-dim);
    width: 48px; height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.lightbox-close:hover {
    border-color: var(--magenta);
    color: var(--magenta);
    box-shadow: var(--glow-magenta);
}

/* --- SCROLL ANIMATIONS --- */
.stat-card, .ingredient-card, .blog-card, .pricing-card, .timeline-item, .hud-card, .shop-card {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.stat-card.visible, .ingredient-card.visible, .blog-card.visible,
.pricing-card.visible, .timeline-item.visible, .hud-card.visible, .shop-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- LEGAL PAGES --- */
.legal-body {
    max-width: 780px;
    margin: 0 auto;
}
.legal-body h2 {
    font-size: 1.3rem;
    color: var(--text-bright);
    margin: 2.5rem 0 1rem;
}
.legal-body p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.7;
}
.legal-body ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.legal-body li {
    color: var(--text-secondary);
    padding: 0.25rem 0;
    list-style: none;
    position: relative;
    padding-left: 1rem;
}
.legal-body li::before {
    content: '>';
    font-family: var(--font-mono);
    color: var(--cyan);
    position: absolute;
    left: 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-tag { justify-content: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-image { order: -1; margin-bottom: 2rem; }
    .product-img { max-width: 350px; }

    .stats-bar { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .pricing-card-popular { transform: none; }
    .footer-top { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    .nav {
        position: fixed;
        top: 0; right: -100%;
        width: 80%; max-width: 320px;
        height: 100vh;
        background: var(--bg-card);
        border-left: 1px solid var(--border-dim);
        flex-direction: column;
        padding: 5rem 2rem 2rem;
        gap: 0;
        transition: right 0.4s ease;
        z-index: 1000;
        overflow-y: auto;
    }
    .nav.active { right: 0; }
    .nav-link {
        font-size: 0.85rem;
        padding: 0.85rem 0;
        border-bottom: 1px solid var(--border-dim);
        width: 100%;
    }
    .nav-link::after { display: none; }
    .header-cta { display: none; }

    .hero { min-height: auto; padding: 6rem 0 3rem; }
    .hero-title { font-size: clamp(2rem, 8vw, 3rem); }

    .stats-bar { grid-template-columns: 1fr 1fr; }

    .product-grid { grid-template-columns: 1fr; }
    .blog-grid { grid-template-columns: 1fr; }
    .shop-grid { grid-template-columns: 1fr; }
    .footer-links-group { grid-template-columns: 1fr 1fr; }

    .section { padding: 3.5rem 0; }
    .page-hero { padding: 6rem 0 3rem; }
}

@media (max-width: 480px) {
    .stats-bar { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 1rem; }
    .footer-links-group { grid-template-columns: 1fr; }
    .banner-sep { display: none; }
    .banner-inner { flex-direction: column; gap: 0.25rem; }
    .product-img { max-width: 280px; margin-left: 10px; }
}


/* ==============================================
   NEW LAYOUT SYSTEMS — MindPulse Cyberpunk
   Scrollytelling, Bento, Split-Screen, Terminal,
   Asymmetric, Magazine Grid
   ============================================== */


/* === SCROLLYTELLING === */

.scroll-sticky-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
}

.scroll-sticky-media {
    position: sticky;
    top: 20vh;
    height: auto;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-sticky-media .product-img,
.scroll-sticky-media img {
    max-width: 320px;
    width: 100%;
    transition: opacity 0.5s ease;
}

.scroll-sticky-media .media-stack {
    position: relative;
    width: 100%;
    max-width: 320px;
}

.scroll-sticky-media .media-stack img {
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.5s ease;
}

.scroll-sticky-media .media-stack img:first-child {
    position: relative;
}

.scroll-sticky-content {
    padding: 10vh 0 30vh;
}

.scroll-step {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.2;
    transition: opacity 0.6s ease, transform 0.6s ease;
    transform: translateY(20px);
    padding: 2rem 0;
}

.scroll-step.active {
    opacity: 1;
    transform: translateY(0);
}

.scroll-step h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--text-bright);
    margin: 0.75rem 0;
    letter-spacing: 0.04em;
}

.scroll-step p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.scroll-step .step-features {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.scroll-step .step-feature {
    color: var(--text-secondary);
    font-size: 0.85rem;
    padding-left: 1rem;
    border-left: 2px solid var(--cyan);
}

.scroll-step .step-feature.magenta {
    border-left-color: var(--magenta);
}

.scroll-step .step-feature.green {
    border-left-color: var(--neon-green);
}


/* === BENTO GRID === */

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 1rem;
}

.bento-item {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 0;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease;
}

.bento-item:hover {
    border-color: var(--cyan);
    transform: translateY(-2px);
}

.bento-2x1 { grid-column: span 2; }
.bento-1x2 { grid-row: span 2; }
.bento-2x2 { grid-column: span 2; grid-row: span 2; }
.bento-3x1 { grid-column: span 3; }
.bento-full { grid-column: 1 / -1; }

.bento-item .bento-stat {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--cyan);
    line-height: 1;
}

.bento-item .bento-stat.magenta { color: var(--magenta); }
.bento-item .bento-stat.green { color: var(--neon-green); }

.bento-item .bento-label {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    color: var(--text-dim);
    margin-top: 0.5rem;
    text-transform: uppercase;
}

.bento-item .bento-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 0.75rem;
}

/* Shop-specific bento overrides */
.shop-bento {
    grid-template-columns: repeat(3, 1fr);
}

.shop-bento .shop-card {
    margin: 0;
}

.shop-bento .shop-card.bento-2x2 .shop-card-img img {
    max-height: 350px;
}


/* === SPLIT-SCREEN === */

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}

.split-section.reverse {
    direction: rtl;
}

.split-section.reverse > * {
    direction: ltr;
}

.split-pane {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
}

.split-pane h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--text-bright);
    margin: 1rem 0;
    letter-spacing: 0.04em;
}

.split-pane p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 0.95rem;
}

.split-pane-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: var(--bg-card);
    border-left: 1px solid var(--border-dim);
}

.split-section.reverse .split-pane-visual {
    border-left: none;
    border-right: 1px solid var(--border-dim);
}

.split-pane-visual img {
    max-width: 280px;
    width: 80%;
    animation: float 6s ease-in-out infinite;
}

.split-pane-visual .split-stat {
    text-align: center;
}

.split-pane-visual .split-stat-value {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 800;
    color: var(--cyan);
    line-height: 1;
}

.split-pane-visual .split-stat-value.magenta { color: var(--magenta); }
.split-pane-visual .split-stat-value.green { color: var(--neon-green); }

.split-pane-visual .split-stat-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    color: var(--text-dim);
    margin-top: 0.5rem;
}

.split-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), var(--magenta), transparent);
}


/* === TERMINAL UI === */

.terminal-window {
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid var(--neon-green);
    overflow: hidden;
    box-shadow: 0 0 20px rgba(57, 255, 20, 0.08), inset 0 0 40px rgba(57, 255, 20, 0.02);
    margin: 1.5rem 0;
}

.terminal-window.terminal-cyan {
    border-color: var(--cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.08), inset 0 0 40px rgba(0, 240, 255, 0.02);
}

.terminal-window.terminal-magenta {
    border-color: var(--magenta);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.08), inset 0 0 40px rgba(255, 0, 255, 0.02);
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(57, 255, 20, 0.04);
    border-bottom: 1px solid rgba(57, 255, 20, 0.15);
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--neon-green);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.terminal-cyan .terminal-header {
    background: rgba(0, 240, 255, 0.04);
    border-bottom-color: rgba(0, 240, 255, 0.15);
    color: var(--cyan);
}

.terminal-magenta .terminal-header {
    background: rgba(255, 0, 255, 0.04);
    border-bottom-color: rgba(255, 0, 255, 0.15);
    color: var(--magenta);
}

.terminal-dots {
    display: flex;
    gap: 0.35rem;
    margin-right: 0.75rem;
}

.terminal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid;
}

.terminal-dot-red { border-color: #ff4444; background: rgba(255, 68, 68, 0.3); }
.terminal-dot-yellow { border-color: #ffaa00; background: rgba(255, 170, 0, 0.3); }
.terminal-dot-green { border-color: var(--neon-green); background: rgba(57, 255, 20, 0.3); }

.terminal-body {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.8;
    color: var(--neon-green);
}

.terminal-prompt {
    color: var(--cyan);
    margin: 0.75rem 0 0.25rem;
}

.terminal-prompt::before {
    content: '$ ';
    color: var(--neon-green);
}

.terminal-output {
    color: var(--text-secondary);
    padding-left: 1rem;
    border-left: 2px solid rgba(57, 255, 20, 0.15);
    margin: 0.5rem 0 1.5rem;
    font-size: 0.8rem;
    line-height: 1.8;
}

.terminal-cursor {
    display: inline-block;
    width: 8px;
    height: 1em;
    background: var(--neon-green);
    animation: cursor-blink 1s step-end infinite;
    vertical-align: middle;
    margin-left: 2px;
}

@keyframes cursor-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.terminal-progress {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0.5rem 0;
}

.terminal-progress-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--cyan);
    min-width: 140px;
    letter-spacing: 0.05em;
}

.terminal-bar {
    flex: 1;
    height: 4px;
    background: rgba(57, 255, 20, 0.1);
    position: relative;
    overflow: hidden;
}

.terminal-bar-fill {
    height: 100%;
    background: var(--neon-green);
    box-shadow: 0 0 8px rgba(57, 255, 20, 0.5);
    transition: width 1.5s ease;
    width: 0;
}

.terminal-bar-fill.cyan {
    background: var(--cyan);
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

.terminal-bar-fill.magenta {
    background: var(--magenta);
    box-shadow: 0 0 8px rgba(255, 0, 255, 0.5);
}

.terminal-value {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--neon-green);
    min-width: 3rem;
    text-align: right;
}

.terminal-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    margin: 1rem 0;
}

.terminal-table th {
    text-align: left;
    color: var(--cyan);
    border-bottom: 1px solid rgba(57, 255, 20, 0.2);
    padding: 0.5rem 0.75rem;
    font-weight: 400;
    letter-spacing: 0.1em;
}

.terminal-table td {
    padding: 0.4rem 0.75rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(57, 255, 20, 0.06);
}

.terminal-table tr:hover td {
    color: var(--text-bright);
    background: rgba(57, 255, 20, 0.03);
}

/* Terminal FAQ (clickable prompts) */
.terminal-faq-item {
    margin-bottom: 0.5rem;
}

.terminal-faq-item .terminal-prompt {
    cursor: pointer;
    transition: color 0.2s ease;
    user-select: none;
}

.terminal-faq-item .terminal-prompt:hover {
    color: var(--text-bright);
}

.terminal-faq-item .terminal-output {
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding-left: 1rem;
    border-left: 2px solid rgba(57, 255, 20, 0.15);
    transition: max-height 0.1s ease, margin 0.2s ease;
}

.terminal-faq-item.terminal-open .terminal-output {
    max-height: 800px;
    margin: 0.5rem 0 1.5rem;
}


/* === ASYMMETRIC LAYOUT === */

.asym-canvas {
    position: relative;
    min-height: 70vh;
    padding: 4rem 0;
}

.asym-panel {
    position: relative;
    max-width: 50%;
    z-index: 2;
}

.asym-panel.left {
    margin-left: 5%;
}

.asym-panel.right {
    margin-left: auto;
    margin-right: 5%;
}

.asym-float {
    position: absolute;
    z-index: 3;
    max-width: 320px;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.asym-float:hover {
    transform: scale(1.03);
    z-index: 10;
}

.asym-float.top-right { top: 8%; right: 5%; }
.asym-float.top-left { top: 8%; left: 5%; }
.asym-float.mid-right { top: 40%; right: 3%; }
.asym-float.mid-left { top: 40%; left: 3%; }
.asym-float.bottom-right { bottom: 10%; right: 8%; }
.asym-float.bottom-left { bottom: 10%; left: 8%; }
.asym-float.center-right { top: 25%; right: 10%; }
.asym-float.center-left { top: 25%; left: 10%; }

.asym-depth-1 { opacity: 0.7; transform: scale(0.92); }
.asym-depth-2 { opacity: 0.85; transform: scale(0.96); }
.asym-depth-3 { opacity: 1; transform: scale(1); }

.asym-float .ingredient-card {
    backdrop-filter: blur(10px);
    background: rgba(13, 13, 26, 0.9);
}


/* === MAGAZINE GRID (Blog) === */

.magazine-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: auto auto;
    gap: 1rem;
}

.magazine-grid .blog-card:first-child {
    grid-row: span 2;
}

.magazine-hero-card {
    padding: 3rem;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.06), rgba(255, 0, 255, 0.06));
}

.magazine-hero-card .blog-title {
    font-size: 1.6rem;
}

.magazine-hero-card .blog-excerpt {
    font-size: 1rem;
    max-width: 500px;
}

.magazine-grid .blog-card {
    border: 1px solid var(--border-dim);
    transition: border-color 0.3s ease;
}

.magazine-grid .blog-card:hover {
    border-color: var(--cyan);
}


/* === PARALLAX === */

.parallax-container {
    position: relative;
    overflow: hidden;
}

.parallax-layer {
    transition: transform 0.15s ease-out;
}


/* ==============================================
   RESPONSIVE — NEW LAYOUT SYSTEMS
   ============================================== */

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-3x1 { grid-column: span 2; }
    .shop-bento { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* Scrollytelling */
    .scroll-sticky-wrap {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .scroll-sticky-media {
        position: relative;
        top: auto;
        max-width: 240px;
        margin: 0 auto;
    }
    .scroll-sticky-content {
        padding: 2rem 0;
    }
    .scroll-step {
        min-height: auto;
        padding: 2rem 0;
    }

    /* Bento */
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-2x1, .bento-1x2, .bento-2x2, .bento-3x1 {
        grid-column: span 1;
        grid-row: span 1;
    }
    .shop-bento { grid-template-columns: 1fr; }

    /* Split-screen */
    .split-section {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .split-section.reverse { direction: ltr; }
    .split-pane { padding: 3rem 1.5rem; }
    .split-pane-visual {
        border-left: none;
        border-top: 1px solid var(--border-dim);
        min-height: 300px;
    }
    .split-section.reverse .split-pane-visual {
        border-right: none;
        border-top: 1px solid var(--border-dim);
    }

    /* Terminal */
    .terminal-body { padding: 1rem; font-size: 0.8rem; }
    .terminal-progress-label { min-width: 100px; font-size: 0.6rem; }

    /* Asymmetric */
    .asym-canvas { min-height: auto; padding: 2rem 0; }
    .asym-panel { max-width: 100%; margin: 0 !important; }
    .asym-float {
        position: relative;
        top: auto !important; right: auto !important;
        bottom: auto !important; left: auto !important;
        max-width: 100%;
        margin: 1rem 0;
    }
    .asym-depth-1, .asym-depth-2, .asym-depth-3 {
        opacity: 1;
        transform: none;
    }

    /* Magazine grid */
    .magazine-grid {
        grid-template-columns: 1fr;
    }
    .magazine-grid .blog-card:first-child {
        grid-row: span 1;
    }
    .magazine-hero-card { min-height: auto; padding: 2rem; }
}
