/* ============================================================
   x.autogram.cc — "Signal Relay" tasarım sistemi
   Konsept: bir yayın/röle istasyonu kontrol panosu. Amber sinyal
   ışıkları aktif/canlı durumları, mono yazı tipi veri okumalarını
   (id, token, geri sayım) temsil eder.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --bg: #06080E;
  --panel: rgba(13, 18, 28, 0.78);
  --panel-raised: rgba(19, 27, 42, 0.88);
  --border: rgba(255, 255, 255, 0.08);
  --border-bright: rgba(255, 255, 255, 0.16);

  --text: #F1F5F9;
  --muted: #94A3B8;
  --muted-dim: #64748B;

  --amber: #F59E0B;
  --amber-dim: #B45309;
  --amber-glow: rgba(245, 158, 11, 0.25);

  --success: #10B981;
  --success-dim: rgba(16, 185, 129, 0.15);
  --danger: #EF4444;
  --danger-dim: rgba(239, 68, 68, 0.15);
  --info: #06B6D4;
  --cyan: #06B6D4;

  --radius: 12px;
  --font-display: 'IBM Plex Sans', -apple-system, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }

body {
  background: var(--bg);
  background-image:
    radial-gradient(circle at 10% 0%, rgba(245, 158, 11, 0.07), transparent 45%),
    radial-gradient(circle at 90% 100%, rgba(16, 185, 129, 0.06), transparent 45%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-display);
  margin: 0;
  padding: 0;
  min-height: 100vh;
  max-width: 100% !important;
  width: 100%;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

body.login-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.login-box {
  width: 100%;
  max-width: 440px;
  margin: auto;
  background: rgba(13, 19, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

::selection { background: var(--amber-glow); color: var(--text); }

/* ============================================================
   SIDEBAR NAVIGATION (Cyber-Luxury v3.5)
   ============================================================ */

.sidebar-cyber {
  width: 260px;
  height: 100vh;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  background: rgba(9, 13, 20, 0.98);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  z-index: 1000;
  backdrop-filter: blur(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-header {
  padding: 20px 18px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
  animation: pulse-ring 2.2s ease-out infinite;
  flex-shrink: 0;
}

@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.brand-text {
  display: flex;
  align-items: center;
  gap: 6px;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  color: #f8fafc;
  letter-spacing: 0.3px;
}

.brand-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 800;
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 1px 5px;
  border-radius: 4px;
}

.sidebar-close-btn {
  display: none;
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
}

.sidebar-nav {
  flex: 1;
  overflow-y: auto;
  padding: 14px 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.nav-section-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #64748b;
  text-transform: uppercase;
  margin: 16px 10px 6px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
  transition: all 0.18s ease;
  position: relative;
  margin-bottom: 2px;
}

.nav-item:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.05);
  transform: translateX(3px);
}

.nav-item.active {
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.12);
  font-weight: 600;
  border-left: 3px solid #f59e0b;
  padding-left: 9px;
}

.nav-icon {
  font-size: 16px;
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

.nav-label {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.rocket-nav-item {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.15), rgba(239, 68, 68, 0.1));
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: #fbbf24 !important;
  font-weight: 700;
}

.rocket-nav-item:hover {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.25), rgba(239, 68, 68, 0.2));
  border-color: #f59e0b;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.25);
}

.nav-badge-neon {
  font-size: 9px;
  font-weight: 800;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: white;
  padding: 2px 6px;
  border-radius: 6px;
  margin-left: auto;
  letter-spacing: 0.5px;
}

.nav-badge-hot {
  font-size: 10px;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.2);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 1px 6px;
  border-radius: 10px;
  margin-left: auto;
}

.sidebar-footer {
  padding: 14px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.25);
}

.user-profile-widget {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #06b6d4);
  color: white;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.user-meta {
  flex: 1;
  min-width: 0;
}

.user-name {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f9;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role-badge {
  font-size: 9px;
  font-weight: 700;
  color: #10b981;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.btn-logout-icon {
  margin-left: auto;
  color: #94a3b8;
  font-size: 16px;
  text-decoration: none;
  padding: 6px;
  border-radius: 6px;
  transition: all 0.2s;
  flex-shrink: 0;
}

.btn-logout-icon:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 999;
}

/* ============================================================
   MAIN CONTENT AREA (Wide & Spacious)
   ============================================================ */

.app-main-content {
  margin-left: 260px;
  flex: 1;
  width: calc(100% - 260px);
  min-width: 0;
  padding: 28px 36px 60px;
  box-sizing: border-box;
}

.top-bar-modern {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-menu-trigger {
  display: none;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 18px;
  cursor: pointer;
}

@media (max-width: 992px) {
  .sidebar-cyber {
    transform: translateX(-100%);
  }
  .sidebar-cyber.open {
    transform: translateX(0);
  }
  .sidebar-close-btn {
    display: block;
  }
  .sidebar-backdrop.open {
    display: block;
  }
  .app-main-content {
    margin-left: 0;
    width: 100%;
    padding: 16px 16px 48px;
  }
  .mobile-menu-trigger {
    display: block;
  }
}

/* Hesap kartları grid düzeni (Geniş Ekranda 2'li veya Ferah Kartlar) */
.accounts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(440px, 1fr));
  gap: 16px;
}

