/* ==========================================================
   BİLGE V1 - DEVELOPER-GRADE MINIMALIST LLM DESIGN SYSTEM
   Inspired by Mistral AI, Anthropic, GitHub AI & LLM Turkey
   ========================================================== */

:root {
  --bg-black: #000000;
  --bg-surface: #07090e;
  --bg-surface-elevated: #0d111a;
  --border-subtle: #181f2e;
  --border-hover: #2d3748;
  --border-accent: #3b82f6;
  --text-primary: #ffffff;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-blue: #3b82f6;
  --accent-cyan: #06b6d4;
  --accent-indigo: #6366f1;
  --accent-emerald: #10b981;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-black);
}

body {
  background-color: var(--bg-black);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  line-height: 1.55;
}

/* ================= TOP NAVBAR ================= */
.dev-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.dev-navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.dev-brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #f97316;
  box-shadow: 0 0 10px #f97316;
}

.dev-brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #ffffff;
}

.dev-brand-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  background: #111827;
  color: #94a3b8;
  border: 1px solid #1f2937;
}

.dev-nav-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.dev-nav-menu a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 500;
  transition: color 0.2s ease;
}

.dev-nav-menu a:hover {
  color: #ffffff;
}

.dev-btn-sm {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 8px;
  background: #ffffff;
  color: #000000;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dev-btn-sm:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}

.dev-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dev-btn-ghost:hover {
  color: #ffffff;
  border-color: var(--border-hover);
  background: rgba(255, 255, 255, 0.03);
}

/* ================= HERO SECTION (FULL VIEWPORT FIRST FOLD) ================= */
.dev-hero {
  min-height: 100vh;
  max-width: 1140px;
  margin: 0 auto;
  padding: 100px 24px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
}

.dev-hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto 0;
  width: 100%;
}

.dev-hero-title {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 900;
  letter-spacing: -2px;
  line-height: 1.04;
  color: #ffffff;
  margin-bottom: 22px;
}

.dev-hero-desc {
  max-width: 740px;
  font-size: clamp(15px, 2vw, 19px);
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 38px;
}

.dev-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  width: 100%;
}

.dev-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 10px;
  background: #ffffff;
  color: #000000;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dev-btn-primary:hover {
  background: #f1f5f9;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15);
}

.dev-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  background: #0a0e17;
  border: 1px solid var(--border-subtle);
  color: #f1f5f9;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.dev-btn-secondary:hover {
  background: #111827;
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

/* ================= TURKISH FLAG TEXT (HERO BOTTOM) ================= */
.hero-bottom-text {
  margin-top: auto;
  padding-top: 32px;
  padding-bottom: 12px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 18px;
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: clamp(40px, 6.4vw, 76px);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1;
  text-align: center;
}

.turkish-flag-word {
  display: inline-block;
  font-weight: 900;
  background-image: url('../sanli_bayrak.svg'), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 -30000 90000 60000'%3E%3Cpath fill='%23e30a17' d='m0-30000h90000v60000H0z'/%3E%3Cpath fill='%23fff' d='m41750 0 13568-4408-8386 11541V-7133l8386 11541zm925 8021a15000 15000 0 1 1 0-16042 12000 12000 0 1 0 0 16042z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 4% 50%;
  background-size: 155% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  padding-right: 2px;
}

.white-word {
  color: #ffffff;
  font-weight: 900;
}

/* ================= SECTION STRUCTURE ================= */
.dev-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 70px 24px;
}

.dev-section-title-wrap {
  margin-bottom: 36px;
}

.dev-section-tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #38bdf8;
  letter-spacing: 1.5px;
  margin-bottom: 6px;
}

.dev-section-heading {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.8px;
  color: #ffffff;
}

.dev-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
}

.dev-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px;
  transition: all 0.2s ease;
}

.dev-box:hover {
  border-color: var(--border-hover);
  background: var(--bg-surface-elevated);
}

.dev-box-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.dev-box-lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}

.dev-box-val {
  font-family: 'Outfit', sans-serif;
  font-size: 34px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 4px;
}

.dev-box-sub {
  font-size: 12px;
  color: #38bdf8;
  font-weight: 500;
}

/* ================= PLAYGROUND & SDK CODE TABS ================= */
.dev-console {
  background: #05070c;
  border: 1px solid #182030;
  border-radius: 16px;
  overflow: hidden;
}

.dev-console-tabs {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #182030;
  background: #080c14;
  padding: 0 16px;
}

.dev-tab-group {
  display: flex;
  gap: 4px;
}

.dev-tab-btn {
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-secondary);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dev-tab-btn.active {
  color: #ffffff;
  border-bottom-color: #38bdf8;
  background: rgba(255, 255, 255, 0.02);
}

.dev-tab-btn:hover {
  color: #ffffff;
}

.dev-console-body {
  padding: 24px;
}

/* ================= DEVELOPER FOOTER ================= */
.dev-footer {
  background: #000000;
  border-top: 1px solid var(--border-subtle);
  padding: 70px 24px 40px;
  color: var(--text-secondary);
  font-size: 13px;
}

.dev-footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.dev-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
  gap: 40px;
  margin-bottom: 50px;
}

@media (max-width: 900px) {
  .dev-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

.dev-foot-brand-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
}

.dev-foot-brand-desc {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 320px;
  line-height: 1.6;
}

.dev-foot-col-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #64748b;
  margin-bottom: 18px;
}

.dev-foot-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dev-foot-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s ease;
}

.dev-foot-links a:hover {
  color: #ffffff;
}

.dev-foot-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: #475569;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.dev-foot-bottom a {
  color: #64748b;
  text-decoration: none;
}

.dev-foot-bottom a:hover {
  color: #94a3b8;
}

@media (max-width: 768px) {
  .dev-nav-menu {
    display: none;
  }
  .dev-hero {
    padding-top: 90px;
  }
}

/* ================= ADMIN DASHBOARD & COMPONENTS ================= */
.glass-panel {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-card {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.2s ease-in-out;
}

.glass-card:hover {
  background: rgba(30, 41, 59, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

/* Badges */
.badge-ready {
  background-color: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-waiting {
  background-color: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-reject {
  background-color: rgba(244, 63, 94, 0.15);
  color: #fb7185;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

/* Pulse animation for active status */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7);
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(52, 211, 153, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* ================= TABLES ================= */
.custom-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.custom-table th {
  padding: 12px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(15, 23, 42, 0.4);
  white-space: nowrap;
}

.custom-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  color: #cbd5e1;
  font-size: 13px;
  vertical-align: middle;
}

.custom-table tbody tr {
  transition: background-color 0.15s ease;
}

.custom-table tbody tr:hover {
  background: rgba(255, 255, 255, 0.02);
}

.custom-table tbody tr:last-child td {
  border-bottom: none;
}