:root {
    /* ── GHOSST STORE Color System ─────────────────────── */
    --bg-void:      #020608;
    --bg-deep:      #050d10;
    --bg-card:      #091318;
    --bg-card2:     #0c1a20;
    --bg-primary:   #050d10;
    --bg-secondary: #091318;

    /* Spectral teal/cyan accent palette */
    --teal-1:       #0d7a7a;
    --teal-2:       #14b8b8;
    --teal-3:       #5eead4;
    --teal-neon:    #00fff7;
    --ghost-blue:   #38bdf8;
    --ecto-green:   #39ff14;

    /* Legacy aliases (used in inline styles) */
    --accent-primary:   #0d7a7a;
    --accent-secondary: #14b8b8;
    --accent-glow:      rgba(20, 184, 184, 0.3);
    --border-color:     #0f2f33;

    --border:       rgba(20, 184, 184, 0.2);
    --border-glow:  rgba(20, 184, 184, 0.5);

    --gold:         #f0c040;
    --text-hi:      #e8f8f8;
    --text-mid:     #8ab8be;
    --text-lo:      #3a6168;
    --text-primary: #e8f8f8;
    --text-secondary:#8ab8be;
    --text-muted:   #3a6168;
    --success:      #39ff14;
    --danger:       #ef4444;
    --error:        #ef4444;
    --warning:      #f0c040;

    /* Fonts */
    --font-display: 'Orbitron', sans-serif;
    --font-body:    'Syne', sans-serif;
    --font-mono:    'Fira Code', monospace;
}

/* ── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
    font-family: var(--font-body);
    background: var(--bg-void);
    color: var(--text-hi);
    overflow-x: hidden;
    width: 100%;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    line-height: 1.6;
    min-height: 100vh;
}

::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb { background: var(--teal-1); border-radius: 2px; }

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

/* ── Hex/grid background pattern ──────────────────────── */
.hex-bg {
    background-image:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(20,184,184,.18) 0%, transparent 65%),
        url("data:image/svg+xml,%3Csvg width='60' height='52' viewBox='0 0 60 52' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0 L60 17.3 L60 34.7 L30 52 L0 34.7 L0 17.3Z' fill='none' stroke='rgba(20,184,184,0.055)' stroke-width='1'/%3E%3C/svg%3E");
}

/* ── Typography helpers ────────────────────────────────── */
.font-rajdhani  { font-family: var(--font-display); }
.font-mono-tech { font-family: var(--font-mono); }

.glow-teal {
    text-shadow: 0 0 20px rgba(20,184,184,.7), 0 0 60px rgba(13,122,122,.4);
}

/* ── Mobile optimizations ──────────────────────────────── */
@media (max-width: 768px) {
    body { font-size: 14px; }
    h1 { font-size: clamp(1.8rem, 8vw, 2.5rem); }
    h2 { font-size: clamp(1.5rem, 6vw, 2rem); }
    .container { padding-left: 1rem; padding-right: 1rem; }
}

/* ══════════════════════════════════════════════════════════
   GLASS CARD
   ══════════════════════════════════════════════════════════ */
.glass-card {
    background: linear-gradient(135deg, rgba(9,19,24,.92), rgba(12,26,32,.96));
    border: 1px solid var(--border);
    border-radius: 16px;
    backdrop-filter: blur(12px);
    transition: border-color .3s, box-shadow .3s, transform .3s;
}
.glass-card:hover {
    border-color: var(--border-glow);
    box-shadow: 0 0 30px rgba(20,184,184,.12), 0 8px 32px rgba(0,0,0,.55);
    transform: translateY(-4px);
}
@media (max-width: 768px) { .glass-card:hover { transform: translateY(-2px); } }

/* ══════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════ */
.btn-primary, .btn-outline {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    white-space: nowrap;
    touch-action: manipulation;
}
@media (max-width: 480px) {
    .btn-primary, .btn-outline {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        width: 100%;
        text-align: center;
    }
}

