/* ═══════════════════════════════════════════════════
   ARCWATCH — COMPLETE FIXED CSS (NO DUPLICATES)
   ═══════════════════════════════════════════════════ */

/* ── GLOBAL RESET ────────────────────────────────── */
* {
  -webkit-tap-highlight-color: transparent;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*:focus {
  outline: none;
}

/* ── TOKENS ──────────────────────────────────────── */
:root {
  --ink: #0a0a0f;
  --ink-soft: #12121a;
  --ink-muted: #1c1c28;
  --surface: #16161f;
  --border: rgba(255, 255, 255, 0.08);
  --border-hi: rgba(255, 255, 255, 0.16);
  --arc: #10b981;
  --arc-dark: #059669;
  --arc-glow: rgba(16, 185, 129, 0.15);
  --text: #f0f0f5;
  --text-muted: #9999b0;
  --text-dim: #555566;
  --success: #34d399;
  --error: #ef4444;
  --warning: #fbbf24;
  --font-display: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'DM Mono', monospace;
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;
  --z-base: 1;
  --z-float: 10;
  --z-nav: 100;
  --z-overlay: 200;
  --z-modal: 300;
  --z-toast: 400;
  --z-cursor: 500;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.2, 0.9, 0.4, 1.05);
  --t-fast: 0.15s;
  --t-base: 0.25s;
  --t-slow: 0.4s;
  --container: 1280px;
  --nav-h: 68px;
}

/* Light mode */
body.light {
  --ink: #ffffff;
  --ink-soft: #f8fafc;
  --ink-muted: #f1f5f9;
  --surface: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --border-hi: rgba(0, 0, 0, 0.12);
  --arc-glow: rgba(5, 150, 105, 0.1);
  --text: #0f172a;
  --text-muted: #475569;
  --text-dim: #94a3b8;
  --arc: #059669;
  --arc-dark: #047857;
  --error: #ef4444;
}

/* Reset */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background 0.3s ease, color 0.3s ease;
}

body.preload * {
  transition: none !important;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button {
  cursor: pointer;
  font-family: inherit;
  background: none;
  border: none;
}

ul {
  list-style: none;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

/* Skip Link */
.skip-link {
  position: fixed;
  top: -100px;
  left: var(--sp-4);
  background: var(--arc);
  color: var(--ink);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 0.85rem;
  z-index: 1000;
  transition: top 0.15s;
}

.skip-link:focus {
  top: var(--sp-4);
}

/* Cursor */
.cursor,
.cursor-dot {
  position: fixed;
  pointer-events: none;
  z-index: 500;
  border-radius: 50%;
}

.cursor {
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--arc);
  transform: translate(-50%, -50%);
  transition: transform 0.1s, width 0.2s, height 0.2s;
}

.cursor-dot {
  width: 5px;
  height: 5px;
  background: var(--arc);
  transform: translate(-50%, -50%);
}

.cursor.hover {
  width: 60px;
  height: 60px;
  background: rgba(16, 185, 129, 0.15);
}

@media (pointer: coarse) {
  .cursor,
  .cursor-dot {
    display: none;
  }
}

/* Toast */
.toast-container {
  position: fixed;
  bottom: var(--sp-6);
  left: var(--sp-6);
  z-index: 400;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  background: var(--surface);
  border: 1px solid var(--border-hi);
  border-left: 3px solid var(--arc);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 500;
  backdrop-filter: blur(20px);
  animation: toastIn 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.toast.error {
  border-left-color: var(--error);
}

.toast.success {
  border-left-color: var(--success);
}

@keyframes toastIn {
  from {
    transform: translateX(-110%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.97);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

body.light .navbar {
  background: rgba(255, 255, 255, 0.9);
}

body.light .navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
}

.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--sp-8);
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.logo-mark {
  font-size: 1.3rem;
  color: var(--arc);
}

.logo-text {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text);
}

.nav-links {
  display: flex;
  gap: var(--sp-2);
  margin-left: auto;
}

.nav-link {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--r-full);
  transition: color 0.15s;
}

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

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

.search-pill {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: var(--sp-2) var(--sp-4);
}

.search-pill input {
  background: none;
  border: none;
  outline: none;
  font-size: 0.8rem;
  width: 140px;
  color: var(--text);
}

