/* ═══════════════════════════════════════════════════════
   The Couples Currency — Marketing Website
   Design: Dark premium (var(--bg-primary)) + indigo→purple gradient
   ═══════════════════════════════════════════════════════ */

/* Self-hosted — the marketing site makes no call to Google, which is what
   the privacy page promises. Same faces the app itself ships. */
@font-face{font-family:'Lato';src:url('../fonts/lato-400-latin.woff2') format('woff2');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:'Lato';src:url('../fonts/lato-700-latin.woff2') format('woff2');font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:'Playfair Display';src:url('../fonts/playfair-display-var-latin.woff2') format('woff2');font-weight:400 900;font-style:normal;font-display:swap}
@font-face{font-family:'Playfair Display';src:url('../fonts/playfair-display-var-italic-latin.woff2') format('woff2');font-weight:400 900;font-style:italic;font-display:swap}


/* ─── CSS Custom Properties ─── */
:root {
  /* Round 58 — light, bright, calm. Warm whites rather than clinical
     blue-greys: the page should feel like good daylight, not a dashboard. */
  --bg-primary: #fdfcfb;
  --bg-secondary: #f6f4f1;
  --bg-tint-blush: #fdf4f6;
  --bg-tint-sky: #f2f6fd;
  --bg-tint-mint: #f1faf6;
  --bg-card: #ffffff;
  --bg-card-solid: #ffffff;
  --text-primary: #1b1a19;
  --text-secondary: #55524e;
  --text-muted: #6d675f;
  --accent-start: #4f46e5;
  --accent-end: #9333ea;
  --accent-gradient: linear-gradient(135deg, var(--accent-start), var(--accent-end));
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(27, 26, 25, 0.08);
  --line-soft: rgba(27, 26, 25, 0.06);
  --glass-blur: 16px;
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-2xl: 2.5rem;
  --radius-pill: 9999px;
  --shadow-sm: 0 1px 2px rgba(27, 26, 25, 0.04);
  --shadow-md: 0 6px 20px -8px rgba(27, 26, 25, 0.10);
  --shadow-lg: 0 20px 48px -24px rgba(27, 26, 25, 0.16);
  --shadow-glow: 0 18px 50px -26px rgba(99, 102, 241, 0.45);
  --nav-height: 96px;
  --font-sans: 'Lato', system-ui, -apple-system, sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + 2rem);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(circle at 12% -5%, rgba(168, 85, 247, 0.07), transparent 45%),
    radial-gradient(circle at 88% 8%, rgba(99, 102, 241, 0.06), transparent 42%),
    radial-gradient(circle at 50% 100%, rgba(52, 211, 153, 0.05), transparent 50%),
    radial-gradient(rgba(27, 26, 25, 0.045) 1px, transparent 1px);
  background-size: auto, auto, auto, 22px 22px;
  background-attachment: fixed, fixed, fixed, scroll;
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 900; letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; letter-spacing: -0.02em; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 700; }
h4 { font-size: 1.125rem; font-weight: 700; font-family: var(--font-sans); }

p {
  color: var(--text-secondary);
  max-width: 65ch;
}

/* A paragraph that centres its TEXT has to centre its BOX too. Without this,
   the 65ch cap above pins the box flush-left inside any wider parent, so the
   lines centre around the wrong axis and the block reads shifted left — the
   "offset" that shows up going down a page. Direct children only, so an
   explicit text-align on a child (a left-aligned blockquote) still wins. */
p[style*="text-align:center"],
p[style*="text-align: center"],
[style*="text-align:center"] > p:not([style*="text-align"]),
[style*="text-align: center"] > p:not([style*="text-align"]) {
  margin-left: auto;
  margin-right: auto;
}

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

.serif { font-family: var(--font-serif); }
.serif-italic { font-family: var(--font-serif); font-style: italic; }

/* ─── Layout ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  section {
    padding: 8rem 0;
  }
}

/* ─── Navigation ─── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(253, 252, 251, 0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-base);
}

.nav.scrolled {
  background: rgba(253, 252, 251, 0.94);
  box-shadow: 0 4px 30px rgba(27, 26, 25, 0.10);
}

.nav-inner {
  /* brand | centered links | CTA — equal side tracks so the menu truly centers */
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  gap: 1rem;
}

.nav-inner > .nav-cta { display: none; }

.nav-logo {
  display: flex;
  justify-self: start;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  flex-shrink: 0;
}

.nav-logo img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-base);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  background: var(--accent-gradient);
  color: white;
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
  text-decoration: none;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

