/* ---------- Tokens ---------- */
:root {
  --indigo: #2A5A92;
  --indigo-deep: #173E6E;
  --indigo-ink: #0A2444;
  --violet: #A8C2E8;
  --violet-soft: #D0DEF1;
  --bg: #E4EEFB;
  --bg-card: #FFFFFF;
  --ink: #0A2444;
  --ink-2: #2E4870;
  --ink-3: #6B82A8;
  --line: #D2DEEF;
  --line-2: #B5C5DC;
  --tg-blue: #2AABEE;
  --shadow-sm: 0 1px 2px rgba(20, 60, 120, 0.05), 0 2px 8px rgba(20, 60, 120, 0.05);
  --shadow-md: 0 2px 6px rgba(20, 60, 120, 0.06), 0 12px 32px rgba(20, 60, 120, 0.10);
  --shadow-lg: 0 4px 12px rgba(20, 60, 120, 0.08), 0 24px 60px rgba(20, 60, 120, 0.18);
  --shadow-xl: 0 8px 24px rgba(20, 60, 120, 0.10), 0 40px 100px rgba(20, 60, 120, 0.22);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 32px;
  --scale: 1;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  transition: transform .25s cubic-bezier(.2,.8,.3,1), box-shadow .25s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 6px 18px rgba(42, 90, 146, 0.40);
}
.btn-primary:hover { background: var(--indigo-deep); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255,255,255,.15) inset, 0 10px 24px rgba(23, 62, 110, 0.45); }
.btn-secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-2);
}
.btn-secondary:hover { border-color: var(--indigo); color: var(--indigo-ink); transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { color: var(--indigo-ink); }
.btn-lg { height: 52px; padding: 0 28px; font-size: 15.5px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.2,.8,.3,1), transform .8s cubic-bezier(.2,.8,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }

/* ---------- Nav ---------- */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  transition: backdrop-filter .3s, background .3s, box-shadow .3s, padding .3s;
}
.nav-wrap.scrolled {
  background: rgba(248, 246, 252, 0.78);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 1px 0 rgba(42, 90, 146, 0.12);
  padding: 12px 0;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--indigo) 0%, var(--violet) 110%);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(42, 90, 146, 0.35);
}
.brand-mark svg { width: 18px; height: 18px; }
.nav-menu {
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-link {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .2s, background .2s;
}
.nav-link:hover { color: var(--ink); background: rgba(42, 90, 146, 0.08); }
.nav-cta { display: flex; gap: 10px; align-items: center; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(56px * var(--scale)) 0 calc(100px * var(--scale));
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: -60px 0 0 0;
  z-index: -1;
  background:
    radial-gradient(60% 50% at 18% 22%, rgba(42, 90, 146, 0.32) 0%, transparent 60%),
    radial-gradient(55% 45% at 85% 30%, rgba(168, 194, 232, 0.55) 0%, transparent 60%),
    radial-gradient(70% 60% at 50% 100%, rgba(208, 222, 241, 0.60) 0%, transparent 65%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 8px;
  background: rgba(255,255,255,0.8);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.01em;
  backdrop-filter: blur(8px);
}
.eyebrow-dot {
  width: 18px; height: 18px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  display: grid; place-items: center;
}
.eyebrow-dot svg { width: 10px; height: 10px; color: white; }

h1.hero-title {
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 22px 0 20px;
  color: var(--ink);
  text-wrap: balance;
}
h1.hero-title .accent {
  background: linear-gradient(110deg, var(--indigo-deep) 0%, var(--indigo) 50%, var(--violet) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-style: italic;
  font-weight: 600;
}
.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 480px;
  margin: 0 0 32px;
  text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 36px;
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--ink-3);
  font-size: 13.5px;
}
.hero-meta-item { display: flex; align-items: center; gap: 8px; }
.hero-meta-item svg { width: 16px; height: 16px; color: var(--indigo); }
.lang-chips { display: flex; gap: 6px; }
.lang-chip {
  padding: 3px 9px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line-2);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.04em;
}