.search-pill i {
  color: var(--text-dim);
}

.theme-toggle,
.cart-trigger,
.hamburger {
  width: 38px;
  height: 38px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: all 0.15s;
}

.theme-toggle:hover,
.cart-trigger:hover,
.hamburger:hover {
  border-color: var(--arc);
  color: var(--arc);
}

.cart-trigger {
  position: relative;
  cursor: pointer;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -6px;
  background: var(--arc);
  color: var(--ink);
  font-size: 0.6rem;
  font-weight: 700;
  padding: 2px 5px;
  border-radius: var(--r-full);
  min-width: 18px;
  text-align: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.hamburger span {
  width: 18px;
  height: 1.5px;
  background: var(--text-muted);
  transition: 0.2s;
}

.hamburger:hover span {
  background: var(--arc);
}

/* Mobile Menu */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

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

.mobile-menu {
  position: fixed;
  top: 0;
  right: -280px;
  bottom: 0;
  width: 280px;
  background: var(--ink-soft);
  border-left: 1px solid var(--border);
  z-index: 300;
  padding: var(--sp-8) var(--sp-6);
  transition: right 0.3s;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  display: block;
  padding: var(--sp-3) 0;
  color: var(--text-muted);
}

.mobile-menu a:hover {
  color: var(--arc);
}

/* ============================================
   CART SIDEBAR - IMPROVED VERSION
   ============================================ */

/* Cart Overlay */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 199;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(4px);
}

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

/* Cart Sidebar */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -450px;
  bottom: 0;
  width: 420px;
  background: var(--surface);
  border-left: 1px solid var(--border-hi);
  z-index: 300;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.3);
}

.cart-sidebar.open {
  right: 0;
}

/* Cart Header */
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.cart-header h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text);
  margin: 0;
}

.cart-header h3 span {
  font-size: 0.75rem;
  color: var(--arc);
  background: rgba(16, 185, 129, 0.15);
  padding: 2px 8px;
  border-radius: 30px;
  margin-left: 8px;
}

.cart-close {
  width: 34px;
  height: 34px;
  background: var(--ink-muted);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.cart-close:hover {
  background: var(--error);
  color: white;
  border-color: var(--error);
  transform: rotate(90deg);
}

/* Cart Items Container */
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-items::-webkit-scrollbar {
  width: 4px;
}

.cart-items::-webkit-scrollbar-track {
  background: var(--border);
  border-radius: 4px;
}

.cart-items::-webkit-scrollbar-thumb {
  background: var(--arc);
  border-radius: 4px;
}

/* Empty Cart */
.empty-cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
  padding: 40px 20px;
}

.empty-icon {
  font-size: 4rem;
  margin-bottom: 16px;
  opacity: 0.5;
  color: var(--text-dim);
}

.empty-cart p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.empty-cart a {
  display: inline-block;
  padding: 10px 24px;
  background: var(--arc);
  color: var(--ink);
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s;
  text-decoration: none;
}

.empty-cart a:hover {
  background: var(--arc-dark);
  transform: translateY(-2px);
}

/* Cart Items */
.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

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

.cart-item-title {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
  color: var(--text);
}

