/* ═══════════════════════════════════════════════════
   CEO Gibi Düşün — main.css
   ═══════════════════════════════════════════════════ */

:root {
  --gold:        #C9A84C;
  --gold-light:  #F0D98A;
  --gold-dark:   #8B6914;
  --ink:         #0D0D0D;
  --ink-soft:    #1A1A1A;
  --ink-mid:     #252218;
  --surface:     #F7F4EE;
  --surface-alt: #EDE9DE;
  --border:      rgba(201,168,76,0.22);
  --border-md:   rgba(201,168,76,0.4);
  --border-hi:   rgba(201,168,76,0.65);
  --muted:       #7A7060;
  --green:       #3A9B6F;
  --red:         #C0392B;
  --radius:      14px;
  --radius-sm:   8px;
  --radius-xs:   6px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--ink);
  color: var(--surface);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── RTL support ── */
[dir="rtl"] { font-family: 'DM Sans', 'Noto Sans Arabic', sans-serif; }

/* ────────────────────────────────────────────
   LAYOUT
──────────────────────────────────────────── */
.cgd-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ────────────────────────────────────────────
   HERO
──────────────────────────────────────────── */
.cgd-hero {
  background: var(--ink-mid);
  border-bottom: 1px solid var(--border);
  padding: 80px 20px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cgd-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -20%, rgba(201,168,76,0.1) 0%, transparent 65%);
  pointer-events: none;
}

.cgd-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--border-md);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 28px;
}

.cgd-hero__badge-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  animation: cgd-pulse 2s infinite;
}

@keyframes cgd-pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

.cgd-hero__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #F0D98A 0%, #C9A84C 45%, #F0D98A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cgd-hero__sub {
  font-size: 18px;
  color: rgba(247,244,238,0.6);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.7;
  font-weight: 300;
}

.cgd-hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ────────────────────────────────────────────
   LANGUAGE SWITCHER
──────────────────────────────────────────── */
.cgd-lang-bar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 4px;
  padding: 10px 20px;
  background: rgba(255,255,255,0.02);
  border-bottom: 1px solid var(--border);
}

.cgd-lang-btn {
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-xs);
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.18s;
  font-family: 'DM Sans', sans-serif;
}

.cgd-lang-btn:hover { color: var(--gold-light); border-color: var(--border); }
.cgd-lang-btn.active { color: var(--gold-light); border-color: var(--border-md); background: rgba(201,168,76,0.08); }

/* ────────────────────────────────────────────
   BUTTONS
──────────────────────────────────────────── */
.cgd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: var(--radius-sm);
  padding: 13px 26px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: opacity 0.18s, transform 0.1s;
  white-space: nowrap;
  text-decoration: none;
}

.cgd-btn:active { transform: scale(0.97); }

.cgd-btn--gold {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 100%);
  color: #0D0D0D;
}

.cgd-btn--gold:hover { opacity: 0.86; }

.cgd-btn--outline {
  background: transparent;
  border: 1px solid var(--border-md);
  color: var(--gold-light);
}

.cgd-btn--outline:hover { background: rgba(201,168,76,0.08); border-color: var(--border-hi); }

.cgd-btn--ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--surface);
}

.cgd-btn--ghost:hover { background: rgba(255,255,255,0.05); }

.cgd-btn--linkedin {
  background: #0A66C2;
  color: #fff;
  border: none;
}

.cgd-btn--linkedin:hover { opacity: 0.9; }

.cgd-btn--sm { padding: 9px 18px; font-size: 13px; }
.cgd-btn--full { width: 100%; }
.cgd-btn--icon { padding: 10px; }
.cgd-btn:disabled { opacity: 0.45; pointer-events: none; }

/* ────────────────────────────────────────────
   CARDS
──────────────────────────────────────────── */
.cgd-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 28px;
  margin-bottom: 20px;
}

.cgd-card--elevated {
  background: rgba(255,255,255,0.05);
  border-color: var(--border-md);
}

.cgd-card__title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 600;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.cgd-card__sub {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ────────────────────────────────────────────
   AUTH FORM
──────────────────────────────────────────── */
.cgd-auth {
  max-width: 440px;
  margin: 60px auto;
  padding: 0 20px;
}

.cgd-auth__logo {
  text-align: center;
  margin-bottom: 32px;
}

.cgd-auth__logo-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  background: linear-gradient(135deg, #F0D98A, #C9A84C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cgd-form__group {
  margin-bottom: 16px;
}

.cgd-form__label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 7px;
}

.cgd-form__input {
  width: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--surface);
  outline: none;
  transition: border-color 0.18s;
}

.cgd-form__input:focus { border-color: var(--gold); }
.cgd-form__input::placeholder { color: var(--muted); }

.cgd-form__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--muted);
  font-size: 12px;
}

.cgd-form__divider::before,
.cgd-form__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.cgd-form__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: 16px 0;
}

