:root {
  --proven-yellow: #f7b801;
  --proven-yellow-dark: #d99a00;
  --proven-ink: #1a1a1a;
  --muted: #64748b;
  --bg: #ffffff;
  --line: #e5e7eb;
  --card-bg: #f9f9f9;
  --shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  --shadow-elevated: 0 12px 32px rgba(15, 23, 42, 0.15);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--proven-ink);
  line-height: 1.6;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-bottom: 1px solid var(--line);
  background-color: var(--bg);
  flex-wrap: wrap;
  gap: 16px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

.logo-container:hover .logo-check {
  animation: checkDraw 0.6s ease forwards;
}

.logo-container:hover .logo-box {
  animation: boxPulse 0.4s ease;
}

.logo-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-svg {
  width: 28px;
  height: 28px;
}

.logo-box {
  transition: stroke 0.3s ease;
}

.logo-check {
  stroke-dasharray: 30;
  stroke-dashoffset: 30;
  animation: checkDrawInitial 0.8s ease 0.3s forwards;
}

@keyframes checkDrawInitial {
  0% {
    stroke-dashoffset: 30;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes checkDraw {
  0% {
    stroke-dashoffset: 30;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

@keyframes boxPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.logo-text {
  font-size: 22px;
  color: var(--proven-ink);
  letter-spacing: -0.02em;
  margin-left: 2px;
}

.logo-light {
  font-weight: 700;
  color: var(--proven-ink);
}

.logo-bold {
  font-weight: 700;
  color: var(--proven-ink);
}

nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--proven-ink);
  transition: color 0.2s;
}

nav a:hover {
  color: var(--proven-yellow);
}

.cta, button.cta {
  background-color: var(--proven-yellow);
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--proven-ink);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  display: inline-block;
}

.cta:hover, button.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(247, 184, 1, 0.3);
}

.btn-secondary {
  background-color: white;
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--proven-ink);
  transition: background-color 0.2s;
}

.btn-secondary:hover {
  background-color: var(--card-bg);
}

.btn-primary {
  background-color: var(--proven-yellow);
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--proven-ink);
  transition: transform 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
}



.hero {
  padding: 80px 60px 100px;
  background: #ffffff;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.hero-content {
  text-align: left;
}

.hero h1 {
  font-size: 56px;
  max-width: 600px;
  margin: 0;
  font-weight: 700;
  line-height: 1.1;
  color: var(--proven-ink);
  letter-spacing: -0.02em;
}

.hero p {
  margin-top: 28px;
  font-size: 18px;
  max-width: 520px;
  color: var(--muted);
  line-height: 1.75;
}

.hero button {
  margin-top: 36px;
  padding: 18px 36px;
  font-size: 16px;
  font-weight: 600;
  background-color: var(--proven-yellow);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(247, 184, 1, 0.25);
}

.hero button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(247, 184, 1, 0.4);
}

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

.hero-svg {
  width: 100%;
  max-width: 500px;
  height: auto;
}