@media (max-width: 600px) {
  .accounts-grid {
    grid-template-columns: 1fr;
  }
}

.account-card {
  background: rgba(13, 19, 30, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border-radius: 14px;
  padding: 20px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.account-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.1);
}

h2 {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
h2::before {
  content: '';
  width: 3px; height: 12px;
  background: var(--amber);
  border-radius: 2px;
  display: inline-block;
}

.section-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.section-head h2 { margin-bottom: 0; }

section { margin-bottom: 30px; }

/* ---------------- Butonlar ---------------- */

.btn-add {
  background: var(--amber);
  color: #14100A;
  text-decoration: none;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
}

button {
  border: none;
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  background: var(--amber);
  color: #14100A;
  font-family: var(--font-display);
  transition: filter .15s, transform .1s;
}
button:hover { filter: brightness(1.08); }
button:active { transform: scale(0.98); }
button.small { padding: 6px 10px; font-size: 12px; }

.run-btn { background: var(--success); color: #08241A; }
.toggle-btn { background: var(--panel-raised); color: var(--text); border: 1px solid var(--border-bright); }
.delete-btn { background: var(--danger); color: #2A0A0A; }
.secondary-btn {
  background: transparent; border: 1px solid var(--amber-dim); color: var(--amber);
  width: 100%; margin-bottom: 16px;
}

.actions { margin-top: 4px; }
.actions button { width: 100%; }

/* ---------------- Login ---------------- */

.login-body {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; max-width: 100%;
}

.login-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 36px 32px;
  width: 300px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.login-box::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--success));
}
.login-box .brand { justify-content: center; margin-bottom: 6px; }
.login-box h1 { font-size: 18px; }

/* ---------------- Kartlar ---------------- */

.account-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 12px;
  position: relative;
  border-left: 3px solid var(--border-bright);
  transition: border-color .2s;
}
.account-card:has(.status-dot.on) { border-left-color: var(--success); }
.account-card.disabled { opacity: .55; border-left-color: var(--muted-dim); }
.account-card.new-account { border-left-color: var(--amber); }

.account-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }

.account-title { display: flex; align-items: center; gap: 8px; }
.status-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--muted-dim); flex-shrink: 0;
}
.status-dot.on { background: var(--success); box-shadow: 0 0 6px rgba(95,217,160,.6); }

.muted { color: var(--muted); }
.small { font-size: 12px; }

.btn-small {
  background: transparent;
  border: 1px solid var(--border-bright);
  color: var(--text);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  font-weight: 500;
}

.account-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
form.inline { display: inline-block; margin: 0; }

.feature-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.tag-form { display: inline-block; }
.feature-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--muted-dim);
  background: transparent;
  cursor: pointer;
  font-weight: 500;
  transition: border-color .15s, color .15s;
}
.feature-tag:hover { border-color: var(--border-bright); color: var(--muted); }
.feature-tag.on {
  border-color: rgba(232,163,61,.4);
  color: var(--amber);
  background: var(--amber-glow);
}
.feature-tag.on:hover { border-color: var(--amber); }

/* ---------------- Geri sayım (sinyal göstergesi) ---------------- */

.countdown {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 6px;
}
.countdown-timer { font-weight: 600; letter-spacing: 0.02em; }
.countdown-ready { color: var(--success); font-weight: 500; }
.countdown::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

/* ---------------- Lisans rozeti ---------------- */

.license-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px;
  padding: 5px 10px; border-radius: 999px;
  border: 1px solid var(--border-bright);
  color: var(--muted);
}
.license-badge.ok { border-color: rgba(95,217,160,.4); color: var(--success); }
.license-badge.warn { border-color: rgba(232,163,61,.5); color: var(--amber); }
.license-badge.danger { border-color: rgba(232,93,93,.5); color: var(--danger); }

/* ---------------- Formlar ---------------- */

label {
  display: flex; flex-direction: column; gap: 5px;
  font-size: 12px; color: var(--muted); margin-bottom: 12px;
  font-weight: 500;
}

