/* ============================================
   Flaire — Calm care for autoimmune living
   ============================================ */

:root {
  --bg: #f0e6ea;
  --bg-soft: #f7ecef;
  --surface: rgba(255, 255, 255, 0.5);
  --surface-hi: rgba(255, 255, 255, 0.7);
  --border: rgba(70, 50, 80, 0.08);
  --border-hi: rgba(70, 50, 80, 0.16);

  --text: #332a3d;
  --text-soft: #6b6175;
  --text-mute: #9a90a4;

  --accent-1: #c89bc0;   /* soft pink */
  --accent-2: #b8a6d9;   /* lavender */
  --accent-3: #a8d8c9;   /* mint */
  --accent-4: #e8c4d4;   /* blush */

  --glow-1: rgba(200, 155, 192, 0.45);
  --glow-2: rgba(184, 166, 217, 0.4);
  --glow-3: rgba(168, 216, 201, 0.4);

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.33, 1, 0.68, 1);

  --container: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: 'Fraunces', 'Playfair Display', Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0;
}

p { margin: 0; }

/* ---------- Layout ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 2;
}

section { position: relative; z-index: 2; }

/* ============================================
   Aurora Background (reactbits style)
   ============================================ */
.aurora {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(135deg, #b8dcd2 0%, #d8b8d0 45%, #e0c8dc 75%, #eed8de 100%);
}

.aurora canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  mix-blend-mode: soft-light;
}

.aurora::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(1200px 700px at 15% 30%, rgba(168, 216, 201, 0.5), transparent 65%),
    radial-gradient(1000px 800px at 85% 80%, rgba(232, 200, 216, 0.45), transparent 70%),
    radial-gradient(900px 600px at 60% 20%, rgba(200, 155, 192, 0.3), transparent 70%);
  pointer-events: none;
}

/* Subtle grain */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.025;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.6'/></svg>");
}

/* ============================================
   Navigation (with Liquid Glass on subpages)
   ============================================ */
.nav {
  position: sticky;
  top: 20px;
  z-index: 50;
  margin: 20px auto 0;
  max-width: calc(var(--container) - 20px);
  padding: 0 20px;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.8) inset,
    0 20px 40px -20px rgba(70, 50, 80, 0.18);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  line-height: 0;
  transition: transform 0.4s var(--ease);
}

.nav-brand:hover { transform: translateY(-1px); }

.nav-logo {
  height: 42px;
  width: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(184, 140, 192, 0.25));
  transition: filter 0.4s var(--ease);
}

.nav-brand:hover .nav-logo {
  filter: drop-shadow(0 4px 14px rgba(184, 140, 192, 0.45));
}

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

/* legacy mark kept (in case referenced elsewhere) — hidden */
.nav-brand-mark { display: none; }

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.92rem;
  color: var(--text-soft);
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.nav-links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.6); }
.nav-links a.active { color: var(--text); background: rgba(255, 255, 255, 0.7); }

.nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 0.9rem;
  background: linear-gradient(135deg, rgba(200, 155, 192, 0.3), rgba(184, 166, 217, 0.3));
  border: 1px solid var(--border-hi);
  color: var(--text);
  transition: all 0.3s var(--ease);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px -8px var(--glow-1);
  border-color: var(--accent-1);
}

.nav-toggle { display: none; }

/* ============================================
   Liquid Glass Header (for sub-pages)
   — unicorn-studio-inspired refracted glass
   ============================================ */
.liquid-header {
  position: relative;
  padding: 140px 0 100px;
  overflow: hidden;
  isolation: isolate;
}

/* Animated liquid blobs — CSS-only, always reliable */
.liquid-header::before {
  content: '';
  position: absolute;
  inset: -40%;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 45% at 18% 38%, rgba(168, 216, 201, 0.75), transparent 65%),
    radial-gradient(ellipse 60% 55% at 82% 62%, rgba(200, 155, 192, 0.7),  transparent 65%),
    radial-gradient(ellipse 50% 40% at 52% 18%, rgba(184, 166, 217, 0.65), transparent 60%),
    radial-gradient(ellipse 45% 35% at 72% 82%, rgba(232, 200, 216, 0.6),  transparent 60%);
  filter: blur(48px);
  animation: liquidFlow 14s ease-in-out infinite;
}