.illustration-placeholder {
  background: rgba(255, 255, 255, 0.7);
  border: 2px dashed var(--line);
  border-radius: 24px;
  padding: 60px 80px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.illustration-icon {
  margin-bottom: 20px;
}

.illustration-caption {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

.section {
  padding: 100px 40px;
  background-color: #ffffff;
  text-align: center;
}

.section h2 {
  font-size: 40px;
  margin-bottom: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Consistent section label pills */
.section-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  background: #f8fafc;
  border: 1px solid var(--line);
  padding: 10px 24px;
  border-radius: 999px;
  margin-bottom: 24px;
}

/* Light variant for dark backgrounds */
.section-label.light {
  color: rgba(255,255,255,0.9);
  border-color: rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
}

.section-subtitle {
  color: var(--muted);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

.section-subtitle.light {
  color: rgba(255,255,255,0.8);
}

.section-cta {
  margin-top: 48px;
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--proven-yellow);
  color: var(--proven-ink);
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Inter', sans-serif;
}

.btn-outline:hover {
  background: var(--proven-yellow);
  transform: translateY(-2px);
}

.btn-outline.light {
  border-color: var(--proven-yellow);
  color: #ffffff;
}

.btn-outline.light:hover {
  background: var(--proven-yellow);
  color: var(--proven-ink);
}

.btn-yellow {
  background: var(--proven-yellow);
  border: none;
  color: #111111;
  padding: 16px 36px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 12px rgba(247, 184, 1, 0.3);
}

.btn-yellow:hover {
  background: var(--proven-yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(247, 184, 1, 0.35);
}
/* --- FOR PROFESSIONALS (light section) --- */

.why-proven-section {
  background: #ffffff;
  padding: 100px 40px;
}

.why-proven-section .section-label {
  font-size: 14px;
  padding: 12px 28px;
  letter-spacing: 1.5px;
}

.why-proven-section h2 {
  color: var(--proven-ink);
}

.why-cards {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.why-card {
  background: #ffffff;
  padding: 48px 36px;
  border-radius: var(--radius);
  max-width: 360px;
  flex: 1;
  min-width: 280px;
  text-align: center;
  border: 1px solid var(--line);
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.why-icon {
  margin-bottom: 24px;
  transition: transform 0.25s ease;
}

.why-card:hover .why-icon {
  transform: scale(1.05);
}

/* Clean icons for FOR PROFESSIONALS */
.why-icon svg {
  width: 72px;
  height: 72px;
}

.why-card h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 16px;
  color: var(--proven-ink); /* Dark text */
}

.why-card p {
  font-size: 15px;
  color: var(--muted); /* Subtle gray text */
  line-height: 1.7;
  margin: 0;
}

/* Full width CTA button */
.btn-full-width {
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 40px auto 0;
}

.how-it-works-section {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  padding: 100px 40px;
  text-align: left;
}

.how-it-works-section h2 {
  text-align: center;
  color: #ffffff;
}

.how-it-works-section .section-label {
  display: block;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
}

.how-cards {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.how-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 40px;
  align-items: center;
  background: #ffffff;
  padding: 48px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-elevated);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.how-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.16);
}

.how-card-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.25s ease;
}

.how-card:hover .how-card-icon {
  transform: scale(1.05);
}

.how-card-icon svg {
  width: 100px;
  height: 100px;
}

.how-section-cta {
  text-align: center;
  margin-top: 48px;
}

.how-card-content {
  padding: 0;
}

.step-label {
  display: inline-block;
  color: var(--proven-yellow);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.how-card h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--proven-ink);
  line-height: 1.3;
}

.how-card p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.features-section {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  padding: 120px 40px 100px;
}

.features-section h2 {
  color: #ffffff;
}

.features {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.feature {
  max-width: 360px;
  flex: 1;
  min-width: 280px;
  text-align: center;
  background: rgba(255,255,255,0.05);
  padding: 48px 32px;
  border-radius: var(--radius);
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255,255,255,0.1);
}

.feature:hover {
  transform: translateY(-5px);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
}

.feature-check {
  margin-bottom: 24px;
  transition: transform 0.25s ease;
}

.feature:hover .feature-check {
  transform: scale(1.05);
}

.feature-check svg {
  width: 48px;
  height: 48px;
}

.feature h3 {
  margin: 0 0 16px;
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
}

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

.recruiter-cta-section {
  background: #f9fafb;
  padding: 80px 40px;
}

.recruiter-cta-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  background: white;
  padding: 80px 100px;
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.recruiter-cta-content h2 {
  font-size: 36px;
  font-weight: 700;
  margin: 0 0 16px;
  color: var(--proven-ink);
}

.recruiter-cta-content p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 28px;
}

.recruiter-cta-illustration svg {
  width: 100%;
  max-width: 240px;
  height: auto;
}

