/* ============================================
   SalaryLens Landing Page
   ============================================ */

:root {
  --blue: #1a73e8;
  --blue-dark: #1557b0;
  --blue-light: #e8f0fe;
  --purple: #6f42c1;
  --green: #28a745;
  --red: #dc3545;
  --orange: #fd7e14;
  --teal: #17a2b8;
  --gray-50: #f8f9fa;
  --gray-100: #f0f0f0;
  --gray-200: #e4e5e7;
  --gray-400: #9e9e9e;
  --gray-600: #6f6f6f;
  --gray-800: #2d2d2d;
  --gray-900: #1a1a1a;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 100;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

.nav-logo {
  font-size: 20px;
  font-weight: 800;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* --- Buttons --- */
.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background 0.2s, transform 0.1s;
  cursor: pointer;
  border: none;
}

.btn:hover { background: var(--blue-dark); }
.btn:active { transform: scale(0.98); }
.btn-sm { padding: 8px 18px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; border-radius: var(--radius); }

.btn-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}
.btn-outline:hover { background: var(--blue-light); }

.btn-white {
  background: #fff;
  color: var(--blue);
}
.btn-white:hover { background: var(--gray-50); }

/* --- Hero --- */
.hero {
  padding: 140px 0 60px;
  text-align: center;
  background: linear-gradient(180deg, #fff 0%, var(--gray-50) 100%);
}

.hero-badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  color: var(--gray-900);
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-bottom: 60px;
}

.hero-note {
  font-size: 13px;
  color: var(--gray-400);
}

/* --- Screenshot Mock --- */
.hero-screenshot {
  max-width: 680px;
  margin: 0 auto;
}

.screenshot-mock {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 1px 3px rgba(0,0,0,0.08);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}

.mock-header {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
}

.mock-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.mock-dot.red { background: #ff5f56; }
.mock-dot.yellow { background: #ffbd2e; }
.mock-dot.green { background: #27c93f; }

.mock-url {
  margin-left: 12px;
  font-size: 12px;
  color: var(--gray-400);
  background: var(--gray-100);
  padding: 4px 12px;
  border-radius: 4px;
  flex: 1;
}

.mock-body { padding: 24px; }

.mock-job { margin-bottom: 16px; }
.mock-title { font-size: 22px; font-weight: 700; color: var(--gray-900); }
.mock-company { font-size: 14px; color: var(--gray-600); margin: 4px 0; }
.mock-salary { font-size: 14px; color: var(--gray-800); }

.mock-widget {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.mock-widget-header { margin-bottom: 8px; }
.mock-logo { font-weight: 700; font-size: 15px; color: var(--blue); }

.mock-position {
  font-size: 18px;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 2px;
}

.mock-detail { font-size: 13px; color: var(--gray-600); margin-bottom: 10px; }

.mock-bar {
  position: relative;
  height: 8px;
  background: var(--gray-100);
  border-radius: 4px;
  margin-bottom: 4px;
}

.mock-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: var(--teal);
}

.mock-bar-marker {
  position: absolute;
  top: -4px;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 3px solid var(--teal);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.mock-bar-labels {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.mock-percentiles {
  border-top: 1px solid var(--gray-100);
  padding-top: 10px;
}

.mock-percentiles div {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  padding: 3px 0;
}

.mock-percentiles span:first-child { color: var(--gray-600); }
.mock-percentiles span:last-child { font-weight: 600; font-variant-numeric: tabular-nums; }

.mock-median {
  background: var(--gray-50);
  border-radius: 4px;
  padding: 4px 6px !important;
  font-weight: 600;
}
.mock-median span:first-child { color: var(--gray-800); }

.mock-footer { font-size: 10px; color: var(--gray-400); margin-top: 10px; }

/* --- Social Proof --- */
.social-proof {
  padding: 48px 0;
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
}

.proof-items {
  display: flex;
  justify-content: center;
  gap: 64px;
}

.proof-item { text-align: center; }
.proof-number { font-size: 28px; font-weight: 800; color: var(--blue); }
.proof-label { font-size: 13px; color: var(--gray-600); margin-top: 4px; }

/* --- Problem --- */
.problem {
  padding: 80px 0;
  background: #fff;
}

.problem h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 48px;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem-card {
  text-align: center;
  padding: 32px 24px;
  background: var(--gray-50);
  border-radius: var(--radius);
}

.problem-icon {
  width: 48px;
  height: 48px;
  line-height: 48px;
  font-size: 24px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  margin: 0 auto 16px;
  font-weight: 700;
}

.problem-card h3 { font-size: 18px; margin-bottom: 8px; }
.problem-card p { font-size: 14px; color: var(--gray-600); }

/* --- Features --- */
.features {
  padding: 80px 0;
  background: var(--gray-50);
}

.features h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: #fff;
  padding: 28px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
}

.feature-icon { font-size: 32px; margin-bottom: 12px; }

.feature-icon-text {
  width: 48px;
  height: 48px;
  line-height: 48px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  background: var(--blue-light);
  color: var(--blue);
  border-radius: 10px;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.feature-icon-svg {
  width: 32px;
  height: 32px;
  color: var(--blue);
  margin-bottom: 12px;
}

.feature-icon-svg svg {
  width: 100%;
  height: 100%;
}
.feature-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

/* --- How it works --- */
.how-it-works {
  padding: 80px 0;
  background: #fff;
}

.how-it-works h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 48px;
}

.steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.step {
  text-align: center;
  flex: 0 0 220px;
}

.step-number {
  width: 48px;
  height: 48px;
  line-height: 48px;
  font-size: 20px;
  font-weight: 800;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  margin: 0 auto 16px;
}

.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--gray-600); }

.step-arrow {
  font-size: 24px;
  color: var(--gray-400);
  flex-shrink: 0;
}

/* --- Pricing --- */
.pricing {
  padding: 80px 0;
  background: var(--gray-50);
}

.pricing h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 48px;
}

.pricing-cards {
  display: flex;
  justify-content: center;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.pricing-cards.three-col {
  max-width: 900px;
}

.pricing-card {
  flex: 1;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  border: 2px solid var(--blue);
  box-shadow: 0 8px 30px rgba(26, 115, 232, 0.15);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 12px;
  white-space: nowrap;
}

.pricing-badge.badge-alt {
  background: var(--green);
}

.pricing-tier {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--gray-800);
}

.pricing-price {
  font-size: 42px;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 24px;
}

.pricing-price span {
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-400);
}

