:root {
  --primary: #6b2d7b;
  --primary-variant: #4a1a5c;
  --secondary: #9b2d6e;
  --tertiary: #c4458e;
  --bg: #0f0f18;
  --bg-elevated: #1a1a2e;
  --surface: #252538;
  --surface-variant: #2e2e42;
  --on-bg: #f5f5f8;
  --on-muted: #9ca3af;
  --success: #10b981;
  --warning: #f59e0b;
  --error: #ef4444;
  --gradient: linear-gradient(135deg, #6b2d7b 0%, #9b2d6e 50%, #c4458e 100%);
  --gradient-soft: linear-gradient(
    180deg,
    rgba(107, 45, 123, 0.35) 0%,
    transparent 60%
  );
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --max: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--on-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

:focus:not(:focus-visible) {
  outline: none;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 8px 24px rgba(107, 45, 123, 0.45);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(196, 69, 142, 0.4);
}

.btn-sm {
  padding: 0.65rem 1.1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
  margin-top: 1.25rem;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--on-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: rgba(196, 69, 142, 0.15);
  color: var(--tertiary);
  border: 1px solid rgba(196, 69, 142, 0.3);
}

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

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  background: none;
  padding: 0;
  border: none;
  box-shadow: none;
}

.logo-img {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(240px, 50vw);
  pointer-events: none;
}

@media (max-width: 640px) {
  .logo-img {
    height: 42px;
  }
}

@media (max-width: 400px) {
  .logo-img {
    height: 36px;
  }
}

.nav {
  display: none;
  gap: 2rem;
  font-size: 0.9rem;
  color: var(--on-muted);
}

.nav a:hover {
  color: var(--on-bg);
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }
}

.hero {
  padding: 7rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  position: relative;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.hero-copy {
  max-width: 36rem;
}

.hero h1 {
  font-size: clamp(2.35rem, 5.5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 1rem 0 1.25rem;
}

.hero h1 span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-lead {
  font-size: 1.125rem;
  color: var(--on-muted);
  max-width: 32ch;
  margin-bottom: 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.hero-trust {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--on-muted);
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-trust li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--success);
  flex-shrink: 0;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--on-muted);
}

.phone-mock {
  position: relative;
  max-width: 300px;
  margin-inline: auto;
}

@media (prefers-reduced-motion: no-preference) {
  .phone-mock {
    animation: phone-float 5.5s ease-in-out infinite;
  }
}

@keyframes phone-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

.phone-frame {
  background: var(--bg-elevated);
  border-radius: 2rem;
  padding: 0.75rem;
  border: 2px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.phone-screen {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 9 / 19;
  background: #0a0a10;
}

.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.13);
  pointer-events: none;
  z-index: 3;
}

.phone-island {
  position: absolute;
  top: 0.55rem;
  left: 50%;
  transform: translateX(-50%);
  width: 30%;
  height: 0.9rem;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}

.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.phone-mock::before {
  content: "";
  position: absolute;
  inset: -25%;
  background: radial-gradient(
    ellipse at center,
    rgba(107, 45, 123, 0.28) 0%,
    transparent 68%
  );
  pointer-events: none;
  z-index: -1;
}

.stats-bar {
  padding: 2rem 0;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(26, 26, 46, 0.6);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  text-align: center;
}

@media (min-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-value {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--on-muted);
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-elevated);
  border-block: 1px solid rgba(255, 255, 255, 0.05);
}

.section-eyebrow {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tertiary);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.85rem, 3.5vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-sub {
  text-align: center;
  color: var(--on-muted);
  max-width: 48ch;
  margin: 0 auto 3rem;
  font-size: 1.05rem;
}

.section-bridge {
  text-align: center;
  max-width: 44ch;
  margin: 2.5rem auto 0;
  font-size: 1.05rem;
  color: var(--on-bg);
  font-weight: 500;
}

.container-narrow {
  max-width: 720px;
}

.pain-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .pain-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pain-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s, transform 0.2s;
}

.pain-card:hover {
  border-color: rgba(196, 69, 142, 0.25);
  transform: translateY(-2px);
}

.pain-card p {
  font-size: 0.95rem;
  color: var(--on-muted);
  font-style: italic;
}

.pain-card p::before {
  content: "“";
  color: var(--tertiary);
  font-size: 1.5rem;
  line-height: 0;
  display: block;
  margin-bottom: 0.5rem;
}

.features-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.feature-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(196, 69, 142, 0.35);
  transform: translateY(-4px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(107, 45, 123, 0.3);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  color: var(--tertiary);
  border: 1px solid rgba(196, 69, 142, 0.2);
}