.step-icon, .feature-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.step h3, .old-feature h3 {
  margin: 16px 0 10px;
  font-size: 20px;
  font-weight: 600;
}

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

.recruiter {
  background: var(--card-bg);
  padding: 60px 20px;
  text-align: center;
}

.recruiter h2 {
  font-size: 32px;
  font-weight: 700;
}

.recruiter p {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin: 20px auto;
}

.recruiter button {
  margin-top: 20px;
  padding: 12px 24px;
  background-color: var(--proven-yellow);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
}

.footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 14px;
  color: var(--muted);
  background-color: white;
  border-top: 1px solid var(--line);
}

.footer.dark-footer {
  background: linear-gradient(180deg, #0f172a 0%, #0a0f1a 100%);
  border-top: none;
  padding: 60px 40px 32px;
  text-align: left;
}

.footer:has(.footer-inner) {
  text-align: left;
  padding: 60px 40px 32px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

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

.footer-logo .logo-text {
  color: #ffffff;
}

.footer-logo .logo-light {
  color: #ffffff;
}

.footer-logo .logo-bold {
  color: #ffffff;
}

.dark-footer .hosted-badge {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  display: flex;
  align-items: center;
  gap: 6px;
}

.swiss-flag {
  font-size: 14px;
}

.dark-footer .footer-links {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.dark-footer .footer-links a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.dark-footer .footer-links a:hover {
  color: var(--proven-yellow);
}

.dark-footer .footer-bottom {
  max-width: 1100px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}

.dark-footer .footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
}

.footer-tagline {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 80px;
}

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

.footer-column h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--proven-ink);
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-column a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: var(--proven-yellow);
}

.footer-bottom {
  max-width: 1100px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-card:nth-child(1) { transition-delay: 0.1s; }
.fade-in-card:nth-child(2) { transition-delay: 0.2s; }
.fade-in-card:nth-child(3) { transition-delay: 0.3s; }

.hosted-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.footer a {
  color: var(--muted);
  margin: 0 6px;
  text-decoration: none;
}

.footer a:hover {
  color: var(--proven-yellow);
}

.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 80px);
  padding: 20px;
  background-color: var(--card-bg);
}

.auth-card {
  background-color: white;
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 420px;
}

.auth-card h2 {
  font-size: 24px;
  margin-bottom: 24px;
  text-align: center;
  font-weight: 700;
}

.auth-card form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.auth-card input[type="email"],
.auth-card input[type="password"] {
  padding: 12px;
  font-size: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
}

.auth-card input[type="email"]:focus,
.auth-card input[type="password"]:focus {
  outline: none;
  border-color: var(--proven-yellow);
}

.google-btn {
  background-color: white;
  color: var(--proven-ink);
  border: 1px solid var(--line);
  padding: 12px 16px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 500;
  width: 100%;
  margin-bottom: 16px;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: background-color 0.2s;
}

.google-btn:hover {
  background-color: var(--card-bg);
}

.or-divider {
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  margin: 10px 0 20px;
}

.forgot-link {
  font-size: 14px;
  color: var(--proven-yellow);
  text-decoration: none;
  text-align: right;
}

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

.auth-card button[type="submit"] {
  padding: 12px;
  background-color: var(--proven-yellow);
  color: var(--proven-ink);
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  transition: transform 0.2s;
}

.auth-card button[type="submit"]:hover {
  transform: translateY(-2px);
}

.signup-text, .login-text {
  margin-top: 20px;
  font-size: 14px;
  text-align: center;
  color: var(--muted);
}

.signup-text a, .login-text a {
  color: var(--proven-ink);
  font-weight: 600;
  text-decoration: none;
}

.signup-text a:hover, .login-text a:hover {
  text-decoration: underline;
}

.terms-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.terms-label input[type="checkbox"] {
  margin-top: 3px;
}

.terms-label a {
  color: var(--proven-yellow);
  text-decoration: none;
}

