/* ==========================================================================
   DentalOnam - Modern E-İmza & Biyometrik Onam Platformu
   Tasarım Sistemi & Global Stiller
   ========================================================================== */

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

:root {
  /* Renk Paleti - Sağlık & Güvenlik Temalı Slate/Navy & Cyan */
  --bg-dark: #0a0f1d;
  --bg-dark-card: rgba(16, 24, 46, 0.75);
  --bg-dark-glass: rgba(16, 24, 46, 0.65);
  --bg-surface: #111a30;
  --bg-surface-hover: #162240;
  
  --primary: #0284c7;
  --primary-light: #38bdf8;
  --primary-glow: rgba(56, 189, 248, 0.25);
  --primary-dark: #0369a1;

  --accent-teal: #0d9488;
  --accent-teal-light: #14b8a6;
  --accent-teal-glow: rgba(20, 184, 166, 0.25);

  --accent-purple: #8b5cf6;
  --accent-purple-light: #a78bfa;

  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(56, 189, 248, 0.35);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 16px 50px rgba(0, 0, 0, 0.5);
  --shadow-cyan: 0 8px 30px rgba(14, 165, 233, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Temel Sıfırlama */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(14, 165, 233, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(13, 148, 136, 0.1) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
  background-attachment: fixed;
  min-height: 100vh;
}

/* Tipografi & Başlıklar */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

h1 {
  font-size: 2.75rem;
  font-weight: 800;
}

h2 {
  font-size: 2.15rem;
}

h3 {
  font-size: 1.45rem;
}

p {
  color: var(--text-muted);
}

a {
  color: var(--primary-light);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: #ffffff;
}

/* Düzen Konteyneri */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Navigasyon */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(10, 15, 29, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  padding-top: 6px;
  padding-bottom: 6px;
}

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

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent-teal));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 22px;
  box-shadow: var(--shadow-cyan);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 40%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-teal-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent-teal-light));
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.nav-button-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: stretch;
}

.btn-nav {
  padding: 0.38rem 1.15rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  line-height: 1.25;
  white-space: nowrap;
}

.btn-emerald {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-emerald:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.55);
  transform: translateY(-1px);
  color: #ffffff;
}

.mobile-menu-btn {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  color: #ffffff;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

@media (max-width: 992px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 15, 29, 0.98);
    border-bottom: 1px solid var(--border-light);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1rem;
  }
  .nav-links.mobile-open {
    display: flex;
  }
  .mobile-menu-btn {
    display: inline-flex;
  }
}

/* Buton Tasarımları */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.65rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-normal);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(2, 132, 199, 0.6);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-teal {
  background: linear-gradient(135deg, var(--accent-teal) 0%, #0f766e 100%);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(13, 148, 136, 0.4);
}

.btn-teal:hover {
  background: linear-gradient(135deg, var(--accent-teal-light) 0%, var(--accent-teal) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.6);
  color: #ffffff;
}

.btn-lg {
  padding: 0.85rem 1.85rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

/* Rozetler (Badges) */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 9999px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-cyan {
  background: rgba(56, 189, 248, 0.12);
  color: var(--primary-light);
  border: 1px solid rgba(56, 189, 248, 0.25);
}

.badge-teal {
  background: rgba(20, 184, 166, 0.12);
  color: var(--accent-teal-light);
  border: 1px solid rgba(20, 184, 166, 0.25);
}

.badge-purple {
  background: rgba(167, 139, 250, 0.12);
  color: var(--accent-purple-light);
  border: 1px solid rgba(167, 139, 250, 0.25);
}

/* Kartlar ve Paneller */
.card {
  background: var(--bg-dark-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition-normal);
  position: relative;
}

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

/* Bölüm Başlıkları */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-header h2 {
  margin: 0.75rem 0 1rem 0;
}

.section-header p {
  font-size: 1.1rem;
}

/* Hero Bölümü */
.hero-section {
  padding: 5.5rem 0 4.5rem 0;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-features-list {
  display: flex;
  gap: 2rem;
  border-top: 1px solid var(--border-light);
  padding-top: 1.75rem;
}

.hero-feat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.hero-feat-item svg {
  color: var(--accent-teal-light);
}

/* Hero Görsel Önizleme Kartı (Glassmorphic Mockup) */
.hero-preview-card {
  background: linear-gradient(145deg, rgba(17, 26, 48, 0.95), rgba(10, 15, 29, 0.95));
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-cyan);
  position: relative;
  overflow: hidden;
}

.hero-preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.preview-badge-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--success);
}

