/* ============================================================
   AMADEO LABS — Main Stylesheet
   Design: Clean Clinical (Ice-White + Ocean Blue, Luxury Serif)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  --bg:           #F8FBFF;
  --bg-alt:       #EEF4FA;
  --bg-card:      #FFFFFF;
  --bg-card-alt:  #F5F8FC;
  --primary:      #0A5EB0;
  --primary-dark: #084A8C;
  --accent:       #00B4D8;
  --accent-light: #7DD3E8;
  --gradient:     linear-gradient(135deg, #0A5EB0 0%, #00B4D8 100%);
  --gradient-h:   linear-gradient(135deg, #0872CC 0%, #00C9E8 100%);
  --text:         #1A2A3A;
  --text-muted:   #6B7B8D;
  --text-dim:     #9CAAB8;
  --success:      #10B981;
  --warning:      #F59E0B;
  --danger:       #EF4444;
  --border:       rgba(10, 94, 176, 0.08);
  --border-hover: rgba(10, 94, 176, 0.18);
  --shadow:       0 4px 20px rgba(10, 94, 176, 0.06);
  --shadow-card:  0 8px 32px rgba(10, 94, 176, 0.08);
  --shadow-lg:    0 12px 48px rgba(10, 94, 176, 0.12);
  --radius:       16px;
  --radius-sm:    10px;
  --radius-lg:    24px;
  --font-head:    'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', -apple-system, sans-serif;
  --nav-h:        72px;
  --max-w:        1200px;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; }

/* ── Skip Nav ──────────────────────────────────────────────── */
.skip-nav {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  z-index: 9999;
  transition: top 0.2s;
}
.skip-nav:focus { top: 1rem; color: #fff; }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
}
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p { color: var(--text-muted); line-height: 1.7; }
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  font-family: var(--font-body);
}

/* ── Layout ─────────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 6rem 0; }
.section-sm { padding: 3rem 0; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .label { margin-bottom: 0.75rem; display: block; }
.section-header p { max-width: 560px; margin: 0.75rem auto 0; }

/* ── Navigation ─────────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: rgba(248, 251, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s;
}
#nav.scrolled {
  background: rgba(248, 251, 255, 0.95);
  box-shadow: 0 2px 16px rgba(10, 94, 176, 0.06);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
  text-decoration: none;
}
.nav-logo-icon {
  width: 38px;
  height: 38px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.nav-portal-link {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}
.nav-portal-link:hover { color: var(--primary); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 4px;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
  display: block;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem;
  z-index: 999;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 8px 32px rgba(10, 94, 176, 0.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text);
  font-size: 1rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s;
  min-height: 44px;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
  border: none;
}
.btn-primary:hover {
  background: var(--gradient-h);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 94, 176, 0.25);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid rgba(10, 94, 176, 0.2);
}
.btn-outline:hover {
  background: rgba(10, 94, 176, 0.04);
  border-color: rgba(10, 94, 176, 0.35);
  color: var(--primary);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(10, 94, 176, 0.04);
  color: var(--primary);
  border-color: var(--border-hover);
}
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.85rem; }
.btn-lg { padding: 1rem 2.25rem; font-size: 1.05rem; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #F8FBFF 0%, #EEF4FA 50%, #E0F0FF 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(0,180,216,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(10,94,176,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 3rem;
  align-items: center;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}
.hero-image {
  position: relative;
  z-index: 1;
}
.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: auto;
  object-fit: cover;
}
.hero-image::before {
  content: '';
  position: absolute;
  top: -12px; right: -12px;
  bottom: 12px; left: 12px;
  border: 2px solid rgba(10,94,176,0.1);
  border-radius: var(--radius-lg);
  z-index: -1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(10,94,176,0.08);
  border-radius: 50px;
  padding: 0.45rem 1.1rem;
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1.5rem;
}
.hero h1 { margin-bottom: 1.25rem; }
.hero p { font-size: 1.15rem; max-width: 540px; margin-bottom: 2rem; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(10,94,176,0.08);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.hero-stat-label { font-size: 0.8rem; color: var(--text-muted); }

/* ── Feature Strip ───────────────────────────────────────────── */
.feature-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
  box-shadow: 0 2px 12px rgba(10, 94, 176, 0.04);
}
.feature-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.feature-strip-item { padding: 1rem; }
.feature-strip-icon {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}
.feature-strip-item h4 { font-size: 1rem; margin-bottom: 0.3rem; }
.feature-strip-item p { font-size: 0.82rem; }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  box-shadow: var(--shadow);
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

