/* ====== INTERVIEW GUIDE - Override Styles ====== */

/* ====== DESIGN TOKENS ====== */
:root {
  --accent: #14b8a6;
  --accent-dim: #14b8a620;
  --gradient-1: linear-gradient(135deg, #14b8a6 0%, #06b6d4 50%, #3b82f6 100%);

  --bg-primary: var(--bg);
  --bg-secondary: #111118;
  --bg-elevated: #1e1e2a;
  --text-primary: var(--text);
  --accent-teal: #14b8a6;
  --accent-cyan: #22d3ee;
  --accent-blue: #3b82f6;
  --accent-purple: #a78bfa;
  --accent-green: #34d399;
  --accent-orange: #f59e0b;
  --accent-red: #ef4444;
  --accent-pink: #f472b6;
  --gradient-main: linear-gradient(135deg, #14b8a6 0%, #06b6d4 50%, #3b82f6 100%);
  --gradient-warm: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --gradient-cool: linear-gradient(135deg, #14b8a6 0%, #22d3ee 100%);
  --border-color: var(--border);
  --border-subtle: var(--border-light);
  --radius-md: var(--radius);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-glow: 0 0 30px rgba(20,184,166,0.15);

  /* Perspective Colors */
  --candidate: #22d3ee;
  --candidate-dim: #22d3ee20;
  --candidate-border: #22d3ee40;
  --interviewer: #f59e0b;
  --interviewer-dim: #f59e0b20;
  --interviewer-border: #f59e0b40;

  /* Role Colors */
  --role-general: #a78bfa;
  --role-general-dim: #a78bfa20;
  --role-general-border: #a78bfa40;
  --role-pm: #f472b6;
  --role-pm-dim: #f472b620;
  --role-pm-border: #f472b640;
  --role-design: #fb923c;
  --role-design-dim: #fb923c20;
  --role-design-border: #fb923c40;
  --role-dev: #34d399;
  --role-dev-dim: #34d39920;
  --role-dev-border: #34d39940;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--accent-teal); text-decoration: none; }
a:hover { color: var(--accent-cyan); }
strong { color: var(--text-primary); font-weight: 600; }
em { color: var(--accent-cyan); font-style: normal; }
code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--bg-card);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--accent-cyan);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ====== NAV ====== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}
.nav.scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: var(--shadow-md);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.nav-logo:hover { color: var(--text-primary); }
.nav-logo-icon {
  width: 32px; height: 32px;
  background: var(--gradient-main);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-link {
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.2s;
}
.nav-link:hover { color: var(--text-primary); background: var(--bg-card); }
.nav-link.active { color: var(--accent-teal); background: var(--accent-dim); }

/* ====== PERSPECTIVE TOGGLE ====== */
.perspective-toggle {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  padding: 3px;
  flex-shrink: 0;
}
.perspective-btn {
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  background: transparent;
  color: var(--text-muted);
  white-space: nowrap;
}
.perspective-btn[data-perspective="candidate"].active {
  background: var(--candidate-dim);
  color: var(--candidate);
  border: 1px solid var(--candidate-border);
}
.perspective-btn[data-perspective="interviewer"].active {
  background: var(--interviewer-dim);
  color: var(--interviewer);
  border: 1px solid var(--interviewer-border);
}

/* ====== ROLE FILTER ====== */
.role-filter {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 100px;
  padding: 3px;
  flex-shrink: 0;
}
.role-btn {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  background: transparent;
  color: var(--text-muted);
  white-space: nowrap;
}
.role-btn.active[data-role="all"] {
  background: var(--accent-dim);
  color: var(--accent-teal);
  border: 1px solid rgba(20,184,166,0.3);
}
.role-btn.active[data-role="general"] {
  background: var(--role-general-dim);
  color: var(--role-general);
  border: 1px solid var(--role-general-border);
}
.role-btn.active[data-role="pm"] {
  background: var(--role-pm-dim);
  color: var(--role-pm);
  border: 1px solid var(--role-pm-border);
}
.role-btn.active[data-role="design"] {
  background: var(--role-design-dim);
  color: var(--role-design);
  border: 1px solid var(--role-design-border);
}
.role-btn.active[data-role="dev"] {
  background: var(--role-dev-dim);
  color: var(--role-dev);
  border: 1px solid var(--role-dev-border);
}

/* Role badges */
.role-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  margin-right: 6px;
}
.role-badge-general { background: var(--role-general-dim); color: var(--role-general); border: 1px solid var(--role-general-border); }
.role-badge-pm { background: var(--role-pm-dim); color: var(--role-pm); border: 1px solid var(--role-pm-border); }
.role-badge-design { background: var(--role-design-dim); color: var(--role-design); border: 1px solid var(--role-design-border); }
.role-badge-dev { background: var(--role-dev-dim); color: var(--role-dev); border: 1px solid var(--role-dev-border); }

/* Role content filtering — exclude role-filter buttons */
body.role-dev [data-role="pm"]:not(.role-btn),
body.role-dev [data-role="design"]:not(.role-btn) { display: none !important; }
body.role-pm [data-role="dev"]:not(.role-btn),
body.role-pm [data-role="design"]:not(.role-btn) { display: none !important; }
body.role-design [data-role="dev"]:not(.role-btn),
body.role-design [data-role="pm"]:not(.role-btn) { display: none !important; }
body.role-general [data-role="dev"]:not(.role-btn),
body.role-general [data-role="pm"]:not(.role-btn),
body.role-general [data-role="design"]:not(.role-btn) { display: none !important; }
/* body.role-all shows everything */

/* Perspective content switching */
body.perspective-candidate [data-for="interviewer"] { display: none !important; }
body.perspective-interviewer [data-for="candidate"] { display: none !important; }
[data-for="both"] { display: block !important; }

/* Perspective fade transition */
[data-for] {
  animation: perspectiveFadeIn 0.3s ease;
}
@keyframes perspectiveFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 20px; height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ====== HERO ====== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(20,184,166,0.15) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(34,211,238,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--accent-dim);
  border: 1px solid rgba(20,184,166,0.2);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-teal);
  margin-bottom: 24px;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 40px;
}
.stat {
  text-align: center;
}
.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--gradient-main);
  border-radius: 12px;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
}
.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(20,184,166,0.3);
  color: white;
}
.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
}
.hero-cta-secondary:hover {
  border-color: var(--accent-teal);
  color: var(--text-primary);
}

