/* ===========================
   Soulplates Styles
   Design System & Custom CSS
   =========================== */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Colors */
  --color-burgundy: #0a0a0a;
  --color-burgundy-muted: #767676;
  --color-blush: #f2f2f2;
  --color-blush-light: #f7f7f7;
  --color-pink-accent: #e0e0e0;
  --color-pink-accent-20: rgba(0, 0, 0, 0.04);
  --color-pink-accent-66: rgba(0, 0, 0, 0.10);
  --color-cream: #ffffff;
  --color-cream-warm: #fafafa;
  --color-white: #ffffff;
  --color-off-white: #fdfdfd;
  --color-light-gray: #eff1f3;
  --color-dark: #0b0b0b;
  --color-black: #000000;

  /* Typography */
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-max: 1200px;
  --container-padding: 0 24px;

  /* Border Radius */
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 40px;
  --radius-xl: 50px;
  --radius-full: 50%;

  /* Shadows */
  --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 8px 30px rgba(0, 0, 0, 0.1);
  --shadow-nav: 0 2px 20px rgba(0, 0, 0, 0.08);

  /* Transitions */
  --transition-base: 0.3s ease;
  --transition-smooth: 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.lenis, html.lenis body {
  height: auto;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-burgundy);
  background-color: var(--color-cream);
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* --- Container --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* --- Section Base --- */
.section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-burgundy);
  background: var(--color-blush);
  padding: 6px 16px;
  border-radius: var(--radius-xl);
  margin-bottom: 16px;
  font-family: var(--font-body);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-burgundy);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-burgundy-muted);
}


/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-burgundy);
}

h1 { font-size: 64px; line-height: 1.08; }
h2 { font-size: 42px; line-height: 1.15; }
h3 { font-size: 28px; line-height: 1.3; }
h4 { font-size: 22px; line-height: 1.4; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font-body);
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn-primary {
  background: var(--color-burgundy);
  color: var(--color-blush);
}

.btn-primary:hover {
  background: #2a2a2a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
  background: var(--color-blush);
  color: var(--color-burgundy);
}

.btn-secondary:hover {
  background: var(--color-blush-light);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--color-burgundy);
  border: 1.5px solid rgba(0, 0, 0, 0.15);
}

.btn-outline:hover {
  background: var(--color-blush);
  border-color: var(--color-blush);
}

/* === NAVIGATION === */
.navbar {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1200px;
  z-index: 1000;
  padding: 12px 24px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo svg {
  height: 18px;
  width: auto;
}

.nav-logo-img {
  width: 118px;
  height: 42px;
  border-radius: 50px;
  object-fit: contain;
  display: block;
  background-color: #0a0a0a;
  padding: 10px 14px;
  transition: all var(--transition-base);
}

.nav-logo:hover .nav-logo-img {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-burgundy);
  transition: opacity var(--transition-base);
}

.nav-links a:hover {
  opacity: 0.7;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-burgundy);
  border-radius: 2px;
  transition: all var(--transition-base);
}

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

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

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

/* Mobile Menu */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 80px;
  left: 16px;
  right: 16px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-card-hover);
  z-index: 999;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu a {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-burgundy);
  padding: 8px 0;
}

.mobile-menu .btn-primary {
  color: var(--color-white);
}

/* === HERO SECTION === */
.hero {
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-blush);
  color: var(--color-burgundy);
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 24px;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--color-burgundy);
  border-radius: var(--radius-full);
}

.hero-tagline {
  font-size: 16px;
  color: var(--color-burgundy-muted);
  max-width: 540px;
  margin: 0 auto 20px;
  line-height: 1.6;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 500;
  line-height: 1.05;
  color: var(--color-burgundy);
  margin-bottom: 20px;
}

.hero h1 span {
  display: block;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--color-burgundy-muted);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 60px;
}

.hero-image {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.hero-mockup-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 80px 150px 0;
}

.hero-phone-img {
  width: 300px;
  border-radius: 40px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
  position: relative;
  z-index: 2;
}

.hero-float-card {
  position: absolute;
  z-index: 3;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.16));
}

