/* ════════════════════════════════════════════════════════
   ARDEN LABS — MAIN LAYOUT STYLES
   Page-specific layout rules not in components.css
   ════════════════════════════════════════════════════════ */

/* ══════════════════
   HERO SECTION
══════════════════ */
.hero-section {
  position: relative;
  padding: var(--space-4xl) 0;
  padding-top: calc(var(--space-4xl) + 30px);
  overflow: hidden;
  border-bottom: 1px solid var(--border-dim);
  min-height: 88vh;
  display: flex;
  align-items: center;
}

.hero-bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.hero-orb-1 {
  width: 750px;
  height: 750px;
  background: radial-gradient(circle, rgba(0,212,232,0.1) 0%, transparent 70%);
  top: -240px;
  right: -100px;
}

.hero-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,230,118,0.05) 0%, transparent 70%);
  bottom: -80px;
  left: 5%;
}

.hero-orb-3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(0,212,232,0.05) 0%, transparent 70%);
  top: 40%;
  left: 38%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.hero-headline em {
  font-style: italic;
  color: var(--teal);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,232,0.06);
  border: 1px solid rgba(0,212,232,0.15);
  border-radius: 100px;
  padding: 5px 14px 5px 8px;
  margin-bottom: var(--space-xl);
}

.hero-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px var(--teal); }
  50% { opacity: 0.6; box-shadow: 0 0 4px var(--teal); }
}

.hero-eyebrow-text {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  margin-top: var(--space-2xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border-dim);
  flex-wrap: wrap;
}

.hero-stat-num {
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--text-100);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--text-500);
  text-transform: uppercase;
}

/* ══════════════════════════════════════════════════════
   HERO — PREMIUM UPGRADE STYLES
══════════════════════════════════════════════════════ */

/* Scan line animation across hero */
.hero-scan-line {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,212,232,0.5) 50%, transparent 100%);
  animation: scan-sweep 6s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}
@keyframes scan-sweep {
  0%   { top: 0%;   opacity: 0; }
  5%   { opacity: 1; }
  95%  { opacity: 1; }
  100% { top: 100%; opacity: 0; }
}

/* Logo lockup in hero */
.hero-brand-lockup {
  margin-bottom: var(--space-lg);
}
.hero-brand-logo {
  display: block;
  height: 64px;
  width: auto;
  max-width: 380px;
  object-fit: contain;
  filter: brightness(1.1) drop-shadow(0 0 24px rgba(0,212,232,0.25));
}

/* Sub-headline under logo */
.hero-subheadline {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--text-300);
  text-transform: uppercase;
  margin: 0 0 var(--space-xl);
  padding-left: 2px;
}

/* Feature pills row */
.hero-feature-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: var(--space-xl);
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(0,212,232,0.07);
  border: 1px solid rgba(0,212,232,0.2);
  border-radius: 100px;
  padding: 6px 14px;
}
.hero-pill-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 6px var(--teal);
  flex-shrink: 0;
}

/* Stats dividers */
.hero-stat {
  text-align: left;
}
.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-dim);
  flex-shrink: 0;
}

/* Mobile hero adjustments */
@media (max-width: 768px) {
  .hero-brand-logo {
    height: 44px;
    max-width: 240px;
  }
  .hero-subheadline {
    font-size: 0.72rem;
  }
  .hero-stat-divider { display: none; }
  .hero-scan-line { display: none; }
}

/* ══════════════════
   TRUST BAR
══════════════════ */
.trust-bar-section {
  background: var(--depth-1);
  border-bottom: 1px solid var(--border-dim);
  padding: var(--space-md) 0;
  overflow: hidden;
}

.trust-bar-inner {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0 var(--content-pad);
}

.trust-bar-inner::-webkit-scrollbar { display: none; }

.trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 5px var(--space-xl);
  border-right: 1px solid var(--border-dim);
}

.trust-item:first-child { padding-left: 0; }
.trust-item:last-child { border-right: none; }

.trust-icon { font-size: 0.85rem; opacity: 0.75; }

.trust-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-400);
}

/* ══════════════════
   CATEGORY GRID
══════════════════ */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: var(--space-md);
}

.category-card {
  display: flex;
  flex-direction: column;
  background: var(--depth-3);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-xl);
  padding: var(--space-xl);
  transition: border-color var(--t-mid) var(--ease), transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 120px; height: 120px;
  background: radial-gradient(circle at top right, rgba(0,212,232,0.07), transparent 70%);
  pointer-events: none;
  transition: opacity var(--t-mid);
}

.category-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,212,232,0.2), transparent);
  opacity: 0;
  transition: opacity var(--t-mid);
}

.category-card:hover {
  border-color: rgba(0,212,232,0.28);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.category-card:hover::after { opacity: 1; }

.cat-icon-box {
  width: 46px;
  height: 46px;
  background: rgba(0,212,232,0.07);
  border: 1px solid rgba(0,212,232,0.15);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--teal);
  margin-bottom: var(--space-md);
  transition: background var(--t-fast), border-color var(--t-fast);
}

