/* =========================================================
   Bändi – Landing Page Styles
   ========================================================= */

:root {
  /* Palette */
  --accent: #FF6B5C;          /* sunny coral – primary warm accent */
  --accent-dark: #E8503F;
  --accent-soft: #FFE7E2;
  --sun: #FFC857;             /* secondary playful yellow */
  --sun-soft: #FFF3D6;
  --navy: #173B4F;            /* calm trustworthy teal-navy */
  --teal: #2C7A7B;
  --teal-soft: #E2F1F0;
  --ink: #2A2A33;            /* body text */
  --muted: #5E6470;          /* secondary text */
  --bg: #FFFBF7;             /* warm light neutral */
  --bg-alt: #FFF4EC;
  --surface: #FFFFFF;
  --border: #F0E6DC;
  --shadow-sm: 0 2px 8px rgba(23, 59, 79, 0.06);
  --shadow-md: 0 10px 30px rgba(23, 59, 79, 0.10);
  --shadow-lg: 0 24px 60px rgba(23, 59, 79, 0.14);

  /* Type */
  --font-display: "Baloo 2", "Segoe UI", system-ui, sans-serif;
  --font-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;

  /* Layout */
  --radius: 18px;
  --radius-lg: 28px;
  --maxw: 1140px;
  --header-h: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  color: var(--navy);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p { margin: 0 0 1rem; }

a { color: var(--teal); text-decoration: none; }
a:hover { color: var(--accent-dark); }

img, svg { display: block; max-width: 100%; }

strong { color: var(--navy); font-weight: 700; }

/* ---------- Helpers ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

.section { padding-block: clamp(3.5rem, 7vw, 6rem); }

.section-title {
  font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.6rem);
  text-align: center;
}

.section-lead {
  font-size: clamp(1.02rem, 0.98rem + 0.4vw, 1.2rem);
  color: var(--muted);
  max-width: 56ch;
}
.section-lead.center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.eyebrow-light { color: #fff; background: rgba(255,255,255,0.18); }

.hl { color: var(--accent); }

.visually-hidden, .skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link:focus {
  position: fixed; top: 12px; left: 12px;
  width: auto; height: auto;
  clip: auto; margin: 0;
  padding: 0.6rem 1rem;
  background: var(--navy); color: #fff;
  border-radius: 10px; z-index: 200;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 107, 92, 0.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255, 107, 92, 0.42);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: var(--accent-soft);
}

.btn-header { padding: 0.6rem 1.2rem; }

/* Focus visibility everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 2px;
  border-radius: 8px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 251, 247, 0.82);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.1rem, 4vw, 2rem);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.wordmark:hover { color: var(--navy); }
.wordmark-mark { display: inline-flex; }

.header-nav {
  display: flex;
  gap: 1.5rem;
  margin-left: auto;
  font-family: var(--font-display);
  font-weight: 600;
}
.header-nav a { color: var(--navy); }
.header-nav a:hover { color: var(--accent-dark); }

.btn-header { margin-left: 0; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(1200px 520px at 85% -10%, var(--sun-soft) 0%, transparent 60%),
    radial-gradient(900px 480px at 0% 30%, var(--accent-soft) 0%, transparent 55%),
    var(--bg);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 0.6rem;
}
.hero .lead {
  font-size: clamp(1.05rem, 1rem + 0.45vw, 1.28rem);
  color: var(--muted);
  max-width: 40ch;
  margin-bottom: 1.6rem;
}

/* Signup form */
.signup {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  max-width: 480px;
}
.signup input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 999px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.signup input[type="email"]::placeholder { color: #9aa0aa; }
.signup input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.signup input.invalid {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 4px rgba(232, 80, 63, 0.15);
}
.signup .btn { flex: 0 0 auto; }
/* Honeypot: hidden from users + assistive tech */
.signup .hp-field { display: none; }
/* hCaptcha widget on its own row */
.signup .h-captcha { flex-basis: 100%; }
.signup-msg {
  flex-basis: 100%;
  margin: 0.2rem 0 0;
  font-size: 0.92rem;
  font-weight: 700;
  min-height: 1.2rem;
}
.signup-msg.ok { color: var(--teal); }
.signup-msg.err { color: var(--accent-dark); }

.microcopy {
  margin-top: 0.85rem;
  font-size: 0.88rem;
  color: var(--muted);
}
.microcopy-light { color: rgba(255,255,255,0.85); }

/* Hero visual */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-illu {
  position: relative;
  width: min(560px, 100%);
}
.hero-illu picture { display: block; }
.hero-illu img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1280 / 715;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow-lg);
}

.float-chip {
  position: absolute;
  z-index: 3;
  background: #fff;
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  animation: chipBob 6s ease-in-out infinite;
}
.chip-1 { top: 8%; right: -2%; animation-delay: 0s; }
.chip-2 { bottom: 14%; left: -6%; animation-delay: 1.2s; }
.chip-3 { bottom: 2%; right: 8%; animation-delay: 2.4s; }
@keyframes chipBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Trust row */
.trust-row {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1.8rem;
  margin: clamp(2rem, 4vw, 3rem) 0 0;
  padding: 0;
}
.trust-row li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
}
.ti { width: 22px; height: 22px; color: var(--teal); flex: 0 0 auto; }

/* ---------- Problem ---------- */
.problem { background: var(--bg-alt); }
.problem-head { max-width: 64ch; margin-inline: auto; text-align: center; }
.problem h2 {
  font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.4rem);
}
.usecase-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin: 2.2rem 0 0;
  padding: 0;
}
.usecase-chips li {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s ease, border-color 0.2s ease;
}
.usecase-chips li:hover { transform: translateY(-3px); border-color: var(--accent); }