.hero-float-left {
  left: -70px;
  bottom: 22%;
  width: 230px;
}

.hero-float-top-right {
  right: -60px;
  top: 22%;
  width: 230px;
}

.hero-float-bottom-right {
  right: -60px;
  bottom: 20%;
  width: 230px;
}

/* === FEATURES SECTION === */
.features {
  padding: 80px 0;
}

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

.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-base);
  position: relative;
}

.feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

/* Two-card equal grid */
.features-grid--two {
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto;
}

/* Watch images side by side */
.feature-watch-images {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px;
}

.feature-watch-img {
  width: 45%;
  max-width: 180px;
  border-radius: var(--radius-md);
  object-fit: contain;
}

.feature-notifications-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.feature-card-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--color-blush) 0%, var(--color-pink-accent-20) 100%);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.feature-card:hover .feature-card-image {
  transform: scale(1.04);
}

.feature-card-image.tall {
  height: 280px;
}

.feature-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 15px;
  color: var(--color-burgundy-muted);
  line-height: 1.5;
}

/* Leaderboard UI inside feature card */
.leaderboard {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--color-off-white);
  border-radius: var(--radius-sm);
}

.leaderboard-avatar {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--color-blush);
}

.leaderboard-info {
  flex: 1;
}

.leaderboard-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-burgundy);
}

.leaderboard-sessions {
  font-size: 12px;
  color: var(--color-burgundy-muted);
}

/* Notification cards */
.notification-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.notification-card {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.notification-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--color-blush);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.notification-content h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.notification-content .time {
  font-size: 11px;
  color: var(--color-burgundy-muted);
  margin-bottom: 2px;
}

.notification-content p {
  font-size: 13px;
  color: var(--color-burgundy-muted);
}

/* === TESTIMONIALS SECTION === */
.testimonials {
  padding: 80px 0;
  overflow: hidden;
}

.marquee-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}

.marquee-row {
  display: flex;
  gap: 20px;
  animation: marquee-scroll 40s linear infinite;
  width: max-content;
}

.marquee-row.reverse {
  animation-direction: reverse;
}

.marquee-row:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.testimonial-card {
  flex-shrink: 0;
  width: 380px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 14px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: #f5a623;
}

.testimonial-quote {
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-burgundy);
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-blush);
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-burgundy);
}

/* === HOW IT WORKS SECTION === */
.how-it-works {
  padding: 80px 0;
}

.steps-container {
  display: flex;
  gap: 40px;
  margin-top: 60px;
  position: relative;
}

.steps-container::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 80px;
  right: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--color-blush) 0%, var(--color-pink-accent) 50%, var(--color-blush) 100%);
}

.step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background: var(--color-blush);
  color: var(--color-burgundy);
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
}

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

.step p {
  font-size: 15px;
  color: var(--color-burgundy-muted);
  line-height: 1.5;
  max-width: 280px;
  margin: 0 auto;
}

/* === HOW IT WORKS - Interactive Two-Column === */
.hiw-interactive {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}

.hiw-steps-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hiw-step {
  padding: 20px 24px;
  border-radius: 16px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.hiw-step:hover {
  background: rgba(0, 0, 0, 0.03);
}

.hiw-step.active {
  background: rgba(0, 0, 0, 0.05);
}

.hiw-step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--color-burgundy);
  transition: opacity 0.2s ease;
}

.hiw-step:not(.active) h3 {
  font-weight: 500;
  opacity: 0.5;
}

.hiw-step p {
  font-size: 15px;
  color: var(--color-burgundy-muted);
  line-height: 1.6;
  margin: 0;
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.hiw-step.active p {
  max-height: 200px;
  opacity: 1;
}

/* Mockup area */
.hiw-mockup-area {
  position: sticky;
  top: 120px;
}

.hiw-mockup-images {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  aspect-ratio: 1179 / 2556;
  border-radius: 36px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}

.hiw-mockup-image {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hiw-mockup-image.active {
  opacity: 1;
}

.hiw-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
}

/* Card inside mockup */
.hiw-mockup-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 24px;
  width: 100%;
  max-width: 280px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.hiw-card-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-burgundy-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  font-family: var(--font-body);
}

