/* OA Labs — ortak görünüm (koyu tema) */
:root {
  --bg: #0D0F16;
  --bg-2: #11131C;
  --surface: #151824;
  --surface-2: #1C2030;
  --line: #1E2232;
  --border: #262B3D;
  --border-2: #2A2F43;
  --text: #EEEAE2;
  --text-2: #B7BACA;
  --muted: #9EA2B3;
  --faint: #7E8296;
  --amber: #F2A541;
  --amber-hi: #F7BF6E;
  --amber-ink: #14110A;
  --green: #5BC48C;
  --blue: #6EA8FE;
  --display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
  --body: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); }
a:hover { color: var(--amber-hi); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1200px, 100% - 64px); margin-inline: auto; }
h1, h2, h3 { text-wrap: balance; }
.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; }

/* Üst menü */
.site-head { border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); }
.nav { height: 76px; display: flex; align-items: center; gap: 28px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 800 22px/1 var(--display); letter-spacing: -0.01em; }
.logo:hover { color: var(--text); }
.oa-mark { width: 30px; height: 30px; border-radius: 9px; background: var(--text); color: var(--bg); display: grid; place-items: center; font: 800 13px/1 var(--display); letter-spacing: -0.04em; flex: none; }
.nav-links { display: flex; gap: 28px; flex: 1; font-size: 15px; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--text); }
.crumb { color: #3A3F55; }
.crumb-home { display: flex; align-items: center; gap: 10px; color: var(--muted); text-decoration: none; font-size: 15px; }
.crumb-home .oa-mark { width: 26px; height: 26px; border-radius: 8px; font-size: 11px; }
.crumb-app { display: flex; align-items: center; gap: 10px; font: 800 20px/1 var(--display); }
.crumb-app img { width: 30px; height: 30px; border-radius: 8px; }

/* Düğmeler */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 27px; font-weight: 600; font-size: 17px; text-decoration: none; border: 1px solid var(--border-2); color: var(--text); background: transparent; transition: background .15s, border-color .15s, transform .15s; }
.btn:hover { color: var(--text); border-color: var(--faint); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn.primary { background: var(--amber); border-color: var(--amber); color: var(--amber-ink); }
.btn.primary:hover { background: var(--amber-hi); border-color: var(--amber-hi); color: var(--amber-ink); transform: translateY(-1px); }
.btn.small { height: 44px; padding: 0 20px; font-size: 15px; border-radius: 22px; }
.btn.big { height: 58px; padding: 0 30px; font-size: 18px; border-radius: 29px; }

/* Bölümler */
section { padding: 72px 0; }
.h2 { margin: 0 0 8px; font: 800 44px/1.05 var(--display); letter-spacing: -0.02em; }
.lead-2 { margin: 0 0 40px; color: var(--muted); max-width: 36em; }

/* Alt bilgi */
.site-foot { border-top: 1px solid var(--line); margin-top: 48px; }
.foot { padding: 48px 0 64px; display: flex; flex-wrap: wrap; gap: 24px 32px; align-items: flex-start; justify-content: space-between; font-size: 15px; color: var(--muted); }
.foot-brand { font: 800 22px/1.2 var(--display); color: var(--text); }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.foot-links a.quiet { color: var(--muted); }
.foot-links a.quiet:hover { color: var(--text); }

@media (max-width: 760px) {
  .wrap { width: min(1200px, 100% - 32px); }
  .nav { height: auto; min-height: 64px; flex-wrap: wrap; gap: 12px 20px; padding: 12px 0; }
  .nav-links { order: 3; flex-basis: 100%; gap: 20px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; justify-content: flex-start !important; }
  section { padding: 56px 0; }
  .h2 { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Üyelik */
.auth { max-width: 520px; margin: 56px auto 24px; }
.auth h1 { margin: 0 0 10px; font: 800 clamp(34px, 5vw, 46px)/1.08 var(--display); letter-spacing: -0.02em; }
.auth .sub { margin: 0 0 28px; color: var(--text-2); }
.auth-card { border-radius: 22px; background: var(--surface); border: 1px solid var(--border); padding: 28px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: var(--bg); border: 1px solid var(--border); margin-bottom: 24px; }
.tabs button { height: 44px; border: none; border-radius: 12px; background: transparent; color: var(--muted); font: 600 16px var(--body); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--surface-2); color: var(--text); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 15px; font-weight: 600; }
.field input { height: 52px; border-radius: 14px; border: 1px solid var(--border-2); background: var(--bg); color: var(--text); padding: 0 16px; font: inherit; font-size: 17px; }
.field input:focus { outline: none; border-color: var(--amber); }
.field input.code { font: 800 30px/1 var(--display); letter-spacing: .4em; text-align: center; padding-left: .4em; }
.field .hint { color: var(--faint); font-size: 13px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text-2); margin-bottom: 12px; cursor: pointer; }
.check input { margin: 3px 0 0; width: 17px; height: 17px; accent-color: var(--amber); flex: none; }
.auth-card .btn { width: 100%; justify-content: center; cursor: pointer; font-family: inherit; margin-top: 8px; }
.auth-card .btn[disabled] { opacity: .6; cursor: wait; }
.form-msg { margin: 14px 0 0; font-size: 15px; min-height: 1.4em; }
.form-msg.ok { color: var(--green); }
.form-msg.err { color: #F08A7E; }
.textlink { background: none; border: none; padding: 0; color: var(--amber); font: inherit; cursor: pointer; text-decoration: underline; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.join { border-radius: 24px; background: var(--surface); border: 1px solid var(--border); padding: 40px; display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: center; justify-content: space-between; }
.join-text { flex: 1 1 420px; min-width: 0; }
.join-text .h2 { font-size: 36px; margin-bottom: 10px; }
.join-text p { margin: 0; color: var(--text-2); }
.join-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.perks { margin: 16px 0 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--text-2); font-size: 15px; }
.perks li::before { content: "✓"; color: var(--amber); font-weight: 700; margin-right: 8px; }
@media (max-width: 760px) {
  .join { padding: 28px 20px; }
  .join-text .h2 { font-size: 30px; }
  .auth-card { padding: 22px 18px; }
}

/* Üst menüdeki hesap düğmesi ve açılır menü */
.acct { position: relative; flex: none; }
.acct-btn { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px 0 7px; border-radius: 24px; border: 1px solid var(--border-2); background: var(--surface); color: var(--text); font: inherit; cursor: pointer; text-decoration: none; }
.acct-btn:hover { border-color: var(--faint); color: var(--text); }
.acct-btn[aria-expanded="true"] { border-color: var(--amber); }
.acct-btn .lbl { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.acct-btn .lbl small { font-size: 12px; color: var(--muted); }
.acct-btn .lbl b { font-size: 15px; font-weight: 600; }
.acct-btn .member b { order: 2; }
.acct-btn svg.chev { color: var(--muted); transition: transform .15s; }
.acct-btn[aria-expanded="true"] svg.chev { transform: rotate(180deg); }
.ava { width: 34px; height: 34px; border-radius: 50%; background: var(--surface-2); color: var(--text-2); display: grid; place-items: center; flex: none; font: 800 14px/1 var(--display); }
.ava.on { background: var(--amber); color: var(--amber-ink); }
.ava.lg { width: 44px; height: 44px; font-size: 16px; }
.ava.xl { width: 72px; height: 72px; font-size: 26px; }
.acct-pop { position: absolute; right: 0; top: calc(100% + 10px); width: 300px; max-width: calc(100vw - 32px); box-sizing: border-box; padding: 8px; border-radius: 18px; background: var(--surface); border: 1px solid var(--border-2); box-shadow: 0 24px 60px rgba(0,0,0,.55); z-index: 30; }
.acct-pop.guest { padding: 20px; }
.acct-pop .hi { margin: 0 0 4px; font: 800 20px/1.2 var(--display); }
.acct-pop .hi-sub { margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: var(--text-2); }
.acct-pop .stack { display: flex; flex-direction: column; gap: 10px; }
.acct-pop .stack .btn { height: 46px; justify-content: center; font-size: 15px; }
.acct-pop .perk { margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
.acct-pop .perk li::before { content: "✓"; color: var(--amber); font-weight: 700; margin-right: 8px; }
.acct-who { display: flex; align-items: center; gap: 12px; padding: 12px 12px 14px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.acct-who div { min-width: 0; line-height: 1.35; }
.acct-who b { display: block; font-weight: 600; }
.acct-who > div > span { display: block; font-size: 13px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mi { display: flex; align-items: center; gap: 12px; width: 100%; height: 44px; padding: 0 12px; border-radius: 10px; border: none; background: transparent; color: var(--text); text-decoration: none; font: inherit; font-size: 15px; cursor: pointer; text-align: left; box-sizing: border-box; }
.mi:hover, .mi:focus-visible, .mi[aria-current="page"] { background: var(--surface-2); color: var(--text); }
.mi svg { width: 18px; height: 18px; flex: none; color: var(--text-2); }
.mi[aria-current="page"] svg { color: var(--amber); }
.mi[aria-current="page"] { font-weight: 600; }
.mi .tag { margin-left: auto; font-size: 12px; font-weight: 600; color: var(--green); }
.mi.out { color: #F08A7E; }
.mi.out svg { color: currentColor; }
.mi-sep { border-top: 1px solid var(--line); margin: 6px 0 0; padding-top: 6px; }
@media (max-width: 760px) {
  .nav .acct { margin-left: auto; }
  .nav-cta { display: none !important; } /* telefonda indirme düğmesi sayfanın içinde zaten var */
  .acct-btn { padding: 0 5px; width: 48px; justify-content: center; }
  .acct-btn .lbl, .acct-btn svg.chev { display: none; }
  .acct-pop { position: fixed; right: 16px; left: 16px; top: 72px; width: auto; max-width: none; }
}

/* Platform çipleri (Windows · Web · Android yakında) */
.plats { display: flex; flex-wrap: wrap; gap: 8px; }
.plat { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 15px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-2); font-size: 13px; font-weight: 600; }
.plat svg { width: 15px; height: 15px; flex: none; }
.plat.soon { background: transparent; border-style: dashed; border-color: #3E5A46; color: #7CC88A; }
.plat.soon small { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 1px 6px; border-radius: 6px; background: rgba(124,200,138,.14); }

/* Dil düğmesi ve öneri şeridi */
.lang-sw { flex: none; display: inline-grid; place-items: center; min-width: 44px; height: 36px; padding: 0 10px; border-radius: 18px; border: 1px solid var(--border-2); color: var(--text-2); text-decoration: none; font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.lang-sw:hover { color: var(--text); border-color: var(--faint); }
.lang-bar { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; padding: 10px 16px; background: var(--surface-2); border-bottom: 1px solid var(--border); font-size: 15px; color: var(--text-2); }
.lang-bar .btn { height: 34px; padding: 0 14px; font-size: 14px; }
.lang-x { width: 34px; height: 34px; border-radius: 17px; border: 1px solid var(--border-2); background: transparent; color: var(--text-2); font-size: 18px; cursor: pointer; }
@media (max-width: 760px) { .lang-sw { min-width: 40px; height: 34px; } }
