/* Shared CSS for ported nahla.ai pages — uniform with the v8 landing
   theme. Keeps each page small and consistent. */
* { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --teal-dark: #6ba8b0; --teal-pop: #5EEAD4; --teal-soft: #F0FDFA;
  --canvas: #FAFAF9; --white: #FFFFFF;
  --ink: #1f2937; --ink-soft: #4b5563; --ink-faint: #6b7280;
  --line: #E5E7EB; --line-soft: #F3F4F6; --slate-50: #F8FAFC;
  --green: #10B981; --red: #EF4444; --amber: #F59E0B;
  --dark-ink: #0F172A;
  --cta-blue: #2563eb; --cta-blue-dark: #1d4ed8; --cta-blue-soft: #DBEAFE;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  color: var(--ink); background: var(--canvas); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 760px; }

/* ── NAV (uniform across pages, matches landing) ─────────────────── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,249,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line); padding: 12px 0;
}
nav .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { height: 56px; max-width: 240px; object-fit: contain; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a:not(.btn) { color: var(--ink-soft); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav-links a:not(.btn):hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 999px; font-weight: 700;
  font-size: 14px; text-decoration: none; cursor: pointer;
  border: none; white-space: nowrap;
}
.btn-primary {
  background: #1e40af; color: #ffffff !important;
  font-size: 15px; padding: 11px 24px;
  -webkit-font-smoothing: antialiased;
}
.btn-primary:hover { background: #1e3a8a; }
.btn-ghost { background: transparent; color: var(--cta-blue); border: 2px solid var(--cta-blue); padding: 8px 20px; }
@media (max-width: 860px) { .nav-links a:not(.btn) { display: none; } }

/* ── PAGE HERO ───────────────────────────────────────────────────── */
.page-hero {
  padding: 64px 0 32px; text-align: center;
  background: var(--canvas);
}
.page-hero h1 { font-size: 40px; line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 14px; max-width: 800px; margin-left: auto; margin-right: auto; }
.page-hero .lede { font-size: 17px; color: var(--ink-soft); max-width: 700px; margin: 0 auto; }
.page-hero small { font-size: 13px; color: var(--ink-faint); }
@media (max-width: 600px) { .page-hero h1 { font-size: 28px; } }

.eyebrow {
  display: inline-block; padding: 4px 12px;
  background: rgba(94,234,212,0.18); color: var(--teal-dark);
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  border-radius: 100px; margin-bottom: 14px;
}

section { padding: 48px 0; }
.section-title { font-size: 28px; font-weight: 700; line-height: 1.2; margin-bottom: 12px; text-align: center; }
.section-sub { font-size: 15px; color: var(--ink-soft); text-align: center; margin-bottom: 32px; max-width: 720px; margin-left: auto; margin-right: auto; }

/* ── HIGHLIGHTS STRIP (key terms, privacy highlights, etc.) ──────── */
.highlight-strip {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px; margin: 24px 0;
}
.highlight {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 14px; text-align: center;
}
.highlight-title { font-size: 18px; font-weight: 700; color: var(--ink); }
.highlight-sub   { font-size: 11px; color: var(--ink-faint); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 600; }

/* ── PROSE (legal pages, about) ──────────────────────────────────── */
.prose h2 { font-size: 20px; margin: 28px 0 10px; line-height: 1.3; color: var(--ink); }
.prose h3 { font-size: 15px; font-weight: 600; margin: 18px 0 6px; color: var(--cta-blue); }
.prose p  { font-size: 15px; color: var(--ink-soft); margin: 8px 0; line-height: 1.65; }
.prose ul { padding-left: 0; list-style: none; margin: 8px 0; }
.prose ul li {
  font-size: 14px; color: var(--ink-soft);
  padding: 4px 0 4px 22px; position: relative; line-height: 1.55;
}
.prose ul li::before {
  content: '✓'; position: absolute; left: 0; top: 4px;
  color: var(--cta-blue); font-weight: 700;
}
.prose strong { color: var(--ink); font-weight: 600; }
.prose a { color: var(--cta-blue); }
.prose-section {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 22px 28px; margin-bottom: 16px;
}

/* ── FAQ ────────────────────────────────────────────────────────── */
.faq-category-title {
  font-size: 14px; font-weight: 700; color: var(--ink-faint);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin: 28px 0 12px;
}
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 18px 22px; margin-bottom: 8px;
}
.faq-item summary {
  cursor: pointer; font-weight: 600; color: var(--ink); list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 15px;
}
.faq-item summary::after { content: '+'; font-size: 22px; color: var(--ink-faint); font-weight: 400; }
.faq-item[open] summary::after { content: '−'; }
.faq-item p { font-size: 14px; color: var(--ink-soft); margin-top: 12px; line-height: 1.6; }

