/* ==========================================================================
   DÜŞLEM EĞİTİM KOÇLUĞU — KURUMSAL TASARIM SİSTEMİ & RENK PALETİ
   Riviera Blue, Terracotta, Soft Ivory, Sand Linen, Sage Green, Queen Blue,
   Mandarin, Cadet Blue, English Red, Desert Sand, Stormy Sky & Burnt Sienna
   ========================================================================== */

:root {
  /* --- Renk Paletleri (Tam Referans Değerleri) --- */
  /* Palet 1: Kıyı & Toprak Temelleri */
  --riviera-blue: #183451;
  --riviera-dark: #102337;
  --riviera-light: #e8f0f6;
  --terracotta: #A9501C;
  --soft-ivory: #F3ECDE;
  --sand-linen: #D4AF83;

  /* Palet 2: Atmosferik Doğa & Toprak */
  --burnt-sienna: #984216;
  --ivory-sand: #E4D6C5;
  --stormy-sky: #78898F;
  --sage-green: #8D957E;
  --sage-dark: #5c6450;
  --sage-light: #eef2eb;

  /* Palet 3: Okyanus & Sıcak Canlı Vurgular */
  --cadet-blue: #9CBCC6;
  --queen-blue: #406B8C;
  --english-red: #A4485E;
  --mandarin: #EB8445;
  --desert-sand: #E4C5AF;

  /* --- Semantik Arayüz Değişkenleri --- */
  --primary: var(--riviera-blue);
  --primary-dark: var(--riviera-dark);
  --primary-light: var(--riviera-light);
  --accent: var(--terracotta);
  --accent-hover: var(--burnt-sienna);
  --accent-vibrant: var(--mandarin);
  --secondary: var(--queen-blue);
  --success: var(--sage-green);
  --danger: var(--english-red);
  --warning: var(--mandarin);

  /* --- Zeminler & Metin Hiyerarşisi --- */
  --bg: #FAF7F2;
  --surface: #FFFFFF;
  --surface-soft: var(--soft-ivory);
  --surface-warm: var(--ivory-sand);
  --text: #183451;
  --text-heading: #102337;
  --muted: #5D6C7B;
  --border: #E5DCCE;
  --border-warm: #DBCFBE;

  /* --- Gölgeler & Ölçüler --- */
  --shadow: 0 16px 36px rgba(24, 52, 81, 0.07);
  --shadow-lg: 0 24px 60px rgba(24, 52, 81, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --header-h: 80px;

  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::selection {
  background: var(--ivory-sand);
  color: var(--riviera-blue);
}
a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: var(--accent);
}
img { max-width: 100%; display: block; }
.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}
.main-content {
  min-height: 70vh;
  animation: page-enter 0.42s ease both;
}
@keyframes page-enter {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: none; }
}

.section { padding: var(--space-20) 0; }
.section-soft { background: var(--surface-soft); }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 {
  color: var(--text-heading);
  line-height: 1.15;
  letter-spacing: -0.025em;
}
h1, h2, .page-hero h1, .auth-intro h1 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
}
h1 { font-size: clamp(2.6rem, 5vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 700; }
h3 { font-size: 1.22rem; font-weight: 700; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--terracotta) !important;
  background: #F3ECDE;
  border: 1px solid var(--sand-linen);
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(169, 80, 28, 0.08);
}
.eyebrow::before {
  content: '✦';
  color: var(--mandarin);
  font-size: 0.72rem;
}

.text-gradient {
  background: linear-gradient(115deg, #A9501C 0%, #EB8445 45%, #406B8C 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.text-muted { color: var(--muted); }

/* ==========================================================================
   Butonlar, Form Elemanları ve Kartlar
   ========================================================================== */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: 700 0.875rem/1 Inter, Arial, sans-serif;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible,
.form-input:focus-visible,
.form-select:focus-visible,
.form-textarea:focus-visible {
  outline: 3px solid rgba(169, 80, 28, 0.25);
  outline-offset: 2px;
}

/* Birincil Buton: Sıcak Terracotta & Burnt Sienna / Mandarin */
.btn-primary {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--terracotta), var(--burnt-sienna));
  box-shadow: 0 8px 20px rgba(169, 80, 28, 0.28);
}
.btn-primary:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--mandarin), var(--terracotta));
  box-shadow: 0 12px 26px rgba(169, 80, 28, 0.38);
}

/* İkincil / Navy Buton */
.btn-navy {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--riviera-blue), var(--queen-blue));
  box-shadow: 0 8px 20px rgba(24, 52, 81, 0.25);
}
.btn-navy:hover {
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--queen-blue), var(--riviera-blue));
  box-shadow: 0 12px 26px rgba(24, 52, 81, 0.32);
}

/* Kontur Buton */
.btn-outline {
  color: var(--primary);
  background: var(--surface);
  border: 1px solid var(--border);
}
.btn-outline:hover {
  color: var(--accent);
  border-color: var(--accent);
  background: var(--surface-soft);
}

