/* ── Reset & Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #07090f;
  --bg-2:        #0d1120;
  --bg-3:        #121828;
  --border:      rgba(255,255,255,.07);
  --border-hi:   rgba(255,255,255,.13);

  --accent:      #6366f1;
  --accent-2:    #8b5cf6;
  --green:       #10b981;
  --amber:       #f59e0b;
  --rose:        #f43f5e;
  --sky:         #38bdf8;

  --text:        #f1f5f9;
  --text-2:      #94a3b8;
  --text-3:      #475569;

  --radius:      12px;
  --radius-sm:   8px;
  --radius-lg:   18px;

  --font:        'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:   'JetBrains Mono', 'Fira Code', monospace;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgba(165,180,252,.95);
  outline-offset: 3px;
}
button:disabled,
.btn[aria-disabled="true"] {
  cursor: not-allowed;
}

/* ── Typography ───────────────────────────────────────────────────────────── */
h1, h2, h3, h4 { line-height: 1.2; letter-spacing: -.02em; }

.label {
  font-size: .7rem; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent); display: inline-block;
}

/* ── Layout Utilities ─────────────────────────────────────────────────────── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section   { padding: 96px 0; }
.section-sm{ padding: 64px 0; }
#features { padding-top: 8px; }

/* ── Gradient text ────────────────────────────────────────────────────────── */
.grad {
  background: linear-gradient(135deg, #a5b4fc 0%, #818cf8 40%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Button ───────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  justify-content: center;
  padding: 11px 22px; border-radius: var(--radius-sm);
  font-size: .9rem; font-weight: 600;
  cursor: pointer; transition: all .18s ease;
  border: none; outline: none;
  min-height: 42px;
  text-align: center;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 4px 20px rgba(99,102,241,.35);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(99,102,241,.5);
}
.btn-ghost {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border-hi);
}
.btn-ghost:hover { background: var(--bg-3); color: var(--text); }
.btn:disabled,
.btn[aria-disabled="true"] {
  transform: none;
  box-shadow: none;
}

.btn-lg { padding: 14px 28px; font-size: 1rem; border-radius: var(--radius); }

