:root {
  --bg: #0b0d1a; --bg-2: #11142a; --card: #151936; --card-2: #1b2045; --line: #262c55;
  --text: #eef0fa; --text-2: #b7bcd8; --muted: #8288aa;
  --violet: #8b7dff; --teal: #22d3b6; --gold: #f5c451;
  --grad: linear-gradient(135deg, #8b7dff 0%, #22d3b6 100%);
  --radius: 16px;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }
.wrap { width: min(1160px, 100% - 32px); margin: 0 auto; }
.wrap.narrow { width: min(780px, 100% - 32px); }
.small { font-size: 13px; color: var(--muted); }

/* ---------- header */
#site-header { position: sticky; top: 0; z-index: 10; background: rgba(11,13,26,.82); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 20px; letter-spacing: -.01em; text-decoration: none !important; }
.brand b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.links { display: flex; gap: 22px; margin-left: 12px; }
.links a { color: var(--text-2); font-weight: 500; font-size: 15px; }
.links a:hover, .links a.on { color: var(--text); text-decoration: none; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lang { display: flex; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 2px; }
.lang button { background: none; border: 0; color: var(--muted); font: 600 12.5px var(--font); padding: 5px 9px; border-radius: 8px; cursor: pointer; }
.lang button.on { background: var(--card-2); color: var(--text); }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 12px; font-weight: 650; font-size: 15px; border: 1px solid transparent; cursor: pointer; text-decoration: none !important; transition: .18s; }
.btn.primary { background: var(--grad); color: #0b0d1a; box-shadow: 0 10px 30px rgba(34,211,182,.25); }
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(139,125,255,.35); }
.btn.ghost { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.02); }
.btn.ghost:hover { border-color: var(--violet); }
.btn.small { padding: 8px 14px; font-size: 14px; border-radius: 10px; }
.btn.tg { background: #229ed9; color: #fff; }
.btn.big { padding: 15px 28px; font-size: 16px; }
.link { font-weight: 600; }

/* ---------- hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 70px; background:
  radial-gradient(700px 380px at 12% 0%, rgba(139,125,255,.28), transparent 70%),
  radial-gradient(600px 360px at 95% 30%, rgba(34,211,182,.18), transparent 70%); }
.hero-inner { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.eyebrow { display: inline-block; margin: 0 0 14px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 99px; color: var(--text-2); font-size: 13px; font-weight: 600; background: rgba(255,255,255,.03); }
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: -.03em; margin: 0 0 18px; }
.hero h1 { background: linear-gradient(180deg, #fff 30%, #c8c6ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: var(--text-2); max-width: 640px; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 22px; }
.badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--text-2); font-size: 14px; }
.badges li::before { content: "✓"; color: var(--teal); font-weight: 800; margin-right: 7px; }
.hero-art { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.hero-art img { width: 46%; border-radius: 28px; box-shadow: 0 30px 80px rgba(139,125,255,.45); animation: float 6s ease-in-out infinite; }
.orbit { position: absolute; border: 1px dashed rgba(139,125,255,.35); border-radius: 50%; }
.o1 { inset: 12%; animation: spin 40s linear infinite; }
.o2 { inset: 0; border-color: rgba(34,211,182,.22); animation: spin 70s linear infinite reverse; }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- sections */
.section { padding: 72px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
h2 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; margin: 0 0 10px; }
.sub { color: var(--text-2); margin: 0 0 28px; }
.grid { display: grid; gap: 16px; margin-top: 24px; }
.grid.countries { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.card { background: linear-gradient(180deg, var(--card), #12162f); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; transition: .18s; }
.card:hover { border-color: #3a4180; }
.card h3 { margin: 0 0 8px; font-size: 18px; letter-spacing: -.01em; }
.card p { margin: 0; color: var(--text-2); font-size: 15px; }
.country .flag { font-size: 34px; line-height: 1; margin-bottom: 12px; }
.country .reg { font-size: 13px; color: var(--violet); font-weight: 600; margin-bottom: 8px; }
.step .num { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--grad); color: #0b0d1a; font-weight: 800; margin-bottom: 14px; }
.guide h3::before { content: "📘"; margin-right: 8px; }
.tg-box { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 36px; border-radius: 22px; border: 1px solid rgba(34,158,217,.35);
  background: radial-gradient(500px 200px at 0% 0%, rgba(34,158,217,.25), transparent 70%), var(--card); }
.tg-box p { color: var(--text-2); margin: 0; }
.rg-box { display: flex; gap: 26px; align-items: center; }
.rg-box p { color: var(--text-2); }
.age { display: inline-grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px; border-radius: 50%; border: 2px solid var(--gold); color: var(--gold); font-weight: 800; font-size: 13px; }
.age.big { min-width: 84px; height: 84px; font-size: 24px; border-width: 3px; flex: none; }

/* ---------- inner pages */
.page h1 { font-size: clamp(32px, 4vw, 44px); }
.page p { color: var(--text-2); }
.block { margin-top: 16px; }
.block h2 { font-size: 20px; margin-bottom: 8px; }
.block ul { margin: 0; padding-left: 20px; color: var(--text-2); }
.block li { margin: 6px 0; }
.block.help { border-color: rgba(34,211,182,.4); }
.contact-box { margin-top: 32px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.contact-box h2 { font-size: 20px; }

/* ---------- footer */
#site-footer { border-top: 1px solid var(--line); background: #080a15; padding: 36px 0 30px; }
.foot-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.foot-top nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-top nav a { color: var(--text-2); font-size: 14px; }
.foot-age { display: flex; align-items: center; gap: 12px; margin: 22px 0 10px; color: var(--text-2); font-size: 14px; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  .grid.four { grid-template-columns: repeat(2, 1fr); }
  .grid.three { grid-template-columns: 1fr; }
  .links { display: none; }
  .tg-box, .rg-box { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .grid.four { grid-template-columns: 1fr; }
  .nav { gap: 10px; }
  .btn.tg span { display: none; }
  .btn.tg::before { content: "✈"; }
}
