/* ============================================================
   RS AI WIZARD — page-specific components
   Layers on top of the shared RS Method design system (styles.css):
   inherits tokens, buttons, gradient text, orbs, nav + footer chrome.
   Everything here is unique to the AI Wizard sales page.
   ============================================================ */

/* ---- Reveal: opacity:0 -> .in (observer added at page bottom) ---- */
.fx { opacity: 0; transform: translateY(26px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22,1,.36,1); }
.fx.in { opacity: 1; transform: none; }
.fx-d1 { transition-delay: .08s; }
.fx-d2 { transition-delay: .16s; }
.fx-d3 { transition-delay: .24s; }

/* ---- Section rhythm ---- */
.sec { padding: 96px 0; position: relative; z-index: 2; }
.sec-tight { padding: 64px 0; }
.sec-head { max-width: 760px; margin: 0 auto 56px; text-align: center; }
.sec-head .section-title { margin-bottom: 18px; }
.sec-lead { color: var(--text-dim); font-size: clamp(16px,1.5vw,19px); line-height: 1.7; }
.step-num { font-family: 'Plus Jakarta Sans'; font-weight: 800; letter-spacing: .18em;
  font-size: 13px; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; display:block; }

/* ============================================================
   HERO
   ============================================================ */
.aiw-hero { padding: 132px 0 84px; text-align: center; position: relative; z-index: 2; }
.aiw-hero .eyebrow { margin-bottom: 26px; }
.aiw-hero h1 { font-size: clamp(34px, 5.6vw, 68px); line-height: 1.06;
  letter-spacing: -0.025em; font-weight: 800; max-width: 16ch; margin: 0 auto 26px; }
.aiw-hero-sub { color: var(--text-dim); font-size: clamp(17px,1.7vw,21px);
  line-height: 1.66; max-width: 60ch; margin: 0 auto 38px; }
.aiw-hero-sub strong { color: var(--text); font-weight: 600; }
.aiw-cta-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-trust { margin-top: 30px; color: var(--muted); font-size: 14px; letter-spacing: .01em; }
.hero-trust strong { color: var(--text-dim); font-weight: 600; }

/* channel pill row under hero */
.hero-flow { margin: 54px auto 0; max-width: 880px; display: flex; flex-wrap: wrap;
  gap: 12px; justify-content: center; }
.flow-chip { display: inline-flex; align-items: center; gap: 9px; padding: 11px 18px;
  border-radius: 999px; background: rgba(255,255,255,.03); border: 1px solid var(--border-strong);
  font-size: 14px; font-weight: 500; color: var(--text-dim); }
.flow-chip svg { width: 17px; height: 17px; stroke: var(--cyan); flex: none; }

/* ============================================================
   STAT STRIP
   ============================================================ */
.stat-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 40px 0; }
.stat-strip .stat { text-align: center; }
.stat-strip .stat-num { font-size: clamp(26px,3vw,40px); font-weight: 800; line-height: 1;
  background: var(--grad-cyan); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; }
.stat-strip .stat-label { margin-top: 10px; color: var(--text-dim); font-size: 14px; }

/* ============================================================
   PAIN / INTRO
   ============================================================ */
.pain-wrap { max-width: 780px; margin: 0 auto; text-align: center; }
.pain-wrap p { color: var(--text-dim); font-size: clamp(17px,1.6vw,20px); line-height: 1.7;
  margin-bottom: 20px; }
.pain-wrap .lead-em { color: var(--text); font-weight: 600; }

/* ============================================================
   3 STEPS
   ============================================================ */
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.step-card { background: linear-gradient(180deg, var(--card) 0%, var(--card-2) 100%);
  border: 1px solid var(--border-strong); border-radius: 20px; padding: 34px 30px; }
.step-card .step-ico { width: 50px; height: 50px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(124,232,225,.16), rgba(139,124,255,.16));
  border: 1px solid var(--border-strong); }
.step-card .step-ico svg { width: 24px; height: 24px; stroke: var(--cyan); }
.step-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 12px; }
.step-card p { color: var(--text-dim); font-size: 15.5px; line-height: 1.65; }

/* ============================================================
   CHANNEL GRID (Step 1)
   ============================================================ */
.channel-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; max-width: 940px; margin: 0 auto; }
.channel-card { display: flex; gap: 18px; align-items: flex-start; padding: 26px 26px;
  background: rgba(255,255,255,.02); border: 1px solid var(--border); border-radius: 16px;
  transition: border-color .25s, transform .25s, background .25s; }
.channel-card:hover { border-color: var(--border-strong); transform: translateY(-3px);
  background: rgba(255,255,255,.035); }
.channel-card .ch-ico { flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center; background: rgba(124,232,225,.10); border: 1px solid var(--border-strong); }
.channel-card .ch-ico svg { width: 21px; height: 21px; stroke: var(--cyan); }
.channel-card h4 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.channel-card p { color: var(--text-dim); font-size: 14.5px; line-height: 1.6; }