/* ── Navigation ───────────────────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 60px;
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, backdrop-filter .3s;
}
nav.scrolled {
  background: rgba(7,9,15,.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex; align-items: center;
  height: 60px; gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.05rem;
  min-width: max-content;
}
.nav-logo svg { width: 26px; height: 26px; }
.nav-links {
  display: flex; align-items: center; gap: 24px;
  margin-left: auto; list-style: none;
}
.nav-links a {
  font-size: .875rem; color: var(--text-2);
  transition: color .15s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--text); }
.nav-cta { margin-left: 8px; white-space: nowrap; }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  padding: 148px 0 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(99,102,241,.18) 0%, transparent 70%);
  pointer-events: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 13px; border-radius: 999px;
  background: rgba(99,102,241,.12);
  border: 1px solid rgba(99,102,241,.25);
  font-size: .78rem; font-weight: 600;
  color: #a5b4fc; margin-bottom: 28px;
}
.hero-badge .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 6px var(--green);
  animation: pulse-dot 2s ease infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; }
  50%      { opacity: .4; }
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 800; margin-bottom: 22px;
  max-width: 760px; margin-left: auto; margin-right: auto;
}
.hero p {
  font-size: 1.15rem; color: var(--text-2);
  max-width: 560px; margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: flex; justify-content: center; gap: 40px;
  margin-top: 64px; padding-top: 40px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.hero-stat { text-align: center; }
.hero-stat .num {
  font-size: 1.8rem; font-weight: 800;
  background: linear-gradient(135deg, #e2e8f0, #94a3b8);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat .desc { font-size: .8rem; color: var(--text-3); margin-top: 2px; }

/* ── App Window Mock ──────────────────────────────────────────────────────── */
.hero-visual {
  margin-top: 72px;
  position: relative;
}
.hero-visual::before {
  content: '';
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(99,102,241,.2) 0%, transparent 70%);
  pointer-events: none;
}
.app-window {
  background: var(--bg-3);
  border: 1px solid var(--border-hi);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04),
    0 40px 80px rgba(0,0,0,.6),
    0 0 60px rgba(99,102,241,.08);
  max-width: 900px;
  margin: 0 auto;
}
.app-titlebar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  background: rgba(255,255,255,.03);
  border-bottom: 1px solid var(--border);
}
.app-titlebar .dot { width: 11px; height: 11px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #28c840; }
.app-titlebar .title {
  flex: 1; text-align: center;
  font-size: .75rem; color: var(--text-3);
}
/* app-body / mock elements removed — real screenshot used instead */

/* ── Section Headers ──────────────────────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800; margin-top: 10px;
}
.section-header p {
  color: var(--text-2); font-size: 1.05rem;
  max-width: 540px; margin: 14px auto 0;
}

/* ── Feature Grid ─────────────────────────────────────────────────────────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-card {
  background: var(--bg-2);
  padding: 32px;
  transition: background .2s;
}
.feature-card:hover { background: var(--bg-3); }
.feature-icon {
  width: 44px; height: 44px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px; font-size: 1.3rem;
}
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p  { font-size: .875rem; color: var(--text-2); line-height: 1.6; }

/* Product Tour */
.product-tour {
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.tour-stack {
  display: grid;
  gap: 28px;
}
.tour-row {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 32px;
  align-items: center;
  padding: 28px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
}
.tour-row-reverse {
  grid-template-columns: minmax(0, 1.28fr) minmax(260px, .72fr);
}
.tour-row-reverse .tour-copy { order: 2; }
.tour-row-reverse .tour-shot { order: 1; }
.tour-kicker {
  display: inline-flex;
  margin-bottom: 12px;
  color: #a5b4fc;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.tour-copy h3 {
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  font-weight: 800;
  margin-bottom: 10px;
}
.tour-copy p {
  color: var(--text-2);
  font-size: .95rem;
  line-height: 1.7;
}
.tour-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}
.tour-tags span {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  color: var(--text-3);
  font-size: .72rem;
  font-weight: 600;
}
.tour-shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--border-hi);
  border-radius: 8px;
  background: var(--bg-3);
  box-shadow: 0 24px 50px rgba(0,0,0,.35);
}
.tour-shot img {
  display: block;
  width: 100%;
  height: auto;
}
/* Project Types */
.types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.project-types-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1092px;
  margin: 0 auto;
}
.type-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  min-width: 0;
  transition: border-color .2s, transform .2s, box-shadow .2s;
  cursor: default;
}
.type-card:hover {
  border-color: var(--border-hi);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,.3);
}
.type-icon {
  width: 52px; height: 52px; border-radius: 14px;
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}
.type-card h3 { font-size: .95rem; font-weight: 700; margin-bottom: 6px; }
.type-card p  { font-size: .8rem; color: var(--text-2); }
.type-tools {
  display: flex; flex-wrap: wrap; gap: 5px;
  justify-content: center; margin-top: 12px;
}
.type-tool-tag {
  font-size: .68rem; font-weight: 600;
  padding: 2px 8px; border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--text-3);
}

