/* ═══════════════════════════════════════════════════════════════════════════
   ARAI Company — Website Stylesheet
   Pure CSS, no frameworks, no dependencies.
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Design tokens ──────────────────────────────────────────────────────── */

:root {
  --bg:              #0a0a0f;
  --bg-surface:      #111119;
  --bg-card:         #16161f;
  --border:          #1e1e2e;
  --border-subtle:   #14141e;

  --text:            #e4e4ef;
  --text-secondary:  #8888a0;
  --text-muted:      #55556a;

  --accent:          #00d4aa;
  --accent-glow:     #00f0c0;
  --accent-subtle:   rgba(0, 212, 170, 0.08);
  --accent-border:   rgba(0, 212, 170, 0.2);

  --error:           #ff6b6b;
  --error-subtle:    rgba(255, 80, 80, 0.08);
  --error-border:    rgba(255, 80, 80, 0.35);

  --radius:          8px;
  --radius-lg:       12px;
  --max-width:       820px;
  --transition:      0.25s ease;
}

/* ── Reset ──────────────────────────────────────────────────────────────── */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

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

/* ── Skip navigation ────────────────────────────────────────────────────── */

.skip-nav {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 200;
  padding: 8px 16px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  font-size: 14px;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.2s;
}

.skip-nav:focus {
  top: 0;
  color: var(--bg);
  outline: none;
}

/* ── Focus visible ──────────────────────────────────────────────────────── */

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Layout ─────────────────────────────────────────────────────────────── */

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

section {
  padding: 80px 0;
}

section + section {
  border-top: 1px solid var(--border-subtle);
}

/* ── Header ─────────────────────────────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text);
  align-self: stretch;
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a.active {
  color: var(--text);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
}

/* ── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  padding: 160px 0 80px;
  text-align: center;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--text) 40%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroFadeUp 0.75s ease 0.1s both;
}

.hero p {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 36px;
  line-height: 1.7;
  animation: heroFadeUp 0.75s ease 0.28s both;
}

@media (prefers-reduced-motion: reduce) {
  .hero h1,
  .hero p { animation: none; }
}

.cta-button {
  display: inline-block;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}

.cta-button:hover {
  background: var(--accent-glow);
  color: var(--bg);
  transform: translateY(-1px);
}

/* ── Section titles ─────────────────────────────────────────────────────── */

.section-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 48px;
}

/* ── Pillars (About) ────────────────────────────────────────────────────── */

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.pillar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: border-color var(--transition), transform var(--transition);
}

.pillar:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

.pillar-icon {
  font-size: 28px;
  margin-bottom: 16px;
  display: block;
}

.pillar h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.pillar p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Product card ───────────────────────────────────────────────────────── */

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}

.product-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.product-header h3 {
  font-size: 22px;
  font-weight: 700;
}

.badge {
  display: inline-block;
  padding: 4px 12px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: 100px;
}

.product-card > p {
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.7;
}

.feature-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.feature-list li {
  font-size: 14px;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
}

.feature-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

.product-cta {
  display: block;
  margin-top: 28px;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  font-size: 15px;
  border-radius: var(--radius);
  text-align: center;
  transition: background var(--transition), transform var(--transition);
}
.product-cta:hover { background: var(--accent-glow); color: var(--bg); transform: translateY(-1px); }

.product-cta--ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent-border);
}
.product-cta--ghost:hover { background: var(--accent-subtle); color: var(--accent); transform: translateY(-1px); }

.badge--live {
  color: #4ade80;
  background: rgba(74, 222, 128, 0.1);
  border-color: rgba(74, 222, 128, 0.3);
}

.badge--wip {
  color: var(--text-secondary);
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.1);
}

.product-card--wip {
  opacity: 0.8;
}
.product-card--wip::before {
  background: linear-gradient(90deg, var(--text-secondary), transparent);
  opacity: 0.4;
}

/* ── Proof cards ────────────────────────────────────────────────────────── */

.proof-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 48px;
}

.proof-card {
  display: flex;
  align-items: center;
  gap: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  transition: border-color var(--transition), transform var(--transition);
}

.proof-card:hover {
  border-color: var(--accent-border);
  transform: translateY(-2px);
}

.proof-stat {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -2px;
  line-height: 1;
  min-width: 96px;
  text-align: center;
  flex-shrink: 0;
}

