/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-full);
  font-size: var(--text-base);
  font-weight: 600;
  line-height: 1.4;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}
.btn--primary:hover {
  background: var(--color-primary-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--color-text-primary);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}
.btn--ghost:hover {
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
}

.btn--ghost-dark {
  color: var(--color-text-dark-primary);
  border: 1.5px solid rgba(0, 0, 0, 0.2);
}
.btn--ghost-dark:hover {
  border-color: rgba(0, 0, 0, 0.4);
  background: rgba(0, 0, 0, 0.03);
}

.btn--large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-lg);
}

/* ── Badge ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  background: var(--color-primary-light);
  color: var(--color-primary);
  border: 1px solid rgba(20, 184, 166, 0.2);
}

.badge--save {
  background: rgba(34, 197, 94, 0.15);
  color: #22C55E;
  border-color: rgba(34, 197, 94, 0.2);
  font-size: var(--text-xs);
  font-weight: 700;
}

/* ── Section Headers ── */
.section-header {
  max-width: 640px;
  margin: 0 auto var(--space-12);
  text-align: center;
}

.section-header h2 {
  font-size: var(--text-3xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--space-4);
}

.section-header p {
  font-size: var(--text-lg);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: var(--text-4xl);
  }
}

/* ── Cards ── */
.card {
  background: var(--color-dark-card);
  border: 1px solid var(--color-dark-border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.card--light {
  background: var(--color-light-surface);
  border-color: var(--color-light-border);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-4);
  background: var(--color-primary-light);
  color: var(--color-primary);
}

.card__icon svg {
  width: 24px;
  height: 24px;
}

.card__title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.card__text {
  font-size: var(--text-sm);
  line-height: 1.6;
  opacity: 0.7;
}

/* ── Checkmark / Strikethrough lists ── */
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  font-size: var(--text-base);
}

.check-list li::before {
  content: '';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--color-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
  background-size: 14px;
  background-repeat: no-repeat;
  background-position: center;
}

.strike-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3) 0;
  font-size: var(--text-base);
  text-decoration: line-through;
  opacity: 0.5;
}

.strike-list li::before {
  content: '✕';
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--color-error);
  color: white;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

/* ── Comparison Table ── */
.comparison-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.comparison-table table {
  min-width: 700px;
}

.comparison-table th,
.comparison-table td {
  padding: var(--space-3) var(--space-4);
  text-align: center;
  font-size: var(--text-sm);
  border-bottom: 1px solid var(--color-light-border);
}

.comparison-table th {
  font-weight: 600;
  padding-bottom: var(--space-4);
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
}

.comparison-table .highlight-col {
  background: rgba(20, 184, 166, 0.08);
}

.comparison-table .highlight-col.th-highlight {
  color: var(--color-primary);
  font-weight: 700;
}

/* ── Toggle Switch ── */
.toggle-wrap {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  justify-content: center;
  margin-bottom: var(--space-8);
}

.toggle-wrap span {
  font-size: var(--text-sm);
  font-weight: 500;
}

.toggle-wrap .active-label {
  color: var(--color-text-dark-primary);
  font-weight: 600;
}

.toggle {
  position: relative;
  width: 48px;
  height: 28px;
  background: rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-full);
  transition: background var(--transition-base);
  cursor: pointer;
}

.toggle::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: white;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base);
}

.toggle.active {
  background: var(--color-primary);
}

.toggle.active::after {
  transform: translateX(20px);
}
