/* ============================================================
   SWITCH LABS — GLOBAL STYLESHEET v2
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=DM+Sans:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* --- Variables -------------------------------------------- */
:root {
  /* Brand */
  --navy:          #0D1B35;
  --navy-mid:      #172B4D;
  --navy-soft:     #1E3A6E;
  --teal:          #22D3EE;
  --teal-dark:     #0BA5C9;
  --teal-light:    #E0F9FF;
  --teal-glow:     rgba(34,211,238,.14);
  --discord:       #5865F2;
  --discord-dark:  #4752C4;

  /* Neutrals */
  --white:         #FFFFFF;
  --bg:            #F4F7FB;
  --text:          #0D1B35;
  --text-muted:    #5A6E8E;
  --text-light:    #94A3B8;
  --border:        #DDE4EF;

  /* Status */
  --success:       #10B981;
  --success-bg:    #ECFDF5;
  --warn-bg:       #FFFBEB;
  --warn-border:   #D97706;
  --warn-text:     #92400E;
  --error:         #EF4444;
  --table-alt:     #F4F7FB;

  /* Shadows */
  --shadow-xs:     0 1px 3px rgba(13,27,53,.06);
  --shadow-sm:     0 2px 8px rgba(13,27,53,.08);
  --shadow-md:     0 8px 32px rgba(13,27,53,.12);
  --shadow-lg:     0 20px 60px rgba(13,27,53,.18);
  --shadow-teal:   0 8px 28px rgba(34,211,238,.28);
  --shadow-discord:0 8px 28px rgba(88,101,242,.35);

  /* Shape */
  --radius-sm:     6px;
  --radius:        12px;
  --radius-lg:     18px;
  --radius-xl:     28px;

  /* Motion */
  --transition:    0.2s cubic-bezier(.4,0,.2,1);

  /* Layout */
  --max-width:     1280px;

  /* Fonts */
  --font-head:     'DM Sans', 'Inter', sans-serif;
  --font-body:     'Inter', sans-serif;
  --font-mono:     'IBM Plex Mono', monospace;
}

