/* MedJourney marka renkleri — logodan alınmıştır. */
:root {
  --mj-teal: #15AEB0;
  --mj-teal-dark: #10919A;
  --mj-navy: #173D6F;
  --mj-navy-dark: #122E55;

  --mj-page: #F4F6FA;
  --mj-surface: #FFFFFF;
  --mj-ink: #1B2A41;
  --mj-muted: #6B7A90;
  --mj-line: #E3E8F0;

  --mj-radius: 12px;
  --mj-shadow: 0 1px 2px rgba(23, 61, 111, .06), 0 8px 24px rgba(23, 61, 111, .06);
  --mj-topbar-height: 60px;
}

html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 15px;
  }
}

.mj-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--mj-page);
  color: var(--mj-ink);
  -webkit-font-smoothing: antialiased;
}

.mj-main {
  flex: 1 0 auto;
  padding: 1.75rem 0 2.5rem;
}

.mj-main-inner {
  max-width: 1360px;
  padding-inline: 1.5rem;
}

/* ---------- Üst çubuk ---------- */

.mj-topbar {
  /* Yükseklik mj-topbar-inner'daki min-height ile belirlenir; navbar'ın kendi
     dikey dolgusu (5.1'de doğrudan padding) sıfırlanmazsa çubuk fazla yüksek olur. */
  padding-top: 0;
  padding-bottom: 0;
  background: linear-gradient(90deg, var(--mj-navy-dark) 0%, var(--mj-navy) 100%);
  color: #fff;
  box-shadow: 0 2px 12px rgba(18, 46, 85, .18);
  position: sticky;
  top: 0;
  z-index: 1030;
}

.mj-topbar-inner {
  max-width: 1360px;
  padding-inline: 1.5rem;
  min-height: var(--mj-topbar-height);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.mj-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .01em;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
}

.mj-brand:hover,
.mj-brand:focus {
  color: #fff;
  opacity: .9;
}

.mj-brand img {
  border-radius: 6px;
  background: #fff;
  padding: 2px;
}

/* Açılıp kapanma davranışı Bootstrap'in navbar-expand-lg kurallarına bırakılır.
   Buraya "display" YAZILMAZ: Bootstrap'in .collapse:not(.show) kuralı iki sınıf
   özgüllüğünde olduğu için tek sınıflık bir display kuralı sessizce ezilir ve
   menü hiç görünmez. Burada yalnız hizalama tanımlanır. */
