/**
 * Advanced Treatment Pages Design
 * Complete modern UI with tabs, accordions, animations, and interactive elements
 */

/* ========================================
   TABS COMPONENT
   ======================================== */

.tabs-container {
  margin: var(--space-12) 0;
}

.tabs-nav {
  display: flex;
  gap: var(--space-2);
  border-bottom: 2px solid var(--color-border-light);
  margin-bottom: var(--space-8);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.tab-button {
  padding: var(--space-4) var(--space-6);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-tertiary);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  position: relative;
}

.tab-button:hover {
  color: var(--color-primary-600);
  background: var(--color-primary-50);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.tab-button.active {
  color: var(--color-primary-700);
  border-bottom-color: var(--color-primary-600);
  background: var(--color-primary-50);
}

.tab-button.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary-600), var(--color-secondary-500));
  border-radius: var(--radius-full);
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

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

.tab-content.active {
  display: block;
}

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

/* ========================================
   ACCORDION / COLLAPSIBLE SECTIONS
   ======================================== */

.accordion-container {
  margin: var(--space-10) 0;
}

.accordion-item {
  background: white;
  border: 2px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  margin-bottom: var(--space-4);
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-item:hover {
  border-color: var(--color-primary-200);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.08);
}

.accordion-item.active {
  border-color: var(--color-primary-400);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.accordion-header {
  padding: var(--space-6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  user-select: none;
  transition: background 0.3s ease;
}

.accordion-header:hover {
  background: var(--color-primary-50);
}

.accordion-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin: 0;
  flex: 1;
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.accordion-number {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-700));
  color: white;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
  flex-shrink: 0;
}

.accordion-icon {
  width: 32px;
  height: 32px;
  color: var(--color-primary-600);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 var(--space-6);
}

.accordion-item.active .accordion-content {
  max-height: 2000px;
  padding: 0 var(--space-6) var(--space-6);
}

.accordion-body {
  padding-top: var(--space-4);
  border-top: 1px solid var(--color-border-light);
}

/* ========================================
   FEATURE CARDS WITH HOVER EFFECTS
   ======================================== */

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-8);
  margin: var(--space-10) 0;
}

.feature-card {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  border: 2px solid transparent;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--color-primary-600), var(--color-secondary-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-card:hover {
  border-color: var(--color-primary-200);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-secondary-500));
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  box-shadow: 0 8px 16px rgba(37, 99, 235, 0.2);
  transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
  transform: rotate(10deg) scale(1.1);
  box-shadow: 0 12px 24px rgba(37, 99, 235, 0.3);
}

.feature-icon svg {
  width: 40px;
  height: 40px;
  color: white;
}

.feature-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-3);
  transition: color 0.3s ease;
}

.feature-card:hover .feature-title {
  color: var(--color-primary-600);
}

.feature-description {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* ========================================
   TIMELINE / PROCESS STEPS
   ======================================== */

.timeline {
  position: relative;
  padding: var(--space-10) 0;
  margin: var(--space-12) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--color-primary-200), var(--color-primary-400));
}

.timeline-item {
  position: relative;
  padding-left: 100px;
  margin-bottom: var(--space-12);
  opacity: 0;
  transform: translateX(-20px);
  animation: slideInTimeline 0.6s ease forwards;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInTimeline {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-700));
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.3);
  border: 4px solid white;
  z-index: 1;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
  transform: scale(1.1) rotate(10deg);
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.4);
}

.timeline-content {
  background: white;
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transform: translateX(8px);
}

.timeline-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text-primary);
  margin-bottom: var(--space-4);
}

.timeline-description {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--color-text-secondary);
}

@media (max-width: 767px) {
  .timeline::before {
    left: 30px;
  }
  
  .timeline-item {
    padding-left: 80px;
  }
  
  .timeline-marker {
    width: 60px;
    height: 60px;
    font-size: var(--font-size-xl);
  }
}

/* ========================================
   COMPARISON TABLE
   ======================================== */

.comparison-table {
  margin: var(--space-12) 0;
  overflow-x: auto;
}

.comparison-table table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 var(--space-2);
}

.comparison-table th {
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-700));
  color: white;
  padding: var(--space-5) var(--space-6);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold);
  text-align: left;
  border-radius: var(--radius-lg);
}

.comparison-table td {
  background: white;
  padding: var(--space-5) var(--space-6);
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border-light);
  transition: all 0.3s ease;
}

