/* ============================================
   Dopamine Load Calculator Styles
   ============================================ */

.dlc-page {
  padding-top: 100px;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* Hero */
.dlc-hero {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 60px var(--container-padding) 48px;
}

.dlc-hero-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 8px 16px;
  background: var(--accent-gold-dim);
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: 100px;
  margin-bottom: 24px;
}

.dlc-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 16px;
}

.dlc-hero h1 span {
  color: var(--accent-gold);
}

.dlc-hero-sub {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.dlc-hero-meta {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
  color: var(--text-muted);
}

.dlc-hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dlc-hero-meta span::before {
  content: '';
  width: 4px;
  height: 4px;
  background: var(--accent-gold);
  border-radius: 50%;
}

/* Calculator Card */
.dlc-calc {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--container-padding) 48px;
}

.dlc-calc-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
}

.dlc-section-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.dlc-protective-label {
  color: #22c55e;
}

.dlc-section-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.dlc-divider {
  height: 1px;
  background: var(--border-color);
  margin: 32px 0;
}

/* Input Groups */
.dlc-input-group {
  margin-bottom: 24px;
}

.dlc-label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.dlc-sublabel {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
}

.dlc-protective-tag {
  font-size: 11px;
  font-weight: 600;
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
  padding: 2px 8px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Slider */
.dlc-slider-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.dlc-slider {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  background: var(--bg-tertiary);
  border-radius: 3px;
  outline: none;
  cursor: pointer;
  --fill: 0%;
  background: linear-gradient(to right, var(--accent-gold) 0%, var(--accent-gold) var(--fill), var(--bg-tertiary) var(--fill), var(--bg-tertiary) 100%);
}

.dlc-slider-protective {
  background: linear-gradient(to right, #22c55e 0%, #22c55e var(--fill), var(--bg-tertiary) var(--fill), var(--bg-tertiary) 100%);
}

.dlc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--accent-gold);
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  box-shadow: 0 0 8px rgba(212, 168, 83, 0.3);
  cursor: pointer;
}

.dlc-slider-protective::-webkit-slider-thumb {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.3);
}

.dlc-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--accent-gold);
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  box-shadow: 0 0 8px rgba(212, 168, 83, 0.3);
  cursor: pointer;
}

.dlc-slider-protective::-moz-range-thumb {
  background: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.3);
}

.dlc-slider-value {
  min-width: 80px;
  text-align: right;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.dlc-slider-value small {
  font-size: 12px;
  font-weight: 400;
  color: var(--text-muted);
}

/* Radio Options */
.dlc-radio-group {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.dlc-radio-option {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.dlc-radio-option input {
  display: none;
}

.dlc-radio-option:hover {
  border-color: var(--border-color-hover);
}

.dlc-radio-option.selected {
  border-color: var(--accent-gold);
  background: var(--accent-gold-dim);
  color: var(--accent-gold);
}

/* Calculate Button */
.dlc-calculate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-top: 32px;
  padding: 16px 32px;
  background: var(--accent-gold);
  color: var(--bg-primary);
  border: none;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dlc-calculate-btn:hover {
  background: #e5b85e;
  box-shadow: var(--glow-gold);
  transform: translateY(-2px);
}

.dlc-calculate-btn svg {
  width: 18px;
  height: 18px;
}

/* Results */
.dlc-results {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--container-padding) 48px;
}

.dlc-results-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
  animation: fadeInUp 0.5s ease-out;
}

/* Score Display */
.dlc-score-display {
  text-align: center;
  margin-bottom: 32px;
}

.dlc-score-ring {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 4px solid var(--accent-gold);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dlc-score-number {
  font-size: 48px;
  font-weight: 800;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
}

.dlc-score-max {
  font-size: 18px;
  color: var(--text-muted);
  font-weight: 400;
}

.dlc-score-label {
  font-size: 14px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.dlc-level-badge {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 100px;
  border: 1px solid;
}

/* Summary */
.dlc-result-summary {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Focus Penalty */
.dlc-focus-penalty {
  padding: 20px 24px;
  background: rgba(239, 68, 68, 0.05);
  border-left: 3px solid #ef4444;
  border-radius: 0 8px 8px 0;
  margin-bottom: 32px;
}

.dlc-focus-label {
  font-size: 12px;
  font-weight: 600;
  color: #ef4444;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.dlc-focus-penalty p {
  font-size: 15px;
  color: var(--text-primary);
  line-height: 1.6;
}

/* Contributors */
.dlc-contributors {
  margin-bottom: 32px;
}

.dlc-contributors h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.dlc-contrib-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-color);
}

.dlc-contrib-item:last-child {
  border-bottom: none;
}

.dlc-contrib-rank {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  min-width: 28px;
}

.dlc-contrib-label {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  min-width: 140px;
}

.dlc-contrib-bar {
  flex: 1;
  height: 8px;
  background: var(--bg-tertiary);
  border-radius: 4px;
  overflow: hidden;
}

.dlc-contrib-bar span {
  display: block;
  height: 100%;
  border-radius: 4px;
  transition: width 0.5s ease;
}

/* 7-Day Plan */
.dlc-plan {
  margin-bottom: 32px;
}

.dlc-plan h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
}

.dlc-plan-intro {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.dlc-plan-day {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border-color);
}

.dlc-plan-day:last-child {
  border-bottom: none;
}

.dlc-plan-day-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-gold);
  min-width: 48px;
  padding-top: 2px;
}