.cgd-form__consent input[type="checkbox"] {
  margin-top: 2px;
  accent-color: var(--gold);
  flex-shrink: 0;
}

.cgd-form__error {
  background: rgba(192,57,43,0.1);
  border: 1px solid rgba(192,57,43,0.3);
  border-radius: var(--radius-xs);
  padding: 10px 14px;
  font-size: 13px;
  color: #F4A49A;
  margin-bottom: 16px;
  display: none;
}

.cgd-form__error.visible { display: block; }

/* ────────────────────────────────────────────
   LEVEL SELECT
──────────────────────────────────────────── */
.cgd-levels {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.cgd-level {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 14px;
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s, transform 0.1s;
  text-align: center;
  position: relative;
}

.cgd-level:hover { border-color: var(--gold); background: rgba(201,168,76,0.06); }
.cgd-level:active { transform: scale(0.98); }

.cgd-level.selected {
  border-color: var(--gold);
  background: rgba(201,168,76,0.12);
}

.cgd-level.selected::after {
  content: '✓';
  position: absolute;
  top: 7px; right: 10px;
  font-size: 11px;
  color: var(--gold);
  font-weight: 700;
}

.cgd-level__num {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 5px;
  line-height: 1;
}

.cgd-level__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--surface);
  margin-bottom: 3px;
}

.cgd-level__diff {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cgd-level--bonus .cgd-level__num { font-size: 22px; color: var(--gold-light); }
.cgd-level--bonus { border-color: rgba(240,217,138,0.28); }
.cgd-level--bonus:hover,
.cgd-level--bonus.selected { border-color: var(--gold-light); }

/* ────────────────────────────────────────────
   SIMULATOR LAYOUT
──────────────────────────────────────────── */
.cgd-sim {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 40px 0 80px;
}

.cgd-scenario-box {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(247,244,238,0.8);
  white-space: pre-wrap;
}

/* ────────────────────────────────────────────
   FINANCIAL TABLE
──────────────────────────────────────────── */
.cgd-fin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.cgd-fin-table th {
  text-align: left;
  padding: 9px 12px;
  border-bottom: 1px solid var(--border-md);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.cgd-fin-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border);
  color: rgba(247,244,238,0.75);
}

.cgd-fin-table tr:last-child td { border-bottom: none; }
.fin-pos { color: #5DBF8E; font-weight: 600; }
.fin-neg { color: #E07575; font-weight: 600; }

/* ────────────────────────────────────────────
   CHAT
──────────────────────────────────────────── */
.cgd-chat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 4px;
  scroll-behavior: smooth;
}

.cgd-chat::-webkit-scrollbar { width: 3px; }
.cgd-chat::-webkit-scrollbar-thumb { background: var(--border-md); border-radius: 2px; }

.cgd-msg { display: flex; gap: 10px; align-items: flex-start; }

.cgd-msg__avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600;
  flex-shrink: 0;
}

.cgd-msg__avatar--ai {
  background: rgba(201,168,76,0.12);
  border: 1px solid var(--border-md);
  color: var(--gold);
}

.cgd-msg__avatar--user {
  background: rgba(247,244,238,0.08);
  border: 1px solid var(--border);
  color: var(--surface);
}

.cgd-msg__bubble {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(247,244,238,0.82);
  flex: 1;
}

.cgd-msg--user .cgd-msg__bubble {
  background: rgba(201,168,76,0.07);
  border-color: var(--border-md);
}

.cgd-msg__bubble strong { color: var(--gold-light); }

.cgd-chat-input-row {
  display: flex;
  gap: 10px;
  align-items: flex-end;
  margin-top: 14px;
}

.cgd-chat-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-sm);
  padding: 11px 15px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--surface);
  outline: none;
  resize: none;
  min-height: 44px;
  max-height: 110px;
  transition: border-color 0.18s;
  line-height: 1.6;
}

.cgd-chat-input:focus { border-color: var(--gold); }
.cgd-chat-input::placeholder { color: var(--muted); }

.cgd-send-btn {
  width: 44px; height: 44px;
  background: var(--gold);
  border: none;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: opacity 0.18s, transform 0.1s;
}

.cgd-send-btn:hover { opacity: 0.82; }
.cgd-send-btn:active { transform: scale(0.96); }
.cgd-send-btn svg { width: 17px; height: 17px; fill: #0D0D0D; }

/* ────────────────────────────────────────────
   DOTS LOADING
──────────────────────────────────────────── */
.cgd-dots span {
  display: inline-block;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  margin: 0 2px;
  animation: cgd-bounce 1.2s infinite;
}
.cgd-dots span:nth-child(2) { animation-delay: .2s; }
.cgd-dots span:nth-child(3) { animation-delay: .4s; }
@keyframes cgd-bounce { 0%,80%,100%{transform:translateY(0)} 40%{transform:translateY(-6px)} }

/* ────────────────────────────────────────────
   SCORE CARDS
──────────────────────────────────────────── */
.cgd-score-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
  margin: 20px 0;
}