/* --- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
input, select, textarea { font-family: var(--font-body); }
svg { fill: none; }

/* --- Typography -------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.75rem); letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); letter-spacing: -.01em; }
h4 { font-size: 1.05rem; }
p { color: var(--text-muted); line-height: 1.75; }
.mono { font-family: var(--font-mono); font-size: .875rem; }

/* --- Layout ------------------------------------------------ */
.container   { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section     { padding: 96px 0; }
.section--sm { padding: 56px 0; }
.grid-3      { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.grid-4      { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.text-center { text-align: center; }
.mt-8        { margin-top: 32px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .9375rem;
  letter-spacing: -.01em;
  transition: all var(--transition);
  white-space: nowrap;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--teal);
  color: var(--navy);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white);
  border-color: var(--teal-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-teal);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.35);
}
.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-light);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}
.btn-discord {
  background: var(--discord);
  color: var(--white);
  border-color: var(--discord);
}
.btn-discord:hover {
  background: var(--discord-dark);
  border-color: var(--discord-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-discord);
}
.btn-sm    { padding: 8px 18px; font-size: .875rem; border-radius: var(--radius-sm); }
.btn-lg    { padding: 16px 38px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.badge-teal    { background: var(--teal-light); color: #0C7A96; }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-warn    { background: var(--warn-bg); color: var(--warn-text); border: 1px solid #FCD34D; }
.badge-navy    { background: rgba(13,27,53,.08); color: var(--navy); }
.badge-grey    { background: #F1F5F9; color: #64748B; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group   { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-label   { font-size: .875rem; font-weight: 600; color: var(--navy); }
.form-control {
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .9375rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-glow);
}
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A6E8E' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}
textarea.form-control { resize: vertical; min-height: 120px; }

/* ============================================================
   DISCORD BANNER
   ============================================================ */
.discord-banner {
  background: var(--discord);
  text-align: center;
  padding: 10px 16px;
}
.discord-banner-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-size: .875rem;
  font-weight: 500;
}
.discord-banner-link:hover { color: rgba(255,255,255,.9); }
.discord-banner-cta {
  font-weight: 800;
  background: rgba(255,255,255,.2);
  padding: 3px 12px;
  border-radius: 100px;
  font-size: .75rem;
  letter-spacing: .05em;
  transition: background .15s;
}
.discord-banner-link:hover .discord-banner-cta { background: rgba(255,255,255,.3); }

/* RUO Bar */
.nav-ruo-bar {
  background: var(--navy);
  text-align: center;
  padding: 6px 24px;
  font-size: .68rem;
  font-weight: 600;
  color: rgba(255,255,255,.45);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav-ruo-bar span { color: var(--teal); }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: var(--shadow-md); }
.nav.scrolled .nav-inner { height: 72px; }
.nav.scrolled .nav-logo-img { height: 52px; }
.nav-inner {
  display: flex;
  align-items: center;
  height: 180px;
  transition: height 0.3s ease;
  gap: 16px;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-img {
  height: 160px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: height 0.3s ease;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.nav-cta-browse {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  color: var(--navy);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.nav-cta-browse:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-light);
}
.nav-cta-discord {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  background: var(--discord);
  color: var(--white);
  text-decoration: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-cta-discord:hover {
  background: var(--discord-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(88,101,242,.35);
}
.nav-mobile-toggle {
  display: none;
  padding: 8px;
  color: var(--navy);
  border-radius: var(--radius-sm);
  transition: background var(--transition);
}
.nav-mobile-toggle:hover { background: var(--bg); }

/* ============================================================
   MOBILE NAV
   ============================================================ */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
}
.mobile-nav-overlay {
  position: absolute;
  inset: 0;
  background: rgba(13,27,53,.65);
  backdrop-filter: blur(4px);
}
.mobile-nav-panel {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 300px;
  background: var(--white);
  overflow-y: auto;
  padding: 0 0 32px;
  transform: translateX(-100%);
  transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.mobile-nav.open { display: block; }
.mobile-nav.open .mobile-nav-panel { transform: translateX(0); }
.mobile-nav-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav-links {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-nav-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  border-radius: var(--radius);
  transition: all var(--transition);
  border: 1.5px solid var(--border);
  text-decoration: none;
}
.mobile-nav-links a.mobile-discord {
  background: var(--discord);
  color: var(--white);
  border-color: var(--discord);
}
.mobile-nav-links a:not(.mobile-discord):hover {
  color: var(--teal);
  border-color: var(--teal);
  background: var(--teal-light);
}
.mobile-nav-links a.mobile-discord:hover {
  background: var(--discord-dark);
  border-color: var(--discord-dark);
  color: var(--white);
}
.mobile-search { padding: 16px 24px; border-bottom: 1px solid var(--border); }
.mobile-search input { width: 100%; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  padding: 120px 0 140px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 80% at 0% 60%, rgba(34,211,238,.09) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 100% 20%, rgba(88,101,242,.07) 0%, transparent 50%),
    radial-gradient(ellipse 40% 50% at 55% 90%, rgba(34,211,238,.05) 0%, transparent 40%);
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(34,211,238,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34,211,238,.035) 1px, transparent 1px);
  background-size: 72px 72px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
}
.hero-content { max-width: 600px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(34,211,238,.1);
  border: 1px solid rgba(34,211,238,.22);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 24px;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 22px;
  line-height: 1.1;
  letter-spacing: -.03em;
}
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 40px;
  max-width: 480px;
  line-height: 1.75;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-graphic {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-molecule { opacity: .65; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { text-align: center; margin-bottom: 64px; }
.eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
.section-header h2 { margin-bottom: 14px; }
.section-header p { font-size: 1rem; color: var(--text-muted); max-width: 540px; margin: 0 auto; }

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.product-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xs);
}
.product-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(34,211,238,.4);
}
.product-card-img {
  background: linear-gradient(145deg, #0D1B35 0%, #172B4D 100%);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.product-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 25%, rgba(34,211,238,.1) 0%, transparent 55%);
}
/* Override SVG presentation attributes for dark bg */
.product-card-img svg { width: 64px; height: 64px; position: relative; z-index: 1; }
.product-card-img svg circle { stroke: #22D3EE; opacity: .7; }
.product-card-img svg line   { stroke: #22D3EE; opacity: .55; }
.product-card-img svg [stroke="#1B2A4A"] { stroke: #22D3EE; }
.product-card-img svg [stroke="#00B4D8"] { stroke: #22D3EE; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }

.product-card-badges {
  position: absolute;
  top: 10px; left: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}
.product-card-actions {
  position: absolute;
  top: 10px; right: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateX(6px);
  transition: all var(--transition);
  z-index: 2;
}
.product-card:hover .product-card-actions { opacity: 1; transform: translateX(0); }
.product-card-action-btn {
  width: 32px; height: 32px;
  background: rgba(255,255,255,.95);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--navy);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: none;
}
.product-card-action-btn:hover { background: var(--teal); color: var(--navy); }
.product-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
}
.product-card-name { font-size: .9rem; font-weight: 700; color: var(--navy); line-height: 1.3; }
.product-card-cas  { font-family: var(--font-mono); font-size: .67rem; color: var(--text-light); }
.product-card-sizes { display: flex; gap: 5px; flex-wrap: wrap; }
.size-pill {
  padding: 3px 9px;
  border-radius: 100px;
  font-size: .67rem;
  font-weight: 800;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: .02em;
}
.size-pill:hover, .size-pill.active {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-light);
}
.product-card-price {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-top: auto;
  font-family: var(--font-head);
  letter-spacing: -.02em;
}
.product-card-price .price-from {
  font-size: .67rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-right: 3px;
  letter-spacing: 0;
}
.product-card-footer { padding: 0 16px 16px; }
.product-card-footer .btn { font-size: .8rem; padding: 9px 12px; }
.low-stock {
  color: #B45309;
  font-size: .7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}
.low-stock::before {
  content: '';
  width: 6px; height: 6px;
  background: #F59E0B;
  border-radius: 50%;
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 0%,100%{ opacity:1 } 50%{ opacity:.3 } }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 0;
  position: relative;
  margin-top: 8px;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(16.66% + 24px);
  right: calc(16.66% + 24px);
  height: 1.5px;
  background: linear-gradient(90deg, var(--teal), var(--discord));
  opacity: .2;
  pointer-events: none;
}
.step-card {
  text-align: center;
  padding: 44px 28px 40px;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  margin: 0 10px;
  position: relative;
  transition: all var(--transition);
}
.step-card:first-child { margin-left: 0; }
.step-card:last-child  { margin-right: 0; }
.step-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: rgba(34,211,238,.3);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--teal);
  font-family: var(--font-head);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  margin: 0 auto 22px;
  border: 2px solid rgba(34,211,238,.25);
}
.step-icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.step-icon-teal    { background: var(--teal-light); color: var(--teal); }
.step-icon-discord { background: #EEEFFE; color: var(--discord); }
.step-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.step-card p  { font-size: .875rem; color: var(--text-muted); line-height: 1.65; }
.step-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 16px;
  font-size: .8rem;
  font-weight: 700;
  font-family: var(--font-head);
  transition: gap var(--transition);
  text-decoration: none;
}
.step-link:hover { gap: 9px; }
.step-link-teal    { color: var(--teal); }
.step-link-discord { color: var(--discord); }

