/* 77 Studios — site stili. Renkler marka rehberinden: #14161F zemin, beyaz yazı, #FFCF3F parıltı. */

@font-face { font-family: "Poppins"; src: url("assets/fonts/Poppins-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("assets/fonts/Poppins-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --bg: #14161f;
  --card: #1a1d28;
  --card-line: rgba(255, 255, 255, .07);
  --text: #fff;
  --text-2: rgba(255, 255, 255, .66);
  --text-3: rgba(255, 255, 255, .44);
  --line: rgba(255, 255, 255, .08);
  --chip: rgba(255, 255, 255, .07);
  --spark: #ffcf3f;
  --hl-1: #ffdc73;
  --hl-2: #ffb43a;
  --btn-bg: #fff;
  --btn-text: #14161f;
  --badge-line: rgba(255, 255, 255, .2);
  --dot: rgba(255, 255, 255, .07);
  --glow: rgba(255, 207, 63, .13);
  --shadow: 0 40px 80px -30px rgba(0, 0, 0, .7);
  --header: rgba(20, 22, 31, .72);
  --notes-glow: rgba(255, 170, 40, .26);
  --player-glow: rgba(40, 200, 150, .17);
  --dm-glow: rgba(115, 90, 255, .3);
  --notes: #ffb72e;
  --player: #3fd3a4;
  --dm: #8f7dff;
  --radius: 32px;
  --wrap: 1120px;
  color-scheme: dark;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f6f6f8;
    --card: #fff;
    --card-line: rgba(20, 22, 31, .06);
    --text: #14161f;
    --text-2: rgba(20, 22, 31, .64);
    --text-3: rgba(20, 22, 31, .46);
    --line: rgba(20, 22, 31, .08);
    --chip: rgba(20, 22, 31, .05);
    --hl-1: #f5a300;
    --hl-2: #ef7a00;
    --btn-bg: #14161f;
    --btn-text: #fff;
    --badge-line: transparent;
    --dot: rgba(20, 22, 31, .07);
    --glow: rgba(255, 190, 40, .2);
    --shadow: 0 40px 80px -36px rgba(20, 22, 31, .32);
    --header: rgba(246, 246, 248, .78);
    --notes-glow: rgba(255, 180, 50, .24);
    --player-glow: rgba(30, 180, 130, .13);
    --dm-glow: rgba(115, 90, 255, .14);
    --notes: #f29a00;
    --player: #14a37a;
    --dm: #6a55f0;
    color-scheme: light;
  }
}

/* ---------- dil: iki dil de sayfada, seçili olmayan gizlenir ---------- */
html[data-lang="tr"] [lang="en"]:not(html),
html[data-lang="en"] [lang="tr"]:not(html) { display: none !important; }

/* ---------- temel ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.6 "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin: 0; }
p { margin: 0; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.hl {
  background: linear-gradient(100deg, var(--hl-1), var(--hl-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }

/* ---------- üst çubuk ---------- */
.top {
  position: sticky; top: 0; z-index: 10;
  background: var(--header);
  -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--line);
}
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; color: var(--text); }
.logo svg { height: 26px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; font-size: 14px; color: var(--text-2);
  padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s;
}
.nav a:hover { color: var(--text); background: var(--chip); }
.lang-btn {
  margin-left: 8px; font: inherit; font-size: 13px; letter-spacing: .04em; cursor: pointer;
  color: var(--text); background: var(--chip); border: 1px solid var(--line);
  height: 34px; min-width: 46px; padding: 0 12px; border-radius: 999px;
}
.lang-btn:hover { background: var(--line); }

/* ---------- giriş ---------- */
.hero { position: relative; text-align: center; padding: 96px 0 72px; isolation: isolate; }
.hero::before { /* defter noktaları, kenarlara doğru söner */
  content: ""; position: absolute; inset: -64px 0 0; z-index: -1;
  background: radial-gradient(var(--dot) 1.3px, transparent 1.8px) 0 0 / 24px 24px;
  -webkit-mask: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 75%);
  mask: radial-gradient(70% 60% at 50% 30%, #000 20%, transparent 75%);
}
.hero::after { /* sağ üstten gelen sıcak ışık */
  content: ""; position: absolute; z-index: -1; top: -64px; right: -10%; width: 70%; height: 520px;
  background: radial-gradient(closest-side, var(--glow), transparent);
  pointer-events: none;
}
.hero-icons { display: flex; justify-content: center; gap: 22px; margin-bottom: 44px; }
.hero-icons img { width: 88px; height: 88px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
.hero-icons img.square { border-radius: 22%; }
.hero-icons img:nth-child(2) { transform: translateY(-14px); }
.hero h1 { font-size: clamp(42px, 7.4vw, 82px); }
.hero .lead { max-width: 600px; margin: 26px auto 0; font-size: clamp(16px, 2vw, 19px); color: var(--text-2); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 36px;
  text-decoration: none; font-size: 15px; color: var(--btn-text); background: var(--btn-bg);
  height: 50px; padding: 0 26px; border-radius: 999px;
  transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .45); }