/* Second layer — counter-moves for depth */
.liquid-header::after {
  content: '';
  position: absolute;
  inset: -40%;
  z-index: 0;
  background:
    radial-gradient(ellipse 40% 50% at 75% 25%, rgba(168, 216, 201, 0.5), transparent 60%),
    radial-gradient(ellipse 50% 45% at 25% 75%, rgba(200, 155, 192, 0.45), transparent 60%);
  filter: blur(60px);
  animation: liquidFlowAlt 18s ease-in-out infinite;
}

@keyframes liquidFlow {
  0%, 100% { transform: translate(0%,   0%)   scale(1);    }
  25%       { transform: translate(3%,   2%)   scale(1.04); }
  50%       { transform: translate(-2%,  4%)   scale(0.97); }
  75%       { transform: translate(2%,  -3%)   scale(1.03); }
}

@keyframes liquidFlowAlt {
  0%, 100% { transform: translate(0%,   0%)   scale(1);    }
  33%       { transform: translate(-4%,  3%)   scale(1.05); }
  66%       { transform: translate(3%,  -2%)   scale(0.96); }
}

/* Canvas div kept for backwards compat but hidden */
.liquid-header .liquid-canvas { display: none; }

/* Frosted glass panel sits behind the text, NOT blurring it */
.liquid-header-inner {
  position: relative;
  z-index: 2;
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 40px;
  text-align: center;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 40px -12px rgba(160, 120, 170, 0.18);
  transition: transform 0.65s var(--ease);
}

/* Text zooms in gently on hover — background stays put */
.liquid-header:hover .liquid-header-inner {
  transform: scale(1.022);
}

.eyebrow {
  display: inline-block;
  padding: 6px 14px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border);
  border-radius: 999px;
  margin-bottom: 22px;
  backdrop-filter: blur(10px);
}

.liquid-header h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  margin-bottom: 20px;
  background: linear-gradient(180deg, #332a3d 0%, #6b4d6d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.liquid-header p.lead {
  font-size: 1.12rem;
  color: var(--text-soft);
  max-width: 620px;
  margin: 0 auto;
}

/* ============================================
   Hero (Home page)
   ============================================ */
.hero {
  position: relative;
  padding: 120px 0 80px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 10px var(--accent-3);
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  max-width: 900px;
  margin: 0 auto 24px;
}

.hero h1 .shine {
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-3), var(--accent-1));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s linear infinite;
  font-style: italic;
}

@keyframes shimmer { to { background-position: 300% 0; } }

.hero p.lead {
  font-size: 1.18rem;
  color: var(--text-soft);
  max-width: 620px;
  margin: 0 auto 40px;
}

.hero-cta {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #ffffff;
  box-shadow: 0 10px 30px -10px var(--glow-1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px -10px var(--glow-1), 0 0 40px -10px var(--glow-2);
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: translateX(-100%);
  transition: transform 0.7s var(--ease);
}

.btn-primary:hover::after { transform: translateX(100%); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--text);
  backdrop-filter: blur(10px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-2px);
}

.btn .arrow { transition: transform 0.3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ============================================
   Hero Preview Card (floating app preview)
   ============================================ */
.hero-preview {
  max-width: 880px;
  margin: 70px auto 0;
  position: relative;
  perspective: 1800px;
}

.hero-preview-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.3));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  backdrop-filter: blur(20px);
  transform: rotateX(8deg);
  transition: transform 0.6s var(--ease);
  position: relative;
  overflow: hidden;
}

.hero-preview-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, var(--accent-1), transparent 40%, var(--accent-2), transparent 80%, var(--accent-3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.5;
  pointer-events: none;
}