input[type=text], input[type=password], input[type=number], input[type=file], select {
  background: #0F131A;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 11px 12px;
  color: var(--text);
  font-size: 15px;
  width: 100%;
  font-family: var(--font-display);
  transition: border-color .15s;
}
select { cursor: pointer; }
input:focus, textarea:focus {
  outline: none;
  border-color: var(--amber-dim);
}
input[type=file] { font-size: 13px; padding: 10px; }

textarea {
  background: #0F131A;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 11px 12px;
  color: var(--text);
  font-size: 15px;
  width: 100%;
  font-family: var(--font-display);
  resize: vertical;
}

fieldset {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px;
  margin-bottom: 16px;
}
legend {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 6px;
}

.row { display: flex; gap: 12px; }
.row label { flex: 1; }
.checkbox { flex-direction: row; align-items: center; gap: 8px; font-size: 14px; color: var(--text); }
.checkbox input { width: auto; }

/* ---------------- Flash mesajları ---------------- */

.flash {
  padding: 11px 14px; border-radius: 8px; margin-bottom: 14px;
  font-size: 13px; border: 1px solid transparent;
}
.flash.success { background: var(--success-dim); color: var(--success); border-color: rgba(95,217,160,.25); }
.flash.error { background: var(--danger-dim); color: var(--danger); border-color: rgba(232,93,93,.25); }
.flash.info { background: var(--amber-glow); color: var(--amber); border-color: rgba(232,163,61,.25); }

/* ---------------- Cookie çekme kutusu ---------------- */

.extracted-box {
  background: var(--amber-glow);
  border: 1px solid var(--amber-dim);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 20px;
}
.extracted-box strong { font-size: 13px; }
.copy-row { display: flex; gap: 6px; }
.copy-row input { flex: 1; font-size: 11px; font-family: var(--font-mono); }
.copy-row button { flex-shrink: 0; padding: 8px 10px; font-size: 12px; }

/* ---------------- Loglar ---------------- */

.logs-list { display: flex; flex-direction: column; gap: 6px; }
.log-row {
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 9px 11px;
  background: var(--panel);
  border-radius: 6px;
  border-left: 2px solid var(--border-bright);
  align-items: baseline;
}
.log-row.level-error { border-left-color: var(--danger); }
.log-row.level-warn { border-left-color: var(--amber); }
.log-row.level-info { border-left-color: var(--success); }
.log-time { color: var(--muted-dim); }
.log-account { color: var(--amber); font-weight: 600; }
.log-level { color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.log-msg { color: var(--text); font-family: var(--font-display); font-size: 12.5px; }

@media (max-width: 480px) {
  .log-row { grid-template-columns: 1fr; }
}

/* ---------------- Yanıt şablonları ---------------- */

.reply-list { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.reply-row {
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
  background: var(--panel); border: 1px solid var(--border); border-radius: 8px;
  padding: 10px 12px; font-size: 14px;
}
.reply-add-form { display: flex; gap: 8px; }
.reply-add-form input { flex: 1; margin-bottom: 0; }

/* ---------------- Medya galerisi ---------------- */

.media-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.media-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
}
.media-card.status-posted { opacity: .65; }
.media-card.status-deleted { opacity: .35; }
.media-card img, .media-card video { width: 100%; height: 130px; object-fit: cover; display: block; background: #000; }
.media-info { padding: 10px 11px; flex: 1; }
.media-name { font-size: 12.5px; word-break: break-all; font-weight: 500; }
.media-caption { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-top: 5px; font-style: italic; }
.media-card form { margin: 0 11px 11px; }
.media-card button { width: 100%; }

/* ---------------- Admin / Kullanıcı tablosu ---------------- */

.user-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 18px; margin-bottom: 12px;
}
.user-card .account-row { margin-bottom: 10px; }
.user-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.user-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.user-actions form { display: flex; gap: 6px; align-items: center; }
.user-actions input[type=number] { width: 70px; margin-bottom: 0; padding: 8px; }
.user-actions input[type=password] { width: 140px; margin-bottom: 0; padding: 8px; font-size: 13px; }

/* ---------------- Yardımcı ---------------- */

.empty-state {
  text-align: center; padding: 40px 20px; color: var(--muted);
  border: 1px dashed var(--border); border-radius: var(--radius); font-size: 13px;
}

/* ---------------- Analitik ---------------- */

.stat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
@media (min-width: 480px) { .stat-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-box {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; text-align: center;
}
.stat-value { display: block; font-family: var(--font-mono); font-size: 24px; font-weight: 700; color: var(--amber); }
.stat-label { display: block; font-size: 11px; color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: 0.05em; }

.chart-box {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 14px 10px; overflow-x: auto;
}
.bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 140px;
  min-width: 480px;
}
.bar-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  min-width: 24px;
}
.bar-pair {
  flex: 1;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  width: 100%;
  justify-content: center;
}
.bar {
  width: 8px;
  border-radius: 2px 2px 0 0;
  min-height: 2px;
  transition: height .3s ease;
}
.bar-reply { background: var(--amber); }
.bar-post { background: var(--success); }
.bar-day-label {
  font-family: var(--font-mono);
  font-size: 9px;
  color: var(--muted-dim);
  margin-top: 6px;
  writing-mode: horizontal-tb;
  white-space: nowrap;
}
.chart-legend { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; color: var(--muted); }
.chart-legend i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; }
.dot-reply { background: var(--amber); }
.dot-post { background: var(--success); }