.cgd-score-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 14px;
  text-align: center;
}

.cgd-score-card__num {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}

.cgd-score-card__lbl {
  font-size: 11px;
  color: var(--muted);
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ────────────────────────────────────────────
   KARNE
──────────────────────────────────────────── */
.cgd-karne-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.cgd-karne-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 2px solid var(--border-md);
  background: rgba(201,168,76,0.1);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-light);
  overflow: hidden;
}

.cgd-karne-avatar img { width: 100%; height: 100%; object-fit: cover; }

.cgd-history-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  gap: 10px;
  flex-wrap: wrap;
}

.cgd-history-row:last-child { border-bottom: none; }

.cgd-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  background: rgba(201,168,76,0.1);
  color: var(--gold-light);
  border: 1px solid var(--border);
}

.cgd-badge--cert {
  background: rgba(58,155,111,0.12);
  color: #7DD9AA;
  border-color: rgba(58,155,111,0.3);
}

/* ────────────────────────────────────────────
   CERTIFICATE
──────────────────────────────────────────── */
.cgd-cert-wrapper {
  max-width: 680px;
  margin: 0 auto;
  padding: 20px;
}

.cgd-cert {
  background: linear-gradient(145deg, #1A1208 0%, #0D0D0D 50%, #1A1208 100%);
  border: 2px solid var(--gold);
  border-radius: 20px;
  padding: 60px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cgd-cert::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid var(--border-md);
  border-radius: 14px;
  pointer-events: none;
}

.cgd-cert__badge-img {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
}

.cgd-cert__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.cgd-cert__title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: 700;
  background: linear-gradient(135deg, #F0D98A, #C9A84C, #F0D98A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
  line-height: 1.2;
}

.cgd-cert__name {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 600;
  color: var(--surface);
  margin-bottom: 24px;
}

.cgd-cert__desc {
  font-size: 14px;
  color: rgba(247,244,238,0.6);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto 32px;
}

.cgd-cert__meta {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.cgd-cert__meta-item label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
}

.cgd-cert__meta-item span {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: var(--gold-light);
  font-weight: 600;
}

.cgd-cert__code {
  margin-top: 28px;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  font-family: 'Courier New', monospace;
}

/* ────────────────────────────────────────────
   TABS
──────────────────────────────────────────── */
.cgd-tabs {
  display: flex;
  gap: 4px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.cgd-tab {
  flex: 1;
  min-width: 100px;
  padding: 9px 14px;
  border: none;
  background: transparent;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.18s, color 0.18s;
  text-align: center;
}

.cgd-tab.active {
  background: rgba(201,168,76,0.14);
  color: var(--gold-light);
  border: 1px solid var(--border-md);
}

/* ────────────────────────────────────────────
   STATS BAR
──────────────────────────────────────────── */
.cgd-stats-bar {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 32px 0 0;
  border-top: 1px solid var(--border);
}

.cgd-stat__val {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--gold-light);
  text-align: center;
}

.cgd-stat__lbl {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-align: center;
  margin-top: 3px;
}

/* ────────────────────────────────────────────
   RATING SLIDERS
──────────────────────────────────────────── */
.cgd-rating-row {
  margin-bottom: 20px;
}

.cgd-rating-row label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
}

.cgd-rating-row input[type="range"] {
  width: 100%;
  accent-color: var(--gold);
}

.cgd-rating-val {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--gold-light);
  margin-top: 4px;
}

/* ────────────────────────────────────────────
   ADMIN SETTINGS PAGE
──────────────────────────────────────────── */
.cgd-admin-wrap {
  max-width: 700px;
  padding: 32px;
  background: #fff;
}

.cgd-admin-section {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 20px;
}

.cgd-admin-section h3 {
  margin-bottom: 16px;
  font-size: 15px;
  color: #333;
}

/* ────────────────────────────────────────────
   LEADERBOARD
──────────────────────────────────────────── */
.cgd-lb-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}

.cgd-lb-row:last-child { border-bottom: none; }

.cgd-lb-rank {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--gold);
  min-width: 28px;
  text-align: center;
}

