:root {
  --bg: #0a0e1a;
  --bg-alt: #0e1424;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-border: rgba(255, 255, 255, 0.08);
  --text: #e7ecf4;
  --muted: #9aa6bd;
  --brand: #3b82f6;
  --brand-2: #06b6d4;
  --brand-grad: linear-gradient(120deg, #38bdf8 0%, #3b82f6 50%, #6366f1 100%);
  --radius: 18px;
  --maxw: 1120px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

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

html { scroll-behavior: smooth; }

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

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

/* ---------- Background decoration ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  z-index: -2;
}
.bg-glow {
  position: fixed;
  top: -200px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(59,130,246,0.25), transparent 65%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary {
  background: var(--brand-grad);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(59,130,246,0.6);
}
.btn--ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--surface-border);
}
.btn--light { background: #fff; color: #0a0e1a; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
  backdrop-filter: blur(10px);
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  letter-spacing: -0.02em;
}
.nav__brand img { border-radius: 9px; }
.nav__links { display: flex; gap: 28px; }
.nav__links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .15s; }
.nav__links a:hover { color: var(--text); }
.nav__right { display: flex; align-items: center; gap: 14px; }
.nav__lang {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--surface-border);
  transition: color .15s, border-color .15s;
}
.nav__lang:hover { color: var(--text); border-color: rgba(59,130,246,0.5); }
.nav__cta { padding: 9px 20px; font-size: 14px; }

/* ---------- Hero ---------- */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 70px 24px 60px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}
.badge {
  display: inline-block;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.grad {
  background: var(--brand-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin: 24px 0 32px;
  font-size: 18px;
  color: var(--muted);
  max-width: 540px;
}
.lead strong { color: var(--text); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__meta {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 30px;
  font-size: 14px;
  color: var(--muted);
}

/* ---------- Phone mockup ---------- */
.hero__art { display: flex; justify-content: center; }
.phone {
  position: relative;
  width: 300px;
  height: 600px;
  background: linear-gradient(160deg, #1a2236, #0d1322);
  border-radius: 42px;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8), inset 0 0 0 2px rgba(255,255,255,0.03);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.phone__notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 120px; height: 26px;
  background: #0d1322;
  border-radius: 0 0 16px 16px;
  z-index: 2;
}
.phone__screen {
  height: 100%;
  background: linear-gradient(180deg, #0c1426, #0a1120);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 38px 18px 14px;
  border-bottom: 1px solid var(--surface-border);
  background: rgba(255,255,255,0.02);
}
.chat-header img { border-radius: 50%; }
.chat-header__name { font-weight: 700; font-size: 15px; }
.chat-header__status { font-size: 11px; color: #34d399; }
.bubbles {
  flex: 1;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bubble {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.45;
  animation: pop .5s ease both;
}
.bubble--in { align-self: flex-start; background: rgba(255,255,255,0.07); border-bottom-left-radius: 5px; }
.bubble--out { align-self: flex-end; background: var(--brand-grad); color: #fff; border-bottom-right-radius: 5px; }
.bubble:nth-child(2){ animation-delay:.15s; }
.bubble:nth-child(3){ animation-delay:.3s; }
.bubble:nth-child(4){ animation-delay:.45s; }
@keyframes pop { from { opacity:0; transform: translateY(8px) scale(.96); } to { opacity:1; transform:none; } }
.composer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 12px 14px;
  padding: 11px 16px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
}
.composer__send {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: var(--brand-grad);
  color: #fff;
  border-radius: 50%;
  font-size: 13px;
}

/* ---------- Trust strip ---------- */
.strip {
  text-align: center;
  padding: 26px 24px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--surface-border);
  border-bottom: 1px solid var(--surface-border);
}
.strip strong { color: var(--text); }

/* ---------- Sections ---------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 90px 24px;
}
.section--alt { background: var(--bg-alt); max-width: 100%; }
.section--alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 54px; }
.section__head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.section__head p { margin-top: 14px; color: var(--muted); font-size: 17px; }

/* ---------- Feature grid ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover { transform: translateY(-5px); border-color: rgba(59,130,246,0.4); background: rgba(59,130,246,0.05); }
.card__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  font-size: 26px;
  background: rgba(59,130,246,0.12);
  border-radius: 14px;
  margin-bottom: 18px;
}
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- Steps ---------- */
.steps {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.step {
  flex: 1;
  min-width: 230px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.step__num {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--brand-grad);
  color: #fff;
  font-weight: 800;
  border-radius: 12px;
  margin-bottom: 16px;
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.step__arrow {
  display: grid; place-items: center;
  font-size: 24px;
  color: var(--brand);
}

/* ---------- Platforms ---------- */
.platforms {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 130px;
  padding: 26px 0;
  font-size: 32px;
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius);
  transition: transform .2s, border-color .2s;
}
.platform:hover { transform: translateY(-5px); border-color: rgba(59,130,246,0.4); }
.platform span { font-size: 14px; color: var(--muted); font-weight: 500; }

/* ---------- CTA ---------- */
.cta { padding: 90px 24px; }
.cta__box {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  padding: 60px 40px;
  border-radius: 28px;
  background:
    radial-gradient(ellipse at top, rgba(59,130,246,0.25), transparent 70%),
    var(--surface);
  border: 1px solid var(--surface-border);
}
.cta__box img { border-radius: 18px; margin-bottom: 22px; }
.cta__box h2 { font-size: clamp(26px, 3.5vw, 36px); font-weight: 800; letter-spacing: -0.02em; }
.cta__box > p { color: var(--muted); font-size: 17px; margin: 14px 0 30px; }
.cta__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta__note { margin-top: 22px; font-size: 13px; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  padding: 4px 22px;
}
.faq__item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 0;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--brand); font-size: 22px; transition: transform .2s; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { color: var(--muted); font-size: 15px; padding: 0 0 18px; }

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: 50px 24px 40px;
  border-top: 1px solid var(--surface-border);
}
.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
}
.footer__brand img { border-radius: 8px; }
.footer__tag { color: var(--muted); margin-top: 12px; font-size: 15px; }
.footer__copy { color: #56617a; margin-top: 8px; font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .nav__links { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 40px; text-align: center; }
  .hero__copy { order: 2; }
  .hero__art { order: 1; }
  .lead, .hero__actions, .hero__meta { margin-left: auto; margin-right: auto; }
  .hero__actions, .hero__meta { justify-content: center; }
  .grid { grid-template-columns: 1fr; }
  .step__arrow { transform: rotate(90deg); }
}
@media (max-width: 560px) {
  .phone { width: 260px; height: 530px; }
  .section { padding: 60px 20px; }
}