.preview-badge-status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 10px var(--success);
}

.preview-info-box {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1rem;
}

.preview-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  margin-bottom: 0.5rem;
}

.preview-info-row:last-child {
  margin-bottom: 0;
}

.preview-info-label {
  color: var(--text-dim);
}

.preview-info-val {
  color: var(--text-main);
  font-weight: 600;
}

/* Özellikler Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-bottom: 5rem;
}

.feature-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: rgba(56, 189, 248, 0.1);
  color: var(--primary-light);
  border: 1px solid rgba(56, 189, 248, 0.2);
}

.feature-icon-wrapper.teal {
  background: rgba(20, 184, 166, 0.1);
  color: var(--accent-teal-light);
  border-color: rgba(20, 184, 166, 0.2);
}

.feature-icon-wrapper.purple {
  background: rgba(167, 139, 250, 0.1);
  color: var(--accent-purple-light);
  border-color: rgba(167, 139, 250, 0.2);
}

.feature-title {
  margin-bottom: 0.65rem;
}

/* Form Tasarımları (Kayıt, Destek, İletişim) */
.form-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.form-label .required {
  color: var(--danger);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(10, 15, 29, 0.8);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.95rem;
  font-family: inherit;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px var(--primary-glow);
  background: rgba(16, 24, 46, 0.95);
}

textarea.form-control {
  min-height: 110px;
  resize: vertical;
}

.form-hint {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.35rem;
}

/* Form Bölüm Ayırıcı */
.form-divider {
  border-top: 1px solid var(--border-light);
  margin: 2rem 0;
  position: relative;
  text-align: center;
}

.form-divider-title {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-surface);
  padding: 0 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

/* Bilgi Kutusu (Notice / Alert) */
.alert-box {
  display: flex;
  gap: 1rem;
  padding: 1.15rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.alert-info {
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #bae6fd;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  color: #a7f3d0;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #fde68a;
}

/* SSS Akordiyon (FAQ) */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-fast);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  user-select: none;
  font-weight: 600;
  font-size: 1.05rem;
  color: #ffffff;
}

.faq-question:hover {
  color: var(--primary-light);
}

.faq-icon {
  transition: transform 0.3s ease;
  color: var(--primary-light);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 1.5rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding: 0 1.5rem 1.35rem 1.5rem;
}

/* Tab Menü (Rehber Sayfası) */
.tab-nav {
  display: flex;
  gap: 0.75rem;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 2.5rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.tab-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
  color: #ffffff;
  background: var(--primary);
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.4);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Adım Kartları (Step by Step Guide) */
.step-card {
  display: flex;
  gap: 1.5rem;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-teal));
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 0.5rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-light);
  background: #070b16;
  padding: 4.5rem 0 2rem 0;
  margin-top: 6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-desc {
  margin-top: 1rem;
  font-size: 0.92rem;
  color: var(--text-dim);
  max-width: 320px;
}

.footer-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary-light);
  transform: translateX(3px);
  display: inline-block;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* Modal Stilleri (Başarı & Bilgi) */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  max-width: 540px;
  width: 100%;
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  transform: scale(0.92);
  transition: var(--transition-normal);
  text-align: center;
}

.modal-overlay.active .modal-box {
  transform: scale(1);
}

.modal-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.modal-title {
  margin-bottom: 0.75rem;
}

.modal-text {
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

/* ==========================================================================
   ÇOKLU TEMA DESTEĞİ (THEMES: DARK, LIGHT, EMERALD, SAPPHIRE, AMETHYST)
   ========================================================================== */

/* 1. TEMA: KOYU SİBER (DARK / CYBER GLOW - Varsayılan) */
[data-theme="dark"] {
  /* Varsayılan root renkleri aktiftir */
}

/* 2. TEMA: KLİNİK AYDINLIK (LIGHT / MEDICAL CLEAN) - YÜKSEK KONTRAST & OKUNABİLİRLİK */
[data-theme="light"] {
  --bg-dark: #f8fafc;
  --bg-dark-card: #ffffff;
  --bg-dark-glass: rgba(255, 255, 255, 0.95);
  --bg-surface: #f1f5f9;
  --bg-surface-hover: #e2e8f0;

  --primary: #0284c7;
  --primary-light: #0369a1;
  --primary-glow: rgba(2, 132, 199, 0.18);
  --primary-dark: #075985;

  --accent-teal: #0d9488;
  --accent-teal-light: #0f766e;
  --accent-teal-glow: rgba(13, 148, 136, 0.18);

  --accent-purple: #7c3aed;
  --accent-purple-light: #6d28d9;

  --success: #059669;
  --warning: #d97706;
  --danger: #dc2626;

  --text-main: #0f172a;
  --text-muted: #334155;
  --text-dim: #64748b;

  --border-light: rgba(15, 23, 42, 0.12);
  --border-hover: rgba(2, 132, 199, 0.45);

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.1);
  --shadow-cyan: 0 8px 24px rgba(2, 132, 199, 0.12);
}