/* .nav-links a outranks .nav-cta, which left the pill's text dark; pin it white */
.nav-links a.nav-cta,
.nav-links a.nav-cta:hover,
.mobile-nav a.nav-cta,
.mobile-nav a.nav-cta:hover {
  color: #fff;
}

/* Hamburger */
.hamburger {
  display: flex;
  grid-column: 3;
  justify-self: end;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  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 nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(253, 252, 251, 0.94);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

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

.mobile-nav a {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: color var(--transition-base);
}

.mobile-nav a:hover {
  color: var(--text-primary);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    justify-self: center;
  }
  .nav-inner > .nav-cta {
    display: inline-flex;
    justify-self: end;
  }
  .hamburger {
    display: none;
  }
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--nav-height) + 2rem) 1.5rem 2.5rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 55% at 18% 8%, rgba(244, 114, 182, 0.16), transparent 60%),
    radial-gradient(ellipse 60% 50% at 82% 12%, rgba(129, 140, 248, 0.16), transparent 62%),
    radial-gradient(ellipse 80% 60% at 50% 96%, rgba(52, 211, 153, 0.13), transparent 60%),
    linear-gradient(180deg, #ffffff 0%, #fdfcfb 100%);
  opacity: 1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.10) 0%, rgba(99, 102, 241, 0.06) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  animation: pulse-glow 6s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  100% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.hero-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
  object-fit: contain;
}

.hero-brand {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  letter-spacing: -0.01em;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: clamp(1.125rem, 2.5vw, 1.375rem);
  max-width: 640px;
  margin: 0 auto 3rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
    justify-content: center;
  }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(99, 102, 241, 0.45);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(27, 26, 25, 0.06);
  border-color: rgba(27, 26, 25, 0.10);
}

.btn-lg {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
}

/* ─── Cards ─── */
.card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.card:hover {
  background: rgba(27, 26, 25, 0.06);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 0 40px rgba(99, 102, 241, 0.12), 0 12px 40px rgba(27, 26, 25, 0.10);
}

.card-solid {
  background: var(--bg-card-solid);
  border: 1px solid rgba(27, 26, 25, 0.05);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.card-solid:hover {
  border-color: rgba(99, 102, 241, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(99, 102, 241, 0.1), var(--shadow-lg);
}

.card-white {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius-xl);
  padding: 2rem;
  color: var(--bg-secondary);
  transition: all var(--transition-base);
}

.card-white:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.card-white p {
  color: #64748b;
}

.card-white h4 {
  color: var(--bg-primary);
}

/* ─── Feature Cards ─── */
.feature-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, transparent, transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: background var(--transition-base);
}

.feature-card:hover::before {
  background: var(--accent-gradient);
}

.feature-card .feature-emoji {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  background: rgba(99, 102, 241, 0.1);
  transition: all var(--transition-base);
}

.feature-card:hover .feature-emoji {
  transform: scale(1.15) rotate(-3deg);
  background: rgba(99, 102, 241, 0.2);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.feature-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 40px rgba(99, 102, 241, 0.15);
}

.feature-card h4 {
  margin-bottom: 0.5rem;
  transition: color var(--transition-base);
}

