/* WORK — ortak tasarım dili. Araç sayfaları (Tarayıcı) da bu renk belirteçlerini kullanır. */
:root {
  --bg: #f7f8fa;
  --bg-2: #eef1f5;
  --surface: #ffffff;
  --surface-2: #f1f3f6;
  --ink: #0f172a;
  --ink-soft: #5b6476;
  --ink-faint: #8a93a5;
  --line: #e3e7ee;
  --line-strong: #cfd6e1;
  --brand: #0a8fb0;
  --brand-2: #10b981;
  --brand-ink: #ffffff;
  --brand-soft: rgba(10, 143, 176, .10);
  --grad: linear-gradient(120deg, #0ea5c6 0%, #14b8a6 55%, #22c55e 100%);
  --glow: rgba(34, 211, 238, .22);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .05), 0 8px 28px rgba(15, 23, 42, .06);
  --shadow-lg: 0 2px 4px rgba(15, 23, 42, .05), 0 24px 60px rgba(15, 23, 42, .12);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a0d14; --bg-2: #0f141e; --surface: #121823; --surface-2: #1a2130;
    --ink: #eef2f8; --ink-soft: #a3adbf; --ink-faint: #6f7a8e; --line: #222b3a; --line-strong: #2f3a4d;
    --brand: #38d3ee; --brand-2: #34d399; --brand-ink: #04121a; --brand-soft: rgba(56, 211, 238, .12);
    --glow: rgba(34, 211, 238, .18);
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .35);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 30px 70px rgba(0, 0, 0, .5);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a0d14; --bg-2: #0f141e; --surface: #121823; --surface-2: #1a2130;
  --ink: #eef2f8; --ink-soft: #a3adbf; --ink-faint: #6f7a8e; --line: #222b3a; --line-strong: #2f3a4d;
  --brand: #38d3ee; --brand-2: #34d399; --brand-ink: #04121a; --brand-soft: rgba(56, 211, 238, .12);
  --glow: rgba(34, 211, 238, .18);
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 10px 30px rgba(0, 0, 0, .35);
  --shadow-lg: 0 2px 4px rgba(0, 0, 0, .4), 0 30px 70px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
img { max-width: 100%; }
:focus-visible { outline: 2.5px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ---------- Tema seçici (tüm sayfalar) ---------- */
.theme-switch {
  display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px;
  background: var(--surface-2); border: 1px solid var(--line);
}
.theme-switch button {
  width: 30px; height: 28px; display: grid; place-items: center; padding: 0;
  border: 0; border-radius: 999px; background: none; color: var(--ink-soft); cursor: pointer;
  transition: background .15s, color .15s;
}
.theme-switch button svg { width: 15px; height: 15px; }
.theme-switch button:hover { color: var(--ink); }
.theme-switch button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .15); }

/* ---------- Üst menü ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { height: 68px; display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 38px; height: 38px; }
.brand span { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: 2.5px; }
.nav-links { display: flex; gap: 4px; margin-left: 8px; }
.nav-links a { padding: 8px 12px; border-radius: 8px; text-decoration: none; color: var(--ink-soft); font-size: 14.5px; font-weight: 500; }
.nav-links a:hover { color: var(--ink); background: var(--surface-2); }
.nav-end { margin-left: auto; display: flex; align-items: center; gap: 12px; }

/* ---------- Düğmeler ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 12px; border: 1px solid var(--line-strong);
  background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 15px;
  cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { border-color: var(--ink-faint); transform: translateY(-1px); }
.btn.primary { border: 0; background: var(--ink); color: var(--bg); box-shadow: var(--shadow); }
.btn.primary:hover { box-shadow: var(--shadow-lg); }
.btn.sm { height: 38px; padding: 0 14px; font-size: 14px; border-radius: 10px; }

/* ---------- Giriş (hero) ---------- */
.hero { position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
  opacity: .55;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 40px; padding-top: 64px; padding-bottom: 88px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-soft); box-shadow: var(--shadow);
}
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand-2) 22%, transparent); }
.hero h1 {
  font-family: var(--font-display); font-size: clamp(38px, 5.6vw, 64px); line-height: 1.04; letter-spacing: -1.8px;
  margin: 22px 0 18px; font-weight: 800;
}
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--ink-soft); max-width: 560px; margin: 0 0 32px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 30px 0 0; padding: 0; list-style: none; color: var(--ink-soft); font-size: 14px; }
.trust li { display: flex; align-items: center; gap: 7px; }
.trust svg { width: 17px; height: 17px; color: var(--brand-2); }

.hero-art { position: relative; display: grid; place-items: center; min-height: 380px; }
.hero-art::before {
  content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, var(--glow) 0%, transparent 68%); filter: blur(10px);
}
.hero-art img { position: relative; width: min(440px, 100%); height: auto; filter: drop-shadow(0 30px 40px rgba(15, 23, 42, .18)); animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (prefers-reduced-motion: reduce) { .hero-art img { animation: none; } html { scroll-behavior: auto; } }

/* ---------- Bölümler ---------- */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase; color: var(--brand); }
.section h2 { font-family: var(--font-display); font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; letter-spacing: -.8px; margin: 10px 0 12px; }
.section-head p { margin: 0; color: var(--ink-soft); font-size: 17px; }