[data-theme="light"] body {
  background-color: #f8fafc !important;
  color: #0f172a !important;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(2, 132, 199, 0.07) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(13, 148, 136, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(139, 92, 246, 0.04) 0%, transparent 50%) !important;
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
  color: #0f172a !important;
}

[data-theme="light"] p {
  color: #334155 !important;
}

[data-theme="light"] strong,
[data-theme="light"] b {
  color: #0f172a !important;
}

[data-theme="light"] code {
  background: #e2e8f0 !important;
  color: #0369a1 !important;
  border: 1px solid #cbd5e1;
}

[data-theme="light"] .site-header {
  background: rgba(255, 255, 255, 0.96) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .brand-title {
  background: linear-gradient(135deg, #0f172a 40%, #0284c7 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #0f172a !important;
}

[data-theme="light"] .brand-subtitle {
  color: #0284c7 !important;
}

[data-theme="light"] .nav-link {
  color: #334155 !important;
  font-weight: 600 !important;
}

[data-theme="light"] .nav-link:hover,
[data-theme="light"] .nav-link.active {
  color: #0284c7 !important;
}

[data-theme="light"] .hero-lead {
  color: #334155 !important;
}

[data-theme="light"] .hero-feat-item {
  color: #1e293b !important;
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
}

[data-theme="light"] .hero-feat-item span {
  color: #1e293b !important;
  font-weight: 600 !important;
}

[data-theme="light"] .hero-preview-card {
  background: linear-gradient(145deg, #ffffff, #f8fafc) !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .hero-preview-header h4 {
  color: #0f172a !important;
}

[data-theme="light"] .preview-info-box {
  background: #f1f5f9 !important;
  border: 1px solid rgba(15, 23, 42, 0.08) !important;
}

[data-theme="light"] .preview-info-label {
  color: #64748b !important;
}

[data-theme="light"] .preview-info-val {
  color: #0f172a !important;
  font-weight: 700 !important;
}

[data-theme="light"] .card,
[data-theme="light"] .feature-card,
[data-theme="light"] .step-card,
[data-theme="light"] .benefit-card,
[data-theme="light"] .contact-info-card,
[data-theme="light"] .support-info-card,
[data-theme="light"] .stat-card {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05) !important;
}

[data-theme="light"] .card h3,
[data-theme="light"] .feature-title,
[data-theme="light"] .step-title,
[data-theme="light"] .benefit-title,
[data-theme="light"] .stat-card h3 {
  color: #0f172a !important;
}

[data-theme="light"] .card p,
[data-theme="light"] .feature-card p,
[data-theme="light"] .step-card p,
[data-theme="light"] .benefit-card p {
  color: #334155 !important;
}

[data-theme="light"] .step-content h3 {
  color: #0f172a !important;
}

[data-theme="light"] .step-content p {
  color: #334155 !important;
}

/* Rehber Sekme Menüsü (Tabs) */
[data-theme="light"] .tab-nav {
  border-bottom: 1px solid rgba(15, 23, 42, 0.12) !important;
}

[data-theme="light"] .tab-btn {
  color: #475569 !important;
}

[data-theme="light"] .tab-btn:hover {
  color: #0284c7 !important;
  background: #e2e8f0 !important;
}

[data-theme="light"] .tab-btn.active {
  color: #ffffff !important;
  background: #0284c7 !important;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.35) !important;
}

/* Form Kartı & Kontrolleri */
[data-theme="light"] .form-card {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06) !important;
}

[data-theme="light"] .form-label {
  color: #0f172a !important;
  font-weight: 700 !important;
}

[data-theme="light"] .form-control {
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
}

[data-theme="light"] select.form-control option {
  background: #ffffff !important;
  color: #0f172a !important;
}

[data-theme="light"] .form-control:focus {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #0284c7 !important;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.2) !important;
}

[data-theme="light"] .form-hint {
  color: #64748b !important;
}

[data-theme="light"] .form-divider {
  border-top: 1px solid rgba(15, 23, 42, 0.12) !important;
}

[data-theme="light"] .form-divider-title {
  background: #ffffff !important;
  color: #0284c7 !important;
  border: 1px solid rgba(15, 23, 42, 0.12) !important;
}

/* Bilgi ve Uyarı Kutuları (Alerts) */
[data-theme="light"] .alert-box.alert-info {
  background: #e0f2fe !important;
  border: 1px solid #7dd3fc !important;
  color: #0369a1 !important;
}

[data-theme="light"] .alert-box.alert-info strong {
  color: #0c4a6e !important;
}

[data-theme="light"] .alert-box.alert-info p,
[data-theme="light"] .alert-box.alert-info .alert-desc {
  color: #0369a1 !important;
}

[data-theme="light"] .alert-box.alert-info svg {
  stroke: #0284c7 !important;
}

[data-theme="light"] .alert-box.alert-success {
  background: #dcfce7 !important;
  border: 1px solid #86efac !important;
  color: #15803d !important;
}

[data-theme="light"] .alert-box.alert-success strong {
  color: #14532d !important;
}

[data-theme="light"] .alert-box.alert-success p {
  color: #15803d !important;
}

[data-theme="light"] .alert-box.alert-warning {
  background: #fef3c7 !important;
  border: 1px solid #fde047 !important;
  color: #b45309 !important;
}

[data-theme="light"] .alert-box.alert-warning strong {
  color: #78350f !important;
}

[data-theme="light"] .alert-box.alert-warning p {
  color: #b45309 !important;
}

/* SSS Akordiyon (FAQ) */
[data-theme="light"] .faq-item {
  background: #ffffff !important;
  border: 1px solid rgba(15, 23, 42, 0.1) !important;
}

[data-theme="light"] .faq-question {
  color: #0f172a !important;
  font-weight: 700 !important;
}

[data-theme="light"] .faq-answer {
  color: #334155 !important;
}

/* Footer Stilleri */
[data-theme="light"] .site-footer {
  background: #0f172a !important;
  color: #f8fafc !important;
}

[data-theme="light"] .site-footer .footer-title {
  color: #ffffff !important;
}

[data-theme="light"] .site-footer .footer-desc {
  color: #94a3b8 !important;
}

[data-theme="light"] .site-footer .footer-links a,
[data-theme="light"] .site-footer .footer-links li {
  color: #cbd5e1 !important;
}

[data-theme="light"] .site-footer .footer-links a:hover {
  color: #38bdf8 !important;
}

[data-theme="light"] .btn-secondary {
  background: #ffffff !important;
  color: #1e293b !important;
  border: 1.5px solid #cbd5e1 !important;
}

[data-theme="light"] .btn-secondary:hover {
  background: #f1f5f9 !important;
  color: #0284c7 !important;
  border-color: #0284c7 !important;
}

[data-theme="light"] .badge-cyan {
  background: #e0f2fe !important;
  color: #0369a1 !important;
  border: 1px solid #bae6fd !important;
}

[data-theme="light"] .badge-teal {
  background: #ccfbf1 !important;
  color: #0f766e !important;
  border: 1px solid #99f6e4 !important;
}

[data-theme="light"] .badge-purple {
  background: #f3e8ff !important;
  color: #6b21a8 !important;
  border: 1px solid #e9d5ff !important;
}

/* 3. TEMA: ZÜMRÜT & PRESTİJ (EMERALD / ROYAL PRESTIGE) */
[data-theme="emerald"] {
  --bg-dark: #041a14;
  --bg-dark-card: rgba(8, 44, 34, 0.85);
  --bg-dark-glass: rgba(8, 44, 34, 0.7);
  --bg-surface: #0a3d30;
  --bg-surface-hover: #0d4d3c;

  --primary: #10b981;
  --primary-light: #34d399;
  --primary-glow: rgba(52, 211, 153, 0.3);
  --primary-dark: #059669;

  --accent-teal: #d97706;
  --accent-teal-light: #f59e0b;
  --accent-teal-glow: rgba(245, 158, 11, 0.3);

  --text-main: #f0fdf4;
  --text-muted: #a7f3d0;
  --text-dim: #6ee7b7;

  --border-light: rgba(52, 211, 153, 0.15);
  --border-hover: rgba(52, 211, 153, 0.45);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 30px rgba(4, 26, 20, 0.5);
  --shadow-lg: 0 16px 50px rgba(4, 26, 20, 0.7);
  --shadow-cyan: 0 8px 30px rgba(16, 185, 129, 0.3);
}

[data-theme="emerald"] .site-header {
  background: rgba(4, 26, 20, 0.88);
  border-bottom: 1px solid rgba(52, 211, 153, 0.15);
}

[data-theme="emerald"] .brand-icon {
  background: linear-gradient(135deg, #10b981, #d97706);
}

[data-theme="emerald"] .brand-title {
  color: #f0fdf4;
}

[data-theme="emerald"] .brand-subtitle {
  color: #34d399;
}

[data-theme="emerald"] .nav-link {
  color: #a7f3d0;
}

[data-theme="emerald"] .nav-link:hover,
[data-theme="emerald"] .nav-link.active {
  color: #ffffff;
}

[data-theme="emerald"] .btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

[data-theme="emerald"] .btn-primary:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.6);
}