/* ====== SECTION ====== */
.section {
  padding: 100px 0;
}
.section-dark {
  background: var(--bg-secondary);
}
.section-label {
  display: inline-block;
  padding: 4px 14px;
  background: var(--accent-dim);
  border: 1px solid rgba(20,184,166,0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-teal);
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  margin-bottom: 48px;
  line-height: 1.6;
}

/* Overview section center alignment */
#overview > .container {
  text-align: center;
}
#overview > .container > .section-desc {
  margin-left: auto;
  margin-right: auto;
}
#overview .dual-view,
#overview .pipeline,
#overview [data-for="interviewer"] {
  text-align: left;
}

/* Perspective-specific section labels */
.section-label-candidate {
  background: var(--candidate-dim);
  border-color: var(--candidate-border);
  color: var(--candidate);
}
.section-label-interviewer {
  background: var(--interviewer-dim);
  border-color: var(--interviewer-border);
  color: var(--interviewer);
}

/* ====== PERSPECTIVE INDICATOR ====== */
.perspective-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.perspective-indicator.candidate {
  background: var(--candidate-dim);
  border: 1px solid var(--candidate-border);
  color: var(--candidate);
}
.perspective-indicator.interviewer {
  background: var(--interviewer-dim);
  border: 1px solid var(--interviewer-border);
  color: var(--interviewer);
}

