/* ── Reset ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --a:      #b97cf8;
  --a-hi:   #d4a8fd;
  --a-dim:  rgba(185,124,248,.1);
  --a-bdr:  rgba(185,124,248,.18);
  --bg:     #080810;
  --bg1:    #0c0c16;
  --bg2:    #10101a;
  --b:      rgba(255,255,255,.07);
  --b2:     rgba(255,255,255,.11);
  --t:      #ebebf5;
  --m:      #52526a;
  --m2:     #8484a0;
  --nh:     60px;
  --r:      10px;
  --font:   'DM Sans', system-ui, -apple-system, sans-serif;
  --mono:   'DM Mono', 'Fira Code', monospace;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--t);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a   { text-decoration: none; color: inherit; }
button { font-family: var(--font); cursor: pointer; }

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #1c1c28; border-radius: 3px; }

/* ── Layout ─────────────────────────────────────────────────────────── */
.wrap { max-width: 1020px; margin: 0 auto; padding: 0 32px; }
.center { text-align: center; }
.center .sec-sub { margin-left: auto; margin-right: auto; }

/* ── Nav ────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0;
  height: var(--nh); z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s;
}
.nav.stuck {
  background: rgba(8,8,16,.88);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-color: var(--b);
}
.nav-inner {
  max-width: 1020px; margin: 0 auto; padding: 0 32px;
  height: var(--nh); display: flex; align-items: center; gap: 24px;
}
.nav-logo {
  display: flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 700; letter-spacing: -.01em; flex-shrink: 0;
}
.nav-logo img { width: 22px; height: 22px; }

.nav-links { display: flex; gap: 0; margin-left: auto; }
.nav-links a {
  font-size: 14px; font-weight: 400; color: var(--m2);
  padding: 6px 14px; border-radius: 7px;
  transition: color .15s;
  letter-spacing: -.005em;
}
.nav-links a:hover { color: var(--t); }

.nav-cta {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 13.5px; font-weight: 500; color: var(--t);
  background: rgba(255,255,255,.06); border: 1px solid var(--b2);
  padding: 6px 16px; border-radius: 8px; letter-spacing: -.01em;
  transition: background .15s, border-color .15s; flex-shrink: 0;
}
.nav-cta:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18); }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; margin-left: auto; }
.burger span { display: block; width: 19px; height: 1.5px; background: var(--m2); border-radius: 2px; }
.mobile-nav { display: none; flex-direction: column; background: rgba(8,8,16,.97); border-top: 1px solid var(--b); padding: 8px 24px 16px; }
.mobile-nav a { font-size: 14px; color: var(--m2); padding: 11px 0; border-bottom: 1px solid var(--b); }
.mobile-nav a:last-child { border: none; }
.mobile-nav.open { display: flex; }

/* ── Buttons ────────────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 22px; font-size: 14px; font-weight: 500;
  letter-spacing: -.01em;
  background: var(--t); color: #0a0a14;
  border-radius: 9px; border: none;
  transition: opacity .15s, transform .15s;
}
.btn-primary:hover { opacity: .88; transform: translateY(-1px); }
.btn-primary.btn-lg { padding: 12px 28px; font-size: 15px; border-radius: 10px; }

.btn-discord {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; font-size: 14px; font-weight: 500;
  letter-spacing: -.01em;
  background: #5865F2; color: #fff;
  border-radius: 9px; border: none;
  transition: opacity .15s, transform .15s;
}
.btn-discord:hover { opacity: .88; transform: translateY(-1px); }
  font-size: 14px; font-weight: 400; color: var(--m2);
  letter-spacing: -.01em;
  background: none; border: none; transition: color .15s;
}
.btn-text:hover { color: var(--t); }

/* ── Hero ───────────────────────────────────────────────────────────── */
/* hero-app: sol kolonu biraz daha dar tutup sağ kolonu (ss) büyüt */
.hero-section {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: var(--nh) 0 0;
  box-sizing: border-box;
}
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1.25fr;
  align-items: center;
  gap: 48px;
  width: 100%;
  max-width: 1020px; margin: 0 auto;
  padding: 60px 32px 60px;
  position: relative;
}
.hero-radial {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(ellipse 700px 500px at 5% 50%, rgba(120,60,220,.07) 0%, transparent 60%),
    radial-gradient(ellipse 500px 400px at 95% 60%, rgba(40,80,200,.04) 0%, transparent 60%);
}

