/* =========================================================
   RESET & ROOT
   ========================================================= */
:root {
  --blue: #2D6BE4;
  --blue-hover: #2558B8;
  --purple: #7B4FE4;
  --dark: #0D0D1A;
  --yellow: #FFD93D;
  --neutral: #6B7280;
  --bg: #F9FAFB;
  --white: #fff;
  --border: #E5E7EB;
  --max: 1280px;
  --font-h: "Syne", system-ui, sans-serif;
  --font-b: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-b);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
h1, h2, h3 {
  font-family: var(--font-h);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
}
h2 {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
  font-weight: 700;
  text-align: center;
  color: var(--dark);
}
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 0 0; }
a { text-decoration: none; }

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}
@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 0.15; }
  50% { transform: scale(1.2); opacity: 0.25; }
}
@keyframes shine {
  from { transform: translateX(-100%); }
  to { transform: translateX(100%); }
}
@keyframes floatBadge {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(5deg); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes modal-spin {
  to { transform: rotate(360deg); }
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  border-radius: 0.5rem;
  font-weight: 600;
  font-family: var(--font-b);
  font-size: 1rem;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  transition: background 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 4px 14px rgba(45, 107, 228, 0.3);
}
.btn--primary:hover { background: var(--blue-hover); transform: translateY(-1px); }
.btn--outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn--outline:hover { background: rgba(45, 107, 228, 0.05); }
.btn--dark {
  background: var(--dark);
  color: #fff;
}
.btn--dark:hover { background: #1A1A2E; }
.btn--outline-dark {
  background: transparent;
  color: var(--neutral);
  border: 1px solid var(--border);
}
.btn--outline-dark:hover { color: var(--dark); border-color: var(--dark); }
.btn--ghost-text {
  background: transparent;
  color: var(--neutral);
  border: 0;
  padding-left: 0;
  padding-right: 0;
  text-decoration: underline;
  font-size: 0.875rem;
}
.btn--ghost-text:hover { color: var(--blue); }

/* =========================================================
   NAVBAR
   ========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.nav__logo {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
  text-decoration: none;
  flex-shrink: 0;
}
.nav__links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
  margin-right: 1rem;
}
.nav__links a {
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--neutral);
  text-decoration: none;
  transition: color 0.15s;
}
.nav__links a:hover { color: var(--blue); }
.nav__cta { flex-shrink: 0; padding: 0.625rem 1.5rem; }
@media (max-width: 768px) { .nav__links { display: none; } }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding-top: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Dot grid background */
.hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #6B7280 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.2;
  pointer-events: none;
}

/* Orbs */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.hero__orb--blue {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--blue) 0%, transparent 70%);
  opacity: 0.15;
  top: -10%;
  right: -5%;
  animation: orbPulse 8s ease-in-out infinite;
}
.hero__orb--purple {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  opacity: 0.15;
  bottom: -15%;
  left: -10%;
  animation: orbPulse 10s ease-in-out infinite 2s;
}

/* Floating AI icons */
.ai-icon {
  position: absolute;
  background: var(--white);
  border-radius: 14px;
  border: 1px solid rgba(229, 231, 235, 0.5);
  padding: 12px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  pointer-events: none;
  z-index: 1;
}
.ai-icon--chatgpt  { left: 8%;  top: 15%; animation: float 3s ease-in-out infinite 0s; }
.ai-icon--claude   { left: 85%; top: 12%; animation: float 4s ease-in-out infinite 0.3s; }
.ai-icon--gemini   { left: 5%;  top: 45%; animation: float 5s ease-in-out infinite 0.6s; }
.ai-icon--copilot  { left: 90%; top: 40%; animation: float 3s ease-in-out infinite 0.9s; }
.ai-icon--midjourney { left: 10%; top: 75%; animation: float 4s ease-in-out infinite 1.2s; }
.ai-icon--dalle    { left: 88%; top: 72%; animation: float 5s ease-in-out infinite 1.5s; }
.ai-icon--canva    { left: 15%; top: 25%; animation: float 3s ease-in-out infinite 1.8s; }
.ai-icon--perplexity { left: 82%; top: 25%; animation: float 4s ease-in-out infinite 2.1s; }
.ai-icon--notion   { left: 12%; top: 60%; animation: float 5s ease-in-out infinite 2.4s; }
.ai-icon--grammarly { left: 85%; top: 58%; animation: float 3s ease-in-out infinite 2.7s; }

