/* Gül Eda Aydemir — developer hub styles (shared by /, /about/, /guides/, /tr/, /404.html) */
:root {
  --bg: #050505;
  --card: rgba(25, 25, 25, 0.6);
  --card-solid: #121214;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --muted: #a1a1a6;
  --soft: #d2d2d7;
  --accent: #7c3aed;
  --accent-hover: #6d28d9;
  --accent-2: #ec4899;
  --link: #c4b5fd;
  --ok: #86efac;
  --warn: #fcd34d;
  --radius: 24px;
  --radius-sm: 14px;
  --wrap: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* per-app accents (from the original hub buttons) */
  --c-atha: linear-gradient(120deg, #f6a17f 0%, #f3a1c9 48%, #9a7cff 100%);
  --c-dump: linear-gradient(120deg, #c799fa, #ff375f);
  --c-shots: #00e5ff;
  --c-swipe: #8b5cf6;
  --c-solora: #7c3aed;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: #ddd6fe; }
:focus-visible { outline: 3px solid #a78bfa; outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 10px 14px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* background glow (kept from the original hub) */
.bg-glow, .bg-glow-2 { position: fixed; border-radius: 50%; z-index: -1; pointer-events: none; }
.bg-glow { width: 600px; height: 600px; top: -200px; left: -200px; background: radial-gradient(circle, rgba(124, 58, 237, 0.16) 0%, rgba(0, 0, 0, 0) 70%); animation: pulse 8s infinite alternate; }
.bg-glow-2 { width: 500px; height: 500px; bottom: -100px; right: -150px; background: radial-gradient(circle, rgba(236, 72, 153, 0.1) 0%, rgba(0, 0, 0, 0) 70%); animation: pulse 10s infinite alternate-reverse; }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.2); opacity: 1; } }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 700px) { .wrap { padding: 0 24px; } }
section { padding: 56px 0; }
@media (min-width: 900px) { section { padding: 80px 0; } }
.eyebrow { text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 700; color: var(--link); margin-bottom: 12px; }
.lead { font-size: 1.15rem; color: var(--soft); max-width: 46em; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.center { text-align: center; }

/* ---------- header / nav ---------- */
.site-header { position: relative; z-index: 10; border-bottom: 1px solid var(--border); background: rgba(5, 5, 5, .72); backdrop-filter: saturate(150%) blur(14px); -webkit-backdrop-filter: saturate(150%) blur(14px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav a { color: var(--soft); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 10px 10px; border-radius: 10px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); background: rgba(255, 255, 255, .06); }
.nav .nav-cta { background: var(--accent); color: #fff; margin-left: 6px; padding: 10px 14px; }
.nav .nav-cta:hover { background: var(--accent-hover); color: #fff; }
.lang { font-size: .85rem; color: var(--muted); }
.lang a { color: var(--soft); }
/* EN / TR language switcher (next to the brand on phones, before the nav on desktop) */
.lang-switch { display: inline-flex; align-items: center; gap: 2px; margin-left: auto; padding: 2px; border: 1px solid var(--border-strong); border-radius: 999px; }
.lang-switch a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 40px; padding: 4px 10px; border-radius: 999px; font-size: .84rem; font-weight: 650; letter-spacing: .05em; color: var(--soft); text-decoration: none; }
.lang-switch a:hover { color: #fff; background: rgba(255, 255, 255, .08); }
.lang-switch a[aria-current] { color: #fff; background: rgba(255, 255, 255, .16); }
@media (max-width: 640px) {
  .site-header .wrap { padding-top: 8px; padding-bottom: 6px; }
  .nav { width: 100%; justify-content: space-between; }
  .nav a { padding: 10px 8px; font-size: .92rem; }
  .nav .nav-cta, .nav .nav-wide { display: none; }
}
.lang-note { display: inline-block; margin-left: 6px; padding: 1px 7px; border: 1px solid var(--border-strong); border-radius: 999px; font-size: .7rem; font-weight: 650; letter-spacing: .05em; color: var(--muted); vertical-align: middle; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 20px; border-radius: 999px; font-weight: 650; font-size: 1rem; text-decoration: none; transition: background .2s, box-shadow .2s, transform .2s; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 6px 18px rgba(124, 58, 237, .4); }
.btn-ghost { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: var(--text); }
.btn-ghost:hover { background: rgba(255, 255, 255, .14); color: var(--text); }
/* "Download on the App Store" button (text only; no Apple logo artwork) */
.btn-store { display: inline-flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 7px 18px 8px; border-radius: 12px; background: #000; border: 1px solid #a6a6a6; color: #fff; text-decoration: none; line-height: 1.1; }
.btn-store small { font-size: .7rem; font-weight: 500; letter-spacing: .02em; }
.btn-store strong { font-size: 1.12rem; font-weight: 650; letter-spacing: -0.01em; }
.btn-store:hover { background: #111; border-color: #fff; color: #fff; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.text-link { font-weight: 600; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.text-link:hover { text-decoration: underline; }

/* ---------- hero ---------- */
.hero { padding: 48px 0 40px; }
.hero .wrap { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 88px 0 72px; } .hero .wrap { grid-template-columns: 1.15fr .85fr; } }
.hero h1 { font-size: clamp(2.2rem, 6.4vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; background: linear-gradient(135deg, #fff 0%, #c9c9cf 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #fff; }
.micro-facts { display: flex; flex-wrap: wrap; gap: 8px 10px; list-style: none; padding: 0; margin: 22px 0 0; }
.micro-facts li { font-size: .88rem; color: var(--soft); background: rgba(255, 255, 255, .05); border: 1px solid var(--border); padding: 6px 12px; border-radius: 999px; }
.micro-facts li::before { content: "✓ "; color: var(--ok); }
.micro-facts li.mf-link::before { content: none; }
.micro-facts li.mf-link a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.phones { position: relative; display: flex; justify-content: center; align-items: flex-end; gap: 0; min-height: 300px; }
.phones img { width: 31%; max-width: 190px; border-radius: 22px; border: 1px solid var(--border-strong); box-shadow: 0 24px 60px rgba(0, 0, 0, .55); background: #111; }
.phones img:nth-child(1) { transform: translateX(14%) rotate(-6deg) scale(.92); }
.phones img:nth-child(2) { position: relative; z-index: 2; }
.phones img:nth-child(3) { transform: translateX(-14%) rotate(6deg) scale(.92); }

/* ---------- finder ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 20px 0 32px; }
.chips a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--card); border: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem; }
.chips a:hover { border-color: var(--border-strong); background: rgba(255, 255, 255, .08); }
.chips img { width: 28px; height: 28px; border-radius: 7px; }
.fix-list { display: grid; gap: 22px; }
.fix-card { position: relative; display: grid; gap: 24px; padding: 26px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); scroll-margin-top: 16px; overflow: hidden; }
.fix-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--app, var(--accent)); }
@media (min-width: 820px) { .fix-card { grid-template-columns: 1fr 230px; padding: 34px 34px 34px 36px; gap: 36px; } }
.fix-problem { display: inline-block; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--muted); margin-bottom: 8px; }
.fix-card h3 { font-size: clamp(1.35rem, 3vw, 1.7rem); margin-bottom: 12px; }
.fix-answer { color: var(--soft); }
.app-line { display: flex; align-items: center; gap: 14px; margin: 18px 0 14px; }
.app-line img { width: 60px; height: 60px; border-radius: 14px; flex-shrink: 0; box-shadow: 0 8px 18px rgba(0, 0, 0, .35); }
.app-line strong { display: block; font-size: 1.08rem; }
.app-line span { color: var(--muted); font-size: .95rem; }
.glance { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; font-size: .94rem; color: var(--soft); }
.glance li { padding-left: 0; }
.glance b { display: inline-block; min-width: 4.6em; color: var(--text); font-weight: 650; }
.fix-media { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.fix-media > img { width: 160px; max-width: 50vw; border-radius: 26px; border: 1px solid var(--border-strong); box-shadow: 0 18px 44px rgba(0, 0, 0, .5); background: #111; }
.qr { display: none; align-items: center; gap: 10px; color: var(--muted); font-size: .82rem; line-height: 1.3; }
.qr img { width: 84px; height: 84px; border-radius: 10px; background: #fff; padding: 4px; }
@media (min-width: 820px) { .qr { display: flex; } .fix-media > img { width: 200px; } }
.note { font-size: .85rem; color: var(--muted); }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 820px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 22px 20px; }
.steps li::before { content: counter(step); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; margin-bottom: 12px; }
.steps h3 { font-size: 1.12rem; margin-bottom: 6px; }
.steps p { color: var(--soft); margin: 0; font-size: .97rem; }

/* ---------- facts table ---------- */
.facts { width: 100%; border-collapse: separate; border-spacing: 0; margin-top: 24px; font-size: .93rem; }
.facts caption { text-align: left; color: var(--muted); font-size: .88rem; caption-side: bottom; padding-top: 14px; }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 14px 14px; border-bottom: 1px solid var(--border); }
.facts thead th { color: var(--muted); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.facts tbody th { font-weight: 700; white-space: nowrap; }
.facts tbody th img { width: 28px; height: 28px; border-radius: 7px; display: inline-block; vertical-align: middle; margin-right: 8px; }
.facts td { color: var(--soft); }
.tag-yes { color: var(--warn); font-weight: 600; }
.tag-no { color: var(--ok); font-weight: 600; }
.table-box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 8px 18px 18px; overflow: hidden; }
@media (max-width: 860px) {
  .facts thead { display: none; }
  .facts, .facts tbody, .facts tr, .facts th, .facts td { display: block; width: 100%; }
  .facts tr { padding: 14px 0; border-bottom: 1px solid var(--border-strong); }
  .facts tbody th { border: 0; padding: 4px 0 8px; font-size: 1.05rem; }
  .facts td { border: 0; padding: 4px 0; }
  .facts td::before { content: attr(data-label) ": "; color: var(--text); font-weight: 650; }
}

/* ---------- news / timeline ---------- */
.news { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.news li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; }
.news img { width: 44px; height: 44px; border-radius: 11px; }
.news h3 { font-size: 1.02rem; margin: 0 0 4px; }
.news time { color: var(--muted); font-weight: 500; font-size: .88rem; }
.news p { margin: 0; color: var(--soft); font-size: .95rem; }

/* ---------- trust / about strip ---------- */
.trust { display: grid; gap: 22px; align-items: center; background: linear-gradient(135deg, rgba(124, 58, 237, .16), rgba(236, 72, 153, .08)); border: 1px solid var(--border-strong); border-radius: var(--radius); padding: 28px 22px; }
@media (min-width: 820px) { .trust { grid-template-columns: 96px 1fr; padding: 34px; } }
.trust .avatar { width: 96px; height: 96px; border-radius: 24px; }
.trust-list { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.trust-list li { font-size: .95rem; }

/* ---------- cards grid (guides, legal) ---------- */
.grid { display: grid; gap: 14px; margin-top: 22px; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }
.link-card { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--border); color: var(--text); text-decoration: none; min-height: 44px; }
.link-card:hover { border-color: var(--border-strong); background: rgba(255, 255, 255, .07); color: var(--text); }
.link-card img { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; }
.link-card strong { display: block; font-size: 1.02rem; margin-bottom: 4px; }
.link-card span { color: var(--muted); font-size: .92rem; line-height: 1.45; display: block; }
.link-card .lang-note { display: inline-block; font-size: .7rem; line-height: 1.4; vertical-align: middle; } /* EN badge stays inline next to a card title */

/* ---------- FAQ ---------- */
.faq { margin-top: 24px; display: grid; gap: 10px; }
.faq details { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 20px; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; position: relative; font-weight: 650; font-size: 1.05rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 18px; color: var(--soft); }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- prose pages (about, guides) ---------- */
.page-head { padding: 44px 0 8px; }
@media (min-width: 900px) { .page-head { padding: 72px 0 16px; } }
.page-head h1 { font-size: clamp(2rem, 5.6vw, 3.1rem); font-weight: 800; letter-spacing: -0.03em; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: 18px; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--muted); }
.crumbs a { color: var(--soft); }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--soft); }
.box { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; margin: 20px 0; }
.box-quick { border-color: rgba(167, 139, 250, .45); background: rgba(124, 58, 237, .1); }
.legal-table { width: 100%; border-collapse: collapse; font-size: .95rem; margin-top: 18px; }
.legal-table th, .legal-table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--border); vertical-align: top; }
.legal-table thead th { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; }
.legal-table a { display: inline-block; min-height: 32px; }
@media (max-width: 700px) {
  .legal-table thead { display: none; }
  .legal-table, .legal-table tbody, .legal-table tr, .legal-table th, .legal-table td { display: block; width: 100%; }
  .legal-table tr { padding: 10px 0; border-bottom: 1px solid var(--border-strong); }
  .legal-table th, .legal-table td { border: 0; padding: 4px 0; }
  .legal-table td::before { content: attr(data-label) ": "; color: var(--text); font-weight: 650; }
}

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 48px 0 110px; color: var(--muted); font-size: .93rem; }
@media (min-width: 768px) { .site-footer { padding-bottom: 48px; } }
.footer-grid { display: grid; gap: 30px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; } }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text); margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer a { color: var(--soft); text-decoration: none; display: inline-flex; min-height: 36px; align-items: center; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.more-apps a { display: flex; gap: 12px; align-items: center; min-height: 52px; }
.more-apps img { width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; }
.more-apps span { display: block; color: var(--muted); font-size: .85rem; line-height: 1.35; }
.more-apps b { color: var(--text); font-weight: 600; }
.copyright { margin-top: 30px; font-size: .85rem; }

/* ---------- mobile sticky CTA ---------- */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 18px; background: rgba(18, 18, 20, .92); border: 1px solid var(--border-strong); box-shadow: 0 12px 30px rgba(0, 0, 0, .5); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.sticky-cta p { margin: 0; font-size: .88rem; line-height: 1.3; color: var(--soft); }
.sticky-cta p b { color: #fff; display: block; font-size: .95rem; }
.sticky-cta .btn { min-height: 44px; padding: 10px 16px; font-size: .95rem; white-space: nowrap; }
.sticky-cta { transition: transform .25s ease, opacity .25s ease, visibility 0s; }
.sticky-cta.is-hidden { transform: translateY(calc(100% + 20px)); opacity: 0; visibility: hidden; transition: transform .25s ease, opacity .25s ease, visibility 0s .25s; }
@media (min-width: 768px) { .sticky-cta { display: none; } }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