.feature-card:hover h4 {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-card p {
  font-size: 0.875rem;
  line-height: 1.7;
}

/* ─── Stats Strip ─── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 3rem 0;
}

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

.stat-item {
  text-align: center;
  transition: transform var(--transition-base);
}

.stat-item:hover {
  transform: scale(1.08);
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 900;
  font-family: var(--font-sans);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

/* Distinct gradient per stat — matches the app's landing page */
.stat-item:nth-child(1) .stat-number {
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
}
.stat-item:nth-child(2) .stat-number {
  background: linear-gradient(135deg, #f97316, #ec4899);
  -webkit-background-clip: text;
  background-clip: text;
}
.stat-item:nth-child(3) .stat-number {
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  -webkit-background-clip: text;
  background-clip: text;
}
.stat-item:nth-child(4) .stat-number {
  background: linear-gradient(135deg, #10b981, #14b8a6);
  -webkit-background-clip: text;
  background-clip: text;
}

/* ─── Stats Strip ─── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 3rem 0;
}

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

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  font-family: var(--font-sans);
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ─── Section Headers ─── */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.section-header .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  color: #4338ca;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  margin: 0 auto;
  font-size: 1.125rem;
}

/* ─── Grids ─── */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

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

/* ─── Tab Preview Cards ─── */
.tab-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

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

.tab-card {
  text-align: center;
  padding: 2.5rem 1.5rem 2rem;
  cursor: pointer;
  position: relative;
  border-top: 3px solid transparent;
}

.tab-card:nth-child(1) { border-top-color: #3b82f6; }
.tab-card:nth-child(2) { border-top-color: #f97316; }
.tab-card:nth-child(3) { border-top-color: #8b5cf6; }
.tab-card:nth-child(4) { border-top-color: #10b981; }

.tab-card:nth-child(1):hover { box-shadow: 0 -4px 30px rgba(59, 130, 246, 0.15), 0 12px 40px rgba(27, 26, 25, 0.10); }
.tab-card:nth-child(2):hover { box-shadow: 0 -4px 30px rgba(249, 115, 22, 0.15), 0 12px 40px rgba(27, 26, 25, 0.10); }
.tab-card:nth-child(3):hover { box-shadow: 0 -4px 30px rgba(139, 92, 246, 0.15), 0 12px 40px rgba(27, 26, 25, 0.10); }
.tab-card:nth-child(4):hover { box-shadow: 0 -4px 30px rgba(16, 185, 129, 0.15), 0 12px 40px rgba(27, 26, 25, 0.10); }

.tab-card .tab-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.tab-card:hover .tab-icon {
  transform: scale(1.2) translateY(-4px);
}

.tab-card:nth-child(1):hover .tab-icon { box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3); }
.tab-card:nth-child(2):hover .tab-icon { box-shadow: 0 8px 25px rgba(249, 115, 22, 0.3); }
.tab-card:nth-child(3):hover .tab-icon { box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3); }
.tab-card:nth-child(4):hover .tab-icon { box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3); }

.tab-card h3 {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  transition: color var(--transition-base);
}

.tab-card:nth-child(1):hover h3 { color: #60a5fa; }
.tab-card:nth-child(2):hover h3 { color: #fb923c; }
.tab-card:nth-child(3):hover h3 { color: #a78bfa; }
.tab-card:nth-child(4):hover h3 { color: #047857; }

.tab-card p {
  font-size: 0.875rem;
  margin: 0 auto;
}

/* Tab icon color variations */
.tab-icon-home { background: rgba(59, 130, 246, 0.15); }
.tab-icon-connect { background: rgba(249, 115, 22, 0.15); }
.tab-icon-pulse { background: rgba(139, 92, 246, 0.15); }
.tab-icon-learn { background: rgba(16, 185, 129, 0.15); }

/* ─── Use Cases Grid ─── */
.use-case-card {
  text-align: center;
  padding: 2.5rem 1.5rem 2rem;
  position: relative;
  overflow: hidden;
}

.use-case-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: linear-gradient(180deg, rgba(99, 102, 241, 0.04) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.use-case-card:hover::before {
  opacity: 1;
}

.use-case-card .use-case-emoji {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 0 transparent);
}

.use-case-card:hover .use-case-emoji {
  transform: scale(1.3) translateY(-6px);
  filter: drop-shadow(0 6px 12px rgba(99, 102, 241, 0.2));
}

.use-case-card h3 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  transition: color var(--transition-base);
}

.use-case-card:hover h3 {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.use-case-card p {
  font-size: 0.8125rem;
  margin: 0 auto;
  line-height: 1.7;
}

/* ─── Privacy / Highlight Section ─── */
.highlight-section {
  position: relative;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(168, 85, 247, 0.05));
  border: 1px solid rgba(99, 102, 241, 0.15);
  border-radius: var(--radius-2xl);
  padding: 4rem 2rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .highlight-section {
    padding: 6rem 4rem;
  }
}

.highlight-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1), transparent);
  border-radius: 50%;
  pointer-events: none;
}

.privacy-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(27, 26, 25, 0.05);
  border-radius: var(--radius-xl);
  padding: 2rem;
  backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.privacy-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #34d399, transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.privacy-card:hover {
  background: rgba(52, 211, 153, 0.04);
  border-color: rgba(52, 211, 153, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 0 30px rgba(52, 211, 153, 0.08), 0 12px 40px rgba(0,0,0,0.2);
}

.privacy-card:hover::after {
  opacity: 1;
}

.privacy-card .privacy-icon {
  font-size: 1.5rem;
  margin-right: 0.75rem;
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.privacy-card:hover .privacy-icon {
  transform: scale(1.2);
}

.privacy-card h4 {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.privacy-card p {
  font-size: 0.875rem;
  padding-left: 2.75rem;
}

/* ─── Pulse Dot ─── */
.pulse-dot {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.pulse-dot::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34d399;
  animation: pulse-ring 2s ease-in-out infinite;
}

@keyframes pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
}

/* ─── CTA Section ─── */
.cta-section {
  position: relative;
  text-align: center;
  background: linear-gradient(135deg, var(--bg-secondary), var(--bg-primary));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-2xl);
  padding: 4rem 2rem;
  overflow: hidden;
}

@media (min-width: 768px) {
  .cta-section {
    padding: 6rem 4rem;
  }
}

.cta-section::before {
  /* fill the whole rounded band — a fixed 600px circle visibly stopped mid-row */
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 130% at 50% 50%, rgba(99, 102, 241, 0.09), transparent 80%);
  pointer-events: none;
}

.cta-section h2 {
  position: relative;
  z-index: 1;
  margin-bottom: 1rem;
}

.cta-section p {
  position: relative;
  z-index: 1;
  margin: 0 auto 2.5rem;
  font-size: 1.25rem;
}

.cta-section .btn {
  position: relative;
  z-index: 1;
}

/* ─── Footer ─── */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

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

.footer-brand {
  /* same lockup as the nav: logo left, name + tagline stacked, no glow */
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 800;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.footer-brand img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: var(--text-muted);
  font-style: italic;
  font-family: var(--font-serif);
  margin-top: 0.25rem;
}

.footer h5 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: color var(--transition-base);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

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

.footer-bottom-links a {
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: color var(--transition-base);
}

.footer-bottom-links a:hover {
  color: var(--text-secondary);
}

/* ─── Screenshot Placeholders ─── */
.screenshot-placeholder {
  border-radius: var(--radius-xl);
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(27, 26, 25, 0.07);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.04), rgba(168, 85, 247, 0.04));
  text-align: center;
  padding: 2rem;
  gap: 0.75rem;
}

