/* PromptDrop — Design System
   Aesthetic: Dark Editorial Luxury
   Palette: Coral → Amber gradient on deep dark
   Fonts: Plus Jakarta Sans (headings), Inter (body)
   Layout: Card-based glassmorphism, mobile-first, responsive
*/

/* === Reset & Base === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* Accent gradient: coral to amber */
  --accent-start: #FF6B6B;
  --accent-mid: #FF8E53;
  --accent-end: #F59E0B;
  --accent-gradient: linear-gradient(135deg, #FF6B6B, #FF8E53, #F59E0B);

  /* Dark base (default) */
  --surface-0: #0A0A0F;
  --surface-1: #12121A;
  --surface-2: #1A1A25;
  --surface-3: #242430;
  --surface-4: #2E2E3A;

  /* Text */
  --text-primary: #F5F5F7;
  --text-secondary: #C5C5D0;
  --text-body: #C5C5D0;
  --text-muted: #8888A0;
  --text-faint: #55556A;

  /* Semantic tokens (dark mode defaults) */
  --bg-primary: var(--surface-0);
  --bg-secondary: var(--surface-1);
  --bg-tertiary: var(--surface-2);
  --bg-card: var(--surface-1);
  --bg-nav: rgba(10, 10, 15, 0.8);
  --bg-footer: var(--surface-1);
  --border-default: var(--surface-3);
  --border-subtle: var(--surface-2);

  /* Problem section */
  --bg-problem-before: rgba(239, 68, 68, 0.08);
  --border-problem-before: rgba(239, 68, 68, 0.2);
  --bg-problem-after: rgba(255, 107, 107, 0.08);
  --border-problem-after: rgba(255, 107, 107, 0.2);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.2);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.3), 0 2px 4px -2px rgba(0,0,0,0.2);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.3), 0 4px 6px -4px rgba(0,0,0,0.2);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.3), 0 8px 10px -6px rgba(0,0,0,0.2);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;

  --transition: 0.3s ease;
  --white: #ffffff;
}

/* Light mode */
[data-theme="light"] {
  --surface-0: #FAFAF9;
  --surface-1: #FFFFFF;
  --surface-2: #F5F5F0;
  --surface-3: #E8E8E0;
  --surface-4: #D8D8D0;

  --text-primary: #1A1A2E;
  --text-secondary: #3A3A50;
  --text-body: #3A3A50;
  --text-muted: #7A7A90;
  --text-faint: #9A9AB0;

  --bg-primary: var(--surface-0);
  --bg-secondary: var(--surface-1);
  --bg-tertiary: var(--surface-2);
  --bg-card: var(--surface-1);
  --bg-nav: rgba(250, 250, 249, 0.9);
  --bg-footer: var(--surface-2);
  --border-default: var(--surface-3);
  --border-subtle: var(--surface-2);

  --bg-problem-before: rgba(239, 68, 68, 0.06);
  --border-problem-before: rgba(239, 68, 68, 0.2);
  --bg-problem-after: rgba(245, 158, 11, 0.06);
  --border-problem-after: rgba(245, 158, 11, 0.2);

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.05);
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-body);
  background: var(--bg-primary);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-start); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-mid); }
ul, ol { list-style: none; }

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
}

h1 { font-size: 4rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; }
h2 { font-size: 2.75rem; font-weight: 700; letter-spacing: -0.03em; }
h3 { font-size: 1.5rem; font-weight: 700; }
h4 { font-size: 1.25rem; }

p { color: var(--text-body); line-height: 1.7; }

.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }

/* === Layout === */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section--gray {
  background: var(--bg-secondary);
}

.section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section__header p {
  margin-top: 1rem;
  font-size: 1.125rem;
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
  position: relative;
}

.btn:focus-visible {
  outline: 2px solid var(--accent-start);
  outline-offset: 2px;
}