[data-theme="emerald"] .site-footer {
  background: #02120e;
}

/* 4. TEMA: SAFİR & GECE (SAPPHIRE / MIDNIGHT OCEAN) */
[data-theme="sapphire"] {
  --bg-dark: #030712;
  --bg-dark-card: rgba(11, 23, 48, 0.88);
  --bg-dark-glass: rgba(11, 23, 48, 0.75);
  --bg-surface: #0c1e3d;
  --bg-surface-hover: #132d59;

  --primary: #2563eb;
  --primary-light: #60a5fa;
  --primary-glow: rgba(96, 165, 250, 0.35);
  --primary-dark: #1d4ed8;

  --accent-teal: #06b6d4;
  --accent-teal-light: #22d3ee;
  --accent-teal-glow: rgba(34, 211, 238, 0.3);

  --text-main: #f8fafc;
  --text-muted: #93c5fd;
  --text-dim: #60a5fa;

  --border-light: rgba(96, 165, 250, 0.18);
  --border-hover: rgba(96, 165, 250, 0.5);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 30px rgba(3, 7, 18, 0.6);
  --shadow-lg: 0 16px 50px rgba(3, 7, 18, 0.8);
  --shadow-cyan: 0 8px 30px rgba(37, 99, 235, 0.35);
}

