:root {
  --bg: #f6f4f0;
  --ink: #1b1b1f;
  --muted: #5a5a6a;
  --accent: #0d6b6f;
  --accent-2: #f3b34d;
  --surface: #ffffff;
  --border: rgba(27, 27, 31, 0.12);
  --shadow: 0 18px 40px rgba(13, 107, 111, 0.18);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Space Grotesk", system-ui, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top left, rgba(13, 107, 111, 0.15), transparent 40%),
    radial-gradient(circle at 20% 20%, rgba(243, 179, 77, 0.18), transparent 45%),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1140px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(246, 244, 240, 0.85);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo {
  font-size: 24px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 18px;
  font-weight: 500;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  display: flex;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 10px 20px rgba(13, 107, 111, 0.2);
}

.button:hover {
  transform: translateY(-1px);
}

.button.ghost {
  background: transparent;
  color: var(--accent);
  border-color: rgba(13, 107, 111, 0.4);
  box-shadow: none;
}

.hero {
  padding: 90px 0 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(36px, 4vw, 56px);
  margin-bottom: 16px;
}

.hero p {
  font-size: 18px;
  color: var(--muted);
  line-height: 1.6;
}

.hero-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.hero-image {
  width: 100%;
  border-radius: 14px;
  background: #f0efe9;
  padding: 12px;
}

.section {
  padding: 60px 0;
}

.section h2 {
  font-size: 32px;
  margin-bottom: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.pricing-card {
  position: relative;
  padding: 28px;
  background: linear-gradient(180deg, rgba(250, 248, 243, 0.95), rgba(255, 255, 255, 1));
  border: 1px solid rgba(13, 107, 111, 0.18);
  box-shadow: 0 20px 40px rgba(20, 24, 33, 0.08);
}

.pricing-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.pricing-option {
  padding: 18px;
  border-radius: 14px;
  border: 1px solid rgba(13, 107, 111, 0.14);
  background: rgba(255, 255, 255, 0.9);
}

.pricing-option.featured {
  border: 2px solid var(--accent);
  background: linear-gradient(180deg, rgba(232, 248, 247, 0.7), rgba(255, 255, 255, 1));
  box-shadow: 0 16px 32px rgba(13, 107, 111, 0.18);
}

.pricing-copy {
  margin-top: 10px;
  font-size: 14px;
}

.pricing-cta {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.pricing-card .price {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-top: 6px;
}

.pricing-card p.muted {
  margin-top: 6px;
}

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

.card {
  background: var(--surface);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.stat {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
}

.badge {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(13, 107, 111, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
}

.pricing {
  background: linear-gradient(135deg, rgba(13, 107, 111, 0.12), rgba(243, 179, 77, 0.2));
  padding: 40px;
  border-radius: var(--radius);
  display: grid;
  gap: 16px;
  border: 1px solid var(--border);
}

.pricing .price {
  font-size: 40px;
  font-weight: 700;
}

.flash-stack {
  width: min(900px, 92vw);
  margin: 20px auto 0;
  display: grid;
  gap: 10px;
}

.flash {
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(13, 107, 111, 0.12);
  border: 1px solid rgba(13, 107, 111, 0.25);
}

.form-card {
  max-width: 560px;
  margin: 60px auto;
  background: var(--surface);
  padding: 30px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-family: inherit;
  margin-bottom: 16px;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

textarea.locked {
  background: rgba(27, 27, 31, 0.06);
  color: var(--muted);
}

.chat {
  display: grid;
  gap: 12px;
  margin: 20px 0 24px;
}

.chat-row {
  display: flex;
}

.chat-row.interviewer {
  justify-content: flex-start;
}

.chat-row.candidate {
  justify-content: flex-end;
}

.chat-bubble {
  max-width: 80%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(13, 107, 111, 0.08);
}

.chat-row.candidate .chat-bubble {
  background: rgba(243, 179, 77, 0.2);
}

.chat-row.feedback {
  justify-content: flex-start;
}

.chat-bubble.feedback {
  background: rgba(13, 107, 111, 0.05);
  border-color: rgba(13, 107, 111, 0.25);
}

.feedback-block ul {
  margin: 8px 0 0 18px;
}

.feedback-block li {
  margin-bottom: 6px;
}

.chat-role {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 6px;
}

.question-card {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.question-card.current {
  border-color: rgba(13, 107, 111, 0.6);
  box-shadow: 0 0 0 2px rgba(13, 107, 111, 0.15);
}

.question-card.completed {
  border-color: rgba(13, 107, 111, 0.35);
}

.question-card.skipped {
  border-color: rgba(243, 179, 77, 0.45);
}

.spinner {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 4px solid rgba(13, 107, 111, 0.2);
  border-top-color: var(--accent);
  margin: 18px auto;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.progress-bar {
  width: 100%;
  max-width: 520px;
  height: 10px;
  background: rgba(13, 107, 111, 0.12);
  border-radius: 999px;
  margin: 16px auto 0;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.2s ease;
}

.thinking {
  display: none;
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px dashed rgba(13, 107, 111, 0.35);
  background: rgba(13, 107, 111, 0.06);
}

.feedback-thinking {
  border-style: solid;
  background: rgba(13, 107, 111, 0.04);
}

.thinking.show {
  display: block;
}

.thinking-text {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}

.thinking-fill {
  width: 0%;
}

.button.disabled {
  opacity: 0.6;
  pointer-events: none;
}

.hidden {
  display: none;
}

.advance-box {
  margin-top: 12px;
}

.summary-card {
  margin-top: 16px;
}

.summary-text {
  white-space: pre-wrap;
  font-family: inherit;
  margin: 8px 0 0;
}

.progress-header {
  margin: 16px 0 24px;
}

.progress-grid {
  margin-top: 12px;
}

.summary-tile {
  border-style: solid;
}

.transformer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.resume-card .resume-header {
  margin-bottom: 12px;
}

.resume-name {
  font-weight: 700;
  font-size: 18px;
}

.resume-contact {
  font-size: 13px;
}

.resume-section {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}

.resume-card ul {
  margin: 0;
  padding-left: 12px;
}

.resume-card li {
  margin-bottom: 6px;
}

.resume-fade {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 900px) {
  .transformer {
    grid-template-columns: 1fr;
  }
}

.back-link {
  margin-bottom: 16px;
}

.feedback-status {
  display: inline-flex;
  gap: 6px;
  align-items: center;
}

.inline-spinner {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(13, 107, 111, 0.3);
  border-top-color: var(--accent);
  animation: spin 0.8s linear infinite;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: rgba(255, 255, 255, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.footer-grid a {
  display: block;
  margin-bottom: 6px;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.muted {
  color: var(--muted);
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }
  .nav-wrap {
    flex-wrap: wrap;
    gap: 12px;
  }
  .progress-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