.btn--primary {
  background: var(--accent-gradient);
  color: var(--white);
  border: none;
  font-weight: 600;
  overflow: hidden;
  z-index: 1;
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-gradient);
  filter: blur(15px);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  border-radius: inherit;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 107, 107, 0.3);
  color: var(--white);
}

.btn--primary:hover::before {
  opacity: 0.5;
}

.btn--secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn--secondary:hover {
  border-color: rgba(255, 107, 107, 0.4);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

[data-theme="light"] .btn--secondary {
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--text-primary);
}

[data-theme="light"] .btn--secondary:hover {
  border-color: rgba(255, 107, 107, 0.5);
  background: rgba(255, 107, 107, 0.05);
}

.btn--large {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn--white {
  background: var(--white);
  color: #1A1A2E;
}

.btn--white:hover {
  background: #F5F5F7;
  color: #1A1A2E;
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.3);
}

.btn--ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.btn--full {
  width: 100%;
}

/* === Badge === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: 100px;
  background: var(--surface-2);
  color: var(--text-secondary);
  letter-spacing: 0.01em;
  position: relative;
  border: 1px solid transparent;
  z-index: 1;
}

.badge::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--accent-gradient);
  z-index: -1;
  opacity: 0.4;
}

.badge--popular {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-end);
}

.badge--popular::before { opacity: 0.6; }

.badge--new {
  background: rgba(255, 107, 107, 0.15);
  color: var(--accent-start);
}

.badge--new::before { opacity: 0.5; }

.badge--value {
  background: rgba(255, 142, 83, 0.15);
  color: var(--accent-mid);
}

.badge--value::before { opacity: 0.5; }

[data-theme="light"] .badge {
  background: var(--surface-2);
  color: var(--text-primary);
}

/* === Navigation === */
@keyframes navSlide {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  animation: navSlide 0.5s ease forwards;
}

[data-theme="light"] .nav {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav__logo:hover { color: var(--text-primary); }

.nav__logo svg {
  width: 28px;
  height: 28px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

.nav__link:hover {
  color: var(--accent-start);
}

.nav__cta {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.nav__mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--text-muted);
}

/* === Hero === */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--surface-0);
  padding: 6rem 0;
}

/* Gradient orbs */
.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  animation: orbFloat 25s ease-in-out infinite;
}

.hero::before {
  width: 600px;
  height: 600px;
  background: var(--accent-start);
  top: -20%;
  right: -10%;
}

.hero::after {
  width: 500px;
  height: 500px;
  background: var(--accent-end);
  bottom: -30%;
  left: -5%;
  animation-delay: -12s;
}

/* Third orb via the container pseudo */
.hero .container::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: var(--accent-mid);
  filter: blur(120px);
  opacity: 0.15;
  top: 30%;
  left: 40%;
  animation: orbFloat 20s ease-in-out infinite;
  animation-delay: -7s;
  z-index: 0;
}

[data-theme="light"] .hero::before,
[data-theme="light"] .hero::after {
  opacity: 0.1;
}

[data-theme="light"] .hero .container::before {
  opacity: 0.06;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(40px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2rem;
}

.hero__content {
  text-align: center;
  max-width: 700px;
}
.hero__ctas { justify-content: center; }
.hero__trust { justify-content: center; }

/* Demo full-width below hero text */
.demo { width: 100%; max-width: 960px; }

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

.hero__badge {
  margin-bottom: 1.5rem;
  animation: heroReveal 0.8s ease forwards;
  animation-delay: 0.1s;
  opacity: 0;
}

.hero h1 {
  font-size: 4.5rem;
  line-height: 1.15;
  padding-bottom: 0.1em;
  background: var(--accent-gradient);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  animation: heroReveal 0.8s ease forwards, shimmer 8s linear infinite;
  animation-delay: 0.3s, 1.5s;
  opacity: 0;
}

.hero__sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.6;
  margin-top: 1.5rem;
  animation: heroReveal 0.8s ease forwards;
  animation-delay: 0.5s;
  opacity: 0;
}