/* ── Test Cards ───────────────────────────────────────────────── */
.tests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.test-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.test-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.test-category-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-family: var(--font-body);
}
.test-card h3 { font-size: 1.15rem; margin-bottom: 0.5rem; }
.test-card p { font-size: 0.88rem; margin-bottom: 1rem; flex: 1; }
.test-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.test-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--primary);
}
.test-turnaround {
  font-size: 0.78rem;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 500;
}
.test-fasting-badge {
  font-size: 0.72rem;
  background: rgba(245,158,11,0.08);
  color: var(--warning);
  border: 1px solid rgba(245,158,11,0.15);
  border-radius: 50px;
  padding: 0.25rem 0.7rem;
  margin-top: 0.5rem;
  display: inline-block;
  font-weight: 500;
}
.test-filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.filter-btn {
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: all 0.2s;
  cursor: pointer;
  min-height: 44px;
}
.filter-btn.active, .filter-btn:hover {
  background: rgba(10,94,176,0.06);
  border-color: var(--primary);
  color: var(--primary);
}

/* ── How It Works ─────────────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.66% + 1rem);
  right: calc(16.66% + 1rem);
  height: 2px;
  background: var(--gradient);
  opacity: 0.2;
}
.step {
  text-align: center;
  position: relative;
}
.step-num {
  width: 56px;
  height: 56px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(10, 94, 176, 0.2);
}
.step-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 0 auto 1.25rem;
  max-width: 100%;
  height: auto;
  object-fit: cover;
}
.step h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

/* ── AI Explainer Preview ─────────────────────────────────────── */
.explainer-preview {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 520px;
  box-shadow: var(--shadow-card);
}
.explainer-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.explainer-icon {
  width: 40px; height: 40px;
  background: var(--gradient);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.explainer-header h4 { font-size: 0.95rem; color: var(--text); margin-bottom: 0.1rem; }
.explainer-header p { font-size: 0.8rem; }
.traffic-light {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  align-items: center;
}
.traffic-dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  opacity: 0.2;
}
.traffic-dot.active { opacity: 1; }
.traffic-dot.green { background: var(--success); }
.traffic-dot.yellow { background: var(--warning); }
.traffic-dot.red { background: var(--danger); }
.result-bar {
  background: var(--bg-alt);
  border-radius: 50px;
  height: 8px;
  margin: 0.5rem 0 1rem;
  overflow: hidden;
  position: relative;
}
.result-bar-fill {
  height: 100%;
  border-radius: 50px;
  background: var(--gradient);
  width: 42%;
}
.result-bar-range {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  color: var(--text-dim);
}
.result-value {
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.1rem;
}
.result-unit { font-size: 0.85rem; color: var(--text-muted); }

/* ── Trust Section ────────────────────────────────────────────── */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.trust-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}
.trust-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}
.trust-card-icon {
  width: 56px; height: 56px;
  background: rgba(10,94,176,0.06);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: var(--primary);
}
.trust-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.trust-card p { font-size: 0.88rem; }

/* ── CTA Section ─────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(165deg, #0A5EB0 0%, #084A8C 60%, #063A70 100%);
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,180,216,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { margin-bottom: 1rem; color: #fff; }
.cta-section p { margin-bottom: 2rem; font-size: 1.1rem; color: rgba(255,255,255,0.75); }
.cta-section .label { color: var(--accent-light); }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.cta-section .btn-primary {
  background: #fff;
  color: var(--primary);
}
.cta-section .btn-primary:hover {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.cta-section .btn-ghost {
  background: rgba(255,255,255,0.1);
  color: #fff;
  border-color: rgba(255,255,255,0.25);
}
.cta-section .btn-ghost:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

/* ── Footer ──────────────────────────────────────────────────── */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand p { font-size: 0.85rem; margin-top: 0.75rem; max-width: 280px; }
.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text);
  margin-bottom: 1rem;
  font-family: var(--font-body);
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: var(--text-muted); font-size: 0.85rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--text-dim); font-size: 0.8rem; }
.footer-legal a:hover { color: var(--primary); }
.footer-social {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}
.footer-social a {
  color: var(--text-muted);
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.footer-social a:hover { color: var(--primary); }
.hipaa-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(10,94,176,0.05);
  border: 1px solid rgba(10,94,176,0.1);
  border-radius: 50px;
  padding: 0.3rem 0.8rem;
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 600;
}

/* ── Form Styles ──────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  min-height: 44px;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10,94,176,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-dim); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select { appearance: none; }

/* ── Page Hero (subpages) ─────────────────────────────────────── */
.page-hero {
  padding: calc(var(--nav-h) + 4rem) 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, #F8FBFF 0%, #EEF4FA 100%);
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(0,180,216,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .label { margin-bottom: 0.75rem; display: block; }
.page-hero h1 { margin-bottom: 1rem; }
.page-hero p { font-size: 1.1rem; max-width: 560px; margin: 0 auto; }

/* ── Portal Styles ────────────────────────────────────────────── */
.portal-wrap {
  min-height: 100vh;
  padding-top: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(165deg, #F8FBFF 0%, #EEF4FA 100%);
}
.portal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-card);
}
.portal-card h2 { font-size: 1.6rem; margin-bottom: 0.4rem; }
.portal-card .subtitle { font-size: 0.9rem; margin-bottom: 2rem; }
.portal-view { display: none; }
.portal-view.active { display: block; }
.mfa-inputs {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin: 1.5rem 0;
}
.mfa-inputs input {
  width: 48px;
  height: 56px;
  text-align: center;
  font-size: 1.4rem;
  font-weight: 700;
  font-family: var(--font-head);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: border-color 0.2s;
}
.mfa-inputs input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10,94,176,0.08);
}
.portal-dashboard { display: none; }
.dashboard-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2rem;
  min-height: calc(100vh - var(--nav-h));
  padding: calc(var(--nav-h) + 2rem) 1.5rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}
