/* ==========================================================================
   Cyrix — Design Tokens
   ========================================================================== */
:root {
  --bg: #05060b;
  --bg-alt: #090b14;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text-primary: #f3f5fa;
  --text-secondary: #9aa4bd;
  --text-tertiary: #636d87;

  --blue: #3b82f6;
  --blue-bright: #5b9dff;
  --cyan: #22d3ee;
  --silver: #c9d3e8;

  --grad-accent: linear-gradient(135deg, #ffffff 0%, #8fb1ec 45%, #3b6fd6 100%);
  --grad-text: linear-gradient(120deg, #ffffff 0%, #bcd2ff 40%, #4f8dff 75%, #22d3ee 100%);

  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.35);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
/* Herhangi bir class'ın kendi "display" değeri, JS'in hidden attribute'uyla
   gizlediği elemanları tekrar görünür kılmasın (örn. display:flex tanımlayan
   bir bileşen hem de [hidden] taşıyorsa, bu olmadan flex kazanır). */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text-primary);
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input { font: inherit; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

::selection { background: var(--blue); color: #fff; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1c2333; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #2a3450; }

/* ==========================================================================
   Background canvas + noise
   ========================================================================== */
#bg-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   Typography helpers
   ========================================================================== */
.eyebrow {
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--blue-bright);
  margin-bottom: 14px;
}

.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-secondary);
  font-size: 17px;
  max-width: 620px;
}

.section-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 56px;
}
.section-head .section-subtitle { margin: 0 auto; }

.section { position: relative; z-index: 2; padding: 110px 0; }

/* ==========================================================================
   Logo mark
   ========================================================================== */
.c-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(59, 130, 246, 0.3));
}

.brand-mark { width: 32px; height: 32px; flex-shrink: 0; }
.c-logo-hero { width: 100%; height: 100%; }
.c-logo-cta { width: 64px; height: 64px; margin: 0 auto 28px; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}
.btn-icon { width: 18px; height: 18px; }

.btn-sm { padding: 9px 18px; font-size: 13.5px; border-radius: 9px; }
.btn-lg { padding: 16px 30px; font-size: 16px; border-radius: 13px; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-bright), #2563eb);
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(59, 130, 246, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 30px -6px rgba(59, 130, 246, 0.8); }

.btn-outline {
  background: var(--surface);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
}
.btn-outline:hover { background: var(--surface-strong); border-color: rgba(91, 157, 255, 0.5); transform: translateY(-2px); }

.btn-ghost {
  color: var(--text-secondary);
  border: 1px solid transparent;
}
.btn-ghost:hover { color: var(--text-primary); border-color: var(--border); }

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: padding 0.3s var(--ease), background 0.3s var(--ease), border-color 0.3s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  padding: 12px 0;
  background: rgba(5, 6, 11, 0.75);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}

.navbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-name {
  font-family: 'Orbitron', sans-serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.06em;
  background: var(--grad-accent);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--blue-bright), var(--cyan));
  transition: width 0.25s var(--ease);
  border-radius: 2px;
}
.nav-link:hover, .nav-link.active { color: var(--text-primary); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.3);
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: 4px;
  vertical-align: middle;
}

.navbar-actions { display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
  padding: 4px;
}
.menu-toggle span { width: 100%; height: 2px; background: var(--text-primary); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 24px 100px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  z-index: -1;
}
.hero-glow-1 { width: 620px; height: 620px; top: -220px; left: 50%; transform: translateX(-60%); background: radial-gradient(circle, rgba(59,130,246,0.35), transparent 70%); }
.hero-glow-2 { width: 480px; height: 480px; bottom: -260px; right: 8%; background: radial-gradient(circle, rgba(34,211,238,0.22), transparent 70%); }
.hero-glow-3 { width: 560px; height: 560px; top: 50%; left: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(59,130,246,0.3), transparent 70%); }