.hero__ctas {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
  animation: heroReveal 0.8s ease forwards;
  animation-delay: 0.7s;
  opacity: 0;
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-faint);
  animation: heroReveal 0.8s ease forwards;
  animation-delay: 0.9s;
  opacity: 0;
}

.hero__trust svg {
  width: 16px;
  height: 16px;
  color: var(--accent-start);
}

/* Hero preview card (right column) */
.hero__preview-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  overflow: hidden;
  animation: heroReveal 0.8s ease forwards;
  animation-delay: 0.6s;
  opacity: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

[data-theme="light"] .hero__preview-card {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(0, 0, 0, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.hero__preview-card .preview__titlebar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .hero__preview-card .preview__titlebar {
  background: rgba(0, 0, 0, 0.03);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.preview__titlebar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.preview__titlebar-dot:nth-child(1) { background: #FF6B6B; }
.preview__titlebar-dot:nth-child(2) { background: #FF8E53; }
.preview__titlebar-dot:nth-child(3) { background: #F59E0B; }

.preview__titlebar-text {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero__preview-card .preview__snippet {
  padding: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-muted);
  font-family: 'Inter', monospace;
}

.hero__preview-card .preview__snippet .placeholder {
  color: var(--accent-start);
  font-weight: 600;
}

.hero__preview-card .preview__snippet p {
  margin-bottom: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.hero__preview-card .preview__snippet p:last-child {
  margin-bottom: 0;
}

/* === Stats Bar === */
.stats-bar {
  background: var(--surface-1);
  border-top: 1px solid var(--surface-3);
  border-bottom: 1px solid var(--surface-3);
  padding: 2rem 0;
  position: relative;
}

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

.stats-bar__item strong {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.02em;
}

.stats-bar__item span {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* === Problem Section === */
.problem {
  padding: 6rem 0;
}

.problem__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin-top: 3rem;
  align-items: stretch;
}

.problem__divider {
  width: 2px;
  background: var(--accent-gradient);
  margin: 0 2rem;
  border-radius: 2px;
  position: relative;
}

.problem__divider::before {
  content: 'VS';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--surface-0);
  padding: 0.75rem 0.5rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--accent-mid);
  letter-spacing: 0.05em;
}

[data-theme="light"] .problem__divider::before {
  background: var(--surface-0);
}

.problem__card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

[data-theme="light"] .problem__card {
  background: var(--bg-card);
  border-color: var(--border-default);
}

.problem__card--before {
  background: var(--bg-problem-before);
  border-color: var(--border-problem-before);
}

.problem__card--after {
  background: var(--bg-problem-after);
  border-color: var(--border-problem-after);
}

.problem__card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  font-size: 1.125rem;
}

.problem__card ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.problem__card li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.5;
}

.problem__card li svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
}

.problem__card--before li svg { color: #ef4444; }
.problem__card--after li svg { color: var(--accent-mid); }

/* === How It Works === */
.how-it-works__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  position: relative;
  transition: all var(--transition);
}

.step:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 107, 107, 0.2);
}

[data-theme="light"] .step {
  background: var(--bg-card);
  border-color: var(--border-default);
}

[data-theme="light"] .step:hover {
  border-color: rgba(255, 107, 107, 0.4);
  box-shadow: var(--shadow-md);
}

.step__number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}

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

.step p {
  font-size: 0.9375rem;
}

/* === Product Cards === */
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: rgba(30, 30, 40, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  background: rgba(40, 40, 55, 0.95);
  border-color: rgba(255, 107, 107, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 60px rgba(255, 107, 107, 0.08);
  transform: translateY(-6px);
}

[data-theme="light"] .product-card {
  background: var(--bg-card);
  border-color: var(--border-default);
}

[data-theme="light"] .product-card:hover {
  border-color: rgba(255, 107, 107, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06), 0 0 40px rgba(255, 107, 107, 0.06);
}

/* Bundle card — spans full grid width, gradient border */
.product-card--bundle {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.08), rgba(245, 158, 11, 0.08));
  border: 2px solid rgba(255, 142, 83, 0.3);
  display: grid;
  grid-template-columns: auto 1fr;
}

