/* =====================================================
   Guardian Laboratories — Design System
   guardlab.ca
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

/* ---- CSS Variables ---- */
:root {
  --bg-dark:    #06101f;
  --bg-mid:     #0d1e36;
  --bg-card:    #0f2444;
  --bg-card-2:  #142d52;
  --accent:     #00c9a7;
  --accent-dim: rgba(0, 201, 167, 0.12);
  --accent-glow:rgba(0, 201, 167, 0.35);
  --amber:      #f5a623;
  --danger:     #ff4757;
  --text-1:     #e8edf3;
  --text-2:     #94a3b8;
  --text-3:     #3d5570;
  --border:     rgba(0, 201, 167, 0.18);
  --border-strong: rgba(0, 201, 167, 0.5);
  --nav-height: 72px;
  --max-width:  1200px;
  --section-pad: 80px;
  --font-head: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Courier New', monospace;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --glow-card:   0 0 30px rgba(0, 201, 167, 0.14);
  --glow-strong: 0 0 40px rgba(0, 201, 167, 0.3);
  --radius:   12px;
  --radius-sm: 8px;
  --transition: all 0.28s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ---- Background Grid Pattern ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(0,201,167,0.065) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(6, 16, 31, 0.93);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(16px, 4vw, 48px);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-logo img { height: 44px; width: auto; }
.nav-logo-text {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-1);
  line-height: 1.2;
}
.nav-logo-text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--accent);
  background: var(--accent-dim);
}
.nav-cta {
  font-size: 0.85rem;
  font-weight: 600;
  padding: 9px 20px;
  background: var(--accent);
  color: var(--bg-dark) !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
  margin-left: 8px;
}
.nav-cta:hover {
  background: #00e8c0 !important;
  box-shadow: var(--glow-strong);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0; right: 0;
  background: rgba(13, 30, 54, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 16px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  color: var(--text-2);
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
}
.nav-mobile a:hover, .nav-mobile a.active {
  color: var(--accent);
  background: var(--accent-dim);
}
.nav-mobile .nav-cta {
  margin-top: 8px;
  text-align: center;
  display: block;
  margin-left: 0;
}

/* =====================================================
   LAYOUT UTILITIES
   ===================================================== */
.page-content { padding-top: var(--nav-height); position: relative; z-index: 1; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.section { padding: var(--section-pad) 0; }
.section-alt { background: var(--bg-mid); }

.section-header { margin-bottom: 52px; text-align: center; }
.section-header .eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
  padding: 5px 12px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
}
.section-header h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; align-items: center; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; }
.text-accent { color: var(--accent); }
.text-amber  { color: var(--amber); }
.text-muted  { color: var(--text-2); }
.text-mono   { font-family: var(--font-mono); }

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.925rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary { background: var(--accent); color: var(--bg-dark); }
.btn-primary:hover { background: #00e8c0; box-shadow: var(--glow-strong); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--accent); border: 1.5px solid var(--border-strong); }
.btn-outline:hover { background: var(--accent-dim); transform: translateY(-2px); }
.btn-amber { background: var(--amber); color: var(--bg-dark); }
.btn-amber:hover { background: #f7b84b; box-shadow: 0 0 30px rgba(245,166,35,0.4); transform: translateY(-2px); }
.btn-lg { padding: 15px 34px; font-size: 1rem; }

/* =====================================================
   CARDS
   ===================================================== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.card:hover { border-color: var(--border-strong); box-shadow: var(--glow-card); transform: translateY(-3px); }
.card-icon {
  width: 52px; height: 52px;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.card p  { font-size: 0.9rem; color: var(--text-2); line-height: 1.7; }

/* =====================================================
   HERO (HOME)
   ===================================================== */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, var(--bg-dark) 0%, #081428 55%, #091a35 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%; right: -5%;
  width: 75vw; height: 130%;
  background: radial-gradient(ellipse, rgba(0,201,167,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: 0;
  width: 55vw; height: 80%;
  background: radial-gradient(ellipse, rgba(0,80,180,0.05) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 22px;
  padding: 7px 14px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
}
.hero-eyebrow .dot {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 22px;
  color: var(--text-1);
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  margin-bottom: 36px;
  max-width: 540px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-badges {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--text-2);
}
.hero-badge svg { color: var(--accent); width: 15px; height: 15px; flex-shrink: 0; }

/* =====================================================
   STATS BAR
   ===================================================== */
.stats-bar {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  padding: 16px 24px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.78rem;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* =====================================================
   SERVICE TYPE CARDS (large)
   ===================================================== */
.service-card-lg {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.service-card-lg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(0,201,167,0.1));
}
.service-card-lg:hover {
  border-color: var(--border-strong);
  box-shadow: var(--glow-card);
  transform: translateY(-3px);
}
.service-type-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border);
  padding: 4px 11px;
  border-radius: 100px;
  margin-bottom: 16px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.service-card-lg h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 12px; }
.service-card-lg .desc { font-size: 0.9rem; color: var(--text-2); margin-bottom: 22px; line-height: 1.7; }
.checklist { display: flex; flex-direction: column; gap: 9px; }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.5;
}
.checklist li::before {
  content: '';
  width: 17px; height: 17px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6l2.5 2.5 4.5-5' stroke='%2306101f' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 72%;
  background-repeat: no-repeat;
  background-position: center;
}

/* =====================================================
   PRICING CARDS
   ===================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  transition: var(--transition);
}
.pricing-card.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--glow-card);
}
.pricing-card.featured::after {
  content: 'MOST POPULAR';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg-dark);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 4px 12px;
  border-radius: 100px;
  white-space: nowrap;
}
.pricing-card:hover { border-color: var(--border-strong); box-shadow: var(--glow-card); }
.pricing-tier {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 6px;
}
.pricing-card h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 6px; }
.pricing-tagline { font-size: 0.85rem; color: var(--text-2); margin-bottom: 20px; min-height: 38px; line-height: 1.5; }
.price-main {
  font-family: var(--font-mono);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 4px;
}
.price-main sub { font-size: 1rem; font-weight: 400; color: var(--text-2); vertical-align: baseline; }
.price-sub { font-size: 0.8rem; color: var(--text-3); margin-bottom: 20px; font-family: var(--font-mono); }
.pricing-divider { height: 1px; background: var(--border); margin: 20px 0; }
.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 9px;
  gap: 8px;
}
.price-row .pl { font-size: 0.85rem; color: var(--text-2); }
.price-row .pv { font-family: var(--font-mono); font-size: 0.9rem; font-weight: 600; color: var(--text-1); white-space: nowrap; }
.pricing-features { display: flex; flex-direction: column; gap: 9px; margin: 20px 0; }
.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.875rem;
  color: var(--text-2);
  line-height: 1.5;
}
.pricing-features li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  width: 16px;
}

/* =====================================================
   PROCESS STEPS
   ===================================================== */
.process-steps { display: flex; flex-direction: column; gap: 28px; position: relative; }
.process-steps::before {
  content: '';
  position: absolute;
  left: 27px; top: 56px; bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}
.process-step { display: flex; gap: 24px; align-items: flex-start; }
.step-number {
  width: 56px; height: 56px;
  background: var(--bg-card);
  border: 2px solid var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
  flex-shrink: 0;
  position: relative; z-index: 1;
}
.step-content h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; margin-top: 12px; }
.step-content p  { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; }

