/* ========================================================================
   LIFE OS — Design tokens (see CLAUDE.md for spec)
   ======================================================================== */
:root {
  /* Backgrounds */
  --bg-base:      #0d0d0d;
  --bg-deep:      #000000;
  --bg-glass:     rgba(10,10,10,0.4);
  --bg-overlay:   rgba(5,5,5,0.95);
  --bg-subtle:    rgba(10,10,10,0.6);

  /* Foreground */
  --fg-primary:   rgba(255,255,255,1);
  --fg-secondary: rgba(255,255,255,0.95);
  --fg-muted:     rgba(255,255,255,0.60);
  --fg-disabled:  rgba(255,255,255,0.40);

  /* Brand */
  --brand-500:    #21D568;
  --brand-700:    #059669;
  --brand-grad:   linear-gradient(135deg, #21D568 0%, #059669 100%);

  /* Categóricas */
  --amber:  #F59E0B;
  --pink:   #EC4899;
  --violet: #8B5CF6;
  --blue:   #3B82F6;

  /* Bordas */
  --border-hairline: 1px solid rgba(255,255,255,0.06);
  --border-brand:    1px solid rgba(33,213,104,0.2);

  /* Radius */
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-card: 24px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-card:
    inset 0 1px 1px 0 rgba(255,255,255,0.15),
    0 8px 32px -8px rgba(0,0,0,0.5);
  --shadow-card-strong:
    inset 0 1px 1px 0 rgba(255,255,255,0.15),
    0 20px 60px -8px rgba(0,0,0,0.8),
    0 0 120px rgba(33,213,104,0.1);
  --shadow-cta:
    inset 0 1px 1px rgba(255,255,255,0.4),
    0 4px 20px -2px rgba(33,213,104,0.4);
  --shadow-glow: 0 0 15px rgba(33,213,104,0.25);
  --shadow-pricing: 0 20px 80px -20px rgba(33,213,104,0.3);

  /* Easing */
  --ease: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ========================================================================
   Base
   ======================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg-base);
  color: var(--fg-primary);
  font-family: 'Inter', 'Inter Variable', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: 'cv11', 'ss01';
  overflow-x: hidden;
}
@supports (font-variation-settings: normal) {
  body { font-family: 'Inter var', 'Inter Variable', 'Inter', sans-serif; }
}

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

/* Ambient background glow */
.ambient {
  position: fixed; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(33,213,104,0.08), transparent 60%),
    radial-gradient(ellipse 40% 40% at 80% 30%, rgba(59,130,246,0.05), transparent 60%),
    radial-gradient(ellipse 40% 40% at 20% 60%, rgba(139,92,246,0.04), transparent 60%);
  z-index: 0;
  animation: ambientPulse 8s ease-in-out infinite;
}
@keyframes ambientPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.65; }
}

/* Film grain overlay (premium texture, very subtle) */
.grain {
  position: fixed; inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0.06;
  mix-blend-mode: overlay;
  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='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-size: 200px 200px;
}

main { position: relative; z-index: 1; }

/* ========================================================================
   Liquid glass rim — gradient border via mask-composite
   Applied to elevated surfaces for a refined "rim light" effect
   ======================================================================== */
.feature-card,
.plan-card,
.visual-card,
.journey-card,
.nav,
.phone-frame {
  position: relative;
}
.feature-card::before,
.plan-card::before,
.visual-card::before,
.journey-card::before,
.nav::before,
.phone-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.45) 0%,
    rgba(255,255,255,0.12) 20%,
    rgba(255,255,255,0) 40%,
    rgba(255,255,255,0) 60%,
    rgba(255,255,255,0.12) 80%,
    rgba(255,255,255,0.4) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
          mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}
/* The rim should not interfere with card content */
.feature-card > *,
.plan-card > *,
.visual-card > *,
.journey-card > *,
.nav > *,
.phone-frame > * { position: relative; z-index: 2; }