/* ============================================================
   FEATURE GRID (campaigns + funnels)
   ============================================================ */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.feat-card { background: linear-gradient(180deg, var(--card) 0%, var(--card-2) 100%);
  border: 1px solid var(--border); border-radius: 18px; padding: 28px 26px;
  transition: border-color .25s, transform .25s; position: relative; overflow: hidden; }
.feat-card:hover { border-color: rgba(139,124,255,.45); transform: translateY(-4px); }
.feat-card .feat-tag { font-size: 11px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--purple); margin-bottom: 12px; display: block; }
.feat-card h3 { font-size: 18.5px; font-weight: 700; line-height: 1.25; margin-bottom: 11px; }
.feat-card p { color: var(--text-dim); font-size: 14.5px; line-height: 1.62; }
.feat-card .feat-meta { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border);
  font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 7px; }
.feat-card .feat-meta svg { width: 14px; height: 14px; stroke: var(--cyan); flex:none; }

/* ============================================================
   AI INBOX
   ============================================================ */
.inbox-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.inbox-list { display: grid; gap: 16px; }
.inbox-item { display: flex; gap: 16px; align-items: flex-start; }
.inbox-item .ix-dot { flex: none; width: 30px; height: 30px; border-radius: 9px; margin-top: 2px;
  display: grid; place-items: center; background: var(--grad-btn);
  box-shadow: 0 6px 18px -6px rgba(139,124,255,.6); }
.inbox-item .ix-dot svg { width: 15px; height: 15px; stroke: #fff; }
.inbox-item p { color: var(--text-dim); font-size: 15.5px; line-height: 1.62; }
.inbox-item p strong { color: var(--text); font-weight: 600; }
/* faux inbox mockup */
.inbox-mock { background: linear-gradient(180deg, var(--card) 0%, var(--card-2) 100%);
  border: 1px solid var(--border-strong); border-radius: 22px; padding: 22px;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.7); }
