/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0d0d1a;
  --bg2: #13132a;
  --card: #1a1a35;
  --accent: #7c6cfc;
  --accent2: #a78bfa;
  --text: #e8e8f0;
  --muted: #888aaa;
  --border: #2a2a4a;
  --gold: #f59e0b;
  --green: #22c55e;
  --red: #ef4444;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ===== HEADER ===== */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(13, 13, 26, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent2);
  white-space: nowrap;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

nav a:hover { color: var(--text); }

.btn-premium {
  background: linear-gradient(135deg, var(--gold), #f97316);
  color: #000;
  border: none;
  padding: 0.45rem 1.1rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-premium:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  min-width: 44px;
  min-height: 44px;
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
}

@media (max-width: 700px) {
  .nav-toggle { display: block; }
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
    gap: 1rem;
    align-items: flex-start;
  }
  nav.open { display: flex; }
}

/* ===== HERO ===== */
.hero {
  text-align: center;
  padding: 5rem 2rem 4rem;
  background: radial-gradient(ellipse at top, #1a1040 0%, var(--bg) 70%);
}

.hero-badge {
  display: inline-block;
  background: rgba(124, 108, 252, 0.15);
  border: 1px solid rgba(124, 108, 252, 0.4);
  color: var(--accent2);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.9rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 500px;
  margin: 0 auto 2rem;
}

.social-proof {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

.proof-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.proof-item strong {
  font-size: 1.1rem;
  color: var(--text);
}

.proof-item span {
  font-size: 0.8rem;
  color: var(--muted);
}

.proof-divider {
  width: 1px;
  height: 30px;
  background: var(--border);
}

@media (max-width: 500px) {
  .proof-divider { display: none; }
}

/* ===== BUTTONS ===== */
.btn-cta {
  display: inline-block;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  padding: 0.9rem 2.2rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(124, 108, 252, 0.4);
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(124, 108, 252, 0.55);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--accent2);
  padding: 0.8rem 1.6rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--accent);
  cursor: pointer;
  transition: background 0.2s;
}

.btn-outline:hover { background: rgba(124, 108, 252, 0.1); }

.link-btn {
  background: none;
  border: none;
  color: var(--accent2);
  cursor: pointer;
  font-size: inherit;
  text-decoration: underline;
  padding: 0;
}

/* ===== HOW IT WORKS ===== */
.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  max-width: 220px;
  text-align: center;
  flex: 1;
  min-width: 160px;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.step h4 { font-size: 1rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.88rem; }

.step-arrow {
  font-size: 1.5rem;
  color: var(--border);
  padding-top: 3rem;
  flex-shrink: 0;
}

@media (max-width: 600px) { .step-arrow { display: none; } }

.science-cite {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
  margin-top: 2rem;
  font-style: italic;
}