/* Branded rim variant for popular/featured surfaces */
.plan-popular::before,
.journey-card::before {
  background: linear-gradient(180deg,
    rgba(33,213,104,0.6) 0%,
    rgba(33,213,104,0.18) 25%,
    rgba(255,255,255,0) 45%,
    rgba(255,255,255,0) 55%,
    rgba(33,213,104,0.18) 75%,
    rgba(33,213,104,0.55) 100%);
}

/* ========================================================================
   Typography utilities
   ======================================================================== */
.display-xl {
  font-size: clamp(46px, 8vw, 92px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.045em;
  margin: 0 0 24px;
}

/* Cursive accent overlay (technique borrowed from Orbis prompt) */
.hero-headline { position: relative; display: inline-block; }
.cursive-accent {
  font-family: 'Caveat', cursive;
  font-weight: 700;
  font-size: clamp(28px, 4.5vw, 56px);
  color: var(--brand-500);
  letter-spacing: 0;
  line-height: 1;
  position: absolute;
  right: -8px;
  bottom: -8px;
  transform: rotate(-6deg);
  mix-blend-mode: exclusion;
  opacity: 0.95;
  pointer-events: none;
  text-shadow: 0 0 20px rgba(33,213,104,0.4);
  white-space: nowrap;
  animation: cursiveFloat 4s ease-in-out infinite;
}
@keyframes cursiveFloat {
  0%, 100% { transform: rotate(-6deg) translateY(0); }
  50%      { transform: rotate(-8deg) translateY(-4px); }
}
@media (max-width: 809.98px) {
  .cursive-accent {
    right: 4px;
    bottom: -28px;
  }
}
.display-l {
  font-size: clamp(30px, 5vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 16px;
}
.lead {
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 540px;
  margin: 0 auto;
}

/* ========================================================================
   Chip / tag
   ======================================================================== */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-secondary);
  background: rgba(255,255,255,0.05);
  border: var(--border-hairline);
  backdrop-filter: blur(12px);
  margin-bottom: 24px;
}
.chip-brand {
  color: var(--brand-500);
  background: rgba(33,213,104,0.08);
  border: var(--border-brand);
}
.chip-dot {
  width: 6px; height: 6px;
  background: var(--brand-500);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--brand-500);
}

/* ========================================================================
   Buttons
   ======================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s var(--ease);
  white-space: nowrap;
}
.btn-sm  { padding: 8px 18px;  border-radius: var(--r-pill); font-size: 14px; }
.btn-lg  { padding: 16px 32px; border-radius: var(--r-pill); }
.btn-xl  { padding: 20px 48px; border-radius: var(--r-pill); font-size: 16px; }
.btn-block { display: flex; width: 100%; }

.btn-primary {
  position: relative;
  overflow: hidden;
  background: var(--brand-grad);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-cta), var(--shadow-glow);
}
/* Shimmer sweep across primary CTAs */
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg,
    transparent 30%,
    rgba(255,255,255,0.28) 50%,
    transparent 70%);
  transform: translateX(-200%);
  animation: shimmer 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shimmer {
  0%, 55% { transform: translateX(-200%); }
  100% { transform: translateX(200%); }
}

.btn-ghost {
  background: var(--bg-glass);
  border: var(--border-hairline);
  backdrop-filter: blur(24px);
  color: var(--fg-secondary);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.15);
}