.terms-label a:hover {
  text-decoration: underline;
}

.form-message {
  padding: 12px;
  border-radius: 6px;
  font-size: 14px;
  display: none;
  margin-bottom: 8px;
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background-color: #f8d7da;
  color: #721c24;
  border-color: #f5c6cb;
}

.dashboard-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 20px;
}

.dashboard-container h1 {
  font-size: 32px;
  margin-bottom: 30px;
  font-weight: 700;
}

.user-email {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.card {
  background: white;
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.card h2 {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 600;
}

.card p {
  color: var(--muted);
  margin: 8px 0;
}

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

.progress-bar {
  height: 12px;
  background-color: #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
  margin: 12px 0 16px;
}

.progress-bar-fill {
  height: 100%;
  background-color: var(--proven-yellow);
  transition: width 0.3s;
}

.score-badge {
  font-size: 36px;
  font-weight: bold;
  color: var(--proven-ink);
  background-color: var(--proven-yellow);
  padding: 12px 24px;
  border-radius: var(--radius);
  display: inline-block;
  margin-top: 12px;
}

.profile-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 20px;
}

.profile-header {
  text-align: center;
  margin-bottom: 40px;
}

.profile-header h1 {
  font-size: 36px;
  margin-bottom: 8px;
  font-weight: 700;
}

.role-location {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 999px;
  background-color: #d4edda;
  color: #155724;
  font-weight: 600;
  font-size: 14px;
}

.badge.verified {
  background-color: #d4edda;
  color: #155724;
}

.score-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 16px 0 8px;
  font-size: 16px;
  font-weight: 500;
}

.score-value {
  color: var(--proven-yellow);
  font-weight: 700;
}

.bar {
  height: 10px;
  background-color: #eee;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 12px;
}

.fill {
  height: 10px;
  background-color: var(--proven-yellow);
  border-radius: 5px;
  transition: width 0.5s;
}

.final-score {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 24px;
  font-weight: 700;
}

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

.faqs-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 20px;
}

.faqs-container h1 {
  font-size: 36px;
  margin-bottom: 40px;
  text-align: center;
  font-weight: 700;
}

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

.faq-question {
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question:hover {
  color: var(--proven-yellow);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, margin-top 0.3s ease;
  opacity: 0;
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  padding: 0 12px;   
}

.faq-item.open .faq-answer {
  max-height: 600px;
  opacity: 1;
  margin-top: 16px;
}

/* Make answer text readable */
.faq-answer p {
  margin: 0 auto;                /* center the text block */
  max-width: 650px;              /* limit line width for readability */
  line-height: 1.75;             /* better typography */
  color: #4a5568;                /* softer muted dark gray */
  font-size: 16px;
  text-align: left;              /* left-align = more readable */
}

/* Optional: improve FAQ item container */
.faq-item {
  background: #ffffff;
  padding: 24px 28px;
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid #e2e8f0;
}
.faq-toggle {
  font-size: 24px;
  transition: transform 0.3s ease;
  color: var(--proven-yellow);
}

.faq-item.open .faq-toggle {
  transform: rotate(45deg);
}
/* Fix FAQ answer layout: left-align text and bullets */
.faqs-section .faq-answer {
  text-align: left;
}

/* All text inside the answer */
.faqs-section .faq-answer p,
.faqs-section .faq-answer ul,
.faqs-section .faq-answer li {
  text-align: left;
}

/* Nicer bullet list spacing */
.faqs-section .faq-answer ul {
  margin: 12px 0 0;
  padding-left: 24px;
  list-style: disc;
  list-style-position: outside;
}


.legal-container {
  max-width: 800px;
  margin: 60px auto;
  padding: 20px;
}

.legal-container h1 {
  font-size: 36px;
  margin-bottom: 12px;
  font-weight: 700;
}

.last-updated {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 32px;
}

.legal-container section {
  margin-bottom: 32px;
}

.legal-container h2 {
  font-size: 24px;
  margin-bottom: 12px;
  font-weight: 600;
}

.legal-container ul {
  padding-left: 24px;
  color: var(--muted);
  line-height: 1.8;
}

.legal-container p {
  color: var(--muted);
  line-height: 1.8;
}

.how-it-works {
  padding: 60px 20px;
  background-color: var(--card-bg);
  text-align: center;
}

.cta-section {
  margin-top: 60px;
}

.cta-section h3 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: 600;
}