/* ============================================================
   QUALITY / STAT CARDS
   ============================================================ */
.stat-card {
  padding: 28px 24px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
}
.stat-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  border-color: rgba(34,211,238,.25);
  transform: translateY(-2px);
}
.stat-value {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
  font-family: var(--font-head);
  letter-spacing: -.03em;
}
.stat-label {
  font-size: .82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ============================================================
   DISCORD CTA SECTION
   ============================================================ */
.discord-section {
  background: linear-gradient(135deg, #0D1B35 0%, #172B4D 50%, #1E1847 100%);
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.discord-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(34,211,238,.07) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 50%, rgba(88,101,242,.1) 0%, transparent 50%);
}
.discord-section-inner {
  position: relative;
  z-index: 1;
  text-align: center;
}
.discord-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px; height: 76px;
  background: rgba(88,101,242,.18);
  border: 1.5px solid rgba(88,101,242,.3);
  border-radius: 22px;
  margin-bottom: 28px;
}
.discord-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}
.discord-section p {
  color: rgba(255,255,255,.6);
  font-size: 1.05rem;
  max-width: 500px;
  margin: 0 auto 40px;
  line-height: 1.75;
}
.btn-discord-lg {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--discord);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  padding: 18px 40px;
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: -.01em;
}
.btn-discord-lg:hover {
  background: var(--discord-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(88,101,242,.45);
}

/* ============================================================
   COMPLIANCE BANNER
   ============================================================ */
.compliance-banner {
  background: var(--warn-bg);
  border-top: 2px solid #FCD34D;
  border-bottom: 2px solid #FCD34D;
  padding: 18px 0;
  text-align: center;
  color: var(--warn-text);
  font-size: .875rem;
  line-height: 1.6;
}
.compliance-banner strong { color: #92400E; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  padding: 72px 0 0;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer-logo-text {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: .08em;
}
.footer-ruo {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: .67rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  line-height: 1.75;
  max-width: 340px;
}
.footer-col h4 {
  color: rgba(255,255,255,.4);
  font-size: .67rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 800;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  transition: color var(--transition);
}
.footer-contact-item:hover { color: var(--teal); }
.footer-contact-item svg { color: var(--teal); flex-shrink: 0; }
.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.07);
}
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: .75rem; color: rgba(255,255,255,.25); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  font-size: .75rem;
  color: rgba(255,255,255,.3);
  transition: color var(--transition);
}
.footer-bottom-links a:hover { color: var(--teal); }

