:root {
  --primary:    #5b5bd6;
  --primary-2:  #7c5cff;
  --accent:     #f43f5e;
  --emerald:    #10b981;
  --amber:      #f59e0b;
  --ink:        #0f0f1a;
  --muted:      #5a5a78;
  --faint:      #9898b0;
  --bg:         #f6f6fc;
  --card:       #ffffff;
  --line:       #e6e6f2;
  --radius:     20px;
  --shadow:     0 18px 50px rgba(40, 30, 90, .12);
  --shadow-sm:  0 6px 22px rgba(40, 30, 90, .08);
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── Audience mode visibility ──────────────────────────────── */
/* Hide with !important so the shown element keeps its own display
   (grid / inline-flex / block) instead of being forced via revert. */
body.mode-business .for-individual { display: none !important; }
body:not(.mode-business) .for-business { display: none !important; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  border: none; border-radius: 999px; padding: 11px 20px; font-size: 14px;
  transition: transform .12s ease, box-shadow .2s ease, opacity .2s, background .2s;
  white-space: nowrap;
}
.btn-lg { padding: 15px 28px; font-size: 15.5px; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; box-shadow: 0 10px 26px rgba(91,91,214,.4); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(91,91,214,.5); }
.btn-outline { background: transparent; color: var(--ink); border: 1.6px solid var(--line); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { color: var(--primary); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { transform: translateY(-2px); opacity: .92; }

/* ── Nav ───────────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 200;
  display: flex; align-items: center; gap: 18px;
  padding: 12px clamp(16px, 4vw, 44px);
  background: rgba(255,255,255,.78);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 19px; font-weight: 900; letter-spacing: -.5px; text-decoration: none; }
.brand img { border-radius: 9px; box-shadow: 0 4px 12px rgba(91,91,214,.3); }
.brand b { color: var(--primary); font-weight: 900; }

/* Segmented audience toggle */
.seg { position: relative; display: flex; background: #ededf6; border-radius: 999px; padding: 4px; margin: 0 auto; }
.seg-btn { flex: 1 1 0; min-width: 0; text-align: center; position: relative; z-index: 2; border: none; background: transparent; font: inherit; font-weight: 700; font-size: 13.5px; color: var(--muted); padding: 8px 12px; border-radius: 999px; cursor: pointer; transition: color .2s; }
.seg-btn.is-active { color: #fff; }
.seg-pill { position: absolute; z-index: 1; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); background: linear-gradient(135deg, var(--primary), var(--primary-2)); border-radius: 999px; transition: transform .28s cubic-bezier(.65,.05,.36,1); box-shadow: 0 6px 16px rgba(91,91,214,.4); }
body.mode-business .seg-pill { transform: translateX(100%); }

.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-right .btn-ghost { padding: 10px 12px; }

/* Language switcher */
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; background: #ededf6; border: none; border-radius: 999px; padding: 9px 13px; font: inherit; font-weight: 700; font-size: 13px; color: var(--ink); cursor: pointer; }
.lang-btn:hover { color: var(--primary); }
.lang-menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-sm); padding: 6px; min-width: 140px; display: none; }
.lang-menu.open { display: block; }
.lang-menu button { display: block; width: 100%; text-align: left; border: none; background: transparent; font: inherit; font-weight: 600; font-size: 14px; padding: 9px 12px; border-radius: 9px; cursor: pointer; }
.lang-menu button:hover { background: var(--bg); color: var(--primary); }

/* ── Hero ──────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 7vw, 90px) clamp(16px, 4vw, 44px) clamp(30px, 5vw, 60px); }
.hero-glow { position: absolute; inset: 0; z-index: 0; background:
  radial-gradient(60% 60% at 78% 8%, rgba(124,92,255,.30), transparent 60%),
  radial-gradient(50% 50% at 8% 90%, rgba(244,63,94,.18), transparent 60%),
  radial-gradient(40% 40% at 50% 40%, rgba(16,185,129,.12), transparent 60%);
  animation: drift 14s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate3d(0,-18px,0) scale(1.05); } }

.hero-inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: .3px; color: var(--primary); background: rgba(91,91,214,.1); padding: 7px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 62px); line-height: 1.04; letter-spacing: -1.6px; font-weight: 900; margin-bottom: 18px; }
.grad { background: linear-gradient(120deg, var(--primary), var(--accent) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p { font-size: clamp(15px, 1.6vw, 18.5px); color: var(--muted); max-width: 560px; margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 16px; font-size: 13px; font-weight: 600; color: var(--muted); }

/* Hero art — phone mockups */
.hero-art { position: relative; height: clamp(380px, 44vw, 540px); }
.phone { position: absolute; width: clamp(190px, 22vw, 256px); aspect-ratio: 1080 / 2240; border-radius: 34px; padding: 8px; background: #14141f; box-shadow: var(--shadow); overflow: hidden; }
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 26px; }
.phone { left: 12%; top: 4%; transform: rotate(-5deg); z-index: 2; animation: floaty 6s ease-in-out infinite; }
.phone-back { left: 44%; top: 16%; transform: rotate(6deg); z-index: 1; opacity: .96; animation: floaty 6s ease-in-out infinite .6s; }
@keyframes floaty { 50% { transform: translateY(-14px) rotate(-5deg); } }
.phone-back { animation-name: floaty2; }
@keyframes floaty2 { 50% { transform: translateY(-12px) rotate(6deg); } }

.float-chip { position: absolute; z-index: 4; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-radius: 14px; padding: 9px 14px; font-size: 13px; font-weight: 800; animation: floaty 7s ease-in-out infinite; }
.chip-1 { top: 8%; right: 2%; color: var(--primary); }
.chip-2 { bottom: 18%; left: 2%; color: var(--emerald); animation-delay: .8s; }
.chip-3 { bottom: 4%; right: 12%; color: var(--amber); animation-delay: 1.6s; }

/* ── Marquee ───────────────────────────────────────────────── */
.marquee { background: var(--ink); color: #fff; overflow: hidden; padding: 14px 0; }
.marquee-track { display: flex; gap: 26px; white-space: nowrap; width: max-content; animation: scroll 26s linear infinite; font-weight: 800; font-size: 14px; letter-spacing: 1px; }
.marquee-track span { opacity: .9; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ── Sections ──────────────────────────────────────────────── */
.section { max-width: 1180px; margin: 0 auto; padding: clamp(50px, 7vw, 96px) clamp(16px, 4vw, 44px); }
.section-tint { max-width: none; background: linear-gradient(180deg, #fff, #f1eefe); }
.section-tint > * { max-width: 1180px; margin-inline: auto; }
.sec-head { text-align: center; margin-bottom: 46px; }
.kicker { font-size: 12.5px; font-weight: 800; letter-spacing: 2px; color: var(--primary); }
.sec-head h2 { font-size: clamp(26px, 3.6vw, 42px); letter-spacing: -1px; font-weight: 900; margin-top: 10px; }

/* Feature cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ic-failure { background: rgba(245,158,11,.16); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .25s ease, box-shadow .25s ease; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card-ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; font-size: 28px; margin-bottom: 18px; }
.ic-track { background: rgba(99,102,241,.14); }
.ic-claim { background: rgba(244,63,94,.14); }
.ic-resell { background: rgba(16,185,129,.14); }
.card h3 { font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* Screenshots */
.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.shot { position: relative; }
.shot img { border-radius: 22px; border: 8px solid #14141f; box-shadow: var(--shadow); transition: transform .25s ease; background: #14141f; }
.shot:hover img { transform: translateY(-8px) scale(1.02); }
.shot figcaption { text-align: center; margin-top: 14px; font-weight: 700; font-size: 14px; color: var(--muted); }

/* Business hero visual */
.hero-art-biz { display: grid; place-items: center; }
.biz-hero-img { width: min(100%, 520px); border-radius: 22px; box-shadow: var(--shadow); border: 1px solid var(--line); animation: floaty 7s ease-in-out infinite; }

/* Business product visuals */
.biz-shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.biz-shot img { width: 100%; border-radius: 18px; box-shadow: var(--shadow); border: 1px solid var(--line); background: #fff; transition: transform .25s ease; }
.biz-shot:hover img { transform: translateY(-8px); }
.biz-shot figcaption { text-align: center; margin-top: 14px; font-weight: 700; font-size: 14px; color: var(--muted); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: #fff; font-weight: 900; font-size: 20px; margin-bottom: 16px; }
.step h4 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 15px; }

/* ── Business ──────────────────────────────────────────────── */
.business { color: #fff; max-width: none; background:
  radial-gradient(70% 120% at 90% 0%, rgba(124,92,255,.55), transparent 60%),
  linear-gradient(135deg, #1c1538, #0f0f1a); }
.business > .biz-grid { max-width: 1180px; margin-inline: auto; }
.biz-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; }
.business .kicker { color: #c4b5fd; }
.business h2 { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -1px; font-weight: 900; margin: 10px 0 16px; }
.business .biz-copy > p { color: #cfcce6; font-size: 16.5px; margin-bottom: 24px; }
.biz-list { list-style: none; display: grid; gap: 16px; margin-bottom: 30px; }
.biz-list li { display: flex; flex-direction: column; gap: 3px; padding-left: 26px; position: relative; }
.biz-list li::before { content: '✦'; position: absolute; left: 0; top: 0; color: var(--primary-2); font-weight: 900; }
.biz-list b { font-size: 16px; }
.biz-list span { color: #b9b6d6; font-size: 14.5px; }
.biz-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 18px; padding: 24px 20px; backdrop-filter: blur(8px); }
.stat b { display: block; font-size: 30px; font-weight: 900; letter-spacing: -1px; background: linear-gradient(120deg, #fff, #c4b5fd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { color: #b9b6d6; font-size: 13.5px; font-weight: 600; }

/* ── Get ───────────────────────────────────────────────────── */
.get-card { text-align: center; background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: clamp(40px, 6vw, 70px) 24px; box-shadow: var(--shadow); }
.get-card h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 900; letter-spacing: -1px; }
.get-card p { color: var(--muted); font-size: 17px; margin: 12px auto 26px; max-width: 480px; }
.get-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.get-note { margin-top: 16px; font-size: 12.5px; color: var(--faint); }

/* ── Footer ────────────────────────────────────────────────── */
footer { background: #fff; border-top: 1px solid var(--line); padding: 56px clamp(16px, 4vw, 44px) 28px; }
.foot-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1.4fr .8fr; gap: 40px; }
.foot-about .brand { margin-bottom: 12px; }
.foot-line { color: var(--muted); font-size: 14px; margin-bottom: 4px; }
.foot-line a { color: var(--primary); text-decoration: none; font-weight: 600; }
.foot-section-label { font-size: 11px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }

.foot-contact { display: flex; flex-direction: column; gap: 10px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.foot-contact input, .foot-contact textarea { font: inherit; font-size: 14px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--bg); resize: vertical; }
.foot-contact input:focus, .foot-contact textarea:focus { outline: none; border-color: var(--primary); background: #fff; }
.foot-contact .btn { margin-top: 2px; }
.form-note { font-size: 13.5px; font-weight: 600; padding: 6px 2px; }
.form-note.ok { color: var(--emerald); }
.form-note.err { color: var(--accent); }

.foot-links { display: flex; flex-direction: column; }
.foot-links a { font-size: 14px; font-weight: 600; color: var(--muted); text-decoration: none; margin-bottom: 10px; }
.foot-links a:hover { color: var(--primary); }

.foot-legal { max-width: 1180px; margin: 36px auto 0; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12.5px; color: var(--faint); }

/* ── Reveal on scroll ──────────────────────────────────────── */
.pop { opacity: 0; transform: translateY(26px); transition: opacity .6s ease, transform .6s ease; }
.pop.in { opacity: 1; transform: none; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { order: -1; height: clamp(430px, 82vw, 520px); margin-bottom: 6px; }
  .phone { width: clamp(150px, 38vw, 200px); }
  .cards-3, .steps, .biz-shots { grid-template-columns: 1fr; }
  .cards-4 { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: 1fr 1fr; }
  .biz-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-grid { grid-template-columns: 1fr; }
  .seg { order: 3; width: 100%; margin: 6px 0 0; }
  .nav { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .nav-right .btn-ghost { display: none; }
  .seg-btn { font-size: 12.5px; padding: 8px 6px; }
  .shots, .cards-4 { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; }
  .biz-stats { grid-template-columns: 1fr 1fr; }
}
