:root {
  --bg: #070a14;
  --bg-soft: #0c1122;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);
  --text: #eef1fb;
  --text-soft: #a7b0cc;
  --text-dim: #6d7699;
  --accent: #6d5efc;
  --accent-2: #22d3ee;
  --accent-3: #c05bff;
  --grad: linear-gradient(120deg, #6d5efc 0%, #c05bff 45%, #22d3ee 100%);
  --grad-soft: linear-gradient(120deg, rgba(109, 94, 252, 0.18), rgba(34, 211, 238, 0.14));
  --radius: 18px;
  --radius-lg: 26px;
  --shadow: 0 24px 60px -20px rgba(4, 6, 18, 0.75);
  --maxw: 1180px;
  --nav-h: 72px;
  --font-head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

:root[data-theme="light"] {
  --bg: #f6f7fc;
  --bg-soft: #ffffff;
  --surface: rgba(16, 20, 45, 0.03);
  --surface-strong: rgba(16, 20, 45, 0.05);
  --border: rgba(16, 20, 45, 0.1);
  --border-strong: rgba(16, 20, 45, 0.18);
  --text: #131730;
  --text-soft: #4a5273;
  --text-dim: #7c85a3;
  --shadow: 0 24px 60px -24px rgba(60, 66, 120, 0.35);
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 0.4s ease, color 0.4s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(109, 94, 252, 0.22), transparent 60%),
    radial-gradient(50% 45% at 90% 10%, rgba(34, 211, 238, 0.16), transparent 55%),
    radial-gradient(55% 60% at 60% 100%, rgba(192, 91, 255, 0.14), transparent 60%);
  filter: saturate(1.1);
  pointer-events: none;
}

:root[data-theme="light"] body::before { opacity: 0.55; }

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, var(--border) 1px, transparent 1px),
    linear-gradient(to bottom, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }

.section { padding: 96px 0; position: relative; }
.section-sm { padding: 64px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-2);
  margin-bottom: 16px;
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: 0.6; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; }

.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); margin-bottom: 16px; }
.section-lead { color: var(--text-soft); font-size: 1.08rem; max-width: 620px; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .section-lead { margin-inline: auto; }
.section-head.center .eyebrow::before { display: none; }

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

/* ---------- Buttons ---------- */
.btn {
  --btn-pad: 13px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: var(--btn-pad);
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.96rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(109, 94, 252, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -12px rgba(109, 94, 252, 0.85); }
.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(12px);
}
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--accent); background: var(--surface-strong); }
.btn-lg { --btn-pad: 16px 30px; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: blur(18px) saturate(1.4);
  border-bottom-color: var(--border);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-head); font-weight: 700; font-size: 1.18rem; letter-spacing: -0.01em; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--grad);
  display: grid; place-items: center;
  box-shadow: 0 8px 20px -8px rgba(109, 94, 252, 0.8);
  flex-shrink: 0;
}
.brand-mark svg { width: 20px; height: 20px; }

.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.94rem;
  color: var(--text-soft);
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--surface); }

.nav-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft);
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.icon-btn:hover { color: var(--text); border-color: var(--border-strong); }
.icon-btn svg { width: 19px; height: 19px; }

/* Language dropdown */
.lang { position: relative; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 0 12px; height: 40px;
  border-radius: 11px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft);
  cursor: pointer;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  transition: color 0.2s, border-color 0.2s;
}
.lang-toggle:hover { color: var(--text); border-color: var(--border-strong); }
.lang-toggle svg { width: 15px; height: 15px; opacity: 0.7; }
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  inset-inline-end: 0;
  min-width: 190px;
  background: color-mix(in srgb, var(--bg-soft) 94%, transparent);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 2px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 120;
  max-height: 320px;
  overflow-y: auto;
}
.lang.open .lang-menu { opacity: 1; transform: translateY(0); pointer-events: auto; }
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 10px;
  background: none; border: none;
  color: var(--text-soft);
  font-family: var(--font-body); font-size: 0.9rem; font-weight: 500;
  cursor: pointer; text-align: start;
  transition: background 0.15s, color 0.15s;
}
.lang-menu button:hover { background: var(--surface); color: var(--text); }
.lang-menu button.active { color: var(--text); background: var(--surface-strong); }
.lang-menu button .native { color: var(--text-dim); font-size: 0.82rem; }