.cgd-lb-rank--1 { color: #FFD700; }
.cgd-lb-rank--2 { color: #C0C0C0; }
.cgd-lb-rank--3 { color: #CD7F32; }

/* ────────────────────────────────────────────
   RESPONSIVE
──────────────────────────────────────────── */
@media (max-width: 600px) {
  .cgd-hero { padding: 56px 16px 40px; }
  .cgd-card { padding: 18px 16px; }
  .cgd-cert { padding: 40px 24px; }
  .cgd-stats-bar { gap: 28px; }
  .cgd-chat { max-height: 320px; }
}

/* ────────────────────────────────────────────
   UTILITIES
──────────────────────────────────────────── */
.cgd-hidden { display: none !important; }
.cgd-flex { display: flex; }
.cgd-flex-between { display: flex; justify-content: space-between; align-items: center; }
.cgd-gap-2 { gap: 8px; }
.cgd-gap-3 { gap: 12px; }
.cgd-mt-2 { margin-top: 8px; }
.cgd-mt-3 { margin-top: 12px; }
.cgd-mt-4 { margin-top: 16px; }
.cgd-mt-6 { margin-top: 24px; }
.cgd-text-gold { color: var(--gold-light); }
.cgd-text-muted { color: var(--muted); font-size: 13px; }
.cgd-text-center { text-align: center; }
.cgd-divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }

/* ────────────────────────────────────────────
   HEADER
──────────────────────────────────────────── */
.cgd-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13,13,13,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: border-color 0.3s;
}

.cgd-header--scrolled { border-color: var(--border-md); }

.cgd-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.cgd-header__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  flex-shrink: 0;
}

.cgd-header__logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(135deg, #F0D98A, #C9A84C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cgd-header__logo-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: cgd-pulse 2s infinite;
}

.cgd-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
}

.cgd-nav__link {
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(247,244,238,0.65);
  text-decoration: none;
  border-radius: var(--radius-xs);
  transition: color 0.18s, background 0.18s;
}

.cgd-nav__link:hover { color: var(--surface); background: rgba(255,255,255,0.06); }
.cgd-nav__link--active { color: var(--gold-light); }

.cgd-nav__avatar-wrap {
  position: relative;
  margin-left: 8px;
}

.cgd-nav__avatar {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(201,168,76,0.15);
  border: 1px solid var(--border-md);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  color: var(--gold-light);
  cursor: pointer;
  overflow: hidden;
}

.cgd-nav__dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #1A1A1A;
  border: 1px solid var(--border-md);
  border-radius: var(--radius-sm);
  padding: 6px;
  min-width: 180px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

.cgd-nav__avatar-wrap:hover .cgd-nav__dropdown { display: block; }

.cgd-nav__dropdown-name {
  padding: 8px 14px 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-light);
  border-bottom: 1px solid var(--border);
  margin-bottom: 4px;
}

.cgd-nav__dropdown-item {
  display: block;
  padding: 7px 14px;
  font-size: 13px;
  color: rgba(247,244,238,0.75);
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.15s;
}

.cgd-nav__dropdown-item:hover { background: rgba(255,255,255,0.07); color: var(--surface); }

.cgd-header__right {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.cgd-lang-switcher {
  display: flex;
  gap: 2px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px;
}

.cgd-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.cgd-hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--surface);
  border-radius: 2px;
  transition: all 0.2s;
}

/* ── FOOTER ── */
.cgd-footer {
  background: #0A0A0A;
  border-top: 1px solid var(--border);
  padding: 60px 0 0;
  margin-top: 80px;
}

.cgd-footer__inner { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

.cgd-footer__top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.cgd-footer__logo {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, #F0D98A, #C9A84C);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.cgd-footer__tagline { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }

.cgd-footer__social { display: flex; gap: 8px; }

.cgd-footer__social-btn {
  width: 34px; height: 34px;
  border-radius: var(--radius-xs);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s, border-color 0.18s;
}

.cgd-footer__social-btn:hover { color: var(--gold-light); border-color: var(--border-md); }

.cgd-footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.cgd-footer__col-title {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 14px;
}

.cgd-footer__col a {
  display: block;
  font-size: 13px; color: var(--muted);
  text-decoration: none; margin-bottom: 8px;
  transition: color 0.18s;
}

.cgd-footer__col a:hover { color: var(--surface); }

.cgd-footer__newsletter {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.cgd-footer__nl-title { font-size: 16px; font-weight: 600; color: var(--gold-light); margin-bottom: 4px; }
.cgd-footer__nl-sub { font-size: 13px; color: var(--muted); line-height: 1.6; }

.cgd-footer__nl-form { display: flex; gap: 8px; flex-shrink: 0; flex-wrap: wrap; }

.cgd-footer__nl-input {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: var(--surface);
  outline: none;
  width: 240px;
}

.cgd-footer__nl-input:focus { border-color: var(--gold); }
.cgd-footer__nl-input::placeholder { color: var(--muted); }

.cgd-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 12px;
  color: var(--muted);
  flex-wrap: wrap;
  gap: 12px;
}

.cgd-footer__bottom a { color: var(--muted); text-decoration: none; }
.cgd-footer__bottom a:hover { color: var(--gold); }
.cgd-footer__bottom-links { display: flex; gap: 16px; }

/* ── BLOG ── */
.cgd-blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.cgd-blog-grid--main { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.cgd-blog-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}

.cgd-blog-card:hover { border-color: var(--border-md); transform: translateY(-2px); }

.cgd-blog-card__img-wrap { display: block; overflow: hidden; height: 200px; }
.cgd-blog-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
.cgd-blog-card:hover .cgd-blog-card__img { transform: scale(1.03); }

.cgd-blog-card__body { padding: 20px; }
.cgd-blog-card__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 10px; }
.cgd-blog-card__date { font-size: 11px; color: var(--muted); }
.cgd-blog-card__title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.cgd-blog-card__title a { color: var(--surface); text-decoration: none; }
.cgd-blog-card__title a:hover { color: var(--gold-light); }
.cgd-blog-card__excerpt { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 12px; }
.cgd-blog-card__read { font-size: 13px; color: var(--gold); text-decoration: none; font-weight: 500; }
.cgd-blog-card__read:hover { color: var(--gold-light); }

/* ── BLOG POST ── */
.cgd-wrap--narrow { max-width: 760px; }
.cgd-breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: 16px; }
.cgd-breadcrumb a { color: var(--muted); text-decoration: none; }
.cgd-breadcrumb a:hover { color: var(--gold); }
.cgd-post__title { font-family: 'Playfair Display', serif; font-size: clamp(26px, 4vw, 44px); font-weight: 700; color: var(--gold-light); line-height: 1.2; margin-bottom: 14px; }
.cgd-post__meta { display: flex; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 24px; flex-wrap: wrap; }
.cgd-post__featured { margin-bottom: 32px; border-radius: var(--radius); overflow: hidden; }
.cgd-post__img { width: 100%; height: auto; display: block; }