/* =====================================================
   ALERT / INFO BOXES
   ===================================================== */
.alert-box {
  border-left: 4px solid var(--amber);
  background: rgba(245,166,35,0.08);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  border: 1px solid rgba(245,166,35,0.3);
  border-left: 4px solid var(--amber);
  padding: 20px 24px;
  margin: 28px 0;
}
.alert-box.danger  { border-left-color: var(--danger); background: rgba(255,71,87,0.08); border-color: rgba(255,71,87,0.25); border-left-color: var(--danger); }
.alert-box.info    { border-left-color: var(--accent);  background: var(--accent-dim); border-color: var(--border); border-left-color: var(--accent); }
.alert-box h4      { font-weight: 600; margin-bottom: 8px; color: var(--amber); font-size: 0.95rem; }
.alert-box.danger h4 { color: var(--danger); }
.alert-box.info h4   { color: var(--accent); }
.alert-box p, .alert-box li { font-size: 0.9rem; color: var(--text-2); line-height: 1.7; }
.alert-box ul { margin-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.alert-box ul li { display: flex; gap: 8px; }
.alert-box ul li::before { content: '→'; color: var(--amber); flex-shrink: 0; }
.alert-box.info ul li::before { color: var(--accent); }

/* =====================================================
   PROSE / CONTENT BODY
   ===================================================== */
.prose h2 {
  font-size: 1.55rem; font-weight: 700;
  margin: 40px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.prose h3 { font-size: 1.15rem; font-weight: 600; margin: 28px 0 12px; color: var(--accent); }
.prose p  { font-size: 0.95rem; color: var(--text-2); margin-bottom: 16px; line-height: 1.78; }
.prose strong { color: var(--text-1); font-weight: 600; }
.prose ul  { margin: 16px 0; display: flex; flex-direction: column; gap: 9px; }
.prose ul li {
  display: flex; align-items: flex-start;
  gap: 10px; font-size: 0.9rem;
  color: var(--text-2); line-height: 1.6;
}
.prose ul li::before { content: '▸'; color: var(--accent); flex-shrink: 0; margin-top: 1px; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 36px 0; }

/* =====================================================
   PAGE HERO (Inner pages)
   ===================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0b1b33 60%, var(--bg-mid) 100%);
  padding: 70px 0 60px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  right: -5%; top: -50%;
  width: 55vw; height: 200%;
  background: radial-gradient(ellipse, rgba(0,201,167,0.07) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 12px;
  background: var(--accent-dim);
  border: 1px solid var(--border);
  border-radius: 100px;
  margin-bottom: 18px;
}
.page-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 700; margin-bottom: 14px; }
.page-hero p  { font-size: 1.05rem; color: var(--text-2); max-width: 560px; line-height: 1.7; }

/* =====================================================
   CONTACT FORM
   ===================================================== */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-2);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-mid);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  outline: none;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,201,167,0.14);
}
.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2394a3b8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.form-group textarea { resize: vertical; min-height: 130px; }
::placeholder { color: var(--text-3); }
.form-success {
  display: none;
  background: var(--accent-dim);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.form-success.show { display: block; }
.form-success h3 { color: var(--accent); margin-bottom: 8px; }
.form-success p  { font-size: 0.9rem; color: var(--text-2); }

/* =====================================================
   MATERIAL GRID (Before the Call)
   ===================================================== */
.material-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(195px, 1fr)); gap: 14px; }
.material-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: var(--transition);
}
.material-item:hover { border-color: rgba(245,166,35,0.4); }
.material-dot { width: 9px; height: 9px; background: var(--amber); border-radius: 50%; flex-shrink: 0; margin-top: 5px; }
.material-item p { font-size: 0.875rem; color: var(--text-2); line-height: 1.4; }