.btn-primary {
    background: linear-gradient(135deg, var(--teal-1), var(--teal-2));
    color: #fff; border: none; border-radius: 8px;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: .08em; cursor: pointer;
    position: relative; overflow: hidden; transition: .25s;
    text-decoration: none; display: inline-block;
    text-transform: uppercase;
}
.btn-primary::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--teal-2), var(--teal-neon));
    opacity: 0; transition: .25s;
}
.btn-primary > * { position: relative; }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:hover { box-shadow: 0 0 28px rgba(20,184,184,.55); transform: translateY(-2px); }

.btn-outline {
    background: transparent; color: var(--teal-3);
    border: 1.5px solid var(--teal-1); border-radius: 8px;
    font-weight: 700;
    font-family: var(--font-display);
    letter-spacing: .08em; cursor: pointer; transition: .25s;
    text-decoration: none; display: inline-block;
    text-transform: uppercase;
}
.btn-outline:hover {
    background: rgba(20,184,184,.12); border-color: var(--teal-2);
    box-shadow: 0 0 18px rgba(20,184,184,.3);
}

/* Legacy button names from style.css */
.btn-login {
    color: var(--text-primary);
    background: transparent;
    border: 1px solid var(--border-color);
    padding: 0.5rem 1.5rem; border-radius: 2rem;
    font-weight: 600; text-decoration: none; transition: all 0.3s;
}
.btn-register, .btn-dashboard {
    background: linear-gradient(135deg, var(--teal-1), var(--teal-2));
    color: white; border: none;
    padding: 0.5rem 1.5rem; border-radius: 2rem;
    font-weight: 600; text-decoration: none; transition: all 0.3s;
    box-shadow: 0 0 20px var(--accent-glow);
}
.btn-login:hover { background: var(--bg-card); }
.btn-register:hover, .btn-dashboard:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px var(--accent-glow);
}

/* ══════════════════════════════════════════════════════════
   BADGES
   ══════════════════════════════════════════════════════════ */
.badge {
    display: inline-flex; align-items: center; gap: .35rem;
    background: rgba(20,184,184,.1); border: 1px solid rgba(20,184,184,.28);
    color: var(--teal-3); border-radius: 99px;
    padding: .25rem .85rem; font-size: .75rem;
    font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    white-space: nowrap;
}
@media (max-width: 480px) { .badge { font-size: .65rem; padding: .2rem .6rem; } }

.badge-green {
    background: rgba(57,255,20,.08);
    border-color: rgba(57,255,20,.28);
    color: #86efac;
}

/* ══════════════════════════════════════════════════════════
   MOBILE MENU
   ══════════════════════════════════════════════════════════ */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    color: var(--text-hi);
    cursor: pointer; transition: all 0.3s;
    touch-action: manipulation;
}
.mobile-menu-btn:hover { border-color: var(--teal-2); background: rgba(20,184,184,.1); }
@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    .nav-links { display: none; }
    .nav-links.mobile-open {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(2,6,8,.98); backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--border);
        padding: 1rem; gap: 1rem; z-index: 1000;
    }
}

/* ══════════════════════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════════════════════ */
#navbar, .navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 0.8rem 1.5rem;
    display: flex; align-items: center; justify-content: space-between;
    transition: .3s; width: 100%;
}
@media (max-width: 480px) { #navbar, .navbar { padding: 0.6rem 1rem; } }

#navbar.scrolled, .navbar.scrolled {
    background: rgba(2,6,8,.96); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border); padding: 0.5rem 1.5rem;
}

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