.ai-icon--md-only { display: none; }
@media (min-width: 768px) { .ai-icon--md-only { display: block; } }

/* Hero inner grid */
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Left column */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--blue);
  color: #fff;
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}
.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.hero__copy h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--dark);
}
.hero__h1-line1 { color: var(--dark); }
.hero__h1-grad {
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lede {
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--neutral);
  margin-bottom: 2.5rem;
}

.hero__ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__social-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}
.hero__avatars {
  display: flex;
  align-items: center;
}
.hero__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border: 2px solid #fff;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-b);
  font-weight: 700;
  font-size: 0.875rem;
  flex-shrink: 0;
}
.hero__avatar + .hero__avatar { margin-left: -0.5rem; }
.hero__stars {
  color: var(--yellow);
  font-size: 1rem;
  letter-spacing: 0.05em;
}
.hero__social-text {
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--neutral);
}

/* Right column - book cover */
.hero__cover-wrap {
  position: relative;
  max-width: 320px;
  margin: 0 auto;
}
.hero__book-shadow {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.35));
  border-radius: 0.5rem;
  filter: blur(24px);
  transform: translateY(32px) scale(0.95);
}
.hero__book-img {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  object-fit: cover;
  display: block;
}

/* Book decorations */
.hero__book-deco {
  position: absolute;
  opacity: 0.1;
  pointer-events: none;
}
.hero__book-deco--sparkle { width: 64px; height: 64px; top: 32px; right: 32px; }
.hero__book-deco--brain   { width: 48px; height: 48px; bottom: 48px; left: 32px; }
.hero__book-deco--zap     {
  width: 96px;
  height: 96px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Dot grid on book */
.hero__book-dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 1) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.05;
}

/* Book content */
.hero__book-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero__book-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  align-self: flex-start;
}
.hero__book-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--yellow);
  border-radius: 50%;
  flex-shrink: 0;
}
.hero__book-badge span:last-child,
.hero__book-badge {
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 0.875rem;
  color: #fff;
}
.hero__book-bottom { display: flex; flex-direction: column; }
.hero__book-title {
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 3rem;
  color: #fff;
  line-height: 1;
  margin: 0;
}
.hero__book-line {
  height: 4px;
  width: 64px;
  background: var(--yellow);
  border-radius: 9999px;
  margin-top: 0.75rem;
}
.hero__book-sub {
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 1.5rem;
  line-height: 1.5;
}
.hero__book-meta {
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.05em;
  margin-top: 1rem;
}

/* Shine effect */
.hero__book-shine {
  position: absolute;
  inset-y: 0;
  width: 40%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
  animation: shine 3s ease-in-out infinite 5s;
  pointer-events: none;
}

/* Price badge */
.hero__price-badge {
  position: absolute;
  top: -16px;
  right: -16px;
  background: var(--yellow);
  color: var(--dark);
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  font-family: var(--font-b);
  font-weight: 700;
  font-size: 1.125rem;
  animation: floatBadge 3s ease-in-out infinite;
  z-index: 3;
}

/* Hero responsive */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero__ctas { justify-content: center; }
  .hero__social-proof { justify-content: center; }
  .hero__cover-wrap { max-width: 240px; }
  .ai-icon--chatgpt  { left: 2%; }
  .ai-icon--claude   { right: 2%; left: auto; }
  .ai-icon--copilot  { right: 2%; left: auto; }
  .ai-icon--dalle    { right: 2%; left: auto; }
  .ai-icon--grammarly { right: 2%; left: auto; }
}

/* =========================================================
   STATS STRIP
   ========================================================= */