.mj-nav-collapse {
  flex: 1;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.mj-nav {
  display: flex;
  align-items: center;
  gap: .15rem;
  flex-wrap: wrap;
}

.mj-nav-link {
  position: relative;
  padding: .45rem .8rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s ease, color .15s ease;
}

.mj-nav-link:hover,
.mj-nav-link:focus-visible {
  background-color: rgba(255, 255, 255, .1);
  color: #fff;
}

.mj-nav-link.is-active {
  background-color: rgba(21, 174, 176, .22);
  color: #fff;
}

/* Etkin bölümün altındaki turkuaz çizgi: renge ek olarak biçim de ayırt eder,
   böylece renk ayrımı zor olan kullanıcı için de okunur kalır. */
.mj-nav-link.is-active::after {
  content: "";
  position: absolute;
  left: .8rem;
  right: .8rem;
  bottom: -2px;
  height: 2px;
  border-radius: 2px;
  background: var(--mj-teal);
}

.mj-user {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-shrink: 0;
}

.mj-user-name {
  font-size: .85rem;
  color: rgba(255, 255, 255, .75);
  max-width: 16rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mj-user form {
  margin: 0;
}

.mj-logout {
  border: 1px solid rgba(255, 255, 255, .35);
  background: transparent;
  color: #fff;
  border-radius: 8px;
  padding: .3rem .85rem;
  font-size: .85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}

.mj-logout:hover,
.mj-logout:focus-visible {
  background-color: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .6);
}

/* Görünürlüğü Bootstrap yönetir (.navbar-expand-lg .navbar-toggler{display:none}).
   Burada yalnız görünüm tanımlanır. */
.mj-nav-toggle {
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 40px;
  height: 34px;
  padding: 0 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 8px;
  cursor: pointer;
}

.mj-nav-toggle:focus {
  box-shadow: 0 0 0 .2rem rgba(255, 255, 255, .25);
}

.mj-nav-toggle span {
  display: block;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

@media (max-width: 991.98px) {
  /* Hamburger açıldığında dikey liste. .show ile birlikte iki sınıf özgüllüğü
     olur, Bootstrap'in gizleme kuralı zaten .show varken eşleşmez. */
  .mj-nav-collapse.show,
  .mj-nav-collapse.collapsing {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: .75rem;
    padding-bottom: 1rem;
  }

  .mj-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .mj-nav-link.is-active::after {
    display: none;
  }

  .mj-user {
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, .15);
    padding-top: .75rem;
  }
}

/* ---------- Alt bilgi ---------- */

.mj-footer {
  flex-shrink: 0;
  padding: 1.1rem 0;
  border-top: 1px solid var(--mj-line);
  background: var(--mj-surface);
  color: var(--mj-muted);
  font-size: .85rem;
}

/* ---------- Bootstrap bileşenlerinin marka uyarlaması ---------- */

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus,
.form-control:focus, .form-select:focus, .form-check-input:focus {
  box-shadow: 0 0 0 .2rem rgba(21, 174, 176, .28);
  border-color: var(--mj-teal);
}

/* DİKKAT — bu projede Bootstrap 5.1 kullanılıyor.
   5.1'de bileşen renkleri doğrudan özelliklerle tanımlıdır; `--bs-btn-bg` gibi
   değişkenler Bootstrap 5.3 ile geldi ve burada HİÇBİR ETKİSİ YOKTUR. Marka
   renkleri bu yüzden doğrudan yazılır. Bootstrap yükseltilirse bu blok
   değişken tabanlı yazıma çevrilebilir. */

.btn {
  border-radius: 9px;
  font-weight: 500;
}

/* Birincil renk marka lacivertine çekilir; vurgu turkuaz kalır. */
.btn-primary {
  color: #fff;
  background-color: var(--mj-navy);
  border-color: var(--mj-navy);
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
  color: #fff;
  background-color: var(--mj-navy-dark);
  border-color: var(--mj-navy-dark);
}

.btn-outline-primary {
  color: var(--mj-navy);
  border-color: #C3CEDF;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active,
.btn-outline-primary.active {
  color: #fff;
  background-color: var(--mj-navy);
  border-color: var(--mj-navy);
}

.btn-success {
  color: #fff;
  background-color: var(--mj-teal);
  border-color: var(--mj-teal);
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active {
  color: #fff;
  background-color: var(--mj-teal-dark);
  border-color: var(--mj-teal-dark);
}

.badge {
  font-weight: 500;
  padding: .35em .6em;
  border-radius: 6px;
}

.badge.bg-primary {
  background-color: var(--mj-navy) !important;
}

.badge.bg-success {
  background-color: var(--mj-teal) !important;
}

a {
  color: var(--mj-navy);
  text-underline-offset: .15em;
}

a:hover {
  color: var(--mj-teal-dark);
}

h1, .h1, h2, .h2, h3, .h3 {
  color: var(--mj-navy-dark);
  letter-spacing: -.01em;
}

.card {
  border: 1px solid var(--mj-line);
  border-radius: var(--mj-radius);
  background: var(--mj-surface);
  box-shadow: var(--mj-shadow);
}

.card-header {
  background-color: transparent;
  border-bottom: 1px solid var(--mj-line);
  font-weight: 600;
  color: var(--mj-navy-dark);
  padding: .85rem 1.1rem;
}

.card-body {
  padding: 1.1rem;
}

.list-group-item {
  border-color: var(--mj-line);
}

.list-group-item-action:hover {
  background-color: #F7F9FC;
}

.table {
  border-color: var(--mj-line);
  margin-bottom: 0;
}

.table > thead {
  background-color: #F7F9FC;
}

.table > thead th {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--mj-muted);
  border-bottom-width: 1px;
  padding-block: .7rem;
}

.table > tbody td {
  vertical-align: middle;
}

.progress {
  background-color: #E9EEF6;
  border-radius: 999px;
}

.progress-bar {
  background-color: var(--mj-navy);
}

.progress-bar.bg-success {
  background-color: var(--mj-teal) !important;
}

.form-control, .form-select {
  border-color: #D5DDE9;
  border-radius: 9px;
}

.form-label {
  font-weight: 500;
  font-size: .875rem;
  color: var(--mj-ink);
}

.text-muted {
  color: var(--mj-muted) !important;
}

/* ---------- İkonlar ---------- */

.mj-icon {
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  vertical-align: -0.18em;
}

.mj-nav-link,
.mj-logout {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

/* ---------- Sayı kartları (KPI) ---------- */

.mj-stat .card-body {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.mj-stat-head {
  display: flex;
  align-items: center;
  gap: .55rem;
}

.mj-stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  font-size: 1rem;
  flex: 0 0 auto;
}

/* Durum renkleri sabittir ve seri rengi olarak kullanılmaz. Renk tek başına
   anlam taşımaz: her kartta ikon ve etiket de vardır. */
.mj-tone-accent  { background: #E8F0FB; color: #2A6FC4; }
.mj-tone-warning { background: #FDF3DC; color: #8A6100; }
.mj-tone-serious { background: #FBEBE4; color: #A6532F; }
.mj-tone-muted   { background: #EEF1F6; color: var(--mj-muted); }

.mj-stat-label {
  font-size: .875rem;
  color: var(--mj-muted);
  line-height: 1.2;
}

/* Büyük tek sayılarda orantılı rakam kullanılır; tabular-nums yalnız alt alta
   hizalanması gereken tablo sütunlarında anlamlıdır. */
.mj-stat-value {
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--mj-navy-dark);
}

.mj-stat-hint {
  font-size: .8rem;
  color: var(--mj-muted);
}

/* ---------- Çubuk grafikler ---------- */

/*
  Tek serili büyüklük gösterimi. Renk tek hue'dur (marka mavisinin daha açık,
  doygun adımı); gösterge kutusu yoktur çünkü tek seri vardır — kart başlığı
  neyin çizildiğini zaten söyler.
  #2A6FC4 doğrulayıcıdan geçen adımdır: açıklık bandı, doygunluk tabanı ve
  yüzeye karşı 3:1 kontrast. Marka laciverti (#173D6F) çubuk dolgusu olarak
  fazla koyu ve gri okunuyordu, turkuaz ise beyaz üstünde 2.65 kontrasttaydı.
*/
:root {
  --mj-series: #2A6FC4;
  --mj-track: #E9EEF6;
}

.mj-bars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mj-bar-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: .3rem;
}

.mj-bar-name {
  font-size: .875rem;
  color: var(--mj-ink);
}

/* Değer etiketi metin belirtecini giyer, seri rengini değil. */
.mj-bar-value {
  font-size: .875rem;
  font-weight: 600;
  color: var(--mj-ink);
  white-space: nowrap;
}

.mj-bar-pct {
  font-weight: 400;
  color: var(--mj-muted);
}

.mj-track {
  height: 14px;
  border-radius: 999px;
  background: var(--mj-track);
  overflow: hidden;
}

.mj-track-sm { height: 10px; }
.mj-track-xs { height: 8px; }

/* Dolgu tabandan büyür; veri ucu 4px yuvarlatılır, taban ucu keskin kalır. */
.mj-fill {
  height: 100%;
  min-width: 3px;
  background: var(--mj-series);
  border-radius: 0 4px 4px 0;
  transition: width .3s ease;
}

.mj-bar-row:hover .mj-fill {
  background: #1F5AA8;
}

.mj-note {
  margin: 1rem 0 0;
  font-size: .8rem;
  color: var(--mj-muted);
  line-height: 1.5;
}

/* ---------- Sıralı tablo (satır içi büyüklük çubuğu) ---------- */

.mj-rank .mj-rank-bar {
  width: 40%;
  min-width: 90px;
}

.mj-rank tbody tr:hover {
  background-color: #F7F9FC;
}

/* Alt alta hizalanan sayı sütunu: burada tabular rakam doğru seçim. */
.mj-num {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* ---------- Modül kartları ---------- */

.mj-module {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  height: 100%;
  padding: 1rem;
  border: 1px solid var(--mj-line);
  border-radius: var(--mj-radius);
  background: var(--mj-surface);
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}

.mj-module:hover,
.mj-module:focus-visible {
  border-color: #BFD2EA;
  box-shadow: var(--mj-shadow);
  transform: translateY(-1px);
}

.mj-module-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #E8F0FB;
  color: #2A6FC4;
  font-size: 1.05rem;
  flex: 0 0 auto;
}

.mj-module-text {
  display: flex;
  flex-direction: column;
  gap: .15rem;
  min-width: 0;
}

.mj-module-title {
  font-weight: 600;
  color: var(--mj-navy-dark);
}

.mj-module-desc {
  font-size: .8rem;
  line-height: 1.45;
  color: var(--mj-muted);
}

/* Giriş ekranındaki tam logo kilidi. */
.mj-auth-logo {
  max-width: 220px;
  height: auto;
}

/* ==========================================================================
   Tanıtım sayfası (medjourney.app kök adresi)
   ==========================================================================

   Panelden bağımsız bir kabuk: bu bölümdeki hiçbir kural `.mj-` sınıflarıyla
   kesişmez, tanıtım sayfası da Bootstrap yüklemez. İkisi aynı dosyada durur
   çünkü tek stil dosyası tek istek demektir ve dosya hâlâ küçüktür.

   Yön (LTR/RTL) mantıksal özelliklerle çözülür: margin-inline, inset-inline,
   text-align: start. Arapçada <html dir="rtl"> dışında bir şey değişmez;
   sağdan sola düzen için ayrı bir stil dosyası tutulmaz.
   ========================================================================== */

:root {
  /* Tanıtım sayfası ölçüleri. Marka renkleri yukarıdaki --mj-* değişkenlerinden gelir. */
  --lp-shell: 1140px;
  --lp-radius: 18px;
  --lp-radius-sm: 12px;
  --lp-header: 68px;
  --lp-tint: #EDF4F6;
  --lp-line: #DDE5EE;
  --lp-ink: #17293F;

  /* İkincil metin ve bağlantı renkleri WCAG AA'ya göre seçildi (beyaz zeminde
     6.5:1 ve 5.3:1). Önceki değerler sınırda kalıyordu: turkuaz bağlantı 3.79:1
     ile eşiğin altındaydı ve küçük puntolu kart notu okunmuyordu.
     Bağlantı için ayrı bir token var — --mj-teal-dark paneli de besliyor. */
  --lp-muted: #4E5F74;
  --lp-link: #0C777E;

  /* Birincil eylem zemini. Marka turkuazı (--mj-teal) üzerinde beyaz yazı 2.72:1
     kalıyordu — düğme metni pratikte okunmuyordu. Turkuaz, üstünde koyu metin olan
     ya da dekoratif yerlerde (ikon zemini, rozet, nokta) olduğu gibi kullanılmaya
     devam ediyor. */
  --lp-action: #0C777E;
  --lp-action-hover: #0A666D;

  /* Başlıklarda serif his, gövdede sistem sans-serif. Dışarıdan yazı tipi
     indirilmez: üçüncü taraf isteği ve yazı tipi bekleme süresi olmaz.
     Arapça ve Kiril için sistemde bulunan karşılıklar listeye eklidir. */
  --lp-serif: Georgia, "Times New Roman", "Noto Naskh Arabic", "Segoe UI", serif;
  --lp-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial,
             "Noto Sans Arabic", "Noto Sans", sans-serif;
}

.lp-body {
  margin: 0;
  background: #fff;
  color: var(--lp-ink);
  font-family: var(--lp-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.lp-body h1,
.lp-body h2,
.lp-body h3 {
  font-family: var(--lp-serif);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--mj-navy);
}

.lp-body p {
  margin: 0;
}

.lp-body ul,
.lp-body ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lp-body a {
  color: var(--lp-link);
  text-decoration: none;
}

.lp-body a:hover {
  text-decoration: underline;
}

.lp-body img {
  max-width: 100%;
  height: auto;
  display: block;
}

.lp-body :focus-visible {
  outline: 3px solid var(--mj-teal);
  outline-offset: 2px;
  border-radius: 4px;
}

.lp-shell {
  width: 100%;
  max-width: var(--lp-shell);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

.lp-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  fill: none;
}

.lp-icon-sm {
  width: 16px;
  height: 16px;
}

/* Klavye kullanıcısı için içeriğe atlama bağlantısı; yalnız odaklanınca görünür. */
.lp-skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  z-index: 60;
  padding: .6rem 1rem;
  background: var(--mj-navy);
  color: #fff;
  border-radius: 0 0 10px 10px;
  transition: top .15s ease;
}

.lp-skip:focus {
  top: 0;
}

/* ---------- Üst çubuk ---------- */

.lp-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--lp-line);
}

.lp-header-inner {
  min-height: var(--lp-header);
  display: flex;
  align-items: center;
  gap: .5rem;
  position: relative;
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  margin-inline-end: auto;
  padding-block: .5rem;
  /* Logonun yüksekliği önceden ayrılır: görsel geç inse de üst çubuk kaymaz. */
  min-height: 52px;
}

.lp-brand img {
  height: 36px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}

.lp-brand-text {
  font-family: var(--lp-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--mj-navy);
}

/* Menüleri açan onay kutuları: görünmez ama odaklanabilir kalır. */
.lp-toggle {
  position: absolute;
  inset-inline-end: 0;
  width: 1px;
  height: 1px;
  opacity: 0;
  margin: 0;
  pointer-events: none;
}

.lp-nav-button,
.lp-lang-button {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 42px;
  padding-inline: .7rem;
  border: 1px solid var(--lp-line);
  border-radius: 999px;
  background: #fff;
  color: var(--mj-navy);
  font-size: .9rem;
  cursor: pointer;
  user-select: none;
}

.lp-nav-button:hover,
.lp-lang-button:hover {
  border-color: var(--mj-teal);
  color: var(--lp-link);
}

/* Onay kutusu odaklandığında görsel karşılığı olan etiket işaretlenir. */
.lp-toggle:focus-visible + .lp-nav-button,
.lp-toggle:focus-visible + .lp-lang-button {
  outline: 3px solid var(--mj-teal);
  outline-offset: 2px;
}

.lp-nav {
  display: none;
  position: absolute;
  inset-inline: 0;
  top: calc(100% + 1px);
  flex-direction: column;
  padding: .5rem;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 0 0 var(--lp-radius-sm) var(--lp-radius-sm);
  box-shadow: 0 18px 40px rgba(23, 61, 111, .12);
}

#lp-nav-toggle:checked ~ .lp-nav {
  display: flex;
}

.lp-nav a {
  padding: .7rem .8rem;
  border-radius: 10px;
  color: var(--mj-navy);
  font-size: .98rem;
}

.lp-nav a:hover {
  background: var(--lp-tint);
  color: var(--lp-link);
  text-decoration: none;
}

.lp-lang-current {
  max-width: 8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lp-lang-caret {
  transition: transform .15s ease;
}

#lp-lang-toggle:checked ~ .lp-lang-button .lp-lang-caret {
  transform: rotate(180deg);
}

.lp-lang-list {
  display: none;
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + .4rem);
  min-width: 11rem;
  padding: .4rem;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius-sm);
  box-shadow: 0 18px 40px rgba(23, 61, 111, .14);
}