.cta-section button {
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  background-color: var(--proven-yellow);
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.assessment-container {
  max-width: 900px;
  margin: 60px auto;
  padding: 20px;
  text-align: left;
}

.assessment-container h2 {
  font-size: 32px;
  margin-bottom: 12px;
  font-weight: 700;
}

.assessment-container .subtitle {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 32px;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--proven-ink);
}

.form-input {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  margin-bottom: 12px;
}

.form-input:focus {
  outline: none;
  border-color: var(--proven-yellow);
}

.assessment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

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

.dimension-card h3 {
  font-size: 20px;
  margin: 0 0 16px;
  color: var(--proven-ink);
  font-weight: 600;
}

.dimension-card label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  margin-top: 12px;
  color: var(--proven-ink);
  font-size: 14px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}

.save-message {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}

.section-block {
  background: white;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--proven-ink);
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--proven-yellow);
}

.competency-group {
  background: var(--card-bg);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  border-left: 4px solid var(--proven-yellow);
}

.competency-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--proven-ink);
  margin: 0 0 16px;
}

.form-range {
  width: calc(100% - 60px);
  height: 6px;
  border-radius: 3px;
  background: var(--line);
  outline: none;
  margin-right: 12px;
  vertical-align: middle;
}

.form-range::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--proven-yellow);
  cursor: pointer;
  border: 2px solid var(--proven-ink);
}

.form-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--proven-yellow);
  cursor: pointer;
  border: 2px solid var(--proven-ink);
}

.range-value {
  display: inline-block;
  min-width: 30px;
  font-weight: 600;
  color: var(--proven-ink);
  font-size: 16px;
  text-align: center;
}

.required {
  color: #ef4444;
  font-weight: 700;
}

.help-text {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 20px;
  font-style: italic;
}

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

.avs-score-display {
  text-align: right;
}

.score-badge-large {
  font-size: 48px;
  font-weight: 700;
  color: var(--proven-ink);
  line-height: 1;
  margin-bottom: 4px;
}

.score-badge-large::after {
  content: "/100";
  font-size: 20px;
  color: var(--muted);
  margin-left: 4px;
}

.confidence-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.confidence-low {
  background-color: #fef3c7;
  color: #92400e;
}

.confidence-medium {
  background-color: #dbeafe;
  color: #1e40af;
}

.confidence-high {
  background-color: #d1fae5;
  color: #065f46;
}

