:root {
  --night: #110E22;
  --night-2: #1B1636;
  --ink: #17142B;
  --ink-2: #4A4663;
  --ink-3: #78748F;
  --paper: #F7F5F0;
  --card: #FFFFFF;
  --line: #E6E2D8;
  --coral: #FF5C47;
  --violet: #7B5CFF;
  --sun: #FFC93D;
  --sky: #3AA0FF;
  --mint: #2FCB8F;
  --font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #0E0B1C;
    --card: #17132C;
    --line: #2A2545;
    --ink: #F4F2FF;
    --ink-2: #C3BFDB;
    --ink-3: #8F8AAD;
  }
}
:root[data-theme="dark"] {
  --paper: #0E0B1C;
  --card: #17132C;
  --line: #2A2545;
  --ink: #F4F2FF;
  --ink-2: #C3BFDB;
  --ink-3: #8F8AAD;
}

[data-lang="tr"] [lang="en"], [data-lang="en"] [lang="tr"] { display: none; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }

/* Nav */
.nav { position: absolute; inset: 0 0 auto; z-index: 2; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand img { height: 34px; width: auto; }
.nav nav { display: flex; align-items: center; gap: 4px; }
.nav nav a {
  color: #D9D5F0; text-decoration: none; font-weight: 500; font-size: 15px;
  padding: 8px 12px; border-radius: 99px;
}
.nav nav a:hover { background: rgb(255 255 255 / 0.08); color: #fff; }
.lang {
  font: 600 13px var(--font); letter-spacing: 0.04em; color: #fff; cursor: pointer;
  background: rgb(255 255 255 / 0.1); border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: 99px; padding: 7px 12px; margin-left: 6px;
}
.lang:hover { background: rgb(255 255 255 / 0.18); }
@media (max-width: 520px) { .nav nav a { display: none; } }

/* Hero */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% -10%, rgb(123 92 255 / 0.35), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgb(255 92 71 / 0.22), transparent 60%),
    var(--night);
}
.hero-inner { position: relative; padding: 150px 16px 96px; }
@media (min-width: 720px) { .hero-inner { padding: 180px 32px 120px; } }
.hero-mark { width: 84px; height: 84px; border-radius: 22px; box-shadow: 0 20px 50px rgb(0 0 0 / 0.45); margin-bottom: 32px; }
.hero h1 {
  font-size: clamp(30px, 8.6vw, 96px); line-height: 0.98; overflow-wrap: anywhere; letter-spacing: -0.035em;
  margin: 0 0 24px; font-weight: 800;
}
.lead { font-size: clamp(17px, 2.2vw, 21px); color: #CFCBE6; max-width: 620px; margin: 0; }
.stats { list-style: none; padding: 0; margin: 48px 0 0; display: flex; flex-wrap: wrap; gap: 12px 40px; }
.stats li { display: flex; align-items: baseline; gap: 10px; color: #B3AED0; font-size: 15px; }
.stats b { color: #fff; font-size: 34px; font-weight: 750; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

.dots i {
  position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s);
  border-radius: 50%; background: var(--c); opacity: 0.9;
  animation: float 9s ease-in-out infinite; animation-delay: var(--d);
}
@media (max-width: 600px) { .dots i:nth-child(n+3) { display: none; } }
@keyframes float { 50% { transform: translateY(-14px); } }
@media (prefers-reduced-motion: reduce) { .dots i { animation: none; } html { scroll-behavior: auto; } }

/* Apps */
main { padding-top: 80px; padding-bottom: 40px; }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.025em; margin: 0 0 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
@media (max-width: 360px) { .grid { grid-template-columns: 1fr; } }
.app {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.app::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 90px; pointer-events: none;
  background: linear-gradient(180deg, color-mix(in srgb, var(--tint) 14%, transparent), transparent);
}
.app:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgb(17 14 34 / 0.12); }
.app img { position: relative; width: 72px; height: 72px; border-radius: 17px; box-shadow: 0 6px 16px rgb(17 14 34 / 0.18); }
.app h3 { margin: 0; font-size: 19px; letter-spacing: -0.01em; line-height: 1.25; }
.cat { margin: 2px 0 0; color: var(--ink-3); font-size: 14px; }
.desc { margin: 0; color: var(--ink-2); flex: 1; }
.app footer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-size: 14px; }
.app footer a { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid color-mix(in srgb, var(--tint) 60%, transparent); }
.app footer a:hover { border-bottom-color: var(--tint); }
.status { font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 99px; letter-spacing: 0.02em; }
.status::before { content: "●"; margin-right: 6px; font-size: 9px; vertical-align: 1px; }
.status.live { background: color-mix(in srgb, var(--mint) 16%, transparent); color: #128a5c; }
.status.soon { background: color-mix(in srgb, var(--sun) 22%, transparent); color: #9a6a00; }
.status.dev { background: color-mix(in srgb, var(--violet) 14%, transparent); color: #5a3fd6; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .status.live { color: #5fe0ac; }
  :root:not([data-theme="light"]) .status.soon { color: #ffd66b; }
  :root:not([data-theme="light"]) .status.dev { color: #b1a2ff; }
}

/* About */
.about { padding: 80px 0 96px; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 40px; }
.pillars h3 { font-size: 19px; margin: 14px 0 6px; letter-spacing: -0.01em; }
.pillars p { margin: 0; color: var(--ink-2); }
.pillars .dot { display: block; width: 16px; height: 16px; border-radius: 50%; }

/* Footer */
.site-footer { background: var(--night); color: #A9A4C6; padding: 40px 0; font-size: 14px; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot-inner img { height: 28px; width: auto; }
.foot-inner p { margin: 0; }

/* Live numbers */
.statband { background: var(--night-2); color: #fff; padding: 36px 0 28px; border-top: 1px solid rgb(255 255 255 / 0.06); }
.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 20px 32px; }
.stat b { display: block; font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat span { color: #B3AED0; font-size: 15px; }
.updated { color: #8D88AD; font-size: 13px; margin: 22px auto 0; }

/* Product groups */
h3.group { font-size: 14px; font-weight: 650; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-3); margin: 36px 0 14px; }
h3.group:first-of-type { margin-top: 8px; }