.nav-logo, .logo {
    font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
    background: linear-gradient(90deg, var(--teal-2), var(--teal-neon));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    letter-spacing: .1em; text-decoration: none;
    display: flex; align-items: center; gap: 0.5rem;
}
.logo-text {
    background: linear-gradient(135deg, #e8f8f8 0%, var(--teal-2) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
@media (max-width: 480px) {
    .nav-logo, .logo { font-size: 1.1rem; }
}

/* Nav links */
.nav-links {
    display: flex; gap: 2rem;
}
.nav-link {
    color: var(--text-secondary); text-decoration: none;
    font-weight: 500; transition: color 0.3s; position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link::after {
    content: ''; position: absolute; bottom: -5px; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--teal-1), var(--teal-2));
    transition: width 0.3s;
}
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

/* ══════════════════════════════════════════════════════════
   SECTION LABELS
   ══════════════════════════════════════════════════════════ */
.section-tag {
    font-family: var(--font-mono);
    color: var(--teal-2); font-size: .7rem;
    letter-spacing: .2em; text-transform: uppercase; opacity: .8;
}
@media (max-width: 480px) { .section-tag { font-size: .6rem; letter-spacing: .15em; } }

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 6vw, 3.2rem); font-weight: 700; line-height: 1.1;
}
@media (max-width: 480px) { .section-title { font-size: clamp(1.5rem, 8vw, 2rem); } }

/* ══════════════════════════════════════════════════════════
   PULSE DOT
   ══════════════════════════════════════════════════════════ */
.pulse-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--success); box-shadow: 0 0 0 0 rgba(57,255,20,.4);
    animation: pulse-ring 2s infinite; display: inline-block; flex-shrink: 0;
}
@keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0   rgba(57,255,20,.4); }
    70%  { box-shadow: 0 0 0 8px rgba(57,255,20, 0); }
    100% { box-shadow: 0 0 0 0   rgba(57,255,20, 0); }
}
@media (max-width: 480px) { .pulse-dot { width: 6px; height: 6px; } }

/* ══════════════════════════════════════════════════════════
   FADE-UP ANIMATION
   ══════════════════════════════════════════════════════════ */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity .7s ease, transform .7s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: .1s; }
.stagger-2 { transition-delay: .2s; }
.stagger-3 { transition-delay: .3s; }
.stagger-4 { transition-delay: .4s; }

/* ══════════════════════════════════════════════════════════
   FLOATING PARTICLES
   ══════════════════════════════════════════════════════════ */
