:root {
  --night: #050714;
  --panel: rgba(15, 20, 49, 0.78);
  --line: rgba(185, 148, 255, 0.22);
  --line-bright: rgba(203, 127, 255, 0.5);
  --text: #f7f2ff;
  --soft: #c9c4df;
  --muted: #918cae;
  --purple: #b31cff;
  --violet: #7a39ff;
  --pink: #ee69ff;
  --max: 1720px;
  --gutter: clamp(20px, 5vw, 96px);
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 83% 7%, rgba(115, 49, 235, 0.36), transparent 34rem),
    radial-gradient(circle at 9% 35%, rgba(178, 28, 255, 0.18), transparent 31rem),
    linear-gradient(180deg, #070719 0%, #060817 47%, #040612 100%);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 78%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.36;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

a { color: inherit; }
img, svg { display: block; }
button, input { font: inherit; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: -999px; top: 0; z-index: 100; padding: 12px 16px; background: white; color: #111; border-radius: 0 0 10px 0; }
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; border-radius: 8px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: linear-gradient(180deg, rgba(6, 7, 22, 0.92), rgba(6, 7, 22, 0.45));
  backdrop-filter: blur(18px);
}

.topbar { min-height: 88px; display: flex; align-items: center; gap: clamp(18px, 3vw, 52px); }
.brand { display: inline-flex; align-items: center; gap: 16px; margin-right: auto; text-decoration: none; font-size: clamp(1.45rem, 2vw, 2.2rem); font-weight: 900; letter-spacing: 0; }
.brand img { width: clamp(48px, 5vw, 70px); height: clamp(48px, 5vw, 70px); border-radius: 18px; filter: drop-shadow(0 0 24px rgba(180, 35, 255, 0.55)); }

.nav-links { display: flex; align-items: center; gap: clamp(22px, 4vw, 64px); font-weight: 750; }
.nav-links a { color: rgba(255, 255, 255, 0.9); text-decoration: none; white-space: nowrap; transition: color .2s ease, transform .2s ease; }
.nav-links a:hover { color: var(--pink); transform: translateY(-1px); }
.actions { display: flex; align-items: center; gap: 16px; margin-left: clamp(10px, 2vw, 38px); }

.lang-switch { min-height: 45px; display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; background: rgba(10, 11, 35, 0.62); box-shadow: inset 0 1px 0 rgba(255,255,255,.07); overflow: hidden; }
.lang-switch button { min-width: 48px; height: 43px; border: 0; background: transparent; color: var(--soft); font-weight: 850; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { color: var(--pink); }
.lang-switch .divider { width: 1px; height: 22px; background: var(--line); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 28px;
  border: 1px solid var(--line-bright);
  border-radius: 999px;
  color: white;
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0;
  background: linear-gradient(135deg, #8a27ff, #bc21ff 54%, #8127fa);
  box-shadow: 0 18px 54px rgba(153, 33, 255, 0.35), inset 0 1px 0 rgba(255,255,255,.2);
  transition: transform .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 24px 68px rgba(177, 40, 255, 0.44); }
.btn svg { width: 24px; height: 24px; }
.btn.ghost { background: rgba(9, 10, 31, 0.46); box-shadow: inset 0 1px 0 rgba(255,255,255,.09), 0 0 34px rgba(192, 49, 255, .18); }

.hero { position: relative; min-height: 760px; padding-top: 122px; overflow: hidden; border-bottom: 1px solid rgba(173, 139, 255, 0.14); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 20, .98) 0%, rgba(5, 7, 20, .72) 38%, rgba(5, 7, 20, .18) 72%, rgba(5, 7, 20, .72) 100%),
    radial-gradient(circle at 30% 44%, rgba(172, 64, 255, .26), transparent 26rem),
    linear-gradient(180deg, rgba(7, 8, 25, .18), #060817 100%);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 330px; background: radial-gradient(ellipse at 50% 100%, rgba(151, 57, 255, .42), transparent 44%), linear-gradient(180deg, transparent, rgba(3, 4, 13, .96) 72%); pointer-events: none; }
.stars, .mountains, .moon, .room-glow { position: absolute; pointer-events: none; }
.stars { inset: 90px 0 auto; height: 380px; background-image: radial-gradient(circle, rgba(255,255,255,.72) 0 1px, transparent 1.6px), radial-gradient(circle, rgba(200,170,255,.65) 0 1px, transparent 1.5px); background-size: 120px 120px, 190px 190px; opacity: .55; mask-image: linear-gradient(90deg, #000, transparent 72%); }
.mountains { left: 0; right: 0; bottom: 154px; height: 260px; background: linear-gradient(136deg, transparent 0 50%, rgba(36, 42, 88, .75) 50% 60%, transparent 60%) 0 100% / 520px 220px repeat-x, linear-gradient(128deg, transparent 0 48%, rgba(27, 31, 68, .92) 48% 62%, transparent 62%) 120px 100% / 650px 255px repeat-x; filter: blur(.2px); opacity: .72; }
.moon { width: 92px; aspect-ratio: 1; border-radius: 50%; right: 23%; top: 176px; background: #fff1ff; box-shadow: 0 0 38px rgba(255, 211, 255, .6); }
.moon::after { content: ""; position: absolute; inset: -8px 18px 8px -18px; border-radius: 50%; background: #151246; }
.room-glow { right: 0; bottom: 0; width: 52%; height: 100%; background: linear-gradient(90deg, transparent, rgba(101, 30, 202, .26)); }

.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(420px, 0.88fr) minmax(630px, 1.12fr); align-items: center; gap: clamp(34px, 5vw, 90px); }
.eyebrow { margin: 0 0 14px; color: #b88bff; font-size: .82rem; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 16ch; margin-bottom: 18px; font-size: clamp(3.7rem, 4.65vw, 5.15rem); line-height: .96; letter-spacing: 0; font-weight: 950; }
h1 .accent { display: block; background: linear-gradient(180deg, #ff80ff 0%, #b52aff 54%, #8e39ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: 0 22px 58px rgba(192, 57, 255, .25); }
.lede { max-width: 720px; margin-bottom: 34px; color: #eee9ff; font-size: clamp(1.18rem, 1.45vw, 1.55rem); line-height: 1.44; }
.cta-row { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 38px; }
.trust-row { display: grid; grid-template-columns: repeat(3, minmax(130px, 1fr)); gap: 22px; max-width: 680px; }
.trust { display: flex; align-items: center; gap: 12px; color: var(--soft); font-size: .93rem; }
.trust svg { flex: 0 0 auto; width: 44px; height: 44px; padding: 10px; color: var(--pink); border: 1px solid var(--line-bright); border-radius: 999px; background: rgba(119, 41, 217, .18); }
.trust b { display: block; color: white; font-size: 1rem; }

.device-stage { min-height: 580px; position: relative; perspective: 1400px; }
.tv { position: absolute; right: 0; top: 18px; width: min(780px, 100%); aspect-ratio: 16 / 9.3; border: 8px solid #111229; border-radius: 10px; background: linear-gradient(135deg, #050818, #090b1e); box-shadow: 0 34px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(180, 140, 255, .4); transform: rotateY(-7deg) rotateX(2deg); transform-origin: right center; }
.tv::before { content: ""; position: absolute; left: 43%; bottom: -45px; width: 14%; height: 45px; background: linear-gradient(90deg, #141527, #0b0d1d); }
.tv::after { content: ""; position: absolute; left: 28%; right: 20%; bottom: -58px; height: 14px; border-radius: 999px; background: #111225; box-shadow: 0 12px 25px rgba(0,0,0,.36); }
.tv-screen, .phone-screen { position: absolute; inset: 0; overflow: hidden; background: #050717; }
.tv-screen { padding: 34px 36px 26px; }
.app-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.app-logo { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 1.38rem; }
.app-logo img { width: 44px; height: 44px; border-radius: 14px; }
.search { display: flex; gap: 10px; align-items: center; }
.search span { padding: 9px 15px; border-radius: 10px; color: #bfc0dc; background: rgba(255,255,255,.07); font-size: .82rem; }
.app-layout { display: grid; grid-template-columns: 170px 1fr; gap: 22px; }
.sidebar { display: grid; gap: 9px; align-content: start; }
.side-item { display: flex; align-items: center; gap: 10px; min-height: 39px; padding: 0 12px; border-radius: 8px; color: #b9b8d2; font-size: .82rem; font-weight: 700; }
.side-item.active { color: white; background: linear-gradient(90deg, #7d40ff, #5927a8); }
.side-item svg { width: 16px; height: 16px; color: #c597ff; }

.hero-card { position: relative; height: 170px; margin-bottom: 20px; overflow: hidden; border: 1px solid rgba(189, 117, 255, .56); border-radius: 10px; background: radial-gradient(circle at 70% 18%, #f1def9 0 18px, transparent 19px), linear-gradient(140deg, rgba(74, 40, 137, .35), rgba(8, 12, 33, .15) 42%), linear-gradient(135deg, #111947, #251657 52%, #050817); }
.hero-card::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 82px; background: linear-gradient(138deg, transparent 0 50%, rgba(21, 35, 58, .9) 50% 58%, transparent 58%) 0 100% / 170px 82px repeat-x, linear-gradient(126deg, transparent 0 48%, rgba(16, 25, 45, .98) 48% 60%, transparent 60%) 70px 100% / 210px 92px repeat-x; }
.hero-card::after { content: ""; position: absolute; left: 18px; bottom: 20px; width: 180px; height: 5px; border-radius: 999px; background: linear-gradient(90deg, var(--pink) 0 44%, rgba(255,255,255,.18) 44%); }
.hero-card b { position: absolute; left: 18px; bottom: 34px; z-index: 1; font-size: 1.1rem; }
.play-dot { position: absolute; right: 20px; bottom: 34px; width: 44px; height: 44px; display: grid; place-items: center; border: 2px solid rgba(255,255,255,.75); border-radius: 50%; }
.play-dot::before { content: ""; border-left: 12px solid white; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 3px; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile { min-height: 82px; display: grid; place-items: center; gap: 5px; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; font-size: .82rem; font-weight: 850; background: linear-gradient(145deg, rgba(172, 42, 255, .76), rgba(33, 39, 105, .7)); }
.tile:nth-child(2) { background: linear-gradient(145deg, #0d80d9, #10295c); }
.tile:nth-child(3) { background: linear-gradient(145deg, #ba34a6, #321742); }
.tile:nth-child(4) { background: linear-gradient(145deg, #b86a30, #25182a); }
.tile svg { width: 28px; height: 28px; color: #f1ccff; }

.phone { position: absolute; right: -16px; bottom: 4px; width: 210px; aspect-ratio: 9 / 18.6; border: 7px solid #111225; border-radius: 34px; background: #050616; box-shadow: 0 24px 58px rgba(0,0,0,.6), 0 0 0 1px rgba(194,126,255,.52); overflow: hidden; }
.phone-screen { padding: 16px 13px; border-radius: 26px; }
.phone .app-logo { justify-content: center; font-size: .84rem; margin: 15px 0 16px; }
.phone .app-logo img { width: 25px; height: 25px; border-radius: 8px; }
.phone .hero-card { height: 104px; margin-bottom: 14px; border-radius: 8px; }
.phone .hero-card b { font-size: .64rem; left: 9px; bottom: 23px; }
.phone .hero-card::after { left: 9px; bottom: 13px; width: 92px; height: 3px; }
.phone .play-dot { width: 28px; height: 28px; right: 9px; bottom: 17px; border-width: 1px; }
.phone .tiles { grid-template-columns: repeat(2, 1fr); gap: 8px; }
.phone .tile { min-height: 52px; font-size: .58rem; border-radius: 6px; }
.phone .tile svg { width: 18px; height: 18px; }
.phone-nav { position: absolute; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(4, 1fr); padding: 8px 7px 10px; background: rgba(7, 9, 24, .92); font-size: .48rem; color: #cfc8e8; text-align: center; }
.phone-nav span { display: grid; justify-items: center; gap: 2px; }
.phone-nav svg { width: 13px; height: 13px; color: #be7fff; margin-inline: auto; }

.device-strip { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; gap: clamp(28px, 6vw, 84px); min-height: 88px; margin-top: -88px; border-top: 1px solid rgba(177, 135, 255, .14); border-bottom: 1px solid rgba(177, 135, 255, .14); background: rgba(5, 7, 20, .54); backdrop-filter: blur(16px); color: rgba(255,255,255,.86); }
.device-strip .label { color: var(--muted); font-size: .72rem; letter-spacing: 0; text-transform: uppercase; }
.device-brand { display: flex; align-items: center; gap: 13px; min-height: 52px; font-weight: 900; font-size: clamp(1.2rem, 2vw, 1.55rem); letter-spacing: 0; }
.device-brand small { display: block; color: var(--soft); font-size: .73rem; font-weight: 600; letter-spacing: 0; }
.device-brand svg { width: 32px; height: 32px; color: white; }
.separator { width: 1px; height: 40px; background: var(--line); }

.section { padding: clamp(54px, 8vw, 100px) 0; position: relative; }
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card, .notice-card, .download-panel, .doc-shell { border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(145deg, rgba(28, 33, 77, .82), rgba(10, 14, 36, .72)); box-shadow: inset 0 1px 0 rgba(255,255,255,.06), 0 24px 70px rgba(0,0,0,.22); }
.feature-card { min-height: 210px; padding: 22px 24px; overflow: hidden; position: relative; }
.feature-card::after { content: ""; position: absolute; right: -16px; bottom: -12px; width: 120px; height: 90px; opacity: .18; border: 8px solid #8d62ff; border-radius: 18px; }
.feature-card .icon { width: 78px; height: 78px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 12px; background: linear-gradient(145deg, rgba(179, 28, 255, .45), rgba(21, 132, 255, .22)); }
.feature-card svg { width: 42px; height: 42px; color: #c875ff; }
.feature-card h2 { margin: 0 0 6px; font-size: 1.32rem; letter-spacing: 0; }
.feature-card p { margin-bottom: 18px; color: #e4def3; font-size: 1.02rem; }
.check-list { list-style: none; padding: 0; margin: 0; color: #d8d1ec; font-size: .92rem; }
.check-list li { margin: 6px 0; padding-left: 28px; position: relative; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .18em; width: 18px; height: 18px; border-radius: 50%; background: #9f7cff; }
.check-list li::after { content: ""; position: absolute; left: 6px; top: .54em; width: 6px; height: 3px; border-left: 2px solid white; border-bottom: 2px solid white; transform: rotate(-45deg); }

.notice-card { display: flex; align-items: center; gap: 14px; width: min(100%, 1360px); margin: 16px auto 0; padding: 12px 18px; color: #cfc9df; font-size: .9rem; }
.notice-card svg { width: 30px; height: 30px; color: #9f7cff; flex: none; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.section-head h2 { margin: 0; font-size: clamp(2rem, 3.3vw, 4rem); line-height: 1; letter-spacing: 0; }
.section-head p { max-width: 690px; margin: 0; color: var(--soft); font-size: 1.05rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { border-top: 2px solid var(--line-bright); padding: 18px 10px 0 0; }
.step strong { display: block; margin-bottom: 8px; color: #bb8bff; font-size: .78rem; letter-spacing: 0; }
.step h3 { margin-bottom: 8px; font-size: 1.28rem; }
.step p { color: var(--soft); margin-bottom: 0; }

.download-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 24px; padding: clamp(24px, 4vw, 42px); }
.download-panel h2 { margin-bottom: 8px; font-size: clamp(1.7rem, 2.6vw, 3rem); letter-spacing: 0; }
.download-panel p { max-width: 840px; margin-bottom: 0; color: var(--soft); }
.download-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
.text-link { color: #e4b2ff; font-weight: 850; text-decoration-thickness: 1px; text-underline-offset: 5px; }

.footer { padding: 34px 0 24px; border-top: 1px solid rgba(177, 135, 255, .14); background: rgba(4, 6, 18, .78); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr .7fr; gap: 24px; }
.footer h3 { margin: 0 0 10px; color: white; font-size: .82rem; text-transform: uppercase; letter-spacing: 0; }
.footer p, .footer a { color: var(--muted); font-size: .92rem; }
.footer a { display: block; margin: 6px 0; text-decoration: none; }
.footer a:hover { color: var(--pink); }
.copy { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 24px; padding-top: 18px; border-top: 1px solid rgba(177, 135, 255, .14); color: #777394; font-size: .82rem; }

.doc-main { padding-top: 132px; padding-bottom: 70px; }
.doc-shell { max-width: 1040px; padding: clamp(26px, 5vw, 60px); }
.doc-shell .eyebrow { margin-bottom: 10px; }
.doc-shell h1 { max-width: none; margin-bottom: 14px; font-size: clamp(2.6rem, 5vw, 5.4rem); }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 34px; color: var(--muted); }
.doc-body { max-width: 78ch; color: #dcd6ec; }
.doc-body h2 { margin: 34px 0 10px; font-size: clamp(1.45rem, 2vw, 2rem); letter-spacing: 0; }
.doc-body p { color: #dcd6ec; }
.doc-body ul { padding-left: 1.2em; color: #dcd6ec; }
.doc-body li { margin: 8px 0; }
.doc-body a { color: #e4b2ff; text-underline-offset: 4px; }

[hidden] { display: none !important; }
[data-i18n-block] { display: none; }
html[data-lang="tr"] [data-i18n-block="tr"],
html[data-lang="en"] [data-i18n-block="en"] { display: block; }
html[data-lang="tr"] span[data-i18n-block="tr"],
html[data-lang="en"] span[data-i18n-block="en"] { display: inline; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media (max-width: 1200px) {
  .topbar { min-height: 78px; }
  .nav-links { display: none; }
  .hero { padding-top: 105px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .device-stage { min-height: 560px; }
  .tv { left: 0; right: auto; width: min(760px, 88vw); }
  .phone { right: 4%; }
  .device-strip { margin-top: 0; flex-wrap: wrap; padding: 16px var(--gutter); }
  .feature-cards, .steps { grid-template-columns: 1fr; }
  .download-panel { grid-template-columns: 1fr; }
  .download-actions { justify-content: flex-start; }
}

@media (max-width: 760px) {
  .wrap { padding-inline: 18px; }
  .topbar { gap: 12px; padding-block: 10px; flex-wrap: wrap; }
  .brand { font-size: 1.45rem; }
  .brand img { width: 48px; height: 48px; }
  .actions { width: 100%; margin-left: 0; justify-content: space-between; }
  .actions .btn { min-height: 48px; padding: 0 16px; font-size: .88rem; }
  .hero { padding-top: 148px; }
  .moon { right: -44px; top: 166px; width: 82px; opacity: .62; }
  h1 { font-size: clamp(3.15rem, 17vw, 4.6rem); }
  .lede { font-size: 1.05rem; }
  .trust-row { grid-template-columns: 1fr; }
  .device-stage { min-height: 430px; margin-inline: -18px; overflow: hidden; }
  .tv { left: 18px; width: 720px; transform: scale(.54); transform-origin: left top; }
  .phone { width: 170px; right: 16px; bottom: 18px; }
  .device-strip { justify-content: flex-start; gap: 18px; }
  .device-strip .label { width: 100%; }
  .separator { display: none; }
  .feature-card { min-height: 0; }
  .section-head { display: block; }
  .section-head p { margin-top: 12px; }
  .notice-card { align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .doc-main { padding-top: 150px; }
}