/* Meal log items */
.hiw-meal-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-family: var(--font-body);
}

.hiw-meal-item:last-child { border-bottom: none; }

.hiw-meal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.hiw-meal-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-burgundy);
  flex: 1;
}

.hiw-meal-cal {
  font-size: 13px;
  color: var(--color-burgundy-muted);
}

/* Mood & sleep */
.hiw-mood-scale {
  display: flex;
  justify-content: space-between;
  margin: 12px 0 20px;
}

.hiw-mood-emoji {
  font-size: 22px;
  opacity: 0.35;
  transition: opacity 0.2s, transform 0.2s;
}

.hiw-mood-emoji.selected {
  opacity: 1;
  transform: scale(1.2);
}

.hiw-stat-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  font-family: var(--font-body);
}

.hiw-stat-label {
  font-size: 13px;
  color: var(--color-burgundy-muted);
  width: 44px;
}

.hiw-stat-bar-wrap {
  flex: 1;
  height: 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 3px;
  overflow: hidden;
}

.hiw-stat-bar {
  height: 100%;
  border-radius: 3px;
  background: var(--color-burgundy);
}

/* Pattern chart */
.hiw-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  margin: 16px 0 8px;
}

.hiw-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: rgba(0, 0, 0, 0.1);
}

.hiw-bar.highlight {
  background: var(--color-burgundy);
}

.hiw-chart-note {
  font-size: 12px;
  color: var(--color-burgundy-muted);
  line-height: 1.5;
  font-family: var(--font-body);
}

/* Insight items */
.hiw-insight-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-family: var(--font-body);
}

.hiw-insight-item:last-child { border-bottom: none; }

.hiw-insight-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--color-blush);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.hiw-insight-text {
  font-size: 13px;
  color: var(--color-burgundy);
  line-height: 1.5;
}

/* Habit grid */
.hiw-habit-streak {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-burgundy);
  font-family: var(--font-heading);
  margin-bottom: 4px;
}

.hiw-habit-streak-label {
  font-size: 13px;
  color: var(--color-burgundy-muted);
  font-family: var(--font-body);
  margin-bottom: 16px;
}

.hiw-habit-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.hiw-habit-dot {
  aspect-ratio: 1;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.08);
}

.hiw-habit-dot.done {
  background: var(--color-burgundy);
}

.hiw-habit-dot.partial {
  background: rgba(10, 10, 10, 0.3);
}

/* Mobile-only elements (hidden on desktop) */
.hiw-mobile-header {
  display: none;
  margin-bottom: 20px;
  text-align: center;
}

.hiw-mobile-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--color-burgundy);
}

.hiw-mobile-desc {
  font-size: 15px;
  color: var(--color-burgundy-muted);
  line-height: 1.6;
  max-width: 340px;
  margin: 0 auto;
}

.hiw-mobile-nav {
  display: none;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.hiw-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  font-family: var(--font-body);
}

.hiw-btn--prev,
.hiw-btn--next {
  background: #0a0a0a;
  color: #fff;
}

.hiw-btn--prev:hover:not(.hiw-btn--disabled),
.hiw-btn--next:hover:not(.hiw-btn--disabled) {
  background: #2a2a2a;
}

.hiw-btn--disabled {
  background: #e0e0e0;
  color: #888;
  cursor: not-allowed;
}

/* === BLOG SECTION === */
.blog {
  padding: 80px 0;
}

.blog-header {
  margin-bottom: 40px;
  text-align: center;
}

/* Featured article */
.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 24px;
  min-height: 340px;
  transition: all var(--transition-base);
}

.blog-featured:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.blog-featured-image {
  background: linear-gradient(135deg, var(--color-blush) 0%, var(--color-pink-accent-20) 100%);
  min-height: 280px;
  transition: transform 0.4s ease;
}

.blog-featured:hover .blog-featured-image {
  transform: scale(1.04);
}

.blog-featured-content {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--color-white);
}

.blog-featured-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-burgundy);
  background: var(--color-blush);
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  margin-bottom: 16px;
  font-family: var(--font-body);
  align-self: flex-start;
}

