/* ============================================================
   MIMI — marketing site
   Palette + type mirror mobile/lib/core/theme/app_colors.dart
   and app_theme.dart 1:1 so the site reads as the same product.
   ============================================================ */

:root {
  --bg: #f8f9fa;
  --surface: #ffffff;
  --surface-alt: #f1f2f4;

  --primary: #ff4757;
  --primary-dark: #e6394a;
  --primary-light: #ff6b79;

  --gradient-start: #ff6b4a;
  --gradient-end: #ff2d6b;
  --gradient: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));

  --text-primary: #2f3542;
  --text-secondary: #6b7280;
  --text-tertiary: #a0a5ad;
  --text-on-primary: #ffffff;

  --border: rgba(0, 0, 0, 0.06);
  --divider: rgba(0, 0, 0, 0.08);

  --success: #2ed573;
  --warning: #ffa502;
  --info: #3498db;

  --shadow-soft: 0 20px 60px -20px rgba(255, 45, 107, 0.25);
  --shadow-card: 0 10px 30px -12px rgba(47, 53, 66, 0.12);

  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;

  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(255, 71, 87, 0.08);
  padding: 8px 16px;
  border-radius: 100px;
}

.eyebrow.on-dark {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  overflow-wrap: break-word;
}

p {
  margin: 0;
  color: var(--text-secondary);
  line-height: 1.65;
}

.section {
  padding: 120px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 0 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin-top: 18px;
}

.section-head p {
  margin-top: 16px;
  font-size: 17px;
}

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

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 26px 60px -18px rgba(255, 45, 107, 0.4);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--divider);
}

.btn-ghost:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-white {
  background: #fff;
  color: var(--primary);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.25);
}

.btn-soon {
  background: rgba(47, 53, 66, 0.06);
  color: var(--text-tertiary);
  cursor: default;
}

.btn-soon:hover {
  transform: none;
}

.btn small {
  font-weight: 600;
  opacity: 0.85;
  font-size: 12px;
}

/* ---------- nav ---------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.nav.scrolled {
  padding: 12px 0;
  background: rgba(248, 249, 250, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--divider);
}

.nav.scrolled .brand {
  color: var(--text-primary);
}

.nav.scrolled .nav-links a {
  color: var(--text-secondary);
}

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

.nav.scrolled .nav-toggle span {
  background: var(--text-primary);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.02em;
  /* Nav starts transparent, sitting directly on the coral hero gradient —
     text needs to be white there and only switch to dark once .scrolled
     brings in the white blurred background (see .nav.scrolled below). */
  color: #fff;
  transition: color 0.3s ease;
}

.brand .mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--gradient);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px -6px rgba(255, 45, 107, 0.5);
}

.brand .mark svg {
  width: 20px;
  height: 20px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #fff;
}

/* The mobile dropdown (js/main.js toggles this class) always has its own
   opaque white background, regardless of .nav.scrolled — so its links must
   always be dark, even when opened at the very top of the page. */
.nav-links.open a {
  color: var(--text-secondary);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav .btn-primary {
  padding: 12px 24px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: background 0.3s ease;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 168px 0 120px;
  overflow: hidden;
  background: var(--gradient);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  filter: blur(2px);
}

.hero::before {
  width: 560px;
  height: 560px;
  top: -220px;
  right: -160px;
  animation: float-a 14s ease-in-out infinite;
}

.hero::after {
  width: 380px;
  height: 380px;
  bottom: -180px;
  left: -120px;
  background: rgba(255, 255, 255, 0.1);
  animation: float-b 16s ease-in-out infinite;
}

.hero .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

/* Grid items default to min-width:auto, which can size to unbroken content
   and overflow the track instead of wrapping — this resets that so text
   wraps normally at any viewport width. */
.hero .container > * {
  min-width: 0;
}

.hero-copy h1 {
  color: #fff;
  font-size: clamp(38px, 5.4vw, 62px);
  margin-top: 22px;
}

.hero-copy h1 span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  -webkit-text-fill-color: rgba(255, 255, 255, 0.72);
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  margin-top: 22px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 38px;
  flex-wrap: wrap;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13.5px;
  font-weight: 600;
}

.hero-note .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25);
}

/* phone mockup */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  transition: transform 0.3s ease-out;
}

.phone {
  position: relative;
  width: 280px;
  height: 572px;
  border-radius: 46px;
  background: #14151a;
  padding: 14px;
  box-shadow: 0 60px 100px -30px rgba(0, 0, 0, 0.55);
  animation: phone-float 6s ease-in-out infinite;
}

.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  position: relative;
  background: var(--bg);
}

.phone-notch {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: #14151a;
  border-radius: 20px;
  z-index: 5;
}

.mock-hero {
  height: 190px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  position: relative;
  padding: 54px 20px 0;
}

.mock-hero .mock-title {
  color: #fff;
  font-weight: 800;
  font-size: 20px;
}

.mock-hero .mock-sub {
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  margin-top: 6px;
  font-weight: 600;
}