.category-card:hover .cat-icon-box {
  background: rgba(0,212,232,0.12);
  border-color: rgba(0,212,232,0.3);
}

.category-card-name {
  font-family: var(--font-ui);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.category-card-desc {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-400);
  line-height: 1.7;
  flex: 1;
}

.category-card-footer {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-dim);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-card-count {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.category-card-arrow {
  color: var(--teal);
  font-size: 0.85rem;
  transition: transform var(--t-fast) var(--ease);
}

.category-card:hover .category-card-arrow {
  transform: translateX(4px);
}

/* ══════════════════
   PRODUCTS GRID
══════════════════ */
.products-grid {
  display: grid;
grid-template-columns: repeat(auto-fill, minmax(292px, 1fr));}

/* ══════════════════
   CATALOG LAYOUT
══════════════════ */
.catalog-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: var(--space-2xl);
  align-items: start;
  padding-bottom: var(--space-4xl);
}

.catalog-sidebar {
  position: sticky;
  top: calc(var(--nav-h) + 32px + var(--space-xl));
  background: var(--depth-3);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-xl);
  overflow: hidden;
}

/* Teal top-bar accent on the sidebar card */
.catalog-sidebar::before {
  content: '';
  display: block;
  height: 2px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--teal-dim) 60%, transparent 100%);
  opacity: 0.5;
}

.sidebar-section {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--border-dim);
}

.sidebar-section:last-child {
  border-bottom: none;
}

.sidebar-section-title {
  font-family: var(--font-mono);
  font-size: 0.52rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-500);
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.71rem;
  color: var(--text-400);
  transition: color var(--t-fast), background var(--t-fast), padding-left var(--t-fast);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  border-radius: var(--r-md);
  margin-bottom: 1px;
}

.filter-item:hover {
  color: var(--text-200);
  background: rgba(0,212,232,0.05);
  padding-left: 12px;
}

.filter-item.filter-active {
  color: var(--teal);
  background: rgba(0,212,232,0.07);
  padding-left: 12px;
}

.filter-check {
  width: 14px;
  height: 14px;
  border: 1px solid var(--border-mid);
  border-radius: 3px;
  background: var(--depth-4);
  flex-shrink: 0;
  position: relative;
  transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}

.filter-item:hover .filter-check {
  border-color: rgba(0,212,232,0.4);
}

.filter-active .filter-check {
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 0 6px rgba(0,212,232,0.35);
}

.filter-active .filter-check::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.52rem;
  color: var(--void);
  font-weight: 700;
}

.filter-count {
  margin-left: auto;
  font-size: 0.56rem;
  font-weight: 600;
  color: var(--text-400);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 1px 7px;
  border-radius: 10px;
  flex-shrink: 0;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}

.filter-active .filter-count {
  background: rgba(0,212,232,0.1);
  border-color: rgba(0,212,232,0.2);
  color: var(--teal);
}

.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  gap: var(--space-md);
  flex-wrap: wrap;
  padding: 10px var(--space-md) 10px var(--space-lg);
  background: var(--depth-3);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-lg);
}

.catalog-count-text {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  color: var(--text-400);
  letter-spacing: 0.02em;
}

@media (max-width: 860px) {
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .catalog-sidebar {
    position: static;
    display: flex;
    flex-direction: column;
    background: var(--depth-3);
    border: 1px solid var(--border-dim);
    border-radius: var(--r-lg);
  }
  .catalog-sidebar::before { display: none; }
  .sidebar-section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    border-bottom: 1px solid var(--border-dim);
  }
  .sidebar-section:last-child { border-bottom: none; }
  .sidebar-section-title {
    width: 100%;
    margin-bottom: 4px;
    padding-bottom: 0;
    border-bottom: none;
  }
  .filter-item {
    flex: 0 0 auto;
    width: auto;
    padding: 4px 10px;
    font-size: 0.67rem;
    border: 1px solid var(--border-dim);
    background: var(--depth-4);
    border-radius: 100px;
  }
  .filter-item:hover, .filter-item.filter-active {
    padding-left: 10px;
  }
  .filter-check { display: none; }
  .filter-count { display: none; }
}

/* ══════════════════
   PRODUCT DETAIL
══════════════════ */
.product-detail-grid {
  display: grid;
  grid-template-columns: 340px 1fr 320px;
  gap: var(--space-2xl);
  align-items: start;
  margin-bottom: var(--space-3xl);
}

.product-image-col { position: sticky; top: calc(var(--nav-h) + 50px); }

.product-main-img {
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--depth-3) 0%, var(--depth-2) 100%);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  overflow: hidden;
  position: relative;
}

.product-img-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.img-thumb-placeholder {
  aspect-ratio: 1;
  background: var(--depth-3);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--text-500);
  cursor: pointer;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.img-thumb-placeholder:hover {
  border-color: var(--border-lit);
  background: var(--depth-4);
}

.spec-summary {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border-dim);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--depth-3);
}

.spec-row-inline {
  display: flex;
  align-items: center;
  padding: 10px var(--space-lg);
  border-bottom: 1px solid var(--border-dim);
  gap: var(--space-xl);
}

