/* ============================================================
   Executive Presence & Leadership Impact — Styles
   ============================================================ */

/* ---- CSS Variables ---- */
:root {
  --purple: #667eea;
  --deep-purple: #764ba2;
  --gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --card-bg: #ffffff;
  --text: #2c3e50;
  --text-light: #555;
  --text-muted: #888;
  --border: #e8ecf1;
  --radius: 15px;
  --radius-sm: 10px;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.14);
  --dark-bg: #2c3e50;
  --success: #27ae60;
  --danger: #e74c3c;
  --warning: #f39c12;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--gradient);
  min-height: 100vh;
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ---- Back Link ---- */
.back-link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 1rem 2rem;
  transition: color 0.2s;
}
.back-link:hover {
  color: #fff;
}

/* ---- Hero Header ---- */
.hero {
  text-align: center;
  color: white;
  padding: 2rem 1.5rem 3rem;
}

.lesson-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 0.35rem 1rem;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.5px;
  animation: fadeIn 0.8s ease;
}

.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.7;
  animation: fadeIn 0.8s ease 0.2s both;
}

/* ---- Section Navigation ---- */
.section-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  max-width: 1100px;
  margin: 0 auto 2rem;
  padding: 0 1.5rem;
}

.nav-tab {
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  border: none;
  padding: 0.6rem 1.1rem;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.nav-tab:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #fff;
}
.nav-tab.active {
  background: #fff;
  color: var(--purple);
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

/* ---- Main Container ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

/* ---- Content Sections ---- */
.content-section {
  display: none;
  animation: slideIn 0.45s ease;
}
.content-section.active {
  display: block;
}

.content-section h2 {
  font-size: 1.85rem;
  color: white;
  margin-bottom: 0.5rem;
  letter-spacing: -0.3px;
}

.section-intro {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 750px;
}

/* ---- Cards (shared) ---- */
.card-base {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}

/* ============================================================
   SECTION 1: PILLAR TRIANGLE
   ============================================================ */
.pillar-triangle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.pillar-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.pillar-card.expanded {
  box-shadow: var(--shadow-hover);
}

.pillar-icon {
  font-size: 2.8rem;
  margin-bottom: 0.75rem;
}

.pillar-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--purple);
  margin-bottom: 0.3rem;
}

.pillar-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.pillar-expand {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease, margin-top 0.45s ease;
  text-align: left;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-light);
}
.pillar-card.expanded .pillar-expand {
  max-height: 300px;
  margin-top: 1rem;
}

.pillar-expand ul {
  list-style: none;
  padding-left: 0;
  margin-top: 0.75rem;
}
.pillar-expand li {
  padding: 0.35rem 0;
  padding-left: 1.25rem;
  position: relative;
}
.pillar-expand li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 700;
}

.expand-btn {
  background: var(--gradient);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  margin-top: 0.75rem;
  transition: transform 0.3s ease, background 0.3s ease;
  line-height: 1;
}
.expand-btn:hover {
  transform: scale(1.1);
}
.pillar-card.expanded .expand-btn {
  transform: rotate(45deg);
}

.insight-quote {
  background: rgba(255,255,255,0.12);
  border-left: 4px solid rgba(255,255,255,0.5);
  padding: 1.5rem 2rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: rgba(255,255,255,0.92);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.7;
}
.insight-quote cite {
  display: block;
  margin-top: 0.75rem;
  font-style: normal;
  font-size: 0.88rem;
  opacity: 0.75;
}

/* ============================================================
   SECTION 2: SPEAKING WITH GRAVITAS
   ============================================================ */
.lesson-block {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.lesson-block h3 {
  font-size: 1.3rem;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.lesson-block > p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Before/After Table */
.before-after-table {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.ba-header {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  background: var(--dark-bg);
  color: #ecf0f1;
  font-weight: 700;
  font-size: 0.9rem;
}

.ba-row {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  border-bottom: 1px solid var(--border);
}
.ba-row:last-child { border-bottom: none; }

.ba-col {
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
}

.before-col {
  background: #fdf2f2;
  color: #7b3a3a;
  font-size: 0.92rem;
}

.arrow-col {
  background: #f8f9fa;
  justify-content: center;
  font-weight: 700;
  color: var(--purple);
  font-size: 1.1rem;
}

.after-col {
  background: #f0faf0;
  color: #2d6a2d;
  font-size: 0.92rem;
  font-weight: 500;
}

/* Flip Cards */
.flip-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.flip-card {
  perspective: 800px;
  height: 130px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
}

.flip-card-front {
  background: #fdf2f2;
  color: #7b3a3a;
  border: 2px solid #f5d5d5;
}

.flip-card-back {
  background: #f0faf0;
  color: #2d6a2d;
  border: 2px solid #c8e6c9;
  transform: rotateY(180deg);
}

/* Example Box (Concision) */
.example-box {
  margin: 1.5rem 0;
  text-align: center;
}

.example-before,
.example-after {
  background: var(--dark-bg);
  color: #ecf0f1;
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  text-align: left;
  line-height: 1.7;
}

.example-before .label,
.example-after .label {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}

.example-before .label {
  background: rgba(231, 76, 60, 0.3);
  color: #f5b7b1;
}

.example-after .label {
  background: rgba(39, 174, 96, 0.3);
  color: #a9dfbf;
}

.example-arrow {
  font-size: 1.5rem;
  color: var(--purple);
  padding: 0.4rem 0;
  font-weight: 700;
}

/* Interactive Exercises */
.interactive-exercise {
  background: #f8f9fb;
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.interactive-exercise h4 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: #1a1a2e;
}

.interactive-exercise > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.verbose-box {
  background: var(--dark-bg);
  color: #bdc3c7;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.verbose-box .label {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  background: rgba(243, 156, 18, 0.25);
  color: #f9d69a;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.6;
  resize: vertical;
  transition: border-color 0.2s ease;
  color: var(--text);
}

textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.12);
}

.exercise-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  padding: 0.65rem 1.4rem;
  border: none;
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 3px 12px rgba(102, 126, 234, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.45);
}

