/* ============================================
   NoFap.io — Landing Page Styles
   Fonts: Instrument Serif (display) + Inter (body)
   ============================================ */

/* ===== Design Tokens ===== */
:root {
  --background: 0 0% 100%;
  --foreground: 210 14% 17%;
  --primary: 210 14% 17%;
  --primary-foreground: 0 0% 100%;
  --secondary: 0 0% 96%;
  --secondary-foreground: 0 0% 9%;
  --muted: 0 0% 96%;
  --muted-foreground: 215 8% 46%;
  --accent: 239 84% 67%;
  --accent-foreground: 0 0% 100%;
  --border: 0 0% 90%;
  --ring: 239 84% 67%;
  --radius: 0.5rem;

  --font-display: 'Instrument Serif', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.08);
  --shadow-xl: 0 25px 80px -12px rgba(0,0,0,0.1);
  --shadow-phone: 0 30px 80px -20px rgba(0,0,0,0.25), 0 0 0 1px rgba(0,0,0,0.05);

  --hero-dark: 230 25% 8%;
  --hero-dark-2: 235 30% 12%;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: var(--font-body);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
strong { font-weight: 600; }
em { font-family: var(--font-display); font-style: italic; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: hsl(var(--foreground));
  color: hsl(var(--primary-foreground));
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  background: hsl(var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 8px 32px hsla(var(--accent), 0.3);
}

.btn-primary.btn-lg {
  padding: 20px 40px;
  font-size: 1.05rem;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255,255,255,0.2);
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: all 0.3s var(--ease);
}

.navbar.scrolled {
  background: hsla(var(--background), 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 hsl(var(--border));
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  z-index: 10;
}

.logo-img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
}

.logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: hsl(var(--accent));
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  border-radius: 10px;
  letter-spacing: 0;
}

.logo-text {
  color: hsl(var(--foreground));
}

.logo-dot {
  color: hsl(var(--accent));
}

/* Hero overwrites logo color */
.hero .nav-logo .logo-text,
.navbar:not(.scrolled) .logo-text {
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  transition: color 0.2s var(--ease);
}

.navbar:not(.scrolled) .nav-links a {
  color: rgba(255,255,255,0.6);
}

.nav-links a:hover {
  color: hsl(var(--foreground));
}

.navbar:not(.scrolled) .nav-links a:hover {
  color: #fff;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
  background: hsl(var(--foreground));
  color: hsl(var(--primary-foreground));
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 100px;
  transition: all 0.3s var(--ease);
}

.navbar:not(.scrolled) .nav-cta {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
}

.nav-cta:hover {
  background: hsl(var(--accent));
  color: #fff;
  transform: translateY(-1px);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 10;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: hsl(var(--foreground));
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

.navbar:not(.scrolled) .nav-hamburger span {
  background: #fff;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 16px 24px 24px;
  background: hsl(var(--background));
  border-top: 1px solid hsl(var(--border));
}

.mobile-nav a {
  padding: 14px 0;
  font-weight: 500;
  font-size: 0.95rem;
  color: hsl(var(--muted-foreground));
  border-bottom: 1px solid hsl(var(--border));
}

.mobile-cta {
  margin-top: 16px;
  padding: 14px 24px !important;
  background: hsl(var(--foreground));
  color: hsl(var(--primary-foreground)) !important;
  border-radius: 100px;
  text-align: center;
  font-weight: 600;
  border: none !important;
}

/* ===== Cinematic Hero Section ===== */
.hero-cinematic {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background: #fff;
}

/* Video wrapper */
.hero-video-wrapper {
  position: absolute;
  top: 300px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #fff 0%, transparent 30%, transparent 70%, #fff 100%);
  pointer-events: none;
  z-index: 1;
}

/* Hero content */
.hero-cin-content {
  position: relative;
  z-index: 10;
  padding-top: calc(8rem - 75px);
  padding-bottom: 160px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.hero-cin-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Headline */
.hero-cin-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -2.46px;
  color: #000;
  max-width: 900px;
  margin-bottom: 0;
}

.hero-cin-title em {
  font-family: var(--font-display);
  font-style: italic;
  color: #6F6F6F;
}

/* Description */
.hero-cin-desc {
  font-family: var(--font-body);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.65;
  color: #6F6F6F;
  max-width: 580px;
  margin-top: 32px;
}

/* CTA Button */
.hero-cin-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 56px;
  margin-top: 48px;
  background: #000;
  color: #fff;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  letter-spacing: -0.01em;
}

