/* ---------- Design tokens ---------- */
:root {
  --navy-950: #0a0f1e;
  --navy-900: #0d1428;
  --navy-800: #131b34;
  --navy-700: #1c2745;

  --bg: #f6f8fc;
  --bg-alt: #eef1f9;
  --surface: #ffffff;

  --text: #10162b;
  --text-muted: #5b6478;
  --text-inverse: #f4f7ff;
  --text-inverse-muted: #a8b3cf;

  --blue: #3b6cf6;
  --blue-dark: #2952d6;
  --cyan: #22b8d6;
  --violet: #7c6cf0;

  --border: #e3e8f4;
  --shadow: 0 20px 45px -20px rgba(16, 22, 60, 0.25);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;

  --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
p { margin: 0 0 1em; color: var(--text-muted); }

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

.text-accent { color: var(--blue); }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  box-shadow: 0 12px 24px -8px rgba(59, 108, 246, .55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -8px rgba(59, 108, 246, .6); }
.btn--outline {
  border-color: var(--border);
  color: var(--text);
  background: var(--surface);
}
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }
.btn--ghost { border-color: rgba(255,255,255,.25); color: var(--text-inverse); }
.btn--nav { display: none; }
.btn--lg { padding: 16px 34px; font-size: 16px; }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 30, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark {
  width: 34px; height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--violet));
}
.brand__name { font-weight: 800; letter-spacing: .02em; color: var(--text-inverse); font-size: 18px; }
.nav { display: flex; gap: 28px; }
.nav a {
  color: var(--text-inverse-muted);
  font-size: 14.5px;
  font-weight: 500;
  transition: color .15s ease;
}
.nav a:hover { color: var(--text-inverse); }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text-inverse); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero {
  background: radial-gradient(circle at 15% 20%, #172448, var(--navy-950) 60%);
  padding: 96px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}
.hero__copy h1 { color: var(--text-inverse); font-size: clamp(34px, 4.4vw, 52px); }
.hero__lead { color: var(--text-inverse-muted); font-size: 17px; max-width: 520px; }
.hero__actions { display: flex; gap: 14px; margin: 28px 0 32px; flex-wrap: wrap; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__trust li {
  color: var(--text-inverse-muted);
  font-size: 13.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero__trust li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}

.hero__visual { position: relative; display: flex; justify-content: center; }
.orb { position: absolute; border-radius: 50%; filter: blur(50px); opacity: .5; z-index: 0; }
.orb--1 { width: 260px; height: 260px; background: var(--blue); top: -30px; left: -20px; }
.orb--2 { width: 220px; height: 220px; background: var(--violet); bottom: -20px; right: -10px; }

.phone {
  position: relative;
  z-index: 1;
  width: 270px;
  height: 550px;
  background: var(--navy-800);
  border-radius: 40px;
  border: 6px solid #1c2745;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.6);
  padding: 18px 14px;
}
.phone__notch {
  width: 90px; height: 18px;
  background: var(--navy-950);
  border-radius: 0 0 14px 14px;
  margin: 0 auto 16px;
}
.phone__screen {
  background: linear-gradient(180deg, #101a33, #0b1226);
  border-radius: 22px;
  height: calc(100% - 34px);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
}
.chat-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13.5px;
  max-width: 82%;
  color: #fff;
}
.chat-bubble--in { background: #22314f; align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-bubble--out { background: linear-gradient(135deg, var(--blue), var(--violet)); align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-lock {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  color: var(--cyan);
  font-size: 12px;
  padding-top: 12px;
  border-top: 1px dashed rgba(255,255,255,.12);
}

/* ---------- Logos strip ---------- */
.logos { padding: 40px 0; background: var(--surface); border-bottom: 1px solid var(--border); }
.logos p { text-align: center; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-bottom: 18px; }
.logos__row {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  font-weight: 700;
  color: #b7c0d6;
  font-size: 15px;
}

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--navy-950); }
.section--dark .eyebrow { color: var(--cyan); }
.section--dark h2 { color: var(--text-inverse); }
.section--dark p { color: var(--text-inverse-muted); }

.section__head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.section__head h2 { font-size: clamp(26px, 3vw, 36px); }

/* ---------- Feature cards ---------- */
.grid { display: grid; gap: 24px; }
.grid--features { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  font-size: 22px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8edfd, #f1ecfe);
  margin-bottom: 16px;
}
.card h3 { font-size: 18px; margin-bottom: 8px; }
.card p { font-size: 14.5px; margin: 0; }