.btn-arrow { transition: transform 0.3s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.play-icon { font-size: 11px; color: var(--brand-500); }

/* ========================================================================
   Navbar
   ======================================================================== */
.nav-wrap {
  position: sticky;
  top: 16px;
  z-index: 50;
  padding: 0 24px;
  margin-top: 16px;
}
.nav {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 8px 8px 24px;
  background: var(--bg-overlay);
  backdrop-filter: blur(24px);
  border: var(--border-hairline);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-card);
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.logo-mark {
  display: inline-flex;
  align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: var(--brand-grad);
  border-radius: 8px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.nav-links {
  display: flex; gap: 28px;
  font-size: 14px;
  color: var(--fg-muted);
}
.nav-links a { transition: color 0.2s ease; }
.nav-links a:hover { color: var(--fg-primary); }
.nav-cta { display: inline-flex; align-items: center; gap: 12px; }
.nav-link-text {
  font-size: 14px;
  color: var(--fg-muted);
  transition: color 0.2s ease;
}
.nav-link-text:hover { color: var(--fg-primary); }

@media (max-width: 809.98px) {
  .nav-links { display: none; }
  .nav-link-text { display: none; }
  .nav { padding: 8px 8px 8px 16px; }
}

/* ========================================================================
   Hero
   ======================================================================== */
.hero {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(64px, 10vw, 120px) 24px clamp(48px, 6vw, 80px);
  text-align: center;
}
/* Hero punctuation: subtle vignette + bottom corner clip cue (technique from Orbis prompt) */
.hero::after {
  content: '';
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: min(90%, 1100px);
  height: 120px;
  background: linear-gradient(to bottom, transparent, rgba(33,213,104,0.04));
  border-radius: 0 0 32px 32px;
  border-bottom: 1px solid rgba(33,213,104,0.08);
  pointer-events: none;
}
.hero .lead { margin: 0 auto 40px; max-width: 600px; }
.hero-ctas {
  display: inline-flex; flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
}
.hero-meta-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-muted);
  margin: 0 0 80px;
}
.lock-icon { font-size: 14px; }

/* Phone mockup (WhatsApp chat) */
.mockup {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
}
.mockup-glow {
  position: absolute;
  inset: -60px;
  background: radial-gradient(ellipse at center, rgba(33,213,104,0.3), transparent 60%);
  filter: blur(50px);
  z-index: 0;
}
.phone-frame {
  position: relative;
  background: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 36px;
  padding: 12px;
  box-shadow:
    inset 0 1px 1px 0 rgba(255,255,255,0.15),
    0 30px 80px -20px rgba(0,0,0,0.8),
    0 0 120px rgba(33,213,104,0.12);
}
.phone-notch {
  position: absolute;
  top: 16px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 22px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.phone-screen {
  background: #0b141a;
  border-radius: 26px;
  overflow: hidden;
  min-height: 540px;
  display: flex;
  flex-direction: column;
}
.wa-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 36px 16px 12px;
  background: #1f2c33;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.wa-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--brand-grad);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.wa-info { display: flex; flex-direction: column; }
.wa-info strong { font-size: 14px; font-weight: 600; }
.wa-info span { font-size: 11px; color: #21D568; }
.wa-body {
  flex: 1;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background:
    repeating-linear-gradient(45deg, rgba(255,255,255,0.005) 0 12px, transparent 12px 24px),
    #0b141a;
}
.wa-msg {
  max-width: 80%;
  padding: 8px 12px 18px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.45;
  position: relative;
  color: #e9edef;
}
.wa-msg b { color: var(--fg-primary); font-weight: 600; }
.wa-in {
  align-self: flex-start;
  background: #1f2c33;
  border-top-left-radius: 0;
}
.wa-out {
  align-self: flex-end;
  background: #005c4b;
  border-top-right-radius: 0;
}
.wa-time {
  position: absolute;
  bottom: 4px; right: 8px;
  font-size: 10px;
  color: rgba(255,255,255,0.5);
}
.wa-summary { padding-bottom: 24px; }
.wa-summary-bar {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--r-pill);
  margin: 8px 0 6px;
  overflow: hidden;
}
.wa-summary-bar > div {
  height: 100%;
  background: var(--brand-grad);
  border-radius: var(--r-pill);
}
.wa-summary-label {
  display: block;
  font-size: 11px;
  color: var(--brand-500);
  font-weight: 600;
}

/* Highlight gradient text */
.text-grad {
  background: var(--brand-grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}

/* ========================================================================
   Sections
   ======================================================================== */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 120px) 24px;
}
.section-narrow { max-width: 700px; }
.section-head {
  text-align: center;
  margin-bottom: 64px;
}
.section-head .lead { margin-top: 16px; }

