@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   Analytical Laboratory Website Template - Theme & Stylesheet
   White-label / Rebrandable via CSS Custom Properties
   ========================================================================== */

:root {
  /* Brand Identity & Theme Variables */
  --brand-name: "JANOSHIK";
  --primary: #0f172a;          /* Sleek Obsidian / Slate */
  --primary-hover: #1e293b;
  --primary-light: #f1f5f9;
  --secondary: #ea580c;        /* High-energy Lab Orange / Amber accent */
  --secondary-hover: #c2410c;
  --accent: #0284c7;          /* Analytical Cyan */
  
  /* Status Colors */
  --success: #15803d;
  --success-bg: #f0fdf4;
  --success-border: #86efac;
  --danger: #b91c1c;
  --danger-bg: #fef2f2;
  --danger-border: #fca5a5;
  --warning: #d97706;
  --warning-bg: #fffbeb;
  
  /* Neutrals & Surfaces */
  --bg-body: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-light: #94a3b8;
  --border-color: #cbd5e1;
  --border-focus: #0284c7;

  /* Typography */
  --font-sans: 'Syne', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  
  /* Elevation & Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);

  /* Layout */
  --container-max-width: 1160px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --transition: all 0.2s ease-in-out;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-hover);
}

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

/* Top Security / Notice Bar */
.top-notice-bar {
  background-color: #0b1329;
  color: #94a3b8;
  font-size: 0.8125rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-notice-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.top-notice-bar a {
  color: #cbd5e1;
  text-decoration: underline;
}

.top-notice-bar .badge {
  background: rgba(37, 99, 235, 0.25);
  color: #93c5fd;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-right: 0.5rem;
}

/* Main Navigation - Janoshik Minimalist Style */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.header-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.1rem 0 0.85rem;
  gap: 1.5rem;
}

.brand-logo-janoshik {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.04em;
  color: #0f172a;
  text-decoration: none;
}

.brand-peaks-icon {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 26px;
}

.brand-peaks-icon .peak-bar {
  width: 4.5px;
  background-color: #007367;
  border-radius: 1.5px;
}

.brand-peaks-icon .peak-bar.b1 { height: 16px; }
.brand-peaks-icon .peak-bar.b2 { height: 26px; }
.brand-peaks-icon .peak-bar.b3 { height: 21px; }

/* Centered Pill Search Box */
.header-search-container {
  flex: 1;
  max-width: 480px;
}

.header-search-pill {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.header-search-input {
  width: 100%;
  padding: 0.65rem 3rem 0.65rem 1.25rem;
  font-size: 0.925rem;
  border: 1px solid #cbd5e1;
  border-radius: 9999px;
  outline: none;
  background-color: #ffffff;
  color: #1e293b;
  transition: all 0.2s ease;
}

.header-search-input:focus {
  border-color: #007367;
  box-shadow: 0 0 0 3px rgba(0, 115, 103, 0.12);
}

.header-search-btn {
  position: absolute;
  right: 14px;
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.header-search-btn:hover {
  color: #0f172a;
}

/* User & Cart Buttons */
.header-user-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-round-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f1f5f9;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.header-round-btn:hover {
  background-color: #e2e8f0;
  color: #0f172a;
}

/* Subnav Menu Row */
.header-subnav-row {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 0 1rem;
  border-top: 1px solid transparent;
}

.subnav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.25rem;
  list-style: none;
  flex-wrap: wrap;
}

.subnav-link {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
  padding-bottom: 2px;
}

.subnav-link:hover, .subnav-link.active {
  color: #007367;
}

.subnav-link.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: #007367;
  border-radius: 2px;
}

/* Janoshik-Style Hero: Most Popular Tests */
.hero-popular {
  background-color: #edf5fc;
  padding: 3.75rem 0 5rem;
  border-bottom: 1px solid #e2e8f0;
}

.hero-popular-header {
  text-align: center;
  margin-bottom: 3.25rem;
}

.hero-peak-glyph {
  display: inline-flex;
  align-items: flex-end;
  gap: 5px;
  height: 38px;
  margin-bottom: 1.25rem;
}

.glyph-bar {
  width: 7px;
  background-color: #007367;
  border-radius: 2px;
}

.glyph-bar.g1 { height: 20px; }
.glyph-bar.g2 { height: 36px; }
.glyph-bar.g3 { height: 28px; }

