@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap");

* { box-sizing: border-box; }

body {
  margin: 0;
  background: #f4f6f9;
  font-family: Manrope, ui-sans-serif, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #0b1f3a;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  outline: none;
  margin: 0;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #1f4e79;
  border: 4px solid #fff;
  box-shadow: 0 2px 8px rgba(31, 78, 121, 0.35);
  cursor: pointer;
}
input[type="text"]:focus { outline: none; }

.page { min-height: 100vh; background: #f4f6f9; display: flex; flex-direction: column; }

/* Grid ile birebir aynı hizada dursun diye .container'a bel bağlamıyoruz;
   ölçüler burada açıkça tanımlı. */
.calc-intro {
  width: 100%; max-width: 1140px; margin: 0 auto; padding: 24px 24px 0;
  text-align: left;
  display: flex; flex-direction: column; align-items: flex-start;
}
.calc-intro-top { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
@media (max-width: 700px) { .calc-intro-top { gap: 10px; } }
.calc-intro h1 { margin: 0; font-size: 27px; line-height: 1.2; font-weight: 800; letter-spacing: -0.025em; }
@media (max-width: 620px) {
  .calc-intro { padding: 18px 16px 0; }
  .calc-intro h1 { font-size: 21px; }
  .calc-intro-top { gap: 10px; }
  .delivery-pill { padding: 6px 12px; }
  .delivery-pill strong { font-size: 13px; }
}

.date-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.date-row label { display: block; font-size: 12px; font-weight: 700; color: #0b1f3a; margin-bottom: 5px; }
.date-row input, .date-row select {
  width: 100%; border: 1.5px solid #dfe5ee; border-radius: 10px; background: #fbfcfe;
  padding: 9px 10px; font-family: Manrope, sans-serif; font-size: 13px; font-weight: 700; color: #0b1f3a;
}
.date-row input:focus, .date-row select:focus { outline: none; border-color: #1f4e79; box-shadow: 0 0 0 3px rgba(31, 78, 121, 0.1); }
.plan-note strong { font-weight: 800; color: #0b1f3a; }

.grid {
  flex: 1;
  width: 100%; max-width: 1140px; margin: 0 auto; padding: 18px 24px 0;
  display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 20px; align-items: start;
}
@media (max-width: 900px) {
  .grid { grid-template-columns: minmax(0, 1fr); padding: 0 16px; }
  .form-col { position: static !important; }
}

.form-col { position: sticky; top: 20px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.card {
  background: #fff; border: 1px solid #e6eaf1; border-radius: 18px; padding: 20px;
  box-shadow: 0 10px 30px rgba(31, 78, 121, 0.06);
}
.field-group { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 9px; }
.field-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.field-label-row label { font-size: 13px; font-weight: 700; color: #0b1f3a; }
.field-hint { font-size: 11px; font-weight: 500; color: #a3adbb; white-space: nowrap; }
.field-hint.strong { font-weight: 700; color: #0f766e; }

.eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #8a97a8;
}
.plan-note { margin: 0; font-size: 12px; line-height: 1.5; color: #8a97a8; }
.divider { height: 1px; background: #eef1f6; }

/* Ürün seçimi: yasal azami finansman vadesini (ev 120 / araç 60 ay) belirler */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.product-btn {
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 6px;
  border: 1.5px solid #dfe5ee; background: #fbfcfe; border-radius: 10px;
  padding: 8px 10px; cursor: pointer; font-family: Manrope, sans-serif;
  transition: all 0.15s;
}
.product-btn svg { flex: none; }
.product-btn span { font-size: 12.5px; font-weight: 800; color: #0b1f3a; white-space: nowrap; }
.product-btn:hover { border-color: #1f4e79; }
.product-btn.on {
  background: #1f4e79; border-color: #1f4e79;
  box-shadow: 0 3px 10px rgba(31, 78, 121, 0.22);
}
.product-btn.on span { color: #fff; }

/* Teslimat rozetindeki yasal sınır uyarı ikonu */
.pill-warn { display: inline-flex; align-items: center; cursor: help; }

.seg-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px;
  background: #eef1f6; border-radius: 12px; padding: 5px;
}
.seg-btn {
  border: none; border-radius: 9px; padding: 11px 6px; font-family: Manrope, sans-serif;
  font-size: 12.5px; font-weight: 700; cursor: pointer; transition: all 0.15s;
  background: transparent; color: #5d6b80;
}
.seg-btn.on { background: #1f4e79; color: #fff; box-shadow: 0 4px 12px rgba(31, 78, 121, 0.25); }

.money-input {
  display: flex; align-items: center; gap: 8px; border: 1.5px solid #dfe5ee; border-radius: 11px;
  padding: 0 13px; background: #fbfcfe;
}
.money-input:focus-within { border-color: #1f4e79; box-shadow: 0 0 0 3px rgba(31, 78, 121, 0.1); }
.money-input input {
  flex: 1; min-width: 0; border: none; background: transparent; padding: 11px 0;
  font-family: Manrope, sans-serif; font-size: 21px; font-weight: 800; color: #0b1f3a; letter-spacing: -0.01em;
}
.money-input span { font-size: 16px; font-weight: 700; color: #a3adbb; }

.notice {
  display: flex; align-items: flex-start; gap: 8px; background: #ecfdf5; border: 1px solid #a7f3d0;
  border-radius: 10px; padding: 9px 11px;
}
.notice span { font-size: 12px; font-weight: 600; color: #047857; line-height: 1.45; }
.notice.notice-warn { background: #fffbeb; border-color: #fde68a; }
.notice.notice-warn span { color: #92400e; }
.notice.notice-alert { background: #fef2f2; border-color: #fecaca; }
.notice.notice-alert span { color: #991b1b; }
.notice strong { font-weight: 800; }
.flex-hint {
  display: flex; gap: 9px; background: #f4f7fb; border: 1px solid #e2e8f2; border-radius: 12px; padding: 12px 13px;
}
.flex-hint p { margin: 0; font-size: 12px; line-height: 1.5; color: #5d6b80; }
.flex-hint strong { font-weight: 800; color: #0b1f3a; }

.result-col { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.result-card {
  background: linear-gradient(180deg, #1f4e79 0%, #2a5f92 100%); border-radius: 18px; padding: 22px;
  box-shadow: 0 16px 40px rgba(31, 78, 121, 0.26);
}
.summary-top { display: flex; flex-direction: column; gap: 18px; }
.delivery-note { margin: 0; font-size: 12.5px; line-height: 1.5; color: #8fa6c4; }


.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.metric {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.09); border-radius: 12px;
  padding: 10px 11px; min-width: 0; overflow: hidden;
}
.metric-label { margin: 0; font-size: 10.5px; font-weight: 600; color: #8fa6c4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.metric-value {
  margin: 4px 0 0; font-size: 14.5px; font-weight: 800; color: #fff; letter-spacing: -0.01em;
  overflow-wrap: break-word; line-height: 1.25;
}
.metric-sub { margin: 3px 0 0; font-size: 10px; font-weight: 600; color: #8fa6c4; line-height: 1.35; }
.metric.metric-alert { background: rgba(248, 113, 113, 0.14); border-color: rgba(248, 113, 113, 0.45); }
.metric.metric-alert .metric-sub { color: #fca5a5; }

.result-divider { height: 1px; background: rgba(255, 255, 255, 0.1); margin: 16px 0; }
.progress-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.progress-label-row span:first-child { font-size: 12px; font-weight: 700; color: #c7d6ea; }
.progress-label-row span:last-child { font-size: 12px; font-weight: 800; color: #10b981; white-space: nowrap; }
.progress-track { position: relative; height: 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.progress-bar { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: linear-gradient(90deg, #059669, #34d399); transition: width 0.3s ease; }
.progress-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 7px; }
.progress-foot span { font-size: 11px; font-weight: 600; color: #8fa6c4; white-space: nowrap; }

.table-card {
  background: #fff; border: 1px solid #e6eaf1; border-radius: 16px; overflow: hidden;
  box-shadow: 0 10px 30px rgba(31, 78, 121, 0.06);
  display: flex; flex-direction: column; min-height: 0;
}
.table-head-bar {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 10px;
  padding: 16px 18px; border-bottom: 1px solid #eef1f6;
}
.table-head-bar h2 { margin: 0 0 2px; font-size: 15px; font-weight: 800; color: #0b1f3a; letter-spacing: -0.01em; }
.table-head-bar span { font-size: 11.5px; font-weight: 600; color: #8a97a8; }
.table-head-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.tbl-btn {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid #dfe5ee; background: #fff; color: #0b1f3a;
  border-radius: 9px; padding: 8px 12px; cursor: pointer;
  font-family: Manrope, sans-serif; font-size: 12px; font-weight: 700; white-space: nowrap;
}
.tbl-btn:hover { border-color: #1f4e79; }
.tbl-btn.primary { background: #1f4e79; border-color: #1f4e79; color: #fff; }
.tbl-btn.primary:hover { background: #2a5f92; }

.plan-head-row {
  display: grid; grid-template-columns: 40px 1fr 110px 100px 120px; gap: 10px; padding: 10px 18px;
  background: #f4f6f9; border-bottom: 1px solid #e6eaf1; font-size: 10.5px; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase; color: #8a97a8; flex: none;
}
.table-body { min-height: 0; max-height: min(64vh, 620px); overflow-y: auto; }
.plan-row {
  display: grid; grid-template-columns: 40px 1fr 110px 100px 120px; gap: 6px 10px; align-items: center;
  padding: 9px 18px; border-bottom: 1px solid #f1f4f9;
}
.plan-row.delivery { background: #f2fdf8; }
.plan-row.odd { background: #ffffff; }
.plan-row.even { background: #fbfcfe; }
.plan-row .n { font-size: 12.5px; font-weight: 800; color: #0b1f3a; }
.plan-row .label { font-size: 12.5px; font-weight: 600; color: #5d6b80; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.plan-row .org-cell { font-size: 11.5px; font-weight: 600; color: #b45309; text-align: right; white-space: nowrap; }
/* Org. ücreti mobilde ayrı sütun olarak sığmıyor; vade tarihinin altında
   farklı renkte bir ipucu satırına iniyor. Masaüstünde sütun zaten var. */
.org-hint { display: none; font-style: normal; font-size: 10.5px; font-weight: 700; color: #b45309; }
.plan-row .cum { font-size: 12px; font-weight: 600; color: #8a97a8; text-align: right; white-space: nowrap; }
@media (max-width: 620px) {
  /* Sütunlar: Ay | Vade Tarihi (+org ipucu) | Taksit | Kümülatif */
  .plan-head-row, .plan-row {
    grid-template-columns: 28px minmax(0, 1fr) 82px 90px;
    gap: 6px 7px; padding: 8px 14px;
  }
  .plan-head-row span:nth-child(4) { display: none; } /* Org. Ücreti başlığı */
  .plan-row .org-cell { display: none; }              /* Org. ücreti sütunu */
  .org-hint { display: block; }
  .plan-row .label {
    display: flex; flex-direction: column; gap: 2px;
    white-space: normal; overflow: visible; text-overflow: clip;
    font-size: 12px;
  }
  .plan-row .cum { font-size: 11.5px; }
  .cell-input { font-size: 12px; padding: 5px 6px; }
}
.cell-input {
  width: 100%; box-sizing: border-box; font-family: Manrope, sans-serif; font-size: 12.5px; font-weight: 700;
  color: #0b1f3a; text-align: right; white-space: nowrap; padding: 5px 8px; border-radius: 8px;
  border: 1px solid transparent; background: transparent;
}
.cell-input.editable { border: 1px dashed #cbd5e1; background: #fff; cursor: pointer; }
.cell-input.editable:focus { border: 1.5px solid #1f4e79; box-shadow: 0 0 0 3px rgba(31, 78, 121, 0.1); }
.delivery-tag {
  grid-column: 1 / -1; justify-self: start; display: inline-flex; align-items: center; gap: 6px;
  background: #ecfdf5; border: 1px solid #a7f3d0; border-radius: 999px; padding: 4px 10px;
  font-size: 11px; font-weight: 800; color: #047857;
}
.table-foot { margin: 0; padding: 12px 18px; font-size: 11px; line-height: 1.55; color: #a3adbb; border-top: 1px solid #eef1f6; }

.legal-note {
  display: flex; gap: 12px; background: #eff6ff; border: 1px solid #bfdbfe; border-radius: 14px; padding: 14px 16px;
}
.legal-note p { margin: 0; font-size: 12.5px; line-height: 1.6; color: #1e3a8a; }
.legal-note strong { font-weight: 800; }

/* Sihirbaz (wizard) modal */
.wizard-overlay {
  position: fixed; inset: 0; background: rgba(31, 78, 121, 0.55); backdrop-filter: blur(2px);
  display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 100;
}
.wizard-modal {
  background: #fff; border-radius: 22px; width: 100%; max-width: 880px;
  max-height: 92vh; min-height: min(640px, 88vh);
  display: flex; flex-direction: column; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35); overflow: hidden;
}
.wizard-head {
  display: flex; align-items: center; justify-content: space-between; padding: 18px 26px;
  border-bottom: 1px solid #eef1f6; font-size: 15.5px; font-weight: 800; color: #0b1f3a;
}
.wizard-close { border: none; background: #f4f6f9; border-radius: 8px; padding: 6px; cursor: pointer; display: flex; }
.wizard-progress { display: flex; gap: 6px; padding: 14px 26px 0; }
.wizard-dot { height: 5px; flex: 1; border-radius: 999px; background: #eef1f6; }
.wizard-dot.on { background: #1f4e79; }
.wizard-body { padding: 26px 30px; overflow-y: auto; flex: 1; min-height: 0; }
.wizard-body h3 { margin: 0 0 6px; font-size: 21px; line-height: 1.25; font-weight: 800; color: #0b1f3a; }
.wizard-sub { margin: 0 0 22px; font-size: 14.5px; line-height: 1.55; color: #8a97a8; }
.wizard-actions { display: flex; justify-content: space-between; gap: 10px; padding: 18px 26px; border-top: 1px solid #eef1f6; }
.wizard-actions button {
  border: none; border-radius: 11px; padding: 13px 26px; font-family: Manrope, sans-serif;
  font-size: 14.5px; font-weight: 800; cursor: pointer; background: #1f4e79; color: #fff;
}
.wizard-actions button.secondary { background: #f4f6f9; color: #5d6b80; }
.wizard-actions button:disabled { opacity: 0.4; cursor: not-allowed; }

.wizard-choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px; }
.wizard-choice {
  text-align: left; border: 1.5px solid #dfe5ee; border-radius: 14px; padding: 17px; background: #fbfcfe;
  cursor: pointer; display: flex; flex-direction: column; gap: 6px;
}
.wizard-choice strong { font-size: 15px; color: #0b1f3a; }
.wizard-choice span { font-size: 13px; color: #8a97a8; line-height: 1.5; }
.wizard-choice.on { border-color: #1f4e79; background: #eef3fb; box-shadow: 0 0 0 3px rgba(31, 78, 121, 0.08); }

/* Adım içi canlı önizleme / yönlendirme metinleri */
.wizard-hint {
  margin-top: 16px; background: #f4f7fb; border: 1px solid #e2e8f2; border-radius: 12px;
  padding: 14px 16px; font-size: 13.5px; line-height: 1.6; color: #5d6b80;
}
.wizard-hint strong { color: #0b1f3a; font-weight: 800; }
.wizard-preview {
  margin-top: 20px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  background: #1f4e79; border-radius: 14px; padding: 17px 19px;
}
.wizard-preview span { font-size: 13px; font-weight: 600; color: #8fa6c4; }
.wizard-preview strong { font-size: 24px; font-weight: 800; color: #fff; letter-spacing: -0.015em; white-space: nowrap; }
.wizard-preview-note { margin: 9px 0 0; font-size: 13px; line-height: 1.55; color: #8a97a8; }
.wizard-warn {
  margin-top: 10px; display: flex; align-items: flex-start; gap: 8px;
  background: #fffbeb; border: 1px solid #fde68a; border-radius: 10px; padding: 10px 12px;
}
.wizard-warn span { font-size: 12.5px; line-height: 1.55; color: #92400e; }
.wizard-warn strong { font-weight: 800; }

.wizard-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.wizard-result-card { border: 1.5px solid #e6eaf1; border-radius: 15px; padding: 18px; display: flex; flex-direction: column; gap: 9px; }
.wizard-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.wizard-card-note { font-size: 10.5px; font-weight: 700; color: #0f766e; text-align: right; }
.wizard-card-tag { align-self: flex-start; font-size: 10.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.04em; }
.wizard-card-tag.klasik { background: #eef3fb; color: #0b1f3a; }
.wizard-card-tag.esnek { background: #ecfdf5; color: #047857; }
.wizard-result-card h4 { margin: 0; font-size: 16px; line-height: 1.3; font-weight: 800; color: #0b1f3a; }
.wizard-card-desc { margin: 0; font-size: 12.5px; line-height: 1.5; color: #8a97a8; }
.wizard-card-stats { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.wizard-card-stats div { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.wizard-card-stats span { color: #8a97a8; }
.wizard-card-stats strong { color: #0b1f3a; }
.wizard-card-actions { margin-top: auto; display: flex; flex-direction: column; gap: 6px; }
.wizard-view-btn {
  border: 1px solid #dfe5ee; background: #fff; color: #5d6b80;
  border-radius: 9px; padding: 9px; cursor: pointer;
  font-family: Manrope, sans-serif; font-size: 12.5px; font-weight: 700;
}
.wizard-view-btn:hover { border-color: #1f4e79; color: #0b1f3a; }
.wizard-use-btn {
  margin-top: 0; background: #1f4e79; color: #fff; border: none; border-radius: 10px; padding: 12px;
  font-size: 13.5px; font-weight: 800; cursor: pointer;
}


/* ---------- Sihirbaz: "en ideal plan ayarlanıyor" ekranı ---------- */
.ai-loading {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 26px 0 10px;
}
.ai-loading h3 { margin: 30px 0 8px; font-size: 23px; font-weight: 800; color: #0b1f3a; }
.ai-loading-sub { margin: 0 0 26px; font-size: 15px; font-weight: 600; color: #0f766e; min-height: 22px; }

/* Yörüngede dönen parçacıklar + süzülen orb: sadece "yükleniyor" değil,
   arka planda bir şey hesaplanıyormuş hissi veriyor. */
.ai-orb {
  position: relative; width: 118px; height: 118px; display: grid; place-items: center;
  animation: aiFloat 3.4s ease-in-out infinite;
}
.ai-orb-ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, #10b981, #3b82f6, #8b5cf6, #ec4899, #10b981);
  animation: aiSpin 2.6s linear infinite;
}
.ai-orb-ring::after {
  content: ""; position: absolute; inset: 7px; border-radius: 50%; background: #fff;
}
.ai-orb-core {
  position: relative; z-index: 1; width: 78px; height: 78px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #1f4e79, #2a5f92);
  box-shadow: 0 10px 26px rgba(31, 78, 121, 0.36);
  animation: aiPulse 1.9s ease-in-out infinite;
}
.ai-orb-core svg { animation: aiWobble 3.2s ease-in-out infinite; }

.ai-orbit { position: absolute; inset: -12px; animation: aiSpin 3.2s linear infinite; pointer-events: none; }
.ai-orbit i {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: #34d399; box-shadow: 0 0 10px rgba(52, 211, 153, 0.95);
}
.ai-orbit.o2 { inset: -2px; animation-duration: 2.2s; animation-direction: reverse; }
.ai-orbit.o2 i { width: 6px; height: 6px; background: #60a5fa; box-shadow: 0 0 9px rgba(96, 165, 250, 0.95); }
.ai-orbit.o3 { inset: -22px; animation-duration: 4.4s; }
.ai-orbit.o3 i { width: 5px; height: 5px; background: #c084fc; box-shadow: 0 0 9px rgba(192, 132, 252, 0.95); }

@keyframes aiSpin { to { transform: rotate(360deg); } }
@keyframes aiFloat {
  0%, 100% { transform: translateY(-5px); }
  50% { transform: translateY(5px); }
}
@keyframes aiPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}
@keyframes aiWobble {
  0%, 100% { transform: rotate(-9deg) scale(1); }
  50% { transform: rotate(9deg) scale(1.1); }
}

/* İlerleme çubuğu (akan gradient) */
.ai-progress {
  position: relative; width: min(380px, 100%); height: 8px; border-radius: 999px;
  background: #eef1f6; overflow: hidden; margin-bottom: 24px;
}
.ai-progress span {
  display: block; height: 100%; border-radius: 999px; width: 20%;
  background: linear-gradient(90deg, #10b981, #3b82f6, #8b5cf6);
  background-size: 200% 100%;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: aiFlow 2.2s linear infinite;
}
@keyframes aiFlow {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Aşama listesi */
.ai-steps { list-style: none; margin: 0; padding: 0; width: min(400px, 100%); text-align: left; }
.ai-steps li {
  display: flex; align-items: center; gap: 11px; padding: 8px 0;
  font-size: 13.5px; font-weight: 600; color: #a3adbb;
  transition: color 0.25s ease;
}
.ai-step-dot {
  flex: none; width: 17px; height: 17px; border-radius: 50%;
  border: 2px solid #dfe5ee; background: #fff; position: relative;
  transition: all 0.25s ease;
}
.ai-steps li.active { color: #0b1f3a; font-weight: 800; }
.ai-steps li.active .ai-step-dot {
  border-color: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16);
  animation: aiDot 1.1s ease-in-out infinite;
}
.ai-steps li.done { color: #5d6b80; }
.ai-steps li.done .ai-step-dot { border-color: #10b981; background: #10b981; }
.ai-steps li.done .ai-step-dot::after {
  content: ""; position: absolute; left: 4px; top: 1px;
  width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
@keyframes aiDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.16); }
  50% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0.08); }
}

@media (prefers-reduced-motion: reduce) {
  .ai-orb, .ai-orb-ring, .ai-orb-core, .ai-orb-core svg, .ai-orbit,
  .ai-progress span, .ai-steps li.active .ai-step-dot {
    animation: none;
  }
  .ai-orbit { display: none; }
}


/* ---------- Sihirbaz: hedef teslimat ayı butonları ---------- */
.month-grid {
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px;
}
.month-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  border: 1.5px solid #dfe5ee; background: #fbfcfe; border-radius: 11px;
  padding: 10px 6px; cursor: pointer; font-family: Manrope, sans-serif;
  transition: all 0.15s ease;
}
.month-btn strong { font-size: 13.5px; font-weight: 800; color: #0b1f3a; letter-spacing: -0.01em; }
.month-btn em { font-style: normal; font-size: 10.5px; font-weight: 700; color: #a3adbb; }
.month-btn:hover { border-color: #1f4e79; }
.month-btn.on {
  background: #1f4e79; border-color: #1f4e79;
  box-shadow: 0 4px 12px rgba(31, 78, 121, 0.24);
}
.month-btn.on strong { color: #fff; }
.month-btn.on em { color: #8fa6c4; }

.link-btn {
  margin-top: 14px; border: none; background: none; padding: 0;
  font-family: Manrope, sans-serif; font-size: 13px; font-weight: 700;
  color: #0f766e; cursor: pointer; text-decoration: underline;
}
.link-btn:hover { color: #0b1f3a; }

@media (max-width: 620px) {
  .month-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .month-btn { padding: 9px 5px; }
  .month-btn strong { font-size: 13px; }
}


/* ---------- Ödeme planı: tam ekran modal ---------- */
.plan-overlay {
  position: fixed; inset: 0; z-index: 120;
  background: rgba(31, 78, 121, 0.6);
  display: flex; align-items: center; justify-content: center; padding: 16px;
}
.plan-modal {
  background: #fff; border-radius: 18px;
  width: 100%; max-width: 1100px; max-height: 94vh;
  display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}
.plan-modal-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 14px;
  padding: 18px 22px; border-bottom: 1px solid #eef1f6; flex-wrap: wrap;
}
.plan-modal-head h2 { margin: 0 0 3px; font-size: 18px; font-weight: 800; color: #0b1f3a; }
.plan-modal-head > div > span { font-size: 12.5px; font-weight: 600; color: #8a97a8; }
.plan-modal-actions { display: flex; align-items: center; gap: 8px; }
.plan-pdf-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: #1f4e79; color: #fff; border: none; border-radius: 10px;
  padding: 10px 16px; cursor: pointer;
  font-family: Manrope, sans-serif; font-size: 13px; font-weight: 800;
}
.plan-pdf-btn:hover { background: #2a5f92; }
.plan-close { border: none; background: #f4f6f9; border-radius: 9px; padding: 9px; cursor: pointer; display: flex; }
.plan-close:hover { background: #e6eaf1; }
.plan-modal-body { padding: 20px 22px 24px; overflow-y: auto; }

.plan-ozet { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 20px; }
@media (max-width: 760px) { .plan-ozet { grid-template-columns: minmax(0, 1fr); } }
.plan-ozet-blok { border: 1px solid #e6eaf1; border-radius: 13px; padding: 15px 17px; background: #fbfcfe; }
.plan-ozet-blok h3 {
  margin: 0 0 10px; font-size: 11px; font-weight: 800; letter-spacing: 0.09em;
  text-transform: uppercase; color: #8a97a8;
}
.plan-ozet-blok dl { margin: 0; }
.plan-ozet-blok dl > div {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 5px 0; border-bottom: 1px dotted #e6eaf1; font-size: 13px;
}
.plan-ozet-blok dl > div:last-child { border-bottom: none; }
.plan-ozet-blok dt { color: #5d6b80; }
.plan-ozet-blok dd { margin: 0; font-weight: 800; color: #0b1f3a; text-align: right; }
.plan-ozet-not { margin: 9px 0 0; font-size: 11px; line-height: 1.5; color: #92400e; }

.plan-tablo { width: 100%; border-collapse: collapse; font-size: 13px; }
.plan-tablo th {
  background: #1f4e79; color: #fff; padding: 10px 12px; text-align: left;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  position: sticky; top: 0;
}
.plan-tablo th:first-child { border-radius: 9px 0 0 0; }
.plan-tablo th:last-child { border-radius: 0 9px 0 0; }
.plan-tablo td { padding: 9px 12px; border-bottom: 1px solid #eef1f6; }
.plan-tablo tbody tr:nth-child(even) { background: #fbfcfe; }
.plan-tablo tr.teslimat { background: #ecfdf5 !important; }
.plan-tablo tr.teslimat td { font-weight: 800; color: #065f46; }
.plan-tablo .sag { text-align: right; }
.plan-tablo .tutar { font-variant-numeric: tabular-nums; font-weight: 700; }
.plan-tablo .rozet {
  display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px;
  background: #047857; color: #fff; font-size: 9.5px; font-weight: 800;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.plan-tablo tfoot td {
  border-top: 2px solid #1f4e79; border-bottom: none;
  padding-top: 11px; font-weight: 800; color: #0b1f3a;
}
.plan-disclaimer {
  margin: 18px 0 0; padding: 12px 14px; border-radius: 11px;
  background: #fffbeb; border: 1px solid #fde68a;
  font-size: 11.5px; line-height: 1.6; color: #78350f;
}
@media (max-width: 620px) {
  .plan-modal-head { padding: 14px 16px; }
  .plan-modal-body { padding: 16px; }
  .plan-tablo { font-size: 12px; }
  .plan-tablo td, .plan-tablo th { padding: 8px 9px; }
}


/* ---------- Ana sayfa açıklama metni (kullanıcı + arama motorları için) ---------- */
.home-copy {
  width: 100%; max-width: 1140px; margin: 36px auto 0; padding: 0 24px;
  font-size: 14.5px; line-height: 1.75; color: #24313f;
}
.home-copy h2 { margin: 0 0 12px; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; color: #0b1f3a; }
.home-copy h3 { margin: 26px 0 8px; font-size: 16.5px; font-weight: 800; color: #0b1f3a; }
.home-copy p { margin: 0 0 14px; max-width: 78ch; }
.home-copy ul { margin: 0 0 14px; padding-left: 20px; max-width: 78ch; }
.home-copy li { margin-bottom: 7px; }
.home-copy strong { font-weight: 800; color: #0b1f3a; }
.home-copy a { color: #0f766e; font-weight: 600; }
.home-copy-note {
  background: #f4f7fb; border: 1px solid #e2e8f2; border-radius: 12px;
  padding: 12px 15px; font-size: 12.5px; line-height: 1.6; color: #5d6b80;
}
@media (max-width: 620px) {
  .home-copy { padding: 0 16px; margin-top: 26px; font-size: 14px; }
  .home-copy h2 { font-size: 18px; }
}