/* ========================================================================
   Feature cards
   ======================================================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 1773.98px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 809.98px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature-card {
  position: relative;
  padding: 32px;
  background: var(--bg-glass);
  border: var(--border-hairline);
  border-radius: var(--r-card);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-card);
  transition: all 0.4s var(--ease);
  overflow: hidden;
}
.feature-card:hover { transform: translateY(-2px); }
.feature-icon {
  width: 44px; height: 44px;
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 22px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--r-md);
  border: var(--border-hairline);
  margin-bottom: 20px;
}
.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--fg-muted);
  margin: 0;
}
/* Categorical glows */
.fc-green {
  border-color: rgba(33,213,104,0.4);
  box-shadow:
    inset 0 1px 1px 0 rgba(255,255,255,0.15),
    inset 40px 0 100px -40px rgba(33,213,104,0.08),
    0 0 15px rgba(33,213,104,0.1),
    0 12px 40px -12px rgba(0,0,0,0.5);
}
.fc-green .feature-icon { color: var(--brand-500); border-color: rgba(33,213,104,0.3); background: rgba(33,213,104,0.08); }
.fc-amber {
  border-color: rgba(245,158,11,0.4);
  box-shadow:
    inset 0 1px 1px 0 rgba(255,255,255,0.15),
    inset 40px 0 100px -40px rgba(245,158,11,0.08),
    0 0 15px rgba(245,158,11,0.1),
    0 12px 40px -12px rgba(0,0,0,0.5);
}
.fc-amber .feature-icon { color: var(--amber); border-color: rgba(245,158,11,0.3); background: rgba(245,158,11,0.08); }
.fc-pink {
  border-color: rgba(236,72,153,0.4);
  box-shadow:
    inset 0 1px 1px 0 rgba(255,255,255,0.15),
    inset 40px 0 100px -40px rgba(236,72,153,0.08),
    0 0 15px rgba(236,72,153,0.1),
    0 12px 40px -12px rgba(0,0,0,0.5);
}
.fc-pink .feature-icon { color: var(--pink); border-color: rgba(236,72,153,0.3); background: rgba(236,72,153,0.08); }
.fc-violet {
  border-color: rgba(139,92,246,0.4);
  box-shadow:
    inset 0 1px 1px 0 rgba(255,255,255,0.15),
    inset 40px 0 100px -40px rgba(139,92,246,0.08),
    0 0 15px rgba(139,92,246,0.1),
    0 12px 40px -12px rgba(0,0,0,0.5);
}
.fc-violet .feature-icon { color: var(--violet); border-color: rgba(139,92,246,0.3); background: rgba(139,92,246,0.08); }
.fc-blue {
  border-color: rgba(59,130,246,0.4);
  box-shadow:
    inset 0 1px 1px 0 rgba(255,255,255,0.15),
    inset 40px 0 100px -40px rgba(59,130,246,0.08),
    0 0 15px rgba(59,130,246,0.1),
    0 12px 40px -12px rgba(0,0,0,0.5);
}
.fc-blue .feature-icon { color: var(--blue); border-color: rgba(59,130,246,0.3); background: rgba(59,130,246,0.08); }

/* ========================================================================
   "Soon" badge variant of feature card
   ======================================================================== */
.fc-soon {
  border-color: rgba(255,255,255,0.08);
  background: rgba(10,10,10,0.2);
  position: relative;
  opacity: 0.85;
}
.fc-soon .feature-icon {
  background: rgba(255,255,255,0.04);
  color: var(--fg-muted);
}
.soon-badge {
  position: absolute;
  top: 20px; right: 20px;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--fg-muted);
  background: rgba(255,255,255,0.05);
  border: var(--border-hairline);
  padding: 3px 8px;
  border-radius: var(--r-pill);
}

/* ========================================================================
   Detail sections (alternating text + visual)
   ======================================================================== */
.detail {
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(48px, 6vw, 96px) 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.detail-reverse .detail-text { order: 2; }
.detail-reverse .detail-visual { order: 1; }
.detail-text .display-l { text-align: left; margin-bottom: 16px; }
.detail-text .lead { text-align: left; margin: 0 0 24px; max-width: none; }
.detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex; flex-direction: column;
  gap: 12px;
}
.detail-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--fg-secondary);
}
.check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(33,213,104,0.15);
  color: var(--brand-500);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(33,213,104,0.3);
  flex-shrink: 0;
}

