/* ============================================================
   رواج — Rawaj AI Marketing Platform
   Shared design tokens + landing page styles (RTL, Arabic)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@400;500;600;700;800;900&family=IBM+Plex+Sans+Arabic:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand palette */
  --primary: #5B4DF5;
  --primary-dark: #4438C9;
  --primary-soft: #EEECFE;
  --accent: #F43F5E;
  --accent-soft: #FFE4E9;
  --amber: #FBBF24;
  --amber-soft: #FEF3C7;
  --teal: #14B8A6;
  --teal-soft: #CCFBF1;
  --ink: #1E1B2E;
  --ink-soft: #4B4763;
  --muted: #6E6A85;
  --bg: #FAFAF8;
  --surface: #FFFFFF;
  --line: #E8E6F0;
  --dark: #17142A;

  --grad-brand: linear-gradient(120deg, #5B4DF5 0%, #8B5CF6 45%, #F43F5E 100%);
  --grad-soft: linear-gradient(160deg, #EEECFE 0%, #FFF1F2 60%, #FEF3C7 100%);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --shadow-sm: 0 1px 3px rgba(30, 27, 46, .08);
  --shadow: 0 8px 30px rgba(30, 27, 46, .10);
  --shadow-lg: 0 24px 60px rgba(30, 27, 46, .16);

  --font-head: 'Alexandria', 'IBM Plex Sans Arabic', sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'Alexandria', sans-serif;

  --z-nav: 50;
  --z-modal: 80;
  --z-toast: 90;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.35;
  font-weight: 800;
  color: var(--ink);
}

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; font-size: inherit; }
ul { list-style: none; }
input, select, textarea { font-family: inherit; font-size: inherit; }

::selection { background: var(--primary); color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

.container { width: min(1180px, 100% - 48px); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 28px;
  border-radius: 999px;
  transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
  cursor: pointer;
  min-height: 48px;
  white-space: nowrap;
}
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn-primary { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--primary); box-shadow: 0 10px 24px rgba(91, 77, 245, .35); }
.btn-brand { background: var(--grad-brand); color: #fff; box-shadow: 0 8px 24px rgba(91, 77, 245, .35); }
.btn-brand:hover { box-shadow: 0 14px 34px rgba(244, 63, 94, .35); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: #fff; }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--amber); }
.btn-lg { padding: 18px 38px; font-size: 1.1rem; }
.btn-sm { padding: 9px 18px; font-size: .9rem; min-height: 40px; }

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
  border-radius: 6px;
}

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 16px;
  right: 16px;
  left: 16px;
  z-index: var(--z-nav);
  display: flex;
  justify-content: center;
}
.nav-inner {
  width: min(1180px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  box-shadow: var(--shadow-sm);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--ink);
}
.logo-mark {
  width: 38px; height: 38px;
  border-radius: 12px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.logo-mark svg { width: 22px; height: 22px; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink-soft);
  padding: 8px 14px;
  border-radius: 999px;
  transition: color .2s ease, background-color .2s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--primary-soft); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 12px; place-items: center; color: var(--ink); }
.nav-burger svg { width: 26px; height: 26px; }