.btn-lg { min-height: 54px; padding: 14px 26px; font-size: 0.96rem; }
.btn-sm { min-height: 36px; padding: 8px 14px; font-size: 0.8rem; }
.btn-block { width: 100%; }

.form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-heading);
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 11px;
  background: var(--surface);
  color: var(--text);
  padding: 11px 13px;
  font: inherit;
  transition: border 0.2s, box-shadow 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(169, 80, 28, 0.12);
  outline: 0;
}
.form-textarea { min-height: 120px; resize: vertical; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 2px 5px rgba(24, 52, 81, 0.03);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--sand-linen);
  box-shadow: var(--shadow);
}
.card-header, .card-body, .card-footer { padding: var(--space-6); }
.card-header { border-bottom: 1px solid var(--border); }
.card-footer { border-top: 1px solid var(--border); background: var(--surface-soft); }

.grid-2, .grid-3, .grid-4 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   Üst Navigasyon & Header
   ========================================================================== */
.site-header {
  height: var(--header-h);
  position: sticky;
  top: 0;
  z-index: 100;
  background: #183451;
  border-bottom: 1px solid rgba(212, 175, 131, 0.3);
  box-shadow: 0 4px 20px rgba(16, 35, 55, 0.16);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #ffffff !important;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.logo:hover { color: var(--mandarin) !important; }
.site-home-logo-img {
  width: var(--site-home-logo-width, 54px);
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}
@media (max-width: 768px) {
  .site-home-logo-img {
    width: var(--site-home-logo-mobile-width, 45px);
    height: auto;
  }
}
.site-footer-logo-img {
  max-height: var(--site-footer-logo-height, 64px);
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}
@media (max-width: 768px) {
  .site-footer-logo-img {
    max-height: calc(var(--site-footer-logo-height, 64px) * 0.82);
  }
}
.site-auth-logo-img {
  max-height: var(--site-auth-logo-height, 76px);
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: contain;
}
@media (max-width: 768px) {
  .site-auth-logo-img {
    max-height: calc(var(--site-auth-logo-height, 76px) * 0.72);
  }
}
.logo-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--terracotta), var(--mandarin));
  box-shadow: 0 6px 16px rgba(169, 80, 28, 0.35);
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  color: #E4D6C5 !important;
  font-size: 0.88rem;
  font-weight: 650;
  transition: color 0.2s;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 0px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--terracotta), var(--mandarin));
  transform: scaleX(0);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-link:hover { color: #ffffff !important; }
.nav-link:hover::after {
  transform: scaleX(0.6);
  background: var(--mandarin);
}
.nav-link.active {
  color: #ffffff !important;
  font-weight: 800;
}
.nav-link.active::after {
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--terracotta), var(--mandarin));
  box-shadow: 0 2px 8px rgba(235, 132, 69, 0.6);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.header-actions .btn-outline {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 131, 0.45);
}
.header-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
  color: #ffffff !important;
}
.mobile-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 1.3rem;
  cursor: pointer;
}

/* ==========================================================================
   Ana Sayfa (Landing Page) & Hero
   ========================================================================== */
.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 88px 0 76px;
  background:
    radial-gradient(circle at 85% 18%, rgba(212, 175, 131, 0.32) 0, transparent 40%),
    radial-gradient(circle at 14% 82%, rgba(156, 188, 198, 0.28) 0, transparent 40%),
    linear-gradient(180deg, #F3ECDE 0%, #FAF7F2 100%);
  border-bottom: 1px solid var(--border);
}
.home-hero::before, .home-hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}
.home-hero::before {
  width: 360px;
  height: 360px;
  top: -140px;
  left: -120px;
  background: rgba(228, 214, 197, 0.55);
}
.home-hero::after {
  width: 280px;
  height: 280px;
  right: 6%;
  bottom: -90px;
  background: rgba(156, 188, 198, 0.45);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  align-items: center;
  gap: 48px;
}
.hero-copy { max-width: 650px; }
.hero-copy h1 {
  margin: 18px 0 22px;
  font-weight: 700;
  line-height: 1.12;
}
.hero-copy p {
  max-width: 560px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.68;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-proof {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}
.proof-avatars { display: flex; }
.proof-avatars span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: -7px;
  border: 2px solid var(--surface);
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--primary);
  font-size: 0.65rem;
  font-weight: 800;
}