[data-theme="sapphire"] body {
  background-color: #030712;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(37, 99, 235, 0.16) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(6, 182, 212, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
}

[data-theme="sapphire"] .site-header {
  background: rgba(3, 7, 18, 0.92);
  border-bottom: 1px solid rgba(96, 165, 250, 0.2);
}

[data-theme="sapphire"] .brand-icon {
  background: linear-gradient(135deg, #2563eb, #06b6d4);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.45);
}

[data-theme="sapphire"] .brand-title {
  background: linear-gradient(135deg, #ffffff 40%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ffffff;
}

[data-theme="sapphire"] .brand-subtitle {
  color: #22d3ee;
}

[data-theme="sapphire"] .nav-link {
  color: #93c5fd;
}

[data-theme="sapphire"] .nav-link:hover,
[data-theme="sapphire"] .nav-link.active {
  color: #ffffff;
}

[data-theme="sapphire"] .btn-primary {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  box-shadow: 0 4px 18px rgba(37, 99, 235, 0.45);
}

[data-theme="sapphire"] .btn-primary:hover {
  background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
  box-shadow: 0 8px 25px rgba(37, 99, 235, 0.65);
}

[data-theme="sapphire"] .site-footer {
  background: #02050d;
}

/* 5. TEMA: AMETİST & GÜL KURUSU (AMETHYST / ROYAL VIP) */
[data-theme="amethyst"] {
  --bg-dark: #0f051d;
  --bg-dark-card: rgba(28, 14, 54, 0.88);
  --bg-dark-glass: rgba(28, 14, 54, 0.75);
  --bg-surface: #260f4a;
  --bg-surface-hover: #361769;

  --primary: #9333ea;
  --primary-light: #c084fc;
  --primary-glow: rgba(192, 132, 252, 0.35);
  --primary-dark: #7e22ce;

  --accent-teal: #f43f5e;
  --accent-teal-light: #fb7185;
  --accent-teal-glow: rgba(244, 63, 94, 0.35);

  --text-main: #faf5ff;
  --text-muted: #d8b4fe;
  --text-dim: #c084fc;

  --border-light: rgba(192, 132, 252, 0.18);
  --border-hover: rgba(192, 132, 252, 0.5);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 30px rgba(15, 5, 29, 0.6);
  --shadow-lg: 0 16px 50px rgba(15, 5, 29, 0.8);
  --shadow-cyan: 0 8px 30px rgba(147, 51, 234, 0.35);
}

[data-theme="amethyst"] body {
  background-color: #0f051d;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(147, 51, 234, 0.16) 0%, transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(244, 63, 94, 0.14) 0%, transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
}

[data-theme="amethyst"] .site-header {
  background: rgba(15, 5, 29, 0.92);
  border-bottom: 1px solid rgba(192, 132, 252, 0.2);
}

[data-theme="amethyst"] .brand-icon {
  background: linear-gradient(135deg, #9333ea, #f43f5e);
  box-shadow: 0 4px 18px rgba(147, 51, 234, 0.45);
}

[data-theme="amethyst"] .brand-title {
  background: linear-gradient(135deg, #ffffff 40%, #c084fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ffffff;
}

[data-theme="amethyst"] .brand-subtitle {
  color: #fb7185;
}

[data-theme="amethyst"] .nav-link {
  color: #d8b4fe;
}

[data-theme="amethyst"] .nav-link:hover,
[data-theme="amethyst"] .nav-link.active {
  color: #ffffff;
}

[data-theme="amethyst"] .btn-primary {
  background: linear-gradient(135deg, #9333ea 0%, #7e22ce 100%);
  box-shadow: 0 4px 18px rgba(147, 51, 234, 0.45);
}

[data-theme="amethyst"] .btn-primary:hover {
  background: linear-gradient(135deg, #a855f7 0%, #9333ea 100%);
  box-shadow: 0 8px 25px rgba(147, 51, 234, 0.65);
}

[data-theme="amethyst"] .site-footer {
  background: #090212;
}

/* ==========================================================================
   KÜTÜPHANE & HUKUK MERKEZİ & VİDEO EĞİTİM MODÜLÜ
   ========================================================================== */

.library-hero {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
  position: relative;
}

.library-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(2, 132, 199, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: var(--primary-light);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}

.library-title {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 40%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.library-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 820px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.library-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  max-width: 1040px;
  margin: 0 auto 2.5rem;
}

.library-stat-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: var(--transition-normal);
  backdrop-filter: blur(12px);
}

.library-stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-cyan);
}

.lib-stat-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
}

.lib-stat-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Kütüphane Tab Navigasyonu */
.library-tab-nav {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.lib-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-dark-card);
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 0.85rem 1.45rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.lib-tab-btn:hover {
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.4);
  background: var(--bg-surface-hover);
}

.lib-tab-btn.active {
  color: #ffffff;
  background: linear-gradient(135deg, var(--primary), var(--accent-teal));
  border-color: transparent;
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.45);
}

