/* ============================================================
   BITOVIA.STORE — Global Stylesheet
   Dark premium digital products store
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap');

/* === CSS Variables === */
:root {
  --bg:           #080A0F;
  --bg-2:         #0B0E15;
  --bg-3:         #0F1219;
  --surface:      #111520;
  --surface-2:    #161B28;
  --elevated:     #1C2335;

  --accent:       #C9A84C;
  --accent-dark:  #A8882E;
  --accent-dim:   rgba(201, 168, 76, 0.1);
  --accent-glow:  rgba(201, 168, 76, 0.25);
  --accent-text:  #C9A84C;

  --green:        #10B981;
  --amber:        #F59E0B;
  --red:          #EF4444;

  --text:         #F1F5F9;
  --text-2:       #CBD5E1;
  --text-muted:   #64748B;

  --border:       rgba(255, 255, 255, 0.06);
  --border-2:     rgba(255, 255, 255, 0.1);
  --border-accent: rgba(201, 168, 76, 0.35);

  --font-head:    'Oxanium', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --radius:       10px;
  --radius-lg:    16px;
  --radius-xl:    24px;

  --container:    1280px;
  --shadow:       0 4px 32px rgba(0, 0, 0, 0.5);
  --shadow-card:  0 2px 16px rgba(0, 0, 0, 0.4);
  --shadow-glow:  0 0 48px rgba(0, 212, 255, 0.18);

  --transition:   0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-md: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }
ul { list-style: none; }

/* === Typography === */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }
p { color: var(--text-2); }

.text-accent { color: var(--accent); }
.text-muted  { color: var(--text-muted); }

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

/* === Header === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 13, 20, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition-md);
}
.site-header.scrolled {
  background: rgba(10, 13, 20, 0.95);
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
}
.logo {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  flex-shrink: 0;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
}
.nav-links a {
  padding: 0.4rem 0.9rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--text);
  background: var(--accent-dim);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}
.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.search-input {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.45rem 1rem 0.45rem 2.4rem;
  color: var(--text);
  font-size: 0.875rem;
  width: 200px;
  transition: var(--transition);
}
.search-input:focus {
  outline: none;
  border-color: var(--border-accent);
  background: var(--surface-2);
  width: 240px;
}
.search-input::placeholder { color: var(--text-muted); }
.search-icon {
  position: absolute;
  left: 0.7rem;
  color: var(--text-muted);
  pointer-events: none;
}

.cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
  transition: var(--transition);
}
.cart-btn:hover {
  background: var(--accent-dim);
  border-color: var(--border-accent);
  color: var(--accent);
}
.cart-badge {
  position: absolute;
  top: -6px; right: -6px;
  background: var(--accent);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0);
  transition: var(--transition);
}
.cart-badge.show {
  opacity: 1;
  transform: scale(1);
}

.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px; height: 42px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.925rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-primary {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 24px var(--accent-glow);
}
.btn-primary:hover {
  background: #20DFFF;
  box-shadow: 0 0 36px rgba(0, 212, 255, 0.45);
  transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }
.btn-outline {
  background: transparent;
  border-color: var(--border-2);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--border-accent);
  color: var(--accent);
  background: var(--accent-dim);
}
.btn-ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text-2);
}
.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--text);
}
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; border-radius: 12px; }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.8rem; }

/* === Cards === */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-md);
}
.card:hover {
  border-color: var(--border-2);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

/* === Product Card === */
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition-md);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  border-color: rgba(0, 212, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0,212,255,0.1);
}
.product-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg-3);
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img img {
  transform: scale(1.06);
}
.product-badge {
  position: absolute;
  top: 0.75rem; left: 0.75rem;
  background: var(--accent);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.product-badge.sale { background: var(--green); }
.product-badge.new  { background: #8B5CF6; color: #fff; }

.product-body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.product-category {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.product-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.product-desc {
  font-size: 0.825rem;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
}
.product-price {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}
.price-old {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: line-through;
  margin-left: 0.35rem;
}
.add-cart-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  padding: 0.45rem 0.9rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition);
}
.add-cart-btn:hover {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
}

/* === Stars === */
.stars {
  display: flex;
  gap: 2px;
  color: var(--amber);
  font-size: 0.8rem;
}
.rating-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.rating-count { font-size: 0.75rem; color: var(--text-muted); }

/* === Section Headers === */
.section-header {
  margin-bottom: 3rem;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}
.section-header h2 { color: var(--text); }
.section-header p { color: var(--text-2); margin-top: 0.5rem; max-width: 520px; }
.section-header.center { text-align: center; }
.section-header.center p { margin: 0.5rem auto 0; }

/* === Products Grid === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
}

/* === Trust / Feature Grid === */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.trust-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition-md);
}
.trust-card:hover {
  border-color: var(--border-accent);
  background: var(--surface-2);
}
.trust-icon {
  width: 48px; height: 48px;
  background: var(--accent-dim);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  margin-bottom: 1rem;
}
.trust-card h3 { font-size: 1rem; margin-bottom: 0.4rem; color: var(--text); }
.trust-card p  { font-size: 0.85rem; color: var(--text-muted); }

/* === Categories === */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
}
.category-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: var(--transition-md);
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}
.category-card:hover {
  border-color: var(--border-accent);
  background: var(--accent-dim);
  transform: translateY(-3px);
}
.category-card:hover .cat-icon { background: var(--accent); color: #000; }
.cat-icon {
  width: 48px; height: 48px;
  background: var(--bg-3);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
  transition: var(--transition);
}
.category-card span {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-2);
}
.category-card small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* === Footer === */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 300px;
  margin-top: 0.75rem;
  line-height: 1.7;
}
.footer-social {
  display: flex; gap: 0.6rem; margin-top: 1.25rem;
}
.social-link {
  width: 36px; height: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}