/* ====== CARDS ====== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}
.cards-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.cards-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all 0.3s ease;
}
.card:hover {
  border-color: var(--accent-teal);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}
.card-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  margin-bottom: 16px;
  font-size: 1.5rem;
}
.card-icon-candidate {
  background: var(--candidate-dim);
  color: var(--candidate);
}
.card-icon-interviewer {
  background: var(--interviewer-dim);
  color: var(--interviewer);
}
.card-icon-teal { background: rgba(20,184,166,0.15); color: var(--accent-teal); }
.card-icon-cyan { background: rgba(34,211,238,0.15); color: var(--accent-cyan); }
.card-icon-blue { background: rgba(59,130,246,0.15); color: var(--accent-blue); }
.card-icon-purple { background: rgba(167,139,250,0.15); color: var(--accent-purple); }
.card-icon-green { background: rgba(52,211,153,0.15); color: var(--accent-green); }
.card-icon-orange { background: rgba(245,158,11,0.15); color: var(--accent-orange); }
.card-icon-red { background: rgba(239,68,68,0.15); color: var(--accent-red); }
.card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.card-featured {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--bg-card), var(--bg-elevated));
}

/* Card border color by perspective */
.card-candidate { border-color: var(--candidate-border); }
.card-candidate:hover { border-color: var(--candidate); box-shadow: 0 0 30px rgba(34,211,238,0.15); }
.card-interviewer { border-color: var(--interviewer-border); }
.card-interviewer:hover { border-color: var(--interviewer); box-shadow: 0 0 30px rgba(245,158,11,0.15); }

/* ====== DUAL VIEW ====== */
.dual-view {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 40px;
}
.dual-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
}
.dual-panel.panel-candidate {
  border-top: 3px solid var(--candidate);
}
.dual-panel.panel-interviewer {
  border-top: 3px solid var(--interviewer);
}
.dual-panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}
.dual-panel-icon {
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.1rem;
}
.dual-panel-title {
  font-weight: 700;
  font-size: 1rem;
}
.panel-candidate .dual-panel-icon {
  background: var(--candidate-dim);
  color: var(--candidate);
}
.panel-candidate .dual-panel-title { color: var(--candidate); }
.panel-interviewer .dual-panel-icon {
  background: var(--interviewer-dim);
  color: var(--interviewer);
}
.panel-interviewer .dual-panel-title { color: var(--interviewer); }

.dual-panel ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dual-panel li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  padding-left: 20px;
  position: relative;
  line-height: 1.5;
}
.dual-panel.panel-candidate li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px; height: 8px;
  background: var(--candidate);
  border-radius: 50%;
}
.dual-panel.panel-interviewer li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px; height: 8px;
  background: var(--interviewer);
  border-radius: 50%;
}

/* ====== TIMELINE ====== */
.timeline {
  position: relative;
  padding-left: 40px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-teal), var(--accent-blue), var(--accent-purple));
}
.timeline-item {
  position: relative;
  margin-bottom: 40px;
}
.timeline-dot {
  position: absolute;
  left: -33px;
  top: 4px;
  width: 12px; height: 12px;
  background: var(--accent-teal);
  border-radius: 50%;
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 3px var(--accent-dim);
}
.timeline-step {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}
.timeline-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.timeline-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

/* ====== COMPARISON TABLE ====== */
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  margin-bottom: 40px;
}
.comparison-table th {
  background: var(--bg-elevated);
  padding: 16px 20px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-color);
}
.comparison-table td {
  padding: 14px 20px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(42,42,58,0.5);
}
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table .col-candidate { color: var(--candidate); font-weight: 500; }
.comparison-table .col-interviewer { color: var(--interviewer); font-weight: 500; }

/* ====== SIGNAL CARDS (Red/Green flags) ====== */
.signal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}
.signal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.signal-card.green {
  border-left: 3px solid var(--accent-green);
}
.signal-card.red {
  border-left: 3px solid var(--accent-red);
}
.signal-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.signal-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.signal-card li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.signal-card.green li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 700;
}
.signal-card.red li::before {
  content: '\2717';
  position: absolute;
  left: 0;
  color: var(--accent-red);
  font-weight: 700;
}

/* ====== CHECKLIST ====== */
.checklist {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}
.checklist h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.checklist ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checklist li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 28px;
  position: relative;
  line-height: 1.5;
}
.checklist li::before {
  content: '';
  position: absolute;
  left: 0; top: 3px;
  width: 18px; height: 18px;
  border: 2px solid var(--border-color);
  border-radius: 4px;
}

/* ====== STRATEGY CARDS ====== */
.strategy-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
}
.strategy-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.strategy-card .strategy-level {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.strategy-level.junior { background: rgba(34,211,238,0.15); color: var(--accent-cyan); }
.strategy-level.mid { background: rgba(59,130,246,0.15); color: var(--accent-blue); }
.strategy-level.senior { background: rgba(167,139,250,0.15); color: var(--accent-purple); }
.strategy-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.strategy-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 12px;
}
.strategy-card li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
}
.strategy-card li::before {
  content: '\203A';
  position: absolute;
  left: 0;
  color: var(--accent-teal);
  font-weight: 700;
}