.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero { padding: calc(var(--nav-h) + 70px) 0 90px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 0.82rem;
  color: var(--text-soft);
  margin-bottom: 26px;
  backdrop-filter: blur(10px);
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent-2); box-shadow: 0 0 0 4px rgba(34, 211, 238, 0.18); }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.3rem); margin-bottom: 22px; }
.hero-lead { font-size: 1.16rem; color: var(--text-soft); max-width: 520px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.stat .num { font-family: var(--font-head); font-size: 2rem; font-weight: 700; }
.stat .label { color: var(--text-dim); font-size: 0.88rem; }

.hero-visual { position: relative; aspect-ratio: 1 / 1.05; }
.orb {
  position: absolute; inset: 8%;
  border-radius: 50%;
  background: conic-gradient(from 140deg, rgba(109,94,252,0.5), rgba(34,211,238,0.4), rgba(192,91,255,0.5), rgba(109,94,252,0.5));
  filter: blur(46px);
  opacity: 0.7;
  animation: spin 22s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.phone {
  position: absolute;
  inset: 14% 22%;
  border-radius: 34px;
  background: linear-gradient(160deg, rgba(255,255,255,0.1), rgba(255,255,255,0.02));
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  padding: 18px;
  display: flex; flex-direction: column; gap: 12px;
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.phone-notch { width: 42%; height: 6px; border-radius: 999px; background: var(--border-strong); margin: 2px auto 8px; }
.phone-bar { height: 40px; border-radius: 12px; background: var(--surface-strong); border: 1px solid var(--border); }
.phone-bar.grad { background: var(--grad); border: none; }
.phone-row { display: flex; gap: 10px; }
.phone-row > div { flex: 1; height: 54px; border-radius: 14px; background: var(--surface-strong); border: 1px solid var(--border); }
.phone-list { display: flex; flex-direction: column; gap: 9px; margin-top: 2px; }
.phone-list > div { height: 12px; border-radius: 6px; background: var(--surface-strong); }
.phone-list > div:nth-child(2) { width: 78%; }
.phone-list > div:nth-child(3) { width: 60%; }
.chip {
  position: absolute;
  padding: 10px 14px;
  border-radius: 14px;
  background: color-mix(in srgb, var(--bg-soft) 85%, transparent);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  display: flex; align-items: center; gap: 9px;
  font-size: 0.82rem; font-weight: 600;
  animation: float 6s ease-in-out infinite;
}
.chip svg { width: 17px; height: 17px; color: var(--accent-2); }
.chip.c1 { top: 6%; inset-inline-start: -4%; animation-delay: -2s; }
.chip.c2 { bottom: 10%; inset-inline-end: -6%; animation-delay: -4s; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-5px); border-color: var(--border-strong); background: var(--surface-strong); }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 15px;
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  display: grid; place-items: center;
  color: var(--accent-2);
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.24rem; margin-bottom: 10px; }
.card p { color: var(--text-soft); font-size: 0.98rem; }

/* Process */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding-top: 8px; }
.step-num {
  font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
  width: 46px; height: 46px; border-radius: 13px;
  display: grid; place-items: center;
  background: var(--surface-strong); border: 1px solid var(--border-strong);
  color: var(--accent-2);
  margin-bottom: 18px;
}
.step h3 { font-size: 1.16rem; margin-bottom: 8px; }
.step p { color: var(--text-soft); font-size: 0.95rem; }

/* Why / feature list */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-list { display: grid; gap: 18px; }
.feature { display: flex; gap: 15px; align-items: flex-start; }
.feature .tick {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 9px;
  background: var(--grad-soft); border: 1px solid var(--border-strong);
  display: grid; place-items: center; color: var(--accent-2);
  margin-top: 2px;
}
.feature .tick svg { width: 16px; height: 16px; }
.feature h4 { font-size: 1.05rem; margin-bottom: 3px; }
.feature p { color: var(--text-soft); font-size: 0.95rem; }

.stat-panel {
  background: var(--grad-soft);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 30px;
}
.stat-panel .stat .num { font-size: 2.5rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-panel .stat .label { font-size: 0.92rem; margin-top: 2px; }

/* CTA band */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, rgba(109,94,252,0.16), rgba(34,211,238,0.1));
}
.cta-band::before {
  content: ""; position: absolute; inset: -40%;
  background: radial-gradient(40% 40% at 30% 30%, rgba(192,91,255,0.3), transparent 60%);
  animation: spin 26s linear infinite; z-index: 0;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 14px; }