.hero-cin-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

/* Nav overrides for white hero */
.navbar:not(.scrolled) .logo-text {
  color: #000;
}

.navbar:not(.scrolled) .nav-links a {
  color: #6F6F6F;
}

.navbar:not(.scrolled) .nav-links a:first-child {
  color: #000;
}

.navbar:not(.scrolled) .nav-links a:hover {
  color: #000;
}

.navbar:not(.scrolled) .nav-cta {
  background: #000;
  color: #fff;
  border: none;
  backdrop-filter: none;
}

.navbar:not(.scrolled) .nav-cta:hover {
  background: hsl(var(--accent));
  color: #fff;
  transform: translateY(-1px);
}

.navbar:not(.scrolled) .nav-hamburger span {
  background: #000;
}

/* Fade-rise animations */
.anim-fade-rise {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeRise 0.8s ease-out forwards;
}

.anim-fade-rise-delay {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeRise 0.8s ease-out 0.2s forwards;
}

.anim-fade-rise-delay-2 {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeRise 0.8s ease-out 0.4s forwards;
}

@keyframes fadeRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== Animations ===== */
.anim-fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s var(--ease-out) forwards;
}

.anim-d1 { animation-delay: 0.1s; }
.anim-d2 { animation-delay: 0.2s; }
.anim-d3 { animation-delay: 0.35s; }
.anim-d4 { animation-delay: 0.45s; }
.anim-d5 { animation-delay: 0.6s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll-triggered */
.pcard, .fcard, .step-card, .bcard, .feature-row,
.priv-item, .faq-item, .timeline-item, .science-layout {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger within grids */
.in-view.pcard:nth-child(2),
.in-view.fcard:nth-child(2),
.in-view.bcard:nth-child(2),
.in-view.step-card:nth-child(2),
.in-view.priv-item:nth-child(2),
.in-view.timeline-item:nth-child(2) {
  transition-delay: 0.08s;
}
.in-view.pcard:nth-child(3),
.in-view.fcard:nth-child(3),
.in-view.bcard:nth-child(3),
.in-view.step-card:nth-child(3),
.in-view.priv-item:nth-child(3),
.in-view.timeline-item:nth-child(3) {
  transition-delay: 0.16s;
}
.in-view.fcard:nth-child(4),
.in-view.bcard:nth-child(4),
.in-view.priv-item:nth-child(4) {
  transition-delay: 0.24s;
}
.in-view.fcard:nth-child(5),
.in-view.bcard:nth-child(5) {
  transition-delay: 0.32s;
}
.in-view.fcard:nth-child(6),
.in-view.bcard:nth-child(6) {
  transition-delay: 0.4s;
}

/* ===== Stats Bar ===== */
.stats {
  padding: 56px 0;
  background: hsl(var(--background));
  border-bottom: 1px solid hsl(var(--border));
}

.stats-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
  padding: 0 16px;
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 400;
  color: hsl(var(--foreground));
  line-height: 1;
  margin-bottom: 6px;
}

.stat-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.02em;
}

/* ===== Section Shared ===== */
.section {
  padding: 100px 0;
}

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: hsl(var(--accent));
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: hsl(var(--foreground));
  margin-bottom: 16px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title-left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.section-desc {
  font-size: 1.05rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

/* ===== Problem Section ===== */
.section-problem {
  background: hsl(var(--background));
}

.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pcard {
  padding: 36px 32px;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  transition: all 0.4s var(--ease);
}

.pcard:hover {
  border-color: hsla(var(--accent), 0.2);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.pcard-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: hsla(var(--accent), 0.06);
  border-radius: 14px;
  color: hsl(var(--accent));
  margin-bottom: 20px;
}

.pcard h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.pcard p {
  font-size: 0.92rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.65;
}

/* ===== Features Section ===== */
.section-features {
  background: hsl(var(--secondary));
}

/* Feature Rows (alternating image/text) */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-row-reverse {
  direction: rtl;
}

.feature-row-reverse > * {
  direction: ltr;
}

.feature-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--accent));
  background: hsla(var(--accent), 0.08);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.feature-text h3 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.feature-text p {
  font-size: 0.95rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin-bottom: 24px;
}

.feature-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: hsl(var(--foreground));
}

.feature-checks li svg {
  flex-shrink: 0;
  color: hsl(var(--accent));
}