.product-card--bundle:hover {
  border-color: rgba(255, 142, 83, 0.5);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 0 0 80px rgba(255, 107, 107, 0.12);
}

[data-theme="light"] .product-card--bundle {
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.06), rgba(245, 158, 11, 0.06));
  border-color: rgba(255, 142, 83, 0.35);
}

.product-card--bundle .product-card__icon {
  width: 200px;
  height: auto;
  min-height: 200px;
}

.badge--bundle {
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 700;
}

@media (max-width: 768px) {
  .product-card--bundle {
    grid-template-columns: 1fr;
  }
  .product-card--bundle .product-card__icon {
    width: 100%;
    height: 160px;
    min-height: auto;
  }
}

.product-card__icon {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

/* Gradient glow behind icon */
.product-card__icon::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--accent-gradient);
  filter: blur(50px);
  opacity: 0.15;
}

.product-card__icon svg {
  width: 64px;
  height: 64px;
  color: var(--accent-mid);
  position: relative;
  z-index: 1;
}

.product-card__body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card__badge {
  margin-bottom: 0.75rem;
}

.product-card__title {
  font-size: 1.25rem;
  margin-bottom: 0.375rem;
}

.product-card__tagline {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.product-card__features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex: 1;
}

.product-card__features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-body);
}

.product-card__features li svg {
  width: 16px;
  height: 16px;
  color: var(--accent-mid);
  flex-shrink: 0;
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.product-card__price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.product-card__price span {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--text-faint);
}

/* === Prompt Preview === */
.preview__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.preview__prompt,
.preview__output {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

[data-theme="light"] .preview__prompt,
[data-theme="light"] .preview__output {
  background: var(--bg-card);
  border-color: var(--border-default);
}

/* Terminal-style title bar */
.preview__prompt .preview__header,
.preview__output .preview__header {
  padding: 0.75rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .preview__prompt .preview__header,
[data-theme="light"] .preview__output .preview__header {
  background: var(--surface-2);
  border-bottom-color: var(--border-default);
}

.preview__prompt .preview__header {
  color: var(--accent-mid);
}

.preview__prompt .preview__header svg {
  color: var(--accent-mid);
}

.preview__output .preview__header {
  color: var(--text-muted);
}

.preview__prompt {
  border-color: rgba(255, 107, 107, 0.2);
  box-shadow: 0 0 40px rgba(255, 107, 107, 0.05);
}

[data-theme="light"] .preview__prompt {
  border-color: rgba(255, 107, 107, 0.3);
}

.preview__body {
  padding: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-body);
}

.preview__body p {
  color: var(--text-body);
  margin-bottom: 0.75rem;
}

.preview__body p:last-child {
  margin-bottom: 0;
}

/* === Before/After Comparison === */
.preview__comparison {
  margin-top: 2rem;
}

.preview__comparison:first-of-type {
  margin-top: 0;
}

.preview__comparison .preview__grid {
  margin-top: 1rem;
}

.preview__comparison-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
}

.preview__comparison-label--before {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.preview__comparison-label--after {
  color: var(--accent-mid);
  background: rgba(255, 142, 83, 0.1);
  border: 1px solid rgba(255, 142, 83, 0.2);
}

[data-theme="light"] .preview__comparison-label--before {
  background: rgba(239, 68, 68, 0.08);
}

[data-theme="light"] .preview__comparison-label--after {
  background: rgba(255, 142, 83, 0.08);
}

/* Before state — muted, slightly faded */
.preview__prompt--before,
.preview__output--before {
  border-color: rgba(239, 68, 68, 0.15);
  opacity: 0.85;
}

.preview__prompt--before .preview__header {
  color: #ef4444;
}

.preview__prompt--before {
  border-color: rgba(239, 68, 68, 0.2);
  box-shadow: none;
}

[data-theme="light"] .preview__prompt--before {
  border-color: rgba(239, 68, 68, 0.25);
}

/* === Testimonials === */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
}

