/* ═══════════════════════════════════════════
   CSS CUSTOM PROPERTIES
   ═══════════════════════════════════════════ */
:root {
  /* Warm palette */
  --cream: #FFF8F0;
  --cream-dark: #F5EDE3;
  --ink: #1A1612;
  --ink-light: #4A4540;
  --ink-muted: #8A8580;
  --warmth: #E8694A;
  --warmth-light: #FF8B6A;
  --warmth-glow: #FFF0EB;
  --sage: #5B8C6F;
  --sage-light: #E8F2EC;
  --sky: #4A7FB5;
  --sky-light: #E8F0F8;
  --honey: #D4953D;
  --honey-light: #FFF3E0;
  --violet: #7B68AE;
  --violet-light: #F0ECF8;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, sans-serif;

  /* Spacing */
  --section-pad: clamp(4rem, 10vw, 8rem);
  --content-max: 1180px;

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

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

/* ═══════════════════════════════════════════
   UTILITY
   ═══════════════════════════════════════════ */
.container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2.5rem);
}

/* Scroll-triggered reveal */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.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; }
.reveal-delay-4 { transition-delay: 0.35s; }
.reveal-delay-5 { transition-delay: 0.4s; }

/* Screenshot frames */
.screenshot-frame {
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 8px 40px rgba(26, 22, 18, 0.12),
    0 2px 8px rgba(26, 22, 18, 0.06);
  border: 1px solid rgba(26, 22, 18, 0.06);
}

.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.screenshot-frame-dark {
  border-color: rgba(255, 255, 255, 0.06);
  box-shadow:
    0 16px 60px rgba(26, 22, 18, 0.2),
    0 4px 16px rgba(26, 22, 18, 0.1);
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}

.nav.scrolled {
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(26, 22, 18, 0.06);
  padding: 0.6rem 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  background: var(--warmth);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.1rem;
  transform: rotate(-3deg);
  box-shadow: 0 2px 8px rgba(232, 105, 74, 0.3);
}

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-light);
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--ink);
  color: var(--cream) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 8px;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(26, 22, 18, 0.2);
}

/* Mobile nav */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    gap: 2.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .nav-links.open {
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a { font-size: 1.3rem; }
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  max-width: 800px;
  max-height: 800px;
  background: radial-gradient(circle, rgba(232, 105, 74, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 40vw;
  height: 40vw;
  max-width: 500px;
  max-height: 500px;
  background: radial-gradient(circle, rgba(91, 140, 111, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--sage-light);
  color: var(--sage);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--warmth);
}

.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--ink-light);
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--warmth);
  color: white;
  padding: 0.85rem 1.8rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.25s var(--ease-spring), box-shadow 0.25s;
  box-shadow: 0 2px 12px rgba(232, 105, 74, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 105, 74, 0.35);
}

.btn-primary svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease-spring);
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: transparent;
  color: var(--ink);
  padding: 0.85rem 1.8rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid rgba(26, 22, 18, 0.12);
  transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  border-color: var(--ink);
  background: rgba(26, 22, 18, 0.03);
}

/* Hero illustration */
.hero-visual {
  position: relative;
}

.hero-mockup {
  background: var(--ink);
  border-radius: 16px;
  padding: 8px;
  box-shadow:
    0 24px 80px rgba(26, 22, 18, 0.18),
    0 8px 24px rgba(26, 22, 18, 0.08);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.6s var(--ease-out);
}

.hero-mockup:hover {
  transform: perspective(1200px) rotateY(-1deg) rotateX(0.5deg);
}

.hero-screen {
  background: #1e293b;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16/10;
  position: relative;
}

.hero-screen-top {
  height: 32px;
  background: #0f172a;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 6px;
}

.hero-screen-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #334155;
}

.hero-screen-content {
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.hero-app-tile {
  background: #334155;
  border-radius: 12px;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 1.6rem;
  animation: tile-float 3s ease-in-out infinite;
}

.hero-app-tile:nth-child(2) { animation-delay: 0.3s; }
.hero-app-tile:nth-child(3) { animation-delay: 0.6s; }
.hero-app-tile:nth-child(4) { animation-delay: 0.9s; }
.hero-app-tile:nth-child(5) { animation-delay: 0.4s; }
.hero-app-tile:nth-child(6) { animation-delay: 0.7s; }
.hero-app-tile:nth-child(7) { animation-delay: 0.2s; }
.hero-app-tile:nth-child(8) { animation-delay: 0.5s; }

.hero-app-label {
  font-size: 0.55rem;
  color: #94a3b8;
  font-weight: 500;
  letter-spacing: 0.02em;
}

@keyframes tile-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-3px); }
}

.hero-menu-bar {
  height: 48px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  border-radius: 0 0 10px 10px;
}

.hero-menu-item {
  width: 28px;
  height: 28px;
  background: #1e293b;
  border-radius: 6px;
}

.hero-menu-item.active {
  background: var(--warmth);
}