.leaderboard { display: flex; flex-direction: column; gap: 8px; }
.leaderboard-row {
  display: flex; align-items: center; gap: 12px;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 12px 14px;
}
.lb-rank { font-family: var(--font-mono); color: var(--muted-dim); font-size: 13px; width: 28px; }
.lb-info { flex: 1; }
.lb-total { font-family: var(--font-mono); font-weight: 700; color: var(--amber); font-size: 16px; }

/* ---------------- Admin fiyat tablosu editörü ---------------- */

.pricing-row {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px; margin-bottom: 14px;
}
.pricing-row .row { margin-bottom: 12px; }

/* ============================================================
   CYBER-LUXURY MEGA UI (R10 Standard v3.5)
   ============================================================ */

.kpi-banner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.kpi-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

@media (max-width: 540px) {
  .kpi-cards { grid-template-columns: 1fr; }
}

.kpi-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  border-radius: 12px;
  padding: 14px 16px;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
}

.kpi-card:hover {
  transform: translateY(-2px);
  border-color: rgba(245, 158, 11, 0.3);
}

.kpi-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, #f59e0b, #10b981);
}

.kpi-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--muted);
  margin-bottom: 4px;
}

.kpi-val {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 700;
  color: #f8fafc;
}

.kpi-sub {
  font-size: 12px;
  font-weight: 400;
  color: var(--muted-dim);
}

/* 🚀 VİRAL ROKET BUTTON */
.btn-viral-rocket {
  width: 100%;
  background: linear-gradient(135deg, #f59e0b, #d97706, #ef4444);
  color: #ffffff;
  border: none;
  border-radius: 14px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  cursor: pointer;
  box-shadow: 0 6px 25px rgba(245, 158, 11, 0.35), 0 0 20px rgba(239, 68, 68, 0.2);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-viral-rocket::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%; width: 200%; height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: rotate(30deg);
  animation: shine-sweep 4s infinite;
}

@keyframes shine-sweep {
  0% { transform: translateX(-100%) rotate(30deg); }
  20%, 100% { transform: translateX(100%) rotate(30deg); }
}

.btn-viral-rocket:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 10px 35px rgba(245, 158, 11, 0.5), 0 0 30px rgba(239, 68, 68, 0.35);
}

.rocket-icon {
  font-size: 26px;
  animation: rocket-bounce 1.8s ease-in-out infinite alternate;
}

@keyframes rocket-bounce {
  from { transform: translateY(0px) rotate(0deg); }
  to { transform: translateY(-4px) rotate(8deg); }
}

.rocket-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.rocket-text strong {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.rocket-text small {
  font-size: 11px;
  opacity: 0.9;
  font-weight: 500;
}

/* 🛡️ 7-GÜNLÜK WARMUP ROZETİ */
.warmup-badge-container {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 20px;
  padding: 4px 10px;
  margin-top: 6px;
  cursor: help;
  transition: border-color 0.2s;
}

.warmup-badge-container:hover {
  border-color: rgba(16, 185, 129, 0.5);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.15);
}

.warmup-ring {
  flex-shrink: 0;
  transform: rotate(-90deg);
}

.warmup-text {
  font-size: 11px;
  color: #34d399;
}

.warmup-text strong {
  color: #10b981;
}

/* 🚀 VİRAL ROKET CANLI MODAL */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(4, 7, 13, 0.85);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-cyber {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(245, 158, 11, 0.15);
  border-radius: 16px;
  width: 100%;
  max-width: 540px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 24px;
  position: relative;
}

.modal-cyber h3 {
  margin: 0 0 6px 0;
  font-size: 20px;
  color: #f8fafc;
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-close-btn {
  position: absolute;
  top: 18px; right: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #94a3b8;
  font-size: 18px;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.progress-container {
  margin: 16px 0;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
}

.progress-bar-bg {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  margin-top: 8px;
}

.progress-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f59e0b, #10b981);
  transition: width 0.3s ease;
}