.spec-row-inline:last-child { border-bottom: none; }

.spec-key {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-500);
  min-width: 80px;
  flex-shrink: 0;
}

.spec-val {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-200);
}

.purchase-panel {
  background: var(--depth-3);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-xl);
  overflow: hidden;
  position: sticky;
  top: calc(var(--nav-h) + 50px);
  box-shadow: var(--shadow-md), 0 0 0 1px rgba(255,255,255,0.03);
}

.purchase-panel-head {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--border-dim);
  background: var(--depth-4);
}

.qty-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin-top: var(--space-sm);
}

.qty-option {
  padding: 10px var(--space-md);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-md);
  cursor: pointer;
  text-align: center;
  transition: border-color var(--t-fast), background var(--t-fast), box-shadow var(--t-fast);
  background: var(--depth-3);
}

.qty-option:hover { border-color: var(--border-lit); background: var(--depth-2); }
.qty-option.selected {
  border-color: rgba(0,212,232,0.5);
  background: rgba(0,212,232,0.07);
  box-shadow: 0 0 0 1px rgba(0,212,232,0.12);
}

@media (max-width: 1180px) {
  .product-detail-grid {
    grid-template-columns: 300px 1fr;
  }
  .product-purchase-col {
    grid-column: 1 / -1;
  }
  .purchase-panel {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .product-detail-grid { grid-template-columns: 1fr; }
  .product-purchase-col { grid-column: auto; }
  .purchase-panel { display: block; }
  .product-image-col { position: static; }
}

/* ══════════════════
   EMPTY CATALOG
══════════════════ */
.empty-catalog-notice {
  grid-column: 1 / -1;
  text-align: center;
  padding: 100px var(--space-xl);
  background: var(--depth-3);
  border: 1px dashed var(--border-mid);
  border-radius: var(--r-xl);
  color: var(--text-400);
}

/* ══════════════════
   CART ITEMS
══════════════════ */
.cart-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-md) 0;
}

/* ══════════════════
   ACCOUNT TABS
══════════════════ */
.account-tab-content { padding: 0; }

/* ══════════════════
   CHECKOUT
══════════════════ */
@media (max-width: 900px) {
  #main-content > div > div[style*="grid-template-columns"] {
    display: flex;
    flex-direction: column;
  }
}

/* ══════════════════
   RESPONSIVE CLEANUP
══════════════════ */
@media (max-width: 768px) {
  .hero-section {
    min-height: 100svh;
    min-height: 100vh;
    padding: var(--space-3xl) 0 var(--space-4xl);
    align-items: flex-start;
    padding-top: calc(var(--nav-h) + var(--space-3xl));
  }

  .hero-stats {
    gap: var(--space-xl);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .trust-bar-inner {
    gap: 0;
  }

  h1, .h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
  h2, .h2 { font-size: clamp(1.55rem, 5vw, 2.1rem); }

  /* Stack 2-col layouts on mobile */
  div[style*="grid-template-columns: 1fr 1fr"],
  div[style*="grid-template-columns:1fr 1fr"] {
    display: flex !important;
    flex-direction: column !important;
  }

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

  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .catalog-toolbar > div:last-child {
    flex-direction: column;
    align-items: stretch;
  }

  .catalog-toolbar .form-input,
  .catalog-toolbar .form-select {
    width: 100% !important;
  }
}

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

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

  .qty-options {
    grid-template-columns: 1fr 1fr;
  }

  /* Compact hero stats on small phones */
  .hero-stats {
    gap: var(--space-lg);
  }

  .hero-stat-num { font-size: 1.4rem; }
}

/* ══════════════════
   DOC ITEMS
══════════════════ */
.doc-upload-item {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-lg);
  margin-bottom: 8px;
  background: var(--depth-3);
  transition: border-color var(--t-fast);
}

.doc-upload-item:hover { border-color: var(--border-mid); }

.doc-icon-box {
  width: 38px; height: 38px;
  background: var(--depth-4);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.doc-info { flex: 1; min-width: 0; }

.doc-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-100);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-meta {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-500);
}

/* ══════════════════
   PRINT STYLES
══════════════════ */
@media print {
  .nav,
  .nav-disclaimer-bar,
  .footer,
  .mobile-nav,
  #cart-panel,
  #search-overlay,
  .toast-container,
  .grid-atmosphere {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  #main-content {
    padding-top: 0 !important;
  }
}