#lp-lang-toggle:checked ~ .lp-lang-list {
  display: block;
}

.lp-lang-list a {
  display: block;
  padding: .55rem .7rem;
  border-radius: 8px;
  color: var(--mj-navy);
  font-size: .93rem;
}

.lp-lang-list a:hover {
  background: var(--lp-tint);
  text-decoration: none;
}

.lp-lang-list a.is-current {
  background: var(--lp-tint);
  color: var(--lp-link);
  font-weight: 600;
}

@media (min-width: 900px) {
  .lp-nav-button {
    display: none;
  }

  .lp-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: .2rem;
    padding: 0;
    margin-inline-end: .6rem;
    border: 0;
    box-shadow: none;
    background: none;
  }

  .lp-nav a {
    padding: .5rem .8rem;
    font-size: .95rem;
  }
}

/* ---------- Düğmeler ---------- */

.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding-inline: 1.6rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}

.lp-btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.lp-btn-primary {
  background: var(--lp-action);
  color: #fff;
  box-shadow: 0 10px 24px rgba(12, 119, 126, .30);
}

.lp-btn-primary:hover {
  background: var(--lp-action-hover);
  color: #fff;
}

.lp-btn-ghost {
  border-color: var(--mj-navy);
  color: var(--mj-navy);
  background: #fff;
}