/* Dashboard Mockup */
.hero-dashboard {
  position: relative;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  transform: rotate(1.2deg);
}
.dash-window {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: var(--surface);
}
.dash-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: var(--surface-soft);
}
.dash-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary);
}
.dash-brand i {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--accent);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}
.dash-dots { display: flex; gap: 4px; }
.dash-dots b {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sand-linen);
}
.dash-body {
  display: grid;
  grid-template-columns: 145px 1fr;
  min-height: 340px;
}
.dash-side {
  padding: 18px 13px;
  background: var(--surface-soft);
  border-right: 1px solid var(--border);
}
.dash-side span {
  display: block;
  margin-bottom: 9px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  transition: background 0.15s, color 0.15s;
}
.dash-side span:first-child {
  color: var(--primary);
  background: var(--surface);
  box-shadow: 0 2px 6px rgba(24, 52, 81, 0.05);
}
.dash-main { padding: 22px; }
.dash-main small {
  color: var(--muted);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.dash-main h3 {
  margin: 6px 0 16px;
  font-size: 1.1rem;
  font-family: 'Playfair Display', Georgia, serif;
}
.progress-card {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-soft);
}
.progress-title {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--text-heading);
}
.progress-track {
  height: 7px;
  margin-top: 11px;
  border-radius: 9px;
  background: #ffffff;
}
.progress-track b {
  display: block;
  width: 76%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--queen-blue), var(--terracotta));
}
.dash-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}
.dash-stat {
  padding: 12px;
  border-radius: 10px;
  background: var(--surface-soft);
}
.dash-stat b {
  display: block;
  color: var(--accent);
  font-size: 1.05rem;
  font-weight: 800;
}
.dash-stat span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.67rem;
}
.mini-chart {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 65px;
  margin-top: 16px;
  padding: 10px 10px 0;
  border-radius: 10px;
  background: var(--surface-soft);
}
.mini-chart i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(var(--mandarin), var(--terracotta));
}
.mini-chart i:nth-child(odd) {
  background: linear-gradient(var(--cadet-blue), var(--queen-blue));
}
.float-note {
  position: absolute;
  right: -25px;
  bottom: 35px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-heading);
  transform: rotate(-2.5deg);
}
.float-note i {
  color: var(--sage-green);
  font-size: 1.25rem;
}

/* Güven Çubuğu */
.trust-strip {
  padding: 24px 0;
  border-top: 1px solid var(--sand-linen);
  border-bottom: 1px solid var(--sand-linen);
  background: #F3ECDE;
}
.trust-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--riviera-blue);
  font-size: 0.92rem;
  font-weight: 800;
}
.trust-item i {
  color: var(--terracotta);
  font-size: 1.25rem;
}