/* ══════════════════
   PAGE HEADER (consistent across all pages)
══════════════════ */
.page-header {
  background: var(--depth-1);
  border-bottom: 1px solid var(--border-dim);
  padding: var(--space-2xl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 400px; height: 200px;
  background: radial-gradient(circle at top right, rgba(0,212,232,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.page-header-inner {
  position: relative;
  z-index: 1;
}

/* ══════════════════
   SECTION HEADERS
══════════════════ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: var(--space-2xl);
  flex-wrap: wrap;
  gap: var(--space-md);
}

.section-header-left { flex: 1; }

/* ══════════════════
   EMPTY STATES
══════════════════ */
.empty-state {
  text-align: center;
  padding: 80px var(--space-xl);
  background: var(--depth-3);
  border: 1px dashed rgba(255,255,255,0.08);
  border-radius: var(--r-xl);
}

.empty-state-icon {
  font-size: 2.8rem;
  opacity: 0.12;
  margin-bottom: var(--space-lg);
  display: block;
}

.empty-state-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-200);
  margin-bottom: var(--space-sm);
}

.empty-state-desc {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-400);
  line-height: 1.75;
  max-width: 380px;
  margin: 0 auto var(--space-xl);
}

/* ══════════════════
   COMING SOON / LAUNCH STATE
══════════════════ */
.launch-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 100px var(--space-xl) 80px;
  background: var(--depth-3);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-xl);
  position: relative;
  overflow: hidden;
}

.launch-state::before {
  content: '';
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(0,212,232,0.06) 0%, transparent 65%);
  pointer-events: none;
}

.launch-state-hex {
  font-size: 3.2rem;
  opacity: 0.1;
  margin-bottom: var(--space-xl);
  filter: drop-shadow(0 0 20px rgba(0,212,232,0.3));
  position: relative;
  z-index: 1;
}

.launch-state h3 {
  position: relative;
  z-index: 1;
  margin-bottom: var(--space-sm);
  font-size: 1.1rem;
  color: var(--text-100);
}

.launch-state p {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  color: var(--text-400);
  line-height: 1.8;
  max-width: 360px;
  margin: 0 auto var(--space-2xl);
  position: relative;
  z-index: 1;
}

/* ══════════════════
   STATS ROW (reusable metric display)
══════════════════ */
.stats-row {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  flex-wrap: wrap;
}

.stat-item { display: flex; flex-direction: column; gap: 4px; }

.stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--text-100);
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-500);
}

/* ══════════════════
   DOC TYPE BADGE
══════════════════ */
.doc-type-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: var(--r-md);
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.05em;
  font-weight: 600;
  flex-shrink: 0;
  background: rgba(0,0,0,0.2);
}

/* ══════════════════
   COMPLIANCE BANNER
══════════════════ */
.compliance-banner {
  padding: var(--space-md) var(--space-lg);
  background: rgba(255,171,0,0.04);
  border: 1px solid rgba(255,171,0,0.14);
  border-radius: var(--r-md);
}

.compliance-banner-label {
  font-family: var(--font-mono);
  font-size: 0.57rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 5px;
}

.compliance-banner-text {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-500);
  line-height: 1.65;
}

/* ══════════════════
   PURITY DISPLAY (in product detail)
══════════════════ */
.purity-display-lg {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  background: rgba(0,230,118,0.04);
  border: 1px solid rgba(0,230,118,0.12);
  border-radius: var(--r-md);
}

.purity-display-lg .bar-track {
  flex: 1;
}

.purity-display-lg .bar-label {
  font-family: var(--font-mono);
  font-size: 0.57rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-500);
  margin-bottom: 7px;
}

.purity-display-lg .bar-fill-track {
  height: 4px;
  background: var(--depth-1);
  border-radius: 2px;
  overflow: hidden;
}

.purity-display-lg .bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-dim), var(--green));
  border-radius: 2px;
}

.purity-display-lg .purity-num {
  font-family: var(--font-head);
  font-size: 1.9rem;
  color: var(--green);
  line-height: 1;
  flex-shrink: 0;
}

/* ══════════════════
   ACCOUNT SIDEBAR NAV
══════════════════ */
.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px var(--space-md);
  border: none;
  background: none;
  color: var(--text-400);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--r-md);
  transition: color var(--t-fast), background var(--t-fast);
  text-align: left;
  letter-spacing: 0;
}

.admin-nav-item:hover {
  color: var(--text-100);
  background: rgba(255,255,255,0.05);
}

.admin-nav-item.active {
  color: var(--teal);
  background: rgba(0,212,232,0.07);
}

.admin-nav-item .icon {
  font-size: 0.95rem;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

/* ══════════════════
   CHECKOUT STEPS
══════════════════ */
.checkout-step-num {
  width: 28px; height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

.checkout-step-num.teal {
  background: rgba(0,212,232,0.1);
  border: 1px solid rgba(0,212,232,0.3);
  color: var(--teal);
}

.checkout-step-num.amber {
  background: rgba(255,171,0,0.1);
  border: 1px solid rgba(255,171,0,0.3);
  color: var(--amber);
}

/* ══════════════════
   ADMIN IMPROVEMENTS
══════════════════ */
.admin-metric-card {
  background: var(--depth-3);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-lg);
  padding: var(--space-xl);
  transition: border-color var(--t-fast);
}

.admin-metric-card:hover { border-color: var(--border-mid); }

.admin-metric-value {
  font-family: var(--font-head);
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.admin-metric-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-400);
}

.admin-metric-sub {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-500);
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--border-dim);
}