.lp-btn-ghost:hover {
  background: var(--mj-navy);
  color: #fff;
}

/* ---------- Karşılama ---------- */

.lp-hero {
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(21, 174, 176, .10) 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(180deg, var(--lp-tint) 0%, #fff 100%);
  padding-block: clamp(2.5rem, 7vw, 5rem);
}

.lp-hero-inner {
  display: grid;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}

.lp-hero-title {
  font-size: clamp(2.1rem, 5.2vw, 3.4rem);
  margin-bottom: 1rem;
}

.lp-hero-sub {
  font-size: clamp(1.02rem, 1.9vw, 1.18rem);
  color: var(--lp-muted);
  max-width: 34rem;
}

.lp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

.lp-hero-image {
  width: 100%;
  border-radius: var(--lp-radius);
  box-shadow: 0 30px 60px rgba(23, 61, 111, .16);
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (min-width: 900px) {
  .lp-hero-inner {
    grid-template-columns: 1.05fr 1fr;
  }
}

/* ---------- Bölümler ---------- */

.lp-section {
  padding-block: clamp(2.75rem, 7vw, 4.75rem);
}

.lp-section-tint {
  background: var(--lp-tint);
}

.lp-section-title {
  font-size: clamp(1.6rem, 3.4vw, 2.25rem);
}

.lp-section-intro {
  margin-top: .75rem;
  color: var(--lp-muted);
  max-width: 46rem;
}

/* ---------- Nasıl işler ---------- */

.lp-steps {
  display: grid;
  gap: 1.1rem;
  margin-top: 2.25rem;
}

.lp-step {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  box-shadow: 0 1px 2px rgba(23, 61, 111, .04);
}

.lp-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.lp-step-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(21, 174, 176, .16);
  color: var(--lp-link);
}

.lp-step-number {
  font-family: var(--lp-serif);
  font-size: 1.7rem;
  line-height: 1;
  /* Dekoratif ama okunur: %18 saydamlıkta 1.38:1 ile neredeyse görünmezdi. */
  color: #7288A4;
}

.lp-step-title {
  font-size: 1.12rem;
  margin-bottom: .5rem;
}

.lp-step-text {
  color: var(--lp-muted);
  font-size: .95rem;
}

/* ---------- Neden MedJourney ---------- */

.lp-reasons {
  display: grid;
  gap: 1.1rem;
  margin-top: 2.25rem;
}

.lp-reason {
  padding: 1.5rem;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
}

.lp-reason-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 1.1rem;
  border-radius: 14px;
  background: rgba(23, 61, 111, .08);
  color: var(--mj-navy);
}