.hero-inner { display: flex; flex-direction: column; align-items: center; max-width: 780px; margin: 0 auto; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
  backdrop-filter: blur(10px);
  margin-bottom: 32px;
}
.dot-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.hero-logo { width: 92px; height: 92px; margin-bottom: 28px; animation: float 5s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-title {
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 40px;
}
.hero-subtitle strong { color: var(--text-primary); font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

.hero-microcopy {
  margin-top: 22px;
  font-size: 14.5px;
  color: var(--text-tertiary);
  font-style: italic;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 56px;
  padding: 22px 36px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
  flex-wrap: wrap;
  justify-content: center;
}
.hero-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; min-width: 64px; }
.hero-stat-num, .hero-stat-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-stat-label { font-size: 12px; color: var(--text-tertiary); letter-spacing: 0.03em; }
.hero-stat-sep { width: 1px; height: 32px; background: var(--border); }

.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--text-tertiary);
}

.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 42px;
  border: 2px solid var(--border-strong);
  border-radius: 20px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-indicator span {
  width: 4px; height: 8px;
  border-radius: 2px;
  background: var(--blue-bright);
  animation: scrollDown 1.8s infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ==========================================================================
   Coming soon (Dashboard)
   ========================================================================== */
.coming-soon { padding-bottom: 120px; }
.coming-soon .hero-inner { max-width: 940px; }

.coming-soon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 56px;
  width: 100%;
}
.coming-soon-card {
  padding: 26px 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: left;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.coming-soon-card:hover {
  transform: translateY(-4px);
  border-color: rgba(91, 157, 255, 0.35);
  background: var(--surface-strong);
}
.coming-soon-card .feature-icon { margin-bottom: 16px; }
.coming-soon-card .feature-title { font-size: 16px; margin-bottom: 8px; }
.coming-soon-card .feature-desc { font-size: 13.5px; margin-bottom: 0; }

@media (max-width: 900px) {
  .coming-soon-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .coming-soon-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Dashboard app (login / sunucu listesi / ayar formu)
   ========================================================================== */
.dash-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 120px 0;
  color: var(--text-tertiary);
  font-size: 14px;
}
.spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--blue-bright);
  animation: dashSpin 0.8s linear infinite;
}
@keyframes dashSpin { to { transform: rotate(360deg); } }

.dash-panel { width: 100%; max-width: 640px; text-align: left; margin: 0 auto; }

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 40px;
}
.user-chip { display: flex; align-items: center; gap: 12px; }
.user-chip img {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
}
.user-chip-name { font-size: 14.5px; font-weight: 600; }
.user-chip-hint { font-size: 12px; color: var(--text-tertiary); }

.dash-title { font-size: clamp(24px, 3.5vw, 32px); font-weight: 700; letter-spacing: -0.01em; margin-bottom: 8px; }
.dash-subtitle { color: var(--text-secondary); font-size: 14.5px; margin-bottom: 32px; }