.hero-preview:hover .hero-preview-card { transform: rotateX(4deg) translateY(-8px); }

.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.preview-dots { display: flex; gap: 6px; }
.preview-dots span {
  width: 9px; height: 9px; border-radius: 50%;
  background: rgba(70,50,80,0.18);
}

.preview-title { font-size: 0.85rem; color: var(--text-mute); font-family: 'JetBrains Mono', monospace; }

.preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

.preview-tile {
  background: rgba(255,255,255,0.45);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.preview-tile .label { font-size: 0.72rem; color: var(--text-mute); text-transform: uppercase; letter-spacing: 0.12em; }
.preview-tile .value { font-family: 'Fraunces', serif; font-size: 1.8rem; }

.preview-tile.mood { background: linear-gradient(135deg, rgba(168, 216, 201, 0.08), transparent); }
.preview-tile.energy { background: linear-gradient(135deg, rgba(138, 180, 216, 0.08), transparent); }
.preview-tile.pain { background: linear-gradient(135deg, rgba(184, 166, 217, 0.08), transparent); }

.wave {
  height: 22px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}
.wave i {
  flex: 1;
  background: linear-gradient(180deg, var(--accent-1), var(--accent-2));
  border-radius: 2px;
  animation: waveBars 2s ease-in-out infinite;
  transform-origin: bottom;
}
.wave i:nth-child(1) { animation-delay: 0s; height: 30%; }
.wave i:nth-child(2) { animation-delay: 0.15s; height: 55%; }
.wave i:nth-child(3) { animation-delay: 0.3s; height: 80%; }
.wave i:nth-child(4) { animation-delay: 0.45s; height: 45%; }
.wave i:nth-child(5) { animation-delay: 0.6s; height: 70%; }
.wave i:nth-child(6) { animation-delay: 0.75s; height: 35%; }
.wave i:nth-child(7) { animation-delay: 0.9s; height: 60%; }

@keyframes waveBars {
  0%, 100% { transform: scaleY(0.7); opacity: 0.8; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ============================================
   Section headings
   ============================================ */
.section {
  padding: 120px 0;
  position: relative;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 70px;
}

.section-head .eyebrow { margin-bottom: 18px; }

.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin-bottom: 18px;
}

.section-head p {
  color: var(--text-soft);
  font-size: 1.05rem;
}

/* ============================================
   Counter / Statistics
   ============================================ */
.stats {
  padding: 100px 0 120px;
}

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

.stat-card {
  position: relative;
  padding: 44px 36px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.45));
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
}

.stat-card:hover { transform: translateY(-6px); border-color: var(--border-hi); }

/* Border glow - animated gradient border */
.glow-border {
  position: relative;
  isolation: isolate;
}

.glow-border::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  z-index: -1;
  border-radius: inherit;
  background: conic-gradient(
    from var(--angle, 0deg),
    transparent 0deg,
    var(--glow-color, var(--accent-1)) 60deg,
    transparent 120deg,
    transparent 240deg,
    var(--glow-color-2, var(--accent-2)) 300deg,
    transparent 360deg
  );
  animation: spinBorder 6s linear infinite;
  opacity: 0.8;
}

.glow-border::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.7));
  backdrop-filter: blur(10px);
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes spinBorder {
  to { --angle: 360deg; }
}

/* Fallback if @property not supported */
@supports not (background: conic-gradient(from 0deg, red 0deg)) {
  .glow-border::before { animation: none; background: linear-gradient(135deg, var(--glow-color, var(--accent-1)), transparent, var(--glow-color-2, var(--accent-2))); }
}

.stat-card:nth-child(1) { --glow-color: var(--accent-1); --glow-color-2: var(--accent-3); }
.stat-card:nth-child(2) { --glow-color: var(--accent-2); --glow-color-2: var(--accent-1); }
.stat-card:nth-child(3) { --glow-color: var(--accent-3); --glow-color-2: var(--accent-4); }