/* ── PRICING TIERS ───────────────────────────────────────────────── */
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 24px 0; }
.tier {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 24px; display: flex; flex-direction: column;
  position: relative;
}
.tier.popular { border: 2px solid var(--cta-blue); box-shadow: 0 16px 40px -16px rgba(37,99,235,0.2); }
.tier.popular::before {
  content: 'MOST POPULAR'; position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--cta-blue); color: #fff; font-size: 10px; font-weight: 700;
  padding: 4px 10px; border-radius: 4px; letter-spacing: 0.06em;
}
.tier-name { font-size: 13px; font-weight: 700; color: var(--ink-faint); text-transform: uppercase; letter-spacing: 0.05em; }
.tier-price { font-size: 32px; font-weight: 800; color: var(--ink); margin: 8px 0 4px; }
.tier-price small { font-size: 14px; font-weight: 500; color: var(--ink-faint); }
.tier-tagline { font-size: 13px; color: var(--ink-soft); margin-bottom: 16px; min-height: 2.6em; }
.tier ul { list-style: none; padding: 0; margin: 12px 0 16px; }
.tier ul li { font-size: 13px; color: var(--ink); padding: 5px 0 5px 22px; position: relative; line-height: 1.5; }
.tier ul li.included::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.tier ul li.excluded { color: var(--ink-faint); }
.tier ul li.excluded::before { content: '✗'; position: absolute; left: 0; color: var(--ink-faint); font-weight: 700; }
.tier .btn { margin-top: auto; justify-content: center; }

/* ── FEATURE / BENEFIT CARD GRID ─────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; margin: 24px 0; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 22px;
}
.card-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: rgba(37,99,235,0.1); color: var(--cta-blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 12px; font-weight: 700;
}
.card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; color: var(--ink); }
.card p { font-size: 13px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 8px; }
.card ul { list-style: none; padding: 0; margin-top: 8px; }
.card ul li { font-size: 12px; color: var(--ink-soft); padding: 3px 0 3px 18px; position: relative; }
.card ul li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; font-size: 13px; }

/* ── STEP / WORKFLOW ─────────────────────────────────────────────── */
.steps-list { display: flex; flex-direction: column; gap: 16px; max-width: 880px; margin: 24px auto 0; }
.step-row {
  display: grid; grid-template-columns: 80px 1fr;
  gap: 18px; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  padding: 20px 24px;
}
.step-row .step-num {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--cta-blue); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800;
}
.step-row h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.step-row p { font-size: 14px; color: var(--ink-soft); line-height: 1.55; }
.step-row ul { list-style: none; padding: 0; margin-top: 8px; }
.step-row ul li { font-size: 13px; color: var(--ink-soft); padding: 3px 0 3px 18px; position: relative; }
.step-row ul li::before { content: '✓'; position: absolute; left: 0; color: var(--green); font-weight: 700; font-size: 13px; }

/* ── CTA (plain — no card, no gradient) ──────────────────────────── */
.cta-plain { padding: 32px 0 56px; text-align: center; }
.cta-plain h2 { font-size: 28px; line-height: 1.2; margin-bottom: 10px; }
.cta-plain p { font-size: 15px; color: var(--ink-soft); margin-bottom: 20px; }
.cta-link {
  display: inline-block;
  color: var(--cta-blue);
  font-size: 16px; font-weight: 600;
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--cta-blue);
}
.cta-link:hover { transform: translateX(2px); }

/* ── FOOTER ──────────────────────────────────────────────────────── */
footer {
  background: var(--dark-ink); color: rgba(250,250,249,0.6);
  padding: 32px 0; text-align: center; font-size: 13px;
  margin-top: 24px;
}
footer a { color: var(--teal-pop); text-decoration: none; }