.hero-content { display: flex; flex-direction: column; align-items: flex-start; }

.eyebrow {
  font-size: 12px; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; color: var(--a); margin-bottom: 20px;
  font-family: var(--mono);
}

.hero-content h1 {
  font-size: clamp(28px, 3.4vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.04em;
  margin-bottom: 16px;
  color: var(--t);
}
.hero-content h1 em {
  font-style: normal;
  color: var(--a-hi);
}

.hero-body {
  font-size: 16px; font-weight: 400;
  color: var(--m2); line-height: 1.7;
  letter-spacing: -.01em;
  margin-bottom: 32px;
}
.hero-btns { display: flex; align-items: center; gap: 20px; margin-bottom: 48px; }

/* Stats — no border, plain inline grid */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 0 32px;
}
.hs { display: flex; flex-direction: column; gap: 2px; }
.hs-val {
  font-size: 17px; font-weight: 600;
  letter-spacing: -.02em; color: var(--t);
  font-family: var(--mono);
}
.hs-key {
  font-size: 10px; font-weight: 500; letter-spacing: .05em;
  text-transform: uppercase; color: var(--m);
}

/* Screenshot — larger */
.hero-app { display: flex; flex-direction: column; gap: 10px; }

.ss-wrap {
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.5);
}
.app-img { width: 100%; display: block; transition: opacity .2s; }

/* Page switcher */
.page-switcher {
  display: flex; gap: 4px;
  background: var(--bg1); border: 1px solid var(--b);
  border-radius: 9px; padding: 3px;
}
.psw {
  flex: 1; padding: 6px 8px;
  font-size: 12.5px; font-weight: 500; letter-spacing: -.01em;
  color: var(--m); background: none; border: none; border-radius: 6px;
  transition: background .14s, color .14s;
}
.psw:hover { color: var(--m2); }
.psw.active { background: rgba(255,255,255,.07); color: var(--t); }

/* ── Section shared ─────────────────────────────────────────────────── */
.section { padding: 104px 0; }

.sec-label {
  font-size: 12px; font-weight: 500; letter-spacing: .07em;
  text-transform: uppercase; color: var(--a);
  margin-bottom: 14px; font-family: var(--mono);
}
.sec-title {
  font-size: clamp(26px, 3vw, 38px); font-weight: 700;
  letter-spacing: -.035em; line-height: 1.12; margin-bottom: 12px;
}
.sec-sub {
  font-size: 15px; font-weight: 400; letter-spacing: -.01em;
  color: var(--m2); max-width: 440px; margin-bottom: 52px; line-height: 1.7;
}