.stat-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 18px;
}

.stat-label .icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255,255,255,0.55);
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
}

.stat-number {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.8rem, 6vw, 4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #332a3d, #7a5a7a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 12px;
}

.stat-suffix { font-size: 0.5em; color: var(--text-soft); -webkit-text-fill-color: var(--text-soft); }

.stat-desc {
  color: var(--text-soft);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ============================================
   Features grid
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature {
  position: relative;
  padding: 34px 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.45));
  border: 1px solid var(--border);
  transition: all 0.5s var(--ease);
  overflow: hidden;
}

.feature::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -40%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, var(--feature-glow, var(--glow-1)) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}

.feature:hover { transform: translateY(-4px); border-color: var(--border-hi); }
.feature:hover::before { opacity: 0.35; }

.feature:nth-child(1) { --feature-glow: var(--glow-1); }
.feature:nth-child(2) { --feature-glow: var(--glow-2); }
.feature:nth-child(3) { --feature-glow: var(--glow-3); }
.feature:nth-child(4) { --feature-glow: rgba(232, 196, 184, 0.35); }
.feature:nth-child(5) { --feature-glow: var(--glow-1); }
.feature:nth-child(6) { --feature-glow: var(--glow-2); }

.feature-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(138, 180, 216, 0.15), rgba(184, 166, 217, 0.12));
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  color: var(--accent-1);
}

.feature h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.feature p {
  color: var(--text-soft);
  font-size: 0.95rem;
}

/* ============================================
   About / Value page blocks
   ============================================ */
.value-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.value-card {
  padding: 50px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.45));
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease);
}

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

.value-card h3 {
  font-size: 1.8rem;
  margin-bottom: 18px;
}

.value-card p { color: var(--text-soft); margin-bottom: 14px; }
.value-card p:last-child { margin-bottom: 0; }

.value-card .number {
  font-family: 'Fraunces', serif;
  font-style: italic;
  color: var(--accent-1);
  font-size: 0.95rem;
  display: block;
  margin-bottom: 8px;
}

/* ============================================
   Conditions grid
   ============================================ */
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.condition {
  padding: 26px 24px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--border);
  transition: all 0.4s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.condition:hover {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--border-hi);
  transform: translateY(-3px);
}

.condition h4 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.condition h4 .tag {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 3px 8px;
  background: rgba(255,255,255,0.55);
  border-radius: 999px;
  border: 1px solid var(--border);
}

.condition p {
  color: var(--text-soft);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* ============================================
   Support / CTA
   ============================================ */
.support-hero {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.support-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 70px;
}

.support-card {
  padding: 36px 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.3));
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.5s var(--ease);
  position: relative;
}

.support-card:hover { transform: translateY(-6px); border-color: var(--border-hi); }

.support-card .tier {
  font-family: 'Fraunces', serif;
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.support-card .amount {
  font-family: 'Fraunces', serif;
  font-size: 2.6rem;
  margin-bottom: 6px;
  background: linear-gradient(180deg, #332a3d, #7a5a7a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.support-card .freq {
  color: var(--text-mute);
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.support-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  text-align: left;
}

.support-card ul li {
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text-soft);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.support-card ul li:last-child { border-bottom: none; }

.support-card ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-1);
  flex-shrink: 0;
  box-shadow: 0 0 8px var(--glow-1);
}