.guild-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; width: 100%; }
.guild-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: left;
  cursor: pointer;
  transition: transform 0.2s var(--ease), border-color 0.2s var(--ease), background 0.2s var(--ease);
  width: 100%;
  color: inherit;
}
.guild-card:hover { transform: translateY(-3px); border-color: rgba(91, 157, 255, 0.4); background: var(--surface-strong); }
.guild-card.is-disabled { opacity: 0.55; cursor: default; }
.guild-card.is-disabled:hover { transform: none; border-color: var(--border); background: var(--surface); }
.guild-card img, .guild-fallback-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  flex-shrink: 0;
  object-fit: cover;
}
.guild-fallback-icon {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #fff;
}
.guild-card-info { min-width: 0; flex: 1; }
.guild-card-name {
  font-weight: 600;
  font-size: 14.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.guild-card-status { font-size: 12px; color: var(--text-tertiary); margin-top: 2px; }
.guild-card-status.is-missing { color: #f0a868; }
.guild-card-invite {
  font-size: 12px;
  color: var(--blue-bright);
  font-weight: 600;
  flex-shrink: 0;
}

.dash-form { display: flex; flex-direction: column; gap: 22px; width: 100%; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label { font-size: 13.5px; font-weight: 600; color: var(--text-primary); }
.form-hint { font-size: 12px; color: var(--text-tertiary); }
.form-input, .form-textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text-primary);
  font: inherit;
  font-size: 14.5px;
  width: 100%;
  transition: border-color 0.2s;
}
.form-input:focus, .form-textarea:focus { outline: none; border-color: rgba(91, 157, 255, 0.5); }
.form-textarea { resize: vertical; min-height: 76px; line-height: 1.5; }

.form-row-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}
.toggle { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
.toggle input { position: absolute; inset: 0; opacity: 0; cursor: pointer; z-index: 2; margin: 0; }
.toggle-track { position: absolute; inset: 0; background: var(--border-strong); border-radius: 999px; transition: background 0.2s; }
.toggle-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s var(--ease);
}
.toggle input:checked ~ .toggle-track { background: linear-gradient(135deg, var(--blue-bright), #2563eb); }
.toggle input:checked ~ .toggle-thumb { transform: translateX(20px); }

.alert {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  margin-bottom: 24px;
}
.alert-error { background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.3); color: #fca5a5; }
.alert-success { background: rgba(52, 211, 153, 0.1); border: 1px solid rgba(52, 211, 153, 0.3); color: #6ee7b7; }

@media (max-width: 620px) {
  .guild-grid { grid-template-columns: 1fr; }
  .dash-topbar { flex-direction: column; align-items: flex-start; gap: 14px; }
}

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.hero .reveal { transition-delay: calc(var(--d, 0) * 90ms); }
.hero-badge { --d: 0; }
.hero-logo { --d: 1; }
.eyebrow.reveal { --d: 2; }
.hero-title { --d: 2; }
.hero-subtitle { --d: 3; }
.hero-actions { --d: 4; }
.hero-microcopy { --d: 5; }
.hero-stats { --d: 6; }
.scroll-indicator { --d: 7; }

/* ==========================================================================
   Features
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  position: relative;
  padding: 30px 26px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), background 0.3s var(--ease);
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0%), rgba(91, 157, 255, 0.12), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.feature-card:hover { transform: translateY(-6px); border-color: rgba(91, 157, 255, 0.4); background: var(--surface-strong); }
.feature-card:hover::before { opacity: 1; }

.feature-icon {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(59,130,246,0.25), rgba(34,211,238,0.12));
  border: 1px solid rgba(91, 157, 255, 0.25);
  margin-bottom: 20px;
}
.feature-title { font-size: 18.5px; font-weight: 600; margin-bottom: 10px; }
.feature-desc { color: var(--text-secondary); font-size: 14.5px; margin-bottom: 18px; }
.feature-count {
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
}

/* ==========================================================================
   Stats panel
   ========================================================================== */
.stats-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 54px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(59,130,246,0.08), rgba(255,255,255,0.02));
  border: 1px solid var(--border);
  backdrop-filter: blur(14px);
}
.stats-panel .eyebrow { margin-bottom: 12px; }
.stats-panel .section-title { margin-bottom: 12px; }

.stats-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.stat-card {
  padding: 22px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}
.stat-num, .stat-text {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 30px;
  font-weight: 700;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 6px;
}
.stat-label { font-size: 12.5px; color: var(--text-tertiary); }

/* ==========================================================================
   Commands
   ========================================================================== */
.commands-toolbar {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 40px;
}

.search-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  transition: border-color 0.2s;
}
.search-box:focus-within { border-color: rgba(91, 157, 255, 0.5); }
.search-box svg { width: 18px; height: 18px; color: var(--text-tertiary); flex-shrink: 0; }
.search-box input { background: none; border: none; outline: none; color: var(--text-primary); width: 100%; font-size: 14.5px; }
.search-box input::placeholder { color: var(--text-tertiary); }

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.tab-btn {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.2s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.tab-btn:hover { color: var(--text-primary); border-color: var(--border-strong); }
.tab-btn.active {
  color: #fff;
  background: linear-gradient(135deg, var(--blue-bright), #2563eb);
  border-color: transparent;
  box-shadow: 0 6px 16px -4px rgba(59, 130, 246, 0.6);
}
.tab-count { opacity: 0.7; font-size: 11.5px; }

.commands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.command-card {
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease);
}
.command-card:hover { transform: translateY(-3px); border-color: rgba(91, 157, 255, 0.35); background: var(--surface-strong); }

.command-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.command-icon { font-size: 16px; }
.command-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.command-name::before { content: '/'; color: var(--blue-bright); margin-right: 1px; }
.command-desc { font-size: 13.5px; color: var(--text-secondary); line-height: 1.55; }
.command-cat-tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

.commands-empty { text-align: center; color: var(--text-tertiary); padding: 40px 0; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: var(--radius-sm);
  padding: 18px 22px;
  transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(91, 157, 255, 0.3); }
.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 15.5px;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 20px;
  color: var(--blue-bright);
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
  margin-left: 12px;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 14px; color: var(--text-secondary); font-size: 14.5px; }