.stats {
  background: var(--dark);
  padding: 4rem 1.5rem 5rem;
}
.stats__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-family: var(--font-h);
  font-weight: 700;
  font-size: clamp(2.25rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 0.25rem;
}
.stat-item span {
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--neutral);
}
@media (max-width: 640px) {
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   PROBLEM SECTION
   ========================================================= */
.problem {
  background: var(--bg);
  padding: 5rem 1.5rem;
}
.problem h2 { margin-bottom: 4rem; }
.problem__timeline {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}
.problem__line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), var(--purple), transparent);
  transform: translateX(-50%);
}
.problem__item {
  position: relative;
  margin-bottom: 4rem;
  display: flex;
}
.problem__item--left { justify-content: flex-start; padding-right: 55%; }
.problem__item--right { justify-content: flex-end; padding-left: 55%; }
.problem__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  width: 100%;
}
.problem__emoji {
  font-size: 3rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}
.problem__card h3 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.problem__card p {
  font-family: var(--font-b);
  font-size: 1rem;
  color: var(--neutral);
  line-height: 1.7;
  max-width: 28rem;
}
@media (max-width: 768px) {
  .problem__line { left: 1.5rem; transform: none; }
  .problem__item--left,
  .problem__item--right {
    padding-left: 3.5rem;
    padding-right: 0;
    justify-content: flex-start;
  }
}

/* =========================================================
   CHAPTERS
   ========================================================= */
.chapters-section {
  background: var(--white);
  padding: 5rem 1.5rem 7rem;
}
.chapters-section h2 { margin-bottom: 5rem; }
.chapters-list {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.chapter-item {
  display: flex;
  align-items: flex-start;
  gap: 3rem;
}
.chapter-item--reverse { flex-direction: row-reverse; }
.chapter-item--reverse .chapter__content { text-align: right; }
.chapter-item--reverse .chapter__header { flex-direction: row-reverse; }
.chapter-item--reverse .chapter__content p { margin-left: auto; }

.chapter__num-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}
.chapter__circle {
  position: relative;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chapter__circle-inner {
  position: absolute;
  inset: 8px;
  background: var(--white);
  border-radius: 50%;
}
.chapter__num-text {
  position: relative;
  z-index: 1;
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.chapter__connector {
  width: 2px;
  height: 80px;
  background: linear-gradient(to bottom, rgba(45, 107, 228, 0.3), transparent);
  margin-top: 0;
}

.chapter__content { flex: 1; padding-top: 2rem; }
.chapter__header {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}
.chapter__header h3 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  color: var(--dark);
  margin: 0;
}
.chapter__tag {
  background: rgba(45, 107, 228, 0.1);
  color: var(--blue);
  padding: 0.25rem 0.75rem;
  border-radius: 0.5rem;
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
}
.chapter__content p {
  font-family: var(--font-b);
  font-size: 1.125rem;
  color: var(--neutral);
  line-height: 1.7;
  max-width: 36rem;
  margin: 0;
}

@media (max-width: 768px) {
  .chapter-item,
  .chapter-item--reverse {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .chapter__circle { width: 80px; height: 80px; }
  .chapter__circle-inner { inset: 5px; }
  .chapter__num-text { font-size: 1.5rem; }
  .chapter__content { padding-top: 0; }
  .chapter__connector { height: 40px; }
}

/* =========================================================
   FOR WHO
   ========================================================= */
.for-who {
  background: var(--bg);
  padding: 5rem 1.5rem 7rem;
}
.for-who h2 { margin-bottom: 3rem; }
.for-who__grid {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
}

.for-who-card {
  border-radius: 0.75rem;
  overflow: hidden;
}

/* Big gradient hero card */
.for-who-card--hero {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 300px;
  color: #fff;
  grid-row: span 2;
}
.for-who-card--hero .for-who__emoji { font-size: 3.75rem; margin-bottom: 1.5rem; }
.for-who-card--hero h3 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}
.for-who-card--hero p {
  font-family: var(--font-b);
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}
.for-who-card__cta {
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem !important;
}

/* White cards */
.for-who-card--white {
  background: var(--white);
  border: 2px solid rgba(45, 107, 228, 0.2);
  padding: 1.5rem;
}
.for-who-card--white .for-who__emoji { font-size: 3rem; margin-bottom: 1rem; }
.for-who-card--white h3 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.for-who-card--white p {
  font-family: var(--font-b);
  font-size: 0.875rem;
  color: var(--neutral);
  margin: 0;
}

/* Yellow card */
.for-who-card--yellow {
  background: var(--yellow);
  border: none;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  grid-column: span 2;
}
.for-who-card__yellow-left { flex: 1; }
.for-who-card__yellow-sub {
  display: block;
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--dark);
  margin-bottom: 0.25rem;
}
.for-who-card--yellow h3 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dark);
  margin: 0;
}
.for-who__emoji--lg { font-size: 2.5rem; flex-shrink: 0; }