.feature-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-phone {
  width: 280px;
  background: hsl(230, 20%, 10%);
  border-radius: 40px;
  padding: 10px;
  box-shadow: var(--shadow-phone);
  overflow: hidden;
  position: relative;
  transition: transform 0.5s var(--ease);
}

.feature-phone::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 26px;
  background: hsl(230, 20%, 6%);
  border-radius: 18px;
  z-index: 5;
}

.feature-phone img {
  width: 100%;
  height: auto;
  border-radius: 32px;
  display: block;
}

.feature-phone:hover {
  transform: translateY(-6px) scale(1.01);
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 0;
}

.fcard {
  padding: 32px 28px;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  transition: all 0.4s var(--ease);
}

.fcard:hover {
  border-color: hsla(var(--accent), 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.fcard-accent {
  background: hsl(var(--foreground));
  color: hsl(var(--primary-foreground));
  border: none;
}

.fcard-accent .fcard-icon {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.fcard-accent h3 { color: #fff; }
.fcard-accent p { color: rgba(255,255,255,0.65); }

.fcard-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: hsla(var(--accent), 0.06);
  border-radius: 12px;
  color: hsl(var(--accent));
  margin-bottom: 18px;
}

.fcard h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.fcard p {
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* ===== How It Works ===== */
.section-steps {
  background: hsl(var(--background));
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step-card {
  flex: 1;
  max-width: 340px;
  text-align: center;
  padding: 0 28px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 3rem;
  color: hsla(var(--accent), 0.15);
  line-height: 1;
  margin-bottom: 16px;
}

.step-card h3 {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.step-card p {
  font-size: 0.92rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.65;
}

.step-line {
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, hsl(var(--border)), hsla(var(--accent), 0.3), hsl(var(--border)));
  margin-top: 32px;
  flex-shrink: 0;
}

/* ===== Science Section ===== */
.section-science {
  background: hsl(var(--secondary));
  overflow: hidden;
}

.science-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.science-img {
  display: flex;
  justify-content: center;
}

.science-img img {
  width: 320px;
  height: auto;
  border-radius: 24px;
  box-shadow: var(--shadow-xl);
}

.science-content .section-label {
  display: block;
}

.science-content p {
  font-size: 0.95rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin-bottom: 16px;
}

.science-timeline {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 20px;
  background: hsl(var(--background));
  border-radius: 12px;
  border: 1px solid hsl(var(--border));
}

.timeline-days {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: hsl(var(--accent));
  white-space: nowrap;
  min-width: 80px;
}

.timeline-text {
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.55;
}

/* ===== Benefits ===== */
.section-benefits {
  background: hsl(var(--background));
}

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

.bcard {
  padding: 32px 28px;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  transition: all 0.4s var(--ease);
}

.bcard:hover {
  border-color: hsla(var(--accent), 0.15);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.bcard-bar {
  width: 100%;
  height: 4px;
  background: hsl(var(--secondary));
  border-radius: 4px;
  margin-bottom: 20px;
  overflow: hidden;
}

.bcard-fill {
  width: 0;
  height: 100%;
  background: var(--bar-color);
  border-radius: 4px;
  transition: width 1.2s var(--ease-out);
}

.in-view .bcard-fill {
  width: var(--bar-width);
}

.bcard h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.bcard p {
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.6;
}

/* ===== Privacy ===== */
.section-privacy {
  background: hsl(var(--secondary));
}

.privacy-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 24px;
  box-shadow: var(--shadow-sm);
}

.privacy-shield {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  background: hsla(var(--accent), 0.04);
  border-radius: 50%;
  color: hsl(var(--accent));
  position: relative;
}

.privacy-shield::before {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1.5px dashed hsla(var(--accent), 0.15);
  animation: shield-spin 40s linear infinite;
}

@keyframes shield-spin {
  to { transform: rotate(360deg); }
}

.privacy-right .section-title {
  margin-bottom: 12px;
}

.privacy-intro {
  font-size: 0.95rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin-bottom: 28px;
}

.privacy-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.priv-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.priv-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: hsla(170, 70%, 50%, 0.1);
  border-radius: 50%;
  color: #48E5C2;
  flex-shrink: 0;
  margin-top: 1px;
}

.priv-item strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.priv-item span {
  display: block;
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}

/* ===== Motivation CTA ===== */
.section-cta-mid {
  padding: 0;
  background: transparent;
}

.cta-mid-inner {
  padding: 100px 40px;
  background: hsl(var(--hero-dark));
  border-radius: 0;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-mid-inner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, hsla(var(--accent), 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-quote {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 400;
  line-height: 1.3;
  max-width: 600px;
  margin: 0 auto 20px;
  position: relative;
}

.cta-quote em {
  font-family: var(--font-display);
  color: hsl(var(--accent));
}

.cta-mid-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 32px;
  position: relative;
}

.cta-mid-inner .btn-white {
  position: relative;
}

/* ===== FAQ ===== */
.section-faq {
  background: hsl(var(--background));
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s var(--ease);
}

.faq-item:hover {
  border-color: hsla(var(--accent), 0.2);
}

.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: hsla(var(--accent), 0.15);
}

.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
  transition: color 0.2s var(--ease);
  letter-spacing: -0.01em;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: hsl(var(--accent));
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
  margin-left: 16px;
  font-family: var(--font-body);
}

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

.faq-body {
  padding: 0 24px 20px;
}

.faq-body p {
  font-size: 0.92rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
}

/* ===== Final CTA ===== */
.section-final-cta {
  padding: 80px 0 100px;
  background: hsl(var(--background));
}

.final-cta-card {
  text-align: center;
  padding: 80px 48px;
  background: hsl(var(--foreground));
  border-radius: 24px;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.final-glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, hsla(var(--accent), 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.final-cta-card h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  margin-bottom: 16px;
  position: relative;
}

.final-cta-card p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.6);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
  position: relative;
}

.final-cta-card .btn-primary {
  background: hsl(var(--accent));
  color: #fff;
  position: relative;
}

.final-cta-card .btn-primary:hover {
  background: hsl(239, 84%, 60%);
  box-shadow: 0 8px 32px hsla(var(--accent), 0.4);
}

.final-sub {
  font-size: 0.8rem !important;
  color: rgba(255,255,255,0.35) !important;
  margin-top: 16px !important;
  margin-bottom: 0 !important;
}

/* ===== Footer ===== */
.footer {
  padding: 80px 0 40px;
  background: hsl(var(--hero-dark));
  color: rgba(255,255,255,0.6);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
}

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

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.4);
  max-width: 320px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

.footer-col a {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.4);
  padding: 5px 0;
  transition: color 0.2s var(--ease);
}