/* Phone */
.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 600px;
}
.phone-stage::before {
  content: "";
  position: absolute;
  width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(42, 90, 146, 0.28), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.phone {
  position: relative;
  width: 320px;
  height: 640px;
  background: #0E1626;
  border-radius: 46px;
  padding: 12px;
  box-shadow:
    0 0 0 1.5px rgba(0,0,0,0.4),
    0 50px 100px -30px rgba(20, 60, 120, 0.45),
    0 30px 60px -20px rgba(20, 60, 120, 0.30);
  z-index: 1;
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.phone-screen {
  width: 100%; height: 100%;
  background: #ffffff;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}
.phone-notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 26px;
  background: #0E1626;
  border-radius: 999px;
  z-index: 5;
}

/* Telegram chat */
.tg-status {
  height: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 28px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  flex-shrink: 0;
}
.tg-status-icons { display: flex; gap: 4px; align-items: center; }
.tg-status-icons svg { width: 14px; height: 14px; }
.tg-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 10px;
  border-bottom: 1px solid #f0f0f3;
  flex-shrink: 0;
}
.tg-back { color: var(--tg-blue); font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 2px; }
.tg-avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--indigo), var(--violet));
  display: grid; place-items: center;
  color: white;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
  overflow: hidden;
}
.tg-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tg-title {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}
.tg-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.tg-status-text { font-size: 11px; color: var(--ink-3); }
.tg-status-text .dot {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #4ade80;
  margin-right: 4px;
  vertical-align: middle;
}
.tg-body {
  flex: 1;
  background: linear-gradient(180deg, #E4EEFB 0%, #D1E0F4 100%);
  padding: 14px 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
}
.tg-day {
  align-self: center;
  background: rgba(255,255,255,0.7);
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 500;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.tg-msg {
  max-width: 80%;
  padding: 8px 12px 10px;
  border-radius: 16px;
  font-size: 12.5px;
  line-height: 1.4;
  position: relative;
  animation: msgIn .5s cubic-bezier(.2,.8,.3,1) both;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
.tg-msg-user {
  align-self: flex-end;
  background: linear-gradient(135deg, #2A5A92, #173E6E);
  color: white;
  border-bottom-right-radius: 4px;
}
.tg-msg-bot {
  align-self: flex-start;
  background: white;
  color: var(--ink);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 2px rgba(20, 60, 120, 0.08);
}
.tg-time {
  display: block;
  font-size: 9.5px;
  margin-top: 2px;
  opacity: 0.6;
  text-align: right;
}
.tg-msg-bot .tg-time { color: var(--ink-3); }
.tg-typing {
  align-self: flex-start;
  background: white;
  padding: 10px 14px;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  display: flex;
  gap: 4px;
  box-shadow: 0 1px 2px rgba(20, 60, 120, 0.08);
  animation: msgIn .5s cubic-bezier(.2,.8,.3,1) both;
}
.tg-typing span {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--indigo);
  animation: typing 1.4s infinite;
}
.tg-typing span:nth-child(2) { animation-delay: .2s; }
.tg-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}
.tg-card {
  align-self: flex-start;
  background: white;
  border-radius: var(--r-md);
  padding: 10px;
  width: 84%;
  box-shadow: 0 1px 2px rgba(20, 60, 120, 0.08);
  display: flex;
  gap: 9px;
  align-items: center;
  animation: msgIn .5s cubic-bezier(.2,.8,.3,1) both;
}
.tg-card-icon {
  width: 36px; height: 36px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--violet-soft), var(--violet));
  display: grid; place-items: center;
  flex-shrink: 0;
}
.tg-card-icon svg { width: 18px; height: 18px; color: var(--indigo-ink); }
.tg-card-body { flex: 1; min-width: 0; }
.tg-card-title { font-size: 11.5px; font-weight: 600; color: var(--ink); }
.tg-card-meta { font-size: 10px; color: var(--ink-3); margin-top: 1px; }
.tg-input {
  height: 48px;
  background: white;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 10px;
  border-top: 1px solid #f0f0f3;
  flex-shrink: 0;
}
.tg-input-field {
  flex: 1;
  height: 32px;
  background: #f4f4f7;
  border-radius: 16px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 12px;
  color: var(--ink-3);
}
.tg-input-icons { display: flex; gap: 8px; color: var(--ink-3); }
.tg-input-icons svg { width: 18px; height: 18px; }