/* =====================================================
   HOW-TO STEPS
   ===================================================== */
.how-to-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 22px;
  align-items: flex-start;
  transition: var(--transition);
  margin-bottom: 16px;
}
.how-to-step:hover { border-color: var(--border-strong); box-shadow: var(--glow-card); }
.how-to-num { font-family: var(--font-mono); font-size: 2.2rem; font-weight: 700; color: var(--accent); opacity: 0.5; line-height: 1; }
.how-to-step h4 { font-size: 1.05rem; font-weight: 600; margin-bottom: 8px; }
.how-to-step p  { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; }
.how-to-step ul { margin-top: 10px; display: flex; flex-direction: column; gap: 7px; }
.how-to-step ul li { display: flex; gap: 9px; font-size: 0.875rem; color: var(--text-2); line-height: 1.5; }
.how-to-step ul li::before { content: '▸'; color: var(--accent); flex-shrink: 0; }

/* =====================================================
   CERT BADGES
   ===================================================== */
.cert-badges { display: flex; gap: 14px; flex-wrap: wrap; margin: 24px 0; }
.cert-badge {
  background: var(--bg-card);
  border: 1px solid var(--accent);
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-1);
}
.cert-badge svg { width: 18px; height: 18px; color: var(--accent); }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  padding: 56px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 48px; margin-bottom: 44px; }
.footer-brand .logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand .logo-wrap img { height: 40px; width: auto; }
.footer-brand .brand-name { font-family: var(--font-head); font-weight: 600; font-size: 1rem; }
.footer-brand p { font-size: 0.875rem; color: var(--text-2); line-height: 1.7; margin-bottom: 20px; }
.lab-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
}
.footer-col h4 {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-1);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 0.875rem; color: var(--text-2); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--accent); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; font-size: 0.875rem; color: var(--text-2); margin-bottom: 12px; }
.footer-contact-item svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; margin-top: 3px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-3);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-cert {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent);
  background: var(--accent-dim);
  border: 1px solid var(--border);
  padding: 5px 12px;
  border-radius: 100px;
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--bg-mid) 0%, #0a1e3a 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: var(--section-pad) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%;
  transform: translateX(-50%);
  width: 80vw; height: 200%;
  background: radial-gradient(ellipse, rgba(0,201,167,0.06) 0%, transparent 55%);
  pointer-events: none;
}
.cta-section h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); font-weight: 700; margin-bottom: 14px; }
.cta-section p  { font-size: 1.05rem; color: var(--text-2); margin-bottom: 32px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =====================================================
   SCROLL TOP BUTTON
   ===================================================== */
#scroll-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 42px; height: 42px;
  background: var(--accent);
  color: var(--bg-dark);
  border: none;
  border-radius: 50%;
  display: none;
  align-items: center; justify-content: center;
  z-index: 500;
  transition: var(--transition);
  box-shadow: var(--glow-strong);
}
#scroll-top:hover { transform: translateY(-3px); }
#scroll-top.visible { display: flex; }

