﻿/* ============================================================
   7daySEO.com â€” Global Stylesheet
   Design System: Navy + Orange, Sora + DM Sans
   ============================================================ */

/* --- GOOGLE FONTS --- */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=DM+Sans:ital,wght@0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

/* --- CSS VARIABLES --- */
:root {
  --brand: #0D1B2A;
  --accent: #FF6B35;
  --accent-dark: #E05520;
  --text: #1A1A2A;
  --text-light: #6B7280;
  --bg: #FFFFFF;
  --bg-light: #F0F4F8;
  --success: #10B981;
  --danger: #EF4444;
  --border: #E5E7EB;

  /* Day colors */
  --day1: #0D1B2A;
  --day2: #059669;
  --day3: #7C3AED;
  --day4: #0891B2;
  --day5: #DC2626;
  --day6: #D97706;
  --day7: #FF6B35;

  --font-heading: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow: 0 2px 12px rgba(13, 27, 42, 0.08);
  --shadow-md: 0 4px 24px rgba(13, 27, 42, 0.12);
  --shadow-lg: 0 8px 40px rgba(13, 27, 42, 0.16);

  --container: 1120px;
  --transition: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--accent-dark);
}

/* --- TYPOGRAPHY --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--brand);
}

h1 {
  font-size: clamp(32px, 5vw, 52px);
}

h2 {
  font-size: clamp(24px, 4vw, 36px);
}

h3 {
  font-size: clamp(18px, 3vw, 24px);
  margin-top: 32px;
  margin-bottom: 12px;
}

ul,
ol {
  margin: 12px 0 12px 24px;
}

h4 {
  font-size: 18px;
}

p {
  margin-bottom: 1em;
}

p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--text-light);
  line-height: 1.65;
}

.caption {
  font-size: 13px;
  color: var(--text-light);
}

.highlight {
  color: var(--accent);
}

.text-white {
  color: #fff;
}

.text-center {
  text-align: center;
}

.text-navy {
  color: var(--brand);
}

/* --- LAYOUT --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-hero {
  background: var(--brand);
}

.section-light {
  background: var(--bg-light);
}

.section-white {
  background: var(--bg);
}

.section-accent {
  background: var(--accent);
}

section {
  padding: 80px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.grid-7 {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}

.btn-secondary:hover {
  background: var(--brand);
  color: #fff;
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  color: #fff;
}

.btn-navy {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.btn-navy:hover {
  background: #162434;
  border-color: #162434;
  color: #fff;
  transform: translateY(-1px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 14px;
}

.btn-lg {
  padding: 18px 36px;
  font-size: 17px;
}

/* --- CARDS --- */
.card {
  background: var(--bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 28px;
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.card-day {
  background: var(--bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--transition), transform var(--transition);
  border-top: 4px solid var(--accent);
}

.card-day:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card-day[data-day="1"] {
  border-top-color: var(--day1);
}

.card-day[data-day="2"] {
  border-top-color: var(--day2);
}

.card-day[data-day="3"] {
  border-top-color: var(--day3);
}

.card-day[data-day="4"] {
  border-top-color: var(--day4);
}

.card-day[data-day="5"] {
  border-top-color: var(--day5);
}

.card-day[data-day="6"] {
  border-top-color: var(--day6);
}

.card-day[data-day="7"] {
  border-top-color: var(--day7);
}

.card-day .day-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-day .day-title {
  font-size: 18px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--brand);
}

.card-day .day-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

.card-day .day-time {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 500;
}

.card-day .day-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-day .day-link:hover {
  gap: 8px;
}

.card-prompt {
  background: #0F1E2E;
  border-radius: var(--radius-md);
  padding: 24px 28px;
  color: #E2E8F0;
  font-family: var(--font-mono);
  font-size: 14px;
  line-height: 1.7;
  position: relative;
  border-left: 3px solid var(--accent);
  margin-bottom: 24px;
}

.card-quiz {
  background: var(--bg);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
  padding: 28px;
}

/* --- BADGES --- */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.badge-day {
  background: var(--accent);
}

.badge-day[data-day="1"] {
  background: var(--day1);
}

.badge-day[data-day="2"] {
  background: var(--day2);
}

.badge-day[data-day="3"] {
  background: var(--day3);
}

.badge-day[data-day="4"] {
  background: var(--day4);
}

.badge-day[data-day="5"] {
  background: var(--day5);
}

.badge-day[data-day="6"] {
  background: var(--day6);
}

.badge-day[data-day="7"] {
  background: var(--day7);
}

.badge-complete {
  background: var(--success);
}

.badge-locked {
  background: #D1D5DB;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tag-accent {
  background: rgba(255, 107, 53, 0.12);
  color: var(--accent);
}

.tag-navy {
  background: rgba(13, 27, 42, 0.08);
  color: var(--brand);
}

.tag-success {
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
}

/* --- PROGRESS BAR --- */
.progress-track {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 24px 0;
}

.progress-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  position: relative;
}