.blog-featured-content h3 {
  font-size: 26px;
  line-height: 1.3;
  flex: 1;
  margin-bottom: 32px;
}

.blog-featured-btn {
  background: var(--color-burgundy);
  color: var(--color-white);
  align-self: flex-start;
  padding: 12px 24px;
  font-size: 14px;
}

.blog-featured-btn:hover {
  background: #2a2a2a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.blog-coming-soon {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-burgundy-muted);
  margin-top: 8px;
  font-family: var(--font-body);
}

.blog-featured-coming-soon {
  align-self: flex-start;
  margin-top: 0;
  font-size: 14px;
}

.blog-header .section-title {
  margin-bottom: 8px;
}

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

.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-base);
}

.blog-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-4px);
}

.blog-card-image {
  height: 200px;
  background: linear-gradient(135deg, var(--color-blush) 0%, var(--color-pink-accent-20) 100%);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-image {
  transform: scale(1.04);
}

.blog-card-image .latest-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-burgundy);
  color: var(--color-blush);
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  font-size: 12px;
  font-weight: 500;
}

.blog-card-content {
  padding: 24px;
}

.blog-card-content h3 {
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-burgundy);
  margin-top: 8px;
  transition: gap var(--transition-base);
}

.blog-card-link:hover {
  gap: 10px;
}

.blog-card-link svg {
  width: 16px;
  height: 16px;
}

/* === FAQ SECTION === */
.faq {
  padding: 80px 0;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 17px;
  font-weight: 500;
  font-family: var(--font-heading);
  color: var(--color-burgundy);
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
  transition: opacity var(--transition-base);
}

.faq-question:hover {
  opacity: 0.7;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background: var(--color-blush);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding-bottom: 24px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--color-burgundy-muted);
  line-height: 1.6;
}