.cgd-prose { font-size: 16px; line-height: 1.85; color: rgba(247,244,238,0.82); }
.cgd-prose h2 { font-family: 'Playfair Display', serif; font-size: 24px; color: var(--gold-light); margin: 36px 0 14px; }
.cgd-prose h3 { font-size: 18px; color: var(--surface); font-weight: 600; margin: 28px 0 10px; }
.cgd-prose p { margin-bottom: 18px; }
.cgd-prose ul, .cgd-prose ol { padding-left: 24px; margin-bottom: 18px; }
.cgd-prose li { margin-bottom: 6px; }
.cgd-prose strong { color: var(--gold-light); font-weight: 600; }
.cgd-prose blockquote { border-left: 3px solid var(--gold); padding: 12px 20px; margin: 24px 0; background: rgba(201,168,76,0.06); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; }
.cgd-prose a { color: var(--gold); text-decoration: underline; }
.cgd-prose img { max-width: 100%; border-radius: var(--radius-sm); margin: 16px 0; }

/* ── BLOG CTA ── */
.cgd-blog-cta {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(201,168,76,0.08), rgba(201,168,76,0.04));
  border: 1px solid var(--border-md);
  border-radius: var(--radius);
  padding: 24px;
  margin: 40px 0;
}

.cgd-blog-cta__icon { font-size: 28px; flex-shrink: 0; }
.cgd-blog-cta__title { font-family: 'Playfair Display', serif; font-size: 18px; color: var(--gold-light); margin-bottom: 6px; }
.cgd-blog-cta__desc { font-size: 14px; color: rgba(247,244,238,0.7); line-height: 1.6; }

/* ── SECTIONS ── */
.cgd-section { padding: 72px 0; }
.cgd-section--dark { background: rgba(255,255,255,0.02); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cgd-section--cta { background: linear-gradient(135deg, rgba(201,168,76,0.06), transparent); border-top: 1px solid var(--border); }
.cgd-section__header { margin-bottom: 40px; }
.cgd-section__title { font-family: 'Playfair Display', serif; font-size: clamp(24px,3vw,38px); font-weight: 700; color: var(--gold-light); margin-bottom: 10px; }
.cgd-section__sub { font-size: 15px; color: var(--muted); }

/* ── HOW IT WORKS ── */
.cgd-steps { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.cgd-step { flex: 1; min-width: 200px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 24px; }
.cgd-step__num { font-family: 'Playfair Display', serif; font-size: 36px; font-weight: 700; color: rgba(201,168,76,0.3); margin-bottom: 10px; }
.cgd-step__title { font-size: 16px; font-weight: 600; color: var(--gold-light); margin-bottom: 8px; }
.cgd-step__desc { font-size: 13px; color: var(--muted); line-height: 1.6; }
.cgd-step__arrow { font-size: 24px; color: var(--border-md); flex-shrink: 0; }

/* ── BUTTONS extra ── */
.cgd-btn--lg { padding: 16px 32px; font-size: 16px; }
.cgd-btn--linkedin { background: #0A66C2; color: #fff; border: none; }
.cgd-btn--linkedin:hover { opacity: 0.88; }

/* ── LEVEL cards on home ── */
.cgd-levels--home { grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); }
.cgd-level__desc { font-size: 11px; color: var(--muted); margin-top: 6px; line-height: 1.4; display: none; }
.cgd-levels--home .cgd-level__desc { display: block; }

/* ── PAGE wrap ── */
.cgd-page-wrap { min-height: calc(100vh - 64px); }
.cgd-page-content { min-height: calc(100vh - 64px); }

/* ── PAGINATION ── */
.cgd-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: var(--radius-xs); border: 1px solid var(--border); color: var(--muted); text-decoration: none; font-size: 13px; transition: all 0.18s; }
.cgd-pagination .page-numbers.current { background: rgba(201,168,76,0.15); border-color: var(--gold); color: var(--gold-light); }
.cgd-pagination .page-numbers:hover { border-color: var(--gold); color: var(--gold-light); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .cgd-nav { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #0D0D0D; border-bottom: 1px solid var(--border); padding: 16px 20px; z-index: 99; }
  .cgd-nav--open { display: flex; }
  .cgd-hamburger { display: flex; }
  .cgd-footer__top { grid-template-columns: 1fr; gap: 32px; }
  .cgd-footer__links { grid-template-columns: repeat(2,1fr); }
  .cgd-footer__newsletter { flex-direction: column; align-items: flex-start; }
  .cgd-steps { flex-direction: column; }
  .cgd-step__arrow { transform: rotate(90deg); }
  .cgd-blog-grid { grid-template-columns: 1fr; }
}

/* ────────────────────────────────────────────
   ANA SAYFA — DAR LAYOUT
──────────────────────────────────────────── */
.cgd-content-col {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

.cgd-hero-home {
  background: #0D0D0D;
  padding: 80px 20px 72px;
  text-align: center;
}

.cgd-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.1);
  border: 1px solid var(--border-md);
  border-radius: 999px;
  padding: 5px 16px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 28px;
}

.cgd-hero-badge__dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--gold);
  animation: cgd-pulse 2s infinite;
}