.detail-visual { position: relative; }
.visual-card {
  background: var(--bg-glass);
  border: var(--border-brand);
  border-radius: var(--r-card);
  padding: 24px;
  backdrop-filter: blur(24px);
  box-shadow:
    inset 0 1px 1px 0 rgba(255,255,255,0.15),
    inset 40px 0 100px -40px rgba(33,213,104,0.08),
    0 0 30px rgba(33,213,104,0.1),
    0 12px 40px -12px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* visual-card variants */
.visual-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(33,213,104,0.15);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 22px;
}
.visual-msg {
  background: #005c4b;
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  border-top-right-radius: 0;
  font-size: 14px;
  align-self: flex-end;
  max-width: 80%;
}
.visual-reply {
  background: #1f2c33;
  color: #e9edef;
  padding: 10px 14px;
  border-radius: 8px;
  border-top-left-radius: 0;
  font-size: 14px;
  max-width: 85%;
  line-height: 1.5;
}
.visual-reply b { color: var(--brand-500); }

/* Categories visual */
.cat-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--fg-secondary);
  margin-top: 8px;
}
.cat-name { font-weight: 500; }
.cat-val { color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.cat-bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.cat-bar > div {
  height: 100%;
  background: var(--brand-grad);
  border-radius: var(--r-pill);
}

/* Transactions visual */
.tx-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 12px;
  align-items: center;
  font-size: 13px;
  padding: 10px 4px;
  border-bottom: var(--border-hairline);
}
.tx-row:last-child { border-bottom: none; }
.tx-tag {
  font-size: 11px;
  padding: 2px 8px;
  background: rgba(255,255,255,0.05);
  color: var(--fg-muted);
  border-radius: var(--r-pill);
  border: var(--border-hairline);
}
.tx-val { font-weight: 600; font-variant-numeric: tabular-nums; }
.tx-out { color: #ff6b6b; }
.tx-in  { color: var(--brand-500); }

/* Goals visual */
.goal { display: flex; flex-direction: column; gap: 6px; padding: 8px 0; }
.goal + .goal { border-top: var(--border-hairline); padding-top: 16px; }
.goal-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}
.goal-head b { color: var(--fg-primary); font-weight: 600; font-variant-numeric: tabular-nums; }
.goal-meta { font-size: 11px; color: var(--fg-muted); }

/* Dashboard visual */
.dash-stat { display: flex; flex-direction: column; gap: 4px; padding-bottom: 8px; }
.dash-label { font-size: 12px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.1em; }
.dash-value { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.dash-delta { font-size: 12px; color: var(--brand-500); font-weight: 600; }
.dash-chart {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  align-items: end;
  height: 100px;
  padding: 12px 0 4px;
}
.dash-chart > div {
  background: var(--brand-grad);
  border-radius: 4px 4px 0 0;
  box-shadow: 0 0 8px rgba(33,213,104,0.3);
}
.dash-legend {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  font-size: 10px;
  color: var(--fg-muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 809.98px) {
  .detail { grid-template-columns: 1fr; gap: 32px; }
  .detail-reverse .detail-text { order: 0; }
  .detail-reverse .detail-visual { order: 1; }
}

/* ========================================================================
   Plans (pricing grid)
   ======================================================================== */
.plans-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 809.98px) {
  .plans-grid { grid-template-columns: 1fr; }
}
.plan-card {
  position: relative;
  padding: 32px;
  background: var(--bg-glass);
  border: var(--border-hairline);
  border-radius: var(--r-card);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.plan-popular {
  border: var(--border-brand);
  box-shadow: var(--shadow-card), var(--shadow-pricing);
}
.popular-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--brand-grad);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-cta);
}
.pricing-glow {
  position: absolute;
  bottom: -40px; left: 10%; right: 10%;
  height: 80px;
  background: radial-gradient(ellipse at center, rgba(33,213,104,0.4), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}
.plan-head h3 {
  font-size: 20px;
  margin: 0 0 4px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.plan-head p { color: var(--fg-muted); margin: 0 0 24px; font-size: 14px; }
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.price-new {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: var(--brand-grad);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
}
.price-period { font-size: 15px; color: var(--fg-muted); }
.plan-trial {
  font-size: 13px;
  color: var(--fg-muted);
  margin: 0 0 24px;
}
.benefits {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex; flex-direction: column;
  gap: 12px;
  border-top: var(--border-hairline);
  padding-top: 24px;
}
.benefits li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--fg-secondary);
  line-height: 1.5;
}
.check-bonus {
  background: rgba(245,158,11,0.15);
  color: var(--amber);
  border-color: rgba(245,158,11,0.3);
}