.nav-mobile {
  display: none;
  position: fixed;
  inset: 84px 16px auto 16px;
  z-index: var(--z-nav);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 16px;
  flex-direction: column;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a { padding: 12px 16px; border-radius: 12px; font-weight: 600; }
.nav-mobile a:hover { background: var(--primary-soft); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 170px 0 90px;
  background: var(--grad-soft);
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  pointer-events: none;
}
.hero::before { width: 480px; height: 480px; background: #C4B5FD; top: -180px; left: -120px; }
.hero::after { width: 420px; height: 420px; background: #FDA4AF; bottom: -200px; right: -100px; }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 16px;
  font-weight: 600;
  font-size: .88rem;
  color: var(--primary-dark);
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.hero-badge svg { width: 16px; height: 16px; color: var(--accent); }
.hero h1 {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
}
.hero h1 .mark {
  position: relative;
  white-space: nowrap;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero h1 .underline {
  position: relative;
  display: inline-block;
}
.hero h1 .underline::after {
  content: "";
  position: absolute;
  right: 0; left: 0; bottom: 2px;
  height: 12px;
  background: var(--amber);
  z-index: -1;
  border-radius: 4px;
  opacity: .8;
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 54ch;
  margin-bottom: 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 26px; }
.hero-note { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .9rem; }
.hero-note svg { width: 18px; height: 18px; color: var(--teal); flex-shrink: 0; }

/* Hero mockup (CSS app window) */
.hero-visual { position: relative; }
.mockup {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-1.5deg);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: #FCFBFF;
}
.mockup-bar span { width: 10px; height: 10px; border-radius: 50%; }
.mockup-bar span:nth-child(1) { background: #F43F5E; }
.mockup-bar span:nth-child(2) { background: #FBBF24; }
.mockup-bar span:nth-child(3) { background: #14B8A6; }
.mockup-bar b { margin-inline-start: 10px; font-size: .8rem; color: var(--muted); font-weight: 600; }
.mockup-body { padding: 18px; display: grid; gap: 14px; }
.mock-compose {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: #FCFBFF;
}
.mock-compose-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.mock-ai-chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: .75rem; font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}
.mock-ai-chip svg { width: 13px; height: 13px; }
.mock-typing {
  font-size: .88rem;
  color: var(--ink-soft);
  min-height: 3.2em;
}
.mock-typing::after {
  content: "";
  display: inline-block;
  width: 2px; height: 1em;
  background: var(--primary);
  margin-inline-start: 2px;
  vertical-align: text-bottom;
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.mock-week { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.mock-day {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 10px;
  min-height: 96px;
  font-size: .72rem;
  color: var(--muted);
  font-weight: 600;
}
.mock-post {
  margin-top: 8px;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: .68rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
  animation: pop .5s ease backwards;
}
.mock-post svg { width: 11px; height: 11px; flex-shrink: 0; }
.mock-post.p1 { background: var(--primary); animation-delay: .3s; }
.mock-post.p2 { background: var(--accent); animation-delay: .8s; }
.mock-post.p3 { background: var(--teal); animation-delay: 1.3s; }
.mock-post.p4 { background: #8B5CF6; animation-delay: 1.8s; }
.mock-post.p5 { background: #F59E0B; animation-delay: 2.3s; }
@keyframes pop {
  from { opacity: 0; transform: scale(.6); }
  to { opacity: 1; transform: scale(1); }
}
.float-card {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .82rem;
  font-weight: 700;
  animation: floaty 5s ease-in-out infinite;
}
.float-card svg { width: 20px; height: 20px; flex-shrink: 0; }
.float-card.f1 { top: -22px; left: -14px; color: var(--teal); animation-delay: 0s; }
.float-card.f2 { bottom: -18px; right: -10px; color: var(--accent); animation-delay: 1.4s; }
.float-card small { display: block; color: var(--muted); font-weight: 500; font-size: .72rem; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* ---------- Channels strip ---------- */
.channels {
  padding: 56px 0 20px;
  text-align: center;
}
.channels p { color: var(--muted); font-weight: 600; margin-bottom: 24px; font-size: .95rem; }
.channel-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.channel-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
  font-size: .92rem;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  cursor: default;
}
.channel-chip:hover { box-shadow: var(--shadow); border-color: transparent; transform: translateY(-3px); }
.channel-chip svg { width: 20px; height: 20px; flex-shrink: 0; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .85rem;
  color: var(--primary-dark);
  background: var(--primary-soft);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.section-head .kicker svg { width: 15px; height: 15px; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 14px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* Feature bento */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.bento-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: box-shadow .25s ease, border-color .25s ease;
}
.bento-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.bento-card.span-3 { grid-column: span 3; }
.bento-card.span-2 { grid-column: span 2; }
.bento-card.span-4 { grid-column: span 4; }
.bento-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}
.bento-icon svg { width: 26px; height: 26px; }
.bento-icon.i-violet { background: var(--primary-soft); color: var(--primary); }
.bento-icon.i-rose { background: var(--accent-soft); color: var(--accent); }
.bento-icon.i-amber { background: var(--amber-soft); color: #B45309; }
.bento-icon.i-teal { background: var(--teal-soft); color: #0F766E; }
.bento-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.bento-card p { color: var(--ink-soft); font-size: .98rem; }
.bento-tag {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--grad-brand);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
}

/* Video feature visual */
.video-mock {
  margin-top: 22px;
  border-radius: var(--radius);
  background: var(--dark);
  aspect-ratio: 16 / 8.2;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.video-mock .waves {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(91,77,245,.55), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(244,63,94,.5), transparent 55%);
}
.video-mock .play {
  position: relative;
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  display: grid;
  place-items: center;
  color: var(--ink);
  box-shadow: 0 0 0 12px rgba(255,255,255,.18);
  animation: pulse 2.4s ease-in-out infinite;
}
.video-mock .play svg { width: 26px; height: 26px; margin-inline-start: 3px; }
@keyframes pulse { 50% { box-shadow: 0 0 0 22px rgba(255,255,255,.06); } }
.video-mock .clip-bar {
  position: absolute;
  bottom: 14px;
  right: 14px;
  left: 14px;
  height: 34px;
  border-radius: 8px;
  background: rgba(255,255,255,.12);
  display: flex;
  gap: 5px;
  padding: 5px;
}
.video-mock .clip-bar i {
  flex: 1;
  border-radius: 5px;
  background: linear-gradient(120deg, #8B5CF6, #F43F5E);
  opacity: .85;
}
.video-mock .clip-bar i:nth-child(2) { background: linear-gradient(120deg, #14B8A6, #FBBF24); }
.video-mock .clip-bar i:nth-child(3) { background: linear-gradient(120deg, #F43F5E, #FBBF24); }

/* Image gen visual */
.img-grid-mock { margin-top: 22px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.img-grid-mock i {
  aspect-ratio: 1;
  border-radius: 12px;
  display: block;
}
.img-grid-mock i:nth-child(1) { background: linear-gradient(140deg, #C4B5FD, #5B4DF5); }
.img-grid-mock i:nth-child(2) { background: linear-gradient(140deg, #FDA4AF, #F43F5E); }
.img-grid-mock i:nth-child(3) { background: linear-gradient(140deg, #FDE68A, #F59E0B); }

/* ---------- Autopilot section (dark) ---------- */
.autopilot {
  background: var(--dark);
  border-radius: var(--radius-xl);
  padding: 72px 56px;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.autopilot::before {
  content: "";
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91,77,245,.45), transparent 65%);
  top: -220px;
  left: -160px;
  pointer-events: none;
}
.autopilot-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.autopilot h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 16px; }
.autopilot p.lead { color: #B9B4D6; font-size: 1.05rem; margin-bottom: 28px; }
.autopilot-steps { display: grid; gap: 14px; }
.ap-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 16px 18px;
  transition: background-color .2s ease;
}
.ap-step:hover { background: rgba(255,255,255,.09); }
.ap-step-num {
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: .95rem;
}
.ap-step b { display: block; font-family: var(--font-head); font-size: 1.02rem; margin-bottom: 3px; }
.ap-step span { color: #B9B4D6; font-size: .9rem; line-height: 1.6; }

/* Autopilot console mock */
.ap-console {
  background: #201C38;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-lg);
}
.ap-console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.ap-console-head b { font-family: var(--font-head); font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.ap-console-head b svg { width: 18px; height: 18px; color: var(--amber); }
.ap-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .78rem;
  font-weight: 700;
  color: #6EE7B7;
  background: rgba(20, 184, 166, .15);
  padding: 5px 12px;
  border-radius: 999px;
}
.ap-live i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #34D399;
  animation: blink 1.6s ease infinite;
}
.ap-log { display: grid; gap: 10px; font-size: .85rem; }
.ap-log-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.04);
  border-radius: 10px;
  padding: 10px 14px;
  color: #D6D3E8;
}
.ap-log-item svg { width: 16px; height: 16px; flex-shrink: 0; }
.ap-log-item.ok svg { color: #34D399; }
.ap-log-item.gen svg { color: var(--amber); }
.ap-log-item.sched svg { color: #93C5FD; }
.ap-log-item time { margin-inline-start: auto; color: #7C7799; font-size: .72rem; }

/* ---------- How it works ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  position: relative;
  transition: box-shadow .25s ease, transform .25s ease;
}
.step-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.step-num {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 3rem;
  line-height: 1;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
}
.step-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step-card p { color: var(--ink-soft); font-size: .96rem; }

/* ---------- Analytics band ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 10px;
}
.stat-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
}
.stat-card b {
  display: block;
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 2.2rem;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-card span { color: var(--muted); font-weight: 600; font-size: .92rem; }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: box-shadow .25s ease;
}
.testi-card:hover { box-shadow: var(--shadow); }
.testi-stars { display: flex; gap: 3px; color: var(--amber); }
.testi-stars svg { width: 18px; height: 18px; }
.testi-card p { color: var(--ink-soft); font-size: .98rem; flex: 1; }
.testi-person { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 800;
  color: #fff;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.testi-person b { display: block; font-family: var(--font-head); font-size: .95rem; }
.testi-person span { color: var(--muted); font-size: .82rem; }

/* ---------- Pricing ---------- */
.price-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px;
  margin: 0 auto 48px;
}
.price-toggle button {
  padding: 9px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  color: var(--muted);
  transition: background-color .2s ease, color .2s ease;
}
.price-toggle button.active { background: var(--ink); color: #fff; }
.price-toggle .save {
  background: var(--teal-soft);
  color: #0F766E;
  font-size: .72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
}
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow .25s ease;
}
.price-card:hover { box-shadow: var(--shadow); }
.price-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 20px 50px rgba(91, 77, 245, .18);
}
.price-pop {
  position: absolute;
  top: -15px;
  right: 50%;
  transform: translateX(50%);
  background: var(--grad-brand);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  padding: 5px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.price-card h3 { font-size: 1.2rem; margin-bottom: 6px; }
.price-card .desc { color: var(--muted); font-size: .9rem; margin-bottom: 22px; }
.price-num { display: flex; align-items: baseline; gap: 8px; margin-bottom: 26px; }
.price-num b { font-family: var(--font-head); font-weight: 900; font-size: 2.8rem; }
.price-num span { color: var(--muted); font-weight: 600; font-size: .9rem; }
.price-feats { display: grid; gap: 12px; margin-bottom: 30px; flex: 1; }
.price-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: .93rem; color: var(--ink-soft); }
.price-feats li svg { width: 19px; height: 19px; color: var(--teal); flex-shrink: 0; margin-top: 3px; }
.price-feats li.strong { font-weight: 700; color: var(--ink); }
.price-feats li.strong svg { color: var(--primary); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 780px; margin-inline: auto; display: grid; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s ease;
}
.faq-item[open] { box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg {
  width: 22px; height: 22px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform .25s ease;
}
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--ink-soft); font-size: .97rem; }

/* ---------- CTA ---------- */
.final-cta {
  background: var(--grad-brand);
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,.18), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(255,255,255,.12), transparent 40%);
  pointer-events: none;
}
.final-cta h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.7rem); margin-bottom: 14px; position: relative; }
.final-cta p { color: rgba(255,255,255,.9); font-size: 1.1rem; margin-bottom: 32px; position: relative; }
.final-cta .btn { position: relative; }

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  color: #B9B4D6;
  margin-top: 96px;
  padding: 70px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer .logo { color: #fff; margin-bottom: 16px; }
.footer-about { font-size: .92rem; max-width: 34ch; }
.footer h4 { color: #fff; font-size: .98rem; margin-bottom: 18px; }
.footer-col a {
  display: block;
  padding: 6px 0;
  font-size: .92rem;
  color: #B9B4D6;
  transition: color .2s ease;
}
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: .85rem;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,.07);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background-color .2s ease;
}
.footer-social a:hover { background: var(--primary); }
.footer-social svg { width: 18px; height: 18px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 140px; }
  .bento-card.span-3, .bento-card.span-2, .bento-card.span-4 { grid-column: span 6; }
  .autopilot-grid { grid-template-columns: 1fr; }
  .steps-grid, .testi-grid, .pricing-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-burger { display: grid; }
  .section { padding: 64px 0; }
  .autopilot { padding: 48px 24px; }
  .float-card { display: none; }
  .mockup { transform: none; }
  .mock-week { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