.cta-band p { color: var(--text-soft); max-width: 520px; margin: 0 auto 28px; font-size: 1.05rem; }

/* ---------- Page hero (inner) ---------- */
.page-hero { padding: calc(var(--nav-h) + 64px) 0 40px; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: 14px; }
.page-hero p { color: var(--text-soft); font-size: 1.08rem; max-width: 640px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 20px; color: var(--text-dim); font-size: 0.9rem; }
.meta-row span { display: inline-flex; align-items: center; gap: 7px; }
.meta-row svg { width: 15px; height: 15px; }

/* ---------- Legal / prose ---------- */
.prose-wrap { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.toc { position: sticky; top: calc(var(--nav-h) + 24px); display: grid; gap: 4px; font-size: 0.9rem; }
.toc a { padding: 7px 12px; border-radius: 9px; color: var(--text-dim); transition: color 0.2s, background 0.2s; border-left: 2px solid transparent; }
.toc a:hover, .toc a.active { color: var(--text); background: var(--surface); }
.prose { max-width: 760px; }
.prose section { padding: 18px 0 30px; border-top: 1px solid var(--border); }
.prose section:first-child { border-top: none; padding-top: 0; }
.prose h2 { font-size: 1.5rem; margin-bottom: 14px; scroll-margin-top: calc(var(--nav-h) + 20px); }
.prose h3 { font-size: 1.1rem; margin: 20px 0 8px; }
.prose p { color: var(--text-soft); margin-bottom: 14px; }
.prose ul { display: grid; gap: 9px; margin: 0 0 16px; padding-inline-start: 4px; }
.prose ul li { color: var(--text-soft); position: relative; padding-inline-start: 24px; }
.prose ul li::before { content: ""; position: absolute; inset-inline-start: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
.prose a.inline { color: var(--accent-2); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.prose a.inline:hover { border-bottom-color: currentColor; }
.callout {
  background: var(--surface); border: 1px solid var(--border-strong);
  border-radius: 16px; padding: 18px 20px; margin: 18px 0;
  color: var(--text-soft); font-size: 0.95rem;
  display: flex; gap: 13px; align-items: flex-start;
}
.callout svg { width: 20px; height: 20px; color: var(--accent-2); flex-shrink: 0; margin-top: 2px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 14px; max-width: 820px; margin-inline: auto; }
.faq-item { border: 1px solid var(--border); border-radius: 16px; background: var(--surface); overflow: hidden; transition: border-color 0.2s; }
.faq-item.open { border-color: var(--border-strong); }
.faq-q {
  width: 100%; text-align: start; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; background: none; border: none; color: var(--text);
  font-family: var(--font-head); font-weight: 600; font-size: 1.05rem;
}
.faq-q .plus { flex-shrink: 0; width: 24px; height: 24px; position: relative; transition: transform 0.3s; color: var(--accent-2); }
.faq-q .plus::before, .faq-q .plus::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.faq-q .plus::before { inset: 11px 4px; height: 2px; }
.faq-q .plus::after { inset: 4px 11px; width: 2px; transition: opacity 0.3s; }
.faq-item.open .plus::after { opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a-inner { padding: 0 22px 22px; color: var(--text-soft); }

/* ---------- Support cards ---------- */
.support-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 64px; }
.support-card { text-align: center; padding: 34px 26px; }
.support-card .card-icon { margin-inline: auto; }
.support-card a { color: var(--accent-2); font-weight: 600; font-family: var(--font-head); font-size: 0.95rem; display: inline-flex; gap: 6px; align-items: center; margin-top: 14px; }
.support-card a svg { width: 15px; height: 15px; transition: transform 0.2s; }
.support-card a:hover svg { transform: translateX(3px); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.contact-info { display: grid; gap: 16px; }
.info-item { display: flex; gap: 15px; align-items: flex-start; padding: 20px; border: 1px solid var(--border); border-radius: 16px; background: var(--surface); transition: border-color 0.2s; }
.info-item:hover { border-color: var(--border-strong); }
.info-item .card-icon { width: 44px; height: 44px; margin-bottom: 0; border-radius: 12px; }
.info-item .card-icon svg { width: 20px; height: 20px; }
.info-item h4 { font-size: 1rem; margin-bottom: 2px; }
.info-item p, .info-item a { color: var(--text-soft); font-size: 0.95rem; }
.info-item a:hover { color: var(--accent-2); }

.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 34px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 0.88rem; font-weight: 600; color: var(--text-soft); font-family: var(--font-head); }
.field label .req { color: var(--accent-3); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.97rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(109, 94, 252, 0.16);
}
.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }
.form-note { font-size: 0.84rem; color: var(--text-dim); margin-top: 14px; text-align: center; }
.form-status { display: none; padding: 14px 16px; border-radius: 12px; font-size: 0.92rem; margin-bottom: 18px; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(34, 211, 238, 0.12); border: 1px solid rgba(34, 211, 238, 0.3); color: var(--accent-2); }
.form-status.err { background: rgba(255, 91, 133, 0.12); border: 1px solid rgba(255, 91, 133, 0.3); color: #ff90ab; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 64px 0 32px; margin-top: 40px; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 48px; }
.footer-brand p { color: var(--text-soft); font-size: 0.95rem; margin: 16px 0 20px; max-width: 300px; }
.socials { display: flex; gap: 10px; }
.footer-col h4 { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); margin-bottom: 16px; font-family: var(--font-head); }
.footer-col a { display: block; color: var(--text-soft); padding: 5px 0; font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 28px; border-top: 1px solid var(--border); color: var(--text-dim); font-size: 0.88rem; }
.footer-bottom .links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--text); }

