:root {
  --bg: #07090f;
  --bg-elev: #0e121b;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --text: #f2f4f8;
  --text-muted: #9aa3b5;
  --text-faint: #6b7385;
  --blue: #3b73e6;
  --sky: #5bbdf8;
  --accent: #0a84ff;
  --gradient: linear-gradient(135deg, #3b73e6 0%, #5bbdf8 100%);
  --radius: 22px;
  --max: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "Segoe UI", Roboto, Arial, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 9, 15, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; font-size: 18px; }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }

.nav { display: flex; align-items: center; gap: 22px; font-size: 15px; }
.nav a { color: var(--text-muted); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }

.lang-switch {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .nav { gap: 14px; font-size: 14px; }
  .nav .hide-sm { display: none; }
}

/* Hero */

.hero { position: relative; padding: 88px 0 72px; overflow: hidden; }

.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto 30%;
  height: 900px;
  background: radial-gradient(closest-side, rgba(59, 115, 230, 0.35), transparent 70%),
              radial-gradient(closest-side at 70% 40%, rgba(91, 189, 248, 0.22), transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 22px;
}

.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gradient); }

h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 0 0 22px;
}

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

.lead { font-size: clamp(18px, 2vw, 21px); color: var(--text-muted); max-width: 34em; margin: 0 0 34px; }

.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.cta-row .badge img { height: 52px; width: auto; }
.cta-note { color: var(--text-faint); font-size: 14px; }

.hero-visual { position: relative; display: flex; justify-content: center; }

@media (max-width: 900px) {
  .hero { padding: 56px 0 40px; }
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .cta-row { justify-content: center; }
}

/* Phone frame */

.phone {
  position: relative;
  width: min(300px, 72vw);
  aspect-ratio: 1320 / 2868;
  border-radius: 48px;
  padding: 10px;
  background: linear-gradient(160deg, #2a2f3a, #12151c);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08) inset,
              0 40px 80px -20px rgba(0, 0, 0, 0.7),
              0 0 120px -30px rgba(59, 115, 230, 0.6);
}

.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 39px; }

.phone.small { width: min(240px, 60vw); border-radius: 40px; padding: 8px; }
.phone.small img { border-radius: 33px; }

/* Sections */

section { padding: 96px 0; }
section.tight { padding: 64px 0; }

.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }

h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 16px;
}

.section-head p { color: var(--text-muted); font-size: 19px; margin: 0; }

/* Feature cards */

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

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  section { padding: 64px 0; }
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.card h3 { font-size: 20px; letter-spacing: -0.01em; margin: 16px 0 8px; }
.card p { color: var(--text-muted); margin: 0; font-size: 16px; }

.icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: var(--gradient);
  box-shadow: 0 8px 24px -8px rgba(59, 115, 230, 0.8);
}

.icon svg { width: 24px; height: 24px; stroke: #fff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Showcase rows */

.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.showcase + .showcase { margin-top: 112px; }
.showcase.reverse .showcase-visual { order: 2; }
.showcase-visual { display: flex; justify-content: center; }
.showcase-text .step { color: var(--sky); font-weight: 600; font-size: 15px; letter-spacing: 0.02em; margin-bottom: 12px; }
.showcase-text p { color: var(--text-muted); font-size: 18px; }
.showcase-text ul { padding: 0; margin: 20px 0 0; list-style: none; }
.showcase-text li { position: relative; padding-left: 28px; margin: 10px 0; color: var(--text-muted); }
.showcase-text li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid var(--sky);
}

@media (max-width: 900px) {
  .showcase { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .showcase.reverse .showcase-visual { order: 0; }
  .showcase-text ul { display: inline-block; text-align: left; }
}

/* Variants chips */

.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.chip { padding: 8px 14px; border-radius: 999px; background: var(--surface-strong); border: 1px solid var(--border); font-size: 14px; color: var(--text); }

@media (max-width: 900px) { .chips { justify-content: center; } }

/* Pricing */

.plan { display: flex; flex-direction: column; }
.plan .plan-name { font-size: 15px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.04em; text-transform: uppercase; }
.plan .plan-title { font-size: 28px; font-weight: 700; letter-spacing: -0.02em; margin: 6px 0 4px; }
.plan .plan-sub { color: var(--text-muted); margin: 0 0 18px; font-size: 16px; }
.plan ul { margin: 0; padding: 0; list-style: none; }
.plan li { padding: 9px 0; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 16px; }
.plan.pro { background: linear-gradient(160deg, rgba(59, 115, 230, 0.22), rgba(91, 189, 248, 0.06)); border-color: rgba(91, 189, 248, 0.35); }
.fine-print { color: var(--text-faint); font-size: 14px; text-align: center; max-width: 760px; margin: 28px auto 0; }

/* Privacy banner */

.privacy-banner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 36px 40px;
}

.privacy-banner h3 { font-size: 24px; margin: 0 0 6px; letter-spacing: -0.02em; }
.privacy-banner p { margin: 0; color: var(--text-muted); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--surface-strong);
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  white-space: nowrap;
}

.button:hover { text-decoration: none; background: rgba(255, 255, 255, 0.12); }
.button.primary { background: var(--gradient); border: none; color: #fff; }
.button.primary:hover { filter: brightness(1.08); }

@media (max-width: 760px) {
  .privacy-banner { grid-template-columns: 1fr; text-align: center; padding: 32px 24px; }
  .privacy-banner .icon { margin: 0 auto; }
}

/* FAQ */

.faq { max-width: 780px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--border); padding: 4px 0; }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 36px 18px 0;
  font-weight: 600;
  font-size: 18px;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 14px;
  font-size: 24px;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; color: var(--text-muted); }

/* Final CTA */

.final-cta { text-align: center; }
.final-cta .app-icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 26px; box-shadow: 0 20px 60px -15px rgba(59, 115, 230, 0.8); }
.final-cta .cta-row { justify-content: center; margin-top: 30px; }

/* Footer */

.site-footer { border-top: 1px solid var(--border); padding: 36px 0 48px; color: var(--text-faint); font-size: 14px; }
.site-footer .container { display: flex; flex-wrap: wrap; gap: 16px 28px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer a { color: var(--text-muted); }

/* Legal / document pages */

.doc { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.doc h1 { font-size: clamp(30px, 5vw, 52px); hyphens: auto; overflow-wrap: break-word; }
.doc .updated { color: var(--text-faint); margin: 0 0 40px; }
.doc h2 { font-size: 24px; letter-spacing: -0.015em; margin: 44px 0 12px; }
.doc h3 { font-size: 18px; margin: 28px 0 8px; }
.doc p, .doc li { color: #c6ccd8; }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin: 0 0 12px;
}
.doc .summary p { margin: 0; }
.doc .summary ul { margin: 10px 0 0; }

.contact-card { text-align: center; padding: 40px 28px; }
.contact-card .email { font-size: clamp(20px, 3vw, 26px); font-weight: 600; margin: 8px 0 22px; display: block; word-break: break-all; }