/* Bölüm Başlıkları & Özellikler */
.section-heading {
  max-width: 680px;
  margin-bottom: 44px;
}
.section-heading h2 { margin: 12px 0; }
.section-heading p { color: var(--muted); font-size: 1.05rem; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  padding: 30px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 4px 16px rgba(24, 52, 81, 0.04);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.feature-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 22px;
  border-radius: 14px;
  font-size: 1.3rem;
}
.feature-card:nth-child(1) {
  border-top: 4px solid var(--riviera-blue);
  background: linear-gradient(180deg, rgba(24, 52, 81, 0.03) 0%, #ffffff 45%);
}
.feature-card:nth-child(1) .feature-icon {
  background: rgba(24, 52, 81, 0.12);
  color: var(--riviera-blue);
}
.feature-card:nth-child(2) {
  border-top: 4px solid var(--queen-blue);
  background: linear-gradient(180deg, rgba(64, 107, 140, 0.04) 0%, #ffffff 45%);
}
.feature-card:nth-child(2) .feature-icon {
  background: rgba(64, 107, 140, 0.14);
  color: var(--queen-blue);
}
.feature-card:nth-child(3) {
  border-top: 4px solid var(--terracotta);
  background: linear-gradient(180deg, rgba(169, 80, 28, 0.04) 0%, #ffffff 45%);
}
.feature-card:nth-child(3) .feature-icon {
  background: rgba(169, 80, 28, 0.14);
  color: var(--terracotta);
}
.feature-card:nth-child(4) {
  border-top: 4px solid var(--sage-green);
  background: linear-gradient(180deg, rgba(141, 149, 126, 0.07) 0%, #ffffff 45%);
}
.feature-card:nth-child(4) .feature-icon {
  background: rgba(141, 149, 126, 0.2);
  color: var(--sage-dark);
}
.feature-card h3 { margin-bottom: 10px; font-size: 1.15rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

/* Yolculuk / Süreç Bölümü */
.journey-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: center;
}
.journey-panel {
  padding: 36px;
  border-radius: 24px;
  background: linear-gradient(145deg, #102337 0%, #183451 100%);
  border: 1px solid rgba(212, 175, 131, 0.25);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
}
.journey-panel h3 {
  color: #ffffff;
  font-size: 1.7rem;
  margin: 12px 0;
  font-family: 'Playfair Display', Georgia, serif;
}
.journey-panel p { color: var(--soft-ivory); font-size: 0.96rem; line-height: 1.65; }
.journey-list {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}
.journey-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 0.9rem;
}
.journey-list i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(212, 175, 131, 0.22);
  color: var(--soft-ivory);
}
.journey-steps { display: grid; gap: 16px; }
.journey-step {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 18px;
  padding: 20px;
  border-radius: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.journey-step:hover {
  transform: translateX(4px);
  border-color: var(--sand-linen);
}
.journey-step:nth-child(1) { border-left: 4px solid var(--terracotta); }
.journey-step:nth-child(1) b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(169, 80, 28, 0.12);
  color: var(--terracotta);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
}
.journey-step:nth-child(2) { border-left: 4px solid var(--queen-blue); }
.journey-step:nth-child(2) b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(64, 107, 140, 0.14);
  color: var(--queen-blue);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
}
.journey-step:nth-child(3) { border-left: 4px solid var(--sage-green); }
.journey-step:nth-child(3) b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(141, 149, 126, 0.2);
  color: var(--sage-dark);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
}
.journey-step h3 { margin: 0 0 4px; font-size: 1.05rem; }
.journey-step p { margin: 0; color: var(--muted); font-size: 0.86rem; }

/* Paketler & Yorumlar */
.packages-grid, .testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.package-card, .testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.package-card { display: flex; flex-direction: column; }
.package-card:nth-child(2) {
  border: 2px solid var(--terracotta);
  box-shadow: 0 12px 32px rgba(169, 80, 28, 0.14);
  transform: translateY(-4px);
}
.package-card:hover, .testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--sand-linen);
  box-shadow: var(--shadow);
}
.package-card:nth-child(2):hover {
  transform: translateY(-8px);
  border-color: var(--terracotta);
}
.package-header { padding: 26px 26px 16px; background: linear-gradient(180deg, #FAF7F2 0%, #ffffff 100%); }
.package-header h3 { margin-bottom: 12px; font-size: 1.3rem; font-family: 'Playfair Display', Georgia, serif; }
.package-price .price {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--terracotta);
}
.package-price .period { color: var(--muted); font-size: 0.82rem; }
.package-body { flex: 1; padding: 8px 26px 26px; color: var(--muted); font-size: 0.88rem; }
.package-features {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.package-features li {
  display: flex;
  align-items: center;
  color: var(--text);
  font-size: 0.88rem;
}
.package-features i {
  margin-right: 10px;
  color: var(--sage-green);
  font-size: 0.95rem;
}
.package-footer {
  padding: 20px 26px 26px;
  border-top: 1px solid var(--border);
  background: var(--surface-soft);
}

.testimonial-card { padding: 28px; }
.testimonial-content p {
  margin: 0;
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.65;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-avatar-placeholder {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--primary);
  font-size: 0.95rem;
}
.testimonial-info { display: flex; flex-direction: column; font-size: 0.82rem; }
.testimonial-info strong { color: var(--text-heading); }
.testimonial-info span { color: var(--muted); font-size: 0.74rem; }

/* CTA Bölümü */
.cta-section {
  padding: 84px 0;
  background: linear-gradient(135deg, #102337 0%, #183451 55%, #23476e 100%);
  border-top: 1px solid rgba(212, 175, 131, 0.25);
  border-bottom: 1px solid rgba(212, 175, 131, 0.25);
}
.cta-content {
  max-width: 750px;
  margin: auto;
  text-align: center;
  color: #ffffff;
}
.cta-content h2 {
  color: #ffffff;
  margin-bottom: 14px;
  font-family: 'Playfair Display', Georgia, serif;
}
.cta-content p {
  margin: 0 0 28px;
  color: var(--soft-ivory);
  font-size: 1.1rem;
}
.cta-content .btn-primary {
  background: var(--soft-ivory);
  color: var(--riviera-blue) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.cta-content .btn-primary:hover {
  background: #ffffff;
  color: var(--terracotta) !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   İç Sayfalar, Tablo, Hero & Footer
   ========================================================================= */
.hero-section {
  padding: 88px 0 72px;
  background:
    radial-gradient(circle at 80% 25%, rgba(243, 236, 222, 0.9) 0, transparent 35%),
    radial-gradient(circle at 20% 75%, rgba(156, 188, 198, 0.25) 0, transparent 35%),
    var(--bg);
}
.hero-section h1 { margin-bottom: 15px; }
.hero-section p { max-width: 630px; color: var(--muted); font-size: 1.05rem; }

.table-wrapper, .table-wrap {
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
}
table { width: 100%; border-collapse: collapse; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border); }
th {
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
td { font-size: 0.88rem; }
tbody tr { transition: background 0.18s; }
tbody tr:hover { background: var(--surface-soft); }
.empty-state { padding: 48px 20px; text-align: center; color: var(--muted); }

/* Site Footer */
.site-footer {
  padding: 68px 0 24px;
  background: #102337;
  color: #dbe3eb;
  border-top: 1px solid rgba(212, 175, 131, 0.2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer-brand p, .footer-newsletter-text {
  max-width: 290px;
  margin-top: 16px;
  color: #9CBCC6;
  font-size: 0.85rem;
  line-height: 1.6;
}
.site-footer .logo { color: #ffffff; }
.footer-links h4, .footer-social h4 {
  margin-bottom: 16px;
  color: var(--soft-ivory);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
}
.footer-links a {
  display: block;
  padding: 5px 0;
  color: #9CBCC6;
  font-size: 0.86rem;
  transition: color 0.2s ease;
}
.footer-links a:hover { color: var(--soft-ivory); }
.social-icons { display: flex; gap: 9px; }
.social-icons a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #283d54;
  border-radius: 10px;
  color: #9CBCC6;
  transition: all 0.2s ease;
}
.social-icons a:hover {
  color: #ffffff;
  border-color: var(--terracotta);
  background: var(--terracotta);
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid #1c3149;
}
.footer-bottom p { margin: 0; color: #78898F; font-size: 0.8rem; }

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==========================================================================
   İç Sayfa Hero'ları & Detay Elemanları
   ========================================================================== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 82px;
  background:
    radial-gradient(circle at 82% 25%, rgba(243, 236, 222, 0.92) 0, transparent 38%),
    radial-gradient(circle at 20% 75%, rgba(156, 188, 198, 0.24) 0, transparent 35%),
    var(--bg);
}
.page-hero::before, .page-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}
.page-hero::before {
  width: 340px;
  height: 340px;
  right: -80px;
  top: -160px;
  background: rgba(228, 214, 197, 0.45);
}
.page-hero::after {
  width: 240px;
  height: 240px;
  left: 28%;
  bottom: -140px;
  background: rgba(156, 188, 198, 0.35);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 650;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs i { font-size: 0.6rem; color: var(--sand-linen); }

.page-hero h1 { max-width: 780px; margin: 15px 0 18px; }
.page-hero p { max-width: 620px; margin: 0; color: var(--muted); font-size: 1.08rem; }

.page-hero-stories {
  background:
    radial-gradient(circle at 75% 30%, rgba(228, 197, 175, 0.35), transparent 32%),
    radial-gradient(circle at 25% 70%, rgba(243, 236, 222, 0.9), transparent 40%),
    var(--bg);
}
.page-hero-faq {
  background:
    radial-gradient(circle at 82% 26%, rgba(156, 188, 198, 0.28), transparent 30%),
    radial-gradient(circle at 20% 75%, rgba(243, 236, 222, 0.85), transparent 40%),
    var(--bg);
}
.page-hero-contact {
  background:
    radial-gradient(circle at 77% 29%, rgba(228, 214, 197, 0.45), transparent 30%),
    radial-gradient(circle at 18% 72%, rgba(156, 188, 198, 0.25), transparent 35%),
    var(--bg);
}
.page-hero-packages {
  background:
    radial-gradient(circle at 78% 24%, rgba(212, 175, 131, 0.25), transparent 30%),
    radial-gradient(circle at 22% 70%, rgba(243, 236, 222, 0.9), transparent 38%),
    var(--bg);
}

.editorial-intro {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}
.editorial-intro h2 { margin: 12px 0; }
.editorial-intro p { max-width: 580px; color: var(--muted); font-size: 1.05rem; }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.value-card {
  position: relative;
  min-height: 220px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.value-card:hover {
  transform: translateY(-6px);
  border-color: var(--sand-linen);
  box-shadow: var(--shadow);
}
.value-number {
  display: block;
  margin-bottom: 32px;
  color: var(--sand-linen);
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}
.value-card h3 { margin-bottom: 10px; font-size: 1.2rem; }
.value-card p { margin: 0; color: var(--muted); font-size: 0.88rem; line-height: 1.6; }

.package-kicker, .story-index {
  display: block;
  margin-bottom: 10px;
  color: var(--terracotta);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.story-card {
  position: relative;
  display: flex;
  gap: 20px;
  min-height: 260px;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.story-card:hover {
  transform: translateY(-5px);
  border-color: var(--sand-linen);
  box-shadow: var(--shadow);
}
.story-quote {
  margin-top: -10px;
  color: var(--ivory-sand);
  font: 800 5.5rem/1 'Playfair Display', Georgia, serif;
}
.story-card h2 { margin: 3px 0 16px; font-size: 1.35rem; }
.story-card p { margin: 0; color: var(--muted); font-size: 0.92rem; line-height: 1.65; }

/* SSS & İletişim */
.faq-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 52px;
  align-items: start;
}
.faq-aside {
  position: sticky;
  top: 102px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
}
.faq-aside > i {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--surface);
  color: var(--accent);
  box-shadow: 0 8px 18px rgba(169, 80, 28, 0.12);
}
.faq-aside h3 { margin-bottom: 10px; }
.faq-aside p { margin-bottom: 18px; color: var(--muted); font-size: 0.88rem; }
.faq-list { display: grid; gap: 14px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  transition: border 0.2s, box-shadow 0.2s;
}
.faq-item[open] {
  border-color: var(--sand-linen);
  box-shadow: 0 10px 28px rgba(24, 52, 81, 0.08);
}
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  list-style: none;
  cursor: pointer;
  font-weight: 750;
  color: var(--text-heading);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { color: var(--accent); transition: transform 0.22s; }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item > div { padding: 0 22px 22px; color: var(--muted); font-size: 0.92rem; line-height: 1.65; }

.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.contact-aside h2 { margin: 15px 0; }
.contact-aside p { max-width: 430px; color: var(--muted); font-size: 1.05rem; }
.contact-points { display: grid; gap: 14px; margin-top: 28px; }
.contact-points span { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 0.88rem; }
.contact-points i {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(64, 107, 140, 0.12);
  color: var(--secondary);
}
.contact-form { max-width: 600px; width: 100%; }
.form-feedback {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
}
.form-feedback.success {
  background: var(--sage-light);
  color: var(--sage-dark);
  border: 1px solid rgba(141, 149, 126, 0.3);
}
.form-feedback.error {
  background: #fdf2f4;
  color: var(--english-red);
  border: 1px solid rgba(164, 72, 94, 0.3);
}

/* ==========================================================================
   Giriş / Kayıt Deneyimi (Auth)
   ========================================================================== */
.auth-page {
  position: relative;
  display: grid;
  place-items: center;
  min-height: calc(100vh - var(--header-h));
  padding: 52px 24px;
  overflow: hidden;
  background: var(--bg);
}
.auth-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
}
.orb-one {
  width: 380px;
  height: 380px;
  left: -135px;
  top: -155px;
  background: rgba(228, 214, 197, 0.45);
}
.orb-two {
  width: 320px;
  height: 320px;
  right: -120px;
  bottom: -130px;
  background: rgba(156, 188, 198, 0.35);
}
.auth-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 460px;
  max-width: 1020px;
  width: 100%;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(16px);
}
.auth-intro {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 620px;
  padding: 44px;
  color: #ffffff;
  background: linear-gradient(145deg, #102337 0%, #183451 55%, #406B8C 100%);
}
.auth-intro .logo { color: #ffffff; }
.auth-intro .logo-icon {
  background: rgba(255, 255, 255, 0.16);
  box-shadow: none;
}
.auth-intro .eyebrow { color: var(--sand-linen); }
.auth-intro h1 {
  margin: 14px 0 18px;
  color: #ffffff;
  font-size: clamp(2.5rem, 4vw, 3.8rem);
}
.auth-intro h1 span { color: var(--mandarin); }
.auth-intro p { max-width: 390px; color: var(--soft-ivory); font-size: 1rem; line-height: 1.6; }
.auth-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--soft-ivory);
  font-size: 0.84rem;
  font-weight: 650;
}
.auth-trust i { color: var(--sage-green); }

.auth-card { padding: 54px 48px; background: var(--surface); }
.auth-card h2 { margin: 12px 0 9px; font-size: 1.95rem; }
.auth-card > p { margin-bottom: 30px; color: var(--muted); font-size: 0.92rem; }
.auth-card .form-label { margin-bottom: 17px; }
.auth-password-field { position: relative; display: block; }
.auth-password-field .form-input { padding-right: 48px; }
.auth-password-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  transform: translateY(-50%);
  border: 0;
  border-radius: 8px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
}
.auth-password-toggle:hover,
.auth-password-toggle:focus-visible { color: var(--accent); background: var(--surface-soft); }
.auth-password-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.auth-card .btn { margin-top: 7px; }
.check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 2px 0 20px;
  color: var(--muted);
  font-size: 0.85rem;
}
.check-label input { width: 17px; height: 17px; accent-color: var(--accent); }
.auth-switch {
  margin: 24px 0 0 !important;
  text-align: center !important;
  font-size: 0.85rem !important;
}
.auth-switch a { font-weight: 750; color: var(--accent); }

/* Shared, accessible flash messages used by login and public pages. */
.flash-message {
  width: min(960px, calc(100% - 40px));
  margin: 18px auto;
  overflow: hidden;
  border: 1px solid var(--flash-border);
  border-radius: 14px;
  background: var(--flash-bg);
  color: var(--flash-text);
  box-shadow: 0 8px 24px rgba(16, 35, 55, .08);
}
.flash-content { display: flex; align-items: center; gap: 13px; min-width: 0; padding: 14px 16px; }
.flash-icon {
  display: grid; flex: 0 0 38px; width: 38px; height: 38px; place-items: center;
  border-radius: 11px; background: var(--flash-icon-bg); color: var(--flash-icon); font-size: 17px;
}
.flash-copy { display: grid; flex: 1 1 auto; gap: 2px; min-width: 0; overflow-wrap: anywhere; line-height: 1.45; }
.flash-copy strong { color: var(--flash-title); font-size: .92rem; }
.flash-copy > span { color: var(--flash-text); font-size: .88rem; }
.flash-close {
  display: grid; flex: 0 0 34px; width: 34px; height: 34px; place-items: center;
  border: 0; border-radius: 9px; background: transparent; color: var(--flash-text);
  cursor: pointer; font: inherit; font-size: 23px; line-height: 1; opacity: .72;
}
.flash-close:hover { background: rgba(16, 35, 55, .07); opacity: 1; }
.flash-close:focus-visible { outline: 3px solid rgba(115, 84, 84, .35); outline-offset: 2px; }
.flash-error { --flash-bg:#fff4f4; --flash-border:#f2caca; --flash-text:#74343c; --flash-title:#722f3a; --flash-icon:#a33e50; --flash-icon-bg:#ffe3e7; }
.flash-warning { --flash-bg:#fff9eb; --flash-border:#f0dfb1; --flash-text:#725521; --flash-title:#684b18; --flash-icon:#9b6c13; --flash-icon-bg:#fff0c8; }
.flash-success { --flash-bg:#eef9f4; --flash-border:#c1e6d4; --flash-text:#285943; --flash-title:#20543d; --flash-icon:#287650; --flash-icon-bg:#d9f1e5; }
.flash-info { --flash-bg:#f0f5fb; --flash-border:#c9d8eb; --flash-text:#304d6a; --flash-title:#203f60; --flash-icon:#385f86; --flash-icon-bg:#dfeafa; }
@media (max-width: 600px) {
  .flash-message { width: calc(100% - 28px); margin: 14px auto; border-radius: 12px; }
  .flash-content { gap: 10px; padding: 12px; }
  .flash-icon { flex-basis: 34px; width: 34px; height: 34px; }
  .flash-copy > span { font-size: .84rem; }
}

/* ==========================================================================
   Kullanıcı Menüsü, Profil & Rozetler
   ========================================================================== */
.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--riviera-blue), var(--queen-blue));
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  overflow: hidden;
  text-align: center;
  line-height: 1;
}
.avatar-sm { width: 34px; height: 34px; }
.avatar-md { width: 48px; height: 48px; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-block { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.avatar-preview { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; border: 3px solid var(--border); }
.avatar-placeholder { width: 84px; height: 84px; border-radius: 50%; background: var(--surface-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 700; }
.avatar-fields { flex: 1; min-width: 220px; }

.personal-welcome {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  padding: 6px 12px 6px 6px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  box-shadow: 0 6px 16px rgba(24, 52, 81, 0.06);
  color: var(--text);
  font-size: 0.82rem;
}
.personal-welcome .avatar { width: 26px; height: 26px; font-size: 0.6rem; }

.user-menu { position: relative; }
.user-menu-trigger {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 14px 4px 5px;
  border: 1px solid rgba(212, 175, 131, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
  color: #ffffff;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
}
.user-menu-trigger:hover, .user-menu.open .user-menu-trigger {
  border-color: var(--mandarin);
  background: rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 3px rgba(235, 132, 69, 0.25), 0 4px 16px rgba(0, 0, 0, 0.22);
}
.account-summary {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.18;
  text-align: left;
}
.account-summary small {
  color: var(--cadet-blue) !important;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.account-summary strong {
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 750;
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.user-menu-trigger:hover .account-summary strong,
.user-menu.open .user-menu-trigger .account-summary strong {
  color: var(--mandarin) !important;
}

.account-role, .user-role-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 800;
  font-style: normal;
  letter-spacing: 0.03em;
}
.role-admin {
  background: linear-gradient(135deg, rgba(169, 80, 28, 0.45), rgba(235, 132, 69, 0.35));
  color: #F3ECDE !important;
  border: 1px solid rgba(235, 132, 69, 0.5);
}
.role-coach {
  background: rgba(64, 107, 140, 0.4);
  color: #F3ECDE !important;
  border: 1px solid rgba(156, 188, 198, 0.5);
}
.role-student {
  background: rgba(141, 149, 126, 0.4);
  color: #F3ECDE !important;
  border: 1px solid rgba(141, 149, 126, 0.5);
}

.user-menu .menu-chevron {
  color: var(--cadet-blue);
  font-size: 11px;
  transition: transform 0.2s ease, color 0.2s ease;
  margin-left: 2px;
}
.user-menu-trigger:hover .menu-chevron,
.user-menu.open .user-menu-trigger .menu-chevron {
  color: var(--mandarin);
}
.user-menu.open .user-menu-trigger .menu-chevron {
  transform: rotate(180deg);
}

.user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 272px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 20px 48px rgba(16, 35, 55, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-7px) scale(0.98);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 200;
}
.user-menu.open .user-dropdown { opacity: 1; visibility: visible; transform: none; }
.user-dropdown-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 15px;
  background: #FAF7F2;
  border-bottom: 1px solid var(--border);
}
.user-dropdown-avatar, .user-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  line-height: 1;
  text-align: center;
}
.user-dropdown-avatar img, .user-avatar-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.user-menu-trigger .user-avatar-circle,
.user-menu-trigger .avatar-sm {
  width: 34px !important;
  height: 34px !important;
  font-size: 14px !important;
}
.user-dropdown-head strong { display: block; font-size: 0.86rem; color: var(--text-heading); }
.user-dropdown-head span:not(.user-dropdown-avatar):not(.user-avatar-circle):not(.avatar),
.user-dropdown-head .user-dropdown-info span { display: block; margin-top: 3px; color: var(--muted); font-size: 0.72rem; word-break: break-word; }
.user-dropdown-head .user-role-badge { margin-top: 4px; }
.user-dropdown-body { display: flex; flex-direction: column; padding: 8px; }
.user-dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  font: 650 0.8rem/1.2 Inter, Arial, sans-serif;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.user-dropdown-item i { width: 17px; color: var(--muted); text-align: center; }
.user-dropdown-item:hover {
  background: var(--surface-soft);
  color: var(--accent);
}
.user-dropdown-item:hover i { color: var(--accent); }
.user-dropdown-sep { height: 1px; margin: 6px 4px; background: var(--border); }
.user-dropdown-form { margin: 0; }
.user-dropdown-danger { color: var(--danger) !important; }
.user-dropdown-danger i { color: var(--danger) !important; }
.user-dropdown-danger:hover { background: rgba(164, 72, 94, 0.1) !important; }

/* Shimmer & Skeleton */
@keyframes shimmerAnim { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.skeleton-box {
  background: linear-gradient(90deg, var(--surface-soft) 25%, var(--border) 37%, var(--surface-soft) 63%);
  background-size: 200% 100%;
  animation: shimmerAnim 1.6s infinite ease-in-out;
  border-radius: 6px;
  display: inline-block;
}
.skeleton-text { height: 14px; margin-bottom: 6px; width: 100%; border-radius: 4px; }
.shimmer-text {
  background: linear-gradient(90deg, var(--muted) 0%, var(--text) 50%, var(--muted) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerAnim 2s infinite linear;
}

/* ==========================================================================
   Duyarlı Tasarım (Responsive Breakpoints)
   ========================================================================== */
@media (max-width: 1050px) {
  .main-nav { gap: 0; }
  .nav-link { padding: 9px 7px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-dashboard { max-width: 600px; margin: auto; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
  :root { --header-h: 70px; }
  .container { width: min(100% - 32px, var(--container)); }
  .site-header .container { gap: 10px; }
  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    right: 16px;
    left: 16px;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid rgba(212, 175, 131, 0.35);
    border-radius: 14px;
    background: #183451;
    box-shadow: 0 10px 30px rgba(16, 35, 55, 0.4);
  }
  .main-nav.open { display: flex; }
  .nav-link { padding: 12px; }
  .mobile-toggle { display: block; padding: 8px; }
  .header-actions .btn-outline { display: none; }
  .section { padding: 56px 0; }
  .home-hero { padding: 64px 0 56px; }
  .hero-dashboard { transform: none; }
  .dash-body { grid-template-columns: 100px 1fr; }
  .dash-side { padding: 14px 8px; }
  .dash-main { padding: 15px; }
  .float-note { right: -5px; bottom: 22px; }
  .trust-items { grid-template-columns: 1fr; gap: 14px; }
  .features-grid, .packages-grid, .testimonials-grid, .grid-2, .grid-3, .grid-4, .journey-grid {
    grid-template-columns: 1fr;
  }
  .section-heading { margin-bottom: 28px; }
  .journey-grid { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding-top: 48px; }
  .hero-section { padding: 60px 0; }
  .hero-proof { font-size: 0.74rem; }
  .header-actions .btn-primary { padding: 8px 12px; font-size: 0.78rem; }
  .page-hero { padding: 60px 0 56px; }
  .editorial-intro, .faq-layout, .contact-layout { grid-template-columns: 1fr; gap: 26px; }
  .value-grid, .story-grid { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .auth-page { padding: 24px 16px; }
  .auth-shell { grid-template-columns: 1fr; border-radius: 20px; }
  .auth-intro { min-height: auto; gap: 48px; padding: 32px 24px; }
  .auth-intro h1 { font-size: 2.35rem; }
  .auth-card { padding: 32px 24px; }
  .auth-card h2 { font-size: 1.65rem; }
  .story-card { min-height: auto; }
  .account-summary, .account-role { display: none; }
  .user-menu-trigger { padding: 3px; }
  .user-dropdown { right: -4px; width: min(272px, calc(100vw - 28px)); }
  .site-header .header-actions { gap: 6px; }
}