.progress-step::before {
  content: '';
  position: absolute;
  top: 20px;
  left: -50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.progress-step:first-child::before {
  display: none;
}

.progress-dot {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-light);
  position: relative;
  z-index: 1;
  transition: all var(--transition);
}

.progress-step.done .progress-dot {
  background: var(--success);
  color: #fff;
}

.progress-step.active .progress-dot {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.2);
}

.progress-step.done::before,
.progress-step.active::before {
  background: var(--success);
}

.progress-label {
  font-size: 11px;
  color: var(--text-light);
  font-weight: 500;
  text-align: center;
}

.progress-step.active .progress-label {
  color: var(--accent);
  font-weight: 700;
}

.progress-step.done .progress-label {
  color: var(--success);
}

/* --- QUIZ COMPONENTS --- */
.quiz-container {
  max-width: 720px;
  margin: 0 auto;
}

.quiz-question {
  margin-bottom: 32px;
  animation: fadeInUp 0.3s ease;
}

.quiz-q-text {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 16px;
  line-height: 1.5;
}

.quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition);
  font-size: 15px;
  background: var(--bg);
}

.quiz-option:hover:not(.answered) {
  border-color: var(--accent);
  background: rgba(255, 107, 53, 0.04);
}

.quiz-option.correct {
  border-color: var(--success);
  background: rgba(16, 185, 129, 0.08);
  color: var(--success);
  font-weight: 600;
}

.quiz-option.wrong {
  border-color: var(--danger);
  background: rgba(239, 68, 68, 0.06);
  color: var(--danger);
}

.quiz-option-letter {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--font-heading);
}

.quiz-option.correct .quiz-option-letter {
  background: var(--success);
  color: #fff;
}

.quiz-option.wrong .quiz-option-letter {
  background: var(--danger);
  color: #fff;
}

.quiz-explanation {
  margin-top: 12px;
  padding: 14px 18px;
  background: var(--bg-light);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-light);
  border-left: 3px solid var(--accent);
  display: none;
}

.quiz-explanation.show {
  display: block;
  animation: fadeInUp 0.3s ease;
}

.quiz-score-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: var(--bg-light);
  border-radius: var(--radius-md);
  margin-bottom: 32px;
}

.quiz-score-label {
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

.quiz-score-value {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--accent);
  font-size: 20px;
  margin-left: auto;
}

/* --- COPY BUTTON --- */
.prompt-wrapper {
  position: relative;
}

.prompt-text {
  padding-right: 64px;
}


.copy-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 14px;
  background: rgba(255, 107, 53, 0.15);
  color: var(--accent);
  border: 1px solid rgba(255, 107, 53, 0.3);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all var(--transition);
}

.copy-btn:hover {
  background: var(--accent);
  color: #fff;
}

.copy-btn.copied {
  background: var(--success);
  color: #fff;
  border-color: var(--success);
}

/* --- CHECKLIST --- */
.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
}

.checklist-item:hover {
  border-color: var(--accent);
}

.checklist-item.checked {
  background: rgba(16, 185, 129, 0.05);
  border-color: var(--success);
}

.checklist-item.checked .checklist-label {
  text-decoration: line-through;
  color: var(--text-light);
}

