/* ── Landing page ─────────────────────────────────────────────
   Depends on tokens.css. Content is always visible by default —
   scroll animations are purely additive via JS.
   ──────────────────────────────────────────────────────────────── */

body { background: var(--base); color: var(--text); font-family: var(--font-body); }

h1, h2, h3, .section-h2, .how-num, .how-title,
.bento-title, .bento-eyebrow, .eyebrow {
  font-family: var(--font-display);
  font-feature-settings: "ss01", "cv01";
  text-rendering: optimizeLegibility;
}

/* ═══════ HERO ═══════ */
.hero {
  position: relative; overflow: hidden;
  padding: 6rem 1.5rem 5rem; text-align: center;
  background-image: radial-gradient(circle, rgba(0,168,150,0.18) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0; opacity: 0.55;
  background-image:
    radial-gradient(4px 4px at 18% 22%, var(--primary) 3px, transparent 3px),
    radial-gradient(4px 4px at 78% 18%, var(--acid) 3px, transparent 3px),
    radial-gradient(3px 3px at 88% 55%, var(--coral) 2.5px, transparent 2.5px),
    radial-gradient(3px 3px at 12% 70%, var(--acid) 2.5px, transparent 2.5px),
    radial-gradient(4px 4px at 65% 78%, var(--primary) 3px, transparent 3px);
}
.hero-inner { position: relative; z-index: 1; max-width: 72rem; margin: 0 auto; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(0,168,150,0.08); border: 1.5px solid rgba(0,168,150,0.25);
  color: var(--primary); padding: 0.3rem 1rem; border-radius: 9999px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; margin-bottom: 2rem;
}
.hero-badge-dot {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
  background: var(--acid); animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(204,255,0,0.7); }
  50%       { box-shadow: 0 0 0 6px rgba(204,255,0,0); }
}

.hero-h1 {
  font-size: clamp(2.9rem, 9vw, 6.2rem); font-weight: 700;
  line-height: 1.0; letter-spacing: -0.04em; margin-bottom: 1.5rem;
}
.hero-teal { color: var(--primary); }
.accent-line { color: var(--primary); position: relative; display: inline-block; }
.accent-line::after {
  content: ''; position: absolute; left: 0; bottom: -4px; z-index: -1;
  width: 100%; height: 5px; background: var(--acid); border-radius: 2px;
}

.hero-sub {
  font-size: 1.15rem; color: var(--muted); max-width: 38rem;
  margin: 0 auto 2.5rem; line-height: 1.7;
}
.hero-sub strong { color: var(--text); font-weight: 600; }

.hero-tools { margin-top: 2.5rem; text-align: center; }
.hero-tools-label {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.75rem;
}

.hero-trust {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1.25rem; font-size: 0.78rem; font-weight: 500; color: var(--muted);
}
.hero-trust svg { width: 14px; height: 14px; color: var(--primary); flex-shrink: 0; }

/* ═══════ BUTTONS ═══════ */
.cta-group { display: flex; align-items: center; justify-content: center; gap: 0.75rem; flex-wrap: wrap; }

/* Shared base for Y2K-style buttons */
.btn-y2k {
  position: relative; display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 2.1rem; border-radius: 0.75rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  text-decoration: none; overflow: hidden;
  transition: all 0.2s cubic-bezier(0.34,1.56,0.64,1);
}
.btn-y2k::after {
  content: ''; position: absolute; top: 0; left: -70%; width: 45%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-18deg); transition: left 0.5s ease;
}
.btn-y2k:hover::after { left: 130%; }

.btn-primary-y2k {
  color: #fff; background: var(--primary);
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 4px 22px rgba(0,168,150,0.38);
}
.btn-primary-y2k:hover {
  background: var(--primary-dark); transform: scale(1.04) translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 8px 32px rgba(0,168,150,0.5);
}

.btn-secondary-y2k {
  font-weight: 600; color: var(--text); border: 1.5px solid rgba(10,26,24,0.18);
  background: transparent; transition: all 0.2s ease;
}
.btn-secondary-y2k:hover { border-color: var(--primary); color: var(--primary); background: rgba(0,168,150,0.06); }

