/* ==========================================================================
   RESET & TEMEL DEĞİŞKENLER (EXECUTIVE DESIGN SYSTEM)
   ========================================================================== */
:root {
  --bg-primary: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-card: #FFFFFF;
  --border-color: #E2E8F0;
  --border-focus: #2563EB;
  
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-dim: #94A3B8;

  --accent-primary: #2563EB;
  --accent-gradient: linear-gradient(135deg, #1D4ED8 0%, #7C3AED 100%);
  --badge-bg: rgba(37, 99, 235, 0.08);
  --badge-text: #2563EB;

  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.04), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  --card-shadow-hover: 0 12px 24px -4px rgba(0, 0, 0, 0.08);

  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

[data-theme="dark"] {
  --bg-primary: #0B0F17;
  --bg-surface: #111827;
  --bg-card: #151D2E;
  --border-color: #1F293D;
  --border-focus: #3B82F6;
  
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --accent-primary: #3B82F6;
  --accent-gradient: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 100%);
  --badge-bg: rgba(59, 130, 246, 0.15);
  --badge-text: #60A5FA;

  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --card-shadow-hover: 0 12px 24px -4px rgba(0, 0, 0, 0.6);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  padding: 14px 0;
}

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

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

.brand-badge {
  background: var(--accent-gradient);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  letter-spacing: 0.5px;
}

.brand-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.brand-title span {
  color: var(--text-muted);
  font-weight: 500;
}

.header-metrics {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-primary);
}

.theme-btn {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: inherit;
  transition: all 0.2s ease;
}

.theme-btn:hover {
  border-color: var(--border-focus);
}

/* ==========================================================================
   HERO & DIRECT ANSWER CARD
   ========================================================================== */
.hero-section {
  text-align: center;
  padding: 60px 0 40px;
}

.pill-tag {
  display: inline-block;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  border: 1px solid rgba(37, 99, 235, 0.2);
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--text-main);
  max-width: 900px;
  margin: 0 auto 18px;
}

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

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-muted);
  max-width: 720px;
  margin: 0 auto 36px;
}

.direct-answer-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--accent-primary);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  text-align: left;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: var(--card-shadow);
}

.card-header-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.tag-terminal {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-primary);
  letter-spacing: 0.8px;
}

.copy-btn {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  font-family: inherit;
}

.copy-btn:hover {
  background: var(--border-color);
}

.card-body-text {
  font-size: 0.96rem;
  color: var(--text-main);
  line-height: 1.7;
}

/* ==========================================================================
   SECTIONS & TITLES
   ========================================================================== */
.section-block {
  padding: 44px 0;
}

.section-head {
  margin-bottom: 24px;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 6px;
}

.section-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ÇAP TABS
   ========================================================================== */
.tab-wrapper {
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 18px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--border-color) transparent;
}

.tab-wrapper::-webkit-scrollbar {
  height: 4px;
}
.tab-wrapper::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

.tab-buttons {
  display: flex;
  gap: 10px;
  min-width: max-content;
}

.tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
  min-height: 44px;
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--text-main);
  border-color: var(--border-focus);
}

.tab-btn.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.tab-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--card-shadow);
  min-height: 180px;
}

.tab-card-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--text-dim);
  margin-bottom: 8px;
}

.tab-card-heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 16px;
}

.role-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.tab-card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ==========================================================================
   6 YENİ NESİL ALAN (GRID)
   ========================================================================== */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--card-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
  border-color: var(--border-focus);
}

.feature-card.highlight-border {
  border-top: 3px solid var(--accent-primary);
}

.card-kpi-top {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.card-main-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-main-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.card-kpi-bottom {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-dim);
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

/* ==========================================================================
   FAQ (SSS)
   ========================================================================== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px;
}

.faq-q {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.4;
}

.faq-a {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   DISCLAIMER & FOOTER
   ========================================================================== */
.disclaimer-card {
  background: var(--bg-surface);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 40px 0 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.disclaimer-badge {
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}

.footer {
  border-top: 1px solid var(--border-color);
  background: var(--bg-surface);
  padding: 28px 0;
  margin-top: 40px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-link {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

.footer-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   RESPONSIVE (MOBİL UYUMLULUK)
   ========================================================================== */
@media (max-width: 900px) {
  .programs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-metrics {
    display: none;
  }

  .programs-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding: 36px 0 24px;
  }

  .direct-answer-card {
    padding: 18px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ==========================================================================
   FUTURE GRID & CAP PILLS
   ========================================================================== */
.cap-badge-group { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 24px 0; }
.cap-pill { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 20px; padding: 6px 14px; font-size: 0.78rem; font-weight: 700; color: #1e293b; cursor: pointer; transition: all 0.2s ease; }
[data-theme="dark"] .cap-pill { background: #0f172a; border-color: #334155; color: #cbd5e1; }
.cap-pill:hover { border-color: #f59e0b; box-shadow: 0 4px 6px -1px rgba(245, 158, 11, 0.1); }

.future-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 16px; margin: 20px 0; }
.future-card { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 12px; padding: 18px; position: relative; transition: transform 0.2s, border-color 0.2s; box-shadow: 0 4px 6px -1px rgba(0,0,0,0.02); }
[data-theme="dark"] .future-card { background: #0b1329; border-color: #1e293b; }
.future-card:hover { transform: translateY(-3px); border-color: #f59e0b; box-shadow: 0 10px 20px -5px rgba(245, 158, 11, 0.1); }

.future-tag { display: inline-block; font-size: 0.65rem; font-weight: 800; color: #0284c7; background: #e0f2fe; padding: 3px 8px; border-radius: 4px; letter-spacing: 0.05em; margin-bottom: 8px; }
[data-theme="dark"] .future-tag { background: rgba(2, 132, 199, 0.2); color: #38bdf8; }

.future-title { font-size: 1.05rem; font-weight: 800; color: var(--text-main, #0f172a); margin-bottom: 6px; }
.future-desc { font-size: 0.82rem; color: #64748b; line-height: 1.5; margin-bottom: 12px; }

.future-metric { font-size: 0.75rem; color: #059669; background: #ecfdf5; padding: 4px 8px; border-radius: 6px; display: inline-block; }
[data-theme="dark"] .future-metric { background: rgba(5, 150, 105, 0.15); color: #34d399; }

.future-faq-item { background: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px; padding: 14px 16px; margin-bottom: 10px; }
[data-theme="dark"] .future-faq-item { background: #0b1329; border-color: #1e293b; }

.future-faq-q { font-weight: 800; font-size: 0.88rem; color: var(--text-main, #0f172a); margin-bottom: 6px; }
.future-faq-a { font-size: 0.82rem; color: #64748b; line-height: 1.5; }