/* =====================================================
   ANIMATIONS
   ===================================================== */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-d1 { transition-delay: 0.1s; }
.fade-in-d2 { transition-delay: 0.2s; }
.fade-in-d3 { transition-delay: 0.3s; }

/* =====================================================
   HOW-TO STEPS (how-to-at-home.html)
   ===================================================== */
.how-to-steps { display: flex; flex-direction: column; gap: 32px; max-width: 860px; margin: 0 auto; }
.how-to-step { display: grid; grid-template-columns: 80px 1fr; gap: 24px; align-items: start; }
.step-mono { font-family: var(--font-mono); font-size: 2.8rem; font-weight: 700; color: var(--accent); opacity: 0.35; line-height: 1; padding-top: 4px; }
.step-body h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; }
.step-body p  { font-size: 0.9rem; color: var(--text-2); line-height: 1.75; }
.step-body a  { color: var(--accent); }

/* =====================================================
   STATS LIST (about-us.html sidebar)
   ===================================================== */
.stats-list { display: flex; flex-direction: column; gap: 0; }
.stat-line { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.stat-line:last-child { border-bottom: none; }
.stat-val { font-family: var(--font-mono); font-size: 1rem; font-weight: 700; color: var(--accent); }
.stat-label { font-size: 0.85rem; color: var(--text-2); text-align: right; max-width: 60%; }

/* =====================================================
   CONTACT PAGE LAYOUT
   ===================================================== */
.contact-layout { display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: start; }
.contact-form-wrap h2, .contact-info-wrap h2 { font-size: 1.5rem; margin-bottom: 28px; }
.contact-info-card { display: flex; flex-direction: column; gap: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border-bottom: 1px solid var(--border); }
.contact-info-item:last-child { border-bottom: none; }
.ci-icon { width: 36px; height: 36px; flex-shrink: 0; color: var(--accent); }
.ci-icon svg { width: 100%; height: 100%; }
.contact-info-item h4 { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a { font-size: 0.9rem; color: var(--text-2); line-height: 1.6; }
.contact-info-item a { color: var(--accent); }

/* Form extras */
.form-check { flex-direction: row !important; align-items: flex-start !important; gap: 12px; }
.form-check input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; accent-color: var(--accent); cursor: pointer; }
.form-check label { font-size: 0.82rem; color: var(--text-2); line-height: 1.5; cursor: pointer; }
.form-error { background: rgba(255,71,87,0.12); border: 1px solid rgba(255,71,87,0.35); border-radius: 8px; padding: 12px 16px; color: var(--danger); font-size: 0.875rem; margin-bottom: 12px; }
.form-submit { width: 100%; justify-content: center; gap: 10px; margin-top: 8px; }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* =====================================================
   CHAIN OF CUSTODY DOWNLOAD CARD (how-to-at-home.html)
   ===================================================== */
.coc-download-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 22px 28px;
  margin-bottom: 40px;
  box-shadow: var(--glow-card);
}
.coc-download-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: var(--accent-dim);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent);
}
.coc-download-icon svg { width: 26px; height: 26px; }
.coc-download-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.coc-download-text strong { font-size: 0.975rem; color: var(--text-1); font-weight: 600; }
.coc-download-text span   { font-size: 0.85rem; color: var(--text-2); line-height: 1.5; }
.coc-download-btn { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 640px) {
  .coc-download-card { flex-direction: column; align-items: flex-start; }
  .coc-download-btn  { width: 100%; justify-content: center; }
}