/* ---------- Araç kartları ---------- */
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.tool-card {
  position: relative; display: flex; flex-direction: column; gap: 18px; padding: 28px;
  border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
  text-decoration: none; overflow: hidden; isolation: isolate;
  transition: transform .2s, box-shadow .2s, border-color .2s, opacity .6s ease;
}
.tool-card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .25s;
  background: radial-gradient(600px circle at 100% 0%, color-mix(in srgb, var(--card-accent) 12%, transparent), transparent 55%);
}
.tool-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--card-accent) 45%, var(--line)); }
.tool-card:hover::before { opacity: 1; }
.tool-top { display: flex; align-items: center; justify-content: space-between; }
.tool-icon {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center; color: #fff;
  background: linear-gradient(145deg, color-mix(in srgb, var(--card-accent) 82%, #fff), var(--card-accent));
  box-shadow: 0 10px 24px -8px var(--card-accent);
}
.tool-icon svg { width: 28px; height: 28px; }
.badge { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-soft); border: 1px solid var(--line); }
.tool-card h3 { margin: 0 0 6px; font-family: var(--font-display); font-size: 22px; letter-spacing: -.3px; }
.tool-card p { margin: 0; color: var(--ink-soft); font-size: 15px; }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 14px; font-size: 14px; color: var(--ink); }
.features li { display: flex; align-items: flex-start; gap: 8px; }
.features svg { width: 16px; height: 16px; flex: none; margin-top: 3px; color: var(--card-accent); }
.tool-foot { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.tool-foot .open { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 15px; color: var(--card-accent); }
.tool-foot .open svg { width: 18px; height: 18px; transition: transform .2s; }
.tool-card:hover .open svg { transform: translateX(4px); }
.tool-foot small { color: var(--ink-faint); font-size: 13px; }
.tool-card.soon { background: transparent; box-shadow: none; border-style: dashed; justify-content: center; align-items: flex-start; }
.tool-card.soon:hover { transform: none; box-shadow: none; border-color: var(--line-strong); }
.tool-card.soon .tool-icon { background: var(--surface-2); color: var(--ink-soft); box-shadow: none; }

/* ---------- Adımlar ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { padding: 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step-num {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 16px;
  font-weight: 800; font-size: 15px; color: #fff; background: var(--grad);
}
.step h3 { margin: 0 0 6px; font-size: 18px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* ---------- Gizlilik ---------- */
.privacy { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.privacy .section-head { margin-bottom: 0; }
.privacy-list { display: grid; gap: 14px; }
.p-item { display: flex; gap: 16px; padding: 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.p-icon { width: 44px; height: 44px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand); }
.p-icon svg { width: 22px; height: 22px; }
.p-item h3 { margin: 0 0 3px; font-size: 16.5px; }
.p-item p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

/* ---------- Kapanış ---------- */
.closing {
  position: relative; overflow: hidden; text-align: center; padding: 64px 24px; border-radius: 28px;
  background: radial-gradient(800px circle at 50% -20%, var(--glow), transparent 60%), var(--surface);
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.closing img { width: 84px; height: 84px; margin-bottom: 8px; }
.closing h2 { margin: 6px 0 10px; }
.closing p { margin: 0 auto 26px; max-width: 520px; color: var(--ink-soft); font-size: 17px; }
.closing .cta { justify-content: center; }

/* ---------- Alt bilgi ---------- */
.footer { padding: 40px 0 48px; color: var(--ink-soft); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 28px; }
.footer .brand img { width: 28px; height: 28px; }
.footer .brand span { font-size: 15px; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer nav a { text-decoration: none; }
.footer nav a:hover { color: var(--ink); }

/* ---------- Görünürken belirme ---------- */
.js .reveal { opacity: 0; transform: translateY(14px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
.js .tool-card.reveal.in:hover { transform: translateY(-4px); transition: transform .2s, box-shadow .2s, border-color .2s; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ---------- Duyarlı ---------- */
@media (max-width: 920px) {
  .hero-inner { grid-template-columns: 1fr; padding-top: 28px; padding-bottom: 56px; gap: 8px; }
  .hero-art { order: -1; min-height: 0; }
  .hero-art img { width: min(240px, 64%); }
  .steps { grid-template-columns: 1fr; }
  .privacy { grid-template-columns: 1fr; gap: 28px; }
  .nav-links { display: none; }
  .section { padding: 64px 0; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }
  .tools-grid { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .tool-card { padding: 22px; }
  .cta .btn { flex: 1 1 100%; }
  .hero h1 { letter-spacing: -1.2px; }
}

/* ---------- Araç sayfalarındaki "WORK'e dön" bağlantısı ---------- */
.home-link {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  font-weight: 700; font-size: 13px; letter-spacing: 1.5px;
}
.home-link svg { width: 14px; height: 14px; }
.home-link img { width: 22px; height: 22px; }
