/* ==========================================================================
   BrajaDigital Marketplace Design System — Version 8.0 (Ultimate Premium)
   Geometric Patterns, 3D CSS Depth, Glassmorphism, Soft UI, Light/Dark + 5 Accents
   ========================================================================== */
:root,
[data-theme="light"] {
  --bg-primary: #f8fafc;
  --bg-secondary: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.80);
  --bg-glass-strong: rgba(255, 255, 255, 0.94);
  --bg-header: rgba(255, 255, 255, 0.88);
  --bg-mesh: radial-gradient(at 4% 6%, rgba(37, 99, 235, 0.12) 0px, transparent 48%),
             radial-gradient(at 96% 8%, rgba(124, 58, 237, 0.11) 0px, transparent 46%),
             radial-gradient(at 50% 92%, rgba(13, 148, 136, 0.09) 0px, transparent 52%),
             #f8fafc;
  --bg-section-tint: linear-gradient(180deg, #eff6ff 0%, #f5f3ff 52%, #f8fafc 100%);
  --bg-section-warm: linear-gradient(180deg, #f8fafc 0%, #ecfeff 50%, #f8fafc 100%);
  --bg-hero: linear-gradient(135deg, #070b19 0%, #172554 42%, #312e81 78%, #115e59 100%);
  --bg-cta: linear-gradient(135deg, #0f172a 0%, #1e3a8a 48%, #5b21b6 100%);
  --bg-footer: linear-gradient(180deg, #090e1c 0%, #04070f 100%);
  --grid-dot-color: rgba(15, 23, 42, 0.06);

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-inverse: #ffffff;

  --accent-color: #2563eb;
  --accent-color-hover: #1d4ed8;
  --accent-soft: rgba(37, 99, 235, 0.10);
  --accent-ring: rgba(37, 99, 235, 0.24);
  --brand-gradient: linear-gradient(135deg, #1d4ed8 0%, #7c3aed 52%, #0d9488 100%);

  --status-emerald: #047857;
  --status-emerald-soft: #ecfdf5;
  --status-amber: #b45309;
  --status-amber-soft: #fffbeb;
  --status-amber-border: #fde68a;
  --status-amber-text: #78350f;

  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-strong: rgba(15, 23, 42, 0.16);

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --shadow-xs: 0 2px 6px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 16px 40px rgba(15, 23, 42, 0.09);
  --shadow-lg: 0 26px 64px rgba(15, 23, 42, 0.14);

  --container-max: 1280px;
  --transition: 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

[data-theme="dark"] {
  --bg-primary: #060a13;
  --bg-secondary: #0f172a;
  --bg-surface: #111827;
  --bg-glass: rgba(17, 24, 39, 0.80);
  --bg-glass-strong: rgba(17, 24, 39, 0.95);
  --bg-header: rgba(6, 10, 19, 0.88);
  --bg-mesh: radial-gradient(at 4% 6%, rgba(59, 130, 246, 0.14) 0px, transparent 48%),
             radial-gradient(at 96% 8%, rgba(139, 92, 246, 0.14) 0px, transparent 46%),
             radial-gradient(at 50% 92%, rgba(20, 184, 166, 0.10) 0px, transparent 52%),
             #060a13;
  --bg-section-tint: linear-gradient(180deg, #0b1120 0%, #111827 52%, #060a13 100%);
  --bg-section-warm: linear-gradient(180deg, #060a13 0%, #0d1b24 50%, #060a13 100%);
  --bg-hero: linear-gradient(135deg, #020617 0%, #0f172a 42%, #1e1b4b 78%, #0f2e2c 100%);
  --bg-cta: linear-gradient(135deg, #0f172a 0%, #1e3a8a 48%, #3b0764 100%);
  --bg-footer: linear-gradient(180deg, #04070f 0%, #02040a 100%);
  --grid-dot-color: rgba(148, 163, 184, 0.10);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-inverse: #0f172a;

  --brand-gradient: linear-gradient(135deg, #60a5fa 0%, #a78bfa 52%, #2dd4bf 100%);

  --status-emerald: #34d399;
  --status-emerald-soft: rgba(52, 211, 153, 0.15);
  --status-amber: #fbbf24;
  --status-amber-soft: rgba(251, 191, 36, 0.12);
  --status-amber-border: rgba(251, 191, 36, 0.35);
  --status-amber-text: #fde68a;

  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.28);

  --shadow-xs: 0 2px 6px rgba(0, 0, 0, 0.35);
  --shadow-sm: 0 8px 24px rgba(0, 0, 0, 0.48);
  --shadow-md: 0 18px 42px rgba(0, 0, 0, 0.58);
  --shadow-lg: 0 28px 66px rgba(0, 0, 0, 0.72);
}

/* Curated Accent Presets */
[data-accent="royal-blue"] { --accent-color: #2563eb; --accent-color-hover: #1d4ed8; --accent-soft: rgba(37, 99, 235, 0.12); --accent-ring: rgba(37, 99, 235, 0.25); }
[data-theme="dark"][data-accent="royal-blue"] { --accent-color: #3b82f6; --accent-color-hover: #2563eb; --accent-soft: rgba(59, 130, 246, 0.18); }

[data-accent="purple"] { --accent-color: #7c3aed; --accent-color-hover: #6d28d9; --accent-soft: rgba(124, 58, 237, 0.12); --accent-ring: rgba(124, 58, 237, 0.25); }
[data-theme="dark"][data-accent="purple"] { --accent-color: #a78bfa; --accent-color-hover: #8b5cf6; --accent-soft: rgba(167, 139, 250, 0.18); }

[data-accent="teal"] { --accent-color: #0d9488; --accent-color-hover: #0f766e; --accent-soft: rgba(13, 148, 136, 0.12); --accent-ring: rgba(13, 148, 136, 0.25); }
[data-theme="dark"][data-accent="teal"] { --accent-color: #2dd4bf; --accent-color-hover: #14b8a6; --accent-soft: rgba(45, 212, 191, 0.18); }

[data-accent="emerald"] { --accent-color: #059669; --accent-color-hover: #047857; --accent-soft: rgba(5, 150, 105, 0.12); --accent-ring: rgba(5, 150, 105, 0.25); }
[data-theme="dark"][data-accent="emerald"] { --accent-color: #10b981; --accent-color-hover: #059669; --accent-soft: rgba(16, 185, 129, 0.18); }

[data-accent="gold"] { --accent-color: #d97706; --accent-color-hover: #b45309; --accent-soft: rgba(217, 119, 6, 0.12); --accent-ring: rgba(217, 119, 6, 0.25); }
[data-theme="dark"][data-accent="gold"] { --accent-color: #f59e0b; --accent-color-hover: #d97706; --accent-soft: rgba(245, 158, 11, 0.18); }

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: hidden; width: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-mesh);
  background-attachment: fixed;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  transition: background-color var(--transition), color var(--transition);
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0px) rotateX(2deg) rotateY(-3deg); }
  50% { transform: translateY(-7px) rotateX(4deg) rotateY(-1deg); }
}

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

.skip-link { position: absolute; top: -100px; left: 1rem; background: var(--accent-color); color: #ffffff; padding: 0.55rem 1rem; border-radius: var(--radius-sm); font-weight: 600; z-index: 1000; }
.skip-link:focus { top: 1rem; }

main { flex: 1 0 auto; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0 0 0.75rem; font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; color: var(--text-primary); }
p { margin: 0 0 1rem; color: var(--text-secondary); }
ul, ol { margin: 0 0 1rem; padding-left: 1.35rem; color: var(--text-secondary); }
li + li { margin-top: 0.4rem; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 2px solid var(--accent-color); outline-offset: 2px; }

.container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: 1.5rem; }

/* Geometric Dot Pattern Utility */
.bg-pattern-dots {
  background-image: radial-gradient(var(--grid-dot-color) 1.25px, transparent 1.25px);
  background-size: 24px 24px;
}

/* 1. Announcement Bar */
.announcement-bar { background: linear-gradient(90deg, #070b19 0%, #1e3a8a 48%, #5b21b6 100%); color: #f8fafc; font-size: 0.8125rem; padding: 0.55rem 1rem; text-align: center; }
.announcement-bar__inner { display: flex; align-items: center; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }
.announcement-bar__pill { background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.24); padding: 0.14rem 0.65rem; border-radius: var(--radius-full); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; }

/* 2. Glassmorphic Header & Pure Typographic Wordmark (NO LOGO) */
.site-header { position: sticky; top: 0; z-index: 200; background: var(--bg-header); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border-bottom: 1px solid var(--border-subtle); }
.header-top { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.25rem; padding-block: 0.9rem; }
.brand-wordmark {
  font-size: 1.7rem; font-weight: 900; letter-spacing: -0.045em;
  background: var(--brand-gradient); -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap; display: inline-block; line-height: 1.1;
}
.brand-wordmark--light { background: linear-gradient(135deg, #ffffff 0%, #93c5fd 52%, #5eead4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.search-wrapper { position: relative; width: 100%; max-width: 580px; margin-inline: auto; }
.search-form { display: flex; align-items: center; background: var(--bg-surface); border: 1px solid var(--border-strong); border-radius: var(--radius-full); overflow: hidden; box-shadow: var(--shadow-xs); transition: border-color var(--transition), box-shadow var(--transition); }
.search-form:focus-within { border-color: var(--accent-color); box-shadow: 0 0 0 4px var(--accent-ring); }
.search-form__select { border: none; background: var(--bg-secondary); color: var(--text-secondary); font-size: 0.8rem; font-weight: 600; padding: 0.68rem 0.95rem; border-right: 1px solid var(--border-subtle); outline: none; cursor: pointer; }
.search-form__input { flex: 1; border: none; background: transparent; padding: 0.68rem 1rem; font-size: 0.9rem; color: var(--text-primary); outline: none; min-width: 0; }
.search-clear-btn { border: none; background: transparent; color: var(--text-muted); padding: 0.4rem 0.6rem; font-size: 1.15rem; line-height: 1; display: none; }
.search-clear-btn.is-visible { display: inline-flex; align-items: center; }
.search-form__btn { border: none; background: var(--accent-color); color: #ffffff; padding: 0.68rem 1.2rem; display: inline-flex; align-items: center; justify-content: center; }
.search-form__btn:hover { background: var(--accent-color-hover); }

.search-suggestions { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--bg-glass-strong); backdrop-filter: blur(18px); border: 1px solid var(--border-strong); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); z-index: 300; overflow: hidden; display: none; }
.search-suggestions.is-open { display: block; }
.suggestion-item { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; width: 100%; padding: 0.75rem 1rem; border: none; background: transparent; text-align: left; border-bottom: 1px solid var(--border-subtle); font-size: 0.875rem; }
.suggestion-item:last-child { border-bottom: none; }
.suggestion-item:hover { background: var(--accent-soft); }
.suggestion-item__title { font-weight: 700; color: var(--text-primary); display: block; }
.suggestion-item__meta { font-size: 0.75rem; color: var(--text-muted); }

.header-controls { display: flex; align-items: center; gap: 0.65rem; }
.pill-btn { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.5rem 0.9rem; font-size: 0.8125rem; font-weight: 600; color: var(--text-primary); background: var(--bg-surface); border: 1px solid var(--border-strong); border-radius: var(--radius-full); box-shadow: var(--shadow-xs); white-space: nowrap; transition: all var(--transition); }
.pill-btn:hover { border-color: var(--accent-color); color: var(--accent-color); transform: translateY(-1px); }
.compare-count-dot { background: var(--accent-color); color: #ffffff; font-size: 0.7rem; font-weight: 700; min-width: 18px; height: 18px; border-radius: var(--radius-full); display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; }

.theme-popover-wrap { position: relative; }
.theme-popover { position: absolute; top: calc(100% + 10px); right: 0; width: 292px; background: var(--bg-glass-strong); backdrop-filter: blur(18px); border: 1px solid var(--border-strong); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 1.1rem; z-index: 400; display: none; }
.theme-popover.is-open { display: block; }
.theme-popover__title { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.6rem; }
.theme-mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-bottom: 1rem; }
.mode-option { padding: 0.52rem 0.65rem; font-size: 0.8125rem; font-weight: 600; border-radius: var(--radius-sm); border: 1px solid var(--border-strong); background: var(--bg-secondary); color: var(--text-primary); display: inline-flex; align-items: center; justify-content: center; gap: 0.35rem; }
.mode-option[aria-pressed="true"] { border-color: var(--accent-color); background: var(--accent-soft); color: var(--accent-color); }
.accent-swatches { display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; margin-bottom: 1rem; }
.accent-swatch { width: 28px; height: 28px; border-radius: var(--radius-full); border: 2px solid transparent; padding: 0; transition: transform var(--transition); }
.accent-swatch:hover { transform: scale(1.12); }
.accent-swatch[aria-pressed="true"] { border-color: var(--text-primary); box-shadow: 0 0 0 2px var(--bg-surface) inset; }
.pref-io-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; margin-top: 0.6rem; }

.header-nav-bar { border-top: 1px solid var(--border-subtle); }
.header-nav-bar__inner { display: flex; align-items: center; justify-content: space-between; min-height: 46px; gap: 1rem; }
.nav-list { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav-list li + li { margin-top: 0; }
.nav-link { font-size: 0.875rem; font-weight: 600; color: var(--text-secondary); padding-block: 0.7rem; display: inline-block; position: relative; }
.nav-link:hover, .nav-link.is-active { color: var(--accent-color); }
.nav-link.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2.5px; border-radius: 2px; background: var(--brand-gradient); }
.nav-meta { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }
.mobile-menu-btn { display: none; }

/* Buttons & Badges */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem; padding: 0.76rem 1.45rem; font-size: 0.875rem; font-weight: 700; border-radius: var(--radius-sm); border: 1px solid transparent; transition: all var(--transition); }
.btn--gradient { background: var(--brand-gradient); color: #ffffff; box-shadow: 0 8px 22px rgba(37, 99, 235, 0.28); }
.btn--gradient:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(37, 99, 235, 0.38); }
.btn--accent { background: var(--accent-color); color: #ffffff; }
.btn--accent:hover { background: var(--accent-color-hover); transform: translateY(-1px); }
.btn--glass { background: rgba(255, 255, 255, 0.12); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.28); backdrop-filter: blur(8px); }
.btn--glass:hover { background: rgba(255, 255, 255, 0.22); transform: translateY(-1px); }
.btn--secondary { background: var(--bg-surface); color: var(--text-primary); border-color: var(--border-strong); }
.btn--secondary:hover { border-color: var(--accent-color); color: var(--accent-color); background: var(--accent-soft); }
.btn--disabled { background: var(--bg-secondary); color: var(--text-muted); border-color: var(--border-subtle); cursor: not-allowed; }
.btn--sm { padding: 0.54rem 0.95rem; font-size: 0.8125rem; }
.btn--xs { padding: 0.38rem 0.72rem; font-size: 0.76rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

.badge { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.24rem 0.7rem; font-size: 0.74rem; font-weight: 700; border-radius: var(--radius-full); background: var(--bg-secondary); color: var(--text-secondary); }
.badge--accent { background: var(--accent-soft); color: var(--accent-color); }
.badge--emerald { background: var(--status-emerald-soft); color: var(--status-emerald); }
.badge--amber { background: var(--status-amber-soft); color: var(--status-amber); }
.badge--gold { background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%); color: #92400e; }
.badge--new { background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%); color: #115e59; }

/* 3. Ultimate Hero with 3D-Style Perspective Showcase & SVG Wave Separator */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-hero);
  color: #ffffff;
  padding-block: 4.75rem 5.5rem;
}
.hero__geo-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.hero::before { content: ""; position: absolute; width: 560px; height: 560px; top: -180px; right: -100px; background: radial-gradient(circle, rgba(124, 58, 237, 0.38) 0%, transparent 70%); pointer-events: none; }
.hero::after { content: ""; position: absolute; width: 480px; height: 480px; bottom: -180px; left: -100px; background: radial-gradient(circle, rgba(20, 184, 166, 0.30) 0%, transparent 70%); pointer-events: none; }

.hero__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.15fr 0.95fr; gap: 3.25rem; align-items: center; }
.hero__eyebrow { display: inline-flex; align-items: center; gap: 0.45rem; font-size: 0.76rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #e0e7ff; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.24); padding: 0.36rem 0.95rem; border-radius: var(--radius-full); margin-bottom: 1.35rem; }
.hero__title { color: #ffffff; font-size: clamp(2.2rem, 4.3vw, 3.45rem); letter-spacing: -0.035em; margin-bottom: 1.15rem; line-height: 1.1; }
.hero__title-accent { background: linear-gradient(135deg, #93c5fd 0%, #c4b5fd 50%, #5eead4 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__desc { color: #cbd5e1; font-size: 1.08rem; max-width: 575px; margin-bottom: 2rem; }
.hero__highlights { display: flex; flex-wrap: wrap; gap: 1.25rem; margin-top: 2rem; font-size: 0.85rem; color: #cbd5e1; }

/* 3D Perspective Hero Showcase */
.hero-3d-stage { perspective: 1200px; }
.hero-glass-card {
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  animation: floatSlow 7s ease-in-out infinite;
}
.hero-glass-card__top { display: flex; align-items: center; justify-content: space-between; padding-bottom: 0.85rem; margin-bottom: 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.08em; color: #93c5fd; }
.hero-pillar { display: flex; align-items: flex-start; gap: 0.85rem; padding: 0.85rem; border-radius: var(--radius-md); background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); margin-bottom: 0.75rem; }
.hero-pillar:last-child { margin-bottom: 0; }
.hero-pillar__icon { width: 38px; height: 38px; border-radius: var(--radius-sm); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; color: #ffffff; }
.hero-pillar__title { color: #ffffff; font-size: 0.92rem; font-weight: 700; margin-bottom: 0.15rem; }
.hero-pillar__sub { color: #cbd5e1; font-size: 0.81rem; margin: 0; line-height: 1.45; }

.wave-divider { position: absolute; bottom: -1px; left: 0; right: 0; line-height: 0; z-index: 2; pointer-events: none; }
.wave-divider svg { width: 100%; height: 52px; }

/* Promotional Strip Banner */
.promo-strip {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.6rem 2rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem;
  align-items: center;
  box-shadow: var(--shadow-md);
  margin-top: -2rem;
  position: relative;
  z-index: 10;
}
.promo-strip__icon {
  width: 52px; height: 52px; border-radius: var(--radius-md);
  background: var(--brand-gradient); color: #ffffff;
  display: inline-flex; align-items: center; justify-content: center;
}

/* Sections & Banners */
.section { padding-block: 4.25rem; }
.section--tint { background: var(--bg-section-tint); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.section--warm { background: var(--bg-section-warm); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }

.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.25rem; flex-wrap: wrap; }
.section-eyebrow { display: inline-block; font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent-color); margin-bottom: 0.45rem; }
.section-head__title { font-size: clamp(1.55rem, 2.7vw, 2.1rem); margin-bottom: 0.3rem; }
.section-head__sub { margin: 0; color: var(--text-muted); font-size: 0.96rem; max-width: 650px; }

.page-banner { position: relative; overflow: hidden; background: var(--bg-hero); color: #ffffff; padding-block: 3.4rem 3.1rem; }
.page-banner::after { content: ""; position: absolute; width: 380px; height: 380px; right: -80px; top: -120px; background: radial-gradient(circle, rgba(59, 130, 246, 0.32) 0%, transparent 70%); pointer-events: none; }
.page-banner h1 { color: #ffffff; font-size: clamp(1.85rem, 3.2vw, 2.55rem); margin-bottom: 0.6rem; }
.page-banner__lead { color: #cbd5e1; max-width: 680px; margin-bottom: 0; font-size: 1.02rem; }

/* Cards */
.soft-card {
  background: var(--bg-glass); backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  padding: 1.65rem; box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.soft-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent-color); }

.icon-box {
  width: 44px; height: 44px; border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; color: #ffffff;
}

/* Category Cards */
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.category-card {
  background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  overflow: hidden; display: flex; flex-direction: column; text-align: left; padding: 0;
  box-shadow: var(--shadow-sm); transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent-color); }
.category-card__visual { height: 118px; padding: 1.2rem 1.35rem; display: flex; align-items: center; justify-content: space-between; color: #ffffff; position: relative; overflow: hidden; }
.category-card__body { padding: 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.category-card__title { font-size: 1.08rem; margin: 0; color: var(--text-primary); }
.category-card__desc { font-size: 0.85rem; color: var(--text-muted); margin: 0; flex: 1; }

/* Product Cards */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }
.product-card {
  background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg);
  overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--accent-color); }
.product-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: block; border-bottom: 1px solid var(--border-subtle); }
.product-card__badges { position: absolute; top: 0.85rem; left: 0.85rem; right: 0.85rem; display: flex; justify-content: space-between; align-items: center; pointer-events: none; }
.product-card__type-badge { background: rgba(15, 23, 42, 0.88); backdrop-filter: blur(6px); color: #ffffff; font-size: 0.7rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 0.28rem 0.7rem; border-radius: var(--radius-full); }
.product-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.product-card__meta { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.65rem; }
.product-card__title { font-size: 1.22rem; margin-bottom: 0.45rem; line-height: 1.3; }
.product-card__title a:hover { color: var(--accent-color); }
.product-card__desc { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 1.25rem; flex: 1; }
.product-card__price-row { display: flex; align-items: baseline; justify-content: space-between; padding-top: 1rem; border-top: 1px solid var(--border-subtle); margin-bottom: 1rem; }
.product-card__price { font-size: 1.1rem; font-weight: 800; color: var(--text-primary); }
.product-card__original { font-size: 0.85rem; color: var(--text-muted); text-decoration: line-through; margin-left: 0.4rem; }
.product-card__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.product-card__compare-row { margin-top: 0.8rem; padding-top: 0.7rem; border-top: 1px dashed var(--border-subtle); display: flex; justify-content: space-between; align-items: center; }

/* Shop Layout */
.shop-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2rem; align-items: start; }
.filter-sidebar { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 1.35rem; position: sticky; top: 132px; box-shadow: var(--shadow-sm); }
.filter-group { padding-bottom: 1.1rem; margin-bottom: 1.1rem; border-bottom: 1px solid var(--border-subtle); }
.filter-group:last-of-type { border-bottom: none; margin-bottom: 0.8rem; padding-bottom: 0; }
.filter-group__label { display: block; font-size: 0.76rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.6rem; color: var(--text-primary); }
.form-control { width: 100%; padding: 0.62rem 0.82rem; font-family: inherit; font-size: 0.875rem; color: var(--text-primary); background: var(--bg-primary); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.35rem; padding: 0.9rem 1.15rem; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); box-shadow: var(--shadow-xs); }

/* Product Details Page + Gallery + Related */
.breadcrumb { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.45rem; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--accent-color); text-decoration: underline; }
.pdp-hero { display: grid; grid-template-columns: 1.08fr 1fr; gap: 2.5rem; align-items: start; margin-bottom: 2.75rem; }
.pdp-gallery-main { border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--bg-surface); }
.pdp-gallery-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem; margin-top: 0.75rem; }
.pdp-thumb-btn { border: 2px solid var(--border-subtle); border-radius: var(--radius-sm); overflow: hidden; padding: 0; background: var(--bg-surface); transition: border-color var(--transition); }
.pdp-thumb-btn.is-active, .pdp-thumb-btn:hover { border-color: var(--accent-color); }
.pdp-buy-box { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 1.5rem; margin-block: 1.35rem; box-shadow: var(--shadow-sm); }
.pdp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem; margin-bottom: 2.5rem; }
.pdp-card { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 1.5rem; box-shadow: var(--shadow-xs); }
.pdp-card h2 { font-size: 1.08rem; margin-bottom: 0.85rem; }

/* Comparison Table */
.compare-table-wrap { overflow-x: auto; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare-table th, .compare-table td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--border-subtle); vertical-align: top; font-size: 0.9rem; }
.compare-table th { background: var(--bg-secondary); font-weight: 700; color: var(--text-primary); width: 220px; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: none; }

/* CTA Banner */
.cta-banner { background: var(--bg-cta); color: #ffffff; border-radius: var(--radius-lg); padding: 3.4rem 2.6rem; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; box-shadow: var(--shadow-lg); position: relative; overflow: hidden; }
.cta-banner h2 { color: #ffffff; margin-bottom: 0.5rem; }
.cta-banner p { color: #cbd5e1; margin-bottom: 0; max-width: 560px; }

/* Docs, About, Help, FAQ */
.doc-layout { display: grid; grid-template-columns: 270px 1fr; gap: 2.25rem; align-items: start; }
.doc-sidebar { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 1.25rem; position: sticky; top: 132px; box-shadow: var(--shadow-xs); }
.doc-sidebar__title { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); margin-bottom: 0.75rem; }
.doc-nav { list-style: none; margin: 0; padding: 0; }
.doc-nav li + li { margin-top: 0.3rem; }
.doc-nav a { display: block; padding: 0.45rem 0.75rem; border-radius: var(--radius-sm); font-size: 0.875rem; color: var(--text-secondary); }
.doc-nav a:hover, .doc-nav a.is-current { background: var(--accent-soft); color: var(--accent-color); font-weight: 700; }
.doc-content-card { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 2.35rem; box-shadow: var(--shadow-sm); }
.doc-content-card h2 { font-size: 1.35rem; margin-top: 2rem; margin-bottom: 0.75rem; padding-bottom: 0.45rem; border-bottom: 1px solid var(--border-subtle); }
.doc-content-card h2:first-child { margin-top: 0; }

.draft-notice { background: var(--status-amber-soft); border: 1px solid var(--status-amber-border); border-left: 4px solid var(--status-amber); border-radius: var(--radius-md); padding: 1rem 1.25rem; margin-bottom: 1.75rem; font-size: 0.875rem; color: var(--status-amber-text); }
.draft-notice strong { color: var(--status-amber-text); }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }

.faq-item { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-xs); }
.faq-item summary { padding: 1.1rem 1.3rem; font-weight: 700; font-size: 0.95rem; cursor: pointer; list-style: none; color: var(--text-primary); display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.2rem; color: var(--accent-color); font-weight: 700; }
.faq-item[open] summary::after { content: "−"; }
.faq-item__body { padding: 0.9rem 1.3rem 1.2rem; font-size: 0.9rem; color: var(--text-secondary); border-top: 1px solid var(--border-subtle); background: var(--bg-primary); }

.empty-state { grid-column: 1 / -1; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-lg); padding: 3rem 1.75rem; text-align: center; box-shadow: var(--shadow-sm); }

/* Loading Bar & Toast */
.route-loader { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--brand-gradient); z-index: 999; transition: width 180ms ease, opacity 180ms ease; opacity: 0; }
.route-loader.is-active { width: 85%; opacity: 1; }
.toast { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 900; background: #0f172a; color: #ffffff; padding: 0.85rem 1.25rem; border-radius: var(--radius-md); font-size: 0.875rem; font-weight: 600; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(12px); pointer-events: none; transition: all 220ms ease; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

/* Footer */
.site-footer { background: var(--bg-footer); color: #cbd5e1; padding-top: 4rem; padding-bottom: 2.25rem; margin-top: auto; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.footer-grid { display: grid; grid-template-columns: 1.85fr 1fr 1.1fr 1.15fr; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.10); }
.footer-heading { font-size: 0.74rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.09em; margin-bottom: 1rem; color: #ffffff; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li + li { margin-top: 0.5rem; }
.footer-link { font-size: 0.875rem; color: #94a3b8; }
.footer-link:hover { color: #ffffff; text-decoration: underline; }
.footer-bottom { padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; font-size: 0.8125rem; color: #64748b; }

@media (max-width: 1024px) {
  .hero__grid, .pdp-hero, .shop-layout, .doc-layout, .promo-strip { grid-template-columns: 1fr; }
  .promo-strip { margin-top: 1.5rem; }
  .filter-sidebar, .doc-sidebar { position: static; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .category-grid, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .container { padding-inline: 1rem; }
  .header-top { grid-template-columns: auto 1fr; gap: 0.65rem; padding-block: 0.75rem; }
  .brand-wordmark { font-size: 1.3rem; }
  .header-controls { justify-content: flex-end; gap: 0.35rem; flex-wrap: nowrap; }
  .pill-btn { padding: 0.4rem 0.62rem; font-size: 0.75rem; gap: 0.28rem; }
  .compare-count-dot { min-width: 16px; height: 16px; font-size: 0.65rem; }
  .search-wrapper { grid-column: 1 / -1; order: 3; width: 100%; max-width: 100%; }
  .search-form { width: 100%; }
  .search-form__input { padding: 0.62rem 0.85rem; font-size: 0.85rem; }
  .search-form__btn { padding: 0.62rem 1rem; }
  .search-form__select, .nav-meta { display: none; }
  .theme-popover { right: -48px; width: min(280px, calc(100vw - 2rem)); }
  .mobile-menu-btn { display: inline-flex; }
  .header-nav-bar { display: none; }
  .header-nav-bar.is-open { display: block; }
  .header-nav-bar__inner { flex-direction: column; align-items: flex-start; padding-block: 0.75rem; }
  .nav-list { flex-direction: column; align-items: flex-start; gap: 0.25rem; width: 100%; }
  .nav-list li { width: 100%; }
  .nav-link { width: 100%; padding-block: 0.55rem; }
  .product-grid, .category-grid, .grid-2, .grid-3, .grid-4, .pdp-grid, .footer-grid { grid-template-columns: 1fr; }
  .doc-content-card { padding: 1.35rem; }
  .cta-banner { padding: 2.25rem 1.35rem; }
  .compare-table-wrap { max-width: 100%; }
}