[data-theme="light"] .testimonial {
  background: var(--bg-card);
  border-color: var(--border-default);
}

/* Large decorative quote mark */
.testimonial::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 8rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.12;
  pointer-events: none;
}

.testimonial__stars {
  display: flex;
  gap: 0.125rem;
  margin-bottom: 1rem;
  color: var(--accent-end);
}

.testimonial__stars svg {
  width: 18px;
  height: 18px;
}

.testimonial__text {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.testimonial__name {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--text-primary);
}

.testimonial__role {
  font-size: 0.8125rem;
  color: var(--text-faint);
}

/* === FAQ === */
.faq__list {
  max-width: 720px;
  margin: 0 auto;
}

.faq__item {
  border-bottom: 1px solid var(--border-default);
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--text-primary);
  font-family: inherit;
  transition: color var(--transition);
}

.faq__question:hover {
  color: var(--accent-start);
}

.faq__question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--accent-start);
}

.faq__item.active .faq__question svg {
  transform: rotate(180deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__item.active .faq__answer {
  max-height: 300px;
}

.faq__answer p {
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* === CTA Banner === */
.cta-banner {
  padding: 5rem 0;
  text-align: center;
  background: var(--accent-gradient);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

/* Noise/grain overlay for texture */
.cta-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.1;
  pointer-events: none;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255,255,255,0.85);
  font-size: 1.125rem;
  max-width: 480px;
  margin: 0 auto 2rem;
}

.cta-banner__buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* === Footer === */
.footer {
  background: var(--surface-1);
  padding: 3rem 0 1.5rem;
  color: var(--text-muted);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer__logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer__links {
  display: flex;
  gap: 1.5rem;
}

.footer__links a {
  color: var(--text-muted);
  font-size: 0.875rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--accent-start);
}

.footer__bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-default);
  text-align: center;
  font-size: 0.8125rem;
}

.footer__bottom p {
  color: var(--text-faint);
}

/* === Product Detail Page === */
.product-hero {
  padding: 3rem 0 4rem;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-faint);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent-start);
}

.breadcrumb__sep {
  color: var(--text-faint);
}

.product-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.product-hero__content h1 {
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
}

.product-hero__tagline {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.product-hero__price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.product-hero__price-note {
  font-size: 0.875rem;
  color: var(--text-faint);
  margin-bottom: 1.5rem;
}

.product-hero__cta {
  margin-bottom: 1rem;
}

.product-hero__trust {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.8125rem;
  color: var(--text-faint);
}

.product-hero__trust span {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

.product-hero__trust svg {
  width: 14px;
  height: 14px;
  color: var(--accent-mid);
}

.product-hero__sidebar {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
}

[data-theme="light"] .product-hero__sidebar {
  background: var(--bg-card);
  border-color: var(--border-default);
}

.product-hero__sidebar h3 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product-hero__sidebar ul {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.product-hero__sidebar li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  color: var(--text-body);
}

.product-hero__sidebar li svg {
  width: 16px;
  height: 16px;
  color: var(--accent-mid);
  flex-shrink: 0;
}

/* Categories breakdown */
.categories {
  padding: 4rem 0;
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.category-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: all var(--transition);
}

[data-theme="light"] .category-card {
  background: var(--bg-card);
  border-color: var(--border-default);
}

.category-card:hover {
  border-color: rgba(255, 107, 107, 0.3);
  box-shadow: var(--shadow-md);
}

.category-card__count {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.category-card__name {
  font-size: 0.9375rem;
  color: var(--text-body);
  font-weight: 600;
  margin-top: 0.25rem;
}

/* Who This Is For */
.who-for {
  padding: 4rem 0;
}

.who-for__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.who-for__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--text-body);
}

[data-theme="light"] .who-for__item {
  background: var(--bg-secondary);
  border-color: var(--border-default);
}

.who-for__item svg {
  width: 20px;
  height: 20px;
  color: var(--accent-mid);
  flex-shrink: 0;
  margin-top: 1px;
}

/* Sample Prompts */
.sample-prompts {
  padding: 4rem 0;
}

.sample-prompts__item {
  margin-bottom: 3rem;
}

.sample-prompts__item:last-child {
  margin-bottom: 0;
}

/* === Success Page === */
.success-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.success-icon svg {
  width: 40px;
  height: 40px;
}

.success-page h1 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.success-page .lead {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 2rem;
}

.download-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 107, 107, 0.3);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 480px;
  margin: 0 auto 2rem;
  box-shadow: var(--shadow-md);
}

