/* ══════════════════════════════════════════════
   TRANSIFY — Midnight Pro Design System
   Renk Paleti:
     Arka plan (derin) : #0f172a
     Yüzey             : #1e293b
     Yüzey-2           : #162032
     Kenarlık          : #334155
     Kenarlık ince     : #1e293b
     Mor aksan         : #7C3AED
     Mor açık          : #2d1b69
     Mor metin         : #a78bfa
     Mor canlı         : #8b5cf6
     Yeşil başarı      : #6ee7b7  / bg #064e3b
     Kırmızı hata      : #fca5a5  / bg #450a0a
     Metin ana         : #f1f5f9
     Metin ikincil     : #94a3b8
     Metin üçüncül     : #475569
══════════════════════════════════════════════ */

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 14px; scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: #0f172a;
  color: #f1f5f9;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

/* ── App shell ── */
.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ── Sidebar (violet rail — marka moru) ── */
.sidebar {
  width: 220px;
  min-width: 220px;
  background: linear-gradient(185deg, #1e1040 0%, #160c32 42%, #0e061c 100%);
  position: fixed;
  top: 0; left: 0;
  height: 100vh;
  border-right: 1px solid rgba(124, 58, 237, 0.28);
  box-shadow: 4px 0 32px rgba(0, 0, 0, 0.4), inset -1px 0 0 rgba(167, 139, 250, 0.06);
  display: flex;
  flex-direction: column;
  z-index: 100;
  overflow-y: auto;
  overflow-x: hidden;
}

.sb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 14px;
  border-bottom: 1px solid rgba(124, 58, 237, 0.2);
  background: rgba(124, 58, 237, 0.08);
  flex-shrink: 0;
}
.sb-logo .logo-admin-tag {
  margin-left: auto;
  flex-shrink: 0;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.brand-logo-img {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  background: transparent;
}
/* Seffaf arka planli ikon (kare) */
.brand-logo-img.sm { height: 68px; width: auto; }
.brand-logo-img.md { height: 72px; width: auto; }
.brand-logo-img.lg { height: 80px; width: auto; }
.brand-logo-img.xl { height: 144px; width: auto; max-width: min(560px, 90vw); }
.sb-logo .brand-logo { width: 100%; justify-content: flex-start; }
.sb-logo .brand-logo-img.sm { height: 72px; }
.pub-nav-logo.brand-logo .brand-logo-img.sm { height: 76px; }
.logo-text { font-size: 15px; font-weight: 500; color: #f5f3ff; letter-spacing: -0.02em; }
/* legacy */
.logo-mark {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, #8b5cf6 0%, #6d28d9 100%);
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(124, 58, 237, 0.45);
}
.logo-mark svg { width: 14px; height: 14px; }
.logo-admin-tag { font-size: 10px; color: #fca5a5; margin-left: 3px; font-weight: 500; }

.sb-nav { flex: 1; padding: 10px 0 12px; }

.sb-section {
  font-size: 10px;
  font-weight: 500;
  color: #8b7aa8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 12px 20px 6px;
}

.sb-item {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 2px 10px;
  padding: 9px 12px;
  font-size: 13px;
  color: #c4b5d8;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s, box-shadow 0.15s;
  text-decoration: none;
}
.sb-item:hover {
  color: #f1ecff;
  background: rgba(124, 58, 237, 0.16);
  border-color: rgba(124, 58, 237, 0.22);
}
.sb-item.active {
  color: #fff;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.45) 0%, rgba(109, 40, 217, 0.2) 100%);
  border-color: rgba(167, 139, 250, 0.35);
  box-shadow: 0 2px 12px rgba(124, 58, 237, 0.25);
}
.sb-item svg {
  width: 15px; height: 15px;
  flex-shrink: 0;
  opacity: 0.75;
}
.sb-item:hover svg { opacity: 0.95; }
.sb-item.active svg { opacity: 1; color: #e9d5ff; }
.sb-item button {
  background: none;
  border: none;
  color: inherit;
  font-size: inherit;
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  padding: 0;
  cursor: pointer;
}

.sb-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.35), transparent);
  margin: 8px 14px;
}

.sb-notif {
  margin-left: auto;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: #fff;
  font-size: 10px;
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 999px;
  min-width: 18px;
  text-align: center;
  box-shadow: 0 1px 6px rgba(124, 58, 237, 0.5);
}

.sb-user {
  margin: 8px 10px 14px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(124, 58, 237, 0.22);
  background: rgba(30, 16, 58, 0.65);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.sb-avatar {
  width: 30px; height: 30px;
  background: linear-gradient(135deg, #4c1d95, #2d1b69);
  border: 1.5px solid rgba(167, 139, 250, 0.45);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 500; color: #e9d5ff;
  flex-shrink: 0;
  border-radius: 50%;
}
.sb-uname { font-size: 12px; font-weight: 500; color: #f1ecff; }
.sb-uplan { font-size: 10px; color: #a78bfa; }

/* ── Main content ── */
.main-content {
  margin-left: 220px;
  flex: 1;
  padding: 32px 36px;
  min-height: 100vh;
  max-width: calc(100vw - 220px);
  background: #0f172a;
}

/* ── Page header ── */
.page-header { margin-bottom: 24px; }
.page-title {
  font-size: 22px;
  font-weight: 500;
  color: #f1f5f9;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.page-sub { font-size: 13px; color: #475569; }
.section-title {
  font-size: 14px;
  font-weight: 500;
  color: #e2e8f0;
  margin-bottom: 12px;
}

/* ── Metric cards ── */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.metric-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 16px 18px;
}
.metric-label {
  font-size: 10px;
  font-weight: 500;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}
.metric-value {
  font-size: 26px;
  font-weight: 500;
  color: #f1f5f9;
  line-height: 1;
  margin-bottom: 4px;
}
.metric-value.green { color: #6ee7b7; }
.metric-value.red   { color: #fca5a5; }
.metric-value.ind   { color: #a78bfa; }
.metric-sub { font-size: 11px; color: #334155; }

.metrics-row.cols-5 { grid-template-columns: repeat(5, 1fr); }
.metrics-row.cols-4 { grid-template-columns: repeat(4, 1fr); }
.metrics-row.cols-6 { grid-template-columns: repeat(6, 1fr); }

/* ── Usage / progress card ── */
.usage-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 16px;
}
.usage-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
  font-size: 13px;
}
.usage-header strong { color: #e2e8f0; font-weight: 500; }
.usage-header span { color: #475569; }
.progress-bg {
  height: 5px;
  background: #0f172a;
  border-radius: 999px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: #7C3AED;
  border-radius: 999px;
  transition: width 0.4s ease;
}

/* ── Table card ── */
.table-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}
.table-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px 12px;
  border-bottom: 1px solid #0f172a;
}
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed;
}
.data-table th {
  background: #0f172a;
  color: #475569;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 16px;
  text-align: left;
}
.data-table td {
  padding: 11px 16px;
  border-bottom: 1px solid #162032;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: rgba(124,58,237,0.04); }
.data-table .td-name { color: #e2e8f0; font-weight: 500; }
.data-table .td-link { color: #a78bfa; font-size: 12px; font-weight: 500; cursor: pointer; }
.data-table .td-link:hover { color: #7C3AED; }

/* ── Generic card ── */
.card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 16px;
}
.card-title {
  font-size: 14px;
  font-weight: 500;
  color: #e2e8f0;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  font-size: 10px;
  font-weight: 500;
  border-radius: 999px;
  white-space: nowrap;
}
.badge-ok, .badge-completed  { background: #064e3b; color: #6ee7b7; border: 1px solid #065f46; }
.badge-proc, .badge-processing{ background: #2d1b69; color: #c4b5fd; border: 1px solid #4c1d95; }
.badge-queued                 { background: #1e293b; color: #64748b; border: 1px solid #334155; }
.badge-err, .badge-failed     { background: #450a0a; color: #fca5a5; border: 1px solid #7f1d1d; }
.badge-free     { background: #1e293b; color: #64748b; border: 1px solid #334155; }
.badge-starter  { background: #2d1b69; color: #a78bfa; border: 1px solid #4c1d95; }
.badge-pro      { background: #3b1f06; color: #fbbf24; border: 1px solid #78350f; }
.badge-team     { background: #064e3b; color: #6ee7b7; border: 1px solid #065f46; }
.badge-warn     { background: #3b1f06; color: #fbbf24; border: 1px solid #78350f; }
.badge-open     { background: #450a0a; color: #fca5a5; border: 1px solid #7f1d1d; }
.badge-resolved { background: #064e3b; color: #6ee7b7; border: 1px solid #065f46; }
.badge-inprog   { background: #2d1b69; color: #a78bfa; border: 1px solid #4c1d95; }
.badge-red      { background: #450a0a; color: #fca5a5; border: 1px solid #7f1d1d; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  padding: 9px 20px;
  cursor: pointer;
  border: none;
  border-radius: 8px;
  transition: opacity 0.15s, background 0.15s;
  white-space: nowrap;
}
.btn:active { transform: scale(0.98); }
.btn-primary   { background: #7C3AED; color: #fff; }
.btn-primary:hover { background: #6d28d9; }
.btn-outline   { background: transparent; border: 1px solid #334155; color: #94a3b8; }
.btn-outline:hover { border-color: #7C3AED; color: #a78bfa; }
.btn-danger    { background: transparent; border: 1px solid #7f1d1d; color: #fca5a5; }
.btn-danger:hover { background: #450a0a; }
.btn-ghost     { background: rgba(124,58,237,0.1); color: #a78bfa; border: none; }
.btn-ghost:hover { background: rgba(124,58,237,0.2); }
.btn-sm        { padding: 6px 14px; font-size: 12px; }
.btn-xs        { padding: 4px 10px; font-size: 11px; }
.btn-full      { width: 100%; }

/* ── Form inputs ── */
.field { margin-bottom: 16px; }
.field-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
input[type=text],
input[type=email],
input[type=password],
input[type=number],
select,
textarea {
  width: 100%;
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: #e2e8f0;
  outline: none;
  font-family: inherit;
  transition: border-color 0.15s;
}
input::placeholder, textarea::placeholder { color: #334155; }
input:focus, select:focus, textarea:focus {
  border-color: #7C3AED;
  box-shadow: 0 0 0 3px rgba(124,58,237,0.15);
}
select option { background: #1e293b; color: #e2e8f0; }
input[disabled], select[disabled] { opacity: 0.4; cursor: not-allowed; }

/* ── Checkbox ── */
.check-row {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #64748b;
  margin-bottom: 10px;
  cursor: pointer;
}
.check-box {
  width: 18px; height: 18px;
  border: 1px solid #334155;
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  background: #0f172a;
  transition: all 0.1s;
}
.check-box.checked { background: #7C3AED; border-color: #7C3AED; }
.check-box.checked svg { display: block; }
.check-box svg { display: none; width: 10px; height: 10px; }

/* ── Two-column ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.two-col-55 { display: grid; grid-template-columns: 55fr 45fr; gap: 16px; align-items: start; }

/* ── Stepper ── */
.stepper {
  display: flex;
  border-bottom: 1px solid #334155;
  background: #162032;
}
.stepper-tab {
  flex: 1;
  padding: 14px 8px;
  text-align: center;
  border-right: 1px solid #1e293b;
  cursor: default;
}
.stepper-tab:last-child { border-right: none; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  font-size: 11px; font-weight: 500;
  border-radius: 50%;
  margin-bottom: 3px;
}
.stepper-tab.wait   .step-num { background: #1e293b; color: #475569; }
.stepper-tab.active .step-num { background: #7C3AED; color: #fff; }
.stepper-tab.done   .step-num { background: #064e3b; color: #6ee7b7; }
.stepper-tab.wait  { color: #475569; }
.stepper-tab.active { color: #c4b5fd; font-weight: 500; }
.stepper-tab.done  { color: #6ee7b7; }
.step-label { display: block; font-size: 11px; margin-top: 2px; }

/* ── Option cards ── */
.option-card {
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: border-color 0.1s, background 0.1s;
  background: #162032;
}
.option-card:hover { border-color: #7C3AED; background: rgba(124,58,237,0.06); }
.option-card.selected {
  border-color: #7C3AED;
  background: rgba(124,58,237,0.1);
  border-left: 3px solid #7C3AED;
}
.option-radio {
  width: 18px; height: 18px;
  border: 2px solid #334155;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
  background: #0f172a;
}
.option-card.selected .option-radio {
  border-color: #7C3AED;
  background: #7C3AED;
}
.option-card.selected .option-radio::after {
  content: '';
  width: 6px; height: 6px;
  background: #fff;
  border-radius: 50%;
}
.option-title { font-size: 13px; font-weight: 500; color: #e2e8f0; margin-bottom: 3px; }
.option-desc  { font-size: 12px; color: #475569; }

/* ── Language chips ── */
.chip-group { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.chip {
  padding: 5px 12px;
  font-size: 12px;
  border: 1px solid #334155;
  border-radius: 999px;
  color: #475569;
  cursor: pointer;
  background: #0f172a;
  transition: all 0.1s;
}
.chip:hover { border-color: #7C3AED; color: #a78bfa; }
.chip.selected { background: #2d1b69; border-color: #7C3AED; color: #a78bfa; font-weight: 500; }

/* ── Drop zone ── */
.drop-zone {
  border: 2px dashed #334155;
  border-radius: 10px;
  padding: 40px 20px;
  text-align: center;
  cursor: pointer;
  transition: all 0.15s;
  background: #162032;
}
.drop-zone:hover, .drop-zone.dragover {
  border-color: #7C3AED;
  background: rgba(124,58,237,0.08);
}
.drop-icon {
  width: 44px; height: 44px;
  background: #2d1b69;
  border: 1px solid #4c1d95;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.drop-icon svg { width: 22px; height: 22px; color: #a78bfa; }
.drop-title { font-size: 15px; font-weight: 500; color: #e2e8f0; margin-bottom: 5px; }
.drop-sub { font-size: 12px; color: #475569; }
.drop-link { color: #a78bfa; font-weight: 500; }

/* ── File preview ── */
.file-preview {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #162032;
  border: 1px solid #334155;
  border-radius: 8px;
  margin-top: 12px;
}
.file-preview.visible { display: flex; }
.file-icon {
  width: 36px; height: 36px;
  background: #2d1b69;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.file-icon svg { width: 18px; height: 18px; color: #a78bfa; }
.file-name { font-size: 13px; font-weight: 500; color: #e2e8f0; }
.file-size { font-size: 11px; color: #475569; }

/* ── Pipeline (job detail) ── */
.pipeline { display: flex; flex-direction: column; gap: 16px; }
.pipe-step { display: flex; align-items: flex-start; gap: 12px; }
.pipe-dot {
  width: 28px; height: 28px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 500;
  flex-shrink: 0;
  border-radius: 50%;
}
.pipe-dot.done   { background: #064e3b; color: #6ee7b7; }
.pipe-dot.active { background: #2d1b69; color: #a78bfa; border: 1.5px solid #7C3AED; }
.pipe-dot.wait   { background: #1e293b; color: #334155; }
.pipe-dot.failed { background: #450a0a; color: #fca5a5; }
.pipe-label { font-size: 13px; font-weight: 500; color: #e2e8f0; }
.pipe-sub   { font-size: 11px; color: #475569; margin-top: 2px; }

/* ── Output rows ── */
.output-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #162032;
  border: 1px solid #334155;
  border-radius: 8px;
  margin-bottom: 6px;
}
.output-row:last-child { margin-bottom: 0; }
.out-badge {
  font-size: 10px; font-weight: 500;
  padding: 2px 8px;
  border-radius: 999px;
  margin-right: 8px;
}
.out-badge.pdf  { background: #3b1f06; color: #fbbf24; border: 1px solid #78350f; }
.out-badge.srt  { background: #2d1b69; color: #a78bfa; border: 1px solid #4c1d95; }
.out-badge.vtt  { background: #2d1b69; color: #a78bfa; border: 1px solid #4c1d95; }
.out-badge.txt  { background: #1e293b; color: #64748b; border: 1px solid #334155; }
.out-badge.docx { background: #1e3a5f; color: #60a5fa; border: 1px solid #1d4ed8; }

/* ── Info box ── */
.info-box {
  background: #162032;
  border-left: 3px solid #7C3AED;
  border-radius: 0 6px 6px 0;
  padding: 10px 14px;
  font-size: 12px;
  color: #64748b;
  margin-top: 10px;
}

/* ── Upgrade prompt ── */
.upgrade-prompt {
  display: none;
  align-items: center;
  gap: 12px;
  background: #3b1f06;
  border: 1px solid #78350f;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  color: #fbbf24;
  margin-top: 6px;
}
.upgrade-prompt.visible { display: flex; }

/* ── Summary box ── */
.summary-box {
  background: #162032;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 14px 16px;
}
.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding: 5px 0;
  border-bottom: 1px solid #1e293b;
}
.summary-row:last-child { border-bottom: none; }
.summary-key { color: #475569; }
.summary-val { color: #e2e8f0; font-weight: 500; }

/* ── Wizard nav ── */
.wizard-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid #1e293b;
}

/* ── Search bar ── */
.search-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  align-items: center;
}
.search-input {
  flex: 1;
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 13px;
  color: #e2e8f0;
  outline: none;
}
.search-input::placeholder { color: #334155; }
.search-input:focus { border-color: #7C3AED; }
.filter-btn {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 9px 14px;
  font-size: 12px;
  color: #64748b;
  cursor: pointer;
}
.filter-btn:hover { border-color: #7C3AED; color: #a78bfa; }

/* ── Divider ── */
.divider { height: 1px; background: #1e293b; margin: 16px 0; }

/* ── Empty state ── */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  color: #334155;
}
.empty-state svg { opacity: 0.2; margin-bottom: 12px; }
.empty-state p { font-size: 14px; color: #334155; margin-bottom: 16px; }

/* ── Pagination ── */
.pagination {
  display: flex;
  gap: 4px;
  justify-content: center;
  padding: 16px;
  border-top: 1px solid #1e293b;
}
.page-btn {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 500;
  border: 1px solid #334155;
  border-radius: 6px;
  background: #1e293b;
  cursor: pointer;
  color: #64748b;
}
.page-btn:hover { border-color: #7C3AED; color: #a78bfa; }
.page-btn.active { background: #7C3AED; color: #fff; border-color: #7C3AED; }

/* ── Password strength ── */
.pw-strength { display: flex; gap: 3px; margin-top: 6px; }
.pw-seg { flex: 1; height: 3px; background: #1e293b; border-radius: 999px; transition: background 0.2s; }
.pw-seg.s1 { background: #7f1d1d; }
.pw-seg.s2 { background: #78350f; }
.pw-seg.s3 { background: #065f46; }
.pw-seg.s4 { background: #7C3AED; }

/* ── Auth pages ── */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
}
.auth-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 36px 32px;
  width: 440px;
  box-shadow: 0 0 0 1px rgba(124,58,237,0.1);
}
.auth-logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}
.auth-logo .brand-logo {
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.auth-logo .brand-logo-img.xl {
  height: 160px;
  width: auto;
}
.auth-logo .logo-text {
  font-size: 18px;
}
.auth-logo .logo-mark { background: #7C3AED; border-radius: 8px; }
.auth-logo div:last-child { font-size: 18px; font-weight: 500; color: #f1f5f9; }
.auth-title { font-size: 20px; font-weight: 500; color: #f1f5f9; text-align: center; margin-bottom: 4px; }
.auth-sub   { font-size: 13px; color: #475569; text-align: center; margin-bottom: 24px; }
.auth-footer { font-size: 12px; color: #475569; text-align: center; margin-top: 16px; }
.auth-footer a { color: #a78bfa; font-weight: 500; }
.auth-footer a:hover { color: #7C3AED; }

/* ── Public navbar ── */
.pub-nav {
  background: #162032;
  border-bottom: 1px solid #1e293b;
  position: sticky; top: 0; z-index: 100;
  padding: 10px 40px;
  min-height: 56px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pub-nav-logo { display: flex; align-items: center; gap: 9px; }
.pub-nav-logo.brand-logo,
a.pub-nav-logo.brand-logo { color: #f1f5f9; }
.pub-nav-logo .logo-text { color: #f1f5f9; }
.pub-nav-logo .logo-mark { background: #7C3AED; border-radius: 8px; }
.pub-nav-links { display: flex; gap: 28px; }
.pub-nav-links a { font-size: 14px; color: #475569; }
.pub-nav-links a:hover { color: #a78bfa; }
.pub-nav-actions { display: flex; gap: 10px; align-items: center; }
.btn-nav-out {
  font-size: 14px;
  color: #94a3b8;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.15s;
}
.btn-nav-out:hover { color: #f1f5f9; }
.btn-nav-green {
  font-size: 14px;
  font-weight: 500;
  color: #fff;
  background: #7C3AED;
  padding: 8px 16px;
  border-radius: 8px;
  transition: background 0.15s;
}
.btn-nav-green:hover { background: #6d28d9; color: #fff; }

@media (max-width: 960px) {
  .landing-hero,
  .landing-content-studio,
  .landing-pricing-2 { grid-template-columns: 1fr !important; }
  .landing-features-3,
  .landing-steps-3 { grid-template-columns: 1fr !important; }
  .landing-trust-4 { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 640px) {
  .landing-trust-4 { grid-template-columns: 1fr !important; }
  .landing-hero { padding: 48px 24px 40px !important; }
}

/* ── Hero (landing) ── */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 72px 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-tag {
  display: inline-block;
  background: #2d1b69;
  border: 1px solid #4c1d95;
  color: #c4b5fd;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 999px;
  letter-spacing: 0.05em;
  margin-bottom: 18px;
}
.hero-h1 {
  font-size: 40px;
  font-weight: 500;
  color: #f1f5f9;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.hero-p {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 28px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-upload-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 22px;
}

/* ── Features grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 40px 60px;
  max-width: 1200px;
  margin: 0 auto;
}
.feature-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 24px;
  transition: border-color 0.2s;
}
.feature-card:hover { border-color: #7C3AED; }
.feature-icon {
  width: 38px; height: 38px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.feature-title { font-size: 14px; font-weight: 500; margin-bottom: 6px; color: #e2e8f0; }
.feature-desc  { font-size: 13px; color: #475569; line-height: 1.5; }

/* ── Pricing ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 0 24px 40px;
}
.pricing-col {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 22px 18px;
  transition: border-color 0.2s;
}
.pricing-col:hover { border-color: #475569; }
.pricing-col.featured { border: 2px solid #7C3AED; background: #1a1040; }
.plan-tag { display: inline-block; margin-bottom: 10px; }
.plan-name { font-size: 16px; font-weight: 500; color: #e2e8f0; margin-bottom: 6px; }
.plan-price { font-size: 30px; font-weight: 500; color: #f1f5f9; line-height: 1; }
.pricing-col.featured .plan-price { color: #a78bfa; }
.plan-period { font-size: 11px; color: #475569; margin-bottom: 12px; }
.plan-strike { font-size: 13px; color: #334155; text-decoration: line-through; margin-right: 4px; }
.plan-divider { height: 1px; background: #334155; margin: 14px 0; }
.plan-feat { font-size: 12px; color: #475569; margin-bottom: 6px; display: flex; align-items: flex-start; gap: 5px; }
.plan-feat.yes { color: #94a3b8; }
.feat-mark.ok  { color: #6ee7b7; }
.feat-mark.no  { color: #334155; }

/* ── Toggle (pricing) ── */
.toggle-row {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; margin: 16px 0 28px;
}
.toggle-label { font-size: 13px; color: #475569; }
.toggle-label.on { color: #e2e8f0; font-weight: 500; }
.toggle-switch {
  width: 42px; height: 24px;
  background: #7C3AED;
  border-radius: 999px;
  position: relative; cursor: pointer;
}
.toggle-knob {
  width: 18px; height: 18px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 3px; right: 3px;
  transition: right 0.2s, left 0.2s;
}
.toggle-switch.monthly .toggle-knob { right: auto; left: 3px; }

/* ── Activity feed ── */
.act-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid #1e293b;
}
.act-row:last-child { border-bottom: none; }
.act-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0; margin-top: 5px;
}
.act-dot.green  { background: #6ee7b7; }
.act-dot.red    { background: #fca5a5; }
.act-dot.yellow { background: #fbbf24; }
.act-text { font-size: 12px; color: #64748b; line-height: 1.4; }
.act-time { font-size: 10px; color: #334155; margin-top: 1px; }

/* ── Ticket priority ── */
.tick-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #1e293b;
}
.tick-row:last-child { border-bottom: none; }
.tick-bar { width: 3px; align-self: stretch; flex-shrink: 0; border-radius: 999px; }
.tick-bar.hi  { background: #fca5a5; }
.tick-bar.md  { background: #fbbf24; }
.tick-bar.lo  { background: #6ee7b7; }
.tick-title { font-size: 13px; font-weight: 500; color: #e2e8f0; margin-bottom: 2px; }
.tick-sub   { font-size: 11px; color: #475569; }
.tick-meta  { display: flex; gap: 6px; margin-top: 5px; }

/* ── Success / error boxes ── */
.success-box {
  background: #064e3b;
  border: 1px solid #065f46;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
}
.success-icon {
  width: 36px; height: 36px;
  background: #6ee7b7;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 10px;
}
.error-box {
  background: #450a0a;
  border: 1px solid #7f1d1d;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 12px;
  color: #fca5a5;
}

/* ── Public footer ── */
.pub-footer {
  background: #162032;
  border-top: 1px solid #1e293b;
  color: #334155;
  padding: 40px;
  margin-top: 60px;
}
.pub-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.footer-col-title { font-size: 12px; font-weight: 500; color: #64748b; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
.footer-link { display: block; font-size: 13px; color: #334155; margin-bottom: 8px; }
.footer-link:hover { color: #a78bfa; }
.footer-bottom { border-top: 1px solid #1e293b; padding-top: 20px; display: flex; justify-content: space-between; font-size: 12px; color: #334155; }

/* ── Misc ── */
.hr { height: 1px; background: #1e293b; margin: 16px 0; }
.demo-box {
  background: #162032;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: #64748b;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.demo-box b { color: #a78bfa; }

/* ── Extended nav & billing UI ── */
.pub-nav-pro { position: sticky; top: 0; z-index: 100; backdrop-filter: blur(12px); background: rgba(15,23,42,0.92); border-bottom: 1px solid #334155; }
.pub-nav-muted { opacity: 0.55; }
.main-wrap { flex: 1; display: flex; flex-direction: column; min-width: 0; margin-left: 220px; }
.app-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  border-bottom: 1px solid rgba(124, 58, 237, 0.18);
  background: linear-gradient(90deg, rgba(22, 12, 42, 0.92) 0%, rgba(15, 23, 42, 0.98) 55%);
  backdrop-filter: blur(8px);
}
.app-topbar-title { font-size: 15px; font-weight: 500; color: #f1f5f9; }
.app-topbar-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.choice-row { display: flex; gap: 10px; flex-wrap: wrap; }
.choice-btn { flex: 1; min-width: 140px; padding: 12px 16px; border-radius: 8px; border: 1.5px solid #334155; background: #162032; color: #94a3b8; font-size: 13px; cursor: pointer; transition: all 0.15s; }
.choice-btn:hover { border-color: #7c3aed; color: #f1f5f9; }
.choice-btn.selected { border-color: #7c3aed; background: #2d1b69; color: #f1f5f9; }
.out-badge.mp3 { background: #1a2e1a; color: #86efac; border: 1px solid #166534; }
.enterprise-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; max-width: 1100px; margin: 0 auto; padding: 56px 24px; align-items: center; }
.enterprise-hero-inner { max-width: 520px; }
.enterprise-hero-visual { display: flex; justify-content: center; }
.ent-visual-card { background: #1e293b; border: 1px solid #334155; border-radius: 12px; padding: 24px; min-width: 280px; }
.ent-visual-row { font-size: 14px; color: #cbd5e1; padding: 10px 0; border-bottom: 1px solid #334155; display: flex; align-items: center; gap: 10px; }
.ent-visual-row:last-child { border-bottom: none; }
.ent-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.ent-dot.green { background: #22c55e; }
.ent-dot.purple { background: #a78bfa; }
.ent-dot.blue { background: #60a5fa; }
/* ── Layout: sidebar + main (tek margin) ── */
.main-wrap .main-content {
  margin-left: 0;
  max-width: none;
  width: 100%;
}

.metrics-row.cols-3 { grid-template-columns: repeat(3, 1fr); }

/* ── Billing / dashboard link cards ── */
.link-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 16px;
}
.link-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 22px 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
  display: block;
}
.link-card:hover {
  border-color: #7C3AED;
  background: rgba(124,58,237,0.06);
}
.feature-icon.emoji {
  font-size: 20px;
  line-height: 1;
  background: #2d1b69;
  border: 1px solid #4c1d95;
}

/* ── Public page shells ── */
.pub-page {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 24px 48px;
}
.pub-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px;
}
.pub-section.alt {
  background: #162032;
  border-top: 1px solid #334155;
  border-bottom: 1px solid #334155;
}
.pub-section-title {
  text-align: center;
  margin-bottom: 32px;
  font-size: 14px;
  font-weight: 500;
  color: #e2e8f0;
}
.pub-cta {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.pub-cta h2 {
  font-size: 24px;
  font-weight: 500;
  color: #f1f5f9;
  margin-bottom: 12px;
}
.pub-cta p {
  color: #94a3b8;
  margin-bottom: 24px;
  line-height: 1.6;
}
.features-grid.embed {
  padding: 0;
  max-width: none;
  margin: 0;
}
.pricing-page-header {
  text-align: center;
  margin-bottom: 8px;
}
.pricing-page-header .page-sub {
  max-width: 560px;
  margin: 0 auto 22px;
  line-height: 1.65;
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 12px;
}
.payment-provider-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.provider-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}
.provider-card-header .feature-title { margin-bottom: 2px; }
.provider-card-header .feature-desc { margin: 0; }
.provider-flag { font-size: 28px; line-height: 1; flex-shrink: 0; }
.provider-card { padding: 24px; }
.provider-card-body {
  font-size: 13px;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}
.provider-card-body code {
  font-size: 12px;
  color: #a78bfa;
}

.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 1100px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .metrics-row,
  .metrics-row.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .link-cards { grid-template-columns: 1fr; }
  .hero-section { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px 40px; }
  .features-grid { grid-template-columns: 1fr 1fr; padding: 0 24px 48px; }
  .pub-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .faq-grid { grid-template-columns: 1fr; }
  .payment-provider-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .enterprise-hero { grid-template-columns: 1fr; padding: 40px 20px; }
  .app-topbar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .pub-nav { padding: 0 16px; }
  .pub-nav-links { display: none; }
  .main-wrap { margin-left: 0; }
  .sidebar {
    position: relative;
    width: 100%;
    min-width: 0;
    height: auto;
    border-right: none;
    border-bottom: 1px solid #1e293b;
  }
  .app-layout { flex-direction: column; }
  .main-content { padding: 20px 16px; max-width: 100%; }
}

@media (max-width: 640px) {
  .pricing-grid,
  .features-grid,
  .metrics-row,
  .metrics-row.cols-3 { grid-template-columns: 1fr; }
  .pub-footer { padding: 32px 20px; }
  .pub-footer-grid { grid-template-columns: 1fr; }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-welcome { flex-direction: column; align-items: flex-start; gap: 16px; }
  .dash-stats { grid-template-columns: repeat(3, 1fr); }
}

/* ── Dashboard v2 ── */
.dash-welcome {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 24px;
}
.dash-greeting {
  font-size: 24px;
  font-weight: 500;
  color: #f1f5f9;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.dash-sub { font-size: 13px; color: #64748b; margin: 0; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 16px;
  margin-bottom: 20px;
  align-items: start;
}
.dash-hero { margin-bottom: 0; }
.dash-hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 16px;
}
.dash-hero-label {
  font-size: 11px;
  font-weight: 500;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.dash-hero-numbers {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.dash-hero-used { font-size: 36px; font-weight: 500; color: #f1f5f9; line-height: 1; }
.dash-hero-sep { font-size: 22px; color: #334155; }
.dash-hero-total { font-size: 22px; font-weight: 500; color: #94a3b8; }
.dash-hero-limit { font-size: 14px; color: #64748b; margin-left: 4px; }
.dash-hero-hint { font-size: 13px; color: #64748b; margin: 10px 0 0; }
.dash-hero-hint strong { color: #a78bfa; font-weight: 500; }

.dash-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: conic-gradient(#7C3AED calc(var(--pct) * 1%), #1e293b 0);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}
.dash-ring::before {
  content: '';
  position: absolute;
  inset: 6px;
  background: #1e293b;
  border-radius: 50%;
}
.dash-ring span {
  position: relative;
  font-size: 12px;
  font-weight: 500;
  color: #c4b5fd;
}
.dash-ring.warn { background: conic-gradient(#fbbf24 calc(var(--pct) * 1%), #1e293b 0); }
.dash-ring.warn span { color: #fbbf24; }
.dash-ring.danger { background: conic-gradient(#f87171 calc(var(--pct) * 1%), #1e293b 0); }
.dash-ring.danger span { color: #fca5a5; }

.dash-progress { margin-top: 4px; height: 6px; }
.progress-fill.warn { background: #fbbf24; }
.progress-fill.danger { background: #f87171; }

.dash-side { display: flex; flex-direction: column; gap: 12px; }
.dash-actions { margin-bottom: 0; padding: 16px; }
.dash-action {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
  margin-bottom: 4px;
}
.dash-action:last-child { margin-bottom: 0; }
.dash-action:hover { background: rgba(124,58,237,0.08); }
.dash-action-icon { font-size: 18px; line-height: 1; }
.dash-action strong { display: block; font-size: 13px; font-weight: 500; color: #e2e8f0; }
.dash-action small { font-size: 11px; color: #64748b; }

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 14px;
  margin-bottom: 0;
  text-align: center;
}
.dash-stat-val { display: block; font-size: 20px; font-weight: 500; color: #f1f5f9; line-height: 1.2; }
.dash-stat-lbl { font-size: 10px; color: #64748b; text-transform: uppercase; letter-spacing: 0.04em; }

.dash-job-list { padding: 4px 0; }
.dash-job-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #162032;
  transition: background 0.12s;
}
.dash-job-row:last-child { border-bottom: none; }
.dash-job-row:hover { background: rgba(124,58,237,0.05); }
.dash-job-icon {
  width: 36px;
  height: 36px;
  background: #162032;
  border: 1px solid #334155;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.dash-job-main { flex: 1; min-width: 0; }
.dash-job-name {
  font-size: 13px;
  font-weight: 500;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.dash-job-meta { font-size: 11px; color: #64748b; }
.dash-job-right { flex-shrink: 0; }

.alert-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
}
.alert-banner strong { display: block; font-weight: 500; margin-bottom: 2px; }
.alert-banner p { margin: 0; font-size: 12px; color: #64748b; line-height: 1.5; }
.alert-warn { background: #3b1f06; border: 1px solid #78350f; }
.alert-warn strong { color: #fbbf24; }
.alert-danger { background: #450a0a; border: 1px solid #7f1d1d; }
.alert-danger strong { color: #fca5a5; }

.empty-panel {
  text-align: center;
  padding: 48px 24px 40px;
}
.empty-panel svg { opacity: 0.35; margin-bottom: 14px; }
.empty-panel p { font-size: 15px; font-weight: 500; color: #94a3b8; margin: 0 0 6px; }
.empty-panel-sub { display: block; font-size: 13px; color: #64748b; margin-bottom: 18px; }

.success-banner {
  background: #064e3b;
  border: 1px solid #065f46;
  color: #6ee7b7;
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 8px;
  margin-bottom: 16px;
}

.page-back { font-size: 13px; color: #64748b; margin-bottom: 4px; }
.page-back a { color: #a78bfa; text-decoration: none; }

.billing-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 20px;
}
.billing-nav-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.billing-nav-card:hover {
  border-color: #7C3AED;
  background: rgba(124,58,237,0.06);
}
.billing-nav-icon {
  width: 36px;
  height: 36px;
  background: #2d1b69;
  border: 1px solid #4c1d95;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a78bfa;
}
.billing-nav-card strong { font-size: 14px; font-weight: 500; color: #e2e8f0; }
.billing-nav-card span { font-size: 12px; color: #64748b; line-height: 1.5; }

.org-create-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 820px;
}
.org-benefits { margin-bottom: 0; }
.org-benefit-row {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: #94a3b8;
  margin-bottom: 12px;
  line-height: 1.5;
}
.org-benefit-row:last-child { margin-bottom: 0; }
.org-benefit-row em { color: #6ee7b7; font-style: normal; flex-shrink: 0; }

@media (max-width: 900px) {
  .dash-grid { grid-template-columns: 1fr; }
  .dash-welcome { flex-direction: column; align-items: flex-start; gap: 16px; }
  .billing-nav-grid { grid-template-columns: 1fr; }
  .org-create-grid { grid-template-columns: 1fr; }
  .metrics-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .dash-two-col { grid-template-columns: 1fr; }
}

/* ── Sidebar iyileştirmeleri ── */
.sb-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 14px;
  border-bottom: 1px solid rgba(124, 58, 237, 0.2);
  background: rgba(124, 58, 237, 0.08);
  flex-shrink: 0;
}
.sidebar .sb-brand {
  padding: 0;
  border-bottom: none;
  background: transparent;
}
.sidebar .sb-logo {
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  padding: 0;
  border-bottom: none;
}
.sidebar .sb-logo .app-logo {
  width: 100%;
}
.sidebar .sb-logo-text {
  font-size: 16px;
  font-weight: 600;
  color: #f1f5f9;
}
.sidebar .sb-item {
  display: flex; align-items: center; gap: 9px;
  padding: 9px 16px;
  margin: 0;
  border-radius: 0;
  font-size: 13px; color: #64748b;
  cursor: pointer;
  border-left: 3px solid transparent;
  border-top: none;
  border-right: none;
  border-bottom: none;
  transition: all 0.12s;
  text-decoration: none;
}
.sidebar .sb-item i { font-size: 16px; width: 16px; text-align: center; }
.sidebar .sb-item svg { display: none; }
.sidebar .sb-item:hover { color: #a78bfa; background: rgba(124,58,237,0.06); }
.sidebar .sb-item.active {
  color: #a78bfa;
  border-left-color: #7C3AED;
  background: rgba(124,58,237,0.1);
  font-weight: 500;
  padding-left: 13px;
  box-shadow: none;
}

/* ── Page header ── */
.page-header-row {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.page-greeting {
  font-size: 20px; font-weight: 600;
  color: #f1f5f9; margin-bottom: 2px;
}

/* ── Metrik kartlar — 4'lü grid ── */
.metrics-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.metric-card-v2 {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 16px;
}
.metric-card-v2 .mc-icon {
  width: 32px; height: 32px;
  border-radius: 8px;
  display: flex; align-items: center;
  justify-content: center;
  font-size: 16px; margin-bottom: 10px;
}
.metric-card-v2 .mc-label {
  font-size: 11px; font-weight: 500;
  color: #475569; text-transform: uppercase;
  letter-spacing: 0.05em; margin-bottom: 6px;
}
.metric-card-v2 .mc-value {
  font-size: 28px; font-weight: 700;
  color: #f1f5f9; line-height: 1;
}
.metric-card-v2 .mc-value.purple { color: #a78bfa; }
.metric-card-v2 .mc-value.green  { color: #6ee7b7; }
.metric-card-v2 .mc-sub {
  font-size: 11px; color: #334155; margin-top: 4px;
}

/* ── Usage bar geliştirilmiş ── */
.usage-card-v2 {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 18px;
}
.usage-card-v2 .uc-top {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.usage-card-v2 .uc-title {
  font-size: 13px; font-weight: 500; color: #e2e8f0;
}
.usage-card-v2 .uc-nums {
  font-size: 13px; color: #475569;
}
.usage-card-v2 .uc-nums strong { color: #a78bfa; }
.usage-bar-v2 {
  height: 8px; background: #0f172a;
  border-radius: 999px; overflow: hidden;
}
.usage-fill-v2 {
  height: 100%;
  background: #7C3AED;
  border-radius: 999px;
  transition: width 0.5s ease;
}
.usage-card-v2 .uc-bottom {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.plan-pill {
  background: #2d1b69; color: #a78bfa;
  border: 1px solid #4c1d95;
  font-size: 11px; font-weight: 500;
  padding: 3px 10px; border-radius: 999px;
}
.upgrade-tip {
  font-size: 11px; color: #475569;
}
.upgrade-tip a { color: #7C3AED; font-weight: 500; }

/* ── Dashboard iki kolon ── */
.dash-two-col {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 16px;
  align-items: start;
}

/* ── Hızlı işlemler listesi ── */
.quick-actions {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  overflow: hidden;
}
.quick-actions .qa-header {
  padding: 14px 18px;
  border-bottom: 1px solid #0f172a;
  font-size: 13px; font-weight: 600; color: #e2e8f0;
}
.quick-actions .qa-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid #162032;
  cursor: pointer; transition: background 0.1s;
  text-decoration: none;
}
.quick-actions .qa-item:last-child { border-bottom: none; }
.quick-actions .qa-item:hover { background: rgba(124,58,237,0.05); }
.quick-actions .qa-icon {
  width: 36px; height: 36px; border-radius: 8px;
  display: flex; align-items: center;
  justify-content: center; font-size: 18px; flex-shrink: 0;
}
.quick-actions .qa-title {
  font-size: 13px; font-weight: 500; color: #e2e8f0;
}
.quick-actions .qa-sub {
  font-size: 11px; color: #475569; margin-top: 1px;
}
.quick-actions .qa-arrow {
  margin-left: auto; color: #334155; font-size: 16px;
}

/* ── Empty state iyileştirme ── */
.empty-state-v2 {
  padding: 48px 24px; text-align: center;
}
.empty-state-v2 .es-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: #162032;
  display: flex; align-items: center;
  justify-content: center;
  font-size: 26px; margin: 0 auto 16px;
}
.empty-state-v2 .es-title {
  font-size: 15px; font-weight: 600;
  color: #475569; margin-bottom: 6px;
}
.empty-state-v2 .es-sub {
  font-size: 13px; color: #334155;
  line-height: 1.6; margin-bottom: 20px;
}

/* ── Profil sayfası ── */
.profile-hero-card {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  margin-bottom: 16px;
}
.profile-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  background: #2d1b69; border: 3px solid #7C3AED;
  display: flex; align-items: center;
  justify-content: center;
  font-size: 26px; font-weight: 700; color: #a78bfa;
  margin: 0 auto 14px;
}
.profile-name {
  font-size: 20px; font-weight: 600;
  color: #f1f5f9; margin-bottom: 4px;
}
.profile-email { font-size: 13px; color: #475569; margin-bottom: 14px; }
.profile-badges {
  display: flex; align-items: center;
  justify-content: center; gap: 8px; margin-bottom: 18px;
}
.profile-usage {
  font-size: 12px; color: #475569; margin-bottom: 10px;
}
.profile-usage strong { color: #a78bfa; }
.profile-usage-bar {
  height: 4px; background: #0f172a; border-radius: 999px;
  overflow: hidden; margin-bottom: 18px;
}
.profile-usage-fill {
  height: 100%; background: #7C3AED; border-radius: 999px;
}
.btn-upgrade-full {
  display: block;
  width: 100%; background: #7C3AED; color: #fff; border: none;
  padding: 11px; border-radius: 8px;
  font-size: 13px; font-weight: 600; cursor: pointer;
  text-decoration: none;
  text-align: center;
  box-sizing: border-box;
}

/* ── Settings toggle ── */
.setting-toggle-row {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: #1e293b; border: 1px solid #334155;
  border-radius: 8px; margin-bottom: 8px;
}
.stg-label { font-size: 13px; color: #e2e8f0; }
.stg-desc  { font-size: 11px; color: #475569; margin-top: 2px; }
.toggle-switch {
  width: 38px; height: 22px; background: #7C3AED;
  border-radius: 999px; position: relative; cursor: pointer;
  flex-shrink: 0;
}
.toggle-switch .ts-dot {
  width: 16px; height: 16px; background: #fff; border-radius: 50%;
  position: absolute; top: 3px; right: 3px; transition: all 0.2s;
}
.toggle-switch.off { background: #334155; }
.toggle-switch.off .ts-dot { right: auto; left: 3px; }

/* ── Danger zone ── */
.danger-zone-card {
  background: #1a0a0a;
  border: 1px solid #7f1d1d;
  border-radius: 10px; padding: 18px;
}
.danger-zone-title {
  font-size: 13px; font-weight: 600;
  color: #fca5a5; margin-bottom: 6px;
}
.danger-zone-sub {
  font-size: 12px; color: #6b2d2d;
  line-height: 1.6; margin-bottom: 14px;
}
.btn-danger-outline {
  background: transparent; border: 1px solid #7f1d1d;
  color: #fca5a5; padding: 7px 14px;
  border-radius: 7px; font-size: 12px;
  font-weight: 500; cursor: pointer; margin-right: 8px;
}

@media (max-width: 640px) {
  .metrics-grid-4 { grid-template-columns: 1fr; }
}

/* ── Logo standart bileşen ── */
.app-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.app-logo-mark {
  width: 32px;
  height: 32px;
  background: #7C3AED;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.app-logo-mark svg {
  width: 18px;
  height: 18px;
}
.app-logo-text {
  font-size: 16px;
  font-weight: 600;
  color: #f1f5f9;
  letter-spacing: -0.3px;
}
.app-logo-text.dark {
  color: #111;
}

/* Auth sayfalarda büyük logo */
.auth-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}
.auth-logo-mark {
  width: 40px;
  height: 40px;
  background: #7C3AED;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-logo-mark svg {
  width: 22px;
  height: 22px;
}
.auth-logo-text {
  font-size: 22px;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: -0.5px;
}

/* ── Public layout ── */
.pub-body {
  background: #0f172a;
  min-height: 100vh;
}
.pub-nav.pub-nav--glass {
  background: rgba(22, 32, 50, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #1e293b;
}
.pub-nav-links a.is-active {
  color: #a78bfa;
  font-weight: 500;
}
.pub-footer {
  background: #162032;
  border-top: 1px solid #1e293b;
  padding: 40px 24px;
  margin-top: 0;
}
.pub-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.pub-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 32px;
}
.pub-footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.pub-footer-brand span {
  font-size: 15px;
  font-weight: 600;
  color: #f1f5f9;
}
.pub-footer-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.6;
}
@media (max-width: 900px) {
  .pub-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 520px) {
  .pub-footer-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   API Docs (/docs)
══════════════════════════════════════════════ */
.docs-page { color: #f1f5f9; }

.docs-hero {
  background: linear-gradient(135deg, #1a1040 0%, #0f172a 55%, #0c1222 100%);
  border-bottom: 1px solid #1e293b;
  padding: 56px 24px 44px;
  position: relative;
  overflow: hidden;
}
.docs-hero::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.18) 0%, transparent 70%);
  pointer-events: none;
}
.docs-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.docs-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #2d1b69;
  border: 1px solid #4c1d95;
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.docs-badge-dot {
  width: 6px;
  height: 6px;
  background: #7C3AED;
  border-radius: 50%;
  animation: docs-pulse 2s ease-in-out infinite;
}
@keyframes docs-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}
.docs-hero h1 {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  line-height: 1.15;
}
.docs-hero-lead {
  font-size: 16px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 560px;
}
.docs-hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.docs-base-url {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 10px 16px;
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 13px;
  color: #a78bfa;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.docs-base-url-label { color: #475569; }

.docs-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 24px 80px;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.docs-sidebar {
  position: sticky;
  top: 72px;
}
.docs-toc {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 18px 16px;
}
.docs-toc-title {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.docs-toc a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #64748b;
  padding: 6px 8px;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.docs-toc a:hover {
  color: #a78bfa;
  background: rgba(124, 58, 237, 0.08);
}
.docs-toc a.is-active {
  color: #a78bfa;
  background: rgba(124, 58, 237, 0.12);
  font-weight: 500;
}
.docs-toc-chevron { color: #334155; font-size: 12px; }

.docs-main { min-width: 0; }
.docs-section {
  margin-bottom: 48px;
  scroll-margin-top: 80px;
}
.docs-section h2 {
  font-size: 22px;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 8px;
  padding-top: 8px;
}
.docs-section p {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 16px;
}
.docs-inline-code {
  background: #2d1b69;
  color: #a78bfa;
  padding: 2px 7px;
  border-radius: 4px;
  font-family: ui-monospace, monospace;
  font-size: 0.92em;
}
.docs-link { color: #7C3AED; }
.docs-link:hover { color: #a78bfa; }

.docs-code-block {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  overflow: hidden;
}
.docs-code-block--rounded-bottom {
  border-radius: 0 0 8px 8px;
  border-top: none;
}
.docs-code-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-bottom: 1px solid #1e293b;
  background: #162032;
}
.docs-code-header span {
  font-size: 11px;
  font-weight: 500;
  color: #475569;
}
.docs-code-header--end { justify-content: flex-end; }
.docs-code-block pre {
  margin: 0;
  padding: 16px;
  font-size: 12px;
  font-family: ui-monospace, "Cascadia Code", monospace;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
}
.docs-code-block pre code { color: inherit; }
.docs-code-block--request pre { color: #94a3b8; }
.docs-code-block--response pre { color: #6ee7b7; }
.docs-code-block--auth pre { color: #a78bfa; }

.docs-copy-btn {
  background: #2d1b69;
  border: none;
  color: #a78bfa;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.docs-copy-btn:hover { background: #4c1d95; }
.docs-copy-btn.is-copied {
  background: #064e3b;
  color: #6ee7b7;
}

.docs-alert {
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.6;
  margin-top: 12px;
}
.docs-alert--warn {
  background: #3b1f06;
  border: 1px solid #78350f;
  color: #fbbf24;
}
.docs-alert-icon { font-size: 18px; flex-shrink: 0; }

.docs-endpoint { margin-bottom: 48px; scroll-margin-top: 80px; }
.docs-endpoint-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}
.docs-method {
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
  font-family: ui-monospace, monospace;
  letter-spacing: 0.05em;
}
.docs-method--get { background: #064e3b; color: #6ee7b7; }
.docs-method--post { background: #1e1040; color: #a78bfa; }
.docs-method--other { background: #450a0a; color: #fca5a5; }
.docs-path {
  font-size: 16px;
  font-weight: 600;
  color: #e2e8f0;
  font-family: ui-monospace, monospace;
}
.docs-endpoint h3 {
  font-size: 18px;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 8px;
}
.docs-endpoint-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.7;
  margin-bottom: 20px;
}

.docs-label {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.docs-params {
  border: 1px solid #334155;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 16px;
}
.docs-param-row {
  display: grid;
  grid-template-columns: 140px 72px 72px 1fr;
  gap: 12px;
  padding: 10px 16px;
  border-bottom: 1px solid #1e293b;
  align-items: start;
}
.docs-param-row:last-child { border-bottom: none; }
.docs-param-name {
  font-size: 12px;
  color: #a78bfa;
  font-family: ui-monospace, monospace;
  word-break: break-all;
}
.docs-param-type {
  font-size: 11px;
  color: #64748b;
  background: #162032;
  padding: 2px 6px;
  border-radius: 4px;
  align-self: start;
}
.docs-param-req { font-size: 11px; align-self: start; }
.docs-param-req--yes { color: #fbbf24; }
.docs-param-req--no { color: #334155; }
.docs-param-desc { font-size: 12px; color: #64748b; }

.docs-examples-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.docs-note {
  background: #162032;
  border-left: 3px solid #7C3AED;
  border-radius: 0 6px 6px 0;
  padding: 10px 14px;
  margin-top: 12px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.6;
}

.docs-error-format {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 8px;
  padding: 14px 16px;
  font-family: ui-monospace, monospace;
  font-size: 13px;
  color: #fca5a5;
  margin-bottom: 20px;
}
.docs-table {
  border: 1px solid #334155;
  border-radius: 8px;
  overflow: hidden;
}
.docs-table-head,
.docs-table-row {
  display: grid;
  align-items: center;
  padding: 10px 16px;
  border-bottom: 1px solid #162032;
}
.docs-table-head {
  background: #1e293b;
  border-bottom: 1px solid #334155;
}
.docs-table-head span {
  font-size: 11px;
  font-weight: 600;
  color: #475569;
  text-transform: uppercase;
}
.docs-table-row:last-child { border-bottom: none; }
.docs-table--errors .docs-table-head,
.docs-table--errors .docs-table-row {
  grid-template-columns: 72px 180px 1fr;
  gap: 12px;
}
.docs-table--limits .docs-table-head,
.docs-table--limits .docs-table-row {
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}
.docs-err-code {
  font-size: 12px;
  font-family: ui-monospace, monospace;
}
.docs-err-code--danger { color: #fca5a5; }
.docs-err-code--warn { color: #fbbf24; }
.docs-err-code--muted { color: #64748b; }
.docs-err-key {
  font-size: 11px;
  font-family: ui-monospace, monospace;
  color: #a78bfa;
  background: #2d1b69;
  padding: 2px 6px;
  border-radius: 4px;
  display: inline-block;
}
.docs-plan--pro { color: #a78bfa; font-weight: 500; }
.docs-plan--team { color: #6ee7b7; font-weight: 500; }
.docs-table-cell { font-size: 13px; color: #64748b; }

.docs-tabs {
  display: flex;
  border-bottom: 1px solid #334155;
  overflow-x: auto;
  scrollbar-width: thin;
}
.docs-tab {
  padding: 10px 18px;
  font-size: 13px;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
  font-family: inherit;
  transition: color 0.15s, border-color 0.15s;
}
.docs-tab:hover { color: #94a3b8; }
.docs-tab.is-active {
  border-bottom-color: #7C3AED;
  color: #a78bfa;
  font-weight: 500;
}
.docs-tab-panel { display: none; }
.docs-tab-panel.is-active { display: block; }

.docs-cta {
  background: linear-gradient(135deg, #1a1040 0%, #1e1040 100%);
  border: 2px solid #7C3AED;
  border-radius: 12px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(124, 58, 237, 0.15);
}
.docs-cta-icon { font-size: 28px; margin-bottom: 12px; }
.docs-cta h3 {
  font-size: 20px;
  font-weight: 600;
  color: #f1f5f9;
  margin-bottom: 8px;
}
.docs-cta p {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 20px;
}
.docs-cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px 20px 60px;
  }
  .docs-sidebar { position: static; }
  .docs-toc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 8px;
  }
  .docs-examples-grid { grid-template-columns: 1fr; }
  .docs-param-row {
    grid-template-columns: 1fr 1fr;
    gap: 6px 12px;
  }
  .docs-param-desc { grid-column: 1 / -1; }
  .docs-table--errors .docs-table-head,
  .docs-table--errors .docs-table-row {
    grid-template-columns: 56px 1fr;
    gap: 8px;
  }
  .docs-table--errors .docs-table-row span:last-child {
    grid-column: 1 / -1;
  }
  .docs-table--errors .docs-table-head span:last-child { display: none; }
}

@media (max-width: 520px) {
  .docs-hero { padding: 40px 16px 32px; }
  .docs-toc { grid-template-columns: 1fr; }
  .docs-base-url { font-size: 12px; }
}