/* ---------- Reveal animation ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.08s; }
[data-reveal][data-delay="2"] { transition-delay: 0.16s; }
[data-reveal][data-delay="3"] { transition-delay: 0.24s; }

/* ---------- Home hub ---------- */
.home-hero { padding: calc(var(--nav-h) + 78px) 0 22px; text-align: center; }
.home-hero .container { display: flex; flex-direction: column; align-items: center; }
.home-mark { width: 74px; height: 74px; border-radius: 21px; background: var(--grad); display: grid; place-items: center; box-shadow: 0 18px 44px -12px rgba(109, 94, 252, 0.7); margin-bottom: 28px; }
.home-mark svg { width: 40px; height: 40px; }
.home-hero .eyebrow::before { display: none; }
.home-hero h1 { font-size: clamp(2.6rem, 6vw, 4rem); margin-bottom: 18px; }
.home-hero p { color: var(--text-soft); font-size: 1.12rem; max-width: 560px; }

.hub-grid { max-width: 860px; margin: 0 auto; }
.card-link { display: block; height: 100%; }
.card-link .card { height: 100%; }
.card-open { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--accent-2); font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; }
.card-open svg { width: 15px; height: 15px; transition: transform 0.2s; }
.card-link:hover .card-open svg { transform: translateX(3px); }
[dir="rtl"] .card-open svg { transform: scaleX(-1); }
[dir="rtl"] .card-link:hover .card-open svg { transform: scaleX(-1) translateX(3px); }

.contact-strip { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.contact-pill { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--text-soft); font-size: 0.95rem; transition: border-color 0.2s, color 0.2s; }
.contact-pill:hover { border-color: var(--border-strong); color: var(--text); }
.contact-pill svg { width: 17px; height: 17px; color: var(--accent-2); }

.footer-grid.simple { grid-template-columns: 1.6fr 1fr 1fr; }
@media (max-width: 720px) { .footer-grid.simple { grid-template-columns: 1fr; } }

/* ---------- RTL ---------- */
[dir="rtl"] .eyebrow::before { transform: scaleX(-1); }
[dir="rtl"] .badge { padding: 7px 10px 7px 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 380px; margin-inline: auto; width: 100%; }
  .why-grid { grid-template-columns: 1fr; gap: 36px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .support-cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .prose-wrap { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; display: flex; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--nav-h); inset-inline: 12px;
    background: color-mix(in srgb, var(--bg-soft) 96%, transparent);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-strong); border-radius: 18px;
    padding: 12px; gap: 4px; box-shadow: var(--shadow);
  }
  .nav-links.open a { padding: 12px 16px; }
  .nav-toggle { display: grid; }
  .form-row { grid-template-columns: 1fr; }
  .stat-panel { grid-template-columns: 1fr; }
  .grid-3, .grid-2, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  .cta-band { padding: 48px 26px; }
  .desktop-only { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}