.cart-item-color {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.cart-item-price {
  color: var(--arc);
  font-weight: 700;
  font-size: 0.9rem;
  font-family: var(--font-mono);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.cart-item-qty button {
  width: 28px;
  height: 28px;
  background: var(--ink-muted);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

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

.cart-item-qty span {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  min-width: 28px;
  text-align: center;
  color: var(--text);
}

.cart-item-del {
  color: var(--text-dim);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
  transition: all 0.2s;
}

.cart-item-del:hover {
  color: var(--error);
  transform: scale(1.1);
}

/* Cart Footer */
.cart-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.cart-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 0.9rem;
}

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

.cart-row.total {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  padding-top: 12px;
  margin-top: 4px;
  border-top: 1px solid var(--border);
}

.tag-free {
  color: var(--success);
  font-size: 0.75rem;
  background: rgba(52, 211, 153, 0.15);
  padding: 3px 10px;
  border-radius: 30px;
}

.cart-divider {
  height: 1px;
  background: var(--border);
  margin: 8px 0;
}

/* Checkout Button */
.btn-checkout {
  width: 100%;
  margin-top: 16px;
  padding: 14px 20px;
  background: var(--arc) !important;
  color: var(--ink) !important;
  border: none;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-checkout:hover {
  background: var(--arc-dark) !important;
  transform: translateY(-2px);
  gap: 14px;
}

.btn-checkout:active {
  transform: scale(0.98);
}

/* Light Mode */
body.light .cart-sidebar {
  background: #ffffff;
}

body.light .cart-header {
  background: #ffffff;
}

body.light .cart-footer {
  background: #ffffff;
}

body.light .empty-cart a {
  background: #059669;
  color: white;
}

body.light .empty-cart a:hover {
  background: #047857;
}

body.light .cart-item-qty button {
  background: #f1f5f9;
  border-color: #e2e8f0;
  color: #1e293b;
}

body.light .cart-item-qty button:hover {
  background: #059669;
  color: white;
}

body.light .tag-free {
  background: rgba(5, 150, 105, 0.1);
}

/* Scroll Top */
.scroll-top {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  width: 44px;
  height: 44px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  color: var(--text-muted);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  border-color: var(--arc);
  color: var(--arc);
}

/* Hero Section */
.hero {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  color: var(--arc);
  text-transform: uppercase;
  margin-bottom: var(--sp-4);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--sp-5);
}

.title-line.accent {
  color: var(--arc);
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: var(--sp-6);
  line-height: 1.6;
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
}

.chip {
  padding: var(--sp-2) var(--sp-4);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.75rem;
}

.chip i {
  color: var(--arc);
  margin-right: var(--sp-1);
}

.hero-cta {
  display: flex;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

/* Hero Buttons */
.btn-primary {
  padding: 12px 28px;
  background: var(--arc) !important;
  color: white !important;
  border: none;
  border-radius: var(--r-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--arc-dark) !important;
  transform: translateY(-2px);
  color: white !important;
}

.btn-primary:active,
.btn-primary:focus,
.btn-primary:visited {
  background: var(--arc) !important;
  color: white !important;
}

.btn-ghost {
  padding: 12px 28px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  color: var(--text-muted);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--arc) !important;
  color: var(--arc) !important;
  background: transparent;
}

.hero-stats {
  display: flex;
  gap: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
}

.stat-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--arc);
}