.screenshot-placeholder .placeholder-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-md);
  background: rgba(99, 102, 241, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.screenshot-placeholder .placeholder-label {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--text-muted);
}

.screenshot-placeholder .placeholder-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* ─── Split Layout ─── */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

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

.split.reverse .split-visual {
  order: -1;
}

@media (min-width: 768px) {
  .split.reverse .split-visual {
    order: 1;
  }
}

/* ─── Science Page Specifics ─── */
.science-concept {
  position: relative;
  padding: 2.5rem;
  overflow: hidden;
}

.concept-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.concept-number-indigo {
  background: rgba(99, 102, 241, 0.15);
  color: #4338ca;
}

.concept-number-rose {
  background: rgba(244, 63, 94, 0.15);
  color: #fb7185;
}

.concept-number-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #b45309;   /* round 94: #fbbf24 on a 15% amber wash failed contrast */
}

.concept-number-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #047857;
}

/* Ratio Display */
.ratio-display {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: 3rem;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
  border: 3px solid rgba(99, 102, 241, 0.3);
  flex-shrink: 0;
}

/* Quadrant Cards */
.quadrant-card {
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  border-top: 4px solid;
  transition: all var(--transition-base);
}

.quadrant-card:hover {
  transform: translateY(-4px);
}

.quadrant-serving {
  background: rgba(59, 130, 246, 0.06);
  border-color: #3b82f6;
}

.quadrant-accepting {
  background: rgba(236, 72, 153, 0.06);
  border-color: #ec4899;
}

.quadrant-taking {
  background: rgba(249, 115, 22, 0.06);
  border-color: #f97316;
}

.quadrant-allowing {
  background: rgba(139, 92, 246, 0.06);
  border-color: #8b5cf6;
}

.quadrant-label {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

/* Blockquote */
.blockquote {
  border-left: 4px solid;
  border-image: var(--accent-gradient) 1;
  padding: 1.25rem 1.5rem;
  background: rgba(99, 102, 241, 0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 2rem 0;
}

.blockquote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.125rem;
  color: var(--text-primary);
  line-height: 1.7;
}

.blockquote cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  font-style: normal;
  font-family: var(--font-sans);
  font-weight: 600;
}

/* ─── About Page ─── */
.coach-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.coach-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
  background: rgba(99, 102, 241, 0.1);
}

.coach-card h4 {
  margin-bottom: 0.25rem;
}

.coach-role {
  font-size: 0.75rem;
  font-weight: 700;
  color: #4338ca;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.coach-card p {
  font-size: 0.8125rem;
  margin: 0 auto;
}

