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

:root {
  --bg-deep: #0a1628;
  --bg-section: #0d1b2e;
  --bg-card: #132238;
  --bg-elevated: #1a2d47;
  --fg: #e8ecf1;
  --fg-muted: #8899ad;
  --fg-dim: #5a6f85;
  --accent: #00d4aa;
  --accent-glow: rgba(0, 212, 170, 0.15);
  --accent-b: #6366f1;
  --accent-cand: #f472b6;
  --radius: 12px;
  --radius-sm: 8px;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg-deep);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.1rem; }

.accent { color: var(--accent); }
.section-label {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 2rem 4rem;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}
.hero-label {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-sub {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 520px;
  line-height: 1.8;
}
.hero-bg-shape {
  position: absolute;
  top: -30%;
  right: -20%;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Hero Visual Cards */
.hero-visual {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.visual-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 1.5rem;
  flex: 1;
}
.card-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.card-employer .card-icon { color: var(--accent); }
.card-candidate .card-icon { color: var(--accent-cand); }
.card-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  color: var(--fg-muted);
}
.card-metric {
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 0.4rem;
}
.card-bar {
  height: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  margin-bottom: 0.8rem;
  overflow: hidden;
}
.bar-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--accent);
}
.bar-alt { background: var(--accent-b); }
.bar-cand { background: var(--accent-cand); }

.visual-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 0 0.5rem;
}
.connector-line {
  width: 2px;
  height: 30px;
  background: linear-gradient(to bottom, var(--accent), var(--accent-cand));
}
.connector-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.connector-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--fg);
  background: var(--bg-elevated);
  border: 1px solid var(--accent);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* === DUALITY === */
.duality {
  padding: 6rem 2rem;
  background: var(--bg-section);
}
.duality-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.duality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}
.duality-item {
  border-left: 2px solid var(--accent);
  padding-left: 1.5rem;
}
.duality-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: rgba(0, 212, 170, 0.2);
  margin-bottom: 0.5rem;
}
.duality-item h3 {
  margin-bottom: 0.75rem;
}
.duality-item p {
  font-size: 0.95rem;
  color: var(--fg-muted);
  line-height: 1.7;
}

/* === EMPLOYER === */
.employer {
  padding: 6rem 2rem;
  background: var(--bg-deep);
}
.employer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.feature-list {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.feature-marker {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--accent);
  margin-top: 6px;
  flex-shrink: 0;
}
.feature-marker.cand { background: var(--accent-cand); }
.feature-item h4 { margin-bottom: 0.3rem; }
.feature-item p {
  font-size: 0.95rem;
  color: var(--fg-muted);
}

/* Mock Dashboard */
.mock-dashboard {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
}
.dash-header {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: var(--bg-elevated);
}
.dash-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dash-dot.red { background: #ff5f57; }
.dash-dot.yellow { background: #febc2e; }
.dash-dot.green { background: #28c840; }
.dash-body {
  display: flex;
  min-height: 200px;
}
.dash-sidebar {
  width: 130px;
  border-right: 1px solid rgba(255,255,255,0.06);
  padding: 1rem 0;
}
.dash-nav-item {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  color: var(--fg-dim);
  cursor: default;
}
.dash-nav-item.active {
  color: var(--accent);
  background: var(--accent-glow);
  border-right: 2px solid var(--accent);
}
.dash-main {
  flex: 1;
  padding: 1rem;
}
.dash-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.8rem;
}
.dash-name {
  flex: 1;
  font-weight: 500;
}
.dash-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-b);
  border-radius: 4px;
}
.dash-status {
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 4px;
}
.dash-status.good {
  background: var(--accent-glow);
  color: var(--accent);
}
.dash-status.pending {
  background: rgba(251, 191, 36, 0.12);
  color: #fbbf24;
}

/* === CANDIDATE === */
.candidate {
  padding: 6rem 2rem;
  background: var(--bg-section);
}
.candidate-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Interview Simulator */
.interview-sim {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  overflow: hidden;
}
.sim-header {
  padding: 1rem 1.5rem;
  background: var(--bg-elevated);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-cand);
}
.sim-body {
  padding: 1.5rem;
}
.sim-message {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
}
.sim-message.user {
  justify-content: flex-end;
}
.sim-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}
.sim-message.ai .sim-avatar {
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid var(--accent);
}
.sim-message.user .sim-avatar {
  background: rgba(244, 114, 182, 0.15);
  color: var(--accent-cand);
  border: 1px solid var(--accent-cand);
}
.sim-text {
  background: var(--bg-elevated);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--fg-muted);
  max-width: 280px;
  line-height: 1.6;
}
.sim-feedback {
  background: var(--bg-elevated);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-top: 0.5rem;
}
.fb-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
  color: var(--accent-cand);
}
.fb-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  color: var(--fg-muted);
}
.fb-row span:first-child { width: 60px; }
.fb-row span:last-child { width: 24px; text-align: right; color: var(--fg); font-weight: 600; }
.fb-bar {
  flex: 1;
  height: 5px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
}
.fb-fill {
  height: 100%;
  border-radius: 3px;
  background: var(--accent-cand);
}

/* === BRIDGE / FLYWHEEL === */
.bridge {
  padding: 6rem 2rem;
  background: var(--bg-deep);
}
.bridge-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
.flywheel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.fw-step {
  flex: 1;
  min-width: 160px;
  padding: 1.5rem;
  text-align: center;
}
.fw-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}
.fw-step h4 {
  margin-bottom: 0.5rem;
}
.fw-step p {
  font-size: 0.85rem;
  color: var(--fg-muted);
}
.fw-arrow {
  font-size: 1.5rem;
  color: var(--fg-dim);
  padding: 0 0.25rem;
}

/* === MANIFESTO === */
.manifesto {
  padding: 8rem 2rem;
  background: linear-gradient(160deg, var(--bg-section) 0%, var(--bg-deep) 50%, rgba(0, 212, 170, 0.03) 100%);
  text-align: center;
}
.manifesto-inner {
  max-width: 720px;
  margin: 0 auto;
}
.manifesto-inner h2 {
  margin-bottom: 2rem;
}
.manifesto-body {
  font-size: 1.1rem;
  color: var(--fg-muted);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}
.manifesto-closing {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: 2.5rem;
}

/* === FOOTER === */
.site-footer {
  padding: 3rem 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
}
.footer-text {
  color: var(--fg-dim);
  font-size: 0.85rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero { padding: 4rem 1.5rem 3rem; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { flex-direction: column; }
  .visual-connector { flex-direction: row; padding: 0.5rem 0; }
  .connector-line { width: 30px; height: 2px; }
  .duality-grid { grid-template-columns: 1fr; }
  .employer-inner { grid-template-columns: 1fr; }
  .candidate-inner { grid-template-columns: 1fr; }
  .candidate-visual { order: -1; }
  .flywheel { flex-direction: column; }
  .fw-arrow { transform: rotate(90deg); }
  .footer-inner { flex-direction: column; gap: 0.5rem; text-align: center; }
}