.lp-reason-title {
  font-size: 1.1rem;
  margin-bottom: .5rem;
}

.lp-reason-text {
  color: var(--lp-muted);
  font-size: .95rem;
}

@media (min-width: 640px) {
  .lp-steps,
  .lp-reasons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .lp-steps,
  .lp-reasons {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ---------- Tedavi kartları ---------- */

.lp-cards {
  display: grid;
  gap: 1.35rem;
  margin-top: 2.25rem;
}

.lp-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  box-shadow: 0 1px 2px rgba(23, 61, 111, .04);
  transition: box-shadow .18s ease, transform .18s ease;
}

.lp-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(23, 61, 111, .12);
}

.lp-card-media {
  background: var(--lp-tint);
}

.lp-card-image {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.lp-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 1.35rem;
}

.lp-card-title {
  font-size: 1.15rem;
  margin-bottom: .55rem;
}

.lp-card-text {
  color: var(--lp-muted);
  font-size: .95rem;
}

/* Uyum notu her kartın en altına sabitlenir; kart yüksekliği değişse de hizalı kalır. */
.lp-card-note {
  margin-top: auto;
  padding-top: 1.1rem;
  color: var(--lp-muted);
  font-size: .86rem;
  line-height: 1.55;
  border-top: 1px solid var(--lp-line);
}