/* ---------- How to (steps) ---------- */
.steps {
  list-style: none;
  counter-reset: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin: 2.6rem 0 0;
  padding: 0;
}
.step-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.4rem 1.7rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  position: absolute;
  top: -22px;
  left: 1.7rem;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(255,107,92,0.4);
}
.step-card h3 { font-size: 1.3rem; margin-top: 0.4rem; }
.step-card p { color: var(--muted); margin: 0; }

/* ---------- Benefits ---------- */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.8rem;
}
.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-soft);
}
.benefit-icon {
  display: inline-flex;
  width: 54px; height: 54px;
  align-items: center; justify-content: center;
  background: var(--teal-soft);
  color: var(--teal);
  border-radius: 16px;
  margin-bottom: 1rem;
}
.benefit-icon svg { width: 28px; height: 28px; }
.benefit-card:nth-child(3n+1) .benefit-icon { background: var(--accent-soft); color: var(--accent-dark); }
.benefit-card:nth-child(3n+2) .benefit-icon { background: var(--sun-soft); color: #C98A12; }
.benefit-card h3 { font-size: 1.22rem; }
.benefit-card p { color: var(--muted); margin: 0; }

/* ---------- Privacy ---------- */
.privacy {
  background: linear-gradient(135deg, var(--navy) 0%, #0F2C3B 100%);
  color: #fff;
}
.privacy h2 { color: #fff; font-size: clamp(1.6rem, 1.25rem + 1.6vw, 2.4rem); }
.privacy .section-lead { color: rgba(255,255,255,0.82); }
.privacy strong { color: var(--sun); }
.privacy-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.privacy-list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}
.privacy-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
}
.privacy-list .check {
  flex: 0 0 auto;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  background: var(--sun);
  color: var(--navy);
  border-radius: 50%;
  font-weight: 800;
  font-size: 0.9rem;
}
.privacy-visual { display: flex; justify-content: center; }
.mini-band {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  color: var(--navy);
  padding: 1.6rem 2.2rem;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  transform: rotate(4deg);
}
.mini-line {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: 0.02em;
}
.mini-tag {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-dark);
}

/* ---------- Pricing ---------- */
.pricing { background: var(--bg-alt); }
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.8rem;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.price-card--featured {
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-md);
}
.price-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
}
.price-tag { margin: 0 0 0.2rem; }
.price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.4rem;
  color: var(--navy);
}
.price-unit {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.2rem;
}
.price-feats {
  list-style: none;
  padding: 0;
  margin: 0 0 1.6rem;
  display: grid;
  gap: 0.55rem;
  flex: 1 1 auto;
}
.price-feats li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--ink);
}
.price-feats li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 800;
}
.price-card .btn { width: 100%; }
.badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: var(--accent);
  padding: 0.32rem 0.95rem;
  border-radius: 999px;
  box-shadow: 0 6px 14px rgba(255,107,92,0.4);
  white-space: nowrap;
}
.badge-soon { background: var(--teal); box-shadow: 0 6px 14px rgba(44,122,123,0.35); }

/* ---------- FAQ ---------- */
.faq-inner { max-width: 760px; }
.faq-list { margin-top: 2.4rem; display: grid; gap: 0.9rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 3rem 1.15rem 1.4rem;
  position: relative;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--navy);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  transition: transform 0.25s ease;
  line-height: 1;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-body { padding: 0 1.4rem 1.25rem; }
.faq-body p { margin: 0; color: var(--muted); }

/* ---------- Final CTA ---------- */
.final-cta {
  background:
    radial-gradient(800px 360px at 50% 0%, var(--sun-soft) 0%, transparent 65%),
    var(--bg);
}
.final-cta-inner {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.4rem);
  box-shadow: var(--shadow-md);
}
.final-cta-inner h2 { font-size: clamp(1.6rem, 1.3rem + 1.6vw, 2.3rem); }
.final-cta .section-lead { margin-inline: auto; }
.final-cta .signup { margin-inline: auto; justify-content: center; }
.final-cta .microcopy { text-align: center; }
.final-cta .microcopy-light { color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.78);
  padding-block: 2.8rem 1.6rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.6rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.wordmark-footer { color: #fff; font-size: 1.35rem; }
.wordmark-footer:hover { color: #fff; }
.footer-tag {
  margin: 0.6rem 0 0;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
}
.footer-nav a { color: rgba(255,255,255,0.8); }
.footer-nav a:hover { color: var(--sun); }
.footer-legal {
  padding-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.footer-legal p { margin: 0; }
.legal-link { color: rgba(255,255,255,0.8); }
.legal-link:hover { color: var(--sun); }
.placeholder-note { color: rgba(255,255,255,0.4); font-style: italic; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero .lead { margin-inline: auto; }
  .hero .signup { margin-inline: auto; justify-content: center; }
  .hero-copy .eyebrow { margin-inline: auto; }
  .hero-visual { order: -1; }
  .privacy-grid { grid-template-columns: 1fr; text-align: center; }
  .privacy-list { justify-items: start; max-width: 28rem; margin-inline: auto; }
  .privacy-list li { text-align: left; }
  .steps, .benefit-grid, .price-grid { grid-template-columns: 1fr 1fr; }
  .header-nav { display: none; }
}

@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .steps, .benefit-grid, .price-grid { grid-template-columns: 1fr; }
  .price-card--featured { order: -1; }
  .btn-header { padding: 0.5rem 0.95rem; font-size: 0.92rem; }
  .wordmark { font-size: 1.3rem; }
  .footer-inner { flex-direction: column; }
  .float-chip { font-size: 0.78rem; }
  .signup .btn { width: 100%; flex: 1 1 100%; }
}

@media (min-width: 901px) {
  .step-card { padding-top: 2.6rem; }
}

/* ---------- Motion / contrast preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