.peer-invitations {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.loading-state, .error-state, .success-state {
  text-align: center;
  padding: 40px 20px;
}

.loading-state h2, .error-state h2, .success-state h2 {
  margin-bottom: 12px;
}

.validation-form {
  max-width: 100%;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
  }

  nav {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    padding: 50px 24px 70px;
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

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

  .hero h1 {
    font-size: 36px;
    max-width: 100%;
    line-height: 1.15;
  }

  .hero p {
    font-size: 16px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-illustration {
    order: -1;
  }

  .hero-svg {
    max-width: 320px;
  }

  .section h2 {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .why-proven-section {
    background: #ffffff;
    padding: 120px 40px 100px;
  }

  .why-proven-section h2 {
    color: var(--proven-ink);
  }

  .why-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .why-card {
    max-width: 100%;
    width: 100%;
    padding: 36px 24px;
  }

  .btn-yellow {
    width: 100%;
    display: block;
    text-align: center;
  }

  .section-cta .btn-yellow,
  .how-section-cta .btn-yellow {
    max-width: 100%;
  }

  .pricing-section {
    padding: 60px 20px;
  }

  .pricing-section h2 {
    font-size: 28px;
  }

  .pricing-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .pricing-card {
    max-width: 100%;
    width: 100%;
    min-width: auto;
  }

  .section {
    padding: 60px 20px;
  }

  .how-it-works-section {
    padding: 60px 20px;
  }

  .how-cards {
    gap: 24px;
  }

  .how-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 24px;
    text-align: center;
  }

  .how-card-icon {
    order: -1;
  }

  .how-card-icon svg {
    width: 100px;
    height: 100px;
  }

  .how-card h3 {
    font-size: 20px;
  }

  .how-card p {
    font-size: 15px;
  }

  .step-label {
    font-size: 11px;
  }

  .features-section {
    padding: 80px 20px 60px;
  }

  .features {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .feature {
    max-width: 100%;
    width: 100%;
    padding: 36px 24px;
  }

  .recruiter-cta-section {
    padding: 40px 20px;
  }

  .recruiter-cta-inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 40px 24px;
  }

  .recruiter-cta-content {
    text-align: center;
  }

  .recruiter-cta-content h2 {
    font-size: 28px;
  }

  .recruiter-cta-illustration {
    display: flex;
    justify-content: center;
  }

  .steps {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .step {
    max-width: 100%;
  }

  .dark-footer .footer-links {
    justify-content: center;
  }

  .dark-footer .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .dark-footer .footer-brand {
    align-items: center;
  }

  .dark-footer .hosted-badge {
    justify-content: center;
  }

  .footer {
    padding: 40px 20px 24px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 40px;
  }

  .footer-brand {
    max-width: 100%;
    text-align: center;
  }

  .footer-brand .logo-container {
    justify-content: center;
  }

  .footer-links {
    width: 100%;
    justify-content: center;
    gap: 48px;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    margin-top: 32px;
    padding-top: 20px;
  }

  .dashboard-container {
    padding: 16px;
  }

  .dashboard-container h1 {
    font-size: 28px;
  }

  .profile-header h1 {
    font-size: 28px;
  }

  .faqs-container h1 {
    font-size: 28px;
  }

  .legal-container h1 {
    font-size: 28px;
  }

  .assessment-container {
    padding: 16px;
  }

  .assessment-container h2 {
    font-size: 28px;
  }

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

/* Peer Validation Invite Styles */
.hidden {
  display: none !important;
}

.invite-section {
  margin-top: 16px;
}

.email-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.95rem;
  margin-bottom: 8px;
  font-family: 'Inter', sans-serif;
}

.email-input:focus {
  outline: none;
  border-color: var(--proven-yellow);
  box-shadow: 0 0 0 3px rgba(247, 184, 1, 0.15);
}

.invite-links-section,
.invite-history {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.invite-link-item {
  background: #f5f5f5;
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.invite-link-item .email {
  font-weight: 600;
  color: var(--proven-ink);
}

.invite-link-item .link {
  font-size: 0.85rem;
  color: #666;
  word-break: break-all;
  background: white;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.invite-link-item .copy-btn {
  align-self: flex-start;
  padding: 6px 12px;
  font-size: 0.8rem;
  background: var(--proven-yellow);
  color: var(--proven-ink);
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
}

.invite-link-item .copy-btn:hover {
  opacity: 0.9;
}

.invite-history-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
  background: #f9f9f9;
  border-radius: 8px;
  margin-bottom: 8px;
}

.invite-history-item .email {
  font-weight: 500;
}

.invite-history-item .status {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
}

.invite-history-item .status.pending {
  background: #fff3cd;
  color: #856404;
}

.invite-history-item .status.completed {
  background: #d4edda;
  color: #155724;
}

.invite-history-item .status.expired {
  background: #f8d7da;
  color: #721c24;
}

/* Waitlist Section Styles */
.waitlist-section {
  background: #ffffff;
  padding: 100px 40px;
}

.waitlist-form-container {
  max-width: 560px;
  margin: 0 auto;
  background: #f9fafb;
  padding: 48px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--line);
}

.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.waitlist-form .form-group {
  margin-bottom: 0;
}

.waitlist-form .form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--proven-ink);
  font-size: 14px;
}

.waitlist-form input[type="email"],
.waitlist-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.waitlist-form input[type="email"]:focus,
.waitlist-form select:focus {
  outline: none;
  border-color: var(--proven-yellow);
  box-shadow: 0 0 0 3px rgba(247, 184, 1, 0.15);
}

.waitlist-form .btn-yellow {
  width: 100%;
  padding: 16px;
  font-size: 16px;
  margin-top: 8px;
}

.waitlist-success {
  text-align: center;
  padding: 20px 0;
}

.waitlist-success .success-icon {
  margin-bottom: 24px;
}

.waitlist-success h3 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--proven-ink);
}