@media (min-width: 640px) {
  .lp-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .lp-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Hekimler ---------- */

.lp-doctors {
  display: grid;
  gap: 1.35rem;
  margin-top: 2.25rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lp-doctor {
  padding: 1.25rem;
  text-align: center;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
}

.lp-doctor-media {
  width: min(130px, 60%);
  margin-inline: auto;
  margin-bottom: 1rem;
}

.lp-doctor-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 10px 24px rgba(23, 61, 111, .14);
}

.lp-doctor-name {
  font-size: 1.02rem;
  margin-bottom: .3rem;
}

.lp-doctor-specialty {
  color: var(--lp-muted);
  font-size: .88rem;
}

@media (min-width: 720px) {
  .lp-doctors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .lp-doctors {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

/* ---------- Uygulama bölümü ---------- */

.lp-app {
  background: linear-gradient(160deg, var(--mj-navy) 0%, var(--mj-navy-dark) 100%);
  color: #fff;
  padding-block: clamp(3rem, 7vw, 5rem);
  overflow: hidden;
}

.lp-app-inner {
  display: grid;
  gap: clamp(2.25rem, 6vw, 4rem);
  align-items: center;
}

.lp-app-title {
  color: #fff;
  font-size: clamp(1.6rem, 3.4vw, 2.25rem);
  margin-bottom: .9rem;
}

.lp-app-lead {
  color: rgba(255, 255, 255, .88);
  max-width: 32rem;
}

.lp-stores {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: 2rem;
}

.lp-store {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  min-height: 52px;
  padding-inline: 1.15rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: .95rem;
  font-weight: 600;
}

a.lp-store:hover {
  background: rgba(255, 255, 255, .16);
  color: #fff;
  text-decoration: none;
}

/* Mağaza bağlantısı henüz yokken rozet pasif durur: tıklanmaz, "Yakında" der. */
.lp-store.is-pending {
  opacity: .72;
  cursor: default;
}

.lp-store-glyph {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: none;
}

.lp-store-soon {
  margin-inline-start: .2rem;
  padding: .18rem .55rem;
  border-radius: 999px;
  background: var(--mj-teal);
  color: #08343A;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  white-space: nowrap;
}

/* Telefon çerçevesi: ayrı bir ekran görüntüsü dosyası yerine kliniğin kendi
   görselleri ve kendi tedavi adlarıyla kurulan temsilî görünüm. */
.lp-app-media {
  display: flex;
  justify-content: center;
}

.lp-phone {
  width: min(268px, 76vw);
  padding: 11px;
  border-radius: 38px;
  background: linear-gradient(180deg, #23486F 0%, #0E2440 100%);
  box-shadow: 0 30px 70px rgba(0, 0, 0, .38), inset 0 0 0 1px rgba(255, 255, 255, .12);
}

.lp-phone-screen {
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  color: var(--lp-ink);
}

.lp-phone-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem .9rem .8rem;
  background: linear-gradient(180deg, rgba(21, 174, 176, .16) 0%, #fff 100%);
}

.lp-phone-brand {
  font-family: var(--lp-serif);
  font-size: .95rem;
  font-weight: 600;
  color: var(--mj-navy);
}

.lp-phone-hero {
  padding-inline: .75rem;
}

.lp-phone-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 14px;
}

.lp-phone-list {
  padding: .85rem .75rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.lp-phone-list li {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .6rem .7rem;
  border: 1px solid var(--lp-line);
  border-radius: 12px;
  font-size: .8rem;
  color: var(--mj-navy);
}

.lp-phone-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mj-teal);
  flex: 0 0 auto;
}

@media (min-width: 900px) {
  .lp-app-inner {
    grid-template-columns: 1.1fr .9fr;
  }
}

/* ---------- İletişim ---------- */

.lp-contact {
  display: grid;
  gap: 1.1rem;
  margin-top: 2.25rem;
}

.lp-contact-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: .25rem 1rem;
  padding: 1.35rem;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
}

.lp-contact-icon {
  grid-row: span 2;
  color: var(--lp-link);
  margin-top: .15rem;
}

.lp-contact-label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--lp-muted);
}

