/* ============================================================
   PayClear — Landing-only styles
   Hero, dashboard mockup, social proof, features, urgency,
   pricing, waitlist sections, footer.
   ============================================================ */

/* ── Hero ── */
.hero {
  padding: 150px 48px 80px;
  max-width: 1320px;
  margin: 0 auto;
  text-align: center;
}
.hero .live-badge { margin-bottom: 28px; }
.hero h1 {
  font-size: clamp(2.6rem, 5.2vw, 4.5rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.045em;
  max-width: 880px;
  margin: 0 auto 22px;
  color: var(--text-primary);
}
.hero h1 .gradient-text {
  background: linear-gradient(135deg, var(--accent), var(--accent-light), #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.12rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 36px;
  line-height: 1.7;
  font-weight: 400;
}
.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

/* Inline above-fold waitlist (sits between buttons and dashboard) */
.hero-waitlist {
  margin: 0 auto 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero-waitlist .hero-waitlist-meta {
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.hero-waitlist .dot-row {
  display: inline-flex;
  align-items: center;
  margin-right: 4px;
}
.hero-waitlist .dot-row span {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--bg-primary);
  background: var(--accent);
}
.hero-waitlist .dot-row span:nth-child(2) { background: #2563eb; margin-left: -7px; }
.hero-waitlist .dot-row span:nth-child(3) { background: #d97706; margin-left: -7px; }
.hero-waitlist .dot-row span:nth-child(4) { background: #9333ea; margin-left: -7px; }

/* ── Mock Dashboard (hero) ── */
.dashboard-wrap {
  max-width: 1100px;
  margin: 0 auto;
  perspective: 1200px;
}
.dashboard {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: rotateX(2deg);
  transition: transform 0.4s ease;
}
.dashboard:hover { transform: rotateX(0deg); }
.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}
.dash-topbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.dash-dots { display: flex; gap: 6px; }
.dash-dots span { width: 10px; height: 10px; border-radius: 50%; }
.dash-dots span:nth-child(1) { background: #ef4444; }
.dash-dots span:nth-child(2) { background: #f59e0b; }
.dash-dots span:nth-child(3) { background: #22c55e; }
.dash-url {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted);
  background: var(--bg-secondary);
  padding: 4px 14px;
  border-radius: 6px;
  border: 1px solid var(--border);
}
.dash-topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.dash-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
}
.dash-body { display: flex; height: 520px; }
.dash-sidebar {
  width: 210px;
  background: var(--bg-subtle);
  border-right: 1px solid var(--border);
  padding: 16px 0;
  flex-shrink: 0;
  overflow-y: auto;
}
.dash-sidebar-brand {
  padding: 0 16px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
  margin-bottom: 6px;
}
.dash-sidebar-brand .mini-shield {
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: #fff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
}
.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  font-size: 0.82rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
  border-left: 2px solid transparent;
  margin: 1px 0;
  user-select: none;
}
.dash-nav-item:hover:not(.active) {
  color: var(--text-secondary);
  background: rgba(0,0,0,0.02);
}
.dash-nav-item.active {
  color: var(--accent);
  font-weight: 600;
  background: var(--accent-surface);
  border-left-color: var(--accent);
}
.dash-nav-item .nav-icon {
  font-size: 0.9rem;
  width: 18px;
  text-align: center;
}
.dash-content {
  flex: 1;
  padding: 20px;
  background: var(--bg-primary);
  overflow-y: auto;
}

/* dashboard cards (hero) */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.card-title {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.score-card { display: flex; align-items: center; gap: 20px; }
.score-ring { position: relative; width: 100px; height: 100px; flex-shrink: 0; }
.score-ring svg { transform: rotate(-90deg); width: 100px; height: 100px; }
.score-ring .bg-ring { fill: none; stroke: var(--bg-subtle); stroke-width: 8; }
.score-ring .fg-ring {
  fill: none;
  stroke: var(--accent);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-dasharray: 264;
  stroke-dashoffset: 34.3;
}
.score-number {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.score-number .big {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--text-primary);
}
.score-number .small {
  font-size: 0.6rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 2px;
}
.score-details { display: flex; flex-direction: column; gap: 7px; }
.score-detail-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--text-secondary);
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.status-dot.green { background: var(--green); }
.status-dot.amber { background: var(--amber); }
.status-dot.red { background: var(--red); }

.gap-chart { display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }
.gap-bar-row { display: flex; align-items: center; gap: 10px; }
.gap-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  width: 60px;
  text-align: right;
  flex-shrink: 0;
  font-family: var(--font-mono);
}
.gap-bar-track {
  flex: 1;
  height: 20px;
  background: var(--bg-subtle);
  border-radius: 5px;
  overflow: hidden;
  display: flex;
}
.gap-bar-male { height: 100%; background: rgba(59,130,246,0.55); border-radius: 5px 0 0 5px; }
.gap-bar-female { height: 100%; background: rgba(236,72,153,0.45); border-radius: 0 5px 5px 0; }
.gap-percent {
  font-size: 0.68rem;
  font-family: var(--font-mono);
  width: 42px;
  text-align: left;
  flex-shrink: 0;
  font-weight: 600;
}
.gap-legend { display: flex; gap: 16px; margin-top: 6px; }
.gap-legend span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.68rem;
  color: var(--text-muted);
}
.legend-dot { width: 7px; height: 7px; border-radius: 3px; }
.legend-dot.male { background: rgba(59,130,246,0.65); }
.legend-dot.female { background: rgba(236,72,153,0.55); }

.dash-page {
  display: none;
  grid-column: 1 / -1;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto 1fr;
  gap: 14px;
}
.dash-page.active { display: grid; }
.dash-page[data-page="pay-analysis"],
.dash-page[data-page="job-architecture"],
.dash-page[data-page="reports"],
.dash-page[data-page="benchmarking"],
.dash-page[data-page="employee-portal"] {
  grid-template-columns: 1fr;
}
.checklist-card { grid-column: 1 / -1; }
.checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 12px;
  background: var(--bg-primary);
  border-radius: 8px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}
.check-icon {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
  font-weight: 700;
}
.check-icon.green { background: var(--green-surface); color: var(--green); }
.check-icon.amber { background: var(--amber-surface); color: var(--amber); }
.check-icon.red { background: var(--red-surface); color: var(--red); }

/* ── Social Proof ── */
.social-proof {
  padding: 48px 48px;
  text-align: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-secondary);
}
.social-proof p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.logo-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.fake-logo {
  padding: 7px 20px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

/* ── Features ── */
.features {
  padding: 110px 48px;
  max-width: 1200px;
  margin: 0 auto;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 26px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-surface);
  border: 1px solid var(--border-accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 18px;
}
.feature-card h3 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}
.feature-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ── Urgency ── */
.urgency {
  padding: 90px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.urgency::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 65%);
  pointer-events: none;
}
.countdown-date {
  font-family: var(--font-mono);
  font-size: clamp(2.8rem, 6.5vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  position: relative;
  margin-bottom: 6px;
  background: linear-gradient(135deg, var(--text-primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.countdown-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  position: relative;
}
.countdown-number {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  position: relative;
}
.countdown-number .days {
  font-family: var(--font-mono);
  font-size: clamp(3.2rem, 7.5vw, 5.5rem);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.countdown-number .days-label {
  font-size: 1.2rem;
  color: var(--text-muted);
  font-weight: 500;
}
.urgency-cta {
  margin-top: 36px;
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-weight: 500;
  position: relative;
}
.urgency-cta strong { color: var(--text-primary); }

/* ── Pricing ── */
.pricing {
  padding: 110px 48px;
  max-width: 1100px;
  margin: 0 auto;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: start;
}
.price-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 26px;
  transition: all 0.3s;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.price-card.popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-lg);
  transform: scale(1.03);
}
.price-card.popular:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-xl);
}
.popular-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.price-tier {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 3px;
}
.price-size { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 18px; }
.price-amount { display: flex; align-items: baseline; gap: 3px; margin-bottom: 22px; }
.price-amount .currency { font-size: 1.3rem; font-weight: 700; color: var(--text-secondary); }
.price-amount .number {
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
}
.price-amount .period { font-size: 0.88rem; color: var(--text-muted); font-weight: 400; }
.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.price-features li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.price-features li .pf-check {
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.price-btn {
  display: block;
  width: 100%;
  padding: 11px;
  text-align: center;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.25s;
  text-decoration: none;
  border: 0;
}
.price-btn.outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-secondary);
}
.price-btn.outline:hover {
  border-color: #cbd5e1;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
}
.price-btn.filled {
  background: var(--accent);
  border: 1px solid var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(5,150,105,0.25);
}
.price-btn.filled:hover {
  background: var(--accent-dim);
  box-shadow: 0 4px 16px rgba(5,150,105,0.3);
}