@media (max-width: 1024px) {
  .for-who__grid { grid-template-columns: repeat(2, 1fr); }
  .for-who-card--hero { grid-row: span 1; min-height: auto; }
  .for-who-card--yellow { grid-column: span 2; }
}
@media (max-width: 640px) {
  .for-who__grid { grid-template-columns: 1fr; }
  .for-who-card--yellow { grid-column: span 1; flex-direction: column; align-items: flex-start; }
  .for-who-card--hero { grid-row: span 1; }
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testimonials {
  background: var(--white);
  padding: 5rem 1.5rem 7rem;
}
.testimonials h2 { margin-bottom: 3rem; }
.testimonials__list {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.testimonial {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.testimonial--right { flex-direction: row-reverse; }

.testimonial__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-b);
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 4px 14px rgba(45, 107, 228, 0.3);
  flex-shrink: 0;
  margin-top: 0.5rem;
}

.testimonial__body { flex: 1; max-width: 600px; }
.testimonial__body--right { margin-left: auto; }
.testimonial__meta {
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}
.testimonial__meta--right { text-align: right; }
.testimonial__name { font-family: var(--font-b); font-weight: 700; color: var(--dark); }
.testimonial__sep  { color: var(--neutral); }
.testimonial__role { font-family: var(--font-b); font-weight: 400; color: var(--neutral); }

.testimonial__bubble {
  background: var(--bg);
  padding: 1.5rem;
  border-radius: 1rem;
  position: relative;
}
.testimonial__bubble--left  { border-top-left-radius: 0; }
.testimonial__bubble--right { border-top-right-radius: 0; }

.testimonial__stars {
  color: var(--yellow);
  font-size: 1rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}
.testimonial__bubble p {
  font-family: var(--font-b);
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.7;
  margin: 0;
}

/* =========================================================
   PRICING
   ========================================================= */
.pricing-section {
  background: var(--dark);
  padding: 5rem 1.5rem 7rem;
}
.pricing__card {
  max-width: 448px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 0.75rem;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}
.pricing__top-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--purple));
}
.pricing__price {
  text-align: center;
  margin-bottom: 2rem;
}
.pricing__amount {
  display: block;
  font-family: var(--font-h);
  font-weight: 800;
  font-size: 3rem;
  color: var(--dark);
  line-height: 1;
}
.pricing__note-price {
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--neutral);
}
.pricing__feats {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.pricing__feats li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-family: var(--font-b);
  font-size: 1rem;
  color: var(--dark);
  line-height: 1.5;
}
.pricing__check { flex-shrink: 0; margin-top: 0.125rem; }
.pricing__guarantee {
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--neutral);
  text-align: center;
  margin-top: 1rem;
}