.footer-col a:hover {
  color: rgba(255,255,255,0.8);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.25);
}

/* ===== Who It's For / Audience ===== */
.section-audience {
  background: hsl(var(--secondary));
}

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

.audience-card {
  padding: 32px 28px;
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  transition: all 0.4s var(--ease);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.audience-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.in-view.audience-card:nth-child(2) { transition-delay: 0.08s; }
.in-view.audience-card:nth-child(3) { transition-delay: 0.16s; }
.in-view.audience-card:nth-child(4) { transition-delay: 0.24s; }
.in-view.audience-card:nth-child(5) { transition-delay: 0.32s; }
.in-view.audience-card:nth-child(6) { transition-delay: 0.4s; }

.audience-card:hover {
  border-color: hsla(var(--accent), 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.audience-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: hsla(var(--accent), 0.06);
  border-radius: 14px;
  color: hsl(var(--accent));
  margin-bottom: 18px;
}

.audience-card h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.audience-card p {
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.65;
}

/* ===== Comparison Table ===== */
.section-comparison {
  background: hsl(var(--background));
}

.comparison-table-wrapper {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid hsl(var(--border));
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.comparison-table-wrapper.in-view {
  opacity: 1;
  transform: translateY(0);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.comparison-table thead {
  background: hsl(var(--foreground));
  color: #fff;
}

.comparison-table th {
  padding: 18px 24px;
  text-align: left;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}

.comparison-table th.comp-highlight {
  background: hsl(var(--accent));
  color: #fff;
}

.comparison-table td {
  padding: 14px 24px;
  border-bottom: 1px solid hsl(var(--border));
  color: hsl(var(--muted-foreground));
  line-height: 1.5;
}

.comparison-table td.comp-highlight {
  background: hsla(var(--accent), 0.04);
  color: hsl(var(--foreground));
  font-weight: 500;
}

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

.comparison-table tbody tr:hover td {
  background: hsla(var(--accent), 0.02);
}

.comparison-table tbody tr:hover td.comp-highlight {
  background: hsla(var(--accent), 0.07);
}

/* ===== Recovery Stages ===== */
.section-stages {
  background: hsl(var(--secondary));
}

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

.stage-card {
  background: hsl(var(--background));
  border: 1px solid hsl(var(--border));
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.4s var(--ease);
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out), border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.stage-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.in-view.stage-card:nth-child(2) { transition-delay: 0.08s; }
.in-view.stage-card:nth-child(3) { transition-delay: 0.16s; }
.in-view.stage-card:nth-child(4) { transition-delay: 0.24s; }
.in-view.stage-card:nth-child(5) { transition-delay: 0.32s; }
.in-view.stage-card:nth-child(6) { transition-delay: 0.4s; }

.stage-card:hover {
  border-color: hsla(var(--accent), 0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.stage-header {
  padding: 24px 28px 0;
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 12px;
}

.stage-day {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: hsl(var(--accent));
  white-space: nowrap;
}

.stage-phase {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--muted-foreground));
}

.stage-body {
  padding: 0 28px 28px;
}

.stage-body p {
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.65;
  margin-bottom: 16px;
}

.stage-symptoms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stage-symptoms span {
  display: inline-block;
  padding: 5px 12px;
  background: hsla(var(--accent), 0.06);
  color: hsl(var(--accent));
  font-size: 0.78rem;
  font-weight: 500;
  border-radius: 100px;
  letter-spacing: 0.01em;
}

/* ===== Legal Pages ===== */
.legal-page {
  padding: 140px 0 80px;
  min-height: 80vh;
}

.legal-header {
  text-align: center;
  margin-bottom: 56px;
}

.legal-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: hsl(var(--foreground));
  margin-bottom: 12px;
}

.legal-updated {
  font-size: 0.9rem;
  color: hsl(var(--muted-foreground));
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content section {
  margin-bottom: 40px;
}

.legal-content h2 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: hsl(var(--foreground));
  letter-spacing: -0.01em;
}

.legal-content p {
  font-size: 0.95rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-content ul {
  margin: 12px 0 16px 20px;
  list-style: disc;
}

.legal-content ul li {
  font-size: 0.93rem;
  color: hsl(var(--muted-foreground));
  line-height: 1.7;
  margin-bottom: 6px;
}

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

.legal-content a:hover {
  color: hsl(239, 84%, 55%);
}

/* ===== Footer Contact ===== */
.footer-contact {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-email {
  font-size: 0.88rem;
  color: hsl(var(--accent)) !important;
  transition: color 0.2s var(--ease);
}

.footer-email:hover {
  color: hsl(239, 84%, 75%) !important;
}

.footer-address {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.5;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .feature-row {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .feature-row-reverse {
    direction: ltr;
  }

  .feature-checks {
    align-items: center;
  }

  .feature-phone {
    width: 240px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .science-layout {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .science-img img {
    width: 260px;
    margin: 0 auto;
  }

  .science-content .section-title {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .science-content .section-label {
    text-align: center;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .privacy-card {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px;
    text-align: center;
  }

  .privacy-right .section-title {
    text-align: center;
    margin: 0 auto 12px;
  }

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

  .priv-item {
    text-align: left;
  }

  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .mobile-nav.open { display: flex; }

  .hero-cin-content {
    padding-top: 3rem;
    padding-bottom: 100px;
  }

  .hero-video-wrapper {
    top: 250px;
  }

  .problem-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .step-line {
    width: 1px;
    height: 32px;
    margin-top: 0;
  }

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

  .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

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

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

  .comparison-table th,
  .comparison-table td {
    padding: 12px 16px;
    font-size: 0.85rem;
  }

  .legal-page {
    padding: 120px 0 60px;
  }

  .footer-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .privacy-card {
    padding: 32px 24px;
  }

  .privacy-shield {
    width: 120px;
    height: 120px;
  }

  .privacy-shield svg {
    width: 50px;
    height: 50px;
  }

  .cta-mid-inner {
    padding: 72px 24px;
  }

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

  .section {
    padding: 72px 0;
  }
}

@media (max-width: 480px) {
  .hero-cin-title {
    font-size: 2.5rem;
  }

  .hero-cin-cta {
    padding: 16px 40px;
  }

  .hero-video-wrapper {
    top: 200px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

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

  .feature-phone {
    width: 200px;
  }

  .science-img img {
    width: 200px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
  }

  .btn-primary.btn-lg {
    padding: 16px 28px;
    font-size: 0.95rem;
  }
}