.particle {
    position: absolute; border-radius: 50%; background: var(--teal-2); opacity: .12;
    animation: float-particle linear infinite;
}
@keyframes float-particle {
    0%   { transform: translateY(100vh) scale(0); opacity: 0; }
    10%  { opacity: .12; }
    90%  { opacity: .07; }
    100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* ══════════════════════════════════════════════════════════
   GHOST WATERMARK (replaces crown)
   ══════════════════════════════════════════════════════════ */
.crown-watermark {
    position: absolute; font-size: 20rem; opacity: .012;
    pointer-events: none; transform: rotate(-15deg); z-index: 0;
    right: -5%; top: -5%; line-height: 1;
}
@media (max-width: 768px) { .crown-watermark { font-size: 15rem; right: -10%; top: -10%; } }
@media (max-width: 480px)  { .crown-watermark { font-size: 10rem; right: -20%; top: -20%; } }

/* ══════════════════════════════════════════════════════════
   STATS ROW
   ══════════════════════════════════════════════════════════ */
.stat-block {
    text-align: center; padding: 1rem 1.5rem;
    border-right: 1px solid var(--border);
}
.stat-block:last-child { border-right: none; }
@media (max-width: 640px) { .stat-block { padding: .75rem 1rem; } }
@media (max-width: 480px) { .stat-block { padding: .5rem .75rem; } }

/* Legacy stat styles */
.hero-stats { display: flex; justify-content: center; gap: 4rem; }
.stat-item { text-align: center; }
.stat-value {
    display: block; font-size: 2rem; font-weight: 700;
    color: var(--text-primary); margin-bottom: .5rem;
}
.stat-label {
    color: var(--text-muted); font-size: .9rem;
    text-transform: uppercase; letter-spacing: 1px;
}

/* ══════════════════════════════════════════════════════════
   CHEAT DEMO WINDOW
   ══════════════════════════════════════════════════════════ */
.cheat-window {
    background: rgba(5,13,16,.97);
    border: 1px solid rgba(20,184,184,.3);
    border-radius: 12px; overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(20,184,184,.08),
        0 24px 48px rgba(0,0,0,.72),
        0 0 60px rgba(13,122,122,.12);
    position: relative; user-select: none;
    width: 100%; max-width: 320px; margin: 0 auto;
}
@media (max-width: 480px) { .cheat-window { max-width: 100%; font-size: .85rem; } }

.scanline {
    position: absolute; inset: 0; pointer-events: none; z-index: 10;
    background: repeating-linear-gradient(
        to bottom, transparent 0px, transparent 3px,
        rgba(0,0,0,.07) 3px, rgba(0,0,0,.07) 4px
    );
    border-radius: 12px;
}

.cheat-titlebar {
    display: flex; align-items: center; justify-content: space-between;
    padding: .6rem 1rem;
    background: rgba(20,184,184,.14);
    border-bottom: 1px solid rgba(20,184,184,.18);
}
@media (max-width: 480px) { .cheat-titlebar { padding: .4rem .75rem; } }

.cheat-tab {
    padding: .3rem .9rem; border-radius: 6px;
    font-family: var(--font-mono); font-size: .7rem;
    color: var(--text-lo); cursor: pointer;
    transition: all .2s; letter-spacing: .06em; text-transform: uppercase;
    border: 1px solid transparent; touch-action: manipulation;
}
@media (max-width: 480px) { .cheat-tab { padding: .25rem .5rem; font-size: .6rem; } }
.cheat-tab:hover { color: var(--teal-3); background: rgba(20,184,184,.08); }
.cheat-tab.active {
    color: var(--teal-2); background: rgba(20,184,184,.15);
    border-color: rgba(20,184,184,.28);
}

.cheat-toggle {
    display: flex; align-items: center; justify-content: space-between;
    padding: .55rem .75rem; border-radius: 8px; cursor: pointer;
    transition: background .2s; touch-action: manipulation;
}
.cheat-toggle:active { background: rgba(20,184,184,.14); }

.toggle-switch {
    width: 32px; height: 18px; border-radius: 9px; flex-shrink: 0;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.08);
    position: relative; transition: all .25s;
}
.toggle-switch::after {
    content: ''; position: absolute; top: 2px; left: 2px;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--text-lo); transition: all .25s;
}
.toggle-switch.on {
    background: rgba(20,184,184,.32); border-color: var(--teal-2);
    box-shadow: 0 0 8px rgba(20,184,184,.4);
}
.toggle-switch.on::after {
    left: 16px; background: var(--teal-2);
    box-shadow: 0 0 6px rgba(20,184,184,.6);
}

.cheat-slider-track {
    position: relative; height: 4px; border-radius: 2px;
    background: rgba(255,255,255,.07); cursor: pointer; touch-action: manipulation;
}
.cheat-slider-fill {
    position: absolute; top: 0; left: 0; height: 100%; border-radius: 2px;
    background: linear-gradient(90deg, var(--teal-1), var(--teal-2));
    pointer-events: none;
}
.cheat-slider-thumb {
    position: absolute; top: -4px;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--teal-2); border: 2px solid var(--bg-card);
    box-shadow: 0 0 6px rgba(20,184,184,.5);
    pointer-events: none; transition: transform .1s;
}
.cheat-slider-track:active .cheat-slider-thumb { transform: scale(1.2); }

/* ══════════════════════════════════════════════════════════
   CATEGORY FILTER
   ══════════════════════════════════════════════════════════ */