.mock-avatars {
  position: absolute;
  bottom: -20px;
  left: 20px;
  display: flex;
}

.mock-avatars span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid #fff;
  margin-left: -10px;
  background: linear-gradient(135deg, #8e7bff, #5d5fef);
}

.mock-avatars span:nth-child(1) {
  margin-left: 0;
  background: linear-gradient(135deg, #ffb347, #ffcc33);
}

.mock-avatars span:nth-child(3) {
  background: linear-gradient(135deg, #43cbff, #9708cc);
}

.mock-body {
  padding: 36px 18px 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mock-body .cell {
  aspect-ratio: 1;
  border-radius: 12px;
}

.mock-body .cell:nth-child(1) { background: linear-gradient(135deg, #ff9a8b, #ff6a88); }
.mock-body .cell:nth-child(2) { background: linear-gradient(135deg, #56ccf2, #2f80ed); }
.mock-body .cell:nth-child(3) { background: linear-gradient(135deg, #ffb347, #ffcc33); }
.mock-body .cell:nth-child(4) { background: linear-gradient(135deg, #8e7bff, #5d5fef); }
.mock-body .cell:nth-child(5) { background: var(--surface-alt); }
.mock-body .cell:nth-child(6) { background: linear-gradient(135deg, #43cbff, #9708cc); }
.mock-body .cell:nth-child(7) { background: var(--surface-alt); }
.mock-body .cell:nth-child(8) { background: linear-gradient(135deg, #ff9a8b, #ff6a88); }
.mock-body .cell:nth-child(9) { background: var(--surface-alt); }

.mock-body .cell.found {
  display: grid;
  place-items: center;
  background: #fff;
  border: 2px dashed var(--primary);
}

.mock-body .cell.found svg {
  width: 18px;
  height: 18px;
}

.float-card {
  position: absolute;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 40px -14px rgba(47, 53, 66, 0.3);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 6;
}

.float-card.found-you {
  top: 78px;
  left: -46px;
  animation: drift-a 7s ease-in-out infinite;
}

.float-card.qr {
  bottom: 96px;
  right: -40px;
  animation: drift-b 8s ease-in-out infinite;
}

.float-card .ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.float-card.found-you .ic {
  background: rgba(46, 213, 115, 0.14);
}

.float-card.qr .ic {
  background: rgba(255, 71, 87, 0.12);
}

.float-card svg {
  width: 18px;
  height: 18px;
}

.float-card strong {
  display: block;
  font-size: 12.5px;
  color: var(--text-primary);
}

.float-card span {
  font-size: 11px;
  color: var(--text-tertiary);
  font-weight: 600;
}

/* ---------- logo strip / stats ---------- */

.stats {
  padding: 64px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--divider);
}

.stats .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stats h3 {
  font-size: clamp(24px, 3vw, 32px);
}

.stats p {
  margin-top: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-tertiary);
}

/* ---------- features ---------- */

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

.feature-card {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
  border-color: transparent;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 14.5px;
}

.tag-soon {
  position: absolute;
  top: 22px;
  right: 22px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--warning);
  background: rgba(255, 165, 2, 0.12);
  padding: 5px 10px;
  border-radius: 100px;
}

/* ---------- how it works ---------- */

.how {
  background: var(--surface-alt);
}

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

.step {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  border: 1px solid var(--divider);
}

.step .num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--gradient);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  font-size: 16px;
}

.step h3 {
  font-size: 17px;
  margin-bottom: 8px;
}

.step p {
  font-size: 14.5px;
}

/* ---------- corporate split ---------- */

.corporate {
  background: #14151a;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.corporate::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 45, 107, 0.25), transparent 70%);
  top: -180px;
  right: -140px;
}

.corporate .container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.corporate .container > *,
.privacy .container > * {
  min-width: 0;
}

.corporate h2 {
  color: #fff;
  font-size: clamp(28px, 3.6vw, 38px);
  margin-top: 18px;
}

.corporate p.lead {
  color: rgba(255, 255, 255, 0.68);
  font-size: 16.5px;
  margin-top: 18px;
  max-width: 480px;
}

.check-list {
  margin-top: 30px;
  display: grid;
  gap: 16px;
}

.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14.5px;
  font-weight: 500;
}

.check-list .tick {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(46, 213, 115, 0.18);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.check-list .tick svg {
  width: 12px;
  height: 12px;
}

.corporate-actions {
  margin-top: 34px;
}

.corp-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(10px);
}

.corp-card .row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.corp-card .row:last-child {
  border-bottom: none;
}

.corp-card .row span:first-child {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13.5px;
  font-weight: 600;
}

.corp-card .row span:last-child {
  font-weight: 800;
  font-size: 15px;
}

/* ---------- pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

.price-card {
  background: var(--surface);
  border: 1px solid var(--divider);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card);
}

.price-card.featured {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--shadow-soft);
  transform: scale(1.03);
}

.price-card.featured:hover {
  transform: scale(1.03) translateY(-6px);
}

.price-card .plan-name {
  font-weight: 800;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

.price-card .price {
  margin-top: 14px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-card .price strong {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.price-card .price span {
  font-size: 14px;
  font-weight: 600;
  color: inherit;
  opacity: 0.65;
}

.price-card .plan-desc {
  margin-top: 10px;
  font-size: 13.5px;
}

.price-card.featured .plan-desc,
.price-card.featured .price span {
  color: rgba(255, 255, 255, 0.82);
}

.price-list {
  margin: 28px 0;
  display: grid;
  gap: 13px;
  flex-grow: 1;
}

.price-list li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
}

.price-list li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.price-card .btn {
  width: 100%;
}

.featured-badge {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.22);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

/* ---------- privacy band ---------- */

.privacy {
  background: var(--surface-alt);
}

.privacy .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.privacy-visual {
  position: relative;
  height: 320px;
  display: grid;
  place-items: center;
}

.privacy-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px dashed rgba(255, 71, 87, 0.25);
}

.privacy-ring.r1 { width: 320px; height: 320px; animation: spin 40s linear infinite; }
.privacy-ring.r2 { width: 230px; height: 230px; animation: spin 30s linear infinite reverse; }

.privacy-core {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--gradient);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
  z-index: 2;
}

.privacy-core svg {
  width: 56px;
  height: 56px;
}

.privacy-list {
  display: grid;
  gap: 22px;
  margin-top: 30px;
}

.privacy-list li {
  display: flex;
  gap: 16px;
}

.privacy-list .n {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(255, 71, 87, 0.1);
  color: var(--primary);
  font-weight: 800;
  font-size: 13px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.privacy-list h4 {
  font-size: 15.5px;
  margin-bottom: 4px;
}

.privacy-list p {
  font-size: 13.5px;
}

/* ---------- final cta ---------- */

.cta {
  padding: 110px 0;
  background: var(--gradient);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.14), transparent 45%);
}

.cta .container {
  position: relative;
  z-index: 2;
}

.cta h2 {
  color: #fff;
  font-size: clamp(30px, 4.4vw, 46px);
  max-width: 640px;
  margin: 0 auto;
}

.cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  max-width: 480px;
  margin: 18px auto 0;
}

.cta-actions {
  margin-top: 38px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- footer ---------- */

footer {
  background: #14151a;
  color: rgba(255, 255, 255, 0.6);
  padding: 70px 0 30px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .brand {
  color: #fff;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 260px;
}

.footer-col h5 {
  color: #fff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
}

.footer-col ul {
  display: grid;
  gap: 12px;
}

.footer-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 13px;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- reveal animation ---------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].in-view {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-group] > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal-group].in-view > * {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-group].in-view > *:nth-child(1) { transition-delay: 0.05s; }
[data-reveal-group].in-view > *:nth-child(2) { transition-delay: 0.12s; }
[data-reveal-group].in-view > *:nth-child(3) { transition-delay: 0.19s; }
[data-reveal-group].in-view > *:nth-child(4) { transition-delay: 0.26s; }
[data-reveal-group].in-view > *:nth-child(5) { transition-delay: 0.33s; }
[data-reveal-group].in-view > *:nth-child(6) { transition-delay: 0.4s; }

/* ---------- keyframes ---------- */

@keyframes float-a {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-30px, 40px); }
}

@keyframes float-b {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}

@keyframes phone-float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-16px) rotate(-1deg); }
}