.grad-text {
  background: linear-gradient(120deg, var(--a-hi) 0%, var(--a) 60%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ── Feature carousel ───────────────────────────────────────────────── */
.feat-stage { max-width: 640px; margin: 0 auto; overflow: hidden; }

.feat-track {
  display: flex;
  transition: transform .44s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.feat-slide {
  min-width: 100%;
  padding: 52px 60px;
  background: var(--bg1);
  border-radius: 14px;
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
}

.fs-ico {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--bg2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 22px;
}
.fs-ico svg { width: 20px; height: 20px; stroke: var(--a); }

.feat-slide h3 {
  font-size: 22px; font-weight: 700;
  letter-spacing: -.03em; margin-bottom: 12px;
}
.feat-slide > p {
  font-size: 15px; font-weight: 400; letter-spacing: -.01em;
  color: var(--m2); line-height: 1.75;
  max-width: 420px; margin-bottom: 28px;
}

.fs-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.fs-tags span {
  font-size: 12px; font-weight: 400; color: var(--m2);
  letter-spacing: -.005em;
}
.fs-tags span::before { content: '·'; margin-right: 5px; color: var(--m); }
.tag-soon { color: var(--a) !important; }
.tag-soon::before { color: var(--a) !important; opacity: .5; }

/* Feature nav */
.feat-nav {
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-top: 20px;
}
.feat-arrow {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg1);
  display: flex; align-items: center; justify-content: center;
  color: var(--m); transition: color .14s; border: none;
}
.feat-arrow:hover { color: var(--t); }
.feat-arrow svg { width: 15px; height: 15px; }

.feat-dots { display: flex; gap: 5px; align-items: center; }
.fdot {
  height: 5px; border-radius: 3px;
  background: var(--b2); border: none;
  width: 5px;
  transition: background .2s, width .25s;
}
.fdot.on { background: var(--a); width: 16px; }

/* ── Compatibility ──────────────────────────────────────────────────── */
.compat-sec { background: var(--bg1); }
.compat-row {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin-top: 32px;
}
.ci {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 18px; font-size: 14px; font-weight: 400;
  letter-spacing: -.01em;
  background: var(--bg2); border: 1px solid var(--b);
  border-radius: 9px; transition: border-color .15s;
}
.ci svg { width: 14px; height: 14px; flex-shrink: 0; }
.ci.ok  svg { stroke: #4ade80; }
.ci.warn svg { stroke: #f59e0b; }
.ci.ok:hover   { border-color: rgba(74,222,128,.25); }
.ci.warn:hover { border-color: rgba(245,158,11,.25); }

/* ── Download ───────────────────────────────────────────────────────── */
.dl-sec { position: relative; overflow: hidden; }
.dl-sec .sec-sub { margin-bottom: 24px; }
.dl-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 600px 400px at 50% 50%, rgba(120,60,220,.07) 0%, transparent 65%);
}
.dl-logo { width: 56px; height: 56px; margin: 0 auto 20px; }
.dl-chips {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center; margin-bottom: 28px;
}
.dl-chips span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 400; color: var(--m2);
  background: var(--bg1); border: 1px solid var(--b);
  border-radius: 7px; padding: 6px 14px; letter-spacing: -.01em;
}
.dl-chips svg { stroke: var(--a); flex-shrink: 0; }
.dl-note { font-size: 12px; color: var(--m); margin-top: 16px; letter-spacing: -.005em; }
.dl-note strong { color: var(--m2); }

/* ── Footer ─────────────────────────────────────────────────────────── */
.foot { border-top: 1px solid var(--b); padding: 22px 0; }
.foot-inner { display: flex; align-items: center; gap: 20px; }
.foot-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 600; letter-spacing: -.01em; flex-shrink: 0;
}
.foot-logo img { width: 18px; height: 18px; }
.foot-inner > p { font-size: 12px; color: var(--m); flex: 1; text-align: center; letter-spacing: -.005em; }
.foot-inner > p strong { color: var(--m2); font-weight: 500; }
.foot-gh { color: var(--m); transition: color .15s; }
.foot-gh:hover { color: var(--t); }

/* ── Reveal ─────────────────────────────────────────────────────────── */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.rv.in { opacity: 1; transform: none; }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .hero-section { padding-top: var(--nh); align-items: flex-start; }
  .hero { grid-template-columns: 1fr; min-height: unset; gap: 44px; }
  .hero-app { order: -1; }
  .hero-content { align-items: center; text-align: center; }
  .hero-btns { justify-content: center; }
  .eyebrow { align-self: center; }
  .hero-stats { align-self: center; }
  .preview-wrap { grid-template-columns: 1fr; }
  .pv-tabs { flex-direction: row; flex-wrap: wrap; }
  .pvtab { flex: 1; flex-direction: row; min-width: 90px; text-align: left; padding: 10px 12px; }
  .pv-caption { min-height: 56px; }
}
@media (max-width: 600px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }
  .feat-slide { padding: 36px 28px; }
  .hero-stats { flex-wrap: wrap; }
  .hs-sep { display: none; }
  .hs { border-right: 1px solid var(--b); }
  .hs:last-child { border: none; }
  .compat-row { flex-direction: column; align-items: stretch; }
  .foot-inner > p { display: none; }
}