.dlc-plan-day-content {
  flex: 1;
}

.dlc-plan-rule {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 6px;
}

.dlc-plan-rule:last-child {
  margin-bottom: 0;
}

.dlc-plan-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 1px 6px;
  border-radius: 3px;
  margin-right: 4px;
}

.dlc-tag-remove {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.dlc-tag-replace {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

.dlc-tag-mirror {
  color: var(--accent-gold);
  background: var(--accent-gold-dim);
}

/* Email Capture */
.dlc-email-capture {
  padding: 24px;
  background: var(--accent-gold-dim);
  border: 1px solid rgba(212, 168, 83, 0.2);
  border-radius: 12px;
  margin-bottom: 24px;
}

.dlc-email-capture h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
}

.dlc-email-form {
  display: flex;
  gap: 8px;
}

.dlc-email-input {
  flex: 1;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-primary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  outline: none;
}

.dlc-email-input:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 0 3px var(--accent-gold-dim);
}

.dlc-email-btn {
  padding: 12px 20px;
  background: var(--accent-gold);
  color: var(--bg-primary);
  border: none;
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.dlc-email-btn:hover {
  background: #e5b85e;
}

.dlc-email-success {
  display: none;
  font-size: 14px;
  color: #22c55e;
  font-weight: 500;
  margin-top: 8px;
}

/* Actions / Share */
.dlc-actions {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.dlc-share-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.dlc-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.dlc-share-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-color-hover);
}

.dlc-share-btn.copied {
  color: var(--accent-gold);
  border-color: var(--accent-gold);
}

.dlc-share-btn svg {
  width: 14px;
  height: 14px;
}

.dlc-app-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  background: var(--accent-gold);
  color: var(--bg-primary);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.dlc-app-cta:hover {
  background: #e5b85e;
  box-shadow: var(--glow-gold);
  transform: translateY(-2px);
}

.dlc-app-cta svg {
  width: 18px;
  height: 18px;
}

/* SEO Sections */
.dlc-seo {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 var(--container-padding) 48px;
}

.dlc-seo-divider {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-gold), transparent);
  margin-bottom: 48px;
}

.dlc-seo-section {
  margin-bottom: 40px;
}

.dlc-seo-section:last-child {
  margin-bottom: 0;
}

.dlc-seo h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.dlc-seo p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.dlc-seo p:last-child {
  margin-bottom: 0;
}

.dlc-seo strong {
  color: var(--text-primary);
}

/* FAQ */
.dlc-faq-item {
  border-bottom: 1px solid var(--border-color);
}

.dlc-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  user-select: none;
}

.dlc-faq-q svg {
  width: 18px;
  height: 18px;
  color: var(--text-muted);
  transition: transform 0.2s;
  flex-shrink: 0;
}

.dlc-faq-item.open .dlc-faq-q svg {
  transform: rotate(180deg);
}

.dlc-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.dlc-faq-item.open .dlc-faq-a {
  max-height: 500px;
  padding-bottom: 16px;
}

/* Final CTA */
.dlc-final-cta {
  max-width: 640px;
  margin: 0 auto;
  padding: 0 var(--container-padding) 80px;
}

.dlc-final-cta-card {
  text-align: center;
  padding: 48px 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
}

.dlc-final-cta-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
}

.dlc-final-cta-card p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.dlc-final-cta-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 360px;
  margin: 0 auto;
}

.dlc-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent-gold);
  color: var(--bg-primary);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
}

.dlc-btn-primary:hover {
  background: #e5b85e;
  box-shadow: var(--glow-gold);
  transform: translateY(-2px);
}

.dlc-btn-primary svg {
  width: 18px;
  height: 18px;
}

.dlc-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.dlc-btn-secondary:hover {
  color: var(--text-primary);
  border-color: var(--border-color-hover);
  background: var(--bg-tertiary);
}

/* Responsive */
@media (max-width: 640px) {
  .dlc-calc-card {
    padding: 24px 20px;
  }

  .dlc-results-card {
    padding: 24px 20px;
  }

  .dlc-radio-group {
    gap: 6px;
  }

  .dlc-radio-option {
    padding: 8px 12px;
    font-size: 13px;
  }

  .dlc-email-form {
    flex-direction: column;
  }

  .dlc-share-row {
    flex-direction: column;
  }

  .dlc-share-btn {
    justify-content: center;
  }

  .dlc-hero-meta {
    flex-direction: column;
    gap: 8px;
  }

  .dlc-contrib-label {
    min-width: 100px;
  }

  .dlc-plan-day {
    flex-direction: column;
    gap: 4px;
  }

  .dlc-score-ring {
    width: 120px;
    height: 120px;
  }

  .dlc-score-number {
    font-size: 40px;
  }
}