/* =====================================================
   BRAND BANNER (about-us.html)
   ===================================================== */
.brand-banner {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  border-bottom: 1px solid var(--border);
}
.brand-banner img {
  width: 100%;
  height: clamp(160px, 28vw, 320px);
  object-fit: cover;
  object-position: center;
  display: block;
}

/* =====================================================
   WARNING CHECKLIST (how-to-at-home.html)
   ===================================================== */
.warning-checklist {
  max-width: 900px;
  margin: 0 auto 48px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,71,87,0.35);
  box-shadow: 0 4px 32px rgba(255,71,87,0.1);
}
.warning-checklist-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: rgba(255,71,87,0.14);
  border-bottom: 1px solid rgba(255,71,87,0.3);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--danger);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.warning-checklist-header svg { flex-shrink: 0; }
.warning-checklist-body { background: rgba(255,71,87,0.05); }
.warning-check-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(255,71,87,0.12);
  transition: background 0.2s;
}
.warning-check-item:last-child { border-bottom: none; }
.warning-check-item:hover { background: rgba(255,71,87,0.08); }
.wci-status {
  flex-shrink: 0;
  min-width: 52px;
  padding: 5px 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  margin-top: 2px;
}
.wci-no   { background: rgba(255,71,87,0.18); color: var(--danger); border: 1px solid rgba(255,71,87,0.4); }
.wci-yes  { background: rgba(0,201,167,0.12); color: var(--accent); border: 1px solid rgba(0,201,167,0.35); }
.wci-stop { background: rgba(245,166,35,0.14); color: var(--amber); border: 1px solid rgba(245,166,35,0.4); }
.wci-content { display: flex; flex-direction: column; gap: 4px; }
.wci-content strong { font-size: 0.925rem; color: var(--text-1); font-weight: 600; line-height: 1.4; }
.wci-content span   { font-size: 0.85rem; color: var(--text-2); line-height: 1.6; }

/* =====================================================
   PHOTO ELEMENTS
   ===================================================== */
.hero .container {
  display: flex;
  gap: 56px;
  align-items: center;
}
.hero-content { flex: 1; }
.hero-photo-wrap {
  flex: 0 0 460px;
  position: relative;
  z-index: 1;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px var(--border);
}
.hero-photo-wrap img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  display: block;
}
.hero-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,201,167,0.06) 0%, rgba(6,16,31,0.2) 100%);
  pointer-events: none;
}
.section-photo {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  object-fit: cover;
  display: block;
  box-shadow: var(--shadow-card);
}
.photo-caption {
  font-size: 0.72rem;
  color: var(--text-3);
  font-family: var(--font-mono);
  text-align: center;
  margin-top: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.step-photo {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  display: block;
  margin-top: 16px;
  box-shadow: var(--shadow-card);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  :root { --section-pad: 56px; --nav-height: 64px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding: 20px; }
  .stat-item:nth-child(even) { border-right: none; }
  .stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .process-steps::before { left: 26px; }
  .cta-actions { flex-direction: column; align-items: center; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .how-to-step { grid-template-columns: 56px 1fr; gap: 16px; }
  .step-mono { font-size: 2rem; }
  .hero .container { flex-direction: column; gap: 0; }
  .hero-photo-wrap { flex: none; width: 100%; order: -1; border-radius: 0; box-shadow: none; }
  .hero-photo-wrap img { height: 240px; }
}

@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .material-grid { grid-template-columns: 1fr 1fr; }
}