/* ========================================================================
   Journey CTA card
   ======================================================================== */
.journey-card {
  position: relative;
  text-align: center;
  padding: clamp(48px, 6vw, 80px) 32px;
  background: var(--bg-glass);
  border: var(--border-brand);
  border-radius: var(--r-card);
  backdrop-filter: blur(24px);
  box-shadow:
    inset 0 1px 1px 0 rgba(255,255,255,0.15),
    inset 40px 0 100px -40px rgba(33,213,104,0.08),
    0 0 60px rgba(33,213,104,0.15),
    0 20px 60px -8px rgba(0,0,0,0.5);
}
.journey-card .display-l { margin-bottom: 16px; }
.journey-card .lead { margin: 0 auto 32px; }

/* ========================================================================
   Floating WhatsApp button
   ======================================================================== */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px 12px 14px;
  background: var(--brand-grad);
  color: #fff;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-cta), 0 8px 24px rgba(33,213,104,0.4);
  text-decoration: none;
  transition: all 0.3s var(--ease);
}
.wa-float:hover { transform: translateY(-2px) scale(1.02); }
.wa-float-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: inline-flex;
  align-items: center; justify-content: center;
  font-size: 18px;
}
.wa-float-text { display: flex; flex-direction: column; line-height: 1.2; }
.wa-float-text strong { font-size: 14px; font-weight: 700; }
.wa-float-text small { font-size: 11px; opacity: 0.9; }

@media (max-width: 809.98px) {
  .wa-float-text { display: none; }
  .wa-float { padding: 8px; }
}

/* ========================================================================
   Footer
   ======================================================================== */
.footer {
  border-top: var(--border-hairline);
  margin-top: 80px;
  padding: 48px 24px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-copy {
  font-size: 13px;
  color: var(--fg-disabled);
  margin: 12px 0 0;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--fg-muted);
}
.footer-links a:hover { color: var(--fg-primary); }

/* ========================================================================
   Animations — entrance, reveal, bubble-in
   ======================================================================== */

/* Hero: stagger fade-up on load */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero > * {
  opacity: 0;
  animation: fadeUp 0.75s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.hero > :nth-child(1) { animation-delay: 0.05s; }
.hero > :nth-child(2) { animation-delay: 0.20s; }
.hero > :nth-child(3) { animation-delay: 0.35s; }
.hero > :nth-child(4) { animation-delay: 0.50s; }
.hero > :nth-child(5) { animation-delay: 0.65s; }
.hero > :nth-child(6) { animation-delay: 0.80s; }

/* WhatsApp chat bubbles: sequential bubble-in */
@keyframes bubbleIn {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.wa-msg {
  opacity: 0;
  animation: bubbleIn 0.45s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
}
.wa-msg:nth-child(1) { animation-delay: 1.6s; }
.wa-msg:nth-child(2) { animation-delay: 2.4s; }
.wa-msg:nth-child(3) { animation-delay: 3.1s; }
.wa-msg:nth-child(4) { animation-delay: 3.9s; }

/* Scroll-reveal (IntersectionObserver-driven via JS) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1),
    transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* Bars that fill when parent enters viewport (JS-controlled) */
.cat-bar > div,
.wa-summary-bar > div,
.dash-chart > div {
  transition: width 1.2s cubic-bezier(0.25, 1, 0.5, 1),
              height 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ========================================================================
   Reduced motion — honor user OS preference
   ======================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero > *,
  .wa-msg { opacity: 1 !important; transform: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .ambient { animation: none !important; opacity: 1 !important; }
  .cursive-accent { animation: none !important; transform: rotate(-6deg) !important; }
  .btn-primary::before { display: none !important; }
}