.waitlist-success p {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Login Info Section Styles */
.login-info-section {
  background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
  padding: 100px 40px;
}

.login-info-card {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  padding: 60px 48px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-info-icon {
  margin-bottom: 24px;
}

.login-info-icon svg {
  filter: brightness(0) invert(1);
}

.login-info-card h2 {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px;
}

.login-info-card p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin: 0 0 16px;
}

.login-info-subtext {
  font-size: 18px !important;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  margin-top: 24px !important;
  margin-bottom: 20px !important;
}

/* FAQs Section Styles for Landing Page */
.faqs-section {
  background: #ffffff;
  padding: 100px 40px;
}

.faqs-section .faqs-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
}

.faqs-section .faq-item {
  background: #f9fafb;
  border-radius: 12px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
}

.faqs-section .faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 17px;
  font-weight: 600;
  color: var(--proven-ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', sans-serif;
  transition: background-color 0.2s;
}

.faqs-section .faq-question:hover {
  background-color: #f3f4f6;
}

.faqs-section .faq-icon {
  transition: transform 0.3s ease;
  flex-shrink: 0;
  color: var(--proven-yellow);
}

.faqs-section .faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faqs-section .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faqs-section .faq-item.open .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

.faqs-section .faq-answer p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  margin: 0 0 12px;
}

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

.faqs-section .faq-answer ul {
  margin: 12px 0 0;
  padding-left: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.faqs-section .faq-answer ul li {
  margin-bottom: 6px;
}

/* Beta Toast Styles */
.beta-toast {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  padding: 24px;
  max-width: 420px;
  width: calc(100% - 40px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

.beta-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.beta-toast-content {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.beta-toast-icon {
  flex-shrink: 0;
}

.beta-toast-text {
  flex: 1;
}

.beta-toast-text strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--proven-ink);
  margin-bottom: 8px;
}

.beta-toast-text p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

.beta-toast-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: color 0.2s;
}

.beta-toast-close:hover {
  color: var(--proven-ink);
}

.beta-toast-cta {
  width: 100%;
  margin-top: 16px;
  padding: 14px;
  background: var(--proven-yellow);
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--proven-ink);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: background-color 0.2s, transform 0.2s;
}

.beta-toast-cta:hover {
  background: var(--proven-yellow-dark);
  transform: translateY(-1px);
}

/* Mobile Responsive for New Sections */
@media (max-width: 768px) {
  .waitlist-section {
    padding: 60px 20px;
  }

  .waitlist-form-container {
    padding: 32px 24px;
  }

  .login-info-section {
    padding: 60px 20px;
  }

  .login-info-card {
    padding: 40px 24px;
  }

  .login-info-card h2 {
    font-size: 26px;
  }

  .faqs-section {
    padding: 60px 20px;
  }

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

  .faqs-section .faq-item.open .faq-answer {
    padding: 0 20px 16px;
  }

  .faqs-section .faq-answer p {
    font-size: 14px;
  }
}