/* ── AI Section ───────────────────────────────────────────────────────────── */
.ai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.ai-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color .2s;
}
.ai-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
}
.ai-card.purple::before { background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.ai-card.green::before  { background: linear-gradient(90deg, var(--green), #34d399); }
.ai-card.sky::before    { background: linear-gradient(90deg, var(--sky), #7dd3fc); }
.ai-card.amber::before  { background: linear-gradient(90deg, var(--amber), #fcd34d); }
.ai-card:hover { border-color: var(--border-hi); }
.ai-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .68rem; font-weight: 700; letter-spacing: .06em;
  padding: 3px 9px; border-radius: 999px; margin-bottom: 14px;
}
.ai-badge.purple { background: rgba(99,102,241,.15); color: #a5b4fc; }
.ai-badge.green  { background: rgba(16,185,129,.15); color: #6ee7b7; }
.ai-badge.sky    { background: rgba(56,189,248,.15); color: #7dd3fc; }
.ai-badge.amber  { background: rgba(245,158,11,.15); color: #fcd34d; }
.ai-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.ai-card p  { font-size: .875rem; color: var(--text-2); }

/* ── Formats ──────────────────────────────────────────────────────────────── */
.formats-bg {
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 48px;
}
.formats-marquee {
  overflow: hidden; position: relative; margin-top: 40px;
  max-width: 100%;
}
.formats-marquee::before,
.formats-marquee::after {
  content: ''; position: absolute; top: 0; bottom: 0; z-index: 2; width: 80px;
  pointer-events: none;
}
.formats-marquee::before { left: 0;  background: linear-gradient(to right, var(--bg-2), transparent); }
.formats-marquee::after  { right: 0; background: linear-gradient(to left,  var(--bg-2), transparent); }
.formats-track {
  display: flex; gap: 12px;
  animation: scroll-formats 28s linear infinite;
  width: max-content;
}
.formats-track:hover { animation-play-state: paused; }
@keyframes scroll-formats {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.fmt-tag {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: .82rem; font-weight: 600;
  white-space: nowrap;
  transition: border-color .2s;
}
.fmt-tag:hover { border-color: var(--border-hi); }
.fmt-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ── Keyboard Shortcuts ───────────────────────────────────────────────────── */
.shortcuts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.shortcut-group h3 {
  font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 14px;
}
.shortcut-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  font-size: .85rem;
}
.shortcut-row:last-child { border-bottom: none; }
.shortcut-row .desc { color: var(--text-2); }
.shortcut-keys { display: flex; gap: 4px; }
kbd {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 26px; height: 22px;
  padding: 0 6px;
  background: var(--bg-3);
  border: 1px solid var(--border-hi);
  border-bottom-width: 2px;
  border-radius: 5px;
  font-family: var(--font-mono);
  font-size: .72rem; font-weight: 600;
  color: var(--text-2);
}

/* ── Download CTA ─────────────────────────────────────────────────────────── */
.cta-section {
  text-align: center;
  padding: 96px 0;
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(99,102,241,.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 800; margin-bottom: 18px;
}
.cta-section p { color: var(--text-2); font-size: 1.05rem; margin-bottom: 36px; }
.cta-meta {
  display: flex; align-items: center; justify-content: center;
  gap: 20px; flex-wrap: wrap;
  margin-top: 24px;
  font-size: .82rem; color: var(--text-3);
}
.cta-meta span { display: flex; align-items: center; gap: 6px; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 48px 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.35fr .9fr 1fr 1.05fr 1.2fr;
  gap: 48px;
}
.footer-brand .nav-logo { margin-bottom: 12px; }
.footer-brand p { font-size: .82rem; color: var(--text-3); max-width: 240px; }
.footer-col h4 {
  font-size: .75rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: .85rem; color: var(--text-2); transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.payment-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.payment-logos img {
  max-height: 32px;
  width: auto;
  opacity: .92;
}
.payment-logos .iyzico-pay-logo {
  width: 210px;
  max-height: 29px;
}
.card-logo-crop {
  width: 340px;
  height: 32px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}
.card-logo-crop img {
  width: 456px;
  height: 32px;
  max-width: none;
  transform: translateX(-112px);
}
.footer-bottom {
  margin-top: 28px; padding-top: 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: .8rem; color: var(--text-3);
  flex-wrap: wrap; gap: 12px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 36px auto 0;
  max-width: 940px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--border);
}
.trust-item {
  background: var(--bg-2);
  padding: 18px;
}
.trust-item strong {
  display: block;
  font-size: .88rem;
  margin-bottom: 4px;
}
.trust-item span {
  display: block;
  color: var(--text-2);
  font-size: .78rem;
  line-height: 1.5;
}
.trust-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
  font-size: .84rem;
}
.trust-links a { color: #a5b4fc; }
.trust-links a:hover { color: var(--text); }

.enterprise-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 22px 0 28px;
}
.enterprise-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.enterprise-card h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}
.enterprise-card p,
.enterprise-card li {
  color: var(--text-2);
  font-size: .9rem;
  line-height: 1.7;
}
.enterprise-card ul { padding-left: 18px; margin: 8px 0 0; }
.policy-list {
  display: grid;
  gap: 12px;
  margin: 18px 0 26px;
}
.policy-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.policy-item strong { color: var(--text); font-size: .9rem; }
.policy-item span { color: var(--text-2); font-size: .9rem; line-height: 1.7; }
.release-list {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}
.release-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  background: var(--bg-3);
}
.release-item time {
  display: block;
  color: var(--text-3);
  font-size: .76rem;
  margin-bottom: 6px;
}
.status-panel {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}
.status-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-3);
}
.status-row span { color: var(--text-2); }
.status-pill {
  color: #a7f3d0;
  background: rgba(16,185,129,.12);
  border: 1px solid rgba(16,185,129,.28);
  border-radius: 999px;
  padding: 2px 9px;
  font-size: .74rem;
  font-weight: 700;
  white-space: nowrap;
}
.status-pill.warn {
  color: #fde68a;
  background: rgba(245,158,11,.12);
  border-color: rgba(245,158,11,.28);
}

/* ── Docs layout ──────────────────────────────────────────────────────────── */
.docs-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  min-height: 100vh;
  padding-top: 60px;
}
.docs-sidebar {
  position: sticky; top: 60px;
  height: calc(100vh - 60px);
  overflow-y: auto;
  padding: 32px 0;
  border-right: 1px solid var(--border);
  background: var(--bg-2);
}
.docs-sidebar::-webkit-scrollbar { width: 4px; }
.docs-sidebar::-webkit-scrollbar-track { background: transparent; }
.docs-sidebar::-webkit-scrollbar-thumb { background: var(--border-hi); border-radius: 2px; }
.sidebar-section { margin-bottom: 28px; padding: 0 20px; }
.sidebar-section h4 {
  font-size: .68rem; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-3); margin-bottom: 8px;
}
.sidebar-section ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.sidebar-section a {
  display: block; padding: 5px 10px;
  border-radius: var(--radius-sm);
  font-size: .84rem; color: var(--text-2);
  transition: color .15s, background .15s;
}
.sidebar-section a:hover { color: var(--text); background: rgba(255,255,255,.04); }
.sidebar-section a.active { color: var(--accent); background: rgba(99,102,241,.1); }

.docs-content {
  padding: 48px 64px;
  max-width: 780px;
}
.docs-content h1 {
  font-size: 2rem; font-weight: 800;
  margin-bottom: 8px;
}
.docs-content .lead {
  font-size: 1.1rem; color: var(--text-2); margin-bottom: 36px;
  padding-bottom: 28px; border-bottom: 1px solid var(--border);
}
.docs-content h2 {
  font-size: 1.3rem; font-weight: 700;
  margin: 40px 0 14px;
  padding-top: 8px;
}
.docs-content h3 {
  font-size: 1.05rem; font-weight: 700;
  margin: 28px 0 10px; color: var(--text);
}
.docs-content p  { font-size: .925rem; color: var(--text-2); margin-bottom: 14px; line-height: 1.75; }
.docs-content ul,
.docs-content ol { padding-left: 20px; margin-bottom: 14px; }
.docs-content li { font-size: .925rem; color: var(--text-2); margin-bottom: 5px; line-height: 1.7; }
.docs-content strong { color: var(--text); font-weight: 600; }
.docs-content code {
  font-family: var(--font-mono);
  font-size: .8rem;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--border);
  padding: 1px 6px; border-radius: 4px;
  color: #c4b5fd;
}

.docs-table {
  width: 100%; border-collapse: collapse;
  margin: 20px 0; font-size: .875rem;
}
.docs-table th {
  text-align: left; padding: 10px 14px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  font-size: .75rem; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--text-3);
}
.docs-table td {
  padding: 10px 14px;
  border: 1px solid var(--border);
  color: var(--text-2);
  vertical-align: top;
}
.docs-table tr:hover td { background: rgba(255,255,255,.02); }
.docs-table code { font-size: .8rem; }

.callout {
  padding: 16px 20px; border-radius: var(--radius-sm);
  border-left: 3px solid;
  margin: 20px 0; font-size: .875rem;
}
.callout-info  { background: rgba(99,102,241,.08); border-color: var(--accent); color: #c7d2fe; }
.callout-tip   { background: rgba(16,185,129,.08); border-color: var(--green);  color: #a7f3d0; }
.callout-warn  { background: rgba(245,158,11,.08); border-color: var(--amber);  color: #fde68a; }

.legal-hero {
  padding: 132px 0 36px;
  text-align: center;
}
.legal-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 10px 0 14px;
}
.legal-hero p {
  color: var(--text-2);
  max-width: 680px;
  margin: 0 auto;
}
.legal-layout {
  max-width: 860px;
  margin: 0 auto 80px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.legal-layout h2 {
  font-size: 1.18rem;
  margin: 30px 0 10px;
}
.legal-layout h2:first-child { margin-top: 0; }
.legal-layout p,
.legal-layout li {
  color: var(--text-2);
  font-size: .94rem;
  line-height: 1.8;
}
.legal-layout ul,
.legal-layout ol {
  padding-left: 22px;
  margin: 10px 0 18px;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
}
.legal-table th,
.legal-table td {
  border: 1px solid var(--border);
  padding: 11px 13px;
  text-align: left;
  vertical-align: top;
  font-size: .9rem;
}
.legal-table th {
  width: 220px;
  color: var(--text);
  background: var(--bg-3);
}
.legal-table td { color: var(--text-2); }

.docs-nav {
  display: flex; justify-content: space-between;
  margin-top: 60px; padding-top: 24px;
  border-top: 1px solid var(--border);
  gap: 16px;
}
.docs-nav a {
  display: flex; flex-direction: column; gap: 3px;
  padding: 12px 18px; border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: .85rem; transition: border-color .15s;
  max-width: 220px;
}
.docs-nav a:hover { border-color: var(--border-hi); }
.docs-nav .nav-hint { font-size: .72rem; color: var(--text-3); }
.docs-nav .nav-title { font-weight: 600; }

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .docs-layout { grid-template-columns: 1fr; }
  .docs-sidebar { display: none; }
  .docs-content { padding: 32px 24px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .formats-bg { padding: 32px 20px; }
  .types-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .project-types-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .tour-row,
  .tour-row-reverse {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
  .tour-row-reverse .tour-copy,
  .tour-row-reverse .tour-shot {
    order: initial;
  }
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .enterprise-grid { grid-template-columns: 1fr; }
  .policy-item { grid-template-columns: 1fr; gap: 6px; }
}
@media (max-width: 640px) {
  .hero h1     { font-size: 2rem; }
  .hero-stats  { gap: 24px; }
  .nav-links   { display: none; }
  .nav-inner   { gap: 12px; }
  .nav-cta     { margin-left: auto; padding: 9px 14px; }
  .footer-inner{ grid-template-columns: 1fr; gap: 28px; }
  .shortcuts-grid { grid-template-columns: 1fr; }
  .payment-logos { gap: 14px; }
  .payment-logos .iyzico-pay-logo { width: 180px; }
  .card-logo-crop { width: 300px; }
  .trust-strip { grid-template-columns: 1fr; }
  .types-grid {
    grid-template-columns: 1fr !important;
  }
  .project-types-grid {
    grid-template-columns: 1fr !important;
  }
  .hero-actions .btn { width: 100%; max-width: 320px; }
  .section { padding: 72px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