.proof-desc {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.proof-desc strong {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.proof-desc span {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Task log (Proof section) ───────────────────────────────────────────── */

.task-log {
  margin-top: 40px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 32px;
}

.task-log-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.task-log-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.task-log-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 16px;
  flex-wrap: wrap;
}

.task-log-id {
  font-family: "SF Mono", "Fira Code", "Cascadia Code", monospace;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  flex-shrink: 0;
}

.task-log-desc {
  font-size: 14px;
  color: var(--text);
  flex: 1;
  min-width: 120px;
}

.task-log-meta {
  font-size: 12px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ── Steps (How It Works) ───────────────────────────────────────────────── */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.step {
  text-align: center;
  padding: 32px 20px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Compare table ──────────────────────────────────────────────────────── */

.compare-table {
  margin-top: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.compare-row {
  display: grid;
  grid-template-columns: 160px 1fr 1fr;
  border-bottom: 1px solid var(--border-subtle);
}

.compare-row:last-child {
  border-bottom: none;
}

.compare-row--head {
  background: var(--bg-surface);
}

.compare-feature {
  padding: 14px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
}

.compare-col {
  padding: 14px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.compare-col + .compare-col {
  border-left: 1px solid var(--border-subtle);
}

.compare-col--arai {
  background: var(--accent-subtle);
}

.compare-row--head .compare-col {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}

.compare-row--head .compare-col--arai {
  color: var(--accent);
}

.compare-sub {
  font-size: 11px;
  font-weight: 400;
  color: var(--text-muted);
}

.cmp-check {
  color: var(--accent);
  font-weight: 700;
}

.cmp-x {
  color: var(--text-muted);
  font-weight: 700;
}

/* ── Contact ────────────────────────────────────────────────────────────── */

.contact-section {
  text-align: center;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  transition: border-color var(--transition), transform var(--transition);
}

.contact-link:hover {
  border-color: var(--accent-border);
  color: var(--text);
  transform: translateY(-1px);
}

/* ── Milestones timeline ─────────────────────────────────────────────────── */

.timeline {
  list-style: none;
  margin-top: 48px;
  position: relative;
  padding-left: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 120px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  padding-bottom: 32px;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 116px;
  top: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  z-index: 1;
}

.timeline-date {
  width: 120px;
  flex-shrink: 0;
  padding-right: 28px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  text-align: right;
  padding-top: 3px;
  line-height: 1.4;
}

.timeline-content {
  padding-left: 28px;
}

.timeline-content strong {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  display: block;
  margin-bottom: 4px;
}

.timeline-content p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 480px) {
  .timeline::before { left: 0; }
  .timeline-item { flex-direction: column; padding-left: 16px; }
  .timeline-item::before { left: -4px; top: 4px; }
  .timeline-date { width: auto; text-align: left; padding-right: 0; padding-top: 0; margin-bottom: 4px; }
  .timeline-content { padding-left: 0; }
}

/* ── FAQ ────────────────────────────────────────────────────────────────── */

.faq-list {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.faq-item[open] {
  border-color: var(--accent-border);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: color var(--transition);
  gap: 16px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "+";
  font-size: 22px;
  font-weight: 300;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform var(--transition);
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-question:hover {
  color: var(--accent);
}

.faq-answer {
  padding: 0 24px 20px;
  border-top: 1px solid var(--border-subtle);
}

.faq-answer p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  padding-top: 16px;
}

.faq-answer a {
  color: var(--accent);
}

.faq-answer a:hover {
  color: var(--accent-glow);
}

.faq-answer code {
  font-family: "SF Mono", "Fira Code", "Cascadia Code", monospace;
  font-size: 13px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 6px;
  color: var(--accent);
}

/* ── Footer ─────────────────────────────────────────────────────────────── */

.site-footer {
  padding: 32px 0;
  border-top: 1px solid var(--border-subtle);
}

.site-footer p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { font-size: 13px; color: var(--text-muted); }
.footer-nav a:hover { color: var(--accent); }

/* ── Hamburger menu ────────────────────────────────────────────────────── */

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 22px;
  padding: 4px 10px;
  cursor: pointer;
  transition: border-color var(--transition);
}

.nav-toggle:hover {
  border-color: var(--accent-border);
}

/* ── Scroll fade-in ────────────────────────────────────────────────────── */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Hover scale effects ───────────────────────────────────────────────── */

.pillar:hover,
.step:hover {
  transform: translateY(-2px) scale(1.02);
}

/* ── Metrics strip ──────────────────────────────────────────────────────── */

.metrics-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 28px 0; }
.metrics-strip .container { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; }
.metric { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.metric-value { font-size: 28px; font-weight: 700; color: var(--accent); line-height: 1; }
.metric-label { font-size: 13px; color: var(--text-secondary); text-align: center; }

/* ── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .pillars {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .feature-list {
    grid-template-columns: 1fr;
  }

  .proof-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .proof-stat {
    font-size: 40px;
    min-width: unset;
    text-align: left;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 13px;
  }

  section {
    padding: 60px 0;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .product-card {
    padding: 28px 20px;
  }

  .compare-row {
    grid-template-columns: 1fr 1fr;
  }

  .compare-feature {
    grid-column: span 2;
    border-right: none;
    border-bottom: 1px solid var(--border-subtle);
    background: var(--bg-surface);
    font-size: 12px;
    padding: 10px 16px;
  }

  .compare-row--head .compare-feature {
    display: none;
  }

  .compare-col {
    padding: 10px 16px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    min-width: 44px;
  }

  /* Reduce nested padding — container(24px) + faq-answer(24px) = 48px/side → 279px text area */
  .faq-answer {
    padding: 0 16px 16px;
  }

  /* Ensure product H3 wraps cleanly rather than overflowing */
  .product-header h3 {
    font-size: 19px;
    word-break: break-word;
  }

  /* Bump compare table text from 13px to 14px for legibility */
  .compare-col {
    font-size: 14px;
  }

  /* Prevent long words in compare cells from causing overflow */
  .compare-feature,
  .compare-col {
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* Explicit touch target for product CTAs */
  .product-cta {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #main-nav {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 8px 24px;
  }

  #main-nav.nav-open {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    gap: 0;
  }

  /* Ensure 44px touch targets for mobile nav links */
  .nav-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 15px;
    padding: 0 4px;
    border-bottom: 1px solid var(--border-subtle);
  }

  .nav-links li:last-child a {
    border-bottom: none;
  }

  section {
    padding: 48px 0;
  }

  .hero {
    padding: 90px 0 48px;
  }

  .hero h1 {
    font-size: 28px;
    letter-spacing: -1px;
  }

  .hero p {
    font-size: 16px;
  }

  .metrics-strip .container {
    gap: 8px;
  }

  /* Each metric gets equal width so all 3 fit on one row at 375px */
  .metric {
    flex: 1;
    min-width: 0;
  }

  .metric-label {
    font-size: 12px;
  }

  /* Proof card: reduce horizontal padding to maximise content width at 375px */
  .proof-card {
    padding: 20px 16px;
  }

  .contact-links {
    flex-direction: column;
    align-items: center;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    justify-content: center;
  }

  /* Product header: allow badge to wrap under title on tight widths */
  .product-header {
    flex-wrap: wrap;
  }

  /* Tighten section subtitle spacing and size for small screens */
  .section-subtitle {
    font-size: 16px;
    margin-bottom: 32px;
  }

  /* Badge and compare sub-label too small at 11px — bump to 12px */
  .badge {
    font-size: 12px;
  }

  .compare-sub {
    font-size: 12px;
  }

  /* Hero CTA: full-width on small screens for better touch target width */
  .cta-button {
    display: block;
    width: 100%;
    text-align: center;
  }

  /* Contact link: stretch to full container width on mobile */
  .contact-links {
    align-items: stretch;
  }

  /* Task log items: stack vertically to prevent cramped wrapping at 375px */
  .task-log-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .task-log-desc {
    min-width: unset;
  }

  /* Compare table: full-width stacking on phones to prevent cramped 163px cols */
  .compare-row {
    grid-template-columns: 1fr;
  }

  .compare-feature {
    grid-column: span 1;
  }

  .compare-col + .compare-col {
    border-left: none;
    border-top: 1px solid var(--border-subtle);
  }

  /* Footer nav: ensure 44px touch targets on mobile */
  .footer-nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    padding: 0 4px;
  }
}

/* ── Very small screens (≤ 360px) ───────────────────────────────────────── */

@media (max-width: 360px) {
  .container {
    padding: 0 16px;
  }
}

/* ── Sticky CTA Bar ─────────────────────────────────────────────────────── */

.sticky-cta-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: var(--bg-card);
  border-top: 1px solid var(--accent-border);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.sticky-cta-bar.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-cta-msg {
  font-size: 14px;
  color: var(--text-secondary);
  margin: 0;
}

.sticky-cta-btn {
  display: inline-block;
  padding: 9px 20px;
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
  font-size: 14px;
  border-radius: var(--radius);
  white-space: nowrap;
  transition: background var(--transition), transform var(--transition);
}

.sticky-cta-btn:hover {
  background: var(--accent-glow);
  color: var(--bg);
  transform: translateY(-1px);
}

.sticky-cta-dismiss {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: var(--radius);
  transition: color var(--transition);
  flex-shrink: 0;
  margin-left: 4px;
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sticky-cta-dismiss:hover {
  color: var(--text);
}

@media (max-width: 480px) {
  .sticky-cta-bar {
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
    text-align: center;
  }

  .sticky-cta-msg {
    width: 100%;
  }

  .sticky-cta-btn {
    flex: 1;
    text-align: center;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