/* ══════════════════
   FOOTER IMPROVEMENTS
══════════════════ */
.footer-ruo-bar {
  background: rgba(255,171,0,0.04);
  border: 1px solid rgba(255,171,0,0.1);
  border-radius: var(--r-md);
  padding: var(--space-md) var(--space-lg);
  margin-bottom: var(--space-xl);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255,171,0,0.6);
  line-height: 1.65;
  letter-spacing: 0.02em;
}

/* ══════════════════
   MOBILE FORM IMPROVEMENTS
══════════════════ */
@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }

  .purchase-panel .qty-options {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Checkout layout on mobile — scoped to checkout's 380px column signature */
  #main-content > div > div[style*="380px"] {
    display: flex !important;
    flex-direction: column !important;
  }

  /* Contact page two-column → single column on mobile */
  #main-content > div > .container > div[style*="1.4fr"] {
    display: flex !important;
    flex-direction: column !important;
    height: auto !important;
    overflow: visible !important;
  }

  .panel-body { padding: var(--space-lg); }
  .panel-footer { padding: var(--space-lg); }
}

/* ══════════════════
   PERFORMANCE - Entrance animations
══════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-up {
  animation: fadeUp 0.4s var(--ease-out) both;
}

.animate-fade-up-delay-1 { animation-delay: 0.08s; }
.animate-fade-up-delay-2 { animation-delay: 0.16s; }
.animate-fade-up-delay-3 { animation-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .animate-fade-up, [class*="animate-"] {
    animation: none !important;
  }
  .hero-eyebrow-dot {
    animation: none !important;
  }
}

/* ══════════════════
   HOVER LIFT UTILITY
══════════════════ */
.hover-lift {
  transition: transform var(--t-mid) var(--ease), box-shadow var(--t-mid) var(--ease);
}

.hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* ══════════════════════════════════════
   CATALOG PAGE HEADER
   Full-bleed premium header with stats
══════════════════════════════════════ */
.catalog-page-header {
  background: var(--depth-1);
  border-bottom: 1px solid var(--border-dim);
  padding: var(--space-2xl) 0 var(--space-xl);
  position: relative;
  overflow: hidden;
}

/* Ambient orb — top right */
.catalog-header-bg-orb {
  position: absolute;
  top: -120px;
  right: -80px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,212,232,0.07) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
  z-index: 0;
}

/* Subtle diagonal scan-line texture */
.catalog-page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent 0px,
    transparent 28px,
    rgba(255,255,255,0.012) 28px,
    rgba(255,255,255,0.012) 29px
  );
  pointer-events: none;
  z-index: 0;
}

/* Bottom gradient fade to body bg */
.catalog-page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--border-mid) 30%, var(--teal-dim) 50%, var(--border-mid) 70%, transparent 100%);
  opacity: 0.4;
}

.catalog-page-header .container {
  position: relative;
  z-index: 1;
}

.catalog-breadcrumb {
  margin-bottom: var(--space-lg);
}

/* Two-column header layout: text left, stats right */
.catalog-header-body {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-2xl);
  margin-bottom: var(--space-lg);
  flex-wrap: wrap;
}

.catalog-header-left {
  flex: 1;
  min-width: 260px;
}

/* Stats cluster */
.catalog-header-meta {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-xl);
  padding: var(--space-md) var(--space-lg);
  flex-shrink: 0;
  backdrop-filter: blur(8px);
}

.catalog-meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 var(--space-lg);
  gap: 4px;
}

.catalog-meta-num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  color: var(--text-100);
  line-height: 1;
  letter-spacing: -0.02em;
}

.catalog-meta-label {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-500);
  white-space: nowrap;
}

.catalog-meta-divider {
  width: 1px;
  height: 32px;
  background: var(--border-dim);
  flex-shrink: 0;
}

/* Inline RUO notice at bottom of header */
.catalog-ruo-inline {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,171,0,0.04);
  border: 1px solid rgba(255,171,0,0.1);
  border-radius: var(--r-md);
  padding: 7px 14px;
  width: fit-content;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  color: rgba(255,171,0,0.65);
  line-height: 1;
}

.catalog-ruo-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,171,0,0.6);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(255,171,0,0.4);
  animation: pulse-dot 2.8s ease-in-out infinite;
}

/* Category icon in sidebar filter items */
.sidebar-cat-icon {
  font-size: 0.75rem;
  opacity: 0.7;
  line-height: 1;
  flex-shrink: 0;
  margin-right: -2px;
}

.filter-item.filter-active .sidebar-cat-icon {
  opacity: 1;
}

/* ── Responsive adjustments ─────────────────── */
@media (max-width: 860px) {
  .catalog-header-body {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xl);
  }

  .catalog-header-meta {
    width: 100%;
    justify-content: space-around;
    padding: var(--space-md);
  }

  .catalog-meta-item {
    padding: 0 var(--space-md);
  }

  .catalog-meta-num {
    font-size: 1.3rem;
  }
}

@media (max-width: 540px) {
  .catalog-header-meta {
    display: none; /* too cramped on small phones */
  }
}

/* Mobile catalog toolbar stacking */
@media (max-width: 640px) {
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .catalog-toolbar > div:last-child {
    flex-direction: column;
  }

  .catalog-toolbar .form-input,
  .catalog-toolbar .form-select {
    width: 100% !important;
  }
}