/* Checkout form */
.checkout__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.checkout__cta { margin-top: 0.5rem; width: 100%; }
.field span {
  display: block;
  font-family: var(--font-b);
  font-size: 0.875rem;
  color: var(--neutral);
  margin-bottom: 0.375rem;
}
.field input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 2px solid var(--border);
  background: var(--white);
  color: var(--dark);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s;
}
.field input:focus { outline: 0; border-color: var(--blue); }
.check {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  font-family: var(--font-b);
  font-size: 0.875rem;
  color: var(--neutral);
  line-height: 1.4;
  cursor: pointer;
}
.check input { margin-top: 0.2rem; accent-color: var(--blue); flex-shrink: 0; }
.check a { color: var(--blue); text-decoration: underline; }
.zakup__note {
  font-family: var(--font-b);
  font-size: 0.8125rem;
  color: var(--neutral);
  margin: 0;
  text-align: center;
}
.error { color: #dc2626; font-size: 0.875rem; margin: 0; }

/* =========================================================
   FAQ
   ========================================================= */
.faq {
  background: var(--white);
  padding: 5rem 1.5rem 7rem;
}
.faq h2 { margin-bottom: 3rem; }
.faq__list {
  max-width: 768px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.faq__item {
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  user-select: none;
}
.faq__summary::-webkit-details-marker { display: none; }
.faq__chevron {
  flex-shrink: 0;
  color: var(--neutral);
  transition: transform 0.2s;
}
.faq__item[open] .faq__chevron { transform: rotate(180deg); }
.faq__body {
  padding: 0 1.5rem 1.5rem;
}
.faq__body p {
  font-family: var(--font-b);
  font-size: 1rem;
  color: var(--neutral);
  line-height: 1.7;
  margin: 0;
}
.faq__body a { color: var(--blue); text-decoration: underline; }

/* =========================================================
   NEWSLETTER
   ========================================================= */
.newsletter-section {
  background: var(--bg);
  padding: 5rem 1.5rem 7rem;
}
.newsletter__card {
  max-width: 896px;
  margin: 0 auto;
  background: linear-gradient(to bottom right, var(--blue), var(--purple));
  padding: 2rem;
  border-radius: 1rem;
  position: relative;
  overflow: hidden;
}
@media (min-width: 640px) { .newsletter__card { padding: 3rem; } }

.newsletter__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 1) 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.1;
  pointer-events: none;
}
.newsletter__orb {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  filter: blur(24px);
  pointer-events: none;
}
.newsletter__orb--1 { width: 128px; height: 128px; top: -2rem; right: -2rem; }
.newsletter__orb--2 { width: 160px; height: 160px; bottom: -2rem; left: -2rem; }

.newsletter__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
}
.newsletter__icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #fff;
}
.newsletter__inner h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: #fff;
  margin-bottom: 1rem;
}
.newsletter__sub {
  font-family: var(--font-b);
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 512px;
  margin: 0 auto 0;
  line-height: 1.6;
}

.newsletter__form {
  max-width: 448px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}