/* Philosophy list */
.philosophy-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.philosophy-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.philosophy-icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  background: rgba(99, 102, 241, 0.1);
}

.philosophy-item p {
  font-size: 0.9375rem;
}

/* ─── Features page category headers ─── */
.feature-category {
  position: relative;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--glass-border);
}

.feature-category:last-child {
  border-bottom: none;
}

.category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.badge-blue { background: rgba(59, 130, 246, 0.1); color: #60a5fa; }
.badge-orange { background: rgba(249, 115, 22, 0.1); color: #fb923c; }
.badge-purple { background: rgba(139, 92, 246, 0.1); color: #a78bfa; }
.badge-green { background: rgba(16, 185, 129, 0.1); color: #047857; }
.badge-emerald { background: rgba(16, 185, 129, 0.1); color: #047857; }

/* ─── How It Works: Steps ─── */
.step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--accent-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.125rem;
  color: white;
}

.step-content h4 {
  margin-bottom: 0.5rem;
}

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

/* Pillar cards */
.pillar-card {
  position: relative;
  padding: 2.5rem 2rem;
  border-left: 4px solid;
  overflow: hidden;
}

.pillar-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  opacity: 0.05;
  pointer-events: none;
  transform: translate(30%, -30%);
}

.pillar-home { border-color: #3b82f6; }
.pillar-home::before { background: #3b82f6; }
.pillar-connect { border-color: #f97316; }
.pillar-connect::before { background: #f97316; }
.pillar-pulse { border-color: #8b5cf6; }
.pillar-pulse::before { background: #8b5cf6; }
.pillar-learn { border-color: #10b981; }
.pillar-learn::before { background: #10b981; }

/* ─── Timeline / Day in the Life ─── */
.timeline {
  position: relative;
  padding-left: 2rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-start), var(--accent-end), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent-gradient);
  border: 2px solid var(--bg-primary);
  transform: translateX(-5px);
}

.timeline-time {
  font-size: 0.75rem;
  font-weight: 800;
  color: #4338ca;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.timeline-item h4 {
  margin-bottom: 0.5rem;
}

.timeline-item p {
  font-size: 0.875rem;
}

/* ─── Scroll 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; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ─── Dividers ─── */
.divider {
  width: 60px;
  height: 3px;
  background: var(--accent-gradient);
  border-radius: 2px;
  margin: 2rem auto;
}

.divider-left {
  margin-left: 0;
}

/* ─── Page Header (subpages) ─── */
.page-header {
  text-align: center;
  padding: calc(var(--nav-height) + 2rem) 1.5rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.page-header .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 800;
  color: #4338ca;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.page-header h1 {
  margin-bottom: 1.25rem;
  position: relative;
}

.page-header p {
  font-size: 1.25rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

/* ─── Citations ─── */
.citations {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: 2rem;
}

.citations h4 {
  margin-bottom: 1rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.citations li {
  font-size: 0.8125rem;
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.citations li:last-child {
  border-bottom: none;
}

/* ─── Specialist Link ─── */
.specialist-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-lg);
  color: #047857;
  font-weight: 700;
  font-size: 0.9375rem;
  transition: all var(--transition-base);
}

.specialist-link:hover {
  background: rgba(16, 185, 129, 0.12);
  transform: translateY(-2px);
}

/* ─── About Story Section ─── */
.story-content {
  max-width: 700px;
}

.story-content p {
  font-size: 1.0625rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ─── Utility ─── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.w-full { width: 100%; }

/* ─── Security Badge ─── */
.security-highlight {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(52, 211, 153, 0.04));
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-2xl);
  padding: 3rem 2rem;
  text-align: center;
  margin: 3rem 0;
}

@media (min-width: 768px) {
  .security-highlight {
    padding: 4rem 3rem;
  }
}

.security-highlight h3 {
  color: #047857;
  margin-bottom: 1rem;
}

.security-highlight p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.125rem;
}

/* ─── Accent Line ─── */
.accent-line {
  width: 80px;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

/* ─── Keyframe Animations ─── */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

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

.animate-float {
  animation: float 6s ease-in-out infinite;
}

/* ─── Source Attribution Links ─── */
.source-link {
  color: #6d28d9;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  transition: color var(--transition-base), text-decoration-color var(--transition-base);
}
.source-link:hover {
  color: #c4b5fd;
  text-decoration-style: solid;
}

/* ─── Print Styles ─── */
@media print {
  .nav, .hamburger, .mobile-nav, .btn {
    display: none !important;
  }
  body {
    background: white;
    color: black;
  }
}
