/* ==========================================================================
   Clearline Research Supply — Design System & Styles
   Modern DTC energy, dark navy to electric blue gradient, lime CTA accent
   WCAG AA Compliant • Mobile-First Responsive
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-deep: #060b13;
  --bg-navy: #0b1524;
  --bg-surface: #0f1c30;
  --bg-surface-elevated: #152640;
  --bg-surface-glass: rgba(15, 28, 48, 0.75);
  
  --border-subtle: #1e2f47;
  --border-medium: #2a4163;
  --border-glow: rgba(37, 99, 235, 0.35);

  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --text-dark: #060b13;

  --accent-lime: #a3e635;
  --accent-lime-hover: #bbf451;
  --accent-lime-glow: rgba(163, 230, 53, 0.25);
  
  --primary-blue: #2563eb;
  --primary-blue-hover: #1d4ed8;
  --primary-blue-glow: rgba(37, 99, 235, 0.3);
  --electric-blue: #38bdf8;

  /* Status Colors */
  --success: #10b981;
  --amber: #f59e0b;
  --purple: #a855f7;

  /* Typography */
  --font-heading: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Spacing */
  --max-width: 1200px;
  --header-height: 76px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 36px -6px rgba(0, 0, 0, 0.45);
  --shadow-glow: 0 0 25px rgba(37, 99, 235, 0.25);
  --shadow-lime: 0 0 20px rgba(163, 230, 53, 0.3);
}

/* Base Reset & Box Sizing */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Accessibility: Skip Link */
.skip-link {
  position: absolute;
  top: -60px;
  left: 16px;
  background: var(--accent-lime);
  color: var(--text-dark);
  padding: 12px 20px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 10000;
  text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
  outline: 3px solid #ffffff;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
h4 { font-size: 1.15rem; }

p {
  color: var(--text-secondary);
}

a {
  color: var(--electric-blue);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--accent-lime);
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent-lime);
  outline-offset: 3px;
}

img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Badges & Text Gradients */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-lime {
  background: rgba(163, 230, 53, 0.12);
  color: var(--accent-lime);
  border: 1px solid rgba(163, 230, 53, 0.35);
}

.badge-blue {
  background: rgba(37, 99, 235, 0.15);
  color: var(--electric-blue);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.badge-gray {
  background: rgba(148, 163, 184, 0.12);
  color: var(--text-secondary);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.badge-amber {
  background: rgba(245, 158, 11, 0.12);
  color: var(--amber);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 20%, var(--electric-blue) 70%, var(--accent-lime) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  min-height: 48px; /* Touch target */
}

.btn-primary {
  background-color: var(--accent-lime);
  color: var(--text-dark);
  box-shadow: var(--shadow-lime);
}

.btn-primary:hover {
  background-color: var(--accent-lime-hover);
  color: var(--text-dark);
  transform: translateY(-2px);
  box-shadow: 0 0 28px rgba(163, 230, 53, 0.45);
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--electric-blue);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-blue {
  background-color: var(--primary-blue);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-blue:hover {
  background-color: var(--primary-blue-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(37, 99, 235, 0.5);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.88rem;
  min-height: 40px;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  background: rgba(6, 11, 19, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo img {
  height: 42px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-desktop a {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 6px 0;
  position: relative;
}

.nav-desktop a:hover,
.nav-desktop a.active {
  color: #ffffff;
}

.nav-desktop a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--accent-lime);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  z-index: 1100;
}

.mobile-nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: all 0.25s ease-in-out;
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Menu Drawer */
.mobile-nav-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 11, 19, 0.98);
  backdrop-filter: blur(20px);
  padding: 30px 24px;
  flex-direction: column;
  gap: 20px;
  z-index: 1050;
  overflow-y: auto;
}

.mobile-nav-menu.open {
  display: flex;
}

.mobile-nav-menu a {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav-menu a.active {
  color: var(--accent-lime);
}

.mobile-nav-menu .mobile-nav-cta {
  margin-top: 16px;
  border-bottom: none;
  padding: 14px 20px;
  text-align: center;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: radial-gradient(circle at 85% 25%, rgba(37, 99, 235, 0.22) 0%, transparent 60%),
              radial-gradient(circle at 15% 75%, rgba(163, 230, 53, 0.08) 0%, transparent 45%),
              linear-gradient(180deg, #0b1524 0%, #060b13 100%);
  padding: 72px 0 84px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--electric-blue), var(--accent-lime), transparent);
  opacity: 0.5;
}

.hero-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge-wrap {
  margin-bottom: 24px;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero-subhead {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 24px;
  background: var(--bg-surface-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  max-width: 720px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  display: block;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   Trust Tiles Section
   ========================================================================== */
.trust-section {
  padding: 64px 0;
  background-color: var(--bg-deep);
}

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

.trust-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.trust-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-md);
}

.trust-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-blue), var(--accent-lime));
  opacity: 0.8;
}

.trust-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(37, 99, 235, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent-lime);
}