.checklist-check {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all var(--transition);
  font-size: 12px;
  color: transparent;
}

.checklist-item.checked .checklist-check {
  background: var(--success);
  border-color: var(--success);
  color: #fff;
}

.checklist-label {
  font-size: 15px;
  line-height: 1.5;
}

/* --- ACCORDION / FAQ --- */
.accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.accordion-item.open {
  box-shadow: var(--shadow);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: var(--bg);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
  color: var(--brand);
  cursor: pointer;
  border: none;
  text-align: left;
  transition: background var(--transition);
}

.accordion-header:hover {
  background: var(--bg-light);
}

.accordion-item.open .accordion-header {
  background: var(--bg-light);
}

.accordion-icon {
  font-size: 20px;
  color: var(--accent);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);
}

.accordion-body {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.accordion-item.open .accordion-body {
  max-height: 500px;
  padding: 0 24px 20px;
}

.accordion-body p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- NAVIGATION --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.nav-logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent);
}

.nav-cta {
  margin-left: auto;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  width: 24px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transition: all var(--transition);
  display: block;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 68px 0 0 0;
  background: var(--bg);
  padding: 24px;
  z-index: 99;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--border);
}

.nav-mobile.open {
  display: flex;
}

.nav-mobile a {
  font-size: 18px;
  font-weight: 600;
  color: var(--brand);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.nav-mobile .btn {
  margin-top: 8px;
}

/* --- FOOTER --- */
.footer {
  background: #070F1A;
  color: rgba(255, 255, 255, 0.65);
  padding: 72px 0 0;
  border-top: 3px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  display: inline-block;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.footer-logo span {
  color: var(--accent);
}

.footer-logo:hover {
  color: #fff;
}

.footer-tagline {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.75;
  max-width: 280px;
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  transition: all var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--accent);
}


/* --- HERO (Homepage) --- */
.hero {
  background: var(--brand);
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 107, 53, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 107, 53, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  color: #fff;
  font-size: clamp(36px, 5.5vw, 58px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  animation: fadeInUp 0.5s 0.1s ease both;
}

.hero h1 .accent-line {
  color: var(--accent);
  display: block;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  margin-bottom: 32px;
  font-size: clamp(15px, 2vw, 19px);
  animation: fadeInUp 0.5s 0.2s ease both;
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 24px;
  animation: fadeInUp 0.5s 0.3s ease both;
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  animation: fadeInUp 0.5s 0.4s ease both;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.hero-trust-item .check {
  color: var(--success);
  font-size: 14px;
}

/* Hero Right â€” Progress Tracker Mockup */
.hero-visual {
  animation: fadeInUp 0.5s 0.2s ease both;
}

.progress-mockup {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  animation: float 4s ease-in-out infinite;
}

.progress-mockup-title {
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}

.progress-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.progress-row:last-child {
  border-bottom: none;
}

.progress-row-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

.progress-row-num.done {
  background: var(--success);
  color: #fff;
}

.progress-row-num.active {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3);
}

.progress-row-num.locked {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.3);
}

.progress-row-label {
  font-size: 14px;
  font-weight: 500;
  flex: 1;
}

.progress-row-label.done {
  color: rgba(255, 255, 255, 0.7);
}

.progress-row-label.active {
  color: #fff;
  font-weight: 600;
}

.progress-row-label.locked {
  color: rgba(255, 255, 255, 0.3);
}

.progress-row-icon {
  font-size: 16px;
}

/* --- LESSON PAGE STYLES --- */
.lesson-hero {
  background: var(--brand);
  padding: 56px 0 48px;
}

.lesson-day-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 107, 53, 0.15);
  color: var(--accent);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.lesson-title {
  color: #fff;
  margin-bottom: 12px;
}

.lesson-subtitle {
  color: rgba(255, 255, 255, 0.65);
  font-size: 18px;
  max-width: 600px;
  margin-bottom: 24px;
}

.lesson-meta {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.lesson-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

/* Lesson content area */
.lesson-body {
  max-width: 800px;
}

.lesson-section {
  margin-bottom: 56px;
}

.lesson-section-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.lesson-section-icon {
  font-size: 24px;
}

.lesson-section-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--brand);
}

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