@keyframes drift-a {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes drift-b {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(14px); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .hero .container,
  .corporate .container,
  .privacy .container {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    order: -1;
  }

  .hero-copy p {
    max-width: none;
  }

  .features-grid,
  .steps,
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .price-card.featured:hover {
    transform: translateY(-6px);
  }
}

@media (max-width: 720px) {
  .section {
    padding: 80px 0;
  }

  .nav-links,
  .nav-actions .btn-ghost {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .stats .container {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .features-grid,
  .steps,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .price-card.featured {
    transform: none;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }

  .phone {
    width: 240px;
    height: 490px;
  }

  .float-card {
    display: none;
  }
}

/* ---------- legal pages (privacy policy / terms) ---------- */

.legal-hero {
  padding: 160px 0 60px;
  background: var(--surface-alt);
  border-bottom: 1px solid var(--divider);
}

.legal-hero h1 {
  font-size: clamp(28px, 4vw, 40px);
}

.legal-hero p {
  margin-top: 14px;
  font-size: 14.5px;
}

.legal-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 100px;
}

.legal-content h2 {
  font-size: 20px;
  margin-top: 44px;
  margin-bottom: 14px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: 15px;
  margin-bottom: 14px;
}

.legal-content ul {
  margin: 0 0 14px;
  padding-left: 20px;
  list-style: disc;
}

.legal-content li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 8px;
}

.legal-content strong {
  color: var(--text-primary);
}

.legal-content .placeholder {
  background: rgba(255, 165, 2, 0.14);
  color: #a15c00;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
}