[data-theme="light"] .download-card {
  background: var(--bg-card);
}

.download-card h3 {
  margin-bottom: 1rem;
}

.upsell {
  background: var(--bg-secondary);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 480px;
  margin: 0 auto;
}

.upsell h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.upsell p {
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

/* === 404 Page === */
.error-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
}

.error-page__code {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 8rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
}

.error-page h1 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.error-page p {
  max-width: 400px;
  margin: 0 auto 2rem;
}

/* === Legal Pages === */
.legal {
  padding: 4rem 0;
  max-width: 720px;
  margin: 0 auto;
}

.legal h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.legal__date {
  color: var(--text-faint);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}

.legal h2 {
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
}

.legal p, .legal li {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal ul {
  padding-left: 1.5rem;
  list-style: disc;
}

/* === Responsive === */
@media (max-width: 1024px) {
  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }

}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .section { padding: 1.5rem 0; }
  .section__header { margin-bottom: 1rem; }
  .section + .section { padding-top: 0.5rem; }

  /* Force visibility on mobile — IntersectionObserver fade-in doesn't trigger reliably */
  .fade-in {
    opacity: 1 !important;
    transform: none !important;
  }

  .hero { padding: 3rem 0; min-height: auto; }
  .hero h1 { font-size: 2.5rem; }
  .hero__sub { font-size: 1.0625rem; }

  .demo { max-width: 100%; }

  .nav__links { display: none; }
  .nav__mobile-toggle { display: block; }
  .nav__links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-default);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
  }

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

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

  .problem__divider {
    width: 100%;
    height: 2px;
    margin: 1.5rem 0;
  }

  .problem__divider::before {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0.5rem 0.75rem;
  }

  .preview__grid,
  .product-hero__grid,
  .who-for__list {
    grid-template-columns: 1fr;
  }

  .how-it-works__steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-banner h2 { font-size: 2rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2rem; }
  .hero__ctas { flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .stats-bar__inner { grid-template-columns: 1fr 1fr; }
}

/* === Theme Toggle === */
.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle:hover {
  color: var(--accent-start);
  background: var(--surface-2);
}

/* === Scroll Animations === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Staggered children */
.fade-in.visible > *:nth-child(1) { transition-delay: 0s; }
.fade-in.visible > *:nth-child(2) { transition-delay: 0.05s; }
.fade-in.visible > *:nth-child(3) { transition-delay: 0.1s; }
.fade-in.visible > *:nth-child(4) { transition-delay: 0.15s; }

/* === Grain Texture Overlay === */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

[data-theme="light"] body::after {
  opacity: 0.025;
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__badge, .hero h1, .hero__sub, .hero__ctas, .hero__trust, .hero__preview-card {
    animation: none;
    opacity: 1;
  }
  .hero::before, .hero::after { animation: none; }
  .hero .container::before { animation: none; }
  .hero h1 {
    -webkit-text-fill-color: initial;
    background: none;
    -webkit-background-clip: initial;
    background-clip: initial;
  }
  .nav { animation: none; }
  body::after { display: none; }
}

/* === Utilities === */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