.stat-lbl {
  font-size: 0.7rem;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* Watch Face */
.watch-stage {
  position: relative;
  width: 260px;
  height: 460px;
  margin: 0 auto;
}

.watch-device {
  position: relative;
  width: 220px;
  margin: 0 auto;
  animation: floatY 4s ease-in-out infinite;
}

@keyframes floatY {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.watch-bezel {
  background: linear-gradient(145deg, #2a2a3a, #1a1a2a);
  border-radius: 48px;
  padding: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.watch-screen {
  background: #0d0d1a;
  border-radius: 36px;
  padding: 16px 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ws-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 0.6rem;
  font-family: monospace;
  color: rgba(255, 255, 255, 0.6);
}

.ws-signal {
  display: flex;
  gap: 6px;
  color: var(--arc);
}

.ws-time {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  font-family: monospace;
  color: #ffffff;
  letter-spacing: 2px;
  margin: 8px 0;
}

.ws-rings {
  display: flex;
  justify-content: center;
  margin: 12px 0;
}

.ring-svg {
  width: 90px;
  height: 90px;
  transform: rotate(-90deg);
}

.ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 5;
}

.ring-prog {
  fill: none;
  stroke: var(--arc);
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 213.6;
  stroke-dashoffset: 160;
  transition: stroke-dashoffset 0.8s ease;
}

.ring-prog.ring-move {
  animation: ringProgress1 2s ease-out forwards;
}

.ring-prog-2 {
  stroke: #a78bfa;
  stroke-dasharray: 163.4;
  stroke-dashoffset: 120;
  animation: ringProgress2 2s ease-out 0.3s forwards;
}

.ring-prog-3 {
  stroke: #34d399;
  stroke-dasharray: 113.1;
  stroke-dashoffset: 80;
  animation: ringProgress3 2s ease-out 0.6s forwards;
}

@keyframes ringProgress1 {
  to { stroke-dashoffset: 60; }
}

@keyframes ringProgress2 {
  to { stroke-dashoffset: 40; }
}

@keyframes ringProgress3 {
  to { stroke-dashoffset: 20; }
}

.ws-metrics {
  display: flex;
  justify-content: space-around;
  margin-top: 12px;
}

.ws-metric {
  text-align: center;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
}

.ws-metric i {
  font-size: 0.7rem;
  margin-bottom: 4px;
  display: block;
}

.metric-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  display: block;
  line-height: 1.2;
}

/* Watch Crown & Buttons */
.watch-crown {
  position: absolute;
  right: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 32px;
  background: linear-gradient(135deg, #3a3a4a, #222230);
  border-radius: 4px;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
}

.watch-btn-top, .watch-btn-bot {
  position: absolute;
  right: -8px;
  width: 8px;
  height: 22px;
  background: linear-gradient(135deg, #3a3a4a, #222230);
  border-radius: 3px;
}

.watch-btn-top { top: 20%; }
.watch-btn-bot { bottom: 20%; }

/* Watch Bands */
.band-top, .band-bot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 110px;
  background: linear-gradient(to bottom, #1e1e2a, #12121a);
  border-radius: 6px;
  z-index: -1;
}

.band-top {
  bottom: calc(100% - 8px);
  border-radius: 8px 8px 0 0;
}

.band-bot {
  top: calc(100% - 8px);
  border-radius: 0 0 8px 8px;
}

/* Light Mode Watch Face */
body.light .watch-bezel {
  background: linear-gradient(145deg, #e0e0e8, #c8c8d4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body.light .watch-screen {
  background: #f0f0f8;
}

body.light .ws-time {
  color: #1a1a2e;
}

body.light .ws-status {
  color: rgba(0, 0, 0, 0.5);
}

body.light .metric-value {
  color: #1a1a2e;
}

body.light .ws-metric {
  color: rgba(0, 0, 0, 0.6);
}

body.light .ring-track {
  stroke: rgba(0, 0, 0, 0.1);
}

body.light .band-top,
body.light .band-bot {
  background: linear-gradient(to bottom, #d0d0dc, #b0b0bc);
}

body.light .watch-crown,
body.light .watch-btn-top,
body.light .watch-btn-bot {
  background: linear-gradient(135deg, #b0b0bc, #9090a0);
}

/* Floating Pills */
.float-pill {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px 14px;
  border-radius: var(--r-full);
  font-size: 0.7rem;
  font-family: var(--font-mono);
  white-space: nowrap;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  background: rgba(22, 22, 32, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e0e0e5;
}

body.light .float-pill {
  background: #1e1e2e;
  color: #f0f0f5;
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
}

.float-pill i {
  color: var(--arc);
}

.pill-1 {
  top: 10%;
  left: -40%;
}

.pill-2 {
  bottom: 20%;
  right: -40%;
}

.pill-3 {
  bottom: 10%;
  left: -40%;
}

/* Marquee */
.marquee-band {
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--sp-3) 0;
}

.marquee-track {
  display: flex;
  gap: var(--sp-6);
  width: max-content;
  animation: marquee 25s linear infinite;
}

.marquee-track span {
  font-size: 0.75rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.marquee-track .mx {
  color: var(--arc);
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Features Section */
.features {
  padding: var(--sp-20) 0;
  background: var(--ink-soft);
}

.section-header {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.section-label {
  display: inline-block;
  font-size: 0.7rem;
  color: var(--arc);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: var(--sp-3);
  background: rgba(16, 185, 129, 0.1);
  padding: 4px 12px;
  border-radius: 30px;
}

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: var(--sp-3);
  line-height: 1.2;
}

.section-title em {
  color: var(--arc);
  font-style: normal;
}

.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 24px;
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--arc);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--arc);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card i {
  font-size: 2.2rem;
  color: var(--arc);
  margin-bottom: 20px;
  display: inline-block;
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text);
}

.feature-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Products */
.products {
  padding: var(--sp-20) 0;
  background: var(--ink-soft);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: center;
  margin-bottom: var(--sp-8);
}

.filter-btn {
  padding: 8px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.8rem;
  transition: all 0.15s;
  cursor: pointer;
  color: var(--text);
}

.filter-btn:hover {
  border-color: var(--arc);
  color: var(--arc);
}

.filter-btn.active {
  background: var(--arc) !important;
  color: var(--ink) !important;
  border-color: var(--arc);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-5);
}

.product-card {
  background: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--arc);
}

/* Product Badge */
.product-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ef4444;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 30px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}

body.light .product-badge {
  background: #ef4444;
  color: #ffffff;
}

/* Product Wishlist */
.product-wishlist {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 34px;
  height: 34px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  backdrop-filter: blur(4px);
}

.product-wishlist i {
  font-size: 1rem;
  color: #ffffff;
  transition: all 0.2s;
}

.product-wishlist:hover {
  background: rgba(239, 68, 68, 0.8);
  border-color: #ef4444;
}

.product-wishlist:hover i {
  color: #ffffff;
}

.product-wishlist .fas.fa-heart {
  color: #ef4444;
}

.product-wishlist .far.fa-heart {
  color: #ffffff;
}

body.light .product-wishlist {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.15);
}

body.light .product-wishlist i {
  color: #1a1a2e;
}

body.light .product-wishlist:hover {
  background: rgba(239, 68, 68, 0.9);
}

body.light .product-wishlist:hover i {
  color: #ffffff;
}

body.light .product-wishlist .far.fa-heart {
  color: #1a1a2e;
}

.product-img-wrap {
  height: 200px;
  overflow: hidden;
  background: var(--ink-muted);
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--sp-4);
}

.product-body {
  padding: var(--sp-4);
}

.product-brand {
  font-size: 0.65rem;
  color: var(--arc);
  text-transform: uppercase;
}

.product-name {
  font-size: 0.95rem;
  font-weight: 600;
  margin: var(--sp-2) 0;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  margin-bottom: var(--sp-2);
}

.stars-wrap {
  color: #fbbf24;
  font-size: 0.7rem;
}

.price-now {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--arc);
}