.btn-cta-acid {
  padding: 0.9rem 2.25rem;
  color: var(--text); background: var(--acid);
  box-shadow: 0 4px 20px rgba(204,255,0,0.30); z-index: 1;
}
.btn-cta-acid::after { background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent); }
.btn-cta-acid:hover { transform: scale(1.05) translateY(-1px); box-shadow: 0 8px 32px rgba(204,255,0,0.45); }

/* ═══════ CHIPS ═══════ */
.chips-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.chip {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 600;
  padding: 0.32rem 0.85rem; border-radius: 99px; border: 1.5px solid;
  animation: chip-float 5s ease-in-out infinite;
}
.chip:nth-child(2n) { animation-delay: -2s; }
.chip:nth-child(3n) { animation-delay: -4s; }
.chip:nth-child(4n) { animation-delay: -1.2s; }
@keyframes chip-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.chip-n { background: rgba(10,26,24,0.05); border-color: rgba(10,26,24,0.14); color: var(--muted); }

/* ═══════ LAYOUT ═══════ */
.lw { max-width: 72rem; margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-alt { background: var(--section-alt); }
.divider { height: 1px; background: var(--border); }

.eyebrow {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--primary); margin-bottom: 0.6rem;
}
.section-h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 700;
  letter-spacing: -0.03em; margin-bottom: 1rem; line-height: 1.1;
}
.section-lead {
  font-size: 1.05rem; color: var(--muted); line-height: 1.65;
  max-width: 42rem; margin-bottom: 3rem;
}
.section-lead strong { color: var(--text); font-weight: 600; }

/* ═══════ PAIN / GAIN ═══════ */
.pain-gain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 700px) { .pain-gain-grid { grid-template-columns: 1fr; } }

.pain-card, .gain-card { border-radius: 1.25rem; padding: 2rem; }
.pain-card { background: rgba(255,51,80,0.05); border: 1.5px solid rgba(255,51,80,0.15); }
.gain-card { background: rgba(0,168,150,0.06); border: 1.5px solid rgba(0,168,150,0.18); }

.pg-label {
  font-family: var(--font-display); font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.pg-label::before { content: ''; width: 20px; height: 3px; border-radius: 2px; flex-shrink: 0; }
.pain-card .pg-label { color: var(--coral); }
.pain-card .pg-label::before { background: var(--coral); }
.gain-card .pg-label { color: var(--primary); }
.gain-card .pg-label::before { background: var(--primary); }

.pg-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.9rem; }
.pg-list li { font-size: 0.92rem; line-height: 1.5; padding-left: 1.1rem; position: relative; color: var(--muted); }
.pg-list li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 5px; height: 5px; border-radius: 50%; }
.pain-card .pg-list li::before { background: var(--coral); }
.gain-card .pg-list li { color: var(--text); font-weight: 500; }
.gain-card .pg-list li::before { background: var(--primary); }

/* ═══════ HOW IT WORKS ═══════ */
.how-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
@media (max-width: 768px) { .how-grid, .bento-grid { grid-template-columns: 1fr; } }

.how-card {
  background: var(--base); border: 1.5px solid var(--border); border-radius: 1.25rem;
  padding: 2rem; position: relative; overflow: hidden; cursor: default;
  transition: transform 0.25s ease, box-shadow 0.25s ease; will-change: transform;
}
.how-card::before {
  content: ''; position: absolute; top: 0; left: 0; bottom: 0; width: 4px;
  border-radius: 1.25rem 0 0 1.25rem;
}
.hc-t::before { background: var(--primary); }
.hc-a::before { background: var(--acid); }
.hc-r::before { background: var(--coral); }
.how-card:hover { transform: translateY(-3px); }

.how-num {
  font-size: 2.5rem; font-weight: 700; letter-spacing: -0.05em;
  line-height: 1; margin-bottom: 1.25rem; opacity: 0.10;
}
.how-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.how-desc  { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* ═══════ BENTO ═══════ */
.bento-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; }