/* Tab İçerik Bölümleri */
.lib-tab-pane {
  display: none;
}

.lib-tab-pane.active {
  display: block;
  animation: libFade 0.35s ease;
}

@keyframes libFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   1. HUKUKÇU GÖRÜŞLERİ KARTLARI
   ========================================================================== */
.opinion-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(540px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .opinion-grid {
    grid-template-columns: 1fr;
  }
  .library-stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

.opinion-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition-normal);
  backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.opinion-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary), var(--accent-teal));
  opacity: 0.6;
  transition: var(--transition-fast);
}

.opinion-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-cyan);
}

.opinion-card:hover::before {
  opacity: 1;
  width: 6px;
}

.opinion-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.15rem;
}

.jurist-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.25), rgba(13, 148, 136, 0.25));
  border: 1px solid rgba(56, 189, 248, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.jurist-info {
  flex-grow: 1;
}

.jurist-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.jurist-badge {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #34d399;
}

.jurist-title {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.opinion-topic {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.opinion-quote {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.6;
  background: rgba(255, 255, 255, 0.025);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  border-left: 3px solid rgba(56, 189, 248, 0.35);
  margin-bottom: 1rem;
  font-style: italic;
}

.opinion-details {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.25rem;
}

.opinion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.opinion-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 9px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   2. YASA METNİ VE MADDE ARAMA
   ========================================================================== */
.law-controls {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-bottom: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.law-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  flex: 1;
  min-width: 260px;
}

.law-search-input {
  background: none;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.9rem;
  width: 100%;
}

.law-search-input::placeholder {
  color: var(--text-dim);
}

.law-quick-jump {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.law-jump-pill {
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  color: var(--text-muted);
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.law-jump-pill:hover, .law-jump-pill.active {
  background: var(--primary);
  color: #ffffff;
  border-color: transparent;
}

.law-chapter-header {
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--primary-light);
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.law-article-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  transition: var(--transition-fast);
}

.law-article-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

.law-article-card.highlight-special {
  border: 2px solid #0284c7;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.12), rgba(13, 148, 136, 0.08));
  box-shadow: 0 6px 25px rgba(2, 132, 199, 0.2);
}

.law-article-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.law-article-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
}

.law-special-badge {
  background: linear-gradient(135deg, #0284c7, #0d9488);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

.law-article-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary-light);
  margin-bottom: 0.75rem;
}

.law-article-body {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.65;
}

.law-article-comment {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background: rgba(2, 132, 199, 0.08);
  border-left: 3px solid #0284c7;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  color: #e0f2fe;
}

/* ==========================================================================
   3. MAHKEME UYGULAMALARI & YARGITAY KARARLARI
   ========================================================================== */
.article-post-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  margin-bottom: 2rem;
  transition: var(--transition-normal);
  backdrop-filter: blur(12px);
}

.article-post-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-cyan);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.article-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: rgba(14, 165, 233, 0.15);
  color: var(--primary-light);
  padding: 3px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(14, 165, 233, 0.3);
}