.btn-secondary {
  background: #ecf0f1;
  color: var(--text);
}
.btn-secondary:hover {
  background: #dce4e8;
}

.model-answer {
  margin-top: 1.25rem;
  background: #f0faf0;
  border: 1px solid #c8e6c9;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  color: #2d6a2d;
  animation: fadeIn 0.4s ease;
}

.model-answer.hidden {
  display: none;
}

.model-answer .label {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  background: rgba(39, 174, 96, 0.15);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.5rem;
}

.model-answer p {
  margin: 0;
  line-height: 1.7;
}

/* BLUF Compare */
.bluf-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.bluf-bad,
.bluf-good {
  padding: 1.5rem;
  border-radius: var(--radius-sm);
}

.bluf-bad {
  background: #fdf2f2;
  border: 1px solid #f5d5d5;
}

.bluf-good {
  background: #f0faf0;
  border: 1px solid #c8e6c9;
}

.bluf-bad strong,
.bluf-good strong {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.95rem;
}

.bluf-bad p,
.bluf-good p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
  color: var(--text-light);
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
}

.bluf-bad .badge {
  background: rgba(231, 76, 60, 0.15);
  color: #c0392b;
}

.bluf-good .badge {
  background: rgba(39, 174, 96, 0.15);
  color: #27ae60;
}

/* BLUF Phrases */
.bluf-phrases {
  margin: 1.5rem 0;
}

.bluf-phrases h4 {
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: #1a1a2e;
}

.bluf-phrases ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.bluf-phrases li {
  background: var(--gradient);
  color: #fff;
  padding: 0.45rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ============================================================
   SECTION 3: COMMANDING THE ROOM
   ============================================================ */
.technique-block {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 1.5rem;
}

.technique-block h3 {
  font-size: 1.2rem;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.technique-block > p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
}

/* Pause Demo */
.pause-demo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 1.25rem 0;
}

.pause-card {
  background: #f8f9fb;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--purple);
}

.pause-card strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  color: #1a1a2e;
}