.bento-card {
  background: var(--base); border: 1.5px solid var(--border); border-radius: 1.25rem;
  padding: 1.75rem; transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.bento-card:hover { box-shadow: 0 12px 36px rgba(0,168,150,0.10); transform: translateY(-2px); }

.bento-featured {
  grid-row: 1 / span 2; background: var(--text); border-color: var(--text);
  position: relative; overflow: hidden;
}
.bento-featured:hover { box-shadow: 0 20px 60px rgba(10,26,24,0.28); transform: translateY(0); }
.bento-featured::before {
  content: ''; position: absolute; top: 0; right: 0; width: 130px; height: 130px;
  background: var(--acid); border-radius: 0 1.2rem 0 100%;
}
.bento-featured .bento-eyebrow, .bento-featured .bento-title,
.bento-featured .bento-desc, .bento-featured .btn-primary-y2k { position: relative; z-index: 1; }
.bento-featured .bento-eyebrow { color: var(--acid); }
.bento-featured .bento-title   { color: #fff; font-size: 1.5rem; }
.bento-featured .bento-desc    { color: rgba(245,254,250,0.6); }

.bento-desc-featured { margin-top: 0.75rem; }
.bento-cta { margin-top: 2.5rem; }
.btn-sm-y2k { font-size: 0.875rem; padding: 0.7rem 1.6rem; }

.bento-stack { display: flex; flex-direction: column; gap: 1rem; }
.bento-stack .bento-card { flex: 1; }

.bc-coral { background: var(--coral); border-color: var(--coral); }
.bc-coral .bento-eyebrow { color: rgba(255,255,255,0.6); }
.bc-coral .bento-title   { color: #fff; }
.bc-coral .bento-desc    { color: rgba(255,255,255,0.75); }

.bc-acid { background: var(--acid); border-color: var(--acid); }
.bc-acid .bento-eyebrow { color: rgba(10,26,24,0.5); }
.bc-acid .bento-title   { color: var(--text); }
.bc-acid .bento-desc    { color: rgba(10,26,24,0.80); }

.bento-eyebrow {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 0.5rem; color: var(--primary);
}
.bento-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.bento-desc  { font-size: 0.9rem; color: var(--muted); line-height: 1.65; }

/* ═══════ CTA BAND ═══════ */
.cta-band {
  background: var(--primary); border-radius: 1.75rem; padding: 4rem 2.5rem;
  text-align: center; position: relative; overflow: hidden; margin-top: 2rem;
}
.cta-band::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 280px; height: 280px; background: var(--acid); border-radius: 50%; opacity: 0.18;
}
.cta-band::after {
  content: ''; position: absolute; bottom: -80px; left: -40px;
  width: 220px; height: 220px; background: var(--coral); border-radius: 50%; opacity: 0.18;
}
.cta-band h2 {
  font-size: clamp(1.8rem, 4.5vw, 3.2rem); font-weight: 700; color: #fff;
  letter-spacing: -0.03em; margin-bottom: 0.75rem; position: relative; z-index: 1;
}
.cta-band h2 span { color: var(--acid); }
.cta-band p { font-size: 1rem; color: rgba(255,255,255,0.7); margin-bottom: 2.25rem; position: relative; z-index: 1; }

/* ═══════ SCROLL ANIMATION ═══════
   Content is ALWAYS visible. Animation is additive —
   it plays once when JS adds .revealed, then the element
   returns to its normal (visible) state.
   ──────────────────────────────────────────────────────── */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(20px); }
}
.revealed { animation: reveal-up 0.5s ease; }
.revealed-d1 { animation: reveal-up 0.5s ease 0.1s backwards; }
.revealed-d2 { animation: reveal-up 0.5s ease 0.2s backwards; }

@media (prefers-reduced-motion: reduce) {
  .revealed, .revealed-d1, .revealed-d2 { animation: none; }
}
