:root {
  --bg: #07080c;
  --bg2: #0c0e14;
  --line: rgba(255, 255, 255, .08);
  --line2: rgba(255, 255, 255, .14);
  --text: #eef0f6;
  --muted: #9aa0b4;
  --dim: #6b7186;
  --a1: #b8f5ff;
  --a2: #7c8cff;
  --a3: #d77bff;
  --radius: 22px;
  --font: "Inter", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.05; font-weight: 650; text-wrap: balance; }
p { margin: 0; }
.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* background */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; animation: float 22s ease-in-out infinite alternate; }
.b1 { width: 620px; height: 620px; left: -160px; top: -200px; background: radial-gradient(circle, #3646ff 0%, transparent 70%); }
.b2 { width: 560px; height: 560px; right: -180px; top: 120px; background: radial-gradient(circle, #b44bff 0%, transparent 70%); animation-delay: -6s; }
.b3 { width: 520px; height: 520px; left: 30%; top: 70vh; background: radial-gradient(circle, #19c6d8 0%, transparent 70%); opacity: .35; animation-delay: -12s; }
@keyframes float { to { transform: translate3d(60px, 40px, 0) scale(1.08); } }
.grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: .5;
}
.grain {
  position: absolute; inset: -50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
  opacity: .06; mix-blend-mode: overlay;
}

/* nav */
.nav { position: sticky; top: 0; z-index: 10; backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); background: rgba(7, 8, 12, .55); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 19px; letter-spacing: -.02em; }
.links { display: flex; gap: 30px; font-size: 15px; color: var(--muted); }
.links a { transition: color .2s; }
.links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); color: var(--muted); font: 600 12px var(--font); cursor: pointer; }
.lang span { padding: 5px 9px; border-radius: 999px; transition: .2s; }
html[lang="en"] .lang [data-l="en"], html[lang="ru"] .lang [data-l="ru"] { background: var(--text); color: var(--bg); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px; border: 0; cursor: pointer;
  font: 600 16px var(--font); color: #07080c;
  background: linear-gradient(120deg, var(--a1), var(--a2) 50%, var(--a3));
  background-size: 200% 100%;
  box-shadow: 0 10px 40px -10px rgba(124, 140, 255, .6), inset 0 1px 0 rgba(255, 255, 255, .5);
  transition: background-position .5s, transform .2s, box-shadow .2s;
}
.btn:hover { background-position: 100% 0; transform: translateY(-1px); box-shadow: 0 16px 50px -12px rgba(215, 123, 255, .7); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-ghost { background: rgba(255, 255, 255, .04); color: var(--text); border: 1px solid var(--line2); box-shadow: none; }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); box-shadow: none; }
.btn-full { width: 100%; }

/* hero */
.hero { padding: clamp(70px, 12vw, 140px) 0 70px; text-align: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .03); color: var(--muted); font-size: 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #5cffb0; box-shadow: 0 0 0 4px rgba(92, 255, 176, .15); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(92, 255, 176, 0); } }
.hero h1 { margin: 28px auto 0; max-width: 980px; font-size: clamp(44px, 8.2vw, 104px); font-weight: 700; }
.grad { background: linear-gradient(110deg, var(--a1), var(--a2) 45%, var(--a3)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { margin: 26px auto 0; max-width: 680px; color: var(--muted); font-size: clamp(17px, 2vw, 20px); }
.hero-cta { margin-top: 38px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.facts { list-style: none; margin: 80px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255, 255, 255, .02); backdrop-filter: blur(8px); }
.facts li { padding: 26px 22px; text-align: left; display: grid; gap: 4px; }
.facts li + li { border-left: 1px solid var(--line); }
.facts b { font-size: 28px; letter-spacing: -.03em; }
.facts span { color: var(--dim); font-size: 14px; }

/* marquee */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 18px 0; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.track { display: flex; gap: 56px; width: max-content; animation: scroll 40s linear infinite; color: var(--dim); font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.track span::before { content: "✦"; margin-right: 56px; color: var(--a2); opacity: .7; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* sections */
.section { padding: clamp(80px, 11vw, 130px) 0 0; }
.section-head { max-width: 720px; margin-bottom: 46px; }
.kicker { font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--a1); margin-bottom: 16px; }
.section h2 { font-size: clamp(34px, 5vw, 58px); }
.sub { margin-top: 18px; color: var(--muted); font-size: 18px; }

.cards.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card, .tile, .step, .apply, .faq details {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
  backdrop-filter: blur(10px);
}
.card { padding: 30px; transition: border-color .3s, transform .3s; }
.card:hover, .tile:hover { border-color: var(--line2); transform: translateY(-3px); }
.card h3, .tile h3, .step h3 { font-size: 22px; margin: 22px 0 10px; }
.card p, .tile p, .step p { color: var(--muted); font-size: 16px; }
.icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: rgba(124, 140, 255, .12); border: 1px solid rgba(124, 140, 255, .3); }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--a1); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { padding: 30px; min-height: 210px; display: flex; flex-direction: column; justify-content: flex-end; position: relative; overflow: hidden; transition: border-color .3s, transform .3s; }
.tile.t-wide { grid-column: span 2; }
.tile.t-full { grid-column: 1 / -1; min-height: 180px; }
.tile::after { content: ""; position: absolute; width: 260px; height: 260px; right: -90px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(124, 140, 255, .25), transparent 70%); }
.tile:nth-child(3n+2)::after { background: radial-gradient(circle, rgba(215, 123, 255, .22), transparent 70%); }
.tile:nth-child(3n)::after { background: radial-gradient(circle, rgba(25, 198, 216, .2), transparent 70%); }
.tag { position: absolute; top: 26px; left: 30px; font-size: 13px; color: var(--dim); font-weight: 600; letter-spacing: .1em; }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: start; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 18px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .02); }
.checks li > span { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--a1), var(--a2)); color: #07080c; font-weight: 800; font-size: 14px; }
.checks b { font-size: 18px; }
.checks p { color: var(--muted); margin-top: 4px; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.step { padding: 28px; position: relative; }
.num { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; font-weight: 700; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 49px; right: -18px; width: 18px; height: 1px; background: var(--line2); }

/* apply */
.apply { display: grid; grid-template-columns: .85fr 1.15fr; gap: 50px; padding: clamp(28px, 5vw, 56px); position: relative; overflow: hidden; }
.apply::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(184, 245, 255, .5), transparent 35%, transparent 65%, rgba(215, 123, 255, .5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.contact { margin-top: 30px; display: grid; gap: 4px; color: var(--dim); font-size: 15px; }
.contact a { color: var(--text); font-size: 18px; font-weight: 600; }
.form { display: grid; gap: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row.three { grid-template-columns: repeat(3, 1fr); }
.form label { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.form i { font-style: normal; color: var(--dim); }
input, select, textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line2);
  background: rgba(7, 8, 12, .6); color: var(--text); font: 16px var(--font); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%239aa0b4' fill='none' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
textarea { resize: vertical; min-height: 130px; }
input:focus, select:focus, textarea:focus { border-color: var(--a2); box-shadow: 0 0 0 4px rgba(124, 140, 255, .18); }
.form .invalid { border-color: #ff6b8b; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .consent { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--a2); }
.status { min-height: 22px; font-size: 15px; text-align: center; }
.status.ok { color: #5cffb0; }
.status.err { color: #ff8aa3; }

/* faq */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details { padding: 0 26px; border-radius: 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-size: 18px; font-weight: 600; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 24px; line-height: 1; color: var(--a1); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 0 22px; }

/* footer */
.footer { margin-top: 130px; border-top: 1px solid var(--line); padding: 36px 0 50px; color: var(--dim); font-size: 14px; }
.foot-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.logo.small { font-size: 16px; color: var(--text); }
.footer a:hover { color: var(--text); }

/* reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .links { display: none; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cards.three, .steps { grid-template-columns: 1fr 1fr; }
  .bento { grid-template-columns: 1fr 1fr; }
  .split, .apply { grid-template-columns: 1fr; gap: 34px; }
  .step::after { display: none; }
}
@media (max-width: 620px) {
  .nav-cta .btn-sm { display: none; }
  .cards.three, .steps, .bento, .row, .row.three { grid-template-columns: 1fr; }
  .tile.t-wide { grid-column: auto; }
  .facts li { padding: 20px 18px; }
  .facts b { font-size: 22px; }
  .foot-inner { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