.hero-popular-title {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  font-weight: 750;
  color: #111827;
  letter-spacing: -0.025em;
  margin: 0;
}

/* 4 Test Cards Grid */
.popular-tests-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1080px;
  margin-inline: auto;
}

.popular-test-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.25rem 1.25rem 1.75rem;
  min-height: 360px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

.popular-test-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.card-illustration-wrap {
  width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.card-test-label {
  font-size: 1rem;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
}

.card-test-subtext {
  font-size: 0.8125rem;
  color: #64748b;
  margin-top: 0.25rem;
  text-align: center;
}

@media (max-width: 960px) {
  .popular-tests-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 560px) {
  .popular-tests-grid {
    grid-template-columns: 1fr;
  }
  .header-top-row {
    flex-wrap: wrap;
  }
  .header-search-container {
    order: 3;
    max-width: 100%;
  }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9375rem;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--secondary);
  color: #ffffff;
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  color: #ffffff;
}

.btn-outline {
  background-color: transparent;
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background-color: var(--primary-light);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
}

.btn-lg {
  padding: 0.85rem 1.75rem;
  font-size: 1.05rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
}

/* Hero Section */
.hero {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-body) 100%);
  padding: 4.5rem 0 3.5rem;
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--primary-light);
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-main);
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 1.25rem;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Quick Verification Search Widget */
.quick-verify-card {
  max-width: 640px;
  margin-inline: auto;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  text-align: left;
}

.quick-verify-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.verify-input-group {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.verify-input {
  flex: 1;
  padding: 0.8rem 1rem;
  font-size: 1rem;
  font-family: var(--font-mono);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: #f8fafc;
  outline: none;
  transition: var(--transition);
}

.verify-input:focus {
  border-color: var(--border-focus);
  background-color: #ffffff;
}

.quick-verify-hints {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.demo-key-btn {
  background: none;
  border: none;
  color: var(--primary);
  text-decoration: underline;
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  padding: 0;
}

/* Stats / Trust Badges */
.stats-banner {
  background-color: #0b1329;
  color: white;
  padding: 2.75rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item .stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: #38bdf8;
  font-family: var(--font-mono);
  margin-bottom: 0.25rem;
}

.stat-item .stat-label {
  font-size: 0.875rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Feature Cards & Grid */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin-inline: auto;
  margin-bottom: 3.5rem;
}

.section-tag {
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

/* Step Workflow */
.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  position: relative;
}

.step-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  position: relative;
}

.step-badge {
  display: inline-block;
  width: 32px;
  height: 32px;
  background-color: var(--primary);
  color: white;
  font-weight: 700;
  text-align: center;
  line-height: 32px;
  border-radius: 50%;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

/* Pricing Table */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.pricing-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.pricing-card.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.pricing-featured-badge {
  position: absolute;
  top: -12px;
  right: 24px;
  background-color: var(--primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  text-transform: uppercase;
}

.pricing-price {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 1rem 0 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.pricing-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: normal;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  flex: 1;
}

.pricing-features li {
  padding: 0.5rem 0;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.925rem;
  color: var(--text-muted);
}

.pricing-features li strong {
  color: var(--text-main);
}

/* Verification Engine & Result Card */
.verification-container {
  max-width: 820px;
  margin-inline: auto;
}

.verification-search-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
}

.report-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 2rem;
}

.report-header {
  padding: 1.5rem 2rem;
  background-color: #0b1329;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.report-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
}

.report-status-badge.verified {
  background-color: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
}

.report-status-badge.invalid {
  background-color: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.report-body {
  padding: 2rem;
}

.report-details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
  background-color: #f8fafc;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.report-detail-item {
  display: flex;
  flex-direction: column;
}

.report-detail-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-light);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.report-detail-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  font-family: var(--font-mono);
}

.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 2rem;
}

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

.data-table th, .data-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.data-table th {
  background-color: #f8fafc;
  font-size: 0.8125rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.data-table td {
  font-size: 0.95rem;
}

.data-table td.numeric {
  font-family: var(--font-mono);
  font-weight: 600;
}

.chromatogram-preview {
  background-color: #0b1329;
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  color: #94a3b8;
}

.chromatogram-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.8125rem;
  color: #cbd5e1;
}

