/**
 * PEPTİT.ONLINE — İNTERAKTİF ÇÖZÜNDÜRME & DOZAJ HESAPLAYICI STİLLERİ
 */

.calc-page-shell {
  padding-bottom: 90px;
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 40%, #f1f5f9 100%);
  min-height: 80vh;
}

.calc-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* 1. HERO BAŞLIK BÖLÜMÜ */
.calc-hero {
  text-align: center;
  padding: 30px 15px 36px;
  max-width: 860px;
  margin: 0 auto;
}

.calc-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0284c7;
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.2);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.calc-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0284c7;
  box-shadow: 0 0 8px #0284c7;
  animation: pulseDot 2s infinite ease-in-out;
}

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

.calc-main-title {
  font-size: clamp(28px, 4.2vw, 42px);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.025em;
  line-height: 1.18;
  margin: 0 0 14px;
}

.calc-main-title span {
  background: linear-gradient(135deg, #0284c7 0%, #2563eb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.calc-main-desc {
  font-size: 16px;
  line-height: 1.65;
  color: #475569;
  max-width: 720px;
  margin: 0 auto 24px;
}

/* Hazır Preset Butonları */
.calc-presets-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.preset-label {
  font-size: 12.5px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.preset-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.preset-btn {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.preset-btn:hover {
  background: #f0f9ff;
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-1px);
}

/* 2. ÇALIŞMA ALANI IZGARASI (GRID) */
.calc-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.25fr);
  gap: 28px;
  margin-bottom: 54px;
}

.calc-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 12px 30px -8px rgba(15, 23, 42, 0.06);
}

.calc-card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f1f5f9;
}

/* FORM ALANLARI */
.calc-form-group {
  margin-bottom: 20px;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.calc-unit-badge {
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 6px;
}

.calc-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.calc-input {
  width: 100%;
  padding: 12px 50px 12px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  background: #f8fafc;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.calc-input:focus {
  outline: none;
  border-color: #0284c7;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

.calc-input-suffix {
  position: absolute;
  right: 16px;
  font-size: 13.5px;
  font-weight: 800;
  color: #64748b;
  pointer-events: none;
}

.calc-quick-pills {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.calc-quick-pills button {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.calc-quick-pills button:hover {
  background: #e0f2fe;
  border-color: #bae6fd;
  color: #0284c7;
}

.calc-select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  background: #f8fafc;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calc-select:focus {
  outline: none;
  border-color: #0284c7;
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
}

/* 3. SONUÇ KARTLARI */
.calc-hero-result-box {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  margin-bottom: 24px;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.2);
  border: 1px solid rgba(255,255,255,0.08);
}

.result-box-kicker {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #38bdf8;
  margin-bottom: 8px;
}

.result-box-value {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 8px;
}

.result-box-value span:first-child {
  font-size: 52px;
  font-weight: 900;
  line-height: 1;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.result-box-unit {
  font-size: 16px;
  font-weight: 800;
  color: #94a3b8;
}

.result-box-sub {
  margin-top: 10px;
  font-size: 13.5px;
  color: #cbd5e1;
}

.result-box-sub strong {
  color: #38bdf8;
}

/* Metrik Izgarası */
.calc-metrics-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.calc-metric-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
}

.metric-label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 3px;
}

.metric-val {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
}

.metric-sub {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-top: 2px;
}

/* 4. İNTERAKTİF İNSÜLİN ENJEKTÖRÜ SAHNESİ */
.calc-syringe-stage {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 18px 20px;
}

.syringe-stage-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.syringe-stage-title {
  font-size: 13px;
  font-weight: 800;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.syringe-stage-badge {
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  padding: 3px 8px;
  border-radius: 6px;
}

.syringe-visual-wrap {
  padding: 20px 10px 30px;
}

.syringe-canvas-box {
  position: relative;
  display: flex;
  align-items: center;
}

.syringe-barrel {
  position: relative;
  flex: 1;
  height: 44px;
  background: #ffffff;
  border: 2px solid #94a3b8;
  border-radius: 6px;
  overflow: visible;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.04);
}

.syringe-plunger {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  pointer-events: none;
}

.syringe-liquid {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 10%;
  background: linear-gradient(90deg, rgba(2, 132, 199, 0.45) 0%, rgba(14, 165, 233, 0.75) 100%);
  border-right: 3px solid #0284c7;
  border-radius: 4px 0 0 4px;
  transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.syringe-ticks-marks {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.syringe-tick-mark {
  position: absolute;
  top: 0;
  bottom: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.tick-line {
  width: 1px;
  height: 10px;
  background: #64748b;
}

.tick-num {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  position: absolute;
  bottom: -20px;
}

.syringe-needle {
  width: 32px;
  height: 3px;
  background: #94a3b8;
  border-radius: 0 2px 2px 0;
  position: relative;
}

.syringe-needle::after {
  content: '';
  position: absolute;
  right: 0;
  top: -2px;
  width: 0;
  height: 0;
  border-top: 3.5px solid transparent;
  border-bottom: 3.5px solid transparent;
  border-left: 6px solid #94a3b8;
}

.syringe-status-caption {
  margin-top: 18px;
  font-size: 13px;
  color: #475569;
  text-align: center;
  background: #ffffff;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}

/* 5. AÇIKLAMA REHBERİ */
.calc-guide-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 36px 30px;
  margin-bottom: 46px;
}

.guide-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 32px;
}

.guide-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #0284c7;
  text-transform: uppercase;
}

.guide-title {
  font-size: 26px;
  font-weight: 900;
  color: #0f172a;
  margin: 6px 0 10px;
}

.guide-desc {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.6;
}

.guide-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}

.guide-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 20px 18px;
}

.guide-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: #0284c7;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 15px;
  margin-bottom: 14px;
}

.guide-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
}

.guide-card p {
  font-size: 13px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.guide-card code {
  background: #e2e8f0;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 600;
}

.calc-related-products-box {
  background: #f1f5f9;
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.related-products-head h3 {
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 4px;
}

.related-products-head a {
  font-size: 12.5px;
  font-weight: 700;
  color: #0284c7;
  text-decoration: none;
}

.related-products-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.prod-tag-pill {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #1e293b;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.prod-tag-pill:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

.prod-tag-pill.highlight {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

/* 6. SSS BÖLÜMÜ */
.calc-faq-section {
  max-width: 860px;
  margin: 0 auto;
}

.faq-section-title {
  font-size: 24px;
  font-weight: 900;
  color: #0f172a;
  text-align: center;
  margin: 0 0 24px;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .calc-workspace-grid {
    grid-template-columns: 1fr;
  }
  .guide-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .guide-cards-grid {
    grid-template-columns: 1fr;
  }
  .calc-metrics-grid {
    grid-template-columns: 1fr;
  }
  .calc-related-products-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