.support-card.featured { border-color: rgba(138, 180, 216, 0.3); }
.support-card.featured::before {
  content: 'Most loved';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  color: #ffffff;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

/* ============================================
   Contact
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.contact-info {
  padding: 46px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.45));
  border: 1px solid var(--border);
}

.contact-info h3 { font-size: 1.6rem; margin-bottom: 14px; }
.contact-info > p { color: var(--text-soft); margin-bottom: 32px; }

.contact-list { list-style: none; padding: 0; margin: 0; }

.contact-list li {
  display: flex;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

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

.contact-list .ci-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255,255,255,0.5);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--accent-1);
}

.contact-list .ci-label { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-mute); margin-bottom: 4px; }
.contact-list .ci-value { color: var(--text); font-size: 1rem; }
.contact-list .ci-value a:hover { color: var(--accent-1); }

.contact-form {
  padding: 46px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255,255,255,0.7), rgba(255,255,255,0.45));
  border: 1px solid var(--border);
}

.contact-form h3 { font-size: 1.6rem; margin-bottom: 24px; }

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-bottom: 8px;
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s var(--ease);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-1);
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(138, 180, 216, 0.1);
}

.form-group textarea { min-height: 120px; resize: vertical; }

/* ============================================
   Roadmap — horizontal alternating timeline
   ============================================ */
.roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
  margin: 0 auto;
  padding: 0;
}

/* Horizontal dashed line through the middle */
.roadmap::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 2px;
  border-top: 2.5px dashed rgba(70, 50, 80, 0.2);
  z-index: 1;
}

/* Each item is a vertical column that spans the full height */
.roadmap-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 8px;
}

/* ---- Dot on the centre line ---- */
.roadmap-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-3);
  border: 2.5px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 4px rgba(168, 216, 201, 0.28);
  flex-shrink: 0;
  position: relative;
  z-index: 3;
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}

.roadmap-item.upcoming .roadmap-dot {
  background: rgba(160, 140, 180, 0.4);
  border-color: rgba(255,255,255,0.6);
  box-shadow: none;
}

.roadmap-item:hover .roadmap-dot {
  transform: scale(1.35);
  box-shadow: 0 0 0 7px rgba(168, 216, 201, 0.35);
}

/* ---- Phase label ---- */
.roadmap-phase-label {
  font-family: 'Fraunces', serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding: 8px 0;
  text-align: center;
  flex-shrink: 0;
}

/* ---- Card ---- */
.roadmap-card {
  padding: 24px 22px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.5));
  border: 1px solid var(--border);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.roadmap-item:hover .roadmap-card {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px -8px rgba(70, 50, 80, 0.14);
}

.roadmap-item.upcoming .roadmap-card { opacity: 0.65; }
.roadmap-item.upcoming:hover .roadmap-card { opacity: 1; }

/* ---- Vertical connector from dot to card ---- */
.roadmap-item::after {
  content: '';
  position: absolute;
  width: 2px;
  background: rgba(70, 50, 80, 0.12);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

/* Odd items (1st, 3rd): card on TOP, label on BOTTOM */
.roadmap-item:nth-child(odd) {
  flex-direction: column;
}

/* Even items (2nd, 4th): label on TOP, dot in middle, card on BOTTOM */
.roadmap-item:nth-child(even) {
  flex-direction: column;
}

/* Odd: Card - Dot - Label (card above the line) */
.roadmap-item:nth-child(odd) .roadmap-card { order: 1; }
.roadmap-item:nth-child(odd) .roadmap-dot  { order: 2; }
.roadmap-item:nth-child(odd) .roadmap-phase-label { order: 3; }

/* Even: Label - Dot - Card (card below the line) */
.roadmap-item:nth-child(even) .roadmap-phase-label { order: 1; }
.roadmap-item:nth-child(even) .roadmap-dot  { order: 2; }
.roadmap-item:nth-child(even) .roadmap-card { order: 3; }

/* Vertical connector lines */
.roadmap-item:nth-child(odd)::after {
  bottom: 50%;
  height: calc(50% - 7px);
  top: auto;
}

.roadmap-item:nth-child(even)::after {
  top: 50%;
  height: calc(50% - 7px);
  bottom: auto;
}

/* ---- Status + pill ---- */
.roadmap-status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.status-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  flex-shrink: 0;
}

.status-pill.active {
  background: rgba(168, 216, 201, 0.25);
  border: 1px solid rgba(168, 216, 201, 0.5);
  color: #4a8a76;
}