.chromatogram-canvas-box {
  height: 180px;
  width: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.03),
    rgba(255, 255, 255, 0.03) 1px,
    transparent 1px,
    transparent 20px
  );
  position: relative;
  border-left: 2px solid #475569;
  border-bottom: 2px solid #475569;
  display: flex;
  align-items: flex-end;
  padding: 0 1rem;
}

.simulated-peaks {
  width: 100%;
  height: 100%;
}

.report-footer {
  padding: 1.5rem 2rem;
  background-color: #f8fafc;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  outline: none;
  font-family: inherit;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.form-help {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* Accordion FAQ */
.faq-list {
  max-width: 800px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.25rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Security / PGP Box */
.pgp-box {
  background-color: #0b1329;
  color: #38bdf8;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer */
.site-footer {
  background-color: #0b1329;
  color: #94a3b8;
  padding: 4.5rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #38bdf8;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .hero-title {
    font-size: 2.15rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .verify-input-group {
    flex-direction: column;
  }
}

/* ==========================================================================
   Complete Janoshik-Style Layout Components for JANOSHIK
   ========================================================================== */

/* Popular Test Cards Detail Styling */
.popular-test-card {
  text-align: left;
  align-items: flex-start;
  padding: 1.5rem 1.25rem;
}

.test-card-category {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
  margin-top: 0.75rem;
  text-transform: capitalize;
}

.test-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin: 0.35rem 0 0.85rem;
  min-height: 52px;
}

.test-card-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.85rem;
  font-family: var(--font-mono);
}

.test-card-order-btn {
  width: 100%;
  background-color: #18181b;
  color: #ffffff;
  padding: 0.65rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: background-color 0.2s ease;
  display: block;
  text-decoration: none;
}

.test-card-order-btn:hover {
  background-color: #27272a;
  color: #ffffff;
}

/* Trusted Laboratory Banner */
.trusted-lab-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2.5rem;
  margin-top: 4.5rem;
  padding-top: 2.5rem;
}

.trusted-lab-title {
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  color: #0f172a;
  letter-spacing: -0.025em;
  flex: 1.2;
}

.trusted-lab-action {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.trusted-lab-text {
  font-size: 1.15rem;
  color: #1e293b;
  line-height: 1.45;
  font-weight: 500;
}

.btn-teal-test {
  background: linear-gradient(135deg, #007367 0%, #005a50 100%);
  color: #ffffff;
  padding: 0.8rem 2.25rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.btn-teal-test:hover {
  opacity: 0.92;
  transform: translateY(-2px);
  color: #ffffff;
}

/* Fast And Reliable 4-Steps Banner */
.fast-reliable-wrapper {
  margin-top: 4.5rem;
}

.fast-reliable-card {
  background: linear-gradient(135deg, #008779 0%, #006055 100%);
  border-radius: 10px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  box-shadow: 0 10px 25px rgba(0, 115, 103, 0.15);
}

.fast-reliable-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(255, 255, 255, 0.18);
  padding: 0.5rem 1.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  border-bottom-right-radius: 12px;
  letter-spacing: 0.02em;
}

.fast-reliable-content {
  flex: 1;
  padding: 3.5rem 2.5rem 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fast-reliable-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.fr-step {
  border-right: 1px solid rgba(255, 255, 255, 0.22);
  padding-right: 1rem;
}

.fr-step:last-child {
  border-right: none;
}

.fr-num {
  font-size: 1.25rem;
  font-weight: 800;
  color: #a7f3d0;
  margin-bottom: 0.4rem;
}

.fr-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.fr-desc {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

.fast-reliable-image-side {
  width: 240px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
}

/* Choose Your Test Section */
.choose-test-section {
  padding: 5rem 0;
  background-color: #ffffff;
}

.choose-test-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.choose-test-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.choose-test-title {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
}

.choose-test-desc {
  font-size: 1.05rem;
  color: #1e293b;
  line-height: 1.55;
  margin-bottom: 1.75rem;
}

.choose-test-desc a {
  color: #007367;
  font-weight: 700;
  text-decoration: underline;
}

.btn-all-tests {
  border: 1.5px solid #0f172a;
  color: #0f172a;
  background: transparent;
  padding: 0.65rem 2.25rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-all-tests:hover {
  background-color: #0f172a;
  color: #ffffff;
}

.choose-test-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.big-vial-graphic {
  max-height: 380px;
  width: auto;
  filter: drop-shadow(0 15px 30px rgba(0, 115, 103, 0.2));
}

.choose-test-right {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.category-pill-btn {
  background-color: #e2e8f0;
  color: #0f172a;
  padding: 0.85rem 1.35rem;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.category-pill-btn:hover {
  background-color: #cbd5e1;
  transform: translateX(4px);
  color: #0f172a;
}

.category-arrow {
  font-size: 1.15rem;
  color: #475569;
}

/* About Us Section */
.about-us-section {
  background: linear-gradient(135deg, #006b60 0%, #004d44 100%);
  color: #ffffff;
  padding: 5.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
}

.about-us-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3.5rem;
  align-items: center;
  margin-bottom: 4.5rem;
}

.about-us-title {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
  letter-spacing: -0.025em;
}

.about-us-subtitle {
  font-size: 1.25rem;
  font-weight: 700;
  color: #a7f3d0;
  margin-bottom: 1.5rem;
}

.about-us-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.25rem;
}

.btn-about-read {
  border: 1.5px solid #ffffff;
  color: #ffffff;
  background: transparent;
  padding: 0.65rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-block;
  margin-top: 0.75rem;
  transition: all 0.2s ease;
}

.btn-about-read:hover {
  background-color: #ffffff;
  color: #006b60;
}

/* Photo collage */
.about-photo-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.collage-img-wrap {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.collage-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 4 Trust Feature Icons */
.about-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding-top: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.about-feat-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about-feat-icon-round {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  margin-bottom: 1rem;
}

.about-feat-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.about-feat-desc {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.5;
}

/* Customer Reviews Section */
.reviews-section {
  background-color: #edf5fc;
  padding: 5.5rem 0;
  position: relative;
  overflow: hidden;
}

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.reviews-pill-visual {
  display: flex;
  gap: 1.25rem;
  align-items: flex-end;
  height: 380px;
}

.pill-cutout {
  flex: 1;
  background-color: #cbd5e1;
  border-radius: 9999px 9999px 0 0;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.pill-cutout.p1 { height: 260px; }
.pill-cutout.p2 { height: 340px; }
.pill-cutout.p3 { height: 380px; }

.pill-cutout img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reviews-content-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.reviews-title {
  font-size: clamp(2.25rem, 4vw, 3rem);
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin-bottom: 0.25rem;
}

.reviews-subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 2rem;
}

.reviews-quote-icon {
  color: #007367;
  margin-bottom: 1rem;
}

.review-text-quote {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.review-author {
  font-size: 0.875rem;
  color: #007367;
  font-weight: 600;
}

.review-author-location {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.15rem;
}

.review-nav-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
  width: 100%;
}

.review-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #cbd5e1;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #334155;
  transition: all 0.2s ease;
}

.review-arrow-btn:hover {
  background-color: #94a3b8;
  color: #0f172a;
}

.review-dots-bar {
  display: flex;
  gap: 6px;
  width: 220px;
}

.review-dot-dash {
  flex: 1;
  height: 3px;
  background-color: #cbd5e1;
  border-radius: 2px;
}

.review-dot-dash.active {
  background-color: #007367;
}

/* Contact Us Section */
.contact-us-section {
  background-color: #edf5fc;
  padding: 4rem 0 5.5rem;
}

.contact-us-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.contact-scientist-img {
  width: 100%;
  max-width: 440px;
  margin-inline: auto;
  border-radius: 12px;
  display: block;
}

.janoshik-input {
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  width: 100%;
  outline: none;
  transition: border-color 0.2s;
}

.janoshik-input:focus {
  border-color: #007367;
  box-shadow: 0 0 0 2px rgba(0, 115, 103, 0.1);
}

.btn-janoshik-submit {
  background: linear-gradient(135deg, #007367 0%, #005a50 100%);
  color: #ffffff;
  padding: 0.75rem 2.5rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.btn-janoshik-submit:hover {
  opacity: 0.92;
}

/* Clean Janoshik Footer */
.site-footer-clean {
  background-color: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 4rem 0 2.5rem;
}

.footer-clean-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-clean-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-clean-col h4 {
  font-size: 0.85rem;
  color: #007367;
  text-transform: capitalize;
  margin-bottom: 1.25rem;
  font-weight: 700;
}

.footer-clean-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-clean-links a {
  color: #334155;
  font-size: 0.9rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-clean-links a:hover {
  color: #007367;
}

/* Responsive Overrides */
@media (max-width: 960px) {
  .choose-test-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .choose-test-left {
    align-items: center;
  }
  .about-us-main-grid {
    grid-template-columns: 1fr;
  }
  .about-features-grid {
    grid-template-columns: 1fr 1fr;
  }
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .contact-us-grid {
    grid-template-columns: 1fr;
  }
  .trusted-lab-banner {
    flex-direction: column;
    text-align: center;
  }
  .trusted-lab-action {
    align-items: center;
  }
  .fast-reliable-steps {
    grid-template-columns: 1fr 1fr;
  }
  .fast-reliable-card {
    flex-direction: column;
  }
  .fast-reliable-image-side {
    width: 100%;
    height: 180px;
  }
}

@media (max-width: 600px) {
  .fast-reliable-steps {
    grid-template-columns: 1fr;
  }
  .about-features-grid {
    grid-template-columns: 1fr;
  }
  .footer-clean-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   Exact Janoshik Theme Core Styles & Component Overrides
   ========================================================================== */

/* Button Components */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  font-size: 15px;
  border: none;
}

.button-dark {
  background-color: #1D1D1B !important;
  color: #FFFFFF !important;
  padding: 13px 24px;
  border-radius: 5px;
  width: 100%;
}

.button-dark:hover {
  background-color: #383835 !important;
  color: #FFFFFF !important;
}

.button-primary {
  background: linear-gradient(135deg, #09AD9D 0%, #005758 100%) !important;
  color: #FFFFFF !important;
  padding: 14px 34px;
  border-radius: 5px;
  font-size: 16px;
}

.button-primary:hover {
  opacity: 0.92;
  color: #FFFFFF !important;
}

.button-outline {
  border: 1px solid #1D1D1B !important;
  color: #1D1D1B !important;
  background: transparent !important;
  padding: 12px 30px;
  border-radius: 5px;
  font-size: 16px;
}

.button-outline:hover {
  background-color: #1D1D1B !important;
  color: #FFFFFF !important;
}

.button-outline-white {
  border: 1px solid #FFFFFF !important;
  color: #FFFFFF !important;
  background: transparent !important;
  padding: 12px 30px;
  border-radius: 5px;
  font-size: 16px;
}

.button-outline-white:hover {
  background-color: #FFFFFF !important;
  color: #005758 !important;
}

/* Card Inset Shadow & Blur */
.shadow-inset-janoshik {
  box-shadow: inset 0 0 90px 0 #DEDFDF;
}

.aspect-card {
  aspect-ratio: 2 / 3;
}

/* Glass & Header blur */
.blur-background {
  background-color: rgba(237, 248, 255, 0.98) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-janoshik-bg {
  background-color: #EDF6FC;
}

/* Translucent frosted input boxes as in Janoshik reference */
.input-verification {
  min-height: 56px;
  width: 100%;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background-color: rgba(255, 255, 255, 0.4);
  padding: 0.75rem 20px;
  font-family: 'Syne', sans-serif;
  font-size: 16px;
  color: #1D1D1B;
  outline: none;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}
.input-verification:focus {
  border-color: #ffffff;
  background-color: #ffffff;
  box-shadow: 0 0 0 1px #ffffff;
}

/* Janoshik buttons */
.button {
  position: relative;
  display: inline-flex;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  padding-left: 36px;
  padding-right: 36px;
  min-height: 48px;
  text-align: center;
  font-weight: 700;
  font-size: 15px;
  font-family: 'Syne', sans-serif;
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  text-decoration: none;
}
@media (min-width: 640px) {
  .button {
    min-height: 54px;
    padding-left: 45px;
    padding-right: 45px;
    font-size: 16px;
  }
}
.button.button-dark {
  background-color: #1D1D1B;
  color: #ffffff;
}
.button.button-dark:hover {
  background-image: linear-gradient(to right, #09AD9D, #005758);
  box-shadow: 0 10px 15px 0 rgba(14, 58, 47, 0.2);
}
.button.button-primary {
  background-image: linear-gradient(to bottom, #09AD9D, #005758);
  color: #ffffff;
}
.button.button-primary:hover {
  background-image: linear-gradient(to bottom, #078e81, #004546);
  box-shadow: 0 10px 15px 0 rgba(14, 58, 47, 0.2);
}
