/* ===========================================
   ASKBACK WEBSITE V2 — Shared Styles
   Editorial premium: Inter + Instrument Serif,
   aurora accents, floating nav, dark footer.
   =========================================== */

:root {
  --ink: #131322;
  --ink-2: #4d4d63;
  --ink-3: #8b8ba3;
  --accent: #5856d6;
  --accent-deep: #4341c4;
  --accent-ink: #2f2e8b;
  --accent-soft: rgba(88, 86, 214, 0.08);
  --accent-softer: rgba(88, 86, 214, 0.05);
  --bg: #ffffff;
  --bg-subtle: #f8f8fc;
  --bg-lavender: #f3f2fc;
  --border: #ececf4;
  --border-dark: #dfdfeb;
  --dark: #15152b;
  --dark-2: #1d1d38;
  --price-monthly: "$10";
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 1px 2px rgba(19, 19, 34, 0.04), 0 8px 24px rgba(19, 19, 34, 0.05);
  --shadow-card-hover: 0 2px 4px rgba(19, 19, 34, 0.05), 0 16px 48px rgba(19, 19, 34, 0.10);
  --shadow-visual: 0 2px 6px rgba(19, 19, 34, 0.06), 0 24px 64px -12px rgba(47, 46, 139, 0.18);
  --gradient-1: linear-gradient(135deg, #6a67e8 0%, #8f6fe0 100%);
  --gradient-2: linear-gradient(135deg, #e86aa6 0%, #f0906c 100%);
  --gradient-3: linear-gradient(135deg, #4f8df0 0%, #4fc7e8 100%);
  --gradient-4: linear-gradient(135deg, #3ec98e 0%, #4fe0c8 100%);
  --gradient-5: linear-gradient(135deg, #e8737f 0%, #f0b45e 100%);
  --gradient-6: linear-gradient(135deg, #9a8ce0 0%, #e0aee0 100%);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Text', system-ui, sans-serif;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-family: var(--font-body);
  /* Legacy aliases (v1 class compatibility) */
  --color-text: var(--ink);
  --color-text-secondary: var(--ink-2);
  --color-text-muted: var(--ink-3);
  --color-accent: var(--accent);
  --color-accent-hover: var(--accent-deep);
  --color-bg: var(--bg);
  --color-bg-subtle: var(--bg-subtle);
  --color-border: var(--border);
  --color-border-dark: var(--border-dark);
}

* {
  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.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection {
  background: rgba(88, 86, 214, 0.18);
}

/* ===========================================
   TYPOGRAPHY
   =========================================== */

h1, h2, h3, h4, h5, h6 {
  line-height: 1.15;
  letter-spacing: -0.022em;
  font-weight: 700;
  text-wrap: balance;
}

h1 {
  font-size: clamp(42px, 5.6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
}

h2 {
  font-size: clamp(30px, 3.6vw, 44px);
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

/* Accent words inside headlines — same font, gradient ink (readable) */
.accent-serif {
  font-family: inherit;
  font-style: normal;
  font-weight: inherit;
  letter-spacing: inherit;
  color: var(--accent);
  background: linear-gradient(115deg, #5856d6 20%, #8a6fe0 60%, #a97fe8 90%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Lighter gradient for accent words on dark backgrounds */
.diff-strip .accent-serif,
.final-cta-card .accent-serif {
  background: linear-gradient(115deg, #a5a3f5 20%, #c3aef2 60%, #dcc4f5 90%);
  -webkit-background-clip: text;
  background-clip: text;
}

p {
  color: var(--ink-2);
  max-width: 640px;
}

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

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

/* Section eyebrow chip */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid rgba(88, 86, 214, 0.14);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ===========================================
   LAYOUT
   =========================================== */

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: 110px 0;
}

.section-sm {
  padding: 60px 0;
}

.section-alt {
  background: var(--bg-subtle);
}

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

.text-center p {
  margin-left: auto;
  margin-right: auto;
}

.section-head {
  max-width: 680px;
  margin: 0 auto 24px;
}

.section-head p {
  font-size: 17px;
}

/* ===========================================
   SCROLL REVEAL
   =========================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.reveal-group > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-group.is-visible > * {
  opacity: 1;
  transform: none;
}

.reveal-group.is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-group.is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-group.is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-group.is-visible > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-group.is-visible > *:nth-child(6) { transition-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-group > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ===========================================
   NAVIGATION — floating pill
   =========================================== */

.nav {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 1000;
  pointer-events: none;
}

.nav-inner {
  pointer-events: auto;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 10px 0 20px;
  display: flex;
  align-items: center;
  height: 60px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(19, 19, 34, 0.07);
  border-radius: 999px;
  box-shadow: 0 1px 2px rgba(19, 19, 34, 0.03), 0 12px 40px -8px rgba(19, 19, 34, 0.10);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

@media (max-width: 1100px) {
  .nav-inner {
    margin: 0 20px;
  }
}

.nav.is-scrolled .nav-inner {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 1px 2px rgba(19, 19, 34, 0.04), 0 16px 48px -8px rgba(19, 19, 34, 0.16);
}

.nav-logo {
  font-size: 18px;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.5px;
  margin-right: 40px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-logo svg {
  flex-shrink: 0;
}

.logo-ask {
  color: var(--accent);
  margin-left: 2px;
}

.logo-back {
  color: var(--ink);
  text-decoration: none;
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}

.nav-links a:hover {
  color: var(--ink);
  background: rgba(19, 19, 34, 0.05);
}

.nav-links a.active {
  color: var(--ink);
  background: rgba(19, 19, 34, 0.06);
}

.nav-cta {
  margin-left: auto;
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
  color: var(--ink);
  border-radius: 999px;
}

/* Mobile slide-down panel */
.nav-mobile-panel {
  pointer-events: auto;
  display: none;
  max-width: 1040px;
  margin: 8px 20px 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(19, 19, 34, 0.07);
  border-radius: 20px;
  box-shadow: 0 24px 64px -12px rgba(19, 19, 34, 0.18);
  padding: 12px;
}

.nav-mobile-panel.is-open {
  display: block;
}

.nav-mobile-panel a {
  display: block;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  border-radius: 12px;
}

.nav-mobile-panel a:hover {
  background: var(--bg-subtle);
}

.nav-mobile-panel .btn {
  margin-top: 8px;
  width: 100%;
}

/* ===========================================
   BUTTONS
   =========================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 30px;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(180deg, #6866e0 0%, var(--accent) 45%, #4d4bcd 100%);
  color: #ffffff;
  box-shadow: 0 1px 2px rgba(47, 46, 139, 0.3), 0 8px 24px -6px rgba(88, 86, 214, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(47, 46, 139, 0.3), 0 14px 36px -6px rgba(88, 86, 214, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--border-dark);
  box-shadow: 0 1px 2px rgba(19, 19, 34, 0.04);
}

.btn-secondary:hover {
  border-color: #c9c9dc;
  background: var(--bg-subtle);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn .btn-arrow {
  transition: transform 0.2s ease;
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

.btn-microcopy {
  display: block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 400;
}

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Trust checks under CTA */
.trust-row {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 18px;
  font-size: 13px;
  color: var(--ink-3);
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.trust-row svg {
  color: #34a853;
  flex-shrink: 0;
}

/* ===========================================
   HERO
   =========================================== */

.hero {
  position: relative;
  padding: 190px 0 90px;
  text-align: center;
  overflow: hidden;
}

/* Aurora backdrop */
.hero::before {
  content: '';
  position: absolute;
  top: -320px;
  left: 50%;
  transform: translateX(-50%);
  width: 1400px;
  height: 860px;
  background:
    radial-gradient(38% 45% at 28% 38%, rgba(120, 118, 235, 0.22) 0%, transparent 70%),
    radial-gradient(34% 42% at 72% 32%, rgba(190, 140, 235, 0.16) 0%, transparent 70%),
    radial-gradient(46% 50% at 50% 62%, rgba(100, 160, 245, 0.12) 0%, transparent 72%);
  pointer-events: none;
  z-index: -1;
}

/* Dot grid texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(19, 19, 34, 0.10) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 62% 52% at 50% 32%, black 0%, transparent 68%);
  mask-image: radial-gradient(ellipse 62% 52% at 50% 32%, black 0%, transparent 68%);
  pointer-events: none;
  z-index: -1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-ink);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(88, 86, 214, 0.2);
  box-shadow: 0 1px 2px rgba(19, 19, 34, 0.03);
  padding: 7px 16px;
  border-radius: 999px;
  letter-spacing: 0.01em;
  margin-bottom: 28px;
}

.hero-eyebrow::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(88, 86, 214, 0.18);
  animation: pulse-dot 2.4s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(88, 86, 214, 0.18); }
  50% { box-shadow: 0 0 0 6px rgba(88, 86, 214, 0.08); }
}

.hero h1 {
  margin-bottom: 26px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero-sub {
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 620px;
  margin: 0 auto 38px;
}

.hero-visual {
  position: relative;
  margin-top: 72px;
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #6a67e8 0%, #8f6fe0 55%, #b98ae0 100%);
  padding: 14px;
  box-shadow: var(--shadow-visual);
}

/* Glow inside the hero visual frame */
.hero-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
  pointer-events: none;
}

.hero-video {
  width: 100%;
  display: block;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(19, 19, 34, 0.22);
}

.hero-visual-placeholder {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 40px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  width: 100%;
  text-align: center;
}

/* ===========================================
   PAGE HERO (non-home pages)
   =========================================== */

.page-hero {
  position: relative;
  padding: 175px 0 76px;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -340px;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 700px;
  background:
    radial-gradient(40% 45% at 35% 40%, rgba(120, 118, 235, 0.16) 0%, transparent 70%),
    radial-gradient(36% 42% at 68% 34%, rgba(190, 140, 235, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

.page-hero h1 {
  font-size: clamp(36px, 4.6vw, 58px);
  margin-bottom: 24px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.page-hero-intro {
  font-size: 18px;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 620px;
  margin: 0 auto;
}

/* ===========================================
   PROBLEM SECTION
   =========================================== */

.problem-text {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.problem-text p {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.problem-punchline {
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-top: 44px;
  max-width: none;
}

.problem-punchline .accent-serif {
  font-size: 1.08em;
}

/* Pain lines — card stack */
.pain-lines {
  max-width: 560px;
  margin: 40px auto 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pain-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
  font-size: clamp(17px, 1.9vw, 20px);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  margin: 0 !important;
  padding: 18px 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  max-width: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pain-line:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-card-hover);
}

.pain-line span {
  font-weight: 400;
  color: var(--ink-3);
}

/* ===========================================
   STEPS
   =========================================== */

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

.step {
  text-align: left;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--accent);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ink);
}

.step p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}

/* ===========================================
   FEATURE GRID (bento cards)
   =========================================== */

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

.feature-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 28px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  text-align: left;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(88, 86, 214, 0.35), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(88, 86, 214, 0.22);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--ink);
}

.feature-card p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink-2);
}

.feature-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  box-shadow: inset 0 0 0 1px rgba(19, 19, 34, 0.04);
}

/* ===========================================
   DIFFERENTIATOR STRIP — dark section
   =========================================== */

.diff-strip {
  position: relative;
  background: var(--dark);
  color: #fff;
  border: none;
  overflow: hidden;
}

.diff-strip::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 500px;
  background: radial-gradient(50% 60% at 50% 40%, rgba(107, 105, 226, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.diff-strip h2 {
  color: #fff;
  position: relative;
}

.diff-strip .eyebrow {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: #b9b8f0;
}

.diff-strip > .container > p {
  color: rgba(255, 255, 255, 0.6);
}

.diff-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.diff-item {
  text-align: left;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-md);
  padding: 32px 30px;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.diff-item:hover {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-3px);
}

.diff-icon {
  color: #a5a3f5;
  margin-bottom: 18px;
  display: inline-flex;
  padding: 12px;
  background: rgba(120, 118, 235, 0.13);
  border-radius: 12px;
}

.diff-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.diff-item p {
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.62);
}

/* ===========================================
   REPORTS SHOWCASE
   =========================================== */

.showcase-visual {
  margin-top: 52px;
  border-radius: var(--radius-lg);
  background: var(--gradient-6);
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 14px;
  box-shadow: var(--shadow-visual);
}

.showcase-visual .pipeline-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

/* ===========================================
   PRICING TEASER / CARDS / TABLE
   =========================================== */

.pricing-teaser p {
  font-size: 17px;
  margin-top: 16px;
}

/* Pricing cards (v2) */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 860px;
  margin: 56px auto 0;
  text-align: left;
  align-items: stretch;
}

.price-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.price-card-featured {
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg), var(--bg)) padding-box,
    linear-gradient(150deg, rgba(88, 86, 214, 0.55), rgba(190, 140, 235, 0.35)) border-box;
  box-shadow: 0 2px 6px rgba(19, 19, 34, 0.05), 0 24px 64px -16px rgba(88, 86, 214, 0.35);
}

.price-card-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent), #8a6fe0);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 6px 16px -4px rgba(88, 86, 214, 0.5);
  white-space: nowrap;
}

.price-card h3 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}

.price-card-amount {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}

.price-card-amount small {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-3);
}

.price-card-note {
  font-size: 13.5px;
  color: var(--ink-3);
  margin: 8px 0 26px;
}

.price-card-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.price-card-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
}

.price-card-list li svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--accent);
}