.status-pill.active::before {
  background: #6ab89e;
  box-shadow: 0 0 6px rgba(106, 184, 158, 0.8);
  animation: pulseDot 2s ease-in-out infinite;
}

.status-pill.upcoming {
  background: rgba(184, 166, 217, 0.15);
  border: 1px solid rgba(184, 166, 217, 0.35);
  color: var(--text-mute);
}

.status-pill.upcoming::before {
  background: var(--text-mute);
}

.roadmap-card h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.roadmap-card p {
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ---- Mobile: collapse to vertical ---- */
@media (max-width: 900px) {
  .roadmap {
    grid-template-columns: 1fr;
    gap: 0;
    max-width: 540px;
  }

  .roadmap::before {
    /* Vertical line instead of horizontal */
    top: 0;
    bottom: 0;
    left: 20px;
    right: auto;
    width: 2px;
    height: auto;
    transform: none;
    border-top: none;
    border-left: 2.5px dashed rgba(70, 50, 80, 0.2);
  }

  .roadmap-item,
  .roadmap-item:nth-child(odd),
  .roadmap-item:nth-child(even) {
    flex-direction: row;
    align-items: flex-start;
    gap: 18px;
    padding: 0 0 28px 0;
  }

  .roadmap-item .roadmap-card  { order: 3; flex: 1; }
  .roadmap-item .roadmap-dot   { order: 1; margin-top: 28px; }
  .roadmap-item .roadmap-phase-label { display: none; }

  .roadmap-item::after { display: none; }

  .roadmap-item:hover .roadmap-card {
    transform: translateX(4px);
  }
}

/* ============================================
   CTA strip
   ============================================ */
.cta-strip {
  margin: 40px 0 120px;
  padding: 80px 40px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(138, 180, 216, 0.06), rgba(184, 166, 217, 0.06));
  border: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 20% 50%, rgba(138, 180, 216, 0.1), transparent 70%),
    radial-gradient(500px 300px at 80% 50%, rgba(184, 166, 217, 0.1), transparent 70%);
  pointer-events: none;
}

.cta-strip h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  max-width: 600px;
  margin: 0 auto 18px;
  position: relative;
}

.cta-strip p { color: var(--text-soft); margin-bottom: 28px; position: relative; }

/* ============================================
   Footer
   ============================================ */
footer {
  padding: 50px 0 40px;
  border-top: 1px solid rgba(190, 160, 150, 0.2);
  position: relative;
  z-index: 2;
  background: rgba(245, 236, 224, 0.72);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--text-soft); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--text-mute); font-size: 0.9rem; transition: color 0.25s; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--text-mute); font-size: 0.85rem; }

.footer-social {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-social a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  color: var(--text-mute);
  background: rgba(255,255,255,0.45);
  transition: all 0.3s var(--ease);
}

.footer-social a:hover {
  color: var(--accent-1);
  border-color: var(--accent-1);
  background: rgba(255,255,255,0.75);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px -4px var(--glow-1);
}

/* ============================================
   Fade-in on scroll
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 900px) {
  .stats-grid, .features-grid, .conditions-grid, .support-cards { grid-template-columns: 1fr; }
  .value-split, .contact-grid { grid-template-columns: 1fr; }
  .preview-grid { grid-template-columns: 1fr 1fr; }
  .nav { top: 14px; }
  .nav-inner { padding: 12px 16px; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px;
    gap: 2px;
  }
  .nav-toggle {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border-radius: 999px;
    background: rgba(255,255,255,0.55);
    border: 1px solid var(--border);
  }
  .section { padding: 80px 0; }
  .hero { padding: 80px 0 60px; }
  .cta-strip { padding: 50px 24px; }
  .contact-info, .contact-form { padding: 30px 22px; }
}

@media (max-width: 560px) {
  .preview-grid { grid-template-columns: 1fr; }
  .hero-preview-card { padding: 20px; }
  .value-card { padding: 32px 24px; }
}