.inbox-mock-head { display: flex; align-items: center; gap: 10px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.inbox-mock-head .imh-title { font-weight: 700; font-size: 15px; }
.imh-ch { margin-left: auto; display: flex; gap: 6px; }
.imh-ch span { width: 8px; height: 8px; border-radius: 50%; background: var(--purple); opacity: .6; }
.imh-ch span:nth-child(2){ background: var(--cyan);} .imh-ch span:nth-child(3){ background:#C58BFF;}
.bubble { max-width: 78%; padding: 11px 15px; border-radius: 14px; font-size: 14px; line-height: 1.5;
  margin-bottom: 12px; }
.bubble.them { background: rgba(255,255,255,.05); border: 1px solid var(--border); color: var(--text-dim);
  border-bottom-left-radius: 4px; }
.bubble.you { background: var(--grad-btn); color: #fff; margin-left: auto;
  border-bottom-right-radius: 4px; }
.bubble-meta { font-size: 11px; color: var(--muted); margin: -6px 0 14px; }
.bubble-meta.r { text-align: right; }

/* ============================================================
   VALUE STACK
   ============================================================ */
.vs-card { max-width: 960px; margin: 0 auto; background: linear-gradient(180deg, var(--card) 0%, var(--card-2) 100%);
  border: 1px solid var(--border-strong); border-radius: 24px; padding: 44px clamp(24px,4vw,52px); }
.vs-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px 40px; margin-bottom: 34px; }
.vs-item { display: flex; align-items: flex-start; gap: 12px; padding: 9px 0;
  border-bottom: 1px solid var(--border); }
.vs-item svg { flex: none; width: 19px; height: 19px; stroke: var(--cyan); margin-top: 2px; }
.vs-item .vs-name { font-size: 15px; color: var(--text); line-height: 1.45; flex: 1; }
.vs-item .vs-worth { font-size: 13px; color: var(--muted); white-space: nowrap; font-weight: 600; }
.vs-total { text-align: center; padding-top: 12px; }
.vs-total .vs-total-label { color: var(--text-dim); font-size: 15px; letter-spacing: .02em; }
.vs-total .vs-total-num { font-size: clamp(38px,6vw,62px); font-weight: 800; line-height: 1.05; margin: 6px 0 4px;
  background: var(--grad-cyan); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.vs-total .vs-total-sub { color: var(--muted); font-size: 14px; }

/* ============================================================
   SAVINGS COMPARISON
   ============================================================ */
.save-wrap { max-width: 720px; margin: 0 auto; }
.save-row { display: flex; align-items: center; justify-content: space-between;
  padding: 16px 22px; border: 1px solid var(--border); border-radius: 14px; margin-bottom: 10px;
  background: rgba(255,255,255,.02); }
.save-row .save-name { font-weight: 600; font-size: 15.5px; }
.save-row .save-name span { display: block; font-weight: 400; font-size: 13px; color: var(--muted); margin-top: 3px; }
.save-row .save-price { font-weight: 700; font-size: 16px; color: var(--text-dim); white-space: nowrap; }
.save-total { margin-top: 26px; text-align: center; padding: 30px;
  border: 1px solid rgba(124,232,225,.30); border-radius: 18px;
  background: linear-gradient(135deg, rgba(124,232,225,.08), rgba(139,124,255,.08)); }
.save-total .st-num { font-size: clamp(34px,5vw,52px); font-weight: 800; line-height: 1;
  background: var(--grad-cyan); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.save-total .st-label { color: var(--text-dim); margin-top: 10px; font-size: 16px; }

/* ============================================================
   PRICING
   ============================================================ */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; align-items: stretch;
  max-width: 1080px; margin: 0 auto; }
.price-card { display: flex; flex-direction: column; background: linear-gradient(180deg, var(--card) 0%, var(--card-2) 100%);
  border: 1px solid var(--border-strong); border-radius: 22px; padding: 34px 30px; position: relative; }
.price-card.popular { border-color: rgba(139,124,255,.6);
  box-shadow: 0 30px 80px -30px rgba(139,124,255,.55); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad-btn); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 6px 16px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 8px 24px -8px rgba(139,124,255,.7); }
.price-name { font-size: 19px; font-weight: 700; }
.price-amount { display: flex; align-items: baseline; gap: 4px; margin: 16px 0 6px; }
.price-amount .pa-cur { font-size: 22px; font-weight: 700; color: var(--text-dim); }
.price-amount .pa-num { font-size: 52px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.price-amount .pa-per { font-size: 15px; color: var(--muted); font-weight: 500; }
.price-tagline { color: var(--text-dim); font-size: 14.5px; line-height: 1.55; margin-bottom: 22px;
  min-height: 44px; }
.price-features { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 11px; flex: 1; }
.price-features li { display: flex; gap: 11px; align-items: flex-start; font-size: 14.5px;
  color: var(--text-dim); line-height: 1.5; }
.price-features li svg { flex: none; width: 17px; height: 17px; stroke: var(--cyan); margin-top: 2px; }
.price-features li.inherit { color: var(--text); font-weight: 600; }
.price-features li.inherit svg { stroke: var(--purple); }
.price-card .btn { width: 100%; margin-top: auto; }
.price-foot { text-align: center; margin-top: 34px; color: var(--muted); font-size: 14px; }
.price-foot strong { color: var(--text-dim); }

/* ============================================================
   INTEGRATIONS
   ============================================================ */
.integ { text-align: center; }
.integ .integ-num { font-size: clamp(40px,6vw,68px); font-weight: 800; line-height: 1;
  background: var(--grad-cyan); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.integ p { color: var(--text-dim); font-size: clamp(16px,1.6vw,19px); max-width: 52ch; margin: 18px auto 0; line-height: 1.65; }

/* ============================================================
   FINAL CTA
   ============================================================ */
.aiw-final { text-align: center; padding: 110px 0; }
.aiw-final h2 { font-size: clamp(30px,4.6vw,56px); font-weight: 800; letter-spacing: -.02em;
  max-width: 18ch; margin: 0 auto 22px; line-height: 1.1; }
.aiw-final p { color: var(--text-dim); font-size: clamp(16px,1.6vw,19px); max-width: 54ch;
  margin: 0 auto 36px; line-height: 1.65; }

/* ============================================================
   LEGAL PAGES (privacy / terms)
   ============================================================ */
.legal { max-width: 820px; margin: 0 auto; padding: 130px 0 90px; }
.legal h1 { font-size: clamp(30px,4vw,46px); font-weight: 800; letter-spacing: -.02em; margin-bottom: 12px; }
.legal .legal-updated { color: var(--muted); font-size: 14px; margin-bottom: 40px; }
.legal h2 { font-size: 22px; font-weight: 700; margin: 38px 0 14px;
  background: var(--grad-cyan); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: inline-block; }
.legal p, .legal li { color: var(--text-dim); font-size: 15.5px; line-height: 1.75; margin-bottom: 14px; }
.legal ul { padding-left: 22px; margin-bottom: 14px; list-style: disc; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.legal strong { color: var(--text); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .steps-grid, .feat-grid, .price-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2,1fr); gap: 30px 24px; }
  .inbox-grid { grid-template-columns: 1fr; gap: 40px; }
  .vs-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .sec { padding: 72px 0; }
  .aiw-hero { padding: 104px 0 64px; }
  .channel-grid { grid-template-columns: 1fr; }
  .channel-card { padding: 22px; }
  .vs-card { padding: 32px 22px; }
  .save-row { padding: 14px 16px; }
  .save-row .save-price { font-size: 14px; }
}