.feature-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--on-muted);
}

.steps {
  list-style: none;
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
  max-width: 900px;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.step-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  transition: border-color 0.2s, transform 0.2s;
}

.step-card:hover {
  border-color: rgba(107, 45, 123, 0.4);
  transform: translateY(-3px);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--on-muted);
}

.plans-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 720px;
  margin-inline: auto;
}

@media (min-width: 640px) {
  .plans-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.plan-card {
  background: var(--surface);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-card.featured {
  border: 2px solid transparent;
  background:
    linear-gradient(165deg, rgba(107, 45, 123, 0.22) 0%, var(--surface) 45%) padding-box,
    var(--gradient) border-box;
  position: relative;
  box-shadow: 0 16px 40px rgba(107, 45, 123, 0.25);
}

.plan-card.featured .badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
}

.plan-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.plan-price {
  font-size: 2rem;
  font-weight: 700;
  margin: 1rem 0;
}

.plan-price small {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--on-muted);
}

.plan-list {
  list-style: none;
  margin-top: 1.25rem;
}

.plan-list li {
  font-size: 0.9rem;
  color: var(--on-muted);
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.plan-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: 700;
}

.plan-card.featured .plan-list li::before {
  color: var(--tertiary);
}

.plan-note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--on-muted);
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.15rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: color 0.2s;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--tertiary);
  flex-shrink: 0;
  transition: transform 0.2s;
}

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

.faq-item summary:hover {
  color: var(--tertiary);
}

.faq-item p {
  padding: 0 1.25rem 1.15rem;
  font-size: 0.9rem;
  color: var(--on-muted);
  line-height: 1.65;
}

.faq-item p a {
  color: var(--tertiary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cta-band {
  padding: 5.5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 90% 70% at 50% 100%,
    rgba(107, 45, 123, 0.45),
    transparent 65%
  );
  pointer-events: none;
}

.cta-band-inner {
  position: relative;
}

.cta-band h2 {
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  max-width: 20ch;
  margin-inline: auto;
}

.cta-band p {
  color: var(--on-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 42ch;
  margin-inline: auto;
}

@media (prefers-reduced-motion: no-preference) {
  .cta-pulse {
    animation: cta-glow 3s ease-in-out infinite;
  }
}

@keyframes cta-glow {
  0%,
  100% {
    box-shadow: 0 8px 24px rgba(107, 45, 123, 0.45);
  }
  50% {
    box-shadow: 0 12px 36px rgba(196, 69, 142, 0.55);
  }
}

.trust-strip {
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
  font-size: 0.8rem;
  color: var(--on-muted);
}

.trust-grid span {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.trust-grid span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--tertiary);
  opacity: 0.7;
}

.cta-block {
  text-align: center;
  padding: 5rem 0;
  position: relative;
}

.cta-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 80% 60% at 50% 100%,
    rgba(107, 45, 123, 0.35),
    transparent
  );
  pointer-events: none;
}

.cta-block h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
  position: relative;
}

.cta-block p {
  color: var(--on-muted);
  margin-bottom: 2rem;
  position: relative;
}

.cta-block .btn {
  position: relative;
}

.disclaimer {
  background: var(--surface-variant);
  padding: 2rem 0;
}

.disclaimer p {
  font-size: 0.8rem;
  color: var(--on-muted);
  text-align: center;
  max-width: 60ch;
  margin-inline: auto;
  line-height: 1.7;
}

.footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
  font-size: 0.85rem;
  color: var(--on-muted);
}

@media (min-width: 640px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a:hover {
  color: var(--on-bg);
}

.legal-page {
  padding: 6rem 0 4rem;
}

.legal-page .container {
  max-width: 720px;
}

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--tertiary);
  margin-bottom: 2rem;
}

.legal-back:hover {
  text-decoration: underline;
}

.legal-page h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--on-muted);
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-page h2 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--on-bg);
}

.legal-page h3 {
  font-size: 1rem;
  font-weight: 600;
  margin: 1.25rem 0 0.5rem;
  color: var(--on-muted);
}

.legal-page p,
.legal-page li {
  font-size: 0.95rem;
  color: var(--on-muted);
  margin-bottom: 0.75rem;
}

.legal-page ul,
.legal-page ol {
  margin: 0 0 1rem 1.25rem;
  color: var(--on-muted);
}

.legal-page li {
  margin-bottom: 0.4rem;
}

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

.legal-page strong {
  color: var(--on-bg);
  font-weight: 600;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}