.lp-contact-value {
  color: var(--mj-navy);
  font-weight: 600;
  overflow-wrap: anywhere;
}

@media (min-width: 720px) {
  .lp-contact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ---------- Uyum sayfaları ---------- */

.lp-legal {
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

.lp-legal-shell {
  max-width: 46rem;
}

.lp-legal-title {
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  margin-bottom: 1.5rem;
}

.lp-legal p {
  margin-bottom: 1.1rem;
  color: #33465E;
}

.lp-legal-summary {
  font-size: 1.08rem;
  color: var(--lp-muted);
}

.lp-legal-missing {
  padding: 1.1rem 1.25rem;
  background: var(--lp-tint);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius-sm);
  color: var(--lp-muted);
}

.lp-legal-meta {
  font-size: .85rem;
  color: var(--lp-muted);
}

.lp-legal-back {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--lp-line);
}

/* ---------- Alt bilgi ---------- */

.lp-footer {
  background: var(--mj-navy-dark);
  color: rgba(255, 255, 255, .86);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  font-size: .92rem;
}

.lp-footer-grid {
  display: grid;
  gap: 2rem;
}

.lp-footer-brand {
  display: block;
  font-family: var(--lp-serif);
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: .6rem;
}

.lp-footer-about p {
  max-width: 26rem;
}

