/* ============================================================
   DESIGN TOKENS — BLUE & GREEN (avatar colour scheme)
   ============================================================ */
:root {
  --bg:          #030d1c;
  --surface:     #071628;
  --surface-2:   #050f20;
  --accent:      #1d6fe8;          /* avatar royal blue */
  --accent-green: #22c55e;         /* avatar vivid green */
  --text:        #ffffff;
  --text-muted:  #94a3b8;
  --border:      #1b3a6b;
  --accent-10:  rgba(29, 111, 232, 0.1);
  --accent-18:  rgba(29, 111, 232, 0.18);
  --green-10:   rgba(34, 197, 94, 0.1);
  --bg-95:      rgba(3, 13, 28, 0.95);
  --font:        'Inter', system-ui, sans-serif;
  --radius:      8px;
  --max-w:       1100px;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.2;
}
h3 { font-size: 1.1rem; font-weight: 600; }
p { color: var(--text-muted); }

/* ============================================================
   LAYOUT
   ============================================================ */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 24px; }

.badge {
  display: inline-block;
  color: var(--accent-green);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: opacity 0.15s, transform 0.15s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:hover { opacity: 0.85; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #1558c0 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(29, 111, 232, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
.btn-sm { padding: 7px 16px; font-size: 0.8rem; }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

/* ============================================================
   NAV
   ============================================================ */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
#nav.scrolled {
  background: var(--bg-95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-color: var(--border);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.15em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a:not(.btn) {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color 0.15s;
}
.nav-links a:not(.btn):hover { color: var(--text); }

/* ============================================================
   HERO
   ============================================================ */
#hero {
  padding-top: 120px;
  padding-bottom: 60px;
  position: relative;
  overflow: hidden;
}
/* Dual-colour radial glow — blue left, green right */
#hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at 25% 55%, rgba(29,111,232,0.20) 0%, transparent 65%),
              radial-gradient(ellipse at 75% 55%, rgba(34,197,94,0.13) 0%, transparent 65%);
  pointer-events: none;
}
.hero-inner {
  display: flex;
  align-items: flex-end;
  gap: 0;
}
.hero-text {
  flex: 1;
  min-width: 0;
  text-align: center;
  padding-bottom: 24px;
}
.hero-avatar {
  display: none;
}
.hero-avatar-left  { background-position: left bottom; }
.hero-avatar-right { background-position: right bottom; }
#hero h1 { max-width: 16ch; margin: 0 auto; }
/* Accent the last line in green */
#hero h1 em {
  font-style: normal;
  color: var(--accent-green);
}
.hero-sub {
  max-width: 480px;
  margin: 16px auto 10px;
  font-size: 1.1rem;
  line-height: 1.7;
}
.hero-reassurance {
  font-size: 0.82rem;
  color: var(--accent-green);
  max-width: 420px;
  margin: 0 auto 28px;
  opacity: 0.9;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* ============================================================
   STATS
   ============================================================ */
#stats {
  padding: 36px 24px;
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: flex;
  justify-content: center;
  gap: 64px;
  text-align: center;
  flex-wrap: wrap;
}
.stat-value {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-green);   /* green for stats — energetic, positive */
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ============================================================
   USE CASES
   ============================================================ */
#use-cases { text-align: center; }
#use-cases h2 { margin-bottom: 40px; }
.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}
.use-case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-align: left;
}
.use-case-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(29, 111, 232, 0.2);
}
.use-icon { font-size: 1.8rem; display: block; margin-bottom: 12px; }
.use-case-card h3 { margin-bottom: 6px; }
.use-case-card p { font-size: 0.85rem; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
#how-it-works {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
#how-it-works h2 { margin-bottom: 48px; }
.steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 540px;
  margin: 0 auto;
  text-align: left;
}
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-green);   /* green step numbers */
  color: #030d1c;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 16px rgba(34, 197, 94, 0.4);
}
.step h3 { margin-bottom: 4px; }

/* ============================================================
   QUIZ / GET STARTED SECTION
   ============================================================ */
#get-started {
  text-align: center;
  background: linear-gradient(160deg, var(--surface) 0%, var(--bg) 100%);
}
#get-started h2 { margin-bottom: 12px; }
.section-sub {
  max-width: 480px;
  margin: 0 auto 40px;
  font-size: 1rem;
}
#quiz {
  max-width: 520px;
  margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  text-align: left;
}
.quiz-step.hidden { display: none; }
.quiz-question {
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.quiz-opt {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text-muted);
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 0.9rem;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.quiz-opt:hover { border-color: var(--accent); color: var(--text); }
.quiz-opt.selected {
  border-color: var(--accent);
  background: var(--accent-10);
  color: var(--text);
}
.quiz-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}
.quiz-input {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 0.9rem;
  width: 100%;
  transition: border-color 0.15s;
}
.quiz-input::placeholder { color: var(--text-muted); }
.quiz-input:focus { border-color: var(--accent); outline: none; }
.gdpr-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  margin-bottom: 18px;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1.5;
}
.gdpr-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--accent-green);
  cursor: pointer;
}
.form-gdpr { margin-top: 8px; font-size: 0.72rem; color: var(--text-muted); line-height: 1.5; }
.form-gdpr a { color: var(--text-muted); text-decoration: underline; }
.form-gdpr a:hover { color: var(--text); }
.quiz-thanks-heading {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 12px;
}
.quiz-thanks-heading + p { margin-bottom: 20px; }