.newsletter__form input[type="email"] {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  border: 0;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 1rem;
  outline: none;
  transition: box-shadow 0.15s;
}
.newsletter__form input[type="email"]:focus {
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5);
}
.newsletter__form input[type="email"]::placeholder { color: #6B7280; }
.check--white { color: rgba(255, 255, 255, 0.8); }
.check--white a { color: #fff; text-decoration: underline; }
.newsletter__form .btn--dark { width: 100%; }

.newsletter__disclaimer {
  font-family: var(--font-b);
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
  text-align: center;
}

/* shared msg styles */
.msg { font-size: 0.875rem; margin: 0; }
.msg.ok { color: #16a34a; }
.msg.err { color: #dc2626; }

/* newsletter msg on dark bg */
.newsletter__form .msg.ok  { color: #86efac; }
.newsletter__form .msg.err { color: #fca5a5; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--dark);
  padding: 3rem 1.5rem;
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
}
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 2rem;
  flex-wrap: wrap;
}
.footer__brand {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
}
.footer__nav {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer__nav a {
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--neutral);
  text-decoration: none;
  transition: color 0.15s;
}
.footer__nav a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid #1f2937;
  padding-top: 2rem;
  text-align: center;
}
.footer__bottom p {
  font-family: var(--font-b);
  font-size: 0.875rem;
  color: var(--neutral);
  margin: 0;
}

/* Recovery section inside footer */
.recovery-section {
  margin-top: 1.5rem;
}
.recovery-section details {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #1f2937;
  border-radius: 0.5rem;
  padding: 0.75rem 1.25rem;
  max-width: 480px;
  margin: 0 auto;
}
.recovery-section summary {
  cursor: pointer;
  font-family: var(--font-b);
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--neutral);
  list-style: none;
  transition: color 0.15s;
}
.recovery-section summary::-webkit-details-marker { display: none; }
.recovery-section summary:hover { color: #fff; }
.recovery__form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.recovery__form input {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #334155;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  font: inherit;
  font-size: 0.9375rem;
}
.recovery__form input::placeholder { color: #6B7280; }

@media (max-width: 640px) {
  .footer__top { flex-direction: column; align-items: flex-start; }
  .footer__nav { gap: 1rem; }
}

/* =========================================================
   MODAL
   ========================================================= */
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.modal__panel {
  position: relative;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  max-width: 28rem;
  width: 100%;
  overflow: hidden;
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #f3f4f6;
  border: 0;
  cursor: pointer;
  color: #4B5563;
  z-index: 10;
  transition: background 0.15s;
}
.modal__close:hover { background: #e5e7eb; }
.modal__header {
  background: linear-gradient(to bottom right, var(--blue), var(--purple));
  padding: 2rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.modal__deco {
  position: absolute;
  top: -2.5rem;
  right: -2.5rem;
  width: 8rem;
  height: 8rem;
  opacity: 0.2;
  animation: modal-spin 20s linear infinite;
}
.modal__icon {
  width: 3rem;
  height: 3rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.modal__header h3 {
  font-family: var(--font-h);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0 0 0.5rem;
  color: #fff;
  line-height: 1.2;
  padding-right: 2.5rem;
}
.modal__header > p {
  font-family: var(--font-b);
  font-weight: 400;
  font-size: 0.875rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.5;
  padding-right: 2.5rem;
}
.modal__body { padding: 2rem; }
.modal__benefits {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.modal__benefit {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.modal__dot {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: rgba(45, 107, 228, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.modal__dot span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--blue);
  display: block;
}
.modal__benefit > span {
  font-family: var(--font-b);
  font-weight: 400;
  font-size: 0.875rem;
  color: var(--dark);
}
#fragment-form input[type="email"] {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-family: var(--font-b);
  font-size: 1rem;
  color: var(--dark);
  background: #fff;
  transition: border-color 0.15s;
  display: block;
  margin-bottom: 0.75rem;
}
#fragment-form input[type="email"]:focus {
  outline: 0;
  border-color: var(--blue);
}
#fragment-form button[type="submit"] {
  width: 100%;
  background: var(--blue);
  font-family: var(--font-b);
  font-weight: 600;
  font-size: 1rem;
  border-radius: 0.5rem;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 14px rgba(45, 107, 228, 0.35);
}
#fragment-form button[type="submit"]:hover {
  background: var(--blue-hover);
  box-shadow: 0 6px 20px rgba(45, 107, 228, 0.45);
}
.modal__consent {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-family: var(--font-b);
  font-size: 0.75rem;
  color: #6B7280;
  line-height: 1.4;
  cursor: pointer;
}
.modal__consent input {
  margin-top: 0.15rem;
  accent-color: var(--blue);
  flex-shrink: 0;
}
.modal__note {
  font-family: var(--font-b);
  font-weight: 400;
  font-size: 0.75rem;
  text-align: center;
  margin: 0.75rem 0 0;
  color: #6B7280;
}

/* =========================================================
   COOKIE BANNER
   ========================================================= */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: #1f2937;
  color: #f9fafb;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.2);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner__text {
  flex: 1;
  font-family: var(--font-b);
  font-size: 0.875rem;
  line-height: 1.6;
  margin: 0;
}
.cookie-banner__text a { color: #93c5fd; }
.cookie-banner__btn { flex-shrink: 0; white-space: nowrap; }
@media (max-width: 480px) {
  .cookie-banner { flex-direction: column; align-items: stretch; }
  .cookie-banner__btn { text-align: center; }
}

/* nav logo img */
.nav__logo img { display: block; height: 48px; }
.footer__brand { display: block; }
.footer__brand img { display: block; height: 48px; background: #fff; }

/* =========================================================
   CONTACT SECTION
   ========================================================= */
.contact-section {
  padding: 5rem 1.25rem;
  background: #f9fafb;
}
.contact__inner {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}
.contact__inner h2 {
  font-family: var(--font-h);
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--dark);
  margin-bottom: 0.5rem;
}
.contact__sub {
  color: var(--neutral);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  text-align: left;
}
.contact__row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.contact__label {
  font-family: var(--font-b);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--dark);
}
.contact__form input,
.contact__form textarea {
  font-family: var(--font-b);
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--dark);
  transition: border-color .15s;
  width: 100%;
  box-sizing: border-box;
}
.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(45,107,228,.12);
}
.contact__form textarea {
  resize: vertical;
  min-height: 120px;
}
.contact__form .btn {
  align-self: flex-start;
}