.pricing-card ul {
  list-style: none;
  text-align: left;
  margin-bottom: 24px;
}

.pricing-card li {
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-100);
}

.pricing-card li::before {
  content: "\2713 ";
  color: var(--green);
  font-weight: 700;
  margin-right: 8px;
}

.pricing-card li.disabled {
  color: var(--gray-400);
  text-decoration: line-through;
}

.pricing-card li.disabled::before {
  content: "\2717 ";
  color: var(--gray-400);
}

.pricing-note {
  text-align: center;
  margin-top: 24px;
  font-size: 15px;
  color: var(--gray-600);
  font-weight: 500;
}

/* --- FAQ --- */
.faq {
  padding: 80px 0;
  background: #fff;
}

.faq h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 48px;
}

.faq-list {
  max-width: 640px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--gray-200);
}

.faq-item summary {
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  color: var(--gray-400);
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-item p {
  padding: 0 0 20px;
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* --- CTA --- */
.cta {
  padding: 80px 0;
  background: var(--blue);
  text-align: center;
  color: #fff;
}

.cta h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta p {
  font-size: 16px;
  opacity: 0.9;
  max-width: 480px;
  margin: 0 auto 32px;
}

.cta-sub {
  margin-top: 16px !important;
  font-size: 13px !important;
  opacity: 0.7 !important;
}

/* --- Footer --- */
.footer {
  padding: 40px 0;
  background: var(--gray-900);
  color: var(--gray-400);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-brand p { font-size: 13px; margin-top: 4px; }
.footer-brand .nav-logo { color: #fff; }

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

.footer-links a {
  color: var(--gray-400);
  text-decoration: none;
  font-size: 13px;
}

.footer-links a:hover { color: #fff; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-links a:not(.btn) { display: none; }
  .problem-grid, .features-grid { grid-template-columns: 1fr; }
  .steps { flex-direction: column; }
  .step-arrow { transform: rotate(90deg); }
  .pricing-cards { flex-direction: column; max-width: 360px; }
  .proof-items { flex-direction: column; gap: 24px; }
  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }
  .hero h1 { font-size: 32px; }
}