/* Floating chips around phone */
.float-chip {
  position: absolute;
  background: white;
  padding: 10px 14px;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  z-index: 2;
  animation: chipFloat 5s ease-in-out infinite;
}
.float-chip svg { width: 18px; height: 18px; }
.float-chip-1 { top: 12%; left: -10%; animation-delay: 0s; }
.float-chip-2 { top: 42%; right: -16%; animation-delay: 1.5s; }
.float-chip-3 { bottom: 14%; left: -14%; animation-delay: 3s; }
@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Sections ---------- */
section { position: relative; }
.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto calc(56px * var(--scale));
}
.section-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--indigo-deep);
  margin-bottom: 14px;
}
h2.section-title {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--ink);
  text-wrap: balance;
}
.section-sub {
  font-size: 17px;
  color: var(--ink-2);
  margin: 0;
  text-wrap: pretty;
}

/* ---------- Features ---------- */
.features { padding: calc(100px * var(--scale)) 0; }
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .35s cubic-bezier(.2,.8,.3,1), box-shadow .35s, border-color .35s;
  position: relative;
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 140px; height: 140px;
  background: radial-gradient(circle at top right, rgba(168, 194, 232, 0.35), transparent 70%);
  opacity: 0;
  transition: opacity .35s;
  pointer-events: none;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--violet);
}
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--r-md);
  background: linear-gradient(135deg, var(--violet-soft), var(--violet));
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.6), 0 6px 16px rgba(42, 90, 146, 0.18);
}
.feature-icon svg { width: 28px; height: 28px; }
h3.feature-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: var(--ink);
}
.feature-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