.social-link:hover {
  color: var(--accent);
  border-color: var(--border-accent);
  background: var(--accent-dim);
}
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 1.25rem;
}
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: var(--transition);
}
.footer-col ul a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.footer-badges {
  display: flex; gap: 0.5rem;
}
.badge-trust {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.3rem 0.7rem;
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex; align-items: center; gap: 0.3rem;
}

/* === Cart Sidebar === */
.cart-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-md);
}
.cart-overlay.open { opacity: 1; pointer-events: all; }
.cart-sidebar {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 420px;
  max-width: 95vw;
  background: var(--bg-2);
  border-left: 1px solid var(--border);
  z-index: 201;
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: var(--transition-md);
}
.cart-sidebar.open { transform: translateX(0); }
.cart-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
}
.cart-header h3 { font-size: 1.1rem; color: var(--text); }
.cart-close {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-2);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.cart-close:hover { color: var(--text); background: var(--surface-2); }
.cart-items { flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem; }
.cart-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.cart-item-img {
  width: 60px; height: 50px;
  background: var(--surface);
  border-radius: 8px;
  overflow: hidden; flex-shrink: 0;
}
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; }
.cart-item-name { font-size: 0.875rem; font-weight: 600; color: var(--text); }
.cart-item-price { font-size: 0.875rem; color: var(--accent); font-weight: 600; }
.cart-item-remove {
  color: var(--text-muted);
  transition: var(--transition);
  padding: 0.25rem;
  border-radius: 4px;
}
.cart-item-remove:hover { color: var(--red); background: rgba(239,68,68,0.1); }
.cart-empty {
  text-align: center;
  padding: 4rem 1rem;
}
.cart-empty p { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.75rem; }
.cart-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
}
.cart-total {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1rem;
}
.cart-total span { font-size: 0.9rem; color: var(--text-2); }
.cart-total strong { font-family: var(--font-head); font-size: 1.3rem; color: var(--text); }

/* === Toast === */
.toast-container {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 1000;
  display: flex; flex-direction: column; gap: 0.5rem;
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 0.75rem;
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 0.85rem 1.25rem;
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  transform: translateX(120%);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: all;
  min-width: 280px;
  max-width: 360px;
}
.toast.show { transform: translateX(0); }
.toast-icon { color: var(--accent); flex-shrink: 0; }
.toast.success .toast-icon { color: var(--green); }
.toast.error   .toast-icon { color: var(--red); }

/* === Cookie Banner === */
.cookie-banner {
  position: fixed;
  bottom: 1.5rem; left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1.5rem;
  z-index: 500;
  box-shadow: var(--shadow);
  max-width: 600px;
  width: calc(100% - 3rem);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cookie-banner.show { transform: translateX(-50%) translateY(0); }
.cookie-banner p { font-size: 0.85rem; color: var(--text-2); flex: 1; }
.cookie-banner a { color: var(--accent); text-decoration: underline; }
.cookie-actions { display: flex; gap: 0.5rem; flex-shrink: 0; }

/* === Page Hero === */
.page-hero {
  padding: 7rem 0 3.5rem;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: clamp(1.8rem, 3vw, 2.8rem); margin-bottom: 0.75rem; }
.page-hero p  { font-size: 1.05rem; color: var(--text-2); }
.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.8rem; color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--text-muted); }

/* === Forms === */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 0.45rem;
}
.form-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border-2);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-size: 0.9rem;
  transition: var(--transition);
}
.form-input:focus {
  outline: none;
  border-color: var(--border-accent);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.form-input::placeholder { color: var(--text-muted); }
select.form-input { cursor: pointer; }
textarea.form-input { resize: vertical; min-height: 120px; }

/* === Divider === */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2rem 0;
}

/* === Badges === */
.badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.2rem 0.65rem;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.badge-green { background: rgba(16,185,129,0.15); color: var(--green); border: 1px solid rgba(16,185,129,0.3); }
.badge-accent { background: var(--accent-dim); color: var(--accent); border: 1px solid var(--border-accent); }
.badge-purple { background: rgba(139,92,246,0.15); color: #A78BFA; border: 1px solid rgba(139,92,246,0.3); }

/* === Scroll Animations === */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }
.fade-up:nth-child(5) { transition-delay: 0.4s; }
.fade-up:nth-child(6) { transition-delay: 0.5s; }

/* === Utility === */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.mt-auto { margin-top: auto; }
.w-full { width: 100%; }
.text-center { text-align: center; }
.hidden { display: none !important; }

/* === Responsive === */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .search-input { width: 160px; }
  .search-input:focus { width: 200px; }
}
@media (max-width: 768px) {
  section { padding: 3.5rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .menu-btn { display: flex; }
  .search-wrap { display: none; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .categories-grid { grid-template-columns: repeat(3, 1fr); }
  .cart-sidebar { width: 100%; }
  .cookie-banner { flex-direction: column; gap: 1rem; }
  .cookie-actions { width: 100%; justify-content: flex-end; }
}
@media (max-width: 480px) {
  .trust-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .toast-container { left: 1rem; right: 1rem; bottom: 1rem; }
  .toast { min-width: unset; }
}

/* === Mobile Nav === */
.mobile-nav {
  position: fixed; inset: 0; top: 68px;
  background: var(--bg);
  z-index: 99;
  padding: 2rem 1.5rem;
  display: flex; flex-direction: column; gap: 0.5rem;
  transform: translateX(-100%);
  transition: var(--transition-md);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav a {
  padding: 0.9rem 1rem;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: var(--radius);
  border: 1px solid transparent;
  transition: var(--transition);
}
.mobile-nav a:hover {
  color: var(--text);
  background: var(--surface);
  border-color: var(--border);
}