.quiz-code-msg {
  min-height: 1.1em;
  margin: 8px 0 4px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.quiz-code-msg.error { color: #ff7a7a; }
.quiz-resend {
  margin-top: 10px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 4px 8px;
}
.quiz-resend:hover { color: var(--text); }
.quiz-resend:disabled { opacity: 0.5; cursor: default; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  padding: 24px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-copy { font-size: 0.8rem; color: var(--text-muted); }
.footer-copy a { color: var(--text-muted); text-decoration: underline; }
.footer-copy a:hover { color: var(--text); }
.footer-phone { font-size: 0.9rem; font-weight: 600; color: var(--accent-green); text-decoration: none; letter-spacing: 0.02em; }
.footer-phone:hover { color: var(--text); }

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   FAQ
   ============================================================ */
#faq { background: var(--surface-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
#faq h2 { margin-bottom: 40px; text-align: center; }
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: var(--accent-green); }
.faq-item summary {
  padding: 18px 20px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  color: var(--accent-green);
  font-size: 1.4rem;
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
  padding: 0 20px 18px;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ============================================================
   PRICING PAGE
   ============================================================ */
.pricing-hero {
  padding-top: 140px;
  padding-bottom: 16px;
}
.pricing-hero-inner { text-align: center; }
.pricing-hero .hero-sub { margin-bottom: 0; }

.pricing-cards-section { padding: 48px 24px 72px; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
  align-items: start;
}
.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}
.pricing-card--featured {
  border-color: var(--accent-green);
  box-shadow: 0 0 48px rgba(34, 197, 94, 0.14);
}
.pricing-popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-green);
  color: #030d1c;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
}
.pricing-card-top { display: flex; flex-direction: column; }
.pricing-tier {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.pricing-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 14px;
}
.pricing-from { font-size: 0.85rem; color: var(--text-muted); }
.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}
.pricing-period { font-size: 0.85rem; color: var(--text-muted); }
.pricing-price--contact { align-items: center; min-height: 48px; }
.pricing-contact {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-green);
}
.pricing-tagline {
  font-size: 0.85rem;
  line-height: 1.55;
  color: var(--text-muted);
}
.pricing-features {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li {
  font-size: 0.875rem;
  color: var(--text-muted);
  padding-left: 22px;
  position: relative;
  line-height: 1.5;
}
.pricing-features li::before {
  content: '✓';
  color: var(--accent-green);
  font-weight: 700;
  position: absolute;
  left: 0;
}
.pricing-btn {
  width: 100%;
  justify-content: center;
}
.pricing-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 20px;
}

.pricing-faq-section {
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 24px;
}
.pricing-faq-section h2 { text-align: center; margin-bottom: 40px; }

.pricing-bottom-cta { padding: 80px 24px; }
.pricing-bottom-cta-inner { text-align: center; max-width: var(--max-w); margin: 0 auto; }
.pricing-bottom-cta h2 { margin-bottom: 12px; }
.pricing-bottom-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

@media (max-width: 800px) {
  .pricing-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .pricing-card--featured { margin-top: 16px; }
}
@media (max-width: 640px) {
  .pricing-hero { padding-top: 100px; }
  .pricing-cards-section { padding: 24px 16px 60px; }
  .pricing-faq-section { padding: 60px 16px; }
  .pricing-bottom-cta { padding: 60px 16px; }
  .pricing-amount { font-size: 2.4rem; }
  .pricing-bottom-btns { flex-direction: column; align-items: stretch; }
  .pricing-bottom-btns .btn { justify-content: center; }
}

/* ============================================================
   BLOG INDEX
   ============================================================ */
.blog-header {
  padding-top: 140px;
  padding-bottom: 60px;
  text-align: center;
}
.blog-header h1 { margin-bottom: 12px; }
.blog-header p { font-size: 1.1rem; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 80px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  text-decoration: none;
}
.blog-card__img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.blog-card__body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.blog-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.blog-card h2 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}
.blog-card p {
  font-size: 0.875rem;
  flex: 1;
  color: var(--text-muted);
}
.blog-card__meta {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.blog-card__link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent);
  align-self: flex-start;
}

/* ============================================================
   ARTICLE PAGES
   ============================================================ */