.dashboard-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: calc(var(--nav-h) + 1rem);
  box-shadow: var(--shadow);
}
.sidebar-avatar {
  width: 52px; height: 52px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.75rem;
}
.sidebar-name { font-weight: 600; font-size: 1rem; margin-bottom: 0.15rem; color: var(--text); }
.sidebar-email { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.sidebar-nav { display: flex; flex-direction: column; gap: 0.25rem; }
.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: all 0.2s;
}
.sidebar-nav a:hover, .sidebar-nav a.active {
  background: rgba(10,94,176,0.05);
  color: var(--primary);
}
.result-row {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow);
}
.result-row:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-card);
}
.result-tier-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.result-tier-dot.tier-1 { background: var(--success); }
.result-tier-dot.tier-2 { background: var(--warning); }
.result-tier-dot.tier-3 { background: var(--danger); }
.result-row-name { font-weight: 600; font-size: 0.95rem; flex: 1; color: var(--text); }
.result-row-date { font-size: 0.8rem; color: var(--text-muted); }
.result-row-status {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  font-weight: 500;
}
.status-ready { background: rgba(16,185,129,0.08); color: var(--success); }
.status-pending { background: rgba(245,158,11,0.08); color: var(--warning); }

/* ── Alert / Notice ───────────────────────────────────────────── */
.alert {
  border-radius: var(--radius-sm);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.alert-info { background: rgba(10,94,176,0.06); border: 1px solid rgba(10,94,176,0.12); color: var(--primary); }
.alert-warn { background: rgba(245,158,11,0.06); border: 1px solid rgba(245,158,11,0.15); color: #B45309; }
.alert-success { background: rgba(16,185,129,0.06); border: 1px solid rgba(16,185,129,0.12); color: var(--success); }

/* ── Contact Page ─────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-item-icon {
  width: 48px; height: 48px;
  background: rgba(10,94,176,0.06);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.contact-item p { font-size: 0.88rem; }

/* ── About Page ───────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-visual {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.about-visual .big-num {
  font-family: var(--font-head);
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.value-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.value-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.value-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.value-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ── Privacy / Legal Pages ────────────────────────────────────── */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: calc(var(--nav-h) + 3rem) 1.5rem 5rem;
}
.legal-content h1 { margin-bottom: 0.5rem; font-size: 2.2rem; }
.legal-date { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 3rem; }
.legal-content h2 { font-size: 1.4rem; margin: 2.5rem 0 0.75rem; color: var(--primary); }
.legal-content h3 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
.legal-content p { font-size: 0.95rem; margin-bottom: 0.75rem; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 0.75rem; }
.legal-content ul li {
  font-size: 0.95rem;
  color: var(--text-muted);
  list-style: disc;
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

/* ── 404 Page ─────────────────────────────────────────────────── */
.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  background: var(--bg);
}
.not-found-num {
  font-family: var(--font-head);
  font-size: clamp(6rem, 20vw, 12rem);
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

/* ── Cookie Banner ─────────────────────────────────────────────── */
#cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  max-width: 520px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  z-index: 2000;
  box-shadow: var(--shadow-lg);
  display: none;
}
#cookie-banner.show { display: block; }
#cookie-banner p { font-size: 0.85rem; margin-bottom: 1rem; }
.cookie-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ── Social Links ──────────────────────────────────────────────── */
.footer-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.footer-social a {
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  background: var(--bg-alt);
  color: var(--text-muted);
  transition: all 0.2s;
  font-size: 0;
}
.footer-social a:hover {
  background: rgba(10,94,176,0.08);
  color: var(--primary);
}
.footer-social svg {
  width: 18px; height: 18px;
  fill: currentColor;
}

/* ── Floating WhatsApp Button ──────────────────────────────────── */
.whatsapp-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  z-index: 1500;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37,211,102,0.45);
}
.whatsapp-fab svg {
  width: 28px; height: 28px;
  fill: #fff;
}

/* ── Reduced Motion ────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ── Responsive ─────────────────────────────────────────────────── */
/* ── Section Image (reusable) ──────────────────────────────────── */
.section-img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  width: 100%;
  height: auto;
  object-fit: cover;
}

@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps-grid::before { display: none; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .dashboard-grid { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .hero .container { grid-template-columns: 1fr; }
  .hero-image { display: none; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .feature-strip-inner { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .trust-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .feature-strip-inner { grid-template-columns: 1fr; }
}