.price-card-list li strong {
  color: var(--ink);
  font-weight: 600;
}

.price-card .btn {
  width: 100%;
}

/* Comparison table */
.pricing-table-wrap {
  margin-top: 48px;
  overflow-x: auto;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  padding: 8px;
}

.pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  min-width: 600px;
}

.pricing-table th {
  text-align: left;
  padding: 18px 28px;
  font-weight: 700;
  font-size: 15px;
  border-bottom: 2px solid var(--border);
  background: var(--bg-subtle);
}

.pricing-table th:first-child {
  width: 40%;
  border-radius: 10px 0 0 0;
}

.pricing-table th:last-child {
  border-radius: 0 10px 0 0;
}

.pricing-table td {
  padding: 16px 28px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-2);
  font-size: 14.5px;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:hover td {
  background: var(--bg-subtle);
}

.pricing-table tr td:first-child {
  font-weight: 500;
  color: var(--ink);
}

.pricing-table .plan-header-free {
  color: var(--ink);
}

.pricing-table .plan-header-premium {
  color: var(--accent);
}

.pricing-ctas {
  display: flex;
  gap: 24px;
  margin-top: 56px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================================
   FAQ — accordion
   =========================================== */

.faq-list {
  max-width: 720px;
  margin: 52px auto 0;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  padding: 26px 30px;
  margin: 0;
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.faq-item:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border-dark);
}