/* ====== METRIC CARDS ====== */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
}
.metric-value {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}
.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ====== STAR METHOD ====== */
.star-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}
.star-step {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  position: relative;
}
.star-step .star-letter {
  font-size: 2.5rem;
  font-weight: 900;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}
.star-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.star-step p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ====== TREND CARD ====== */
.trend-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
}
.trend-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}
.trend-badge.hot { background: rgba(239,68,68,0.15); color: var(--accent-red); }
.trend-badge.rising { background: rgba(245,158,11,0.15); color: var(--accent-orange); }
.trend-badge.stable { background: rgba(52,211,153,0.15); color: var(--accent-green); }

/* ====== REVEAL ====== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ====== FOOTER ====== */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-color);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-bottom a {
  color: var(--accent-teal);
}
.footer-version {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 4px 12px;
  background: var(--bg-card);
  border-radius: 100px;
  border: 1px solid var(--border-color);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 1024px) {
  .cards-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid { grid-template-columns: repeat(2, 1fr); }
  .star-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 60px 0; }
  .container { padding: 0 16px; }
  .nav-links {
    display: none;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: rgba(10,10,15,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.active { display: flex; }
  .nav-toggle { display: flex; }
  .perspective-toggle { order: -1; }
  .role-filter { order: -2; }
  .dual-view { grid-template-columns: 1fr; }
  .signal-grid { grid-template-columns: 1fr; }
  .cards-grid-3 { grid-template-columns: 1fr; }
  .cards-grid-2 { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.5rem; }
  .section-title { font-size: 1.75rem; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .cards-grid { grid-template-columns: 1fr; }
  .metrics-grid { grid-template-columns: 1fr; }
  .star-steps { grid-template-columns: 1fr; }
  .comparison-table { font-size: 0.8rem; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }
  .perspective-btn { padding: 5px 12px; font-size: 0.75rem; }
  .role-btn { padding: 4px 10px; font-size: 0.7rem; }
}

/* ====== LANG TOGGLE (from base pattern) ====== */
.lang-toggle {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  border: 1px solid var(--border-color);
  transition: all 0.2s;
  flex-shrink: 0;
}
.lang-toggle:hover {
  color: var(--text-primary);
  border-color: var(--accent-teal);
}

/* ====== PIPELINE VISUAL ====== */
.pipeline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  padding: 20px 0;
  margin-bottom: 40px;
}
.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 120px;
  text-align: center;
  cursor: pointer;
  padding: 16px 12px;
  border-radius: var(--radius);
  transition: all 0.2s;
}
.pipeline-step:hover {
  background: var(--bg-card);
}
.pipeline-step-icon {
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-dim);
  border-radius: 12px;
  font-size: 1.3rem;
  color: var(--accent-teal);
}
.pipeline-step-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.pipeline-arrow {
  color: var(--text-muted);
  font-size: 1.2rem;
  flex-shrink: 0;
}

/* ====== TIP BOX ====== */
.tip-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--accent-teal);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.tip-box h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--accent-teal);
}
.tip-box p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ====== FORMAT COMPARISON ====== */
.format-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}
.format-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}
.format-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.format-card .pros, .format-card .cons {
  margin-bottom: 12px;
}
.format-card .pros h5 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-green);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.format-card .cons h5 {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-red);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.format-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.format-card li {
  font-size: 0.85rem;
  color: var(--text-secondary);
  padding-left: 14px;
  position: relative;
}
.format-card .pros li::before {
  content: '+';
  position: absolute;
  left: 0;
  color: var(--accent-green);
  font-weight: 700;
}
.format-card .cons li::before {
  content: '-';
  position: absolute;
  left: 0;
  color: var(--accent-red);
  font-weight: 700;
}

@media (max-width: 768px) {
  .format-cards { grid-template-columns: 1fr; }
  .pipeline { overflow-x: auto; }
}