/* ===== AD BANNERS ===== */
.ad-banner {
  text-align: center;
  padding: 0.75rem;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.ad-square-wrapper { text-align: center; padding: 1.5rem; }

.ad-label {
  font-size: 0.65rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.4rem;
}

.ad-placeholder {
  display: inline-block;
  width: min(728px, 100%);
  height: 90px;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: 6px;
  line-height: 90px;
  color: var(--muted);
  font-size: 0.8rem;
}

.ad-placeholder-square {
  display: inline-block;
  width: 300px;
  height: 250px;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: 6px;
  line-height: 250px;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ===== SECTIONS ===== */
.section { padding: 4.5rem 1.5rem; }
.section-dark { background: var(--bg2); }

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

.section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

.subtitle {
  color: var(--muted);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* ===== CALCULATOR ===== */
.calc-tabs {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
  background: var(--card);
  padding: 0.3rem;
  border-radius: 12px;
}

.tab {
  flex: 1;
  padding: 0.65rem 0.5rem;
  border: none;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
}

.tab.active {
  background: var(--accent);
  color: white;
  font-weight: 600;
}

.calc-box {
  background: var(--card);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid var(--border);
}

.calc-box label {
  display: block;
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc-box input[type="time"] {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 2rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  margin-bottom: 1.5rem;
  text-align: center;
  font-weight: 700;
  transition: border-color 0.2s;
}

@media (max-width: 480px) {
  .calc-box input[type="time"] { font-size: 1.3rem; padding: 0.7rem; }
}

.calc-box input[type="time"]:focus {
  outline: none;
  border-color: var(--accent);
}

.copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.calc-hint {
  font-size: 0.82rem;
  color: var(--muted);
  flex: 1;
}

.btn-copy {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--accent2);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-copy:hover { border-color: var(--accent); background: rgba(124,108,252,0.1); }
.btn-copy.copied { border-color: var(--green); color: var(--green); }

.gold-text { color: var(--gold); font-weight: 600; }

.results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
}

@media (max-width: 500px) {
  .results { grid-template-columns: repeat(2, 1fr); }
}

.result-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 0.75rem;
  text-align: center;
  transition: border-color 0.2s, transform 0.15s;
}

.result-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.result-card .time {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--accent2);
}

.result-card .cycles {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 0.3rem;
  line-height: 1.4;
}

.day-label {
  display: block;
  font-size: 0.62rem;
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.result-card.best {
  border-color: var(--gold);
  background: rgba(245, 158, 11, 0.06);
}

.result-card.best .time { color: var(--gold); }

.best-tag {
  font-size: 0.65rem;
  background: var(--gold);
  color: #000;
  padding: 0.15rem 0.5rem;
  border-radius: 8px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 0.4rem;
}

/* ===== QUIZ ===== */
.quiz-progress {
  height: 4px;
  background: var(--card);
  border-radius: 4px;
  margin-bottom: 0.5rem;
  overflow: hidden;
}

.quiz-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 4px;
  width: 0%;
  transition: width 0.35s ease;
}

.quiz-progress-label {
  text-align: center;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.75rem;
}

.quiz-question { display: none; }
.quiz-question.active { display: block; }

.quiz-question p {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-align: center;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 440px;
  margin: 0 auto;
}

.quiz-options button {
  padding: 0.9rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.97rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
}

.quiz-options button:hover,
.quiz-options button.selected {
  border-color: var(--accent);
  background: rgba(124, 108, 252, 0.12);
}

/* ===== SCORE ===== */
.score-result { text-align: center; padding: 0.5rem; }

.score-circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0%, var(--card) 0%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  position: relative;
  transition: background 0.6s ease;
}

.score-circle::before {
  content: '';
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: var(--bg2);
}

.score-circle span {
  position: relative;
  z-index: 1;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
}

.score-circle small {
  position: relative;
  z-index: 1;
  font-size: 0.8rem;
  color: var(--muted);
}

.score-result h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }

.score-result > p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* Score breakdown */
.score-breakdown {
  max-width: 400px;
  margin: 0 auto 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  text-align: left;
}

.breakdown-item { }

.breakdown-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.breakdown-bar {
  height: 6px;
  background: var(--card);
  border-radius: 4px;
  overflow: hidden;
}

.breakdown-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s ease;
}

.score-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* ===== SLEEP DEBT ===== */
.debt-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
}

.debt-inputs {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  margin-bottom: 1.5rem;
  align-items: start;
}

@media (max-width: 560px) {
  .debt-inputs { grid-template-columns: 1fr; }
}