.faq-item h3 {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 10px;
}

.faq-item p {
  font-size: 15px;
  line-height: 1.75;
  max-width: none;
  color: var(--ink-2);
  margin: 0;
}

/* details/summary accordion variant */
details.faq-item {
  padding: 0;
}

details.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 30px;
  font-size: 16.5px;
  font-weight: 600;
  color: var(--ink);
}

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

details.faq-item summary .faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-2);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, color 0.2s ease;
}

details.faq-item[open] summary .faq-icon {
  transform: rotate(45deg);
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

details.faq-item .faq-body {
  padding: 0 30px 24px;
}

details.faq-item .faq-body p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: none;
}

/* ===========================================
   FINAL CTA — aurora card
   =========================================== */

.final-cta {
  text-align: center;
  padding: 40px 0 110px;
}

.final-cta h2 {
  margin-bottom: 16px;
}

.final-cta > .container > p {
  margin: 0 auto 36px;
  font-size: 17px;
  line-height: 1.7;
}

.final-cta-card {
  position: relative;
  background: var(--dark);
  border-radius: 28px;
  padding: 88px 40px;
  overflow: hidden;
  box-shadow: 0 32px 80px -20px rgba(21, 21, 43, 0.5);
}

.final-cta-card::before {
  content: '';
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(35% 45% at 30% 45%, rgba(107, 105, 226, 0.5) 0%, transparent 70%),
    radial-gradient(30% 40% at 72% 38%, rgba(190, 140, 235, 0.32) 0%, transparent 70%),
    radial-gradient(40% 45% at 55% 75%, rgba(80, 140, 235, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.final-cta-card > * {
  position: relative;
}

.final-cta-card h2 {
  color: #fff;
  margin-bottom: 18px;
}

.final-cta-card p {
  color: rgba(255, 255, 255, 0.68);
  margin: 0 auto 36px;
  font-size: 17px;
  line-height: 1.7;
}

.final-cta-card .btn-microcopy {
  color: rgba(255, 255, 255, 0.5);
}

/* ===========================================
   COMPARISON TABLE
   =========================================== */

.compare-section {
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}

.compare-section:last-of-type {
  border-bottom: none;
}

.compare-section h2 {
  margin-bottom: 16px;
}

.compare-intro {
  font-size: 16px;
  margin-bottom: 36px;
  max-width: none;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 28px 0;
}

.compare-table th {
  text-align: left;
  padding: 14px 16px;
  font-weight: 600;
  font-size: 13px;
  border-bottom: 2px solid var(--border);
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.compare-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--ink-2);
}

.compare-table tr td:first-child {
  font-weight: 500;
  color: var(--ink);
}

.compare-note {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--bg-subtle);
  border-radius: 12px;
  font-size: 14px;
  line-height: 1.7;
}

.compare-note strong {
  color: var(--ink);
}

/* ===========================================
   MANIFESTO
   =========================================== */

.manifesto-list {
  max-width: 720px;
  margin: 56px auto 0;
  text-align: left;
  counter-reset: manifesto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.manifesto-item {
  position: relative;
  padding: 32px 34px 32px 92px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.manifesto-item:first-child {
  border-top: 1px solid var(--border);
}

.manifesto-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(88, 86, 214, 0.22);
}

.manifesto-item::before {
  counter-increment: manifesto;
  content: counter(manifesto, decimal-leading-zero);
  position: absolute;
  left: 30px;
  top: 32px;
  font-family: inherit;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--accent);
  opacity: 0.85;
}

.manifesto-item h3 {
  font-size: 19px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.manifesto-item p {
  font-size: 15.5px;
  line-height: 1.8;
  max-width: none;
}

.manifesto-closing {
  max-width: 680px;
  margin: 48px auto 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  text-align: center;
}

.manifesto-closing p {
  margin-left: auto;
  margin-right: auto;
}

.manifesto-sig {
  margin-top: 28px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

/* ===========================================
   FEATURES PAGE SECTIONS
   =========================================== */

.feature-section {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

.feature-section:last-of-type {
  border-bottom: none;
}

.feature-section h2 {
  margin-bottom: 16px;
}

.feature-section-intro {
  font-size: 16px;
  margin-bottom: 28px;
  max-width: none;
}

.feature-list {
  list-style: none;
  margin-top: 24px;
}

.feature-list li {
  padding: 10px 0;
  padding-left: 24px;
  position: relative;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

.feature-list li strong {
  color: var(--ink);
  font-weight: 600;
}

.feature-microcopy {
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-3);
  display: inline-block;
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
}

/* ===========================================
   COMING SOON
   =========================================== */

.coming-soon {
  background: var(--bg-lavender);
  border: 1px solid rgba(88, 86, 214, 0.14);
  border-radius: var(--radius-md);
  padding: 40px;
  margin-top: 40px;
}

.coming-soon h2 {
  font-size: 20px;
  margin-bottom: 16px;
}

.coming-soon p {
  font-size: 14px;
}

/* ===========================================
   NO CREDITS EXPLAINER
   =========================================== */

.explainer-section {
  max-width: 760px;
  margin: 0 auto;
  padding: 52px 58px;
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.explainer-section h2 {
  margin-bottom: 28px;
}

.explainer-section p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: none;
}

@media (max-width: 600px) {
  .explainer-section {
    padding: 32px 24px;
    border-radius: var(--radius-md);
  }
}

/* ===========================================
   RISK REVERSAL
   =========================================== */

.risk-list {
  list-style: none;
  margin-top: 28px;
}

.risk-list li {
  padding: 16px 0 16px 36px;
  position: relative;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-2);
  border-bottom: 1px solid var(--border);
}

.risk-list li:last-child {
  border-bottom: none;
}

.risk-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 24px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%235856d6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.risk-list li strong {
  color: var(--ink);
  font-weight: 600;
}

/* ===========================================
   FOOTER — dark
   =========================================== */

.footer {
  background: var(--dark);
  border-top: none;
  padding: 72px 0 40px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-grid:has(> :nth-child(5)) {
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
}

.footer-brand .nav-logo {
  color: #fff;
  margin-right: 0;
}

.footer-brand .logo-back {
  color: #fff;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 14px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.38);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===========================================
   LEGAL PAGES (terms, privacy)
   =========================================== */

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.9;
  background: var(--bg);
  padding: 52px 58px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}

.legal-content h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: var(--ink);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-content h3:first-child {
  margin-top: 0;
}

.legal-content h4 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: var(--ink);
}

.legal-content p {
  margin-bottom: 1.25rem;
  color: var(--ink-2);
  font-size: 15px;
  max-width: none;
}

.legal-content ul {
  margin-bottom: 1.25rem;
  padding-left: 1.75rem;
  list-style: disc;
}

.legal-content ul li {
  margin-bottom: 0.75rem;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
}

.legal-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content strong {
  color: var(--ink);
  font-weight: 600;
}

@media (max-width: 600px) {
  .legal-content {
    padding: 28px 24px;
    border-radius: var(--radius-md);
  }
}

/* ===========================================
   PIPELINE SECTIONS
   =========================================== */

.pipeline-section {
  padding: 90px 0;
}

.pipeline-row {
  display: flex;
  align-items: center;
  gap: 72px;
}

.pipeline-row-reverse {
  display: flex;
  align-items: center;
  gap: 72px;
  flex-direction: row-reverse;
}

.pipeline-text {
  flex: 1;
}

.pipeline-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid rgba(88, 86, 214, 0.14);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.pipeline-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.pipeline-text h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin-bottom: 26px;
}

.pipeline-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pipeline-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--ink-2);
}