/* ====== INTERVIEW DUAL VIEW (Timeline-based) ====== */
.iv-dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 48px;
}
.iv-col {
  position: relative;
}
.iv-col-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-color);
}
.iv-col-header .iv-bar {
  width: 4px;
  height: 28px;
  border-radius: 2px;
  flex-shrink: 0;
}
.iv-col-header .iv-bar-interviewer { background: var(--interviewer); }
.iv-col-header .iv-bar-candidate { background: var(--candidate); }
.iv-col-header h3 {
  font-size: 1.25rem;
  font-weight: 800;
  font-style: italic;
}
.iv-col.col-interviewer .iv-col-header h3 { color: var(--interviewer); }
.iv-col.col-candidate .iv-col-header h3 { color: var(--candidate); }

/* Timeline (Interviewer side) */
.iv-timeline {
  position: relative;
  padding-left: 24px;
}
.iv-timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 0;
  width: 2px;
  background: var(--interviewer-border);
}
.iv-phase {
  position: relative;
  margin-bottom: 24px;
}
.iv-phase::before {
  content: '';
  position: absolute;
  left: -23px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--interviewer);
}
.iv-phase.active::before {
  background: var(--interviewer);
  box-shadow: 0 0 8px var(--interviewer);
}
.iv-phase-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
  margin-bottom: 4px;
}
.iv-phase-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.iv-phase-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-bottom: 12px;
}
.iv-phase.active .iv-phase-card {
  border-color: var(--interviewer-border);
  box-shadow: 0 0 20px rgba(245,158,11,0.08);
}
.iv-phase.active .iv-phase-title::before {
  content: 'ACTIVE';
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  background: var(--interviewer-dim);
  color: var(--interviewer);
  border: 1px solid var(--interviewer-border);
  border-radius: 4px;
  margin-right: 8px;
  vertical-align: middle;
  letter-spacing: 0.05em;
}

/* Phase card inner labels */
.iv-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.iv-label-look { color: var(--accent-cyan); }
.iv-label-red { color: var(--accent-red); }
.iv-label-prompt { color: var(--accent-purple); }
.iv-label-focus { color: var(--accent-teal); }
.iv-phase-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.iv-phase-card .iv-sub {
  padding: 12px;
  background: var(--bg-elevated);
  border-radius: 8px;
  border-left: 3px solid var(--border-color);
  margin-top: 10px;
}
.iv-phase-card .iv-sub.iv-sub-look { border-left-color: var(--accent-cyan); }
.iv-phase-card .iv-sub.iv-sub-red { border-left-color: var(--accent-red); }
.iv-phase-card .iv-sub.iv-sub-prompt { border-left-color: var(--accent-purple); }

/* Candidate side — action items */
.iv-action {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.iv-action-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.iv-action-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 700;
}
.iv-action-title .icon {
  font-size: 1.1rem;
}
.iv-action-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.iv-action-badge-required {
  background: var(--candidate-dim);
  color: var(--candidate);
  border: 1px solid var(--candidate-border);
}
.iv-action-badge-tip {
  background: var(--accent-dim);
  color: var(--accent-teal);
  border: 1px solid rgba(20,184,166,0.3);
}
.iv-action.iv-action-primary {
  border-color: var(--candidate-border);
  border-top: 3px solid var(--candidate);
}
.iv-action p, .iv-action li {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.iv-action-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* Action item rows */
.iv-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.iv-item:last-child { border-bottom: none; }
.iv-item-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  flex-shrink: 0;
  font-size: 1rem;
  background: var(--candidate-dim);
  color: var(--candidate);
}
.iv-item-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.iv-item-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Quick reference box */
.iv-ref {
  background: var(--bg-elevated);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
  border-top: 3px solid var(--candidate);
}
.iv-ref-title {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.iv-ref-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
}
.iv-ref-grid dt {
  color: var(--text-secondary);
}
.iv-ref-grid dd {
  color: var(--text-primary);
  font-weight: 600;
  text-align: right;
}

/* Strategy box */
.iv-strategy {
  margin-top: 20px;
}
.iv-strategy h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.iv-strategy p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Single column when one perspective is hidden */
body.perspective-candidate .iv-dual,
body.perspective-interviewer .iv-dual {
  grid-template-columns: 1fr;
}

/* Responsive */
@media (max-width: 1024px) {
  .iv-dual { gap: 24px; }
}
@media (max-width: 768px) {
  .iv-dual {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .iv-col.col-candidate { order: -1; }
}
@media (max-width: 480px) {
  .iv-phase-card { padding: 16px; }
  .iv-action { padding: 16px; }
}