/* ══════════════════════════════════════════════════════
   HOMEPAGE — HERO GRID OVERLAY
══════════════════════════════════════════════════════ */
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,232,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,232,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 70% at 65% 40%, black 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 65% 40%, black 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* ══════════════════════════════════════════════════════
   HOMEPAGE — FEATURED PRODUCTS SECTION
══════════════════════════════════════════════════════ */
.home-featured-section {
  background: var(--depth-1);
  border-top: 1px solid var(--border-dim);
  border-bottom: 1px solid var(--border-dim);
}

/* 4-column grid for featured product cards */
.home-featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

/* ── Featured compound card ── */
.featured-compound-card {
  background: var(--depth-3);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-card);
  transition:
    border-color var(--t-mid) var(--ease),
    transform    var(--t-mid) var(--ease),
    box-shadow   var(--t-mid) var(--ease);
}

/* top-edge teal line — slides in on hover */
.featured-compound-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--teal) 40%, var(--teal-dim) 70%, transparent);
  opacity: 0;
  transition: opacity var(--t-mid) var(--ease);
  z-index: 3;
}

.featured-compound-card:hover {
  border-color: rgba(0,212,232,0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.featured-compound-card:hover::before { opacity: 1; }

/* Image / visual strip */
.fcc-image {
  aspect-ratio: 16/9;
  position: relative;
  overflow: hidden;
  background: var(--depth-2);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid var(--border-dim);
}
.fcc-product-img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
  display: block;
}
/* Thumbnail alias used by dynamic card rendering */
.fcc-thumbnail {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
  display: block;
}

/* Ambient layer */
.fcc-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 75% 25%, rgba(0,212,232,0.1) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 15% 80%, rgba(0,230,118,0.04) 0%, transparent 50%),
    linear-gradient(150deg, var(--depth-3) 0%, var(--depth-1) 100%);
  pointer-events: none;
}

/* Dot-grid texture */
.fcc-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.055) 1px, transparent 1px);
  background-size: 16px 16px;
  background-position: 8px 8px;
  mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 85% 85% at 50% 50%, black 30%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}

.fcc-image-hex {
  font-size: 2.6rem;
  color: var(--teal);
  opacity: 0.08;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 0 18px rgba(0,212,232,0.45));
  user-select: none;
  line-height: 1;
}

.fcc-badge {
  position: absolute;
  top: 9px; left: 9px;
  z-index: 3;
  font-size: 0.52rem !important;
}

.fcc-badge-right {
  left: auto;
  right: 9px;
}

.fcc-doc-chips {
  position: absolute;
  bottom: 8px; right: 8px;
  display: flex;
  gap: 3px;
  z-index: 2;
}

.fcc-doc-chip {
  font-family: var(--font-mono);
  font-size: 0.45rem;
  letter-spacing: 0.06em;
  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(255,255,255,0.09);
  color: var(--text-300);
  padding: 2px 5px;
  border-radius: 3px;
}

/* Card body */
.fcc-body {
  padding: 14px var(--space-md) 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fcc-cat {
  font-family: var(--font-mono);
  font-size: 0.53rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  opacity: 0.85;
}

.fcc-name {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-100);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.fcc-meta {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.fcc-sku {
  font-family: var(--font-mono);
  font-size: 0.56rem;
  color: var(--text-500);
  letter-spacing: 0.04em;
}

.fcc-cas {
  font-family: var(--font-mono);
  font-size: 0.54rem;
  color: var(--text-500);
}

.fcc-purity {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 3px;
}

.fcc-purity-track {
  flex: 1;
  height: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 1px;
  overflow: hidden;
}

.fcc-purity-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--green-dim), var(--green));
  border-radius: 1px;
  transition: width 0.8s var(--ease-out);
}

.fcc-purity-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--green);
  white-space: nowrap;
  letter-spacing: 0.03em;
}

/* Card footer */
.fcc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px var(--space-md) 12px;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.16);
  gap: 6px;
}

.fcc-price {
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-100);
}

.fcc-unit {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  color: var(--text-400);
  font-weight: 400;
}

.fcc-on-request {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--text-500);
  font-weight: 400;
}

/* "See all" strip under the featured grid */
.home-featured-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  background: var(--depth-3);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-lg);
}

/* ══════════════════════════════════════════════════════
   HOMEPAGE — CATEGORIES SECTION
══════════════════════════════════════════════════════ */
.home-cat-section {
  background: var(--depth-2);
  border-bottom: 1px solid var(--border-dim);
}

/* ══════════════════════════════════════════════════════
   HOMEPAGE — DOCUMENTATION SECTION
══════════════════════════════════════════════════════ */
.home-docs-section {
  background: var(--void);
  border-bottom: 1px solid var(--border-dim);
  position: relative;
  overflow: hidden;
}

/* Faint teal radial at the right edge */
.home-docs-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,212,232,0.05) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}

.home-docs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

.home-docs-copy { max-width: 440px; }
.home-docs-cards { display: flex; flex-direction: column; gap: 10px; }

