:root {
  --bg: #f5f2ee;
  --bg-warm: #ede8e0;
  --bg-card: #ffffff;
  --burgundy: #8C1F2E;
  --burgundy-mid: #A52A3A;
  --rose: #D4A0A8;
  --rose-light: #E8CDD2;
  --rose-pale: rgba(212, 160, 168, 0.12);
  --coral: #C2384D;
  --coral-light: #D94F63;
  --peach: #E8B4A0;
  --text-dark: #2A1015;
  --text-body: #5a3a40;
  --text-muted: #9A8085;
  --border: rgba(140, 31, 46, 0.1);

  /* Legacy aliases */
  --forest: #8C1F2E;
  --forest-mid: #A52A3A;
  --sage: #D4A0A8;
  --sage-light: #E8CDD2;
  --sage-pale: rgba(212, 160, 168, 0.12);
}

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

::selection { background: rgba(140, 31, 46, 0.2); color: var(--burgundy); }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── ORGANIC BLOBS ── */
.blob-1, .blob-2, .blob-3 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle at 40% 40%, rgba(212, 160, 168, 0.2), rgba(194, 56, 77, 0.06) 70%, transparent);
  top: -150px;
  right: -100px;
  filter: blur(60px);
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(194, 56, 77, 0.12), rgba(232, 180, 160, 0.08) 60%, transparent);
  bottom: -100px;
  left: -80px;
  filter: blur(50px);
}

.blob-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(212, 160, 168, 0.15), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(40px);
}

/* ── NAV ── */
.nav-botanical {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.2rem 0;
  transition: all 0.4s ease;
}

.nav-botanical.scrolled {
  background: rgba(245, 242, 238, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--burgundy);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.nav-brand img {
  height: 32px;
  width: 32px;
}

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

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.3s;
}

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

.btn-coral {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--coral);
  color: #fff;
  border: none;
  padding: 0.65rem 1.6rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-coral:hover {
  background: var(--coral-light);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(194, 56, 77, 0.3);
}

.btn-forest {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--burgundy);
  color: #fff;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-forest:hover {
  background: var(--burgundy-mid);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(140, 31, 46, 0.25);
}

.btn-outline-forest {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--burgundy);
  border: 1.5px solid var(--burgundy);
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-outline-forest:hover {
  background: var(--burgundy);
  color: #fff;
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 0 5rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--rose-pale);
  color: var(--burgundy-mid);
  padding: 0.45rem 1rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1.8rem;
}

.hero-badge i { color: var(--coral); }

.hero-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--burgundy);
  margin-bottom: 1.8rem;
}

.hero-title .highlight {
  color: var(--coral);
  font-style: italic;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-body);
  max-width: 460px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar-stack {
  display: flex;
}

.avatar-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--bg);
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
}

.avatar-dot:first-child { margin-left: 0; }

.hero-proof-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.hero-proof-text strong { color: var(--text-dark); }

/* Hero card cluster */
.hero-cards {
  position: relative;
  height: 480px;
  max-width: 380px;
  margin-left: auto;
}

.hero-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 1.8rem;
  box-shadow: 0 4px 24px rgba(140, 31, 46, 0.06), 0 1px 4px rgba(0,0,0,0.04);
  position: absolute;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

.hero-card:hover { transform: translateY(-4px) !important; }

.hero-card-main {
  width: 290px;
  top: 0;
  left: 0;
  z-index: 2;
}

.hero-card-side {
  width: 220px;
  top: 150px;
  right: -10px;
  z-index: 3;
}

.hero-card-bottom {
  width: 290px;
  bottom: 0;
  left: 20px;
  z-index: 1;
}

.card-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.card-metric {
  font-family: 'DM Serif Display', serif;
  font-size: 2.5rem;
  color: var(--burgundy);
  line-height: 1;
}

.card-metric-sm {
  font-family: 'DM Serif Display', serif;
  font-size: 1.6rem;
  color: var(--burgundy);
  line-height: 1;
}

.card-change {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--burgundy-mid);
  margin-top: 0.4rem;
}

.card-change.coral { color: var(--coral); }

.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 50px;
  margin-top: 1rem;
}

.mini-bar {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--rose-light);
  transition: height 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.mini-bar.accent { background: var(--coral); }

.competitor-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
}

.competitor-row:last-child { border-bottom: none; }

.competitor-name {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-dark);
}

.competitor-val {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.5rem;
}

.status-dot.green { background: var(--burgundy-mid); }
.status-dot.coral { background: var(--coral); }
.status-dot.sage { background: var(--rose); }