.trust-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.trust-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Section Headers & Grids
   ========================================================================== */
.section-padding {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-header .badge {
  margin-bottom: 12px;
}

.section-header h2 {
  margin-bottom: 14px;
}

.section-header p {
  font-size: 1.05rem;
}

/* ==========================================================================
   Product Cards & Grid
   ========================================================================== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-lg);
}

.product-image-wrap {
  background: radial-gradient(circle at 50% 50%, #152640 0%, #0c1726 100%);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  height: 240px;
  margin-bottom: 18px;
}

.product-image-wrap img {
  max-height: 208px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.5));
  transition: transform 0.3s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.04);
}

.product-category-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(6, 11, 19, 0.85);
  border: 1px solid var(--border-subtle);
  color: var(--electric-blue);
  padding: 3px 8px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.product-purity-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--success);
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.product-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.product-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.product-size {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-lime);
  background: rgba(163, 230, 53, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.product-price-callout {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.product-price-callout span {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Hard Rule: Neutral Research Context Box */
.product-research-context {
  font-size: 0.84rem;
  color: var(--text-secondary);
  background: rgba(6, 11, 19, 0.6);
  border-left: 2px solid var(--electric-blue);
  padding: 8px 12px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 18px;
  line-height: 1.45;
}

/* Tiered Pricing Table (Products Page) */
.product-tiers-table {
  width: 100%;
  margin-bottom: 16px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.8rem;
  background: rgba(6, 11, 19, 0.4);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.product-tiers-table th, 
.product-tiers-table td {
  padding: 6px 10px;
  text-align: left;
}

.product-tiers-table th {
  background: rgba(15, 28, 48, 0.8);
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-subtle);
}

.product-tiers-table td {
  color: var(--text-primary);
  border-bottom: 1px solid rgba(30, 47, 71, 0.5);
}

.product-tiers-table tr:last-child td {
  border-bottom: none;
}

.product-tiers-table td.tier-price {
  font-weight: 700;
  color: var(--accent-lime);
  text-align: right;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  margin-top: auto;
}

.product-actions.single-btn {
  grid-template-columns: 1fr;
}

/* ==========================================================================
   How It Works (4 Steps)
   ========================================================================== */
.how-it-works-section {
  background: linear-gradient(180deg, var(--bg-deep) 0%, #0a1320 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.step-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(56, 189, 248, 0.25);
  margin-bottom: 14px;
  line-height: 1;
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Catalog Controls & Filters (products.html)
   ========================================================================== */
.catalog-controls {
  margin-bottom: 40px;
}

.catalog-search-wrap {
  position: relative;
  max-width: 480px;
  margin: 0 auto 24px;
}

.catalog-search-input {
  width: 100%;
  padding: 14px 20px 14px 46px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.catalog-search-input:focus {
  border-color: var(--electric-blue);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

.search-icon {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.category-filter-chips {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.filter-chip {
  padding: 8px 18px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 38px;
}

.filter-chip:hover {
  border-color: var(--border-medium);
  color: #ffffff;
}

.filter-chip.active {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: #ffffff;
  box-shadow: 0 0 16px rgba(37, 99, 235, 0.4);
}

/* ==========================================================================
   Order Page & Iframe (order.html)
   ========================================================================== */
.order-container-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 40px;
}

.order-top-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px;
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-md);
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.order-top-notice p {
  color: var(--text-primary);
  font-size: 0.95rem;
  font-weight: 500;
}

.order-iframe-wrapper {
  position: relative;
  width: 100%;
  min-height: 1800px;
  background: #09111d;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
}

.order-iframe {
  width: 100%;
  min-height: 1800px;
  height: 1800px;
  border: none;
  display: block;
}

/* ==========================================================================
   Quality & COA Page (quality.html)
   ========================================================================== */
.quality-intro-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.quality-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.quality-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: var(--electric-blue);
}

.quality-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.coa-table-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.coa-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.coa-table th,
.coa-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-subtle);
}

.coa-table th {
  background: var(--bg-surface-elevated);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.coa-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.coa-table tr:last-child td {
  border-bottom: none;
}

.badge-coa-available {
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.badge-coa-pending {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-muted);
  border: 1px solid rgba(148, 163, 184, 0.25);
}

/* ==========================================================================
   FAQ Page & Accordions (faq.html)
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-card:hover {
  border-color: var(--border-medium);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 22px 24px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.25rem;
  transition: transform 0.25s ease;
  color: var(--accent-lime);
}

.faq-card.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 24px 24px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  border-top: 1px solid rgba(30, 47, 71, 0.5);
  padding-top: 18px;
}

.payment-steps-list {
  margin-top: 14px;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.payment-steps-list li {
  color: var(--text-secondary);
}

.telegram-banner {
  background: linear-gradient(135deg, #0b1524 0%, #1e3a8a 100%);
  border: 1px solid var(--electric-blue);
  border-radius: var(--radius-xl);
  padding: 40px;
  text-align: center;
  max-width: 860px;
  margin: 48px auto 0;
  box-shadow: var(--shadow-glow);
}

.telegram-banner h3 {
  font-size: 1.6rem;
  margin-bottom: 12px;
}

.telegram-banner p {
  max-width: 540px;
  margin: 0 auto 24px;
}

/* ==========================================================================
   Footer & Legal Disclaimer (Universal across all pages)
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background-color: #04080e;
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 36px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand p {
  margin-top: 14px;
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-lime);
}

/* Mandatory HARD Rule Disclaimer Box */
.footer-disclaimer-box {
  background: rgba(11, 21, 36, 0.85);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 36px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.disclaimer-icon {
  color: #ef4444;
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-disclaimer-text {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.55;
  font-weight: 500;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(30, 47, 71, 0.4);
  font-size: 0.84rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   Responsive Breakpoints & 375px Mobile Optimization
   ========================================================================== */
@media (max-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .steps-grid {
    grid-template-columns: 1fr;
  }
  .quality-intro-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .coa-table-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .order-container-card {
    padding: 18px 12px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 48px 0 60px;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .product-image-wrap {
    height: 220px;
  }
  .order-top-notice {
    flex-direction: column;
    align-items: stretch;
  }
}

/* Order page: give the embedded form the full width (2026-09-17) */
.order-container-card { padding: 16px 0 24px; overflow: hidden; }
.order-container-card > .order-top-notice,
.order-container-card > div:last-child { margin-left: 20px; margin-right: 20px; }
.order-iframe-wrapper { border-radius: 0; border-left: 0; border-right: 0; background: #eef1f5; }
body.page-order .container, .order-page .container { max-width: 1240px; }
@media (max-width: 768px) {
  .order-container-card { border-radius: 0; margin-left: -16px; margin-right: -16px; border-left: 0; border-right: 0; }
}

/* v4: EZFormz lays out 3 tight columns when its frame is wide; ~780px gives 2 roomy columns */
.order-iframe-wrapper { max-width: 780px; margin-left: auto; margin-right: auto; border: 0; background: transparent; }
@media (max-width: 768px) {
  .order-container-card { width: 100vw; margin-left: calc(50% - 50vw); margin-right: 0; padding-top: 12px; }
  .order-iframe-wrapper { max-width: none; }
}

/* Best seller treatment (2026-09-17) */
.bestseller-section { padding: 56px 0 24px; background: linear-gradient(180deg, rgba(163,230,53,0.06), transparent); }
.bestseller-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
@media (max-width: 900px) { .bestseller-grid { grid-template-columns: 1fr; } }
.bestseller-badge { position:absolute; top:12px; right:12px; z-index:2; background:#a3e635; color:#0b1524; font-weight:800; font-size:0.72rem; letter-spacing:.04em; text-transform:uppercase; padding:5px 10px; border-radius:999px; box-shadow:0 4px 14px rgba(163,230,53,.35); }
.product-card { position: relative; }
.product-card:has(.bestseller-badge) { border-color: rgba(163,230,53,.55); box-shadow: 0 0 0 1px rgba(163,230,53,.25), 0 12px 32px rgba(0,0,0,.35); }