.pause-card p {
  font-size: 0.87rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Interactive Pause */
.interactive-pause {
  background: #f8f9fb;
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  margin-top: 1.5rem;
}

.interactive-pause h4 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.interactive-pause > p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.pause-sentence {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.15rem;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.pause-word {
  background: #e8ecf1;
  color: var(--text);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.pause-word:hover {
  background: #d5dce6;
}

.pause-word.pause-active {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.pause-word.pause-active::after {
  content: " ⏸";
  font-size: 0.85rem;
}

.pause-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Phrase Cards */
.phrase-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  margin: 1.25rem 0;
}

.phrase-card {
  background: var(--gradient);
  color: #fff;
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.phrase {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.phrase-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
  font-weight: 600;
}

/* Strategy Grid */
.strategy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.25rem 0;
}

.strategy-card {
  background: #f8f9fb;
  padding: 1.5rem;
  border-radius: var(--radius-sm);
  border-top: 3px solid var(--purple);
}

.strategy-card strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.4rem;
  color: #1a1a2e;
}

.strategy-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.tip {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Nonverbal Grid */
.nonverbal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin: 1.25rem 0;
}

.nonverbal-card {
  text-align: center;
  padding: 1.5rem;
  background: #f8f9fb;
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease;
}
.nonverbal-card:hover {
  transform: translateY(-3px);
}

.nonverbal-icon {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.nonverbal-card strong {
  display: block;
  font-size: 0.95rem;
  color: #1a1a2e;
  margin-bottom: 0.3rem;
}

.nonverbal-card p {
  font-size: 0.87rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ============================================================
   SECTION 4: PRESENTING TO SENIOR LEADERSHIP
   ============================================================ */
.framework-timeline {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.timeline-step {
  display: flex;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.timeline-step:last-child {
  border-bottom: none;
}

.timeline-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--gradient);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.timeline-content {
  flex: 1;
}

.timeline-content strong {
  font-size: 1.05rem;
  color: #1a1a2e;
}

.timeline-time {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-left: 0.6rem;
}

.timeline-content p {
  font-size: 0.92rem;
  color: var(--text-light);
  margin-top: 0.3rem;
  line-height: 1.6;
  background: var(--dark-bg);
  color: #bdc3c7;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.85rem;
}

/* Framework Inputs */
.framework-inputs {
  margin: 1rem 0;
}

.fi-row {
  margin-bottom: 1rem;
}

.fi-row label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}

.fi-input {
  width: 100%;
}

.framework-model p {
  margin-bottom: 0.6rem;
  line-height: 1.7;
  font-size: 0.92rem;
}

/* ============================================================
   SECTION 5: DAILY HABITS
   ============================================================ */
.habits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}

.habit-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}
.habit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.habit-number {
  font-size: 3rem;
  font-weight: 800;
  color: rgba(102, 126, 234, 0.1);
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  line-height: 1;
}

.habit-card h3 {
  font-size: 1.1rem;
  color: #1a1a2e;
  margin-bottom: 0.5rem;
}

.habit-card > p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.habit-tip {
  display: block;
  font-size: 0.82rem;
  color: var(--purple);
  font-weight: 500;
}

/* ============================================================
   SECTION 6: SELF-ASSESSMENT
   ============================================================ */
.assessment-container {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.assessment-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.assessment-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem 1.25rem;
  background: #f8f9fb;
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
}

.assessment-item .question {
  flex: 1;
  min-width: 200px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
}

.rating-group {
  display: flex;
  gap: 0.3rem;
  flex-shrink: 0;
}

.rating-btn {
  width: 38px;
  height: 38px;
  border: 2px solid var(--border);
  border-radius: 50%;
  background: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.rating-btn:hover {
  border-color: var(--purple);
  color: var(--purple);
}

.rating-btn.selected {
  background: var(--gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.35);
}

.assessment-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* Results */
.assessment-results {
  margin-top: 2rem;
  animation: slideIn 0.5s ease;
}

.assessment-results.hidden {
  display: none;
}

.score-display {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.score-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--gradient);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(102, 126, 234, 0.35);
}

.score-circle span {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.score-circle small {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-top: 0.15rem;
}

.score-level {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a1a2e;
}

.score-level .level-sub {
  display: block;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

.score-recommendations {
  background: #f8f9fb;
  border-radius: var(--radius-sm);
  padding: 1.5rem;
}

.score-recommendations h4 {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  color: #1a1a2e;
}

.score-recommendations ul {
  list-style: none;
  padding: 0;
}

.score-recommendations li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
}

.score-recommendations li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--purple);
  font-weight: 700;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  padding: 2rem 0 1.5rem;
  font-size: 0.85rem;
}

footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  color: #fff;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

/* ============================================================
   RESPONSIVE: ≤ 768px
   ============================================================ */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .pillar-triangle {
    grid-template-columns: 1fr;
  }

  .bluf-compare {
    grid-template-columns: 1fr;
  }

  .pause-demo {
    grid-template-columns: 1fr;
  }

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

  .before-after-table {
    font-size: 0.85rem;
  }

  .ba-header,
  .ba-row {
    grid-template-columns: 1fr 40px 1fr;
  }

  .ba-col {
    padding: 0.7rem 0.75rem;
    font-size: 0.8rem;
  }

  .timeline-step {
    flex-direction: column;
    gap: 0.5rem;
  }

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

  .section-nav {
    gap: 0.3rem;
  }

  .nav-tab {
    font-size: 0.78rem;
    padding: 0.5rem 0.85rem;
  }

  .assessment-item {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ============================================================
   RESPONSIVE: ≤ 480px
   ============================================================ */
@media (max-width: 480px) {
  .hero {
    padding: 1.5rem 1rem 2rem;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

  .container {
    padding: 0 1rem 2rem;
  }

  .section-nav {
    padding: 0 0.5rem;
    gap: 0.25rem;
  }

  .nav-tab {
    font-size: 0.7rem;
    padding: 0.4rem 0.65rem;
  }

  .lesson-block,
  .technique-block {
    padding: 1.25rem;
  }

  .ba-header,
  .ba-row {
    grid-template-columns: 1fr 30px 1fr;
  }

  .ba-col {
    padding: 0.6rem 0.5rem;
    font-size: 0.75rem;
  }

  .flip-card-grid {
    grid-template-columns: 1fr;
  }

  .phrase-cards {
    grid-template-columns: 1fr;
  }

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

  .score-circle {
    width: 100px;
    height: 100px;
  }

  .score-circle span {
    font-size: 2.5rem;
  }

  .framework-timeline {
    padding: 1.25rem;
  }
}