.cgd-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 700;
  line-height: 1.08;
  margin-bottom: 18px;
  background: linear-gradient(135deg, #F0D98A 0%, #C9A84C 45%, #F0D98A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cgd-hero-sub {
  font-size: 17px;
  color: rgba(247,244,238,0.6);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
  font-weight: 300;
}

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

.cgd-section-narrow {
  padding: 64px 0;
  background: #0D0D0D;
}

.cgd-section-narrow--alt {
  background: #111008;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cgd-sec-head { margin-bottom: 36px; }
.cgd-sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.cgd-sec-sub { font-size: 14px; color: var(--muted); }

/* Nasıl Çalışır */
.cgd-how-steps {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
}
.cgd-how-step {
  flex: 1;
  min-width: 180px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
}
.cgd-how-step__num {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: rgba(201,168,76,0.25);
  margin-bottom: 10px;
  line-height: 1;
}
.cgd-how-step__title { font-size: 15px; font-weight: 600; color: var(--gold-light); margin-bottom: 8px; }
.cgd-how-step__desc  { font-size: 13px; color: var(--muted); line-height: 1.6; }
.cgd-how-arrow { font-size: 20px; color: var(--border-md); padding-top: 36px; flex-shrink: 0; }

/* Seviye kartları */
.cgd-levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.cgd-lcard {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 20px 14px;
  text-align: center;
  text-decoration: none;
  display: block;
  transition: border-color 0.18s, background 0.18s, transform 0.1s;
}
.cgd-lcard:hover { border-color: var(--gold); background: rgba(201,168,76,0.07); transform: translateY(-2px); }
.cgd-lcard__num  { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--gold); margin-bottom: 5px; }
.cgd-lcard__name { font-size: 13px; font-weight: 600; color: var(--surface); margin-bottom: 3px; }
.cgd-lcard__diff { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.cgd-lcard__desc { font-size: 11px; color: rgba(122,112,96,0.8); line-height: 1.4; }
.cgd-lcard--bonus .cgd-lcard__num { font-size: 20px; color: var(--gold-light); }
.cgd-lcard--bonus { border-color: rgba(240,217,138,0.25); }
.cgd-lcard--bonus:hover { border-color: var(--gold-light); }

/* CTA section */
.cgd-cta-section {
  background: #0D0D0D;
  border-top: 1px solid var(--border);
  padding: 80px 20px;
}
.cgd-cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 4vw, 48px);
  font-weight: 700;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.cgd-cta-sub { font-size: 16px; color: rgba(247,244,238,0.55); margin-bottom: 32px; }

/* ── DİL BAYRAK ── */
.cgd-lang-flag { font-size: 14px; line-height: 1; }
.cgd-lang-btn  { display: flex; align-items: center; gap: 4px; }

/* ── CRM PANELİ ── */
.cgd-crm-wrap { background: #0D0D0D; min-height: 100vh; padding: 32px; color: var(--surface); }
.cgd-crm-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 28px; flex-wrap: wrap; gap: 16px; }
.cgd-crm-title { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--gold-light); }
.cgd-crm-sub { font-size: 13px; color: var(--muted); margin-top: 4px; }
.cgd-crm-header-actions { display: flex; gap: 8px; }