.faq-answer a {
  color: var(--color-burgundy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.faq-answer a:hover {
  opacity: 0.7;
}

/* === CTA SECTION === */
.cta-section {
  padding: 80px 0;
}

.cta-box {
  background: var(--color-burgundy);
  border-radius: var(--radius-lg);
  padding: 80px 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.cta-box h2 {
  color: var(--color-blush);
  font-size: 42px;
  margin-bottom: 20px;
  position: relative;
}

.cta-box p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 16px;
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.waitlist-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  position: relative;
  flex-wrap: wrap;
}

.waitlist-input {
  flex: 1;
  min-width: 220px;
  max-width: 340px;
  padding: 14px 20px;
  border-radius: var(--radius-xl);
  border: none;
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--color-burgundy);
  outline: none;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.waitlist-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.waitlist-input:focus {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-waitlist {
  background: var(--color-white);
  color: var(--color-burgundy);
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  border: none;
  transition: all var(--transition-base);
  white-space: nowrap;
}

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

.waitlist-success {
  display: none;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 16px;
  font-size: 15px;
  font-family: var(--font-body);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.waitlist-success.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === FOOTER === */
.footer {
  padding: 60px 0 30px;
  background: var(--color-cream);
}

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

.footer-logo-link {
  display: inline-block;
}

.footer-logo-img {
  width: 140px;
  height: auto;
  display: block;
}

.footer-brand p {
  font-size: 14px;
  color: var(--color-burgundy-muted);
  margin-top: 12px;
  line-height: 1.6;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--color-burgundy);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  color: var(--color-burgundy-muted);
  transition: color var(--transition-base);
}

.footer-col a:hover {
  color: var(--color-burgundy);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-bottom p {
  font-size: 13px;
  color: var(--color-burgundy-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--color-burgundy-muted);
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-blush);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--color-burgundy);
}

.footer-social a:hover svg {
  fill: var(--color-blush);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--color-burgundy);
  transition: fill var(--transition-base);
}

/* === ANIMATIONS === */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* === RESPONSIVE === */

/* Tablet: 810px - 1199px */
@media (max-width: 1199px) {
  h1 { font-size: 52px; }
  h2 { font-size: 36px; }
  .hero h1 { font-size: 56px; }
  .section-title { font-size: 36px; }

  .container {
    padding: 0 32px;
  }

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

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

  .blog-grid .blog-card:last-child {
    grid-column: 1 / -1;
  }

  .steps-container {
    gap: 24px;
  }

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

/* Mobile: <810px */
@media (max-width: 809px) {
  h1 { font-size: 38px; }
  h2 { font-size: 30px; }
  .hero h1 { font-size: 42px; }
  .section-title { font-size: 30px; }

  .container {
    padding: 0 20px;
  }

  .section {
    padding: 60px 0;
  }

  /* Navigation */
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-cta .btn {
    display: none;
  }

  /* Hero */
  .hero {
    padding: 120px 0 60px;
  }

  .hero-cta {
    flex-direction: column;
    gap: 12px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    grid-column: 1 / -1;
    grid-row: auto;
  }

  /* Steps (legacy - kept for safety) */
  .steps-container {
    flex-direction: column;
    gap: 40px;
  }

  .steps-container::before {
    top: 0;
    left: 40px;
    width: 2px;
    height: 100%;
    right: auto;
  }

  .step {
    text-align: left;
    display: flex;
    gap: 20px;
    align-items: flex-start;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 22px;
    flex-shrink: 0;
    margin: 0;
  }

  .step p {
    max-width: none;
  }

  /* How It Works Interactive - mobile */
  .hiw-interactive {
    grid-template-columns: 1fr;
    gap: 0;
    margin-top: 32px;
  }

  .hiw-steps-list {
    display: none;
  }

  .hiw-mockup-area {
    position: static;
  }

  .hiw-mobile-header {
    display: block;
  }

  .hiw-mobile-nav {
    display: flex;
  }

  /* Blog */
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-featured {
    grid-template-columns: 1fr;
  }

  .blog-featured-image {
    min-height: 200px;
  }

  /* Hero mockup */
  .hero-mockup-wrap {
    padding: 60px 24px 0;
  }

  .hero-phone-img {
    width: 260px; /* make hero screen larger on mobile, similar to HIW mockups */
    /* Smooth blur/unblur + scale transitions in BOTH directions */
    transition: filter 0.7s ease, transform 0.7s ease;
  }

  .hero-float-left,
  .hero-float-top-right,
  .hero-float-bottom-right {
    width: 260px; /* floating cards roughly match hero screen width when visible */
  }

  .hero-float-left {
    left: -15px;
    bottom: 12%;
  }

  .hero-float-top-right {
    right: -5px;
    top: 22%;
  }

  .hero-float-bottom-right {
    right: -5px;
    bottom: 20%;
    width: 220px; /* slightly smaller so left card doesn't completely overlap */
  }

  /* Hero overlay state on mobile:
     - Hero "phone" blurs slightly
     - Floating cards enlarge a bit but keep their floating positions */
  .hero.hero-overlay-active .hero-phone-img {
    filter: blur(8px);
    transform: scale(0.9);
  }

  .hero.hero-overlay-active .hero-image {
    max-width: 100%;
  }

  .hero.hero-overlay-active .hero-mockup-wrap {
    padding: 60px 24px 0;
  }

  .hero.hero-overlay-active .hero-float-left,
  .hero.hero-overlay-active .hero-float-top-right,
  .hero.hero-overlay-active .hero-float-bottom-right {
    width: 260px;
  }

  .hero.hero-overlay-active .hero-float-bottom-right {
    width: 220px;
  }

  /* (hero gating via JS removed; normal flow resumes into Features) */

  /* CTA */
  .cta-box {
    padding: 60px 28px;
  }

  .cta-box h2 {
    font-size: 30px;
  }

  .waitlist-form {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .waitlist-input {
    max-width: 100%;
    width: 100%;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-brand {
    text-align: center;
    align-items: center;
  }

  .footer-brand p {
    margin-left: auto;
    margin-right: auto;
  }

  .footer-social {
    justify-content: center;
  }

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

  .footer-col ul {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-bottom-links {
    justify-content: center;
  }

  /* Testimonials */
  .testimonial-card {
    width: 300px;
  }
}
