/* =========================================================
   SnapSpend / 灵记 — landing page styles
   iOS-inspired, emerald brand (#0AA875 / #18C98F)
   ========================================================= */

:root {
  --brand: #0AA875;
  --brand-dark: #0A9C6E;
  --brand-light: #18C98F;
  --brand-teal: #16C79A;
  --ink: #1D1D1F;
  --ink-2: #55565B;
  --ink-3: #86868B;
  --line: #E6E7EA;
  --bg: #FFFFFF;
  --bg-alt: #F5F5F7;
  --bg-dark: #0B1F1A;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 6px 20px rgba(0,0,0,.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 18px 48px rgba(0,0,0,.10);
  --shadow-brand: 0 12px 40px rgba(10,168,117,.28);
  --maxw: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
          "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
          system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

:lang(zh) body { line-height: 1.75; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

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

svg { stroke: currentColor; stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.accent {
  background: linear-gradient(120deg, var(--brand-light), var(--brand-dark));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 16px; border-radius: 999px;
  padding: 12px 22px; border: 1px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: linear-gradient(135deg, var(--brand-light), var(--brand)); color: #fff; box-shadow: var(--shadow-brand); }
.btn-primary:hover { box-shadow: 0 16px 48px rgba(10,168,117,.4); transform: translateY(-2px); }
.btn-ghost { background: rgba(10,168,117,.08); color: var(--brand-dark); }
.btn-ghost:hover { background: rgba(10,168,117,.14); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-dark); }
.btn-sm { padding: 8px 16px; font-size: 14px; }
.btn-lg { padding: 15px 28px; font-size: 17px; }
.btn-block { display: flex; width: 100%; }

/* ---------------- Nav ---------------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 12px rgba(0,0,0,.04); }
.nav-inner { display: flex; align-items: center; gap: 20px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; }
.brand-logo { display: inline-flex; }
.brand-logo svg { filter: drop-shadow(0 4px 10px rgba(10,168,117,.35)); }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { font-size: 15px; color: var(--ink-2); font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--brand-dark); }
.nav-actions { display: flex; align-items: center; gap: 12px; margin-left: 10px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--bg-alt); border: 1px solid var(--line); color: var(--ink-2);
  font-family: var(--font); font-size: 14px; font-weight: 600;
  padding: 7px 13px; border-radius: 999px; cursor: pointer; transition: all .15s;
}
.lang-toggle:hover { border-color: var(--brand); color: var(--brand-dark); }
.lang-ico { stroke-width: 2; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-burger span { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }

/* ---------------- Eyebrow / section heads ---------------- */
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--brand-dark);
  background: rgba(10,168,117,.10); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-title { font-size: clamp(28px, 4vw, 44px); font-weight: 800; letter-spacing: -.02em; line-height: 1.12; }
.section-sub { margin-top: 16px; font-size: 18px; color: var(--ink-2); }

/* ---------------- Hero ---------------- */
.hero { padding: 56px 0 40px; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 500px at 78% 8%, rgba(24,201,143,.16), transparent 60%),
    radial-gradient(700px 500px at 8% 20%, rgba(22,199,154,.12), transparent 55%),
    linear-gradient(180deg, #fff, #f7fbf9);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-title { font-size: clamp(38px, 6vw, 68px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.hero-sub { margin-top: 22px; font-size: 20px; color: var(--ink-2); max-width: 540px; }
.hero-cta { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--ink-3); }

/* ---------------- Phone mockup ---------------- */
.hero-phone { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: 300px; aspect-ratio: 300 / 620;
  background: #0c0c0e; border-radius: 46px; padding: 11px;
  box-shadow: 0 8px 24px rgba(0,0,0,.18), 0 40px 80px rgba(0,0,0,.24);
}
.phone-island {
  position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; background: #0c0c0e; border-radius: 999px; z-index: 5;
}
.phone-screen {
  position: relative; width: 100%; height: 100%; background: #fff;
  border-radius: 36px; overflow: hidden;
}
.phone-glow {
  position: absolute; inset: 8% 6%; z-index: -1; border-radius: 50%;
  background: radial-gradient(circle, rgba(24,201,143,.4), transparent 70%);
  filter: blur(46px);
}

/* ---------------- Animated demo ---------------- */
.demo { padding: 42px 18px 18px; height: 100%; display: flex; flex-direction: column; }
.demo-statusbar { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; color: var(--ink); padding: 0 4px; }
.demo-sig { width: 34px; height: 11px; background:
  linear-gradient(90deg,var(--ink) 0 60%,transparent 60%) 0/6px 100% repeat-x; opacity:.5; border-radius:2px;}
.demo-title { font-size: 26px; font-weight: 800; margin: 12px 4px 14px; letter-spacing: -.02em; }

.demo-receipt {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: 14px; padding: 16px 16px 20px; box-shadow: var(--shadow-sm); overflow: hidden;
  animation: demoReceiptOut 9s ease-in-out infinite;
}
.demo-scanline {
  position: absolute; left: 0; right: 0; height: 40px; z-index: 2;
  background: linear-gradient(180deg, transparent, rgba(24,201,143,.35), transparent);
  border-top: 2px solid var(--brand-light); box-shadow: 0 0 18px rgba(24,201,143,.6);
  animation: scanMove 2.2s ease-in-out infinite;
}
.r-line { height: 9px; border-radius: 5px; background: #E9EBEE; display: block; margin: 9px 0; }
.r-line.dark { background: #C9CDD3; height: 11px; }
.r-shop { width: 55%; height: 13px; background: #D6DAE0; margin-bottom: 14px; }
.r-row, .r-total { display: flex; justify-content: space-between; align-items: center; }
.r-total { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line); }
.w20{width:20%}.w25{width:25%}.w30{width:30%}.w40{width:40%}.w50{width:50%}.w70{width:70%}

.demo-status {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  font-size: 13px; color: var(--ink-3); font-weight: 500; margin: 14px 0;
  animation: demoStatus 9s ease-in-out infinite;
}
.spinner { width: 14px; height: 14px; border: 2px solid rgba(10,168,117,.25); border-top-color: var(--brand); border-radius: 50%; animation: spin .8s linear infinite; }

.demo-form { position: absolute; left: 18px; right: 18px; bottom: 18px; }
.ff {
  display: flex; justify-content: space-between; align-items: center;
  background: var(--bg-alt); border-radius: 12px; padding: 12px 14px; margin-bottom: 9px;
  opacity: 0; transform: translateY(10px);
  animation: ffIn .5s ease forwards; animation-delay: calc(4s + var(--d));
}
.ff-k { font-size: 13px; color: var(--ink-3); }
.ff-v { font-size: 15px; font-weight: 700; }
.ff-v.pill { background: rgba(10,168,117,.12); color: var(--brand-dark); padding: 3px 12px; border-radius: 999px; font-size: 13px; }
.demo-saved {
  display: flex; align-items: center; gap: 8px; justify-content: center;
  color: #fff; font-weight: 700; font-size: 14px;
  background: linear-gradient(135deg, var(--brand-light), var(--brand)); border-radius: 12px; padding: 12px;
  box-shadow: var(--shadow-brand);
  opacity: 0; transform: scale(.9);
  animation: savedIn .5s cubic-bezier(.2,1.3,.4,1) forwards; animation-delay: calc(4s + var(--d));
}
.demo-saved svg { stroke: #fff; }

@keyframes scanMove { 0%,100%{top:-10px} 50%{top:calc(100% - 30px)} }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ffIn { to { opacity: 1; transform: translateY(0); } }
@keyframes savedIn { to { opacity: 1; transform: scale(1); } }
@keyframes demoReceiptOut {
  0%,38% { opacity: 1; transform: translateY(0) scale(1); }
  46%,92% { opacity: 0; transform: translateY(-14px) scale(.96); pointer-events: none; }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes demoStatus {
  0%,34% { opacity: 1; } 42%,100% { opacity: 0; }
}

/* ---------------- Trust bar ---------------- */
.trustbar {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px;
  margin-top: 44px;
}
.trustbar li {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 18px; font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.trustbar svg { color: var(--brand); stroke-width: 2.2; }

/* ---------------- Pain points ---------------- */
.pain-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pain-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 16px;
  transition: transform .2s, box-shadow .2s;
}
.pain-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pain-pain { display: flex; gap: 12px; color: var(--ink-2); font-size: 15.5px; }
.pain-dot { flex: none; width: 10px; height: 10px; border-radius: 50%; margin-top: 7px; background: #FF6B6B; box-shadow: 0 0 0 4px rgba(255,107,107,.14); }
.pain-fix { display: flex; gap: 12px; align-items: flex-start; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15.5px; font-weight: 600; color: var(--ink); }
.fix-badge { flex: none; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-dark); background: rgba(10,168,117,.12); padding: 4px 9px; border-radius: 7px; margin-top: 1px; }

/* ---------------- Features ---------------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s;
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(10,168,117,.4); }
.feature-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px; margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(24,201,143,.16), rgba(10,168,117,.1));
  color: var(--brand-dark);
}
.feature-ico svg { width: 24px; height: 24px; stroke-width: 2; }
.feature-ico.lg { width: 60px; height: 60px; border-radius: 18px; }
.feature-ico.lg svg { width: 30px; height: 30px; }
.feature h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; }
.feature p { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); }

/* ---------------- How it works ---------------- */
.steps { display: flex; align-items: stretch; justify-content: center; gap: 12px; flex-wrap: wrap; }
.step {
  position: relative; flex: 1; min-width: 240px; max-width: 320px; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 40px 28px 32px; box-shadow: var(--shadow-sm);
}
.step-num {
  position: absolute; top: -18px; left: 50%; transform: translateX(-50%);
  width: 36px; height: 36px; border-radius: 50%; color: #fff; font-weight: 800; font-size: 16px;
  display: grid; place-items: center; background: linear-gradient(135deg, var(--brand-light), var(--brand));
  box-shadow: var(--shadow-brand);
}
.step .feature-ico { margin: 6px auto 18px; }
.step h3 { font-size: 20px; font-weight: 700; }
.step p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.step-arrow { display: flex; align-items: center; font-size: 28px; color: var(--brand); font-weight: 300; }

/* ---------------- Screens gallery (dark) ---------------- */
.section-dark { background: radial-gradient(1000px 500px at 50% -10%, #123a30, #0B1F1A 60%); color: #fff; }
.section-dark .section-title { color: #fff; }
.section-dark .eyebrow { color: #7CE6C0; background: rgba(24,201,143,.14); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; justify-items: center; }
.gallery-item { text-align: center; }
.phone-shot { width: 260px; aspect-ratio: 300/620; padding: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.4), 0 30px 70px rgba(0,0,0,.5); transition: transform .3s; }
.gallery-item:hover .phone-shot { transform: translateY(-8px); }
.phone-shot .phone-screen { background: #fff; }
.phone-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gallery-item figcaption { margin-top: 22px; font-size: 15.5px; color: rgba(255,255,255,.78); max-width: 260px; }

/* Insights CSS mock (3rd phone) */
.insights-mock { padding: 44px 16px 16px; height: 100%; background: var(--bg-alt); color: var(--ink); }
.im-title { font-size: 24px; font-weight: 800; margin: 8px 2px 14px; }
.im-card { background: #fff; border-radius: 16px; padding: 16px; box-shadow: var(--shadow-sm); }
.im-label { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.im-total { font-size: 30px; font-weight: 800; color: var(--brand-dark); letter-spacing: -.02em; margin-top: 2px; }
.im-total span { color: var(--ink-3); font-size: 20px; }
.im-budget { height: 8px; border-radius: 999px; background: #E9EBEE; margin-top: 14px; overflow: hidden; }
.im-budget-fill { height: 100%; width: 86%; border-radius: 999px; background: linear-gradient(90deg, var(--brand-light), var(--brand)); }
.im-budget-cap { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink-3); margin-top: 6px; font-weight: 600; }
.im-spark { display: flex; align-items: flex-end; gap: 8px; height: 60px; margin: 18px 4px; }
.im-spark span { flex: 1; height: var(--h); background: rgba(10,168,117,.25); border-radius: 5px 5px 3px 3px; }
.im-spark span.on { background: linear-gradient(180deg, var(--brand-light), var(--brand)); }
.im-rows { background: #fff; border-radius: 16px; padding: 6px 14px; box-shadow: var(--shadow-sm); }
.im-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.im-row:last-child { border-bottom: none; }
.im-swatch { width: 12px; height: 12px; border-radius: 4px; }
.im-swatch.c1 { background: var(--brand); } .im-swatch.c2 { background: #34C7B4; }
.im-swatch.c3 { background: #7BD389; } .im-swatch.c4 { background: #F0A500; }
.im-cat { flex: 1; color: var(--ink-2); } .im-amt { font-weight: 700; }

/* ---------------- Privacy ---------------- */
.privacy-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.privacy-list { list-style: none; margin-top: 26px; display: grid; gap: 14px; }
.privacy-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 16.5px; color: var(--ink); }
.privacy-list svg { flex: none; color: var(--brand); stroke-width: 2.6; margin-top: 3px; }
.privacy-badge {
  background: linear-gradient(160deg, #0f2d25, #0B1F1A); color: #fff;
  border-radius: var(--radius-lg); padding: 44px 34px; text-align: center; box-shadow: var(--shadow-md);
}
.pb-shield { display: inline-flex; padding: 20px; border-radius: 24px; background: rgba(24,201,143,.16); color: #7CE6C0; margin-bottom: 20px; }
.pb-shield svg { stroke-width: 1.6; }
.pb-title { font-size: 22px; font-weight: 800; }
.pb-sub { margin-top: 10px; font-size: 15px; color: rgba(255,255,255,.72); }

/* ---------------- Pricing ---------------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 380px)); gap: 24px; justify-content: center; }
.plan {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 30px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.plan-pro { border: 2px solid var(--brand); box-shadow: var(--shadow-brand); }
.plan-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--brand-light), var(--brand)); color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 999px; box-shadow: var(--shadow-brand);
}
.plan-name { font-size: 20px; font-weight: 800; }
.plan-price { margin: 12px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.plan-amt { font-size: 44px; font-weight: 800; letter-spacing: -.02em; }
.plan-per { font-size: 16px; color: var(--ink-3); font-weight: 600; }
.plan-tag { font-size: 14px; color: var(--ink-2); min-height: 40px; margin-bottom: 18px; }
.plan-feats { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.plan-feats li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.plan-feats svg { flex: none; color: var(--brand); stroke-width: 2.4; margin-top: 3px; }
.plan-feats li.inc { color: var(--ink-3); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.plan-save {
  margin-left: auto; align-self: center; background: var(--brand-tint, rgba(10,168,117,.12));
  color: var(--brand-dark); font-size: 12px; font-weight: 800; letter-spacing: .01em;
  padding: 5px 11px; border-radius: 999px; white-space: nowrap;
}

/* comparison table */
.compare { margin-top: 56px; max-width: 820px; margin-left: auto; margin-right: auto; }
.compare-title { text-align: center; font-size: 22px; font-weight: 800; margin-bottom: 22px; }
.compare-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.compare-table th, .compare-table td { padding: 14px 18px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: var(--bg-alt); font-weight: 700; }
.compare-table th:nth-child(2), .compare-table th:nth-child(3),
.compare-table td:nth-child(2), .compare-table td:nth-child(3) { text-align: center; width: 90px; }
.compare-table .col-pro { color: var(--brand-dark); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td.yes::after { content: "✓"; color: var(--brand); font-weight: 800; font-size: 17px; }
.compare-table td.no::after { content: "—"; color: var(--ink-3); }
.compare-note { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--ink-3); }
.cprice-table td:nth-child(2), .cprice-table td:nth-child(3),
.cprice-table th:nth-child(2), .cprice-table th:nth-child(3) { width: 120px; font-variant-numeric: tabular-nums; }
.cprice-table .cprice-you td { background: var(--brand-tint, rgba(10,168,117,.10)); font-weight: 800; color: var(--brand-dark); }

/* ---------------- FAQ ---------------- */
.faq-list { display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 4px 22px; box-shadow: var(--shadow-sm); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 700; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-weight: 400; font-size: 26px; color: var(--brand); transition: transform .25s; line-height: 1; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 0 20px; color: var(--ink-2); font-size: 15.5px; }

/* ---------------- CTA band ---------------- */
.cta-band { background: radial-gradient(900px 400px at 50% 0, #0f3529, #0B1F1A 70%); color: #fff; padding: 92px 0; text-align: center; }
.cta-inner { display: flex; flex-direction: column; align-items: center; }
.cta-title { font-size: clamp(30px, 4.5vw, 48px); font-weight: 800; letter-spacing: -.02em; }
.cta-sub { margin-top: 14px; font-size: 18px; color: rgba(255,255,255,.78); }
.appstore-btn {
  margin-top: 30px; display: inline-flex; align-items: center; gap: 12px;
  background: #fff; color: #0B1F1A; padding: 12px 26px; border-radius: 14px;
  transition: transform .18s, box-shadow .18s; box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.appstore-btn svg { stroke: none; }
.appstore-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.asb-copy { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; text-align: left; }
.asb-copy small { font-size: 11px; font-weight: 500; }
.asb-copy strong { font-size: 20px; font-weight: 700; }
.cta-note { margin-top: 16px; font-size: 13px; color: rgba(255,255,255,.55); }

/* ---------------- Footer ---------------- */
.footer { background: #0B1F1A; color: rgba(255,255,255,.7); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 36px; }
.footer .brand { color: #fff; }
.footer-tag { margin-top: 14px; font-size: 14px; max-width: 300px; }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; letter-spacing: .02em; }
.footer-col a { display: block; font-size: 14px; margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: #7CE6C0; }
.footer-help p { font-size: 14px; margin-bottom: 12px; }
.footer-mail { color: #7CE6C0 !important; font-weight: 600; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: rgba(255,255,255,.5); }
.footer-legal a:hover { color: #7CE6C0; }

/* ---------------- Scroll reveal ---------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------------- Responsive ---------------- */
@media (max-width: 980px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-copy { order: 1; }
  .hero-phone { order: 2; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-cta { justify-content: center; }
  .privacy-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .step-arrow { display: none; }
}
/* Collapse nav to a burger menu before it gets cramped (~860px) */
@media (max-width: 860px) {
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(255,255,255,.97); backdrop-filter: blur(20px); border-bottom: 1px solid var(--line); padding: 8px 24px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav-burger { display: flex; }
  .nav.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
  .nav.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav .btn-primary { display: none; }
}
@media (max-width: 720px) {
  .section { padding: 68px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .pain-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .compare-table th, .compare-table td { padding: 12px 12px; font-size: 13.5px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