.price-was {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-decoration: line-through;
  margin-left: var(--sp-2);
}

.product-add {
  width: 100%;
  margin-top: var(--sp-3);
  padding: 10px 16px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  transition: all 0.15s;
  cursor: pointer;
  color: var(--text) !important;
  font-weight: 500;
  font-size: 0.8rem;
}

.product-add:hover {
  background: var(--arc) !important;
  color: var(--ink) !important;
  border-color: var(--arc);
}

.product-add:active,
.product-add:focus {
  color: var(--text) !important;
}

/* Dark mode specific */
body:not(.light) .product-add {
  color: #e0e0e5 !important;
  border-color: #333344;
}

body:not(.light) .product-add:hover {
  color: #0a0a0f !important;
}

/* Light mode */
body.light .product-add {
  color: #1a1a2e !important;
}

body.light .product-add:hover {
  color: #ffffff !important;
}

/* Pricing */
.pricing {
  padding: var(--sp-20) 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
  transition: all 0.2s;
}

.pricing-card.featured {
  border-color: var(--arc);
  box-shadow: 0 0 30px var(--arc-glow);
}

.pricing-card:hover {
  transform: translateY(-5px);
}

.pc-badge {
  background: var(--arc);
  color: var(--ink);
  font-size: 0.65rem;
  padding: 4px 12px;
  border-radius: var(--r-full);
  display: inline-block;
  margin-bottom: var(--sp-4);
}

.pc-price {
  font-size: 2rem;
  font-weight: 700;
  margin: var(--sp-4) 0;
}

.pc-features {
  list-style: none;
  margin: var(--sp-4) 0;
}

.pc-features li {
  margin: var(--sp-2) 0;
  font-size: 0.85rem;
}

.pc-features i {
  margin-right: var(--sp-2);
  width: 18px;
}

.pc-features .yes i {
  color: var(--success);
}

.pc-features .no {
  color: var(--text-dim);
}

.btn-plan {
  width: 100%;
  padding: 12px;
  border-radius: var(--r-full);
  font-weight: 600;
  transition: all 0.15s;
  cursor: pointer;
}

.btn-plan-fill {
  background: var(--arc) !important;
  color: var(--ink) !important;
  border: none;
}

.btn-plan-fill:hover {
  background: var(--arc-dark) !important;
  transform: translateY(-2px);
}

.btn-plan-outline {
  background: transparent !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
}

.btn-plan-outline:hover {
  border-color: var(--arc) !important;
  color: var(--arc) !important;
  transform: translateY(-2px);
}