/* ==========================================================================
   Legal pages (Gizlilik Politikası / Hizmet Şartları)
   ========================================================================== */
.legal-hero {
  position: relative;
  z-index: 2;
  padding: 160px 24px 40px;
  text-align: center;
}
.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  font-size: 14px;
  margin-bottom: 24px;
  transition: color 0.2s;
}
.legal-back:hover { color: var(--text-primary); }
.legal-title { font-size: clamp(28px, 4vw, 42px); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.legal-updated { color: var(--text-tertiary); font-size: 14px; }

.legal-body { padding: 20px 0 100px; }
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  color: var(--text-secondary);
  font-size: 15.5px;
}
.legal-content h2 {
  color: var(--text-primary);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 44px 0 14px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 16px; line-height: 1.75; }
.legal-content ul { margin: 0 0 16px 22px; }
.legal-content li { margin-bottom: 9px; line-height: 1.7; }
.legal-content strong { color: var(--text-primary); font-weight: 600; }
.legal-content a { color: var(--blue-bright); text-underline-offset: 3px; }
.legal-content a:hover { color: var(--cyan); }
.legal-content code {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 5px;
  font-size: 0.9em;
}
.legal-divider { border: none; border-top: 1px solid var(--border); margin: 48px 0; }

/* ==========================================================================
   CTA banner
   ========================================================================== */
.cta-banner {
  position: relative;
  z-index: 2;
  padding: 120px 24px;
  text-align: center;
  overflow: hidden;
}
.cta-inner { position: relative; max-width: 640px; margin: 0 auto; }
.cta-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 36px;
  line-height: 1.3;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border);
  padding: 64px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}
.footer-brand p { color: var(--text-tertiary); font-size: 14px; margin-top: 16px; max-width: 320px; }
.footer-live {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-secondary);
}
.footer-live strong { color: var(--text-primary); font-weight: 600; }
.footer-links h4 { font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-tertiary); margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; }
.footer-links a { color: var(--text-secondary); font-size: 14.5px; padding: 6px 0; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-tertiary);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .navbar-actions .btn-ghost { display: none; }

  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .commands-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-panel { grid-template-columns: 1fr; text-align: center; }
  .stats-panel .section-subtitle { margin: 0 auto; }
  .stats-panel-text .live-indicator { justify-content: center; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 16px;
    right: 16px;
    background: rgba(9, 11, 20, 0.97);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    gap: 4px;
    backdrop-filter: blur(20px);
  }
  .nav-links.mobile-open .nav-link { padding: 12px 8px; width: 100%; }
}

@media (max-width: 620px) {
  .features-grid { grid-template-columns: 1fr; }
  .commands-grid { grid-template-columns: 1fr; }
  .stats-numbers { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 18px; padding: 20px; }
  .hero-stat-sep { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .section { padding: 80px 0; }
  .hero { padding-top: 130px; }
}