.category-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: .75rem; margin-bottom: 2rem;
}
@media (max-width: 480px) {
    .category-grid { grid-template-columns: repeat(2, 1fr); gap: .5rem; }
}
@media (min-width: 481px) and (max-width: 768px) {
    .category-grid { grid-template-columns: repeat(3, 1fr); }
}

.category-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 12px; padding: .75rem .5rem; text-align: center;
    cursor: pointer; transition: all .3s; position: relative; overflow: hidden;
    touch-action: manipulation;
}
.category-card:active { background: rgba(20,184,184,.1); transform: scale(.98); }
@media (max-width: 480px) { .category-card { padding: .5rem; } }
.category-card:hover {
    border-color: var(--teal-2); transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(20,184,184,.12);
}
.category-card.active { border-color: var(--teal-2); background: rgba(20,184,184,.09); }
.category-card::before {
    content: ''; position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(20,184,184,.09), transparent 70%);
    opacity: 0; transition: opacity .3s;
}
.category-card:hover::before { opacity: 1; }

.category-icon {
    width: 48px; height: 48px; margin: 0 auto .5rem;
    border-radius: 10px; overflow: hidden; border: 1px solid var(--border);
}
@media (max-width: 480px) { .category-icon { width: 40px; height: 40px; } }
.category-icon img { width: 100%; height: 100%; object-fit: cover; }
.category-icon .fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; background: rgba(20,184,184,.08);
}
.category-name { font-family: var(--font-display); font-weight: 600; color: var(--text-hi); margin-bottom: .25rem; font-size: .9rem; }
@media (max-width: 480px) { .category-name { font-size: .8rem; } }
.category-count { font-size: .65rem; color: var(--text-mid); }

/* ══════════════════════════════════════════════════════════
   PRODUCT CARDS
   ══════════════════════════════════════════════════════════ */
.products-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.5rem; margin-top: 1.5rem;
}
@media (max-width: 480px) { .products-grid { grid-template-columns: 1fr; gap: 1rem; } }
@media (min-width: 481px) and (max-width: 768px) { .products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }

.product-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 16px; overflow: hidden; transition: all .3s; position: relative;
    touch-action: manipulation;
}
.product-card:active { transform: scale(.99); border-color: var(--teal-2); }
.product-card:hover {
    transform: translateY(-6px); border-color: var(--border-glow);
    box-shadow: 0 20px 30px rgba(20,184,184,.17);
}
@media (max-width: 768px) { .product-card:hover { transform: translateY(-3px); } }

.product-image { height: 140px; position: relative; overflow: hidden; }
@media (max-width: 480px) { .product-image { height: 120px; } }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product-card:hover .product-image img { transform: scale(1.05); }

.product-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(9,19,24,.9), transparent);
}
.product-tags {
    position: absolute; top: .75rem; left: .75rem; right: .75rem;
    display: flex; justify-content: space-between; align-items: center;
}
.product-type {
    padding: .2rem .6rem; border-radius: 50px;
    font-size: .65rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
    background: rgba(0,0,0,.7); border: 1px solid var(--border-glow); color: var(--teal-3);
}
.product-stock {
    padding: .2rem .6rem; border-radius: 50px; font-size: .65rem; font-weight: 700;
    background: rgba(57,255,20,.08); border: 1px solid rgba(57,255,20,.28);
    color: #86efac; display: flex; align-items: center; gap: .25rem; white-space: nowrap;
}
.product-stock.badge { background: rgba(20,184,184,.1); border-color: rgba(20,184,184,.28); color: var(--teal-3); }

.product-content { padding: 1rem; }
.product-name { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--text-hi); margin-bottom: .25rem; }
@media (max-width: 480px) { .product-name { font-size: 1rem; } }

.product-price { font-size: 1.3rem; font-weight: 700; color: var(--gold); margin-bottom: .25rem; }
@media (max-width: 480px) { .product-price { font-size: 1.2rem; } }
.product-price small { font-size: .7rem; color: var(--text-mid); font-weight: normal; }