.btn svg { width: 16px; height: 16px; }

/* ---------- uygulamalar ---------- */
.section { padding: 64px 0; }
.sec-head { text-align: center; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 46px); }

.app {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding: 56px; border-radius: var(--radius);
  background: radial-gradient(70% 80% at 100% 0%, var(--app-glow), transparent 70%), var(--card);
  border: 1px solid var(--card-line);
  margin-bottom: 24px;
}
.app--notes { --app-glow: var(--notes-glow); --accent: var(--notes); }
.app--player { --app-glow: var(--player-glow); --accent: var(--player); }
.app--dm { --app-glow: var(--dm-glow); --accent: var(--dm); }

.app-id { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.app-icon { width: 64px; height: 64px; flex: none; }
.app-icon.square { border-radius: 22%; }
.app-id h3 { font-size: 22px; letter-spacing: -.02em; }
.plat { font-size: 14px; color: var(--text-3); margin-top: 2px; }
.slogan { font-weight: 800; font-size: clamp(30px, 3.6vw, 42px); letter-spacing: -.03em; line-height: 1.1; }
.app--notes .hl { background-image: linear-gradient(100deg, #ffc94a, #ff9a1f); }
.app--player .hl { background-image: linear-gradient(100deg, #6fe3bd, #2fb88f); }
@media (prefers-color-scheme: light) {
  .app--notes .hl { background-image: linear-gradient(100deg, #f5a300, #ef7a00); }
  .app--player .hl { background-image: linear-gradient(100deg, #1fb488, #0e8f6a); }
}
.desc { color: var(--text-2); margin-top: 16px; max-width: 460px; }

.feats { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.feats li { display: flex; gap: 14px; align-items: flex-start; }
.feats .fi {
  flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center;
  background: var(--chip); color: var(--accent);
}
.feats .fi svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feats b { display: block; font-weight: 800; font-size: 15px; letter-spacing: -.01em; line-height: 1.3; }
.feats span:not(.fi) { display: block; font-size: 14px; color: var(--text-2); line-height: 1.45; margin-top: 2px; }

.get { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 34px; }
.store {
  display: inline-flex; align-items: center; gap: 11px; text-decoration: none;
  height: 52px; padding: 0 20px 0 16px; border-radius: 13px;
  background: #000; color: #fff; border: 1px solid var(--badge-line);
  transition: transform .2s;
}
a.store:hover { transform: translateY(-1px); }
.store svg { width: 24px; height: 24px; flex: none; }
.store small { display: block; font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; opacity: .8; line-height: 1.2; }
.store b { display: block; font-weight: 800; font-size: 17px; letter-spacing: -.01em; line-height: 1.15; }
.store.soon { opacity: .55; cursor: default; }
.plink { font-size: 14px; color: var(--text-2); text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.plink:hover { color: var(--text); border-color: var(--text-3); }

/* 77 Notes: iki telefon (önde açık tema, arkada koyu tema) */
.phones { position: relative; display: flex; justify-content: center; align-items: center; min-height: 620px; }
.phone {
  margin: 0; width: 252px; aspect-ratio: 1170 / 2532; padding: 7px; border-radius: 42px;
  background: #0a0b0f; box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .08);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 35px; }
.phone.front { position: relative; z-index: 2; transform: translate(-58px, 26px); }
.phone.back { position: absolute; z-index: 1; transform: translate(84px, -26px) scale(.92); }

/* 77 Player: pencereler, kartın sağ kenarından taşar */
.windows { position: relative; margin-right: -180px; padding: 20px 0 70px; }
.win {
  margin: 0; border-radius: 14px; overflow: hidden; background: #000;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .1);
}
.win img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.win.small { position: absolute; left: -36px; bottom: 0; width: 56%; }

/* 77DM: küçük "yakında" kartı */
.app--dm {
  grid-template-columns: auto 1fr auto; gap: 24px; padding: 32px 40px;
  background: radial-gradient(40% 160% at 100% 0%, var(--app-glow), transparent 70%), var(--card);
}
.app--dm .app-icon { width: 72px; height: 72px; }
.app--dm h3 { font-size: 22px; letter-spacing: -.02em; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.app--dm .desc { margin-top: 6px; max-width: 560px; }
.tag {
  display: inline-block; font-size: 11.5px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase;
  color: var(--accent); background: var(--chip); border: 1px solid var(--line);
  padding: 3px 10px; border-radius: 999px;
}
.dm-plat { font-size: 14px; color: var(--text-3); white-space: nowrap; }

/* ---------- üç kural ---------- */
.rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rule { padding: 32px; border-radius: 24px; background: var(--card); border: 1px solid var(--card-line); }
.rule .ri {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--chip); color: var(--spark);
}
@media (prefers-color-scheme: light) { .rule .ri { color: #e09a00; } }
.rule .ri svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.rule h3 { font-size: 20px; letter-spacing: -.02em; }
.rule p { color: var(--text-2); font-size: 15px; margin-top: 8px; }

/* ---------- gizlilik + iletişim ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.panel { padding: 40px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--card-line); }
.panel h2 { font-size: 28px; letter-spacing: -.025em; }
.panel > p { color: var(--text-2); margin-top: 10px; }
.plist { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.plist a {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  padding: 12px 16px 12px 12px; border-radius: 16px; background: var(--chip);
  transition: background .2s;
}
.plist a:hover { background: var(--line); }
.plist img { width: 40px; height: 40px; }
.plist img.square { border-radius: 22%; }
.plist .pt { flex: 1; font-size: 15px; line-height: 1.3; }
.plist .pt small { display: block; color: var(--text-3); font-size: 13px; }
.chev { width: 18px; height: 18px; color: var(--text-3); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mail { margin-top: 24px; }

/* ---------- alt bilgi ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 64px; padding: 36px 0 48px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; font-size: 14px; color: var(--text-3); }
.foot .logo svg { height: 22px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a { text-decoration: none; color: var(--text-2); }
.foot nav a:hover { color: var(--text); }

/* ---------- gizlilik sayfaları ---------- */
.doc { max-width: 720px; margin: 0 auto; padding: 56px 0 24px; }
.back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--text-2); text-decoration: none; margin-bottom: 36px; }
.back:hover { color: var(--text); }
.back svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.doc-head { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; }
.doc-head img { width: 64px; height: 64px; }
.doc-head img.square { border-radius: 22%; }
.doc h1 { font-size: clamp(30px, 5vw, 42px); }
.doc .updated { color: var(--text-3); font-size: 14px; margin-top: 6px; }
.summary {
  padding: 22px 24px; border-radius: 20px; margin-bottom: 36px;
  background: radial-gradient(80% 120% at 100% 0%, var(--app-glow), transparent 70%), var(--card);
  border: 1px solid var(--card-line); font-size: 17px;
}
.doc h2 { font-size: 22px; letter-spacing: -.02em; margin: 40px 0 12px; }
.doc p, .doc li { color: var(--text-2); }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 20px; margin: 10px 0 0; }
.doc li { margin: 6px 0; }
.doc li::marker { color: var(--text-3); }
.doc strong { color: var(--text); font-weight: 800; }
.doc a { color: var(--text); }

/* ---------- dar ekranlar ---------- */
@media (max-width: 960px) {
  .app { grid-template-columns: 1fr; padding: 40px 32px; gap: 32px; }
  .phones { min-height: 600px; }
  .windows { margin-right: 0; padding-bottom: 56px; }
  .win.small { left: auto; right: -10px; width: 50%; }
  .rules { grid-template-columns: 1fr; gap: 14px; }
  .duo { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .nav a { display: none; }
  .hero { padding: 64px 0 48px; }
  .hero-icons { gap: 14px; margin-bottom: 34px; }
  .hero-icons img { width: 68px; height: 68px; }
  .section { padding: 44px 0; }
  .app { padding: 32px 22px; border-radius: 26px; }
  .phones { min-height: 480px; }
  .phone { width: 196px; border-radius: 34px; padding: 6px; }
  .phone img { border-radius: 28px; }
  .phone.front { transform: translate(-44px, 18px); }
  .phone.back { transform: translate(62px, -18px) scale(.92); }
  .app--dm { grid-template-columns: 1fr; padding: 28px 22px; gap: 14px; }
  .app--dm .app-icon { width: 56px; height: 56px; }
  .panel, .rule { padding: 28px 22px; }
  .store { height: 50px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