.article-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
  margin-bottom: 40px;
}
.article-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}
.article-breadcrumb {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}
.article-breadcrumb a { color: var(--text-muted); }
.article-breadcrumb a:hover { color: var(--text); }
.article-header { margin-bottom: 40px; }
.article-header h1 { margin-bottom: 12px; }
.article-byline {
  font-size: 0.82rem;
  color: var(--text-muted);
}
.article-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin: 36px 0 12px;
}
.article-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 8px;
}
.article-body p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}
.article-body ul, .article-body ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.article-body li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 6px;
}
.article-body strong { color: var(--text); font-weight: 600; }
.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 24px;
  font-size: 0.875rem;
}
.article-body th, .article-body td {
  text-align: left;
  padding: 10px 14px;
  border: 1px solid var(--border);
}
.article-body th {
  background: var(--surface-2);
  color: var(--text);
  font-weight: 600;
}
.article-body td { color: var(--text-muted); }
.article-cta {
  margin-top: 56px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--accent);
  border-radius: 12px;
  text-align: center;
}
.article-cta h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 8px;
}
.article-cta p { margin-bottom: 20px; }

/* ============================================================
   CALL BUTTON
   ============================================================ */
.btn-call {
  background: linear-gradient(135deg, var(--accent-green) 0%, #16a34a 100%);
  color: #fff;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.30);
}
.btn-call:hover { opacity: 0.9; }

/* ============================================================
   HANDOFF CALLOUT STRIP
   ============================================================ */
.handoff-strip {
  background: linear-gradient(90deg, rgba(29,111,232,0.07) 0%, rgba(34,197,94,0.07) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 24px;
}
.handoff-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 720px;
}
.handoff-icon { font-size: 2.2rem; flex-shrink: 0; }
.handoff-copy { display: flex; flex-direction: column; gap: 4px; }
.handoff-copy strong { color: var(--text); font-size: 1rem; font-weight: 700; }
.handoff-copy span { color: var(--text-muted); font-size: 0.875rem; line-height: 1.6; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials { background: var(--surface-2); }
#testimonials h2 { text-align: center; margin-bottom: 40px; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-quote {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text);
  flex: 1;
}
.testimonial-author strong { display: block; color: var(--text); font-size: 0.9rem; }
.testimonial-author span { font-size: 0.8rem; color: var(--text-muted); }

/* ============================================================
   INDUSTRIES
   ============================================================ */
#industries { text-align: center; }
#industries h2 { margin-bottom: 12px; }
#industries .section-sub { margin-bottom: 36px; }
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
}
.industry-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 22px;
  font-size: 0.875rem;
  color: var(--text-muted);
  transition: border-color 0.2s, color 0.2s;
}
.industry-item:hover { border-color: var(--accent); color: var(--text); }

/* ============================================================
   FEATURES / EVERYTHING INCLUDED
   ============================================================ */
#features { background: var(--surface-2); }
#features h2 { text-align: center; margin-bottom: 40px; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}
.feature-item {
  display: flex;
  gap: 16px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.feature-icon { font-size: 1.8rem; flex-shrink: 0; line-height: 1; }
.feature-item h3 { margin-bottom: 6px; }
.feature-item p { font-size: 0.85rem; }

/* ============================================================
   TRUST BAR
   ============================================================ */
#trust {
  padding: 36px 24px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.trust-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.trust-item span:first-child { font-size: 1.2rem; }

/* Button label variants (swapped on mobile) */
.btn-label-mobile { display: none; }
.btn-label-full { display: inline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px) {
  /* Nav */
  .nav-links a:not(.btn) { display: none; }

  /* Sections */
  section { padding: 60px 16px; }
  #hero { padding-top: 100px; padding-bottom: 40px; }
  #stats { padding: 28px 16px; }
  .stats-grid { gap: 24px; }
  .stat-value { font-size: 1.8rem; }

  /* Hero: hide side avatars on mobile, text already centred */
  .hero-avatar { display: none; }

  /* Hero CTAs — full width on mobile for easy tapping */
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-ctas .btn {
    justify-content: center;
    width: 100%;
  }

  /* New sections: single column on mobile */
  .testimonials-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .trust-bar { gap: 20px; }

  /* Quiz submit button: shorter label on mobile */
  .btn-label-full { display: none; }
  .btn-label-mobile { display: inline; }

  /* Use cases: single column on mobile */
  .use-cases-grid { grid-template-columns: 1fr; }

  /* Quiz card */
  #quiz {
    padding: 20px 16px;
    border-radius: 10px;
  }
  .quiz-question { font-size: 0.95rem; }
  .quiz-opt {
    padding: 14px 14px;  /* taller touch targets */
    font-size: 0.875rem;
  }
  .quiz-input {
    padding: 14px 14px;
    font-size: 1rem;     /* prevent iOS zoom on focus */
  }
  .btn.quiz-next,
  .btn.quiz-submit {
    width: 100%;
    justify-content: center;
  }

  /* Handoff strip */
  .handoff-inner { gap: 14px; }
  .handoff-icon { font-size: 1.6rem; }

  /* FAQ */
  .faq-item summary { font-size: 0.875rem; padding: 16px; }
  .faq-item p { padding: 0 16px 16px; }

  /* Get started section sub-heading */
  .section-sub { font-size: 0.9rem; margin-bottom: 28px; }

  /* Blog & article pages */
  .blog-header { padding-top: 100px; }
  .blog-grid { padding: 0 16px 60px; }
  .article-wrap { padding: 90px 20px 60px; }
  .article-body table { font-size: 0.78rem; }
  .article-body th, .article-body td { padding: 8px 10px; }
}