.trust-row {
  display: flex;
  justify-content: center;
  gap: var(--sp-8);
  margin-top: var(--sp-12);
  padding: var(--sp-6);
  border-top: 1px solid var(--border);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.8rem;
}

/* Testimonials */
.testimonials {
  padding: var(--sp-20) 0;
  background: var(--ink-soft);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
}

.t-card {
  background: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-6);
}

.t-stars {
  color: #fbbf24;
  margin-bottom: var(--sp-3);
  letter-spacing: 2px;
}

.t-author {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

.t-avatar {
  width: 40px;
  height: 40px;
  background: var(--arc);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Newsletter */
.newsletter {
  padding: var(--sp-20) 0;
}

.nl-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--sp-8);
}

.nl-field input {
  width: 100%;
  padding: 12px 16px;
  background: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  margin-bottom: var(--sp-3);
}

.btn-nl {
  width: 100%;
  padding: 12px;
  background: var(--arc) !important;
  color: var(--ink) !important;
  border: none;
  border-radius: var(--r-full);
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-nl:hover {
  background: var(--arc-dark) !important;
  transform: translateY(-2px);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
}

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

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
}

.modal-panel {
  position: relative;
  background: var(--ink-soft);
  border-radius: var(--r-xl);
  max-width: 500px;
  width: 90%;
  padding: var(--sp-6);
}

.modal-close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  width: 32px;
  height: 32px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  cursor: pointer;
}

/* Footer */
footer {
  background: var(--ink);
  border-top: 1px solid var(--border);
  padding: var(--sp-12) 0 var(--sp-6);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--sp-8);
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.footer-col h4 {
  font-size: 0.8rem;
  margin-bottom: var(--sp-4);
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin: var(--sp-2) 0;
}

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

.footer-bottom {
  text-align: center;
  padding-top: var(--sp-8);
  margin-top: var(--sp-8);
  border-top: 1px solid var(--border);
  font-size: 0.7rem;
  color: var(--text-dim);
}

.social-row {
  display: flex;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

.social-row a {
  width: 36px;
  height: 36px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
}

.social-row a:hover {
  border-color: var(--arc);
  color: var(--arc);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

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

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

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

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .btn-primary {
    white-space: normal;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 0 50px;
  }

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

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

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

  .nl-card {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .search-pill input {
    display: none;
  }

  .cart-sidebar {
    width: 100%;
    right: -100%;
  }

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

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

  .btn-primary {
    padding: 10px 20px;
    font-size: 0.8rem;
    white-space: nowrap;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

/* Global Button Fix - No Blue Anywhere */
button,
.btn-primary,
.btn-ghost,
.btn-plan,
.btn-plan-fill,
.btn-plan-outline,
.btn-checkout,
.btn-nl,
.product-add,
.filter-btn,
.cart-close,
.modal-close,
.mobile-close,
.theme-toggle,
.cart-trigger,
.hamburger,
.scroll-top,
.social-row a {
  -webkit-tap-highlight-color: transparent;
}

button:focus,
.btn-primary:focus,
.btn-ghost:focus,
.btn-plan:focus,
.btn-checkout:focus,
.btn-nl:focus,
.product-add:focus {
  outline: none;
  box-shadow: none;
}

a:visited,
a:active,
a:focus,
button:visited,
button:active,
button:focus {
  color: inherit;
}

/* ============================================
   NEWSLETTER INPUT FIELDS FIX
   ============================================ */

.nl-field input {
  width: 100%;
  padding: 14px 18px;
  background: var(--ink);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  font-size: 0.9rem;
  font-family: var(--font-body);
  color: var(--text);
  pointer-events: auto !important;
  z-index: 10;
  position: relative;
}

.nl-field input:focus {
  outline: none;
  border-color: var(--arc);
  box-shadow: 0 0 0 3px var(--arc-glow);
}

.nl-field input::placeholder {
  color: var(--text-dim);
}

/* Light mode */
body.light .nl-field input {
  background: #ffffff;
  color: #1a1a2e;
  border-color: #d1d5db;
}

body.light .nl-field input::placeholder {
  color: #9ca3af;
}

/* Ensure no overlay is blocking */
.nl-card {
  position: relative;
  z-index: 5;
}

.nl-right {
  position: relative;
  z-index: 10;
}

form#subscribeForm {
  position: relative;
  z-index: 10;
}