.doc-row-card {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: 14px var(--space-lg);
  background: var(--depth-3);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-lg);
  transition:
    border-color var(--t-fast) var(--ease),
    transform    var(--t-mid) var(--ease),
    box-shadow   var(--t-mid) var(--ease);
  cursor: default;
}

.doc-row-card:hover {
  border-color: var(--border-lit);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.doc-row-code {
  width: 40px; height: 40px;
  border: 1px solid currentColor;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  font-weight: 600;
  flex-shrink: 0;
  background: rgba(0,0,0,0.3);
  transition: background var(--t-fast), box-shadow var(--t-fast);
}

.doc-row-card:hover .doc-row-code {
  background: rgba(0,0,0,0.5);
  box-shadow: 0 0 10px currentColor;
  opacity: 0.7;
}

.doc-row-body { flex: 1; min-width: 0; }

.doc-row-title {
  font-family: var(--font-ui);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: 3px;
}

.doc-row-desc {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-400);
  line-height: 1.55;
}

.doc-row-arrow {
  font-size: 0.8rem;
  opacity: 0;
  flex-shrink: 0;
  transition: opacity var(--t-fast), transform var(--t-fast);
}

.doc-row-card:hover .doc-row-arrow {
  opacity: 0.7;
  transform: translateX(3px);
}

/* ══════════════════════════════════════════════════════
   HOMEPAGE — TRUST PILLARS SECTION
══════════════════════════════════════════════════════ */
.home-trust-section {
  background: var(--depth-1);
  border-bottom: 1px solid var(--border-dim);
}

.home-trust-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.home-trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.trust-pillar-card {
  background: var(--depth-3);
  border: 1px solid var(--border-dim);
  border-radius: var(--r-xl);
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  position: relative;
  overflow: hidden;
  transition:
    border-color var(--t-mid) var(--ease),
    transform    var(--t-mid) var(--ease),
    box-shadow   var(--t-mid) var(--ease);
  box-shadow: var(--shadow-card);
}

/* Radial glow in top-right corner, colored by --pillar-color */
.trust-pillar-card::before {
  content: '';
  position: absolute;
  top: -20px; right: -20px;
  width: 120px; height: 120px;
  background: radial-gradient(circle at top right,
    color-mix(in srgb, var(--pillar-color, var(--teal)) 12%, transparent),
    transparent 65%);
  pointer-events: none;
  transition: opacity var(--t-mid);
  opacity: 0.6;
}

.trust-pillar-card:hover {
  border-color: rgba(0,212,232,0.22);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.trust-pillar-card:hover::before { opacity: 1; }

.trust-pillar-icon-wrap {
  width: 44px; height: 44px;
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.trust-pillar-card:hover .trust-pillar-icon-wrap {
  background: rgba(0,0,0,0.4);
  border-color: rgba(255,255,255,0.12);
}

.trust-pillar-icon { font-size: 1.2rem; line-height: 1; }

.trust-pillar-title {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-100);
  letter-spacing: -0.01em;
}

.trust-pillar-desc {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-400);
  line-height: 1.75;
  flex: 1;
}

/* RUO compliance strip inside trust section */
.home-compliance-strip {
  background: rgba(255,171,0,0.035);
  border: 1px solid rgba(255,171,0,0.1);
  border-radius: var(--r-lg);
  overflow: hidden;
}

.home-compliance-strip-inner {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
}

.hcs-dot {
  display: inline-block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,171,0,0.7);
  flex-shrink: 0;
  box-shadow: 0 0 6px rgba(255,171,0,0.4);
  animation: pulse-dot 2.8s ease-in-out infinite;
}

.hcs-text {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  color: rgba(255,171,0,0.6);
  line-height: 1.6;
  flex: 1;
}

/* ══════════════════════════════════════════════════════
   HOMEPAGE — PROCESS / HOW IT WORKS
══════════════════════════════════════════════════════ */
.home-process-section {
  background: var(--void);
  border-bottom: 1px solid var(--border-dim);
  position: relative;
  overflow: hidden;
}

.home-process-section::before {
  content: '';
  position: absolute;
  bottom: -80px; left: -60px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,212,232,0.04) 0%, transparent 65%);
  filter: blur(40px);
  pointer-events: none;
}

.home-process-header {
  margin-bottom: var(--space-3xl);
}

.home-process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  z-index: 1;
}

/* Horizontal connecting line between steps */
.home-process-steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(220px / 2);        /* center of first step num */
  right: calc(220px / 2);
  height: 1px;
  background: linear-gradient(90deg,
    rgba(0,212,232,0.3),
    rgba(0,212,232,0.15) 50%,
    rgba(0,212,232,0.3));
  z-index: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0 var(--space-lg);
  position: relative;
  z-index: 1;
}

.process-step:first-child { padding-left: 0; }
.process-step:last-child  { padding-right: 0; }