.pipeline-bullets li svg {
  flex-shrink: 0;
  box-sizing: content-box;
  margin-top: 1px;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 10px;
  padding: 8px;
}

.pipeline-visual {
  flex: 1.15;
  min-height: 460px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-visual);
}

.pipeline-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(19, 19, 34, 0.16);
}

.pipeline-visual-inner {
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

.pipeline-visual-inner svg {
  margin-bottom: 16px;
  opacity: 0.9;
}

.pipeline-visual-inner p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  max-width: 200px;
  margin: 0 auto;
}

/* ===========================================
   RESPONSIVE
   =========================================== */

@media (max-width: 900px) {
  .steps-grid,
  .feature-grid,
  .diff-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 480px;
  }

  .footer-grid,
  .footer-grid:has(> :nth-child(5)) {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-mobile-toggle {
    display: block;
  }

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

  .page-hero {
    padding: 140px 0 48px;
  }

  .pipeline-row,
  .pipeline-row-reverse {
    flex-direction: column;
    gap: 44px;
  }
}

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

  .section {
    padding: 70px 0;
  }

  .pipeline-section {
    padding: 60px 0;
  }

  .hero-visual {
    border-radius: var(--radius-md);
    margin-top: 48px;
    padding: 8px;
  }

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

  .footer-grid,
  .footer-grid:has(> :nth-child(5)) {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pricing-ctas {
    flex-direction: column;
    align-items: center;
  }

  .pipeline-visual {
    min-height: 280px;
    padding: 8px;
  }

  .manifesto-item {
    padding: 26px 24px 26px 74px;
  }

  .manifesto-item::before {
    left: 22px;
    top: 27px;
    font-size: 22px;
  }

  .final-cta-card {
    padding: 60px 24px;
    border-radius: 20px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