.article-court-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  padding: 3px 10px;
  border-radius: 9999px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.article-title {
  font-size: 1.65rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
  line-height: 1.3;
}

.article-summary {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1.25rem;
}

.article-content h4 {
  font-size: 1.15rem;
  color: var(--primary-light);
  margin: 1.25rem 0 0.5rem;
}

.article-content p {
  font-size: 0.94rem;
  color: var(--text-main);
  line-height: 1.7;
  margin-bottom: 0.85rem;
}

.precedent-box {
  background: rgba(16, 24, 46, 0.9);
  border: 1px dashed rgba(56, 189, 248, 0.4);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin: 1.25rem 0;
}

.precedent-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #38bdf8;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.precedent-text {
  font-size: 0.88rem;
  color: #e2e8f0;
  font-family: 'JetBrains Mono', monospace;
  line-height: 1.55;
}

/* ==========================================================================
   4. VİDEO EĞİTİM & SESLİ REHBER MODÜLÜ
   ========================================================================== */
.video-section-wrapper {
  max-width: 1040px;
  margin: 0 auto;
}

.video-player-container {
  background: #060913;
  border: 2px solid rgba(56, 189, 248, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7), 0 0 40px rgba(2, 132, 199, 0.2);
  margin-bottom: 2.5rem;
}

.player-top-bar {
  background: #0d1424;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

.player-title-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-live-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.6; }
}

.player-title-text {
  font-size: 0.92rem;
  font-weight: 700;
  color: #ffffff;
}

.player-resolution-badge {
  font-size: 0.72rem;
  font-weight: 800;
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(2, 132, 199, 0.4);
  color: #38bdf8;
  padding: 2px 8px;
  border-radius: 4px;
}

/* Video Görsel Sahnesi / Ekranı */
.video-screen-stage {
  position: relative;
  background: #090e1c;
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1.5rem;
  overflow: hidden;
}

/* Simüle Edilen Web Ekranı */
.mockup-browser {
  width: 100%;
  max-width: 820px;
  background: #10192e;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  transition: all 0.4s ease;
}

