:root {
  --bg: #07070c;
  --bg-2: #0e0e17;
  --card: rgba(255, 255, 255, 0.04);
  --card-hover: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f4f4f8;
  --muted: #9a9ab0;
  --accent: #7c5cff;
  --accent-2: #22d3ee;
  --accent-3: #f472b6;
  --radius: 22px;
  --max: 1180px;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Space Grotesk", var(--font);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }

/* ---------- Background ---------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.blob {
  position: absolute; border-radius: 50%;
  filter: blur(110px); opacity: .45;
  animation: float 22s ease-in-out infinite alternate;
}
.b1 { width: 620px; height: 620px; background: var(--accent); top: -180px; left: -140px; }
.b2 { width: 520px; height: 520px; background: var(--accent-2); top: 30%; right: -200px; animation-delay: -7s; opacity: .28; }
.b3 { width: 480px; height: 480px; background: var(--accent-3); bottom: -220px; left: 30%; animation-delay: -14s; opacity: .22; }
@keyframes float {
  0%   { transform: translate(0, 0) scale(1); }
  50%  { transform: translate(80px, 60px) scale(1.1); }
  100% { transform: translate(-60px, 120px) scale(.95); }
}
.grain {
  position: absolute; inset: 0; opacity: .06; mix-blend-mode: overlay;
  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='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%);
  width: min(var(--max), calc(100% - 32px));
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 10px 12px 10px 18px;
  background: rgba(14, 14, 23, .55);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border: 1px solid var(--line); border-radius: 999px;
  z-index: 50; transition: background .3s;
}
.nav.scrolled { background: rgba(14, 14, 23, .85); }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 18px; }
.logo .dot { color: var(--muted); font-weight: 500; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #fff; font-size: 16px;
}
.nav-links { display: flex; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.lang {
  font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); transition: background .2s;
}
.lang:hover { background: var(--card-hover); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh; max-width: var(--max); margin: 0 auto;
  padding: 140px 24px 60px;
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--muted);
  padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }
h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(42px, 6.4vw, 82px); line-height: 1.02; letter-spacing: -0.035em;
  margin: 24px 0;
}
.grad {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shine 8s linear infinite;
}
@keyframes shine { to { background-position: 200% center; } }
.lead { font-size: 18px; color: var(--muted); max-width: 540px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 26px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 15px;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary {
  background: linear-gradient(135deg, var(--accent), #5b8cff); color: #fff;
  box-shadow: 0 10px 30px -10px rgba(124, 92, 255, .8);
}
.btn.primary:hover { box-shadow: 0 16px 40px -10px rgba(124, 92, 255, .9); }
.btn.ghost { border: 1px solid var(--line); background: var(--card); }
.btn.ghost:hover { background: var(--card-hover); }
.stores { display: flex; gap: 10px; flex-wrap: wrap; }
.store-chip {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted);
  padding: 8px 14px; border-radius: 12px; border: 1px solid var(--line);
  transition: color .2s, border-color .2s;
}
.store-chip svg { width: 16px; height: 16px; }
.store-chip:hover { color: var(--text); border-color: rgba(255,255,255,.25); }

/* Orbit of app icons */
.orbit-wrap { display: grid; place-items: center; }
.orbit { position: relative; width: min(480px, 90vw); aspect-ratio: 1; }
.ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px dashed rgba(255,255,255,.08); }
.r1 { width: 100%; height: 100%; }
.r2 { width: 68%; height: 68%; }
.r3 { width: 36%; height: 36%; border-style: solid; border-color: rgba(255,255,255,.05); }
.core {
  position: absolute; inset: 0; margin: auto; width: 92px; height: 92px; border-radius: 28px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-family: var(--display); font-size: 44px; font-weight: 700;
  box-shadow: 0 0 80px rgba(124, 92, 255, .6);
}
.orbit-icon {
  position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  border-radius: 18px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.1);
  transition: transform .3s;
  cursor: pointer;
}
.orbit-icon.small { width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 15px; }
.orbit-icon img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Stats ---------- */
.stats {
  max-width: var(--max); margin: 0 auto 40px; padding: 0 24px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.stat {
  padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
}
.stat b { display: block; font-family: var(--display); font-size: clamp(32px, 4vw, 46px); line-height: 1; letter-spacing: -.02em; }
.stat span { display: block; margin-top: 10px; color: var(--muted); font-size: 14px; }

/* ---------- Sections ---------- */
.section { max-width: var(--max); margin: 0 auto; padding: 90px 24px 20px; }
.section-head { margin-bottom: 36px; }
.section-head.row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.kicker { font-size: 13px; text-transform: uppercase; letter-spacing: .16em; color: var(--accent-2); font-weight: 600; }
h2 { font-family: var(--display); font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -.025em; margin-top: 10px; }

/* Featured */
.featured { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.feat {
  position: relative; overflow: hidden; cursor: pointer;
  border-radius: 28px; border: 1px solid var(--line); background: var(--bg-2);
  padding: 30px; min-height: 280px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .35s cubic-bezier(.2,.8,.2,1), border-color .3s;
}
.feat:first-child { grid-row: span 2; min-height: 580px; }
.feat::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 100% 0%, var(--c) 0%, transparent 55%);
  opacity: .35; transition: opacity .4s;
}
.feat:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.2); }
.feat:hover::before { opacity: .55; }
.feat > * { position: relative; }
.feat-top { display: flex; align-items: center; gap: 16px; }
.feat-top img { width: 64px; height: 64px; border-radius: 18px; box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.feat h3 { font-family: var(--display); font-size: 26px; letter-spacing: -.02em; line-height: 1.15; }
.feat .cat { font-size: 13px; color: var(--muted); }
.feat p { color: #c9c9d8; max-width: 440px; margin-top: 16px; }
.feat-shots { display: flex; gap: 12px; margin-top: 24px; }
.feat-shots img {
  height: 260px; width: auto; border-radius: 16px; border: 1px solid var(--line);
  box-shadow: 0 20px 40px rgba(0,0,0,.5);
  transition: transform .5s cubic-bezier(.2,.8,.2,1);
}
.feat:hover .feat-shots img:nth-child(1) { transform: translateY(-6px) rotate(-1.5deg); }
.feat:hover .feat-shots img:nth-child(2) { transform: translateY(-12px); }
.feat:hover .feat-shots img:nth-child(3) { transform: translateY(-6px) rotate(1.5deg); }
.feat:not(:first-child) .feat-shots { display: none; }
.feat .more { margin-top: 18px; font-size: 14px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.feat .more i { font-style: normal; transition: transform .2s; }
.feat:hover .more i { transform: translateX(4px); }

/* Filters */
.filters { display: flex; gap: 6px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); }
.filter { padding: 8px 16px; border-radius: 999px; font-size: 14px; color: var(--muted); transition: all .2s; }
.filter.active { background: var(--text); color: var(--bg); font-weight: 600; }

/* Grid cards */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card {
  position: relative; overflow: hidden; cursor: pointer;
  padding: 22px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line);
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, opacity .3s;
}
.card::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--c) 30%, transparent), transparent 70%);
}
.card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,.18); }
.card:hover::after { opacity: 1; }
.card.hide { display: none; }
.card-head { display: flex; gap: 14px; align-items: center; }
.card-head img { width: 56px; height: 56px; border-radius: 15px; flex-shrink: 0; }
.badge-new + .card-head > div { padding-right: 44px; }
.card h3 { font-family: var(--display); font-size: 18px; line-height: 1.2; letter-spacing: -.01em; }
.card .cat { font-size: 13px; color: var(--muted); }
.card p { color: #c2c2d2; font-size: 14px; margin: 16px 0 18px; min-height: 44px; }
.card-foot { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--muted); }
.platforms { display: flex; gap: 6px; }
.platforms span { padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); }
.badge-new {
  position: absolute; top: 16px; right: 16px; font-size: 11px; font-weight: 700; letter-spacing: .06em;
  padding: 4px 9px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent-3));
}

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
.about-card {
  display: grid; grid-template-columns: auto 1fr; gap: 28px;
  padding: 36px; border-radius: 28px; background: var(--card); border: 1px solid var(--line);
}
.avatar {
  width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center;
  background: conic-gradient(from 180deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  font-family: var(--display); font-weight: 700; font-size: 32px;
  box-shadow: 0 20px 50px -10px rgba(124,92,255,.6);
}
.about-card p:not(.kicker) { color: #c9c9d8; margin-top: 16px; }
.skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.skills span { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); }
.timeline { list-style: none; padding: 30px 30px 30px 34px; border-radius: 28px; background: var(--card); border: 1px solid var(--line); position: relative; }
.timeline::before { content: ""; position: absolute; left: 40px; top: 44px; bottom: 44px; width: 1px; background: linear-gradient(var(--accent), var(--accent-3)); }
.timeline li { position: relative; padding: 12px 0 12px 32px; }
.timeline li::before {
  content: ""; position: absolute; left: 1px; top: 20px; width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 2px solid var(--accent-2);
}
.timeline b { font-family: var(--display); font-size: 18px; display: block; }
.timeline span { color: var(--muted); font-size: 14px; }

/* ---------- Contact ---------- */
.contact-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  padding: 44px; border-radius: 32px; border: 1px solid var(--line);
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(124,92,255,.25), transparent 60%),
    radial-gradient(80% 120% at 100% 100%, rgba(34,211,238,.15), transparent 60%),
    var(--bg-2);
}
.contact-info p:not(.kicker) { color: #c9c9d8; margin-top: 18px; max-width: 420px; }
.mail {
  display: inline-flex; gap: 10px; margin-top: 28px;
  font-family: var(--display); font-size: clamp(22px, 2.6vw, 30px); font-weight: 600;
  border-bottom: 2px solid rgba(255,255,255,.15); padding-bottom: 4px; transition: border-color .2s;
}
.mail:hover { border-color: var(--accent-2); }
.mail span { color: var(--accent-2); }
.socials { display: flex; gap: 10px; margin-top: 28px; }
.socials a {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--card); transition: background .2s, transform .2s;
}
.socials a:hover { background: var(--card-hover); transform: translateY(-2px); }
.socials svg { width: 18px; height: 18px; }
.form { display: grid; gap: 14px; }
.form label span { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.form input, .form textarea, .form select {
  width: 100%; font: inherit; color: var(--text);
  padding: 13px 16px; border-radius: 14px;
  background: rgba(0,0,0,.25); border: 1px solid var(--line);
  transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.form select option { background: var(--bg-2); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(124,92,255,.18); }
.form-note { font-size: 12px; color: var(--muted); text-align: center; }
.form .btn:disabled { opacity: .6; cursor: progress; transform: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: 14px; text-align: center; border-radius: 12px; }
.form-status:empty { display: none; }
.form-status.ok, .form-status.err, .form-status.busy { padding: 12px 14px; }
.form-status.ok { background: rgba(34,197,94,.12); color: #86efac; }
.form-status.err { background: rgba(244,63,94,.12); color: #fda4af; }
.form-status.err a { text-decoration: underline; }
.form-status.busy { color: var(--muted); }

/* ---------- Footer ---------- */
.footer {
  max-width: var(--max); margin: 80px auto 0; padding: 30px 24px 40px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 13px;
}

/* ---------- Modal ---------- */
.modal {
  margin: auto; width: min(880px, calc(100% - 32px)); max-height: calc(100vh - 48px);
  border: 1px solid var(--line); border-radius: 28px; color: var(--text);
  background: var(--bg-2); padding: 0; overflow: auto;
}
.modal::backdrop { background: rgba(4,4,8,.7); backdrop-filter: blur(8px); }
.modal[open] { animation: pop .35s cubic-bezier(.2,.8,.2,1); }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.modal-close {
  position: sticky; top: 14px; float: right; margin: 14px 14px 0 0; z-index: 2;
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); font-size: 14px;
}
.modal-close:hover { background: rgba(255,255,255,.16); }
.modal-hero {
  padding: 36px 36px 28px;
  background: radial-gradient(100% 140% at 0% 0%, color-mix(in srgb, var(--c) 40%, transparent), transparent 60%);
}
.modal-hero .head { display: flex; gap: 20px; align-items: center; }
.modal-hero img { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 16px 40px rgba(0,0,0,.5); }
.modal-hero h3 { font-family: var(--display); font-size: 32px; line-height: 1.1; letter-spacing: -.02em; }
.modal-hero .meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.modal-hero .meta span { font-size: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.07); color: #d2d2e0; }
.modal-hero p { margin-top: 22px; color: #d0d0dd; }
.modal-shots { display: flex; gap: 14px; overflow-x: auto; padding: 4px 36px 24px; scroll-snap-type: x mandatory; }
.modal-shots img { height: 380px; width: auto; border-radius: 18px; border: 1px solid var(--line); scroll-snap-align: start; flex-shrink: 0; }
.modal-shots.land img { height: 260px; }
.modal-actions { display: flex; flex-wrap: wrap; gap: 12px; padding: 0 36px 36px; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 10px 20px 10px 16px; border-radius: 14px;
  background: #fff; color: #000; transition: transform .2s;
}
.store-btn:hover { transform: translateY(-2px); }
.privacy-link { align-self: center; margin-left: auto; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.privacy-link:hover { color: var(--text); }
.footer a:hover { color: var(--text); }
.footer .visits b { color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.store-btn svg { width: 26px; height: 26px; }
.store-btn small { display: block; font-size: 10px; line-height: 1; opacity: .7; }
.store-btn b { display: block; font-size: 17px; line-height: 1.2; }

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

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 120px; min-height: auto; }
  .orbit-wrap { order: -1; }
  .orbit { width: min(340px, 80vw); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .featured { grid-template-columns: 1fr; }
  .feat:first-child { grid-row: auto; min-height: 0; }
  .about, .contact-card { grid-template-columns: 1fr; }
  .contact-card { padding: 28px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .about-card { grid-template-columns: 1fr; padding: 26px; }
  .feat { padding: 22px; }
  .feat-shots img { height: 190px; }
  .feat-shots img:nth-child(3) { display: none; }
  .modal-hero { padding: 28px 22px 20px; }
  .modal-hero .head { flex-direction: column; align-items: flex-start; }
  .modal-shots { padding: 4px 22px 20px; }
  .modal-shots img { height: 300px; }
  .modal-shots.land img { height: 170px; }
  .modal-actions { padding: 0 22px 28px; }
  .orbit-icon { width: 48px; height: 48px; margin: -24px 0 0 -24px; border-radius: 14px; }
  .orbit-icon.small { width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 12px; }
  .core { width: 70px; height: 70px; font-size: 34px; border-radius: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
