/* Getprintoza ana sayfa: koyu tema, cam (glass) kartlar, bento grid.
   Tüm sayfalar bunu yükler; giriş, kayıt ve panel ayrıca app.css ekler. */

:root {
  --bg: #07080c;
  --bg-2: #0c0e14;
  --text: #eef0f6;
  --muted: #9aa1b4;
  --dim: #6b7287;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --glass: rgba(255, 255, 255, 0.04);
  --glass-2: rgba(255, 255, 255, 0.07);
  --violet: #8b7bff;
  --mint: #35e0b5;
  --grad: linear-gradient(120deg, #a89bff 0%, #8b7bff 35%, #35e0b5 100%);
  --radius: 20px;
  --font: "Inter", "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Devanagari", "Noto Sans Hebrew", "Noto Naskh Arabic", "Noto Sans SC", "Noto Sans JP", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; color-scheme: dark; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; border-radius: 8px; }
.mono { font-family: var(--mono); }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- arka plan ---------- */
.bg-glow {
  position: absolute; inset: 0 0 auto 0; height: 900px; z-index: -2; pointer-events: none;
  background:
    radial-gradient(600px 380px at 18% 8%, rgba(139, 123, 255, 0.28), transparent 70%),
    radial-gradient(560px 360px at 82% 18%, rgba(53, 224, 181, 0.16), transparent 70%);
}
.bg-grid {
  position: absolute; inset: 0 0 auto 0; height: 760px; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, #000 20%, transparent 75%);
  opacity: 0.55;
}

/* ---------- cam yüzey ---------- */
.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 24px 60px -24px rgba(0, 0, 0, 0.7);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* ---------- butonlar ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; border-radius: 11px; border: 1px solid transparent;
  font-size: 14px; font-weight: 550; white-space: nowrap; transition: transform 0.15s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn-lg { height: 50px; padding: 0 24px; font-size: 15px; border-radius: 13px; }
.btn-primary {
  color: #07080c; background: linear-gradient(180deg, #ffffff, #dfe3f0);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 8px 28px -6px rgba(139, 123, 255, 0.55);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.4), 0 12px 34px -6px rgba(139, 123, 255, 0.75); }
.btn-ghost { color: var(--muted); }
.btn-ghost:hover { color: var(--text); }
.btn-glass { background: var(--glass); border-color: var(--line-2); color: var(--text); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-glass:hover { background: var(--glass-2); border-color: rgba(255, 255, 255, 0.24); }

/* ---------- üst menü ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 8, 12, 0.65);
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 650; font-size: 17px; letter-spacing: -0.02em; }
.logo-mark { width: 28px; height: 28px; flex: none; }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 9px; color: var(--muted); font-size: 14px; transition: color 0.15s, background 0.15s; }
.nav a:hover { color: var(--text); background: var(--glass); }
.bar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.lang-btn {
  display: inline-grid; grid-template-columns: 1fr 1fr; position: relative; width: 70px; height: 34px; padding: 3px;
  background: var(--glass); border: 1px solid var(--line-2); border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
}
.lang-btn span { position: relative; z-index: 1; display: grid; place-items: center; color: var(--dim); transition: color 0.2s; }
.lang-btn::before { content: ""; position: absolute; top: 3px; bottom: 3px; left: 3px; width: calc(50% - 3px); border-radius: 999px; background: rgba(255, 255, 255, 0.14); transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1); }
.lang-btn[data-lang="tr"]::before { transform: translateX(100%); }
.lang-btn[data-lang="en"] span:first-child, .lang-btn[data-lang="tr"] span:last-child { color: var(--text); }

/* ---------- hero ---------- */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 10px; margin-bottom: 26px;
  font-size: 13px; color: var(--muted); background: var(--glass); border: 1px solid var(--line-2); border-radius: 999px;
}
.badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(53, 224, 181, 0.16), 0 0 14px var(--mint); }
h1 { font-size: clamp(38px, 4.5vw, 58px); line-height: 1.04; letter-spacing: -0.035em; font-weight: 650; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.lead { margin-top: 22px; max-width: 540px; font-size: 18px; line-height: 1.6; color: var(--muted); }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 28px; color: var(--muted); font-size: 14px; }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 16px; height: 16px; fill: none; stroke: var(--mint); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- hero: terminal ---------- */
.hero-demo { position: relative; }
.term { overflow: hidden; border-radius: 16px; background: linear-gradient(180deg, rgba(18, 20, 30, 0.92), rgba(10, 11, 17, 0.92)); }
.term-bar { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.lights { display: inline-flex; gap: 7px; }
.lights i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, 0.14); }
.term-title { flex: 1; text-align: center; font-family: var(--mono); font-size: 12px; color: var(--dim); }
.term-live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 11px; color: var(--mint); }
.pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(53, 224, 181, 0.5); } 50% { opacity: 0.6; box-shadow: 0 0 0 6px rgba(53, 224, 181, 0); } }
.term-body { margin: 0; padding: 18px 20px 6px; min-height: 176px; font-family: var(--mono); font-size: 12.5px; line-height: 1.75; color: #c9cee0; white-space: pre-wrap; word-break: break-all; }
.term-body bdi { unicode-bidi: isolate; }
.t-prompt { color: var(--mint); }
.t-cmd { color: #e8ebf7; }
.t-flag { color: var(--violet); }
.t-str { color: #f5c97a; }
.t-url { color: #7fd3ff; }
.caret { display: inline-block; width: 8px; height: 15px; margin: -2px 0 0 2px; vertical-align: middle; background: #c9cee0; animation: blink 1s steps(1) infinite; }
.is-idle .caret { opacity: 0; animation: none; }
@keyframes blink { 50% { opacity: 0; } }
.term-out { padding: 4px 20px 18px; min-height: 84px; font-family: var(--mono); font-size: 12.5px; }
.out-line { display: flex; align-items: center; gap: 9px; line-height: 1.9; color: var(--muted); animation: rise 0.35s ease both; }
.out-line svg { width: 14px; height: 14px; fill: none; stroke: var(--mint); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.out-line.ok { color: var(--mint); }
.out-line.dim { color: var(--dim); }
.spin { width: 12px; height: 12px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.18); border-top-color: var(--violet); animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* PDF önizleme (kâğıt) */
.stage { position: relative; }
.paper-wrap { position: absolute; right: -14px; bottom: -34px; width: 224px; pointer-events: none; z-index: 2; }
.paper {
  background: #f7f7fb; color: #14182b; border-radius: 10px; overflow: hidden;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.25), 0 0 80px -10px rgba(139, 123, 255, 0.5);
  transform: rotate(3deg); opacity: 0; transition: opacity 0.4s, transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.paper.show { opacity: 1; transform: rotate(2deg) translateY(0); }
.paper:not(.show) { transform: rotate(5deg) translateY(16px); }
.paper-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 12px; background: #e9eaf3; font-size: 10px; color: #5a6075; font-family: var(--mono); }
.paper-tag { padding: 1px 6px; border-radius: 4px; background: #d6342f; color: #fff; font-weight: 600; font-size: 9px; }
.paper-body { padding: 14px 14px 16px; font-size: 11px; line-height: 1.5; min-height: 150px; }
.paper-body h4 { font-size: 15px; margin-bottom: 6px; }
.paper-body .meta { color: #5a6075; font-size: 10px; margin-bottom: 8px; }
.paper-body .row { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; border-bottom: 1px solid #dcdeea; }
.paper-body .tot { margin-top: 8px; font-weight: 700; display: flex; justify-content: space-between; }
.paper-body[dir="rtl"] { text-align: right; }

.langs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 52px; }
.lang-chip {
  height: 28px; padding: 0 11px; font-size: 12px; border-radius: 999px; color: var(--muted);
  background: var(--glass); border: 1px solid var(--line); transition: all 0.15s;
}
.lang-chip:hover { color: var(--text); border-color: var(--line-2); }
.lang-chip[aria-pressed="true"] { color: #07080c; background: #fff; border-color: #fff; font-weight: 600; }
.demo-note { margin-top: 12px; font-size: 12px; color: var(--dim); }

/* ---------- istatistik şeridi ---------- */
.stats { padding: 28px 0 8px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px; }
.stats-grid > div { padding: 22px 24px; display: flex; flex-direction: column; gap: 4px; border-inline-start: 1px solid var(--line); }
.stats-grid > div:first-child { border-inline-start: 0; }
.stats-grid b { align-self: flex-start; font-size: 34px; line-height: 1; letter-spacing: -0.03em; font-weight: 650; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats-grid span { font-size: 13px; color: var(--muted); }

/* ---------- bölümler ---------- */
.section { padding: 110px 0 0; }
.sec-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.sec-head.left { text-align: left; margin: 0; max-width: none; }
.eyebrow { display: inline-block; margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--violet); }
h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 650; }
.sec-sub { margin-top: 14px; font-size: 17px; color: var(--muted); }
.sec-head.left .btn { margin-top: 26px; }

/* adımlar */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: s; }
.step { padding: 28px; }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; font-weight: 650; font-size: 14px; color: var(--mint); background: rgba(53, 224, 181, 0.1); border: 1px solid rgba(53, 224, 181, 0.25); margin-bottom: 18px; }
.step h3 { font-size: 18px; letter-spacing: -0.015em; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }

/* ---------- bento ---------- */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(190px, auto); gap: 16px; }
.card { position: relative; padding: 28px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 22px; transition: border-color 0.25s, transform 0.25s; }
.card:hover { border-color: var(--line-2); }
.card h3 { font-size: 19px; letter-spacing: -0.02em; margin-bottom: 8px; line-height: 1.25; }
.card p { color: var(--muted); font-size: 15px; line-height: 1.55; }
.card .ico { width: 28px; height: 28px; fill: none; stroke: var(--violet); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; margin-bottom: auto; }
.b-lang { grid-column: span 2; grid-row: span 2; }
.b-rtl { grid-column: span 2; }
.b-api { grid-column: span 2; }
.b-dash { grid-column: span 2; }
/* fare ışığı */
.spot::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.3s; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(139, 123, 255, 0.16), transparent 60%); }
.spot:hover::after { opacity: 1; }

.glyphs { display: flex; flex-wrap: wrap; gap: 10px; }
.gl { padding: 10px 16px; font-size: 22px; line-height: 1.2; border-radius: 14px; color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 8px 20px -10px rgba(0, 0, 0, 0.8); }
.gl:nth-child(3n+1) { transform: translateY(-3px); }
.gl:nth-child(4n+2) { color: #c9c2ff; }
.gl:nth-child(5n+3) { color: #9ef0d8; }
.b-lang .glyphs { margin-top: auto; }
.b-lang .card-text { max-width: 440px; }

.rtl-vis { display: flex; flex-direction: column; gap: 9px; direction: rtl; }
.rl { display: flex; align-items: center; gap: 10px; }
.rl b { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 10px rgba(53, 224, 181, 0.7); flex: none; }
.rl i { display: block; height: 10px; width: var(--w); border-radius: 6px; background: linear-gradient(270deg, rgba(139, 123, 255, 0.55), rgba(139, 123, 255, 0.12)); }

.mini-code { margin: 0; padding: 16px 18px; border-radius: 12px; font-family: var(--mono); font-size: 12.5px; line-height: 1.8; background: rgba(0, 0, 0, 0.4); border: 1px solid var(--line); color: #c9cee0; overflow: hidden; }
.mini-code .k { color: var(--violet); font-weight: 600; }
.mini-code .s { color: #7fd3ff; }
.mini-code .d { color: var(--dim); }
.mini-code .ok { color: var(--mint); }

.meter { padding: 16px 18px; border-radius: 12px; background: rgba(0, 0, 0, 0.35); border: 1px solid var(--line); }
.meter-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.meter-bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.meter-bar i { display: block; height: 100%; width: var(--p); border-radius: 99px; background: var(--grad); box-shadow: 0 0 16px rgba(139, 123, 255, 0.6); }

/* ---------- fiyat ---------- */
.bill { display: inline-flex; gap: 4px; margin-top: 28px; padding: 4px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line-2); }
.bill-btn { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 18px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); font-size: 14px; font-weight: 550; transition: all 0.2s; }
.bill-btn[aria-pressed="true"] { background: #fff; color: #07080c; box-shadow: 0 4px 16px -4px rgba(255, 255, 255, 0.35); }
.bill-btn em { font-style: normal; font-size: 11px; font-weight: 650; padding: 2px 8px; border-radius: 99px; background: rgba(53, 224, 181, 0.16); color: var(--mint); }
.bill-btn[aria-pressed="true"] em { background: rgba(53, 224, 181, 0.22); color: #0b7a5f; }

.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 28px 24px 24px; }
.plan h3 { font-size: 17px; letter-spacing: -0.01em; }
.plan .blurb { margin-top: 6px; font-size: 14px; color: var(--muted); min-height: 42px; }
.plan .price { display: flex; align-items: baseline; gap: 6px; margin-top: 22px; }
.plan .amount { font-size: 46px; font-weight: 650; letter-spacing: -0.04em; line-height: 1; }
.plan .per { color: var(--muted); font-size: 14px; }
.plan .billed { margin-top: 6px; min-height: 20px; font-size: 13px; color: var(--dim); }
.plan ul { margin: 22px 0 26px; display: flex; flex-direction: column; gap: 11px; font-size: 14px; color: #cfd3e2; }
.plan li { display: flex; gap: 10px; align-items: flex-start; }
.plan li svg { flex: none; width: 16px; height: 16px; margin-top: 3px; fill: none; stroke: var(--mint); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.plan .btn { margin-top: auto; width: 100%; }
.plan.featured {
  background: linear-gradient(180deg, rgba(139, 123, 255, 0.22), rgba(139, 123, 255, 0.05));
  border-color: rgba(139, 123, 255, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14), 0 0 0 1px rgba(139, 123, 255, 0.25), 0 30px 80px -20px rgba(139, 123, 255, 0.5);
}
.plan .pop { position: absolute; top: 18px; right: 18px; font-size: 11px; font-weight: 650; padding: 3px 10px; border-radius: 99px; background: var(--grad); color: #07080c; }
.fine { margin-top: 20px; text-align: center; font-size: 13px; color: var(--dim); }

/* ---------- SSS ---------- */
.faq-wrap { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 56px; align-items: start; }
.faq { display: flex; flex-direction: column; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: var(--glass); transition: border-color 0.2s, background 0.2s; }
.faq details[open] { border-color: var(--line-2); background: var(--glass-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 550; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-size: 22px; line-height: 1; color: var(--muted); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--muted); font-size: 15px; max-width: 62ch; }

/* ---------- kapanış ---------- */
.cta-sec { padding-bottom: 110px; }
.cta { position: relative; overflow: hidden; text-align: center; padding: 72px 24px;
  background:
    radial-gradient(500px 240px at 50% 0%, rgba(139, 123, 255, 0.35), transparent 70%),
    radial-gradient(400px 200px at 90% 100%, rgba(53, 224, 181, 0.2), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)); }
.cta h2 { max-width: 640px; margin: 0 auto; }
.cta p { margin: 16px auto 32px; max-width: 480px; color: var(--muted); font-size: 17px; }

/* ---------- alt bilgi ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 0; background: var(--bg-2); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 32px; padding-bottom: 44px; }
.foot-brand p { margin-top: 14px; color: var(--muted); font-size: 14px; max-width: 280px; }
.site-footer h4 { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; }
.site-footer .foot-grid > div > a { display: block; padding: 4px 0; color: var(--muted); font-size: 14px; transition: color 0.15s; }
.site-footer .foot-grid > div > a:hover { color: var(--text); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding: 22px 24px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }

/* ---------- görünme animasyonu (JS açıksa) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- duyarlı ---------- */
@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-copy { text-align: center; }
  .lead { margin-inline: auto; }
  .cta-row, .trust { justify-content: center; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .faq-wrap { grid-template-columns: 1fr; gap: 32px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-lang, .b-rtl, .b-api, .b-dash { grid-column: span 2; }
  .b-lang { grid-row: auto; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .nav { display: none; }
  .bar { grid-template-columns: 1fr auto; }
  .hide-sm { display: none; }
  .hero { padding-top: 44px; }
  .steps { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid > div:nth-child(3) { border-inline-start: 0; }
  .stats-grid > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section { padding-top: 84px; }
  .paper-wrap { position: relative; right: auto; bottom: auto; width: 100%; max-width: 260px; margin: 18px auto 0; }
  .langs { margin-top: 24px; justify-content: center; }
  .demo-note { text-align: center; }
  .plans { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .b-lang, .b-rtl, .b-api, .b-dash { grid-column: auto; }
  .cta { padding: 52px 20px; }
  .term-body { font-size: 11.5px; }
}
@media (max-width: 420px) {
  .badge { font-size: 12px; border-radius: 18px; }
  .wrap { padding: 0 16px; }
  .cta-row .btn-lg { width: 100%; }
  .bar-actions .btn-primary { padding: 0 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- yasal sayfalar ---------- */
.legal { padding: 56px 0 96px; min-height: 70vh; }
.legal-wrap { max-width: 820px; }
.legal-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 28px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line-2); }
.legal-tabs a { padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 550; color: var(--muted); transition: all 0.2s; }
.legal-tabs a:hover { color: var(--text); }
.legal-tabs a[aria-current="page"] { background: #fff; color: #07080c; }
.doc { padding: 44px 48px; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); }
.doc .updated { margin-top: 10px; font-size: 14px; color: var(--dim); }
.doc h2 { margin-top: 34px; font-size: 19px; letter-spacing: -0.015em; }
.doc p { margin-top: 10px; color: #c3c8d8; font-size: 15.5px; line-height: 1.7; }
.doc a { color: var(--mint); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(53, 224, 181, 0.4); }
.doc a:hover { text-decoration-color: var(--mint); }
@media (max-width: 720px) { .doc { padding: 28px 22px; } .legal { padding-top: 36px; } }
.site-footer .foot-brand .logo { display: inline-flex; padding: 0; color: var(--text); font-size: 17px; }
.plan .blurb { min-height: 48px; }

/* ---------- API dokümantasyonu (/docs) ---------- */
.nav a[aria-current="page"] { color: var(--text); background: var(--glass); }
.docs-wrap { max-width: 920px; }
.docs .doc { margin-bottom: 20px; }
.docs .doc h2 { margin-top: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.docs .docs-hero p { font-size: 17px; }
.docs .toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.docs .toc a { padding: 7px 14px; border-radius: 999px; font-size: 14px; text-decoration: none; color: var(--muted); background: var(--glass); border: 1px solid var(--line-2); }
.docs .toc a:hover { color: var(--text); border-color: rgba(255, 255, 255, 0.24); }
.docs .doc ul { margin: 12px 0 0; padding-left: 22px; list-style: disc; color: #c3c8d8; font-size: 15.5px; line-height: 1.7; }
.docs .doc li { margin-top: 8px; }
.docs .doc code { font-family: var(--mono); font-size: 0.88em; padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.07); color: #e6e9f5; }
.docs .doc h2 .verb { font-family: var(--mono); font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 8px; background: rgba(139, 123, 255, 0.16); color: #b9afff; }
.docs .doc h2 .verb.get { background: rgba(53, 224, 181, 0.14); color: var(--mint); }
.docs .tbl { margin-top: 16px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
.docs table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.docs th { text-align: left; font-weight: 600; color: var(--muted); padding: 11px 16px; background: rgba(255, 255, 255, 0.03); white-space: nowrap; }
.docs td { padding: 13px 16px; border-top: 1px solid var(--line); vertical-align: top; color: #c3c8d8; line-height: 1.6; }
.docs td:first-child, .docs td:nth-child(2) { white-space: nowrap; }
.docs .req { font-size: 12.5px; color: var(--dim); }
.code-block { position: relative; margin-top: 16px; }
.docs pre.code { margin: 0; padding: 18px 20px; border-radius: 14px; overflow-x: auto; font-family: var(--mono); font-size: 13px; line-height: 1.7; background: rgba(0, 0, 0, 0.42); border: 1px solid var(--line); color: #c9cee0; tab-size: 2; }
.docs pre.code code { padding: 0; background: none; font-size: inherit; color: inherit; white-space: pre; }
.copy-btn { position: absolute; top: 10px; right: 10px; z-index: 1; height: 30px; padding: 0 12px; border-radius: 8px; font: inherit; font-size: 12.5px; font-weight: 550; color: var(--muted); background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line-2); cursor: pointer; transition: color 0.15s, background 0.15s; }
.copy-btn:hover { color: var(--text); background: rgba(255, 255, 255, 0.12); }
.copy-btn.is-done { color: var(--mint); }
.tab-row { display: inline-flex; gap: 4px; margin-top: 18px; padding: 4px; border-radius: 999px; background: var(--glass); border: 1px solid var(--line-2); }
.tab-row button { padding: 7px 16px; border-radius: 999px; font: inherit; font-size: 13.5px; font-weight: 550; color: var(--muted); background: none; border: 0; cursor: pointer; }
.tab-row button:hover { color: var(--text); }
.tab-row button[aria-selected="true"] { background: #fff; color: #07080c; }
.docs .tab-panel .code-block { margin-top: 12px; }
.copy-btn:focus-visible, .tab-row button:focus-visible, .docs .toc a:focus-visible { outline: 2px solid var(--mint); outline-offset: 2px; }
@media (max-width: 640px) {
  .docs .doc { padding: 28px 20px; }
  .docs td:first-child, .docs td:nth-child(2) { white-space: normal; }
}