.lesson-content ul,
.lesson-content ol {
  margin: 16px 0 16px 24px;
}

.lesson-content li {
  margin-bottom: 8px;
  font-size: 16px;
  line-height: 1.7;
}

.lesson-content strong {
  color: var(--brand);
}

/* Video embed */
.video-embed {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #000;
  aspect-ratio: 16/9;
  margin: 20px 0;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Prompt lab */
.prompt-item {
  margin-bottom: 24px;
}

.prompt-label {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--brand);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.prompt-label .num {
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

/* Practice task box */
.task-box {
  background: linear-gradient(135deg, #0D1B2A 0%, #162434 100%);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  color: #fff;
}

.task-box-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 12px;
}

.task-box h4 {
  color: #fff;
  margin-bottom: 8px;
  font-size: 18px;
}

.task-box p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  line-height: 1.7;
}

.task-box ul {
  margin: 12px 0 0 20px;
}

.task-box ul li {
  color: rgba(255, 255, 255, 0.7);
  font-size: 15px;
  margin-bottom: 6px;
}

/* Nav between days */
.day-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  margin-top: 48px;
}

.day-nav .btn {
  padding: 9px 18px;
  font-size: 14px;
}

.day-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--brand);
}

.day-nav a:hover {
  color: var(--accent);
}

/* Lesson sidebar */
.lesson-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.lesson-sidebar {
  position: sticky;
  top: 88px;
}

.sidebar-card {
  background: var(--bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  padding: 24px;
  margin-bottom: 20px;
}

.sidebar-card h4 {
  font-size: 15px;
  margin-bottom: 14px;
  color: var(--brand);
}

.sidebar-day-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sidebar-day-links a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-light);
  padding: 8px 10px;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.sidebar-day-links a:hover,
.sidebar-day-links a.active {
  background: var(--bg-light);
  color: var(--brand);
}

.sidebar-day-links a.active {
  font-weight: 600;
  color: var(--accent);
}

/* --- PROMPT LIBRARY PAGE --- */
.prompt-category {
  margin-bottom: 56px;
}

.prompt-category-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--brand);
}

.prompt-category-icon {
  font-size: 28px;
}

.prompt-category-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--brand);
}

.prompt-category-count {
  font-size: 13px;
  color: var(--text-light);
  background: var(--bg-light);
  padding: 3px 10px;
  border-radius: 100px;
}

.prompt-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

/* --- EMAIL / FORM --- */
.form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.form-input {
  flex: 1;
  min-width: 200px;
  padding: 13px 18px;
  font-size: 15px;
  font-family: var(--font-body);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--accent);
}

.form-input::placeholder {
  color: var(--text-light);
}

.form-input-dark {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.form-input-dark::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-input-dark:focus {
  border-color: rgba(255, 255, 255, 0.6);
}

/* Email stack decoration */
.email-stack {
  position: relative;
  width: 280px;
}

.email-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 8px;
}

.email-card-from {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 4px;
}

.email-card-subject {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.email-card-preview {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

/* Comparison table */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.compare-table th {
  padding: 14px 20px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  background: var(--bg-light);
  color: var(--brand);
}

.compare-table th:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
}

.compare-table th:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
}

.compare-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

.compare-table .no {
  color: var(--text-light);
}

.compare-table .yes {
  color: var(--success);
  font-weight: 600;
}

/* Checklist two-col */
.checklist-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

/* Stats / social proof strip */
.stats-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  padding: 40px 0;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--brand);
  display: block;
}

.stat-label {
  font-size: 14px;
  color: var(--text-light);
}

/* Highlight box */
.highlight-box {
  background: rgba(255, 107, 53, 0.07);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin: 20px 0;
}

.highlight-box p {
  margin: 0;
  font-size: 15px;
  color: var(--brand);
}

/* Tool card */
.tool-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}

.tool-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--accent);
}

.tool-icon {
  font-size: 32px;
  flex-shrink: 0;
}

.tool-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--brand);
  margin-bottom: 4px;
}