.comparison-table tr:hover td {
  background: var(--color-primary-50);
  border-color: var(--color-primary-200);
}

.comparison-table td:first-child {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.comparison-table td:last-child {
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

/* ========================================
   STATS / METRICS BOXES
   ======================================== */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: var(--space-6);
  margin: var(--space-10) 0;
}

.stat-box {
  background: linear-gradient(135deg, var(--color-primary-600), var(--color-primary-700));
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
  text-align: center;
  color: white;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.stat-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  transition: transform 0.6s ease;
}

.stat-box:hover {
  transform: translateY(-8px) scale(1.05);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.3);
}

.stat-box:hover::before {
  transform: translate(-25%, -25%);
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: var(--font-weight-bold);
  line-height: 1;
  margin-bottom: var(--space-3);
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  opacity: 0.95;
  position: relative;
  z-index: 1;
}

/* ========================================
   ANIMATED PROGRESS BARS
   ======================================== */

.progress-list {
  margin: var(--space-10) 0;
}

.progress-item {
  margin-bottom: var(--space-8);
}

.progress-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-3);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text-primary);
}

.progress-bar-container {
  height: 12px;
  background: var(--color-neutral-200);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary-600), var(--color-secondary-500));
  border-radius: var(--radius-full);
  transition: width 1s ease;
  position: relative;
  overflow: hidden;
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ========================================
   CALL-TO-ACTION SECTIONS
   ======================================== */

.inline-cta {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-10);
  margin: var(--space-12) 0;
  text-align: center;
  border: 3px solid var(--color-primary-200);
  position: relative;
  overflow: hidden;
}

.inline-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.inline-cta-title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-primary-900);
  margin-bottom: var(--space-4);
  position: relative;
  z-index: 1;
}

.inline-cta-text {
  font-size: var(--font-size-lg);
  color: var(--color-primary-800);
  margin-bottom: var(--space-6);
  position: relative;
  z-index: 1;
}

.inline-cta-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

/* ========================================
   QUALITY OF LIFE CARDS (lenfödem sayfası)
   ======================================== */

.quality-life-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.qol-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  border: 1px solid #e5e7eb;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.qol-card:hover {
  transform: translateY(-6px);
}

.qol-card:nth-child(1):hover { box-shadow: 0 16px 40px rgba(59, 130, 246, 0.20); }
.qol-card:nth-child(2):hover { box-shadow: 0 16px 40px rgba(139, 92, 246, 0.20); }
.qol-card:nth-child(3):hover { box-shadow: 0 16px 40px rgba(16, 185, 129, 0.20); }
.qol-card:nth-child(4):hover { box-shadow: 0 16px 40px rgba(245, 158, 11, 0.20); }

.qol-title {
  padding: 24px 20px 20px;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: white;
  text-align: center;
  letter-spacing: 0.01em;
}