/* ---------- Customizer ---------- */
.customizer__panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.customizer__controls label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.customizer__controls input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  font-size: 15px;
  font-family: inherit;
  margin-bottom: 24px;
  outline: none;
  transition: border-color .15s ease;
}
.customizer__controls input:focus { border-color: var(--blue); }
.customizer__label { font-size: 13px; font-weight: 700; color: var(--text-muted); margin-bottom: 10px; }
.icon-options { display: flex; gap: 10px; flex-wrap: wrap; }
.icon-option {
  width: 50px; height: 50px;
  border-radius: 14px;
  border: 2px solid var(--border);
  background: var(--bg-alt);
  font-size: 20px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: border-color .15s ease, transform .15s ease;
}
.icon-option::before { content: attr(data-icon); }
.icon-option:hover { transform: translateY(-2px); }
.icon-option.is-active { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(59,108,246,.18); }

.customizer__preview {
  background: linear-gradient(180deg, #1c2745, var(--navy-950));
  border-radius: 28px;
  padding: 36px 24px;
}
.home-screen {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 220px;
  margin: 0 auto;
}
.home-app { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.home-app__icon {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 26px;
  box-shadow: 0 10px 20px -8px rgba(0,0,0,.5);
  transition: background .2s ease;
}
.home-app__label {
  color: var(--text-inverse);
  font-size: 12px;
  text-align: center;
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.home-app--ghost .home-app__icon,
.home-app--ghost::before {
  content: "";
}
.home-app--ghost { opacity: .35; }
.home-app--ghost::before {
  display: block;
  width: 58px; height: 58px;
  border-radius: 16px;
  background: rgba(255,255,255,.08);
}

/* ---------- Steps ---------- */
.grid--steps { grid-template-columns: repeat(3, 1fr); }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  position: relative;
}
.step__num {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  font-weight: 700;
  margin-bottom: 14px;
}
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14.5px; margin: 0; }

/* ---------- Privacy ---------- */
.privacy { display: grid; grid-template-columns: 1.2fr .8fr; gap: 56px; align-items: center; }
.privacy__list { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }
.privacy__list li {
  color: var(--text-inverse-muted);
  font-size: 14.5px;
  padding-left: 26px;
  position: relative;
}
.privacy__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--cyan);
  font-weight: 700;
}
.privacy__visual { display: flex; flex-direction: column; gap: 20px; }
.stat-card {
  background: var(--navy-800);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius-md);
  padding: 26px;
  text-align: center;
}
.stat-card__num {
  display: block;
  font-size: 34px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-card__label { color: var(--text-inverse-muted); font-size: 13.5px; }

/* ---------- FAQ ---------- */
.faq { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 15.5px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  font-family: inherit;
}
.faq-toggle { font-size: 20px; color: var(--blue); transition: transform .2s ease; }
.faq-item.is-open .faq-toggle { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 24px;
}
.faq-answer p { font-size: 14.5px; margin: 0 0 20px; }
.faq-item.is-open .faq-answer { max-height: 200px; }

/* ---------- CTA ---------- */
.section--cta {
  background: linear-gradient(135deg, var(--blue-dark), var(--violet));
  text-align: center;
}
.cta h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); }
.cta p { color: rgba(255,255,255,.85); max-width: 460px; margin: 0 auto 28px; }
.cta .btn--primary { background: #fff; color: var(--blue-dark); box-shadow: 0 12px 24px -8px rgba(0,0,0,.35); }
.cta .btn--primary:hover { color: var(--blue-dark); }

.cta--split {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}
.cta__copy p { margin-left: 0; }
.cta__hint { font-size: 13px; color: rgba(255,255,255,.7); margin: 12px 0 0; }
.cta__qr { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.qr-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.4);
}
.qr-card canvas { display: block; border-radius: 6px; }
.qr-refresh {
  position: absolute;
  bottom: -14px;
  right: -14px;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--blue), var(--violet));
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 8px 16px -6px rgba(0,0,0,.5);
  transition: transform .2s ease;
}
.qr-refresh:hover { transform: rotate(90deg); }
.cta__qr-label { color: rgba(255,255,255,.85); font-size: 13px; font-weight: 600; }

@media (max-width: 720px) {
  .cta--split { grid-template-columns: 1fr; text-align: center; }
  .cta__copy p { margin-left: auto; margin-right: auto; }
}

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); padding: 32px 0; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer p { color: var(--text-inverse-muted); font-size: 13px; margin: 0; }

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__visual { order: -1; }
  .grid--features { grid-template-columns: repeat(2, 1fr); }
  .grid--steps { grid-template-columns: 1fr; }
  .privacy { grid-template-columns: 1fr; }
  .customizer__panel { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .nav, .btn--nav { display: none; }
  .nav-toggle { display: flex; }
  .navbar.is-open .nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: var(--navy-900);
    padding: 20px 24px;
    gap: 16px;
  }
  .grid--features { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .logos__row { gap: 22px; font-size: 13px; }
}
