@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #4F46E5;
  --primary-dark: #3730A3;
  --primary-light: #EEF2FF;
  --green: #10B981;
  --red: #EF4444;
  --amber: #F59E0B;
  --dark: #0A0A14;
  --dark-card: #13131F;
  --off-white: #F9F9F7;
  --white: #FFFFFF;
  --text: #111827;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* ── NAV ── */
.nav {
  background: var(--dark);
  padding: 16px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.nav-logo {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.nav-logo span { color: #818CF8; }

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

.nav-link {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.nav-link:hover { color: #fff; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
  padding: 6px;
  align-items: center;
  justify-content: center;
}

/* Mobile nav: collapse links into a dropdown */
@media (max-width: 820px) {
  .nav { position: relative; }
  .nav-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--dark);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 10px 20px 18px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.35);
    z-index: 1000;
  }
  .nav-links.open { display: flex; }
  .nav-links .nav-link {
    padding: 11px 4px;
    font-size: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .nav-links .btn { width: 100%; justify-content: center; margin-top: 8px; }
  .nav-links > span { margin: 8px 0 2px; }
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-dark {
  background: #111827;
  color: #fff;
}
.btn-dark:hover { background: #374151; }

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

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover {
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  color: #fff;
}

.btn-lg { padding: 13px 28px; font-size: 15px; border-radius: 8px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-block { width: 100%; justify-content: center; }

.btn-danger {
  background: var(--red);
  color: #fff;
}
.btn-danger:hover { background: #DC2626; }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  box-shadow: var(--shadow);
}

/* ── FORMS ── */
.form-group { margin-bottom: 18px; }

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(79,70,229,0.1);
}
.form-control::placeholder { color: #9CA3AF; }

select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; }

.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.form-error { font-size: 12px; color: var(--red); margin-top: 4px; }

/* ── FLASH MESSAGES ── */
.flash-container {
  position: fixed;
  top: 72px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 360px;
}

.flash {
  padding: 12px 18px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  animation: slideIn 0.3s ease;
  cursor: pointer;
}
.flash--success { background: #DCFCE7; color: #16A34A; border: 1px solid #BBF7D0; }
.flash--error   { background: #FEE2E2; color: #DC2626; border: 1px solid #FECACA; }
.flash--warning { background: #FEF9C3; color: #CA8A04; border: 1px solid #FDE68A; }
.flash--info    { background: #DBEAFE; color: #1D4ED8; border: 1px solid #BFDBFE; }

@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* ── FOOTER ── */
.footer {
  background: var(--dark);
  padding: 32px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.07);
  flex-wrap: wrap;
  gap: 12px;
}
.footer-links { display: flex; gap: 20px; }
.footer-link { font-size: 13px; color: rgba(255,255,255,0.4); text-decoration: none; }
.footer-link:hover { color: rgba(255,255,255,0.8); }
.footer-copy { font-size: 13px; color: rgba(255,255,255,0.3); }

/* ── AUTH PAGES ── */
.auth-wrap {
  min-height: calc(100vh - 130px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: var(--off-white);
}

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

.auth-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.auth-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.auth-footer-link {
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
}

.auth-footer-link a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

/* ── DASHBOARD ── */
.app-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: calc(100vh - 56px);
}

.sidebar {
  background: var(--white);
  border-right: 1px solid var(--border);
  padding: 24px;
  overflow-y: auto;
  position: sticky;
  top: 0;
  height: calc(100vh - 56px);
}

.sidebar-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.main-content {
  padding: 32px 40px;
  overflow-y: auto;
}

.page-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.page-sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* ── STATS ROW ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}

.stat-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* ── RESULTS TABLE ── */
.results-table-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.results-table {
  width: 100%;
  border-collapse: collapse;
}

.results-table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #FAFAF8;
  border-bottom: 1px solid var(--border);
}

.results-table td {
  padding: 14px 16px;
  font-size: 13px;
  color: var(--text);
  border-bottom: 1px solid #F3F4F6;
  vertical-align: middle;
}

.results-table tr:last-child td { border-bottom: none; }
.results-table tr:hover td { background: #FAFAF8; }

.score-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 24px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.score-high { background: #16A34A; }
.score-mid  { background: #CA8A04; }
.score-low  { background: #DC2626; }

.job-title-cell { font-weight: 600; color: var(--text); }
.job-company { font-size: 12px; color: var(--text-muted); margin-top: 1px; }

.remote-badge {
  background: #DCFCE7;
  color: #16A34A;
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}

.source-badge {
  background: var(--primary-light);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}

.skill-chip {
  display: inline-block;
  background: #F3F4F6;
  color: #374151;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  margin: 1px;
}

/* ── LOADING ── */
.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(79,70,229,0.2);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

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

.search-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 64px 24px;
  gap: 16px;
  color: var(--text-muted);
  font-size: 14px;
}

/* ── PAYWALL ── */
.paywall-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #6D28D9 100%);
  border-radius: 16px;
  padding: 28px 32px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.paywall-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 4px;
}
.paywall-sub { font-size: 14px; color: rgba(255,255,255,0.75); }

/* ── FREE COUNTER ── */
.free-counter {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEF9C3;
  border: 1px solid #FDE68A;
  color: #CA8A04;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}

/* ── ADMIN ── */
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th {
  padding: 10px 14px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
}
.admin-table td {
  padding: 12px 14px;
  font-size: 13px;
  border-bottom: 1px solid #F3F4F6;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}
.status-active { background: var(--green); }
.status-inactive { background: #D1D5DB; }

/* ── TUTORIAL MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-box {
  background: var(--white);
  border-radius: 20px;
  padding: 40px;
  max-width: 520px;
  width: 100%;
  box-shadow: 0 32px 80px rgba(0,0,0,0.2);
}

.modal-step {
  display: none;
}
.modal-step.active { display: block; }

.modal-step-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.modal-step-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.modal-step-body {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.modal-dots {
  display: flex;
  gap: 6px;
}

.modal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.2s;
}
.modal-dot.active { background: var(--primary); }

/* ── UPGRADE PAGE ── */
.upgrade-wrap {
  min-height: calc(100vh - 56px);
  background: var(--off-white);
  padding: 60px 24px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}

.plan-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
}

.plan-card-pro {
  background: var(--primary);
  border-color: var(--primary);
}

.plan-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.plan-card-pro .plan-name { color: rgba(255,255,255,0.6); }

.plan-price {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 44px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 4px;
}
.plan-card-pro .plan-price { color: #fff; }

.plan-period {
  font-size: 13px;
  color: #9CA3AF;
  margin-bottom: 24px;
}
.plan-card-pro .plan-period { color: rgba(255,255,255,0.55); }

.plan-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.plan-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
}
.plan-card-pro .plan-features li { color: rgba(255,255,255,0.85); }

.check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #DCFCE7;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #16A34A;
}
.plan-card-pro .check-icon { background: rgba(255,255,255,0.2); color: #fff; }

/* ── JOB CARDS ── */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 16px;
}

.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s, transform 0.15s;
  position: relative;
}
.job-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.job-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.job-card-score {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 28px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.job-card-bookmark {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #9CA3AF;
  transition: color 0.2s;
  flex-shrink: 0;
}
.job-card-bookmark:hover { color: var(--primary); }
.job-card-bookmark.saved { color: var(--primary); }

.job-card-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  line-height: 1.3;
  flex: 1;
}
.job-card-title:hover { color: var(--primary); }

.job-card-company {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.job-card-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.job-card-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.job-card-salary {
  font-size: 13px;
  font-weight: 600;
  color: #16A34A;
}

.job-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid #F3F4F6;
  margin-top: auto;
}

.job-card-source {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--primary-light);
  color: var(--primary);
  padding: 3px 9px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
}

.job-card-date {
  font-size: 11px;
  color: #9CA3AF;
}

.btn-apply {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 0.15s;
  white-space: nowrap;
}
.btn-apply:hover { background: var(--primary-dark); }

/* ── FILTER BAR ── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 16px;
}

.filter-bar-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.filter-select {
  padding: 6px 28px 6px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background-color: var(--white);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  appearance: none;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s;
}
.filter-select:focus { border-color: var(--primary); }

.filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--white);
  cursor: pointer;
  transition: all 0.2s;
  user-select: none;
}
.filter-toggle.active {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.filter-divider {
  width: 1px;
  height: 20px;
  background: var(--border);
}

/* ── SKELETON CARDS ── */
.skeleton-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton-line {
  background: linear-gradient(90deg, #F3F4F6 25%, #E9EAEC 50%, #F3F4F6 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── EMPTY STATE (no results) ── */
.empty-results {
  text-align: center;
  padding: 64px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.empty-results-icon {
  font-size: 48px;
  margin-bottom: 16px;
  display: block;
}

.empty-results-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.empty-results-sub {
  font-size: 14px;
  color: var(--text-muted);
  max-width: 380px;
  margin: 0 auto 24px;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .app-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; height: auto; border-right: none; border-bottom: 1px solid var(--border); }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .jobs-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav { padding: 14px 20px; }
  .pricing-grid { grid-template-columns: 1fr; }
}

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

/* ── FAQ ACCORDION ── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
  user-select: none;
}
.faq-item:hover {
  border-color: #C7D2FE;
  box-shadow: 0 2px 12px rgba(79,70,229,0.08);
}
.faq-item.faq-open {
  border-color: var(--primary);
  background: #fff;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}
.faq-item.faq-open .faq-icon { transform: rotate(180deg); color: var(--primary); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  transition: max-height 0.3s ease, margin-top 0.3s ease;
  margin-top: 0;
}
.faq-item.faq-open .faq-a {
  max-height: 200px;
  margin-top: 12px;
}

/* ── LANDING HOW-IT-WORKS responsive ── */
@media (max-width: 840px) {
  .how-grid { grid-template-columns: 1fr !important; }
}

/* ── LANDING stats 4-col responsive ── */
@media (max-width: 700px) {
  .stats-4 { grid-template-columns: repeat(2,1fr) !important; }
}

/* ── LANDING features grid responsive ── */
@media (max-width: 860px) {
  .features-grid { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 640px) {
  .hero-mock { display: none; }
}
.delay-3 { transition-delay: 0.3s; }

/* Safety: never allow horizontal scroll on small screens */
html, body { max-width: 100%; overflow-x: hidden; }

/* Suggestion chips (empty search state) */
.suggest-chip {
  background: #EEF2FF;
  color: #4F46E5;
  border: 1px solid #C7D2FE;
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background .15s, transform .12s;
}
.suggest-chip:hover { background: #E0E7FF; transform: translateY(-1px); }
.suggest-chip:active { transform: none; }