/* Floating badges around mockup */
.hero-float {
  position: absolute;
  background: white;
  border-radius: 12px;
  padding: 0.65rem 1rem;
  box-shadow: 0 4px 20px rgba(26, 22, 18, 0.1);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: badge-bob 4s ease-in-out infinite;
  white-space: nowrap;
}

.hero-float-1 {
  top: 10%;
  right: -8%;
  color: var(--sage);
  animation-delay: 0s;
}

.hero-float-2 {
  bottom: 20%;
  left: -10%;
  color: var(--warmth);
  animation-delay: 1.5s;
}

.hero-float-3 {
  bottom: 5%;
  right: -5%;
  color: var(--sky);
  animation-delay: 0.8s;
}

@keyframes badge-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { max-width: 500px; margin: 0 auto; }
  .hero-float { display: none; }
}

/* ═══════════════════════════════════════════
   SECTION HEADERS
   ═══════════════════════════════════════════ */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  border-radius: 2px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--ink-light);
  max-width: 560px;
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   PROBLEM SECTION
   ═══════════════════════════════════════════ */
.problem {
  padding: var(--section-pad) 0;
  position: relative;
}

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

.problem-card {
  padding: 2rem;
  border-radius: 16px;
  background: white;
  border: 1px solid rgba(26, 22, 18, 0.06);
  position: relative;
  overflow: hidden;
}

.problem-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.problem-card:nth-child(1)::before { background: var(--warmth); }
.problem-card:nth-child(2)::before { background: var(--honey); }
.problem-card:nth-child(3)::before { background: var(--sage); }

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

.problem-card:nth-child(1) .problem-icon { background: var(--warmth-glow); }
.problem-card:nth-child(2) .problem-icon { background: var(--honey-light); }
.problem-card:nth-child(3) .problem-icon { background: var(--sage-light); }

.problem-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

.problem-card p {
  color: var(--ink-light);
  font-size: 0.95rem;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .problem-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   FEATURES
   ═══════════════════════════════════════════ */
.features {
  padding: var(--section-pad) 0;
  background: white;
  position: relative;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 22, 18, 0.08), transparent);
}

.features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-header .section-label {
  color: var(--warmth);
}

.features-header .section-label::before {
  background: var(--warmth);
}

.features-header .section-desc {
  margin: 0 auto;
}

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

.feature-card {
  padding: 2rem;
  border-radius: 16px;
  background: var(--cream);
  border: 1px solid rgba(26, 22, 18, 0.04);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s;
  position: relative;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(26, 22, 18, 0.08);
}

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

.feature-card:nth-child(1) .feature-icon { background: var(--honey-light); }
.feature-card:nth-child(2) .feature-icon { background: var(--sage-light); }
.feature-card:nth-child(3) .feature-icon { background: var(--sky-light); }
.feature-card:nth-child(4) .feature-icon { background: var(--violet-light); }
.feature-card:nth-child(5) .feature-icon { background: var(--warmth-glow); }
.feature-card:nth-child(6) .feature-icon { background: var(--honey-light); }

.feature-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--ink-light);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* Features screenshot showcase */
.features-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
}

.showcase-item {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.showcase-caption h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}