.mockup-header {
  background: #0a1122;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

.mockup-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.mockup-dot.red { background: #ef4444; }
.mockup-dot.yellow { background: #f59e0b; }
.mockup-dot.green { background: #10b981; }

.mockup-address {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 4px;
  padding: 2px 12px;
  font-size: 0.75rem;
  color: #94a3b8;
  font-family: 'JetBrains Mono', monospace;
  flex-grow: 1;
  text-align: center;
}

.mockup-body {
  padding: 1.5rem;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* Sahne İçi Dinamik Form ve Animasyon Elemanları */
.stage-step {
  display: none;
  animation: stageIn 0.4s ease forwards;
}

.stage-step.active {
  display: block;
}

@keyframes stageIn {
  from { opacity: 0; transform: scale(0.97); }
  to { opacity: 1; transform: scale(1); }
}

.mock-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.mock-input-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mock-input-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
}

.mock-input-field {
  background: #0a1122;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 8px 10px;
  font-size: 0.82rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s ease;
}

.mock-input-field.pulse-highlight {
  border-color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.4);
  background: #0d1e38;
}

.mock-cursor-pointer {
  position: absolute;
  width: 24px;
  height: 24px;
  pointer-events: none;
  z-index: 100;
  transition: all 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.7));
}

/* Altyazı & Teleprompter Alanı */
.video-subtitles-bar {
  background: rgba(4, 8, 18, 0.95);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.subtitle-badge {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.subtitle-text {
  font-size: 0.94rem;
  font-weight: 500;
  color: #f1f5f9;
  line-height: 1.45;
  flex-grow: 1;
}

.subtitle-voice-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #38bdf8;
  font-size: 0.75rem;
  font-weight: 600;
}

.voice-wave {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 14px;
}

.voice-bar {
  width: 3px;
  background: #38bdf8;
  border-radius: 2px;
  animation: waveAnim 1s ease-in-out infinite alternate;
}

.voice-bar:nth-child(2) { animation-delay: 0.2s; }
.voice-bar:nth-child(3) { animation-delay: 0.4s; }
.voice-bar:nth-child(4) { animation-delay: 0.6s; }

@keyframes waveAnim {
  0% { height: 4px; }
  100% { height: 14px; }
}

.voice-wave.paused .voice-bar {
  animation: none;
  height: 4px;
}

/* Video Kontrol Çubuğu */
.player-controls-bar {
  background: #0b1222;
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.video-progress-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.progress-time {
  font-size: 0.75rem;
  font-family: 'JetBrains Mono', monospace;
  color: var(--text-muted);
  min-width: 40px;
}

.video-progress-bar {
  flex-grow: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
}

.video-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #0284c7, #38bdf8);
  border-radius: 3px;
  width: 0%;
  transition: width 0.15s linear;
}

.player-buttons-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.player-main-btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-player-action {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-player-action:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.05);
}

.btn-player-play {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, #0284c7, #0d9488);
  border: none;
  box-shadow: 0 4px 15px rgba(2, 132, 199, 0.4);
}

.btn-player-play:hover {
  transform: scale(1.08);
}

.step-selector-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
}

.step-pill-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.step-pill-btn:hover, .step-pill-btn.active {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  border-color: #38bdf8;
}

.player-extra-btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.player-speed-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
}

/* Diğer Video Kartları Listesi */
.video-playlist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}

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

.playlist-card {
  background: var(--bg-dark-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.playlist-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-cyan);
}

.playlist-thumb {
  height: 140px;
  background: linear-gradient(135deg, #0e172e, #132448);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.playlist-play-icon {
  width: 44px;
  height: 44px;
  background: rgba(2, 132, 199, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.playlist-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
}

.playlist-body {
  padding: 1.25rem;
  flex-grow: 1;
}

.playlist-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.playlist-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* ==========================================================================
   Form Doğrulama & Bildirim (Alert) Stilleri
   ========================================================================== */
.alert-box {
  padding: 1rem 1.25rem;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.alert-danger {
  background: rgba(239, 68, 68, 0.15) !important;
  border: 1px solid rgba(239, 68, 68, 0.5) !important;
  color: #fca5a5 !important;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.15) !important;
  border: 1px solid rgba(245, 158, 11, 0.5) !important;
  color: #fde68a !important;
}

.alert-success {
  background: rgba(16, 185, 129, 0.15) !important;
  border: 1px solid rgba(16, 185, 129, 0.5) !important;
  color: #a7f3d0 !important;
}

.alert-info {
  background: rgba(14, 165, 233, 0.15) !important;
  border: 1px solid rgba(14, 165, 233, 0.5) !important;
  color: #bae6fd !important;
}

.form-control.is-invalid {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.25) !important;
  background-color: rgba(239, 68, 68, 0.05) !important;
}

.invalid-feedback {
  display: block;
  font-size: 0.82rem;
  color: #f87171;
  font-weight: 500;
  margin-top: 5px;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.spin {
  animation: spin 1s linear infinite;
  display: inline-block;
}

/* ==========================================================================
   Global Modal Diyalog Stilleri
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-box {
  background: #1e293b;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  max-width: 480px;
  width: 100%;
  padding: 2.25rem 2rem;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-box {
  transform: scale(1) translateY(0);
}

.modal-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  border: 2px solid rgba(16, 185, 129, 0.3);
}

.modal-icon-circle.danger {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
}

.modal-icon-circle.warning {
  background: rgba(245, 158, 11, 0.15);
  color: #f59e0b;
  border-color: rgba(245, 158, 11, 0.3);
}

.modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.modal-text {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}