.tool-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.6;
}

.tool-tag {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
}

.tool-free {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.tool-paid {
  background: rgba(255, 107, 53, 0.1);
  color: var(--accent);
}

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.animate-fade-up {
  animation: fadeInUp 0.5s ease both;
}

/* --- UTILITIES --- */
.mt-8 {
  margin-top: 8px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mt-32 {
  margin-top: 32px;
}

.mt-48 {
  margin-top: 48px;
}

.mb-8 {
  margin-bottom: 8px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-24 {
  margin-bottom: 24px;
}

.mb-32 {
  margin-bottom: 32px;
}

.mb-48 {
  margin-bottom: 48px;
}

.gap-8 {
  gap: 8px;
}

.gap-16 {
  gap: 16px;
}

.gap-24 {
  gap: 24px;
}

.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-start {
  align-items: flex-start;
}

.w-full {
  width: 100%;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .lesson-layout {
    grid-template-columns: 1fr;
  }

  .lesson-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  section {
    padding: 56px 0;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 60px 0;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .grid-7 {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .hero-visual {
    display: none;
  }

  .hero h1 {
    font-size: 34px;
  }

  .stats-strip {
    gap: 32px;
  }

  .checklist-cols {
    grid-template-columns: 1fr;
  }

  .prompt-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
  }

  .form-row .btn {
    width: 100%;
    justify-content: center;
  }

  .lesson-layout {
    grid-template-columns: 1fr;
  }

  h2 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  section {
    padding: 40px 0;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .hero-trust {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   FAQ PAGE COMPONENTS (faq.html)
   ============================================================ */

.faq-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
  padding: 24px;
  background: var(--bg-light);
  border-radius: 12px;
  position: sticky;
  top: 80px;
  z-index: 100;
}

.faq-nav-btn {
  flex: 1;
  min-width: 140px;
  padding: 12px 16px;
  background: white;
  border: 2px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.faq-nav-btn:hover {
  border-color: var(--accent);
  background: #fff5f0;
  transform: translateY(-2px);
}

.faq-nav-btn.active {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.faq-section {
  margin-bottom: 60px;
}

.faq-section-header {
  background: linear-gradient(135deg, #0f1f3c 0%, #1a2d4d 100%);
  padding: 32px;
  border-radius: 12px 12px 0 0;
  color: white;
  margin-bottom: 0;
}

.faq-section-icon {
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
}

.faq-section-title {
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 8px 0;
  color: white;
}

.faq-section-subtitle {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.faq-list {
  background: white;
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 12px 12px;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

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

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: all 0.2s;
}

.faq-question:hover {
  background: var(--bg-light);
  color: var(--accent);
}

.faq-icon {
  font-size: 20px;
  font-weight: 700;
  color: var(--accent);
  transition: transform 0.3s;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer-content {
  padding: 0 24px 24px 24px;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 15px;
}

.faq-answer-content p {
  margin: 0 0 16px 0;
}

.faq-answer-content p:last-child {
  margin-bottom: 0;
}

.faq-answer-content ul {
  margin: 12px 0;
  padding-left: 24px;
}

.faq-answer-content li {
  margin-bottom: 8px;
}

.faq-answer-content strong {
  color: var(--text);
}

.faq-answer-content code {
  background: var(--bg-light);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 14px;
}

.faq-item.active .faq-answer {
  max-height: 2000px;
  transition: max-height 0.5s ease-in;
}

.faq-cta-box {
  background: #f0f9ff;
  border-left: 4px solid #3b82f6;
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin-top: 16px;
}

@media (max-width: 768px) {
  .faq-nav {
    position: static;
    padding: 16px;
    gap: 8px;
  }

  .faq-nav-btn {
    min-width: 100px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .faq-section-header {
    padding: 24px 20px;
  }

  .faq-section-title {
    font-size: 22px;
  }

  .faq-question {
    padding: 16px 20px;
    font-size: 15px;
  }

  .faq-answer-content {
    padding: 0 20px 20px 20px;
    font-size: 14px;
  }
}

/* ============================================================
   GLOSSARY PAGE COMPONENTS (glossary.html)
   ============================================================ */

.glossary-search {
  max-width: 600px;
  margin: 0 auto 40px;
  position: relative;
}

.glossary-search input {
  width: 100%;
  padding: 16px 50px 16px 20px;
  font-size: 16px;
  border: 2px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s;
}

.glossary-search input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.search-icon {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: var(--text-light);
}

.alphabet-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 40px;
  padding: 20px;
  background: var(--bg-light);
  border-radius: 12px;
}

.alphabet-nav a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: 6px;
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  transition: all 0.2s;
}

.alphabet-nav a:hover {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
  transform: translateY(-2px);
}

.alphabet-nav a.disabled {
  opacity: 0.3;
  pointer-events: none;
}

.glossary-section {
  margin-bottom: 60px;
}

.glossary-letter {
  font-size: 48px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 3px solid var(--accent);
}

.glossary-term {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  margin-bottom: 16px;
  transition: all 0.2s;
}

.glossary-term:hover {
  border-color: var(--accent);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.term-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

.term-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}

.term-day-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: var(--bg-light);
  color: var(--accent);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
}

.term-day-tag:hover {
  background: var(--accent);
  color: white;
}

.term-definition {
  font-size: 16px;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 12px;
}

.term-example {
  background: var(--bg-light);
  padding: 12px 16px;
  border-left: 3px solid var(--accent);
  border-radius: 4px;
  font-size: 14px;
  color: var(--text-light);
  font-style: italic;
  margin-top: 12px;
}

.term-example strong {
  color: var(--text);
  font-style: normal;
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

.no-results-icon {
  font-size: 64px;
  margin-bottom: 16px;
}

@media (max-width: 768px) {
  .alphabet-nav {
    gap: 4px;
    padding: 15px;
  }

  .alphabet-nav a {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  .glossary-letter {
    font-size: 36px;
  }

  .term-name {
    font-size: 18px;
  }
}

/* ============================================================
   TROUBLESHOOTING PAGE COMPONENTS (troubleshooting.html)
   ============================================================ */

.problem-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.problem-nav-card {
  background: white;
  border: 2px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  color: var(--text);
}

.problem-nav-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.problem-nav-icon {
  font-size: 32px;
  margin-bottom: 12px;
  display: block;
}

.problem-nav-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}

.problem-nav-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
}

.troubleshoot-section {
  margin-bottom: 80px;
}

.section-header {
  background: linear-gradient(135deg, #0f1f3c 0%, #1a2d4d 100%);
  padding: 32px;
  border-radius: 12px;
  color: white;
  margin-bottom: 32px;
}

.section-icon {
  font-size: 48px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 32px;
  font-weight: 800;
  margin: 0 0 12px 0;
  color: white;
}

.section-subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.problem-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.problem-title {
  font-size: 24px;
  font-weight: 700;
  color: #DC2626;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.problem-title-icon {
  font-size: 28px;
}

.problem-diagnostic {
  background: #fff7ed;
  border-left: 4px solid #f97316;
  padding: 20px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 24px;
}

.diagnostic-title {
  font-size: 14px;
  font-weight: 700;
  color: #f97316;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.diagnostic-questions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.diagnostic-question {
  font-size: 14px;
  color: var(--text);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.solution {
  margin-bottom: 32px;
}

.solution-title {
  font-size: 18px;
  font-weight: 700;
  color: #15803d;
  margin: 0 0 16px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.solution-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
}

.step-content {
  flex: 1;
}

.step-title {
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  font-size: 15px;
}

.step-desc {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.6;
}

.step-code {
  background: #f9fafb;
  padding: 12px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 13px;
  margin-top: 8px;
  border: 1px solid var(--border);
  overflow-x: auto;
}

.related-links {
  background: #f0f9ff;
  border-left: 4px solid #3b82f6;
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin-top: 24px;
}

.related-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e40af;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.related-link {
  color: #2563eb;
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.related-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .problem-nav {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 24px;
  }

  .problem-title {
    font-size: 20px;
  }

  .problem-card {
    padding: 24px 20px;
  }
}