.product-features { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: .75rem; }
.feature-pill {
    padding: .15rem .5rem; border-radius: 50px; font-size: .6rem; font-weight: 600;
    background: rgba(20,184,184,.07); border: 1px solid rgba(20,184,184,.18); color: var(--teal-3);
}

/* Legacy product card styles */
.products { padding: 5rem 2rem; background: var(--bg-secondary); }
.section-header { text-align: center; margin-bottom: 4rem; }
.section-header h2 {
    font-size: 2.5rem; margin-bottom: 1rem;
    background: linear-gradient(135deg, #e8f8f8, var(--teal-2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.section-header p { color: var(--text-secondary); font-size: 1.1rem; }

.product-info { padding: 1.5rem; }
.product-info h3 { font-size: 1.5rem; margin-bottom: .5rem; }
.product-info p { color: var(--text-secondary); font-size: .9rem; margin-bottom: 1.5rem; }

.duration-options {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: .5rem; margin-bottom: 1.5rem;
}
.duration-btn {
    background: rgba(255,255,255,.04);
    border: 1px solid var(--border-color);
    border-radius: .75rem; padding: .75rem;
    color: var(--text-primary); font-weight: 600; cursor: pointer;
    transition: all .3s; display: flex; flex-direction: column; align-items: center;
}
.duration-btn:hover { background: rgba(20,184,184,.08); border-color: var(--teal-1); }
.duration-btn.active {
    background: linear-gradient(135deg, var(--teal-1), var(--teal-2));
    border-color: transparent;
}
.duration-btn .price { font-size: .8rem; color: var(--success); margin-top: .25rem; }

.btn-purchase {
    width: 100%; padding: 1rem;
    background: linear-gradient(135deg, var(--teal-1), var(--teal-2));
    color: white; border: none; border-radius: .75rem;
    font-weight: 600; font-size: 1rem; cursor: pointer; transition: all .3s;
    text-decoration: none; display: inline-block; text-align: center;
}
.btn-purchase:hover:not(.btn-login-required) {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px var(--accent-glow);
}
.btn-login-required {
    background: var(--bg-primary); border: 1px solid var(--border-color); color: var(--text-secondary);
}

/* ══════════════════════════════════════════════════════════
   VIEW ALL
   ══════════════════════════════════════════════════════════ */
.view-all-btn {
    display: inline-flex; align-items: center; gap: .5rem;
    color: var(--teal-3); font-weight: 600; text-decoration: none; transition: all .3s;
    padding: .5rem 1rem; touch-action: manipulation;
}
.view-all-btn:active { color: var(--teal-2); gap: .75rem; }

/* ══════════════════════════════════════════════════════════
   FEATURE CARDS
   ══════════════════════════════════════════════════════════ */
.feature-card, .feature {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 16px; padding: 1.5rem 1rem; text-align: center;
    transition: .3s; position: relative; overflow: hidden;
}
@media (max-width: 480px) { .feature-card, .feature { padding: 1rem; } }
.feature-card::before {
    content: ''; position: absolute; top: -40px; left: 50%; transform: translateX(-50%);
    width: 60px; height: 60px;
    background: radial-gradient(circle, rgba(20,184,184,.28), transparent 70%);
    transition: .3s;
}
.feature-card:hover::before { transform: translateX(-50%) scale(2); }
.feature-card:hover, .feature:hover {
    border-color: var(--teal-1); transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(20,184,184,.12);
}
.feature h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.feature p  { color: var(--text-secondary); font-size: .9rem; }

/* Features section */
.features { padding: 5rem 2rem; background: var(--bg-primary); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }
.feature-icon { font-size: 3rem; margin-bottom: 1rem; }

/* ══════════════════════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════════════════════ */
.testimonial-track {
    display: flex; gap: 1rem;
    animation: scroll-left 40s linear infinite;
    width: max-content; padding: .5rem 0;
}
.testimonial-track:hover { animation-play-state: paused; }
@keyframes scroll-left {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (max-width: 768px) { .testimonial-track { animation-duration: 30s; } }

.testi-card {
    width: 280px; flex-shrink: 0;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 14px; padding: 1.25rem;
}
@media (max-width: 480px) { .testi-card { width: 240px; padding: 1rem; } }

/* ══════════════════════════════════════════════════════════
   TOAST
   ══════════════════════════════════════════════════════════ */
#toast {
    position: fixed; bottom: 1rem; right: 1rem; z-index: 9999;
    background: var(--bg-card2); border: 1px solid var(--border-glow);
    border-radius: 12px; padding: .75rem 1.25rem;
    min-width: 240px; max-width: 320px;
    box-shadow: 0 8px 32px rgba(0,0,0,.5);
    transform: translateX(120%); transition: .35s cubic-bezier(.4,0,.2,1);
}
@media (max-width: 480px) {
    #toast { left: 1rem; right: 1rem; width: auto; max-width: none; }
}
#toast.show { transform: translateX(0); }

/* ══════════════════════════════════════════════════════════
   MODAL
   ══════════════════════════════════════════════════════════ */
.modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,.82); backdrop-filter: blur(5px);
    z-index: 2000; align-items: center; justify-content: center;
}
.modal-content {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: 1rem; padding: 2rem; max-width: 500px; width: 90%;
    position: relative; animation: modalSlideIn .3s;
}
@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
.close {
    position: absolute; top: 1rem; right: 1.5rem; font-size: 1.5rem;
    cursor: pointer; color: var(--text-secondary);
}
.close:hover { color: var(--text-primary); }
.modal h2 {
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #e8f8f8, var(--teal-2));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
#purchaseDetails {
    background: var(--bg-primary); border: 1px solid var(--border-color);
    border-radius: .75rem; padding: 1.5rem; margin-bottom: 1.5rem;
}
.modal-actions { display: flex; gap: 1rem; }
.btn-cancel, .btn-confirm {
    flex: 1; padding: 1rem; border: none; border-radius: .75rem;
    font-weight: 600; cursor: pointer; transition: all .3s;
}
.btn-cancel {
    background: var(--bg-primary); border: 1px solid var(--border-color);
    color: var(--text-secondary);
}
.btn-confirm {
    background: linear-gradient(135deg, var(--teal-1), var(--teal-2)); color: white;
}
.btn-cancel:hover  { background: var(--bg-card); }
.btn-confirm:hover { transform: translateY(-2px); box-shadow: 0 10px 20px var(--accent-glow); }