/* ============================================================
   PAGE HERO (shop / coa / inner pages)
   ============================================================ */
.page-hero {
  background: var(--navy);
  padding: 64px 0 56px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 85% 50%, rgba(34,211,238,.07) 0%, transparent 55%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.page-hero-inner .eyebrow { display: block; margin-bottom: 12px; }
.page-hero-inner h1 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
}
.page-hero-inner p { color: rgba(255,255,255,.55); font-size: 1rem; }

/* ============================================================
   SHOP PAGE
   ============================================================ */
.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding: 14px 20px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
}
.shop-toolbar-left { font-size: .875rem; color: var(--text-muted); }
.shop-toolbar-left strong { color: var(--navy); font-weight: 700; }
.shop-sort { display: flex; align-items: center; gap: 8px; }
.shop-sort label { font-size: .8rem; color: var(--text-muted); }

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}
.page-btn {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  font-size: .875rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
}
.page-btn:hover { border-color: var(--teal); color: var(--teal); background: var(--teal-light); }
.page-btn.active { background: var(--teal); color: var(--navy); border-color: var(--teal); font-weight: 800; }

/* ============================================================
   COA DATABASE
   ============================================================ */
.coa-stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.coa-stats-inner {
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
}
.coa-stat-item { display: flex; align-items: center; gap: 14px; }
.coa-stat-icon {
  width: 46px; height: 46px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.coa-stat-icon-teal    { background: var(--teal-light); color: var(--teal); }
.coa-stat-icon-success { background: var(--success-bg); color: var(--success); }
.coa-stat-icon-navy    { background: rgba(13,27,53,.07); color: var(--navy); }
.coa-stat-strong { display: block; font-size: 1.25rem; font-weight: 800; color: var(--navy); font-family: var(--font-head); }
.coa-stat-label  { font-size: .78rem; color: var(--text-muted); }
.coa-search-box {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 36px;
}
.coa-search-box h3 { font-size: 1rem; margin-bottom: 16px; color: var(--navy); }
.coa-search-grid {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 12px;
  align-items: end;
}
.coa-table { width: 100%; border-collapse: collapse; }
.coa-table thead th {
  background: var(--navy);
  color: rgba(255,255,255,.8);
  padding: 14px 16px;
  text-align: left;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.coa-table thead th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.coa-table thead th:last-child  { border-radius: 0 var(--radius-sm) 0 0; }
.coa-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.coa-table tbody tr:nth-child(even) { background: var(--bg); }
.coa-table tbody tr:hover { background: var(--teal-light); }
.coa-table td { padding: 14px 16px; font-size: .875rem; vertical-align: middle; }
.coa-table td a { color: var(--teal); font-weight: 600; }
.purity-value { font-family: var(--font-mono); font-weight: 600; color: var(--success); font-size: .85rem; }

/* ============================================================
   PRODUCT DETAIL PAGE
   ============================================================ */
.product-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.product-main-img {
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--navy) 0%, #172B4D 100%);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
  position: relative;
}
.product-main-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(34,211,238,.1) 0%, transparent 60%);
}
.product-thumbs { display: flex; gap: 8px; }
.product-thumb {
  width: 72px; height: 72px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  background: linear-gradient(145deg, var(--navy), #172B4D);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  transition: border-color var(--transition);
}
.product-thumb.active, .product-thumb:hover { border-color: var(--teal); }
.product-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.product-breadcrumb a { color: var(--text-muted); }
.product-breadcrumb a:hover { color: var(--teal); }
.product-title { margin-bottom: 6px; }
.product-cas { font-family: var(--font-mono); font-size: .875rem; color: var(--text-muted); margin-bottom: 16px; }
.product-purity {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--success-bg);
  border-radius: var(--radius);
  border: 1px solid #A7F3D0;
  margin-bottom: 20px;
}
.product-purity-text strong { display: block; font-size: .9rem; color: #065F46; }
.product-purity-text span   { font-size: .8rem; color: #047857; }
.product-size-label { font-weight: 700; font-size: .875rem; color: var(--navy); margin-bottom: 10px; }
.product-sizes { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.product-size-btn {
  padding: 10px 22px;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  background: var(--white);
}
.product-size-btn:hover, .product-size-btn.active {
  border-color: var(--teal);
  color: var(--teal);
  background: var(--teal-light);
}
.product-price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
  font-family: var(--font-head);
  letter-spacing: -.035em;
}

/* Tabs */
.tabs { margin-top: 56px; }
.tabs-nav {
  display: flex;
  border-bottom: 2px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.tabs-nav::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: 12px 24px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
  background: none;
}
.tab-btn:hover { color: var(--navy); }
.tab-btn.active { color: var(--teal); border-bottom-color: var(--teal); }
.tab-panel { padding: 32px 0; display: none; }
.tab-panel.active { display: block; }
.tech-table { width: 100%; border-collapse: collapse; }
.tech-table tr:nth-child(even) { background: var(--bg); }
.tech-table td {
  padding: 12px 16px;
  font-size: .9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.tech-table td:first-child { font-weight: 600; color: var(--navy); width: 200px; }
.tech-table td:last-child   { color: var(--text-muted); }

/* ============================================================
   TERMS / PRIVACY
   ============================================================ */
.legal-page { max-width: 800px; margin: 0 auto; }
.legal-page h1 { margin-bottom: 8px; }
.legal-meta { font-size: .875rem; color: var(--text-muted); margin-bottom: 48px; }
.legal-page h2 { font-size: 1.25rem; margin: 36px 0 16px; border-bottom: 2px solid var(--border); padding-bottom: 8px; }
.legal-page h3 { font-size: 1rem; margin: 24px 0 10px; }
.legal-page p { margin-bottom: 16px; }
.legal-page ul { padding-left: 20px; list-style: disc; margin-bottom: 16px; }
.legal-page ul li { color: var(--text-muted); margin-bottom: 6px; font-size: .9375rem; line-height: 1.7; }

/* ============================================================
   UTILITIES
   ============================================================ */
.sr-only { position: absolute; width:1px; height:1px; overflow:hidden; clip:rect(0,0,0,0); }
.divider  { height: 1px; background: var(--border); margin: 32px 0; }
.fade-in  { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

.toast {
  position: fixed;
  bottom: 24px; right: 24px;
  background: var(--navy);
  color: var(--white);
  padding: 14px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  font-size: .9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 9999;
  transform: translateY(80px);
  opacity: 0;
  transition: all .3s ease;
  pointer-events: none;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast svg  { color: var(--teal); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-graphic { display: none; }
  .hero-content { max-width: 100%; }
}

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .steps-grid::before { display: none; }
  .step-card { margin: 0; text-align: left; display: flex; flex-direction: column; align-items: flex-start; }
  .step-num { margin: 0 0 18px 0; }
  .step-icon { margin: 0 0 16px 0; }
  .product-page-grid { grid-template-columns: 1fr; gap: 40px; }
  .coa-search-grid { grid-template-columns: 1fr 1fr; }
  .coa-search-grid button { grid-column: span 2; }
}

@media (max-width: 768px) {
  .nav-cta-browse, .nav-cta-discord { display: none; }
  .nav-mobile-toggle { display: flex; }
  .grid-3 { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .hero { padding: 80px 0 96px; }
  .hero h1 { font-size: clamp(1.9rem, 7vw, 2.75rem); }
  .footer-grid { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
  .coa-stats-inner { gap: 28px; }
  .coa-search-grid { grid-template-columns: 1fr; }
  .coa-search-grid button { grid-column: auto; }
}

@media (max-width: 540px) {
  .container { padding: 0 16px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .grid-4 { grid-template-columns: repeat(2,1fr); gap: 12px; }
  .step-card { padding: 28px 20px 24px; }
  .discord-section { padding: 64px 0; }
}

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

/* Print */
@media print {
  .nav, .footer, .hero, .page-hero, .compliance-banner { display: none; }
  body { color: #000; }
}