.process-step-num {
  width: 52px; height: 52px;
  border: 1.5px solid rgba(0,212,232,0.35);
  background: var(--depth-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-bottom: var(--space-xl);
  position: relative;
  z-index: 1;
  transition: background var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
  box-shadow: 0 0 0 4px var(--void);
}

.process-step:hover .process-step-num {
  background: rgba(0,212,232,0.08);
  border-color: rgba(0,212,232,0.6);
  box-shadow: 0 0 0 4px var(--void), 0 0 16px rgba(0,212,232,0.18);
}

.process-step-body { padding-right: var(--space-md); }

.process-step-title {
  font-family: var(--font-ui);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-100);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
}

.process-step-desc {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-400);
  line-height: 1.75;
}

/* ══════════════════════════════════════════════════════
   HOMEPAGE — RESPONSIVE
══════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .home-featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-process-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-2xl);
  }
  .home-process-steps::before { display: none; }
}

@media (max-width: 900px) {
  .home-trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-docs-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .home-docs-copy { max-width: 100%; }
}

@media (max-width: 640px) {
  .home-featured-grid {
    grid-template-columns: 1fr;
  }
  .home-trust-grid {
    grid-template-columns: 1fr;
  }
  .home-process-steps {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
  .home-featured-more {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
  .home-compliance-strip-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

/* ══════════════════════════════════════════════════════
   ACCOUNT DASHBOARD LAYOUT
══════════════════════════════════════════════════════ */
.acct-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - var(--nav-h) - 32px);
  align-items: start;
}

.acct-sidebar {
  background: var(--depth-1);
  border-right: 1px solid var(--border-dim);
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  height: calc(100vh - var(--nav-h) - 32px);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  scrollbar-width: thin;
  scrollbar-color: var(--border-mid) transparent;
}

.acct-profile-block {
  padding: var(--space-xl) var(--space-lg);
  border-bottom: 1px solid var(--border-dim);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.acct-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, rgba(0,212,232,0.15) 0%, rgba(0,212,232,0.06) 100%);
  border: 1.5px solid rgba(0,212,232,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--teal);
  margin-bottom: 8px;
  box-shadow: 0 0 16px rgba(0,212,232,0.1);
}

.acct-profile-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-100);
  letter-spacing: -0.01em;
}

.acct-profile-inst {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--text-400);
}

.acct-nav {
  flex: 1;
  padding: var(--space-md) var(--space-sm);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.acct-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px var(--space-md);
  border: none;
  background: none;
  color: var(--text-400);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: var(--r-md);
  transition: color var(--t-fast), background var(--t-fast), padding-left var(--t-fast);
  text-align: left;
  letter-spacing: 0;
  position: relative;
}

.acct-nav-item:hover {
  color: var(--text-100);
  background: rgba(255,255,255,0.05);
  padding-left: 18px;
}

.acct-nav-item.active {
  color: var(--teal);
  background: rgba(0,212,232,0.07);
  padding-left: 18px;
}

/* Active indicator bar */
.acct-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 2.5px;
  background: var(--teal);
  border-radius: 2px;
}

.acct-nav-icon { font-size: 0.9rem; width: 18px; text-align: center; flex-shrink: 0; }

.acct-sidebar-footer {
  padding: var(--space-lg);
  border-top: 1px solid var(--border-dim);
  margin-top: auto;
}

.acct-main {
  padding: var(--space-2xl);
  min-height: calc(100vh - var(--nav-h) - 32px);
  animation: pageIn 0.22s var(--ease-out) both;
}

/* Content header row inside account tabs */
.acct-content-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-xl);
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Stat row inside orders tab */
.acct-stat-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

/* Empty states inside account */
.acct-empty-state {
  text-align: center;
  padding: 72px var(--space-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.acct-empty-icon {
  font-size: 2.6rem;
  opacity: 0.14;
  margin-bottom: var(--space-sm);
}

/* Mobile account layout */
@media (max-width: 768px) {
  .acct-layout { grid-template-columns: 1fr; }
  .acct-sidebar {
    position: static;
    height: auto;
    border-right: none;
    border-bottom: 1px solid var(--border-dim);
  }
  .acct-nav {
    flex-direction: row;
    overflow-x: auto;
    flex-wrap: nowrap;
    scrollbar-width: none;
    padding: var(--space-sm);
    gap: 4px;
  }
  .acct-nav::-webkit-scrollbar { display: none; }
  .acct-nav-item {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 7px var(--space-md);
  }
  .acct-nav-item:hover, .acct-nav-item.active { padding-left: var(--space-md); }
  .acct-nav-item.active::before { top: auto; bottom: 0; left: 20%; right: 20%; width: auto; height: 2px; }
  .acct-stat-row { grid-template-columns: repeat(2, 1fr); }
  .acct-main { padding: var(--space-lg); }
}
@media (max-width: 500px) {
  .product-card {
    width: 100%;
    max-width: 100%;
    min-height: 380px;
  }

  .product-card-img {
    height: 180px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}
/* ══════════════════
   CATEGORY BANNER
══════════════════ */
.category-banner-header {
  min-height: 220px;
  display: flex;
  align-items: stretch;
}
@media (max-width: 640px) {
  .category-banner-header { min-height: 180px; }
}