/* ══════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════ */
footer, .footer {
    background: var(--bg-deep); border-top: 1px solid var(--border);
    padding: 3rem 1rem 1.5rem !important;
}
.footer-content {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 2rem;
}
.footer-logo {
    display: flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1.25rem;
}
.footer-links { display: flex; gap: 2rem; }
.footer-links a { color: var(--text-secondary); text-decoration: none; transition: color .3s; }
.footer-links a:hover { color: var(--teal-2); }
.footer-copyright { color: var(--text-muted); font-size: .9rem; }

@media (max-width: 640px) {
    footer .grid { grid-template-columns: 1fr !important; gap: 2rem !important; }
    footer .text-sm { font-size: .85rem; }
    .footer-content { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}

/* ══════════════════════════════════════════════════════════
   WALLET / NAV RIGHT
   ══════════════════════════════════════════════════════════ */
.wallet-indicator {
    display: flex; align-items: center; gap: .5rem; padding: .5rem 1rem;
    background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 2rem;
}
.wallet-balance { font-weight: 600; color: var(--success); }

/* ══════════════════════════════════════════════════════════
   LOADING / UTILITIES
   ══════════════════════════════════════════════════════════ */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: .5; }
}
.loading { animation: pulse 1.5s ease-in-out infinite; }

/* Notification slide */
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}
@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to   { transform: translateX(100%); opacity: 0; }
}