/* ── FEATURES ── */
.features-section {
  padding: 7rem 0;
  position: relative;
}

.section-overline {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 0.8rem;
}

.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--burgundy);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 480px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.f-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 2.2rem;
  box-shadow: 0 2px 16px rgba(140, 31, 46, 0.05);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  overflow: hidden;
}

.f-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--rose), var(--coral));
  opacity: 0;
  transition: opacity 0.3s;
}

.f-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(140, 31, 46, 0.1);
}

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

.f-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.f-icon.sage { background: var(--rose-pale); color: var(--burgundy-mid); }
.f-icon.coral { background: rgba(194, 56, 77, 0.12); color: var(--coral); }
.f-icon.peach { background: rgba(232, 180, 160, 0.25); color: var(--coral); }

.f-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.25rem;
  color: var(--burgundy);
  margin-bottom: 0.7rem;
}

.f-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── PROCESS ── */
.process-section {
  padding: 7rem 0;
  background: var(--bg-warm);
  border-radius: 40px;
  margin: 0 1rem;
  position: relative;
}

.process-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.p-card {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.p-num {
  font-family: 'DM Serif Display', serif;
  font-size: 4rem;
  color: var(--rose-light);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.p-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-card);
  box-shadow: 0 4px 16px rgba(140, 31, 46, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--coral);
  margin: 0 auto 1.5rem;
}

.p-title {
  font-family: 'DM Serif Display', serif;
  font-size: 1.3rem;
  color: var(--burgundy);
  margin-bottom: 0.7rem;
}

.p-text {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

/* connector arrows */
.p-card:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 5.5rem;
  right: -1rem;
  width: 2rem;
  height: 2px;
  background: var(--rose-light);
}

.p-card:not(:last-child)::before {
  content: '';
  position: absolute;
  top: calc(5.5rem - 4px);
  right: -1rem;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--rose-light);
}

/* ── SOCIAL PROOF ── */
.proof-section {
  padding: 7rem 0;
  position: relative;
}

.proof-card {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 3.5rem;
  box-shadow: 0 4px 24px rgba(140, 31, 46, 0.06);
  position: relative;
  overflow: hidden;
}

.proof-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--coral), var(--rose));
  border-radius: 2px;
}

.proof-quote {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: var(--burgundy);
  line-height: 1.5;
  margin-bottom: 2rem;
  max-width: 600px;
}

.proof-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.proof-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--rose-light), var(--peach));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Serif Display', serif;
  font-size: 1.1rem;
  color: var(--burgundy);
}

.proof-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-dark);
}

.proof-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* stats row */
.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

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

.stat-val {
  font-family: 'DM Serif Display', serif;
  font-size: 2.8rem;
  color: var(--coral);
  line-height: 1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
}

/* ── CTA ── */
.cta-section {
  padding: 5rem 0 6rem;
}

.cta-box {
  background: var(--burgundy);
  border-radius: 24px;
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(212, 160, 168, 0.15), transparent 70%);
  pointer-events: none;
}

.cta-box::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(194, 56, 77, 0.2), transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.cta-title .highlight {
  color: var(--peach);
  font-style: italic;
}

.cta-desc {
  font-size: 1rem;
  color: var(--rose-light);
  max-width: 460px;
  margin: 0 auto 2.5rem;
  position: relative;
  z-index: 1;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  color: var(--burgundy);
  border: none;
  padding: 0.8rem 2.2rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-white:hover {
  background: var(--peach);
  color: var(--burgundy);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.btn-ghost-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.25);
  padding: 0.75rem 1.8rem;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-ghost-white:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}

.cta-note {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

/* ── FOOTER ── */
.footer {
  padding: 2.5rem 0;
}

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

.footer-brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--burgundy);
  letter-spacing: 0.02em;
}

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

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ── ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.reveal-d1 { transition-delay: 0.1s; }
.reveal-d2 { transition-delay: 0.2s; }
.reveal-d3 { transition-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
  .hero-cards { height: auto; position: static; margin-top: 3rem; }
  .hero-card { position: static !important; width: 100% !important; margin-bottom: 1rem; }
  .float-card { display: none; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .process-cards { grid-template-columns: 1fr; }
  .p-card::after, .p-card::before { display: none; }
  .process-section { border-radius: 24px; }
}

@media (max-width: 767px) {
  .nav-links { display: none !important; }
  .feature-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .proof-card { padding: 2rem; }
}