/* ---------- Pricing ---------- */
.pricing { padding: calc(100px * var(--scale)) 0; background: linear-gradient(180deg, transparent 0%, rgba(208, 222, 241, 0.45) 100%); }
.toggle {
  display: inline-flex;
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 4px;
  margin: 24px auto 0;
  position: relative;
}
.toggle button {
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  position: relative;
  z-index: 2;
  transition: color .25s;
}
.toggle button.active { color: white; }
.toggle-pill {
  position: absolute;
  top: 4px; bottom: 4px;
  background: var(--indigo);
  border-radius: 999px;
  transition: transform .35s cubic-bezier(.2,.8,.3,1), width .35s;
  box-shadow: 0 4px 12px rgba(42, 90, 146, 0.40);
  z-index: 1;
}
.save-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 7px;
  background: rgba(74,222,128,0.15);
  color: #16a34a;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  vertical-align: middle;
}
.toggle button.active .save-tag {
  background: rgba(255,255,255,0.25);
  color: white;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
  align-items: stretch;
}
.price-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform .35s, box-shadow .35s;
  position: relative;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.price-card.featured {
  background: linear-gradient(180deg, #0F2542 0%, #1F3F66 100%);
  color: white;
  border: 0;
  box-shadow: 0 30px 80px -20px rgba(20, 60, 120, 0.45);
  transform: translateY(-12px);
}
.price-card.featured:hover { transform: translateY(-16px); }
.price-card.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--r-lg);
  background: radial-gradient(60% 50% at 70% 0%, rgba(168, 194, 232, 0.22), transparent 70%);
  pointer-events: none;
}
.price-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--violet), var(--indigo));
  color: white;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(42, 90, 146, 0.40);
}
.price-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.price-card.featured .price-name { color: var(--violet); }
.price-tagline {
  font-size: 13.5px;
  color: var(--ink-2);
  margin: 0 0 22px;
  min-height: 38px;
}
.price-card.featured .price-tagline { color: rgba(255,255,255,0.65); }
.price-amount {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}
.price-stars-icon {
  display: inline-flex;
  width: 28px; height: 28px;
  margin-right: 2px;
  align-self: center;
}
.price-num {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
}
.price-card.featured .price-num { color: white; }
.price-period {
  font-size: 14px;
  color: var(--ink-3);
  font-weight: 500;
}
.price-card.featured .price-period { color: rgba(255,255,255,0.6); }
.price-currency {
  font-size: 13px;
  color: var(--ink-3);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.price-card.featured .price-currency { color: rgba(255,255,255,0.6); }
.price-features {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.price-features li {
  display: flex;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-2);
}
.price-card.featured .price-features li { color: rgba(255,255,255,0.85); }
.price-features svg {
  width: 18px; height: 18px;
  flex-shrink: 0;
  color: var(--indigo);
  margin-top: 1px;
}
.price-card.featured .price-features svg { color: var(--violet); }
.price-cta {
  width: 100%;
}
.price-card .btn-primary { background: var(--indigo); }
.price-card.featured .btn-primary {
  background: white;
  color: var(--ink);
}
.price-card.featured .btn-primary:hover { background: var(--violet); color: var(--ink); }

/* ---------- Footer ---------- */
.footer {
  background: #0A1A2E;
  color: rgba(255,255,255,0.7);
  padding: 80px 0 32px;
  margin-top: 60px;
  position: relative;
  overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(42, 90, 146, 0.40), transparent);
}
.footer-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(42, 90, 146, 0.18), transparent 70%);
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  position: relative;
  margin-bottom: 56px;
}
.footer-brand { max-width: 320px; }
.footer-brand .brand { color: white; margin-bottom: 14px; }
.footer-tag {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.6);
  margin: 0 0 22px;
}
.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 38px; height: 38px;
  border-radius: var(--r-sm);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.7);
  transition: background .25s, color .25s, transform .25s, border-color .25s;
}
.footer-social:hover {
  background: var(--indigo);
  color: white;
  transform: translateY(-2px);
  border-color: var(--indigo);
}
.footer-social svg { width: 17px; height: 17px; }
.footer-col h4 {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: white;
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: color .2s;
}
.footer-col a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 14px;
}
.footer-langs { display: flex; gap: 8px; }
.footer-langs span {
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.6);
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .phone-stage { min-height: 560px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.featured { transform: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .nav-menu { display: none; }
  .feature-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .float-chip-1, .float-chip-3 { left: 0%; }
  .float-chip-2 { right: 0%; }
}

/* ---------- Document / Legal pages ---------- */
.page-hero {
  position: relative;
  padding: calc(64px * var(--scale)) 0 calc(40px * var(--scale));
  overflow: hidden;
  text-align: center;
}
.page-hero .hero-bg {
  position: absolute;
  inset: -60px 0 0 0;
  z-index: -1;
  background:
    radial-gradient(50% 50% at 50% 0%, rgba(42, 90, 146, 0.18) 0%, transparent 70%),
    radial-gradient(60% 50% at 0% 50%, rgba(168, 194, 232, 0.35) 0%, transparent 60%),
    var(--bg);
}
.page-hero .eyebrow {
  margin: 0 auto;
}
.page-hero h1 {
  font-size: clamp(36px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 700;
  margin: 22px 0 12px;
  color: var(--ink);
  text-wrap: balance;
}
.page-hero .updated {
  color: var(--ink-3);
  font-size: 14px;
  margin: 0;
}

.doc-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 32px 100px;
}
.doc-toc {
  position: sticky;
  top: 90px;
  align-self: start;
  font-size: 13px;
}
.doc-toc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
}
.doc-toc ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border-left: 1px solid var(--line);
}
.doc-toc a {
  display: block;
  padding: 4px 0 4px 14px;
  color: var(--ink-2);
  font-size: 13.5px;
  border-left: 2px solid transparent;
  margin-left: -1px;
  transition: color .2s, border-color .2s;
}
.doc-toc a:hover {
  color: var(--indigo);
  border-left-color: var(--indigo);
}

