/* ============================================================
   Planika landing — theme lifted from the app design system
   bg #F5F3FF · purple #6855F5/#7C6AFF · ink #31285C · body #544F69
   Headlines: italic, like the app onboarding ("You set the goal.")
   ============================================================ */

:root {
  --purple: #6855F5;
  --purple-soft: #8B7DF8;
  --purple-light: #B4A7FF;
  --purple-tint: rgba(104, 85, 245, 0.08);
  --ink: #31285C;
  --body: #544F69;
  --muted: #9CA3AF;
  --bg: #F5F3FF;
  --bg-deep: #EDE9FE;
  --white: #FFFFFF;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.55);
  --shadow-glow: 0 12px 40px rgba(104, 85, 245, 0.25);
  --shadow-soft: 0 8px 32px rgba(49, 40, 92, 0.08);
  --radius-lg: 22px;
  --radius-xl: 32px;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

h1, h2, h3, h4 { color: var(--ink); font-weight: 700; line-height: 1.15; }

h1 em, h2 em, h3 em, .answer-line em {
  font-style: italic;
  letter-spacing: -0.02em;
}

.accent { color: var(--purple); }

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.section { padding: 110px 0; }

.section-head {
  max-width: 680px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head h2 { font-size: clamp(32px, 4.5vw, 48px); margin-bottom: 18px; }

.section-head p { font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-lg);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #6855F5, #8B7DF8);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 48px rgba(104, 85, 245, 0.38); }

.btn-ghost {
  color: var(--ink);
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover { transform: translateY(-2px); background: #fff; }

.btn-light { color: var(--purple); background: #fff; box-shadow: 0 12px 40px rgba(20, 10, 60, 0.25); }

.btn-light:hover { transform: translateY(-2px); }

.btn-sm { padding: 10px 22px; font-size: 14px; }
.btn-lg { padding: 17px 34px; font-size: 17px; min-height: 58px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 14px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.nav.scrolled {
  background: rgba(245, 243, 255, 0.85);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 rgba(49, 40, 92, 0.07);
  padding: 10px 0;
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 21px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.brand-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #B4A7FF, #6855F5);
  box-shadow: 0 0 12px rgba(104, 85, 245, 0.55);
}

.nav-links { display: flex; gap: 30px; }

.nav-links a {
  color: var(--body);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--purple); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

#particles { position: absolute; inset: 0; width: 100%; height: 100%; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: drift 14s ease-in-out infinite alternate;
}

.orb-1 { width: 560px; height: 560px; background: #DCD4FF; top: -160px; left: -120px; }
.orb-2 { width: 480px; height: 480px; background: #C9E8FF; bottom: -140px; right: -80px; animation-delay: -5s; }
.orb-3 { width: 380px; height: 380px; background: #F3D9FF; top: 30%; right: 22%; animation-delay: -9s; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, -30px) scale(1.08); }
}

.hero-inner {
  position: relative;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-title {
  font-size: clamp(44px, 5.6vw, 72px);
  margin-bottom: 24px;
}

.hero-sub { font-size: 19px; max-width: 480px; margin-bottom: 36px; }

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }

.hero-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  font-weight: 600;
}

.trust-stars { color: #F5A320; letter-spacing: 2px; font-size: 15px; }

/* phone stack */
.hero-visual { position: relative; }

.phone-stack {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
}

.phone img {
  border-radius: 38px;
  box-shadow: 0 30px 80px rgba(49, 40, 92, 0.28);
}

.phone-main {
  position: relative;
  z-index: 3;
  width: 280px;
  animation: float 6s ease-in-out infinite;
}

.phone-side {
  position: absolute;
  z-index: 2;
  width: 220px;
  opacity: 0.92;
}

.phone-left {
  left: -8%;
  top: 12%;
  transform: rotate(-9deg) scale(0.94);
  animation: float 7s ease-in-out infinite reverse;
}

.phone-right {
  right: -8%;
  top: 18%;
  transform: rotate(9deg) scale(0.94);
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -14px; }
}

.float-chip {
  position: absolute;
  z-index: 4;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  animation: float 5s ease-in-out infinite;
}

.chip-1 { top: 6%; left: 4%; animation-delay: -1s; }
.chip-2 { bottom: 14%; left: -2%; animation-delay: -2.5s; }
.chip-3 { top: 38%; right: -4%; animation-delay: -4s; }

/* ---------- Section 1: Problem ---------- */
.problem { background: linear-gradient(180deg, var(--bg) 0%, #FBFAFF 100%); }

.problem-flow {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.flow-card {
  flex: 1;
  min-width: 220px;
  max-width: 300px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  padding: 36px 28px;
  text-align: center;
  transition: transform 0.3s ease;
}

.flow-card:hover { transform: translateY(-6px); }

.flow-card-fade { opacity: 0.65; filter: saturate(0.6); }

.flow-emoji { font-size: 38px; display: block; margin-bottom: 14px; }

.flow-card h3 { font-size: 21px; margin-bottom: 8px; }

.flow-card p { font-size: 15px; font-style: italic; }

.flow-arrow {
  align-self: center;
  font-size: 28px;
  color: var(--purple-light);
  font-weight: 700;
}

.problem-answer { text-align: center; margin-top: 56px; }

.answer-line {
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 700;
  color: var(--ink);
  font-style: italic;
  letter-spacing: -0.02em;
}

/* ---------- Section 2: How it works ---------- */
.how-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.how-steps { display: flex; flex-direction: column; gap: 14px; }

.step {
  display: flex;
  gap: 20px;
  padding: 24px 26px;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.step.active {
  background: var(--glass);
  border-color: var(--glass-border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
}

.step-num {
  flex-shrink: 0;
  width: 42px; height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 800;
  font-size: 17px;
  color: var(--purple);
  background: var(--purple-tint);
  transition: background 0.3s, color 0.3s;
}

.step.active .step-num {
  color: #fff;
  background: linear-gradient(135deg, #6855F5, #8B7DF8);
  box-shadow: 0 6px 18px rgba(104, 85, 245, 0.35);
}

.step h3 { font-size: 19px; margin-bottom: 5px; }

.step p { font-size: 15.5px; }

.how-visual { display: flex; justify-content: center; }

/* ----- Live animated device ----- */
.device {
  position: relative;
  width: 300px;
  aspect-ratio: 300 / 620;
  background: #0e0c1b;
  border-radius: 46px;
  padding: 11px;
  box-shadow: 0 34px 80px rgba(49, 40, 92, 0.32), inset 0 0 0 2px rgba(255, 255, 255, 0.07);
  animation: float 7s ease-in-out infinite;
}

.device::before {
  content: "";
  position: absolute;
  inset: 14% -16%;
  background: radial-gradient(circle, rgba(104, 85, 245, 0.22), transparent 70%);
  filter: blur(36px);
  z-index: -1;
}

.device-notch {
  position: absolute;
  top: 11px;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 24px;
  background: #0e0c1b;
  border-radius: 0 0 16px 16px;
  z-index: 6;
}

.device-screen {
  position: relative;
  height: 100%;
  width: 100%;
  background: linear-gradient(180deg, #F6F4FF 0%, #ECE7FF 100%);
  border-radius: 35px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.dv-statusbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 22px 3px;
  font-size: 11px;
  font-weight: 700;
  color: var(--ink);
}

.dv-sysicons { display: flex; align-items: center; gap: 5px; }
.dv-sig, .dv-wifi { width: 14px; height: 10px; background: var(--ink); border-radius: 2px; opacity: 0.85; -webkit-mask: linear-gradient(#000 0 0); }
.dv-sig { clip-path: polygon(0 100%, 20% 100%, 20% 60%, 40% 60%, 40% 100%, 60% 100%, 60% 30%, 80% 30%, 80% 100%, 100% 100%, 100% 0, 0 0); }
.dv-wifi { border-radius: 50% 50% 0 0; height: 9px; }
.dv-batt { width: 22px; height: 11px; border: 1.6px solid var(--ink); border-radius: 3px; position: relative; opacity: 0.85; }
.dv-batt::before { content: ""; position: absolute; inset: 1.5px; right: 6px; background: var(--ink); border-radius: 1px; }
.dv-batt::after { content: ""; position: absolute; top: 3px; right: -3px; width: 2px; height: 4px; background: var(--ink); border-radius: 0 2px 2px 0; }

.dv-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 15px 11px;
  border-bottom: 1px solid rgba(49, 40, 92, 0.07);
}

.dv-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  background: radial-gradient(circle at 30% 30%, #B4A7FF, #6855F5);
  box-shadow: 0 4px 12px rgba(104, 85, 245, 0.4);
}

.dv-header-text { display: flex; flex-direction: column; line-height: 1.25; flex: 1; }
.dv-header-text strong { font-size: 14px; color: var(--ink); }
.dv-status { font-size: 10.5px; color: var(--muted); display: flex; align-items: center; gap: 5px; }
.dv-dot { width: 6px; height: 6px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18); }

.dv-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 14px 13px 6px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  scrollbar-width: none;
}
.dv-body::-webkit-scrollbar { display: none; }

.dv-msg {
  max-width: 82%;
  padding: 10px 13px;
  font-size: 12.5px;
  line-height: 1.45;
  border-radius: 16px;
  opacity: 0;
  transform: translateY(9px) scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.dv-msg.in { opacity: 1; transform: none; }

.dv-ai {
  align-self: flex-start;
  background: #fff;
  color: var(--ink);
  border-bottom-left-radius: 5px;
  box-shadow: var(--shadow-soft);
}

.dv-user {
  align-self: flex-end;
  background: linear-gradient(135deg, #6855F5, #8B7DF8);
  color: #fff;
  border-bottom-right-radius: 5px;
  box-shadow: 0 6px 16px rgba(104, 85, 245, 0.35);
}

.dv-tag {
  display: block;
  font-size: 8.5px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 5px;
}

.dv-typing { display: flex; gap: 4px; align-items: center; padding: 13px 15px; }
.dv-typing span { width: 7px; height: 7px; border-radius: 50%; background: #B4A7FF; animation: dvBlink 1s infinite; }
.dv-typing span:nth-child(2) { animation-delay: 0.15s; }
.dv-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes dvBlink { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* plan card */
.dv-plan {
  align-self: stretch;
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 7px;
  opacity: 0;
  transform: translateY(9px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.dv-plan.in { opacity: 1; transform: none; }
.dv-plan-head { font-size: 9.5px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; color: var(--purple); margin-bottom: 1px; }

.dv-row {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 9px;
  border-radius: 11px;
  background: #F4F1FF;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.32s ease, transform 0.32s ease, background 0.3s ease;
}
.dv-row.in { opacity: 1; transform: none; }
.dv-row-emoji { font-size: 15px; flex-shrink: 0; }
.dv-row-body { flex: 1; display: flex; flex-direction: column; line-height: 1.2; }
.dv-row-title { font-size: 11.5px; font-weight: 700; color: var(--ink); }
.dv-row-meta { font-size: 9.5px; color: var(--muted); }
.dv-check {
  width: 18px; height: 18px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid #CFC7F2;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; color: #fff;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.dv-row.done .dv-check { background: linear-gradient(135deg, #6855F5, #8B7DF8); border-color: transparent; transform: scale(1.08); }
.dv-row.done .dv-row-title { color: var(--muted); text-decoration: line-through; }

/* roadmap builder (step 2) */
.dv-build {
  align-self: stretch;
  background: #fff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(9px);
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.dv-build.in { opacity: 1; transform: none; }

.dv-build-status {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 10px;
}
.dv-build-status i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--purple);
  animation: dvPulse 1.2s ease-in-out infinite;
}
@keyframes dvPulse { 0%, 100% { opacity: 0.35; transform: scale(0.85); } 50% { opacity: 1; transform: scale(1.15); } }

.dv-roadmap { display: flex; flex-direction: column; gap: 0; position: relative; padding-left: 4px; }
.dv-ms {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 7px 0;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.32s ease, transform 0.32s ease;
}
.dv-ms.in { opacity: 1; transform: none; }
.dv-ms-rail { display: flex; flex-direction: column; align-items: center; width: 16px; flex-shrink: 0; padding-top: 2px; }
.dv-ms-dot {
  width: 11px; height: 11px; border-radius: 50%;
  border: 2px solid #CFC7F2; background: #fff;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s, transform 0.3s;
}
.dv-ms-line { width: 2px; flex: 1; min-height: 14px; background: #E8E3FF; margin-top: 3px; }
.dv-ms:last-child .dv-ms-line { display: none; }
.dv-ms-body { flex: 1; padding-top: 0; }
.dv-ms-label { font-size: 8.5px; font-weight: 800; letter-spacing: 0.7px; text-transform: uppercase; color: var(--muted); }
.dv-ms-title { font-size: 11.5px; font-weight: 700; color: var(--ink); margin-top: 1px; }
.dv-ms-meta { font-size: 9px; color: var(--muted); margin-top: 2px; }

.dv-ms.is-pick .dv-ms-dot {
  border-color: var(--purple);
  background: linear-gradient(135deg, #6855F5, #8B7DF8);
  box-shadow: 0 0 0 4px rgba(104, 85, 245, 0.2);
  transform: scale(1.12);
}
.dv-ms.is-pick .dv-ms-label { color: var(--purple); }
.dv-ms.is-locked { opacity: 0.45; }
.dv-ms.is-locked.in { opacity: 0.45; }

.dv-tasks-block {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px dashed rgba(104, 85, 245, 0.2);
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.5s ease, opacity 0.4s ease, margin 0.4s ease;
}
.dv-tasks-block.in { max-height: 200px; opacity: 1; margin-top: 10px; }
.dv-tasks-label { font-size: 9px; font-weight: 800; letter-spacing: 0.8px; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }

/* recap card (step 4) */
.dv-recap {
  align-self: stretch;
  background: linear-gradient(145deg, #fff 0%, #F8F6FF 100%);
  border: 1px solid rgba(104, 85, 245, 0.12);
  border-radius: 16px;
  padding: 12px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  transform: translateY(10px) scale(0.97);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.dv-recap.in { opacity: 1; transform: none; }
.dv-recap-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.dv-recap-head strong { font-size: 12px; color: var(--ink); }
.dv-recap-head em { font-size: 9px; font-style: normal; font-weight: 800; color: var(--purple); letter-spacing: 0.5px; text-transform: uppercase; }
.dv-recap-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-bottom: 9px; }
.dv-stat {
  background: #fff;
  border-radius: 10px;
  padding: 7px 6px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(49, 40, 92, 0.05);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.dv-stat.in { opacity: 1; transform: none; }
.dv-stat b { display: block; font-size: 14px; color: var(--purple); line-height: 1.1; }
.dv-stat span { font-size: 8.5px; color: var(--muted); font-weight: 600; }

.dv-recap-bar { height: 6px; border-radius: 999px; background: #ECE7FF; overflow: hidden; margin-bottom: 8px; }
.dv-recap-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, #6855F5, #8B7DF8); transition: width 1s cubic-bezier(0.22, 1, 0.36, 1); }

.dv-win {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(104, 85, 245, 0.12), rgba(139, 125, 248, 0.08));
  border: 1px solid rgba(104, 85, 245, 0.18);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.dv-win.in { opacity: 1; transform: none; box-shadow: 0 8px 20px rgba(104, 85, 245, 0.15); animation: dvWinGlow 2s ease-in-out infinite; }
@keyframes dvWinGlow { 0%, 100% { box-shadow: 0 8px 20px rgba(104, 85, 245, 0.12); } 50% { box-shadow: 0 8px 24px rgba(104, 85, 245, 0.28); } }
.dv-win-emoji { font-size: 18px; }
.dv-win-body { flex: 1; }
.dv-win-title { font-size: 11.5px; font-weight: 700; color: var(--ink); }
.dv-win-meta { font-size: 9px; color: var(--purple); font-weight: 700; margin-top: 1px; }
.dv-win-go { font-size: 9px; font-weight: 800; color: #fff; background: var(--purple); padding: 5px 8px; border-radius: 999px; white-space: nowrap; }

/* today view */
.dv-today-head { display: flex; align-items: baseline; justify-content: space-between; padding: 2px 2px 2px; }
.dv-today-head strong { font-size: 14px; color: var(--ink); }
.dv-today-head span { font-size: 10px; color: var(--muted); font-weight: 600; }
.dv-progress-wrap { background: #fff; border-radius: 14px; padding: 11px 13px; box-shadow: var(--shadow-soft); display: flex; flex-direction: column; gap: 8px; }
.dv-progress-top { display: flex; justify-content: space-between; align-items: center; }
.dv-progress-top b { font-size: 18px; color: var(--ink); }
.dv-progress-top em { font-size: 9.5px; color: var(--muted); font-style: normal; font-weight: 700; }
.dv-progress-track { height: 7px; border-radius: 999px; background: #ECE7FF; overflow: hidden; }
.dv-progress-fill { height: 100%; width: 33%; border-radius: 999px; background: linear-gradient(90deg, #6855F5, #8B7DF8); transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.dv-section-label { font-size: 9px; font-weight: 800; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin: 4px 2px 0; }

/* composer */
.dv-composer { display: flex; align-items: center; gap: 8px; padding: 7px 12px; }
.dv-input {
  flex: 1;
  position: relative;
  min-height: 34px;
  background: #fff;
  border-radius: 999px;
  padding: 9px 14px;
  font-size: 12px;
  color: var(--ink);
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-soft);
}
.dv-placeholder { color: var(--muted); position: absolute; left: 14px; }
.dv-input.has-text .dv-placeholder { display: none; }
.dv-caret { display: none; width: 1.5px; height: 14px; background: var(--purple); margin-left: 1px; }
.dv-input.typing .dv-caret { display: inline-block; animation: dvCaret 1s steps(1) infinite; }
@keyframes dvCaret { 50% { opacity: 0; } }
.dv-send {
  width: 34px; height: 34px; flex-shrink: 0;
  border: none; border-radius: 50%;
  background: linear-gradient(135deg, #6855F5, #8B7DF8);
  color: #fff; font-size: 15px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 16px rgba(104, 85, 245, 0.35);
  transition: transform 0.2s ease;
}
.dv-send.pulse { transform: scale(0.86); }

.dv-nav { display: flex; justify-content: space-around; align-items: center; padding: 5px 28px 13px; }
.dv-nav-item {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: var(--muted);
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
.dv-nav-item.is-active {
  background: linear-gradient(135deg, #6855F5, #8B7DF8);
  color: #fff;
  box-shadow: 0 6px 16px rgba(104, 85, 245, 0.4);
}

/* ---------- Section 3: Why different ---------- */
.different { background: linear-gradient(180deg, #FBFAFF 0%, var(--bg) 60%); }

.diff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 22px;
  margin-bottom: 100px;
}

.diff-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  padding: 34px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.diff-card:hover { transform: translateY(-6px); box-shadow: 0 18px 48px rgba(104, 85, 245, 0.16); }

.diff-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px; height: 56px;
  font-size: 26px;
  border-radius: 18px;
  background: var(--purple-tint);
  margin-bottom: 18px;
}

.diff-card h3 { font-size: 19px; margin-bottom: 10px; }

.diff-card p { font-size: 15.5px; }

.diff-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.diff-showcase-copy h3 { font-size: clamp(26px, 3.2vw, 36px); margin-bottom: 16px; }

.check-list { list-style: none; margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }

.check-list li {
  position: relative;
  padding-left: 34px;
  font-weight: 600;
  color: var(--ink);
  font-size: 16px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0; top: 1px;
  width: 22px; height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #6855F5, #8B7DF8);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.diff-showcase-phones {
  display: flex;
  justify-content: center;
  gap: 0;
}

.phone-tilt-left { width: 250px; transform: rotate(-6deg) translateX(20px); z-index: 2; }
.phone-tilt-right { width: 250px; transform: rotate(6deg) translateX(-20px) translateY(26px); }

/* ---------- Section 4: Example goals ---------- */
.goals-examples { padding-top: 60px; }

.goal-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
}

.goal-pill {
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(10px);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}

.goal-pill:hover {
  transform: translateY(-3px) scale(1.04);
  background: linear-gradient(135deg, #6855F5, #8B7DF8);
  color: #fff;
  box-shadow: var(--shadow-glow);
}

/* ---------- Section 5: AI coach ---------- */
.coach { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%); }

.coach-grid {
  display: flex;
  justify-content: center;
  text-align: center;
}

.coach-copy { max-width: 640px; }

.coach-copy h2 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; }

.coach-copy > p { font-size: 18px; margin-bottom: 0; }

/* ---------- Final CTA ---------- */
.final-cta { padding: 60px 24px 120px; }

.cta-card {
  position: relative;
  max-width: 1010px;
  margin: 0 auto;
  text-align: center;
  padding: 90px 40px;
  border-radius: 44px;
  background:
    radial-gradient(120% 160% at 20% 0%, rgba(180, 167, 255, 0.45), transparent 50%),
    radial-gradient(120% 160% at 90% 100%, rgba(0, 212, 255, 0.18), transparent 55%),
    linear-gradient(135deg, #4D3AD6, #6855F5 55%, #8B7DF8);
  box-shadow: 0 30px 90px rgba(77, 58, 214, 0.4);
  overflow: hidden;
}

.cta-card h2 {
  color: #fff;
  font-size: clamp(38px, 5vw, 60px);
  margin-bottom: 18px;
}

.cta-accent { color: #CDE9FF; }

.cta-card p { color: rgba(255, 255, 255, 0.85); font-size: 19px; margin-bottom: 36px; }

.cta-note { display: block; margin-top: 18px; font-size: 13.5px; color: rgba(255, 255, 255, 0.65); font-weight: 600; }

/* ---------- Footer ---------- */
.footer {
  background: #FBFAFF;
  border-top: 1px solid rgba(49, 40, 92, 0.07);
  padding: 70px 24px 30px;
}

.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-brand p { margin-top: 14px; font-size: 15px; }

.footer-col h4 {
  font-size: 13px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--body);
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 11px;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--purple); }

.footer-bottom {
  max-width: 1160px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 26px;
  border-top: 1px solid rgba(49, 40, 92, 0.07);
  font-size: 13.5px;
  color: var(--muted);
}

.footer-bottom span:last-child { font-style: italic; font-weight: 600; }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Legal / support pages ---------- */
.page-main { max-width: 760px; margin: 0 auto; padding: 160px 24px 100px; }

.page-main h1 { font-size: clamp(34px, 4.5vw, 48px); font-style: italic; margin-bottom: 10px; }

.page-updated { font-size: 14px; color: var(--muted); margin-bottom: 44px; }

.page-main h2 { font-size: 23px; margin: 40px 0 12px; }

.page-main h3 { font-size: 18px; margin: 24px 0 10px; color: var(--ink); }

.page-main p, .page-main li { font-size: 16.5px; margin-bottom: 12px; }

.page-main ul { padding-left: 22px; margin-bottom: 16px; }

.page-main a { color: var(--purple); font-weight: 600; }

.support-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-soft);
  padding: 34px;
  margin: 28px 0;
}

.support-card h2 { margin-top: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { display: flex; flex-direction: column; align-items: center; }
  .hero-actions { justify-content: center; }
  .phone-stack { min-height: 520px; }
  .how-grid, .coach-grid, .diff-showcase { grid-template-columns: 1fr; gap: 48px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 80px 0; }
  .nav-links { display: none; }
  .phone-side { display: none; }
  .float-chip { display: none; }
  .phone-stack { min-height: auto; }
  .phone-main { width: 240px; }
  .flow-arrow { transform: rotate(90deg); width: 100%; text-align: center; }
  .diff-showcase-phones { flex-direction: column; align-items: center; gap: 22px; }
  .phone-tilt-left, .phone-tilt-right { transform: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .cta-card { padding: 64px 24px; }
}