.debt-input-group label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.debt-days {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.debt-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.debt-day label {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: none;
  letter-spacing: 0;
}

.debt-input {
  width: 52px;
  padding: 0.5rem 0.3rem;
  text-align: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  transition: border-color 0.2s;
}

.debt-input:focus { outline: none; border-color: var(--accent); }

.goal-selector { display: flex; gap: 0.5rem; }

.goal-btn {
  padding: 0.5rem 0.9rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.goal-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
  font-weight: 600;
}

.debt-result {
  background: var(--bg);
  border-radius: 12px;
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  min-height: 80px;
}

.debt-score {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.severity-tag {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 8px;
  background: rgba(255,255,255,0.1);
  vertical-align: middle;
}

.debt-score.green { color: var(--green); }
.debt-score.yellow { color: var(--gold); }
.debt-score.orange { color: #f97316; }
.debt-score.red { color: var(--red); }

.debt-avg {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

.debt-recover {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
}

.debt-premium {
  background: rgba(124, 108, 252, 0.08);
  border: 1px solid rgba(124, 108, 252, 0.2);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.debt-premium p { font-size: 0.88rem; color: var(--muted); flex: 1; }
.debt-premium p strong { color: var(--accent2); }

/* ===== TESTIMONIALS ===== */
.testimonials {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}

.testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.5rem;
}

.t-stars {
  color: var(--gold);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  letter-spacing: 2px;
}

.testimonial > p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.t-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.t-author strong { display: block; font-size: 0.9rem; }
.t-author span { font-size: 0.78rem; color: var(--muted); }

/* ===== PREMIUM FEATURES ===== */
.premium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.premium-feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.75rem;
  transition: border-color 0.2s, transform 0.2s;
}

.premium-feature-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.pf-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.premium-feature-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

.premium-feature-card p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.pf-example {
  font-size: 0.78rem;
  color: var(--accent2);
  background: rgba(124, 108, 252, 0.08);
  border-left: 2px solid var(--accent);
  padding: 0.4rem 0.75rem;
  border-radius: 0 6px 6px 0;
  font-style: italic;
}

.premium-cta-block { text-align: center; }

/* ===== FAQ ===== */
.faq-list { display: flex; flex-direction: column; gap: 0.5rem; }

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open { border-color: var(--accent); }

.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  transition: color 0.2s;
}

.faq-q:hover { color: var(--accent2); }

.faq-arrow {
  color: var(--muted);
  font-size: 1.1rem;
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-a { max-height: 600px; }

.faq-a p {
  padding: 0 1.25rem 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 1rem;
  backdrop-filter: blur(5px);
}

.modal {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 2.5rem;
  max-width: 460px;
  width: 100%;
  position: relative;
  text-align: center;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-badge {
  display: inline-block;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.modal h2 { font-size: 1.7rem; margin-bottom: 0.4rem; }
.modal-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s;
}

.modal-close:hover { color: var(--text); }

.premium-list {
  list-style: none;
  text-align: left;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.premium-list li { font-size: 0.93rem; }

.pricing { display: flex; gap: 1rem; margin-bottom: 1.5rem; }

.price-option {
  flex: 1;
  background: var(--card);
  border: 2px solid var(--border);
  border-radius: 14px;
  padding: 1.2rem 0.75rem;
  cursor: pointer;
  transition: border-color 0.2s;
  position: relative;
}

.price-option:hover { border-color: var(--accent); }
.price-option.selected { border-color: var(--accent); background: rgba(124, 108, 252, 0.08); }
.price-option.best { border-color: var(--gold); }
.price-option.best.selected { border-color: var(--gold); background: rgba(245, 158, 11, 0.06); }

.best-badge {
  position: absolute;
  top: -0.65rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #000;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.65rem;
  border-radius: 10px;
  white-space: nowrap;
}

.price-label { color: var(--muted); font-size: 0.82rem; margin-bottom: 0.35rem; }
.price-amount { font-size: 1.6rem; font-weight: 800; }
.price-amount span { font-size: 0.85rem; font-weight: 400; color: var(--muted); }
.price-sub { font-size: 0.75rem; color: var(--muted); margin-top: 0.2rem; }

.fine-print { font-size: 0.78rem; color: var(--muted); margin-top: 0.75rem; }

.modal-trust {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  background: var(--bg2);
}

.footer-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.footer-inner > p { color: var(--muted); font-size: 0.88rem; }

.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.83rem;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text); }

.footer-copy { color: var(--border); font-size: 0.78rem; }

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 150;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(124,108,252,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(124,108,252,0.5);
}

/* ===== INFO BOX ===== */
.info-box {
  margin-top: 1.75rem;
  background: rgba(124, 108, 252, 0.06);
  border: 1px solid rgba(124, 108, 252, 0.18);
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.info-box h4 {
  font-size: 0.95rem;
  color: var(--accent2);
  margin-bottom: 0.5rem;
}

.info-box p {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.75;
}

/* ===== UTILS ===== */
.hidden { display: none !important; }