.doc {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 48px 52px;
  box-shadow: var(--shadow-sm);
}
.doc h2 {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 44px 0 14px;
  scroll-margin-top: 90px;
}
.doc h2:first-child { margin-top: 0; }
.doc h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin: 26px 0 10px;
}
.doc p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--ink-2);
  margin: 0 0 16px;
}
.doc ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.doc li {
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-2);
  padding-left: 22px;
  position: relative;
}
.doc li::before {
  content: "";
  position: absolute;
  left: 4px; top: 11px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--violet);
}
.doc a {
  color: var(--indigo);
  border-bottom: 1px solid rgba(42, 90, 146, 0.25);
  transition: color .2s, border-color .2s;
}
.doc a:hover {
  color: var(--indigo-deep);
  border-bottom-color: var(--indigo);
}
.doc strong { color: var(--ink); font-weight: 600; }
.doc code {
  background: var(--violet-soft);
  color: var(--indigo-ink);
  padding: 2px 7px;
  border-radius: 5px;
  font-size: 0.9em;
  font-family: ui-monospace, "JetBrains Mono", "Fira Code", monospace;
}

@media (max-width: 1000px) {
  .doc-layout { grid-template-columns: 1fr; gap: 32px; padding: 32px 20px 80px; }
  .doc-toc { display: none; }
  .doc { padding: 32px 28px; }
}
@media (max-width: 640px) {
  .doc { padding: 28px 20px; border-radius: var(--r-md); }
}

/* ---------- Contact page ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 48px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 40px 32px 60px;
  align-items: start;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.contact-method {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  transition: transform .25s, box-shadow .25s, border-color .25s;
  text-decoration: none;
  color: inherit;
}
.contact-method:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--violet);
}
.contact-method-icon {
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--violet-soft), var(--violet));
  display: grid; place-items: center;
  flex-shrink: 0;
  color: var(--indigo-ink);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.5);
}
.contact-method-icon svg { width: 22px; height: 22px; }
.contact-method-body { flex: 1; min-width: 0; }
.contact-method-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 2px;
}
.contact-method-value {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  word-break: break-word;
}
.contact-method-meta {
  font-size: 12.5px;
  color: var(--ink-3);
  margin-top: 2px;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 36px 36px 32px;
  box-shadow: var(--shadow-sm);
}
.contact-card h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 22px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}
.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: #fff;
  padding: 11px 14px;
  font-family: inherit;
  font-size: 14.5px;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(42, 90, 146, 0.12);
}
.form-group textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.5;
}
.form-submit {
  align-self: flex-start;
  margin-top: 8px;
}
.form-status {
  margin-top: 14px;
  font-size: 14px;
  text-align: center;
  display: none;
}

/* FAQ */
.faq {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 32px 100px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 32px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq-item[open] {
  border-color: var(--violet);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: color .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  width: 24px; height: 24px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--violet-soft);
  color: var(--indigo-ink);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
  transition: transform .25s, background .25s;
}
.faq-item[open] summary::after {
  content: "−";
  background: var(--indigo);
  color: white;
}
.faq-item summary:hover { color: var(--indigo-ink); }
.faq-answer {
  padding: 0 22px 20px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.faq-answer p { margin: 0 0 10px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer a {
  color: var(--indigo);
  border-bottom: 1px solid rgba(42, 90, 146, 0.25);
}
.faq-answer a:hover { color: var(--indigo-deep); border-bottom-color: var(--indigo); }

@media (max-width: 1000px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 20px 60px;
  }
  .contact-card { padding: 28px 24px; }
  .faq { padding: 32px 20px 80px; }
}