.showcase-caption p {
  color: var(--ink-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .features-showcase { grid-template-columns: 1fr; max-width: 560px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   CHALLENGES DEEP-DIVE
   ═══════════════════════════════════════════ */
.challenges {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.challenges::before {
  content: '';
  position: absolute;
  top: 0;
  right: -5%;
  width: 40vw;
  height: 40vw;
  max-width: 600px;
  max-height: 600px;
  background: radial-gradient(circle, rgba(212, 149, 61, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.challenges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.challenges .section-label {
  color: var(--honey);
}
.challenges .section-label::before {
  background: var(--honey);
}

.challenge-flow {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.challenge-step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.challenge-step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--honey-light);
  color: var(--honey);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.challenge-step-text h4 {
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.challenge-step-text p {
  color: var(--ink-light);
  font-size: 0.9rem;
}

/* Challenge visual */
.challenge-visual {
  position: relative;
}

@media (max-width: 900px) {
  .challenges-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════
   COMMUNITY / FAMILY SECTION
   ═══════════════════════════════════════════ */
.community {
  padding: var(--section-pad) 0;
  background: white;
  position: relative;
}

.community::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 22, 18, 0.08), transparent);
}

.community-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.community .section-label {
  color: var(--sage);
}
.community .section-label::before {
  background: var(--sage);
}

.community-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.community-feat {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.community-feat-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--sage-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.community-feat h4 {
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.community-feat p {
  color: var(--ink-light);
  font-size: 0.9rem;
}

/* Bulletin board visual */
.bulletin-visual {
  position: relative;
}

.bulletin-board {
  background: #D4A574;
  border-radius: 16px;
  padding: 2rem;
  min-height: 360px;
  position: relative;
  box-shadow:
    inset 0 2px 8px rgba(0,0,0,0.1),
    0 8px 40px rgba(26, 22, 18, 0.1);
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(0,0,0,0.03) 0%, transparent 50%);
}

.bulletin-board::before {
  content: '';
  position: absolute;
  inset: 6px;
  border: 2px dashed rgba(255,255,255,0.15);
  border-radius: 12px;
  pointer-events: none;
}

.note {
  position: absolute;
  padding: 1rem 1.2rem;
  border-radius: 3px;
  font-size: 0.8rem;
  line-height: 1.4;
  box-shadow: 2px 3px 12px rgba(0,0,0,0.12);
  max-width: 160px;
  font-weight: 500;
}

.note::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 8px;
  background: rgba(0,0,0,0.15);
  border-radius: 0 0 4px 4px;
}

.note-1 {
  background: #FFF9C4;
  top: 12%;
  left: 8%;
  transform: rotate(-3deg);
}

.note-2 {
  background: #FFCDD2;
  top: 8%;
  right: 10%;
  transform: rotate(2deg);
}

.note-3 {
  background: #C8E6C9;
  bottom: 25%;
  left: 15%;
  transform: rotate(1.5deg);
}

.note-4 {
  background: #BBDEFB;
  bottom: 12%;
  right: 8%;
  transform: rotate(-2deg);
}

.note-5 {
  background: #E1BEE7;
  top: 45%;
  right: 25%;
  transform: rotate(3deg);
}

.note-author {
  display: block;
  font-weight: 700;
  margin-bottom: 0.25rem;
  font-size: 0.7rem;
  opacity: 0.7;
}

.note-reactions {
  margin-top: 0.4rem;
  font-size: 0.75rem;
}

@media (max-width: 900px) {
  .community-grid {
    grid-template-columns: 1fr;
  }
  .bulletin-visual { order: -1; }
}

/* ═══════════════════════════════════════════
   DASHBOARD SECTION
   ═══════════════════════════════════════════ */
.dashboard {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.dashboard::before {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 40vw;
  height: 40vw;
  max-width: 500px;
  max-height: 500px;
  background: radial-gradient(circle, rgba(74, 127, 181, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.dashboard-header {
  text-align: center;
  margin-bottom: 4rem;
}

.dashboard .section-label {
  color: var(--sky);
}
.dashboard .section-label::before {
  background: var(--sky);
}

.dashboard-header .section-desc {
  margin: 0 auto;
}

.dashboard-mockup {
  max-width: 900px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════ */
.how-it-works {
  padding: var(--section-pad) 0;
  background: white;
}

.how-it-works::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(26, 22, 18, 0.08), transparent);
}

.how-header {
  text-align: center;
  margin-bottom: 4rem;
  padding-top: var(--section-pad);
}

.how-it-works .section-label {
  color: var(--violet);
}
.how-it-works .section-label::before {
  background: var(--violet);
}

.how-header .section-desc {
  margin: 0 auto;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--warmth), var(--sage), var(--sky));
  border-radius: 2px;
  opacity: 0.3;
}

.step {
  text-align: center;
  position: relative;
}

.step-num {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-family: var(--font-display);
  font-size: 1.8rem;
  position: relative;
  z-index: 1;
}

.step:nth-child(1) .step-num { background: var(--warmth-glow); color: var(--warmth); }
.step:nth-child(2) .step-num { background: var(--sage-light); color: var(--sage); }
.step:nth-child(3) .step-num { background: var(--sky-light); color: var(--sky); }

.step h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--ink-light);
  font-size: 0.9rem;
  max-width: 280px;
  margin: 0 auto;
}

@media (max-width: 700px) {
  .steps { grid-template-columns: 1fr; gap: 3rem; }
  .steps::before { display: none; }
}

/* ═══════════════════════════════════════════
   OPEN SOURCE CTA
   ═══════════════════════════════════════════ */
.cta-section {
  padding: var(--section-pad) 0;
  position: relative;
}

.cta-card {
  background: var(--ink);
  border-radius: 24px;
  padding: clamp(3rem, 6vw, 5rem);
  text-align: center;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(232, 105, 74, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 50%;
  height: 150%;
  background: radial-gradient(ellipse, rgba(91, 140, 111, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.cta-card > * { position: relative; z-index: 1; }

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.45rem 1rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--warmth-light);
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-desc {
  font-size: 1.1rem;
  color: rgba(255, 248, 240, 0.6);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn-primary {
  background: var(--warmth);
}

.cta-buttons .btn-secondary {
  border-color: rgba(255, 248, 240, 0.2);
  color: var(--cream);
}

.cta-buttons .btn-secondary:hover {
  border-color: rgba(255, 248, 240, 0.5);
  background: rgba(255, 248, 240, 0.05);
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 248, 240, 0.5);
}

.cta-feature svg {
  width: 16px;
  height: 16px;
  color: var(--sage);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
  padding: 3rem 0;
  border-top: 1px solid rgba(26, 22, 18, 0.06);
}

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

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
}

.footer-brand-icon {
  width: 28px;
  height: 28px;
  background: var(--warmth);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 0.8rem;
  transform: rotate(-3deg);
}

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

.footer-links a {
  font-size: 0.85rem;
  color: var(--ink-muted);
  transition: color 0.2s;
}

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

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

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; text-align: center; }
}