.lp-footer-heading {
  font-family: var(--lp-sans);
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(255, 255, 255, .72);
  margin-bottom: .85rem;
}

.lp-footer-list {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.lp-footer-list a {
  color: rgba(255, 255, 255, .82);
}

.lp-footer-list a:hover,
.lp-footer-list a.is-current {
  color: #fff;
}

.lp-footer-lang-list {
  flex-direction: row;
  flex-wrap: wrap;
  gap: .4rem .9rem;
}

.lp-copyright {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .14);
  font-size: .85rem;
  color: rgba(255, 255, 255, .7);
}

@media (min-width: 720px) {
  .lp-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .lp-footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
  }
}

/* ---------- Sağdan sola (Arapça) ---------- */

/* Düzenin tamamı mantıksal özelliklerle kurulduğu için geriye yalnız birkaç ayrıntı
   kalır: telefon numarası ve e-posta gibi her zaman soldan sağa okunan değerler
   dir="ltr" ile işaretlidir, hizaları burada düzeltilir. */
[dir="rtl"] .lp-contact-value[dir="ltr"],
[dir="rtl"] .lp-footer-list a[dir="ltr"] {
  display: inline-block;
  text-align: right;
}

/* ---------- Hareket azaltma tercihi ---------- */

@media (prefers-reduced-motion: reduce) {
  .lp-body *,
  .lp-body *::before,
  .lp-body *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }

  .lp-btn:hover,
  .lp-card:hover {
    transform: none;
  }
}

/* Bölümler arasındaki yumuşak geçiş: menüden bir bölüme gidildiğinde kaydırma ani
   kesilmez. Yapışkan üst çubuğun altında kalmaması için hedefe pay bırakılır. */
@media (prefers-reduced-motion: no-preference) {
  html:has(.lp-body) {
    scroll-behavior: smooth;
  }
}

.lp-body [id] {
  scroll-margin-top: calc(var(--lp-header) + 1rem);
}