.qol-card:nth-child(1) .qol-title { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.qol-card:nth-child(2) .qol-title { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.qol-card:nth-child(3) .qol-title { background: linear-gradient(135deg, #10b981, #059669); }
.qol-card:nth-child(4) .qol-title { background: linear-gradient(135deg, #f59e0b, #d97706); }

.qol-list {
  list-style: none;
  padding: 16px 20px 20px;
  margin: 0;
}

.qol-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  color: #374151;
  font-size: 14px;
  border-bottom: 1px solid #f3f4f6;
  line-height: 1.45;
}

.qol-list li:last-child {
  border-bottom: none;
}

.qol-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.qol-card:nth-child(1) .qol-list li::before { background: #3b82f6; }
.qol-card:nth-child(2) .qol-list li::before { background: #8b5cf6; }
.qol-card:nth-child(3) .qol-list li::before { background: #10b981; }
.qol-card:nth-child(4) .qol-list li::before { background: #f59e0b; }

/* ========================================
   SELF-CARE TIPS GRID (lenfödem sayfası)
   ======================================== */

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.tip-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  border: 1px solid #e5e7eb;
  border-top: 4px solid #3b82f6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tip-card:hover {
  transform: translateY(-5px);
}

.tip-card:nth-child(1) { border-top-color: #3b82f6; }
.tip-card:nth-child(1):hover { box-shadow: 0 12px 32px rgba(59, 130, 246, 0.16); }
.tip-card:nth-child(2) { border-top-color: #10b981; }
.tip-card:nth-child(2):hover { box-shadow: 0 12px 32px rgba(16, 185, 129, 0.16); }
.tip-card:nth-child(3) { border-top-color: #f59e0b; }
.tip-card:nth-child(3):hover { box-shadow: 0 12px 32px rgba(245, 158, 11, 0.16); }
.tip-card:nth-child(4) { border-top-color: #ef4444; }
.tip-card:nth-child(4):hover { box-shadow: 0 12px 32px rgba(239, 68, 68, 0.16); }
.tip-card:nth-child(5) { border-top-color: #8b5cf6; }
.tip-card:nth-child(5):hover { box-shadow: 0 12px 32px rgba(139, 92, 246, 0.16); }
.tip-card:nth-child(6) { border-top-color: #06b6d4; }
.tip-card:nth-child(6):hover { box-shadow: 0 12px 32px rgba(6, 182, 212, 0.16); }

.tip-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.tip-card:nth-child(1) .tip-icon { background: #eff6ff; color: #3b82f6; }
.tip-card:nth-child(2) .tip-icon { background: #d1fae5; color: #059669; }
.tip-card:nth-child(3) .tip-icon { background: #fef3c7; color: #d97706; }
.tip-card:nth-child(4) .tip-icon { background: #fee2e2; color: #dc2626; }
.tip-card:nth-child(5) .tip-icon { background: #ede9fe; color: #7c3aed; }
.tip-card:nth-child(6) .tip-icon { background: #cffafe; color: #0891b2; }

.tip-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 10px 0;
  line-height: 1.4;
}

.tip-text {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   PSYCH SUPPORT GRID (lipödem sayfası)
   ======================================== */

.psych-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.psych-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  border: 1px solid #e5e7eb;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.psych-card:hover {
  transform: translateY(-6px);
}

.psych-card:nth-child(1):hover { box-shadow: 0 16px 40px rgba(239, 68, 68, 0.18); }
.psych-card:nth-child(2):hover { box-shadow: 0 16px 40px rgba(13, 148, 136, 0.18); }

.psych-title {
  padding: 22px 24px;
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: white;
}

.psych-card:nth-child(1) .psych-title { background: linear-gradient(135deg, #ef4444, #dc2626); }
.psych-card:nth-child(2) .psych-title { background: linear-gradient(135deg, #0d9488, #0f766e); }

.psych-card ul {
  list-style: none;
  padding: 16px 24px 24px;
  margin: 0;
}

.psych-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 0;
  color: #374151;
  font-size: 14px;
  border-bottom: 1px solid #f3f4f6;
  line-height: 1.45;
}

.psych-card ul li:last-child {
  border-bottom: none;
}

.psych-card:nth-child(1) ul li::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #ef4444;
  border-radius: 50%;
  flex-shrink: 0;
}

.psych-card:nth-child(2) ul li::before {
  content: '';
  width: 7px;
  height: 7px;
  background: #0d9488;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ========================================
   DIAGNOSIS GRID (lipödem teşhis)
   ======================================== */

.diagnosis-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.diagnosis-card {
  background: white;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  border: 1px solid #e5e7eb;
  border-left: 4px solid #8b5cf6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.diagnosis-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(139, 92, 246, 0.15);
}

.diagnosis-title {
  font-size: 14px;
  font-weight: 700;
  color: #6d28d9;
  margin: 0 0 8px 0;
  letter-spacing: 0.01em;
}

.diagnosis-description {
  font-size: 13px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

/* ========================================
   SUPPORT RESOURCES (lipödem sayfası)
   ======================================== */

.support-resources {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.resource-card {
  background: white;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  border: 1px solid #e5e7eb;
  border-top: 4px solid;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-5px);
}

.resource-card:nth-child(1) { border-top-color: #3b82f6; }
.resource-card:nth-child(1):hover { box-shadow: 0 12px 32px rgba(59, 130, 246, 0.15); }
.resource-card:nth-child(2) { border-top-color: #10b981; }
.resource-card:nth-child(2):hover { box-shadow: 0 12px 32px rgba(16, 185, 129, 0.15); }
.resource-card:nth-child(3) { border-top-color: #8b5cf6; }
.resource-card:nth-child(3):hover { box-shadow: 0 12px 32px rgba(139, 92, 246, 0.15); }

.resource-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 10px 0;
}

.resource-card p {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0;
}

.resource-card a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}

.resource-card a:hover {
  text-decoration: underline;
}

/* ========================================
   MOBILE RESPONSIVENESS
   ======================================== */

@media (max-width: 767px) {
  .tabs-nav {
    padding-bottom: var(--space-2);
  }
  
  .tab-button {
    padding: var(--space-3) var(--space-4);
    font-size: var(--font-size-sm);
  }
  
  .feature-cards {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .inline-cta {
    padding: var(--space-8) var(--space-5);
  }
  
  .inline-cta-title {
    font-size: var(--font-size-2xl);
  }
  
  .inline-cta-buttons {
    flex-direction: column;
  }
  
  .inline-cta-buttons .btn {
    width: 100%;
  }

  .quality-life-cards,
  .tips-grid,
  .psych-support-grid,
  .support-resources,
  .diagnosis-grid {
    grid-template-columns: 1fr;
  }

  .qol-card:hover,
  .tip-card:hover,
  .psych-card:hover,
  .resource-card:hover,
  .diagnosis-card:hover,
  .stage-card:hover,
  .comparison-card:hover {
    transform: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  }

  .comparison-grid,
  .stage-grid-wrapper {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   COMPARISON CARDS (lenfödem türleri)
   ======================================== */

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.comparison-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e5e7eb;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comparison-card:hover {
  transform: translateY(-5px);
}

.comparison-card:nth-child(1):hover { box-shadow: 0 14px 36px rgba(59, 130, 246, 0.18); }
.comparison-card:nth-child(2):hover { box-shadow: 0 14px 36px rgba(239, 68, 68, 0.18); }

.comparison-header {
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.comparison-card:nth-child(1) .comparison-header { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.comparison-card:nth-child(2) .comparison-header { background: linear-gradient(135deg, #ef4444, #dc2626); }

.comparison-title {
  font-size: 17px;
  font-weight: 700;
  color: white;
  margin: 0;
}

.comparison-badge {
  background: rgba(255, 255, 255, 0.25);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.comparison-content {
  padding: 20px 24px 24px;
}

.comparison-description {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.6;
  margin: 0 0 16px 0;
}

.comparison-subtitle {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 6px 0;
  font-size: 14px;
  color: #374151;
  border-bottom: 1px solid #f3f4f6;
  line-height: 1.4;
}

.comparison-list li:last-child {
  border-bottom: none;
}

.comparison-card:nth-child(1) .comparison-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #3b82f6;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

.comparison-card:nth-child(2) .comparison-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #ef4444;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

/* ========================================
   STAGE CARDS (lipödem evreleri)
   ======================================== */

.stages-container {
  margin-top: 24px;
}

.stage-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  border: 1px solid #e5e7eb;
  margin-bottom: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stage-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.14);
}

.stage-card-warning:hover {
  box-shadow: 0 12px 32px rgba(245, 158, 11, 0.18) !important;
}

.stage-card-danger:hover {
  box-shadow: 0 12px 32px rgba(239, 68, 68, 0.18) !important;
}

.stage-header {
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.stage-card-warning .stage-header {
  background: linear-gradient(135deg, #f59e0b, #d97706);
}

.stage-card-danger .stage-header {
  background: linear-gradient(135deg, #ef4444, #dc2626);
}

.stage-number {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 800;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.35);
  flex-shrink: 0;
}

.stage-title {
  font-size: 18px;
  font-weight: 700;
  color: white;
  margin: 0;
}

.stage-content {
  padding: 24px 28px;
}

.stage-description {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.7;
  margin: 0 0 20px 0;
}

.stage-symptoms {
  background: #f8fafc;
  border-radius: 12px;
  padding: 16px 20px;
  border: 1px solid #e5e7eb;
}

.stage-symptoms h4 {
  font-size: 13px;
  font-weight: 700;
  color: #374151;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stage-symptoms ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 6px;
}

.stage-symptoms ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #374151;
  padding: 4px 0;
}

.stage-symptoms ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: #3b82f6;
  border-radius: 50%;
  flex-shrink: 0;
}

.stage-card-warning .stage-symptoms ul li::before { background: #f59e0b; }
.stage-card-danger .stage-symptoms ul li::before { background: #ef4444; }

/* ========================================
   RELATED SERVICES SIDEBAR
   ======================================== */

.related-services {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.related-service-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  color: #374151;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  border: 1px solid transparent;
}

.related-service-link:hover {
  background: #eff6ff;
  color: #1d4ed8;
  border-color: #bfdbfe;
}

.related-service-link svg {
  color: #9ca3af;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.related-service-link:hover svg {
  color: #3b82f6;
}