.cgd-crm-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px,1fr)); gap: 12px; margin-bottom: 28px; }
.cgd-crm-stat { background: rgba(255,255,255,0.04); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px 14px; text-align: center; }
.cgd-crm-stat__val { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--gold-light); }
.cgd-crm-stat__lbl { font-size: 11px; color: var(--muted); margin-top: 3px; text-transform: uppercase; letter-spacing: 0.05em; }

.cgd-crm-tabs { display: flex; gap: 4px; background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 4px; margin-bottom: 24px; flex-wrap: wrap; }
.cgd-crm-tab { flex: 1; min-width: 120px; padding: 9px 14px; border: none; background: transparent; font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 500; color: var(--muted); cursor: pointer; border-radius: 6px; transition: all 0.18s; text-align: center; }
.cgd-crm-tab.active { background: rgba(201,168,76,0.14); color: var(--gold-light); border: 1px solid var(--border-md); }

.cgd-crm-panel { display: none; }
.cgd-crm-panel.active { display: block; }

.cgd-crm-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.cgd-crm-input { background: rgba(255,255,255,0.05); border: 1px solid var(--border-md); border-radius: var(--radius-sm); padding: 9px 14px; font-family: 'DM Sans',sans-serif; font-size: 13px; color: var(--surface); outline: none; min-width: 200px; }
.cgd-crm-input:focus { border-color: var(--gold); }
.cgd-crm-input::placeholder { color: var(--muted); }
.cgd-crm-select { background: rgba(255,255,255,0.05); border: 1px solid var(--border-md); border-radius: var(--radius-sm); padding: 9px 14px; font-family: 'DM Sans',sans-serif; font-size: 13px; color: var(--surface); outline: none; }

.cgd-crm-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.cgd-crm-table th { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border-md); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--gold); white-space: nowrap; }
.cgd-crm-table td { padding: 10px 12px; border-bottom: 1px solid var(--border); color: rgba(247,244,238,0.75); vertical-align: middle; }
.cgd-crm-table tr:hover td { background: rgba(255,255,255,0.02); }
.cgd-crm-table--sm { font-size: 12px; }

.cgd-crm-loading { text-align: center; padding: 32px; color: var(--muted); }
.cgd-crm-empty   { text-align: center; padding: 32px; color: var(--muted); }

.cgd-crm-btn { padding: 8px 16px; border-radius: var(--radius-sm); font-family: 'DM Sans',sans-serif; font-size: 13px; font-weight: 600; cursor: pointer; border: none; transition: opacity 0.18s; }
.cgd-crm-btn--gold { background: linear-gradient(135deg, var(--gold-dark), var(--gold)); color: #0D0D0D; }
.cgd-crm-btn--outline { background: transparent; border: 1px solid var(--border-md); color: var(--gold-light); }
.cgd-crm-btn--xs { padding: 4px 10px; font-size: 11px; background: rgba(201,168,76,0.1); border: 1px solid var(--border); color: var(--gold-light); border-radius: 4px; }
.cgd-crm-btn--outline:hover { border-color: var(--gold); }

.cgd-crm-tag { display: inline-block; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 500; background: rgba(201,168,76,0.1); color: var(--gold-light); border: 1px solid var(--border); margin: 1px; }
.cgd-crm-no-tag { color: var(--muted); font-size: 12px; }
.cgd-crm-link { color: var(--gold); text-decoration: none; }
.cgd-crm-link:hover { color: var(--gold-light); }

.cgd-crm-score--high { color: #7DD9AA; font-weight: 700; }
.cgd-crm-score--mid  { color: var(--gold-light); font-weight: 600; }
.cgd-crm-score--low  { color: #E07575; }

.cgd-crm-user-cell { display: flex; align-items: center; gap: 8px; }
.cgd-crm-avatar { width: 28px; height: 28px; border-radius: 50%; background: rgba(201,168,76,0.15); display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: var(--gold); flex-shrink: 0; }

.cgd-crm-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.75); z-index: 999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.cgd-crm-modal__inner { background: #111; border: 1px solid var(--border-md); border-radius: var(--radius); max-width: 700px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 28px; }
.cgd-crm-modal__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.cgd-crm-modal__close { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 18px; }
.cgd-crm-modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cgd-crm-modal-grid label { font-size: 11px; color: var(--gold); text-transform: uppercase; letter-spacing: 0.07em; display: block; margin-bottom: 3px; }
.cgd-crm-modal-grid p { font-size: 14px; color: var(--surface); margin: 0; }

.cgd-crm-tag-btn { padding: 5px 12px; border-radius: 999px; border: 1px solid var(--border); background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; transition: all 0.15s; font-family: 'DM Sans',sans-serif; }
.cgd-crm-tag-btn.active { background: rgba(201,168,76,0.15); border-color: var(--gold); color: var(--gold-light); }
.cgd-crm-tag-btn:hover { border-color: var(--gold); color: var(--gold-light); }

.cgd-crm-form-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border-md); border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
.cgd-crm-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 14px; }
.cgd-crm-form-grid label { display: block; font-size: 11px; color: var(--muted); margin-bottom: 5px; }

.cgd-crm-org-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 20px; margin-bottom: 12px; }
.cgd-crm-org-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; flex-wrap: wrap; gap: 8px; }
.cgd-crm-org-name { font-size: 16px; font-weight: 600; color: var(--gold-light); }
.cgd-crm-org-sector { font-size: 12px; color: var(--muted); margin-top: 2px; }
.cgd-crm-org-meta { display: flex; gap: 16px; font-size: 13px; color: var(--muted); flex-wrap: wrap; }
.cgd-crm-stat-pill { background: rgba(201,168,76,0.1); border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px; font-size: 11px; color: var(--gold-light); }