/* ── Waitlist (dedicated full section) ── */
.waitlist-section {
  padding: 110px 48px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}
.waitlist-card {
  position: relative;
  background:
    radial-gradient(ellipse at top right, rgba(16,185,129,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(59,130,246,0.06) 0%, transparent 55%),
    var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 64px 56px;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.waitlist-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}
.waitlist-card .live-badge { margin-bottom: 20px; }
.waitlist-card h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  max-width: 640px;
  margin: 0 auto 14px;
}
.waitlist-card p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto 32px;
  line-height: 1.6;
}
.waitlist-card .waitlist-inline { margin-bottom: 16px; }
.waitlist-card .legal-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ── Footer ── */
footer {
  padding: 56px 48px;
  border-top: 1px solid var(--border);
  text-align: center;
  background: var(--bg-secondary);
}
.footer-tagline {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}
.footer-sdg {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  background: var(--accent-surface);
  border: 1px solid var(--border-accent);
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  margin: 14px 0 22px;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.83rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-secondary); }
.footer-copy {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .hero { padding: 130px 24px 60px; }
  .features { padding: 80px 24px; }
  .pricing { padding: 80px 24px; }
  .waitlist-section { padding: 60px 24px; }
  .waitlist-card { padding: 44px 28px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .price-card.popular { transform: none; }
  .price-card.popular:hover { transform: translateY(-4px); }
  .dash-sidebar { display: none; }
  .checklist { grid-template-columns: 1fr; }
  footer { padding: 42px 24px; }
  .urgency { padding: 72px 24px; }
}