.cgd-crm-seg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 14px; }
.cgd-crm-seg-card { background: rgba(255,255,255,0.03); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; }
.cgd-crm-seg-name { font-size: 14px; font-weight: 700; margin-bottom: 4px; padding: 4px 10px; border-radius: 999px; display: inline-block; }
.cgd-crm-seg--gold   { background: rgba(201,168,76,0.15); color: var(--gold-light); }
.cgd-crm-seg--blue   { background: rgba(55,138,221,0.15); color: #85B7EB; }
.cgd-crm-seg--green  { background: rgba(58,155,111,0.15); color: #7DD9AA; }
.cgd-crm-seg--red    { background: rgba(192,57,43,0.15); color: #E07575; }
.cgd-crm-seg--purple { background: rgba(127,119,221,0.15); color: #AFA9EC; }
.cgd-crm-seg-count { font-size: 22px; font-weight: 700; color: var(--gold-light); font-family: 'Playfair Display',serif; margin: 8px 0 4px; }
.cgd-crm-seg-desc { font-size: 12px; color: var(--muted); }

@media (max-width: 600px) {
  .cgd-crm-wrap { padding: 16px; }
  .cgd-crm-modal-grid { grid-template-columns: 1fr; }
  .cgd-crm-table { font-size: 11px; }
  .cgd-crm-table td, .cgd-crm-table th { padding: 8px 6px; }
}

/* ────────────────────────────────────────────
   RENK & RTL DÜZELTMELERİ
──────────────────────────────────────────── */
:root {
  --ink:     #000000;
  --ink-soft:#000000;
  --ink-mid: #000000;
}

body, .cgd-hero-home, .cgd-section-narrow, .cgd-cta-section,
.cgd-section--dark, .cgd-section--cta, .cgd-page-wrap,
.cgd-header, .cgd-body {
  background-color: #000000;
}

.cgd-section-narrow--alt {
  background: #0A0A00;
  border-color: rgba(201,168,76,0.15);
}

/* Dropdown tıklanabilir */
.cgd-nav__dropdown { display: none; }
.cgd-dropdown--open { display: block !important; }

.cgd-nav__dropdown-item {
  display: block;
  padding: 8px 16px;
  font-size: 13px;
  color: rgba(247,244,238,0.75);
  text-decoration: none;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.15s, color 0.15s;
  border-radius: 4px;
}
.cgd-nav__dropdown-item:hover { background: rgba(255,255,255,0.07); color: var(--surface); }
.cgd-nav__dropdown-item--danger { color: #E07575 !important; }

/* ── RTL (Arapça) ── */
[dir="rtl"] {
  font-family: 'DM Sans', 'Noto Sans Arabic', 'Cairo', sans-serif;
}
[dir="rtl"] .cgd-header__inner { flex-direction: row-reverse; }
[dir="rtl"] .cgd-nav { flex-direction: row-reverse; }
[dir="rtl"] .cgd-header__logo-text { direction: ltr; }
[dir="rtl"] .cgd-how-steps { flex-direction: row-reverse; }
[dir="rtl"] .cgd-how-arrow { transform: scaleX(-1); }
[dir="rtl"] .cgd-hero-actions { flex-direction: row-reverse; }
[dir="rtl"] .cgd-footer__top { direction: rtl; }
[dir="rtl"] .cgd-footer__bottom { flex-direction: row-reverse; }
[dir="rtl"] .cgd-form__input { text-align: right; direction: rtl; }
[dir="rtl"] .cgd-post__content { direction: rtl; text-align: right; }
[dir="rtl"] .cgd-nav__dropdown { right: auto; left: 0; }
[dir="rtl"] .cgd-nav__dropdown-item { text-align: right; }
[dir="rtl"] .cgd-lang-switcher { flex-direction: row-reverse; }
[dir="rtl"] .cgd-blog-card { direction: rtl; }
[dir="rtl"] .cgd-score-grid { direction: rtl; }
[dir="rtl"] .cgd-chat-input-row { flex-direction: row-reverse; }
[dir="rtl"] .cgd-fin-table th, [dir="rtl"] .cgd-fin-table td { text-align: right; }

/* Google Arabic font load */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700&display=swap');
