/* ============================================================
   CONTRACTORS BID PREP — Brand Stylesheet
   Colors: Gold #C9A84C | Navy #1B2A4A
   ============================================================ */

:root {
  --gold: #C9A84C;
  --gold-light: #E2C47A;
  --gold-dark: #A8872E;
  --navy: #1B2A4A;
  --navy-light: #243660;
  --navy-dark: #111B30;
  --white: #FFFFFF;
  --off-white: #FFFDF0;
  --gray: #9CA3AF;
  --gray-light: #F3F4F6;
  --text-dark: #111827;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 10px;
  --shadow: 0 4px 24px rgba(27, 42, 74, 0.15);
  --shadow-lg: 0 12px 48px rgba(27, 42, 74, 0.25);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--off-white);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- Typography ---- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { font-size: 1rem; color: #4B5563; }

/* ---- Utility ---- */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-center { text-align: center; }
.badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  letter-spacing: 0.02em;
}
.btn-gold {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--gold);
}
.btn-outline:hover {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-1px);
}
.btn-lg { padding: 1.1rem 2.5rem; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ---- Nav ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0.75rem 0;
  background: linear-gradient(90deg, var(--navy-dark) 0%, var(--navy) 100%);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
  transition: box-shadow 0.3s;
}
.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--gold);
}
.nav-logo img {
  height: 56px;
  width: auto;
}
.nav-logo-text {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--gold);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--gold-light); }
.nav-links .btn { padding: 0.5rem 1.25rem; font-size: 0.875rem; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  padding-top: 100px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../assets/beach-bg.jpg') center/cover no-repeat;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(17, 27, 48, 0.88) 0%,
    rgba(27, 42, 74, 0.80) 60%,
    rgba(17, 27, 48, 0.75) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  padding: 0 1.5rem;
}
.hero-logo {
  margin: 0 auto 2rem;
  height: 180px;
  width: auto;
  filter: drop-shadow(0 2px 12px rgba(201,168,76,0.4));
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hero h1 span { color: var(--gold); }
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
/* ---- How It Works ---- */
.how {
  background: var(--navy);
  color: var(--white);
}
.how h2 { color: var(--white); margin-bottom: 0.75rem; }
.how .section-sub { color: rgba(255,255,255,0.65); margin-bottom: 3.5rem; }
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.step {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  transition: border-color 0.2s;
}
.step:hover { border-color: rgba(201,168,76,0.5); }
.step-gold {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(201,168,76,0.3);
}
.step-gold:hover { border-color: var(--gold-light); }
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 800;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.step h3 { color: var(--white); margin-bottom: 0.5rem; }
.step p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* ---- Pricing ---- */
.pricing { background: var(--off-white); }
.pricing h2 { color: var(--navy); margin-bottom: 0.75rem; }
.section-sub { color: var(--gray); margin-bottom: 0.5rem; }
/* ---- Billing toggle ---- */
.billing-toggle {
  display: inline-flex;
  background: #F3F4F6;
  border-radius: 999px;
  padding: 4px;
  margin-top: 1.5rem;
  gap: 2px;
}
.toggle-btn {
  background: none;
  border: none;
  font-family: var(--font);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray);
  padding: 0.45rem 1.25rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  line-height: 1;
}
.toggle-btn.active {
  background: var(--navy);
  color: var(--white);
}
.toggle-save {
  font-size: 0.7rem;
  font-weight: 700;
  color: #059669;
  margin-left: 0.35rem;
  vertical-align: middle;
}
.toggle-btn.active .toggle-save { color: #6EE7B7; }

/* ---- Save badge on CTA buttons ---- */
.save-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.25);
  border-radius: 4px;
  padding: 0.1rem 0.4rem;
  margin-left: 0.4rem;
  vertical-align: middle;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
  align-items: start;
}
.plan-card {
  background: var(--white);
  border-radius: 14px;
  padding: 2.25rem 2rem;
  border: 2px solid #E5E7EB;
  box-shadow: var(--shadow);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.plan-card.featured {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(201,168,76,0.2);
}
.plan-card.featured:hover { transform: translateY(-12px); }
.popular-badge {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 0 0 8px 8px;
}
.plan-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
}
.plan-icon.bronze { background: #FEF3C7; }
.plan-icon.silver { background: #F0F4FF; }
.plan-icon.gold-icon { background: #FEF9EC; }
.plan-name {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.25rem;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 0.25rem;
}
.plan-price .amount {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.plan-price .period {
  font-size: 0.9rem;
  color: var(--gray);
}
.plan-tagline {
  font-size: 0.875rem;
  color: var(--gray);
  margin-bottom: 1.75rem;
  border-bottom: 1px solid #F3F4F6;
  padding-bottom: 1.5rem;
}
.plan-features {
  margin-bottom: 2rem;
  text-align: left;
}
.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #374151;
  padding: 0.4rem 0;
}
.plan-features li::before {
  content: '';
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23C9A84C'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E") center/contain no-repeat;
  flex-shrink: 0;
  margin-top: 2px;
}
.plan-cta { margin-top: auto; }
.plan-annual-note {
  font-size: 0.78rem;
  color: #059669;
  font-weight: 600;
  margin: -0.15rem 0 0.75rem;
}
.tax-note {
  margin-top: 3rem;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  background: var(--navy-dark);
  color: var(--gold);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  line-height: 1.4;
  padding: 2rem 1.5rem;
}
.tax-note-inner {
  display: block;
  max-width: 760px;
  margin: 0 auto;
}

/* ---- Our Why ---- */
.our-why {
  background: var(--navy-dark);
  padding: 4.5rem 0;
  text-align: center;
}
.our-why h2 {
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.our-why p {
  color: rgba(255,255,255,0.75);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ---- CTA Band ---- */
.cta-band {
  background: var(--off-white);
  padding: 5rem 0;
  text-align: center;
  color: var(--text-dark);
}
.cta-band h2 { color: var(--navy); margin-bottom: 1rem; }
.cta-band p { color: #4B5563; max-width: 500px; margin: 0 auto 2.5rem; }

/* ---- Footer ---- */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.45);
  padding: 2.5rem 0;
  text-align: center;
  font-size: 0.82rem;
}
.footer a { color: var(--gold); }
.footer-logo { margin: 0 auto 0.75rem; height: 32px; opacity: 0.6; }
.footer-legal {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.5rem;
}
.footer-legal a {
  color: var(--gold);
  font-size: 0.8rem;
}
.footer-legal a:hover { color: var(--gold-light); }
.footer-copyright {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
}

/* ---- Legal pages ---- */
.legal-hero {
  background: var(--navy);
  padding: 8.5rem 1.5rem 3rem;
  text-align: center;
}
.legal-hero .badge { margin-bottom: 1rem; }
.legal-hero h1 { color: var(--white); margin-bottom: 0.5rem; }
.legal-hero p { color: rgba(255,255,255,0.65); max-width: 600px; margin: 0 auto; }
.legal-wrap { background: var(--off-white); padding: 3.5rem 0 5rem; }
.legal-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  max-width: 800px;
  margin: 0 auto;
}
.legal-card section { margin-bottom: 2.5rem; scroll-margin-top: 5rem; }
.legal-card section:last-of-type { margin-bottom: 0; }
.legal-card h2 {
  font-size: 1.3rem;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.6rem;
  margin-bottom: 1.1rem;
}
.legal-card h3 {
  font-size: 1.02rem;
  color: var(--navy-light);
  margin: 1.25rem 0 0.5rem;
}
.legal-card p, .legal-card li { font-size: 0.95rem; color: #4B5563; }
.legal-card ul { padding-left: 1.3rem; list-style: disc; margin-bottom: 0.75rem; }
.legal-card ul li { margin-bottom: 0.4rem; }
.legal-caps {
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--navy-dark);
  background: var(--off-white);
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: 0 6px 6px 0;
  line-height: 1.5;
}
.legal-callout {
  background: #FEF9EC;
  border-left: 4px solid var(--gold);
  padding: 1rem 1.25rem;
  border-radius: 0 6px 6px 0;
  font-size: 0.92rem;
}
.legal-toc {
  max-width: 800px;
  margin: 0 auto 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  justify-content: center;
  font-size: 0.85rem;
}
.legal-toc a { color: var(--navy-light); border-bottom: 1px solid transparent; }
.legal-toc a:hover { color: var(--gold-dark); border-color: var(--gold); }
.legal-footnote {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 2.5rem;
  font-style: italic;
}
@media (max-width: 600px) {
  .legal-card { padding: 1.75rem 1.25rem; }
}

/* ---- Portal / Auth ---- */
.auth-page {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.auth-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2.25rem;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.auth-logo {
  height: 56px;
  margin: 0 auto 0.75rem;
}
.auth-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 0.25rem;
}
.auth-sub {
  font-size: 0.875rem;
  color: var(--gray);
  text-align: center;
  margin-bottom: 2rem;
}
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
  letter-spacing: 0.03em;
}
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #E5E7EB;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font);
  color: var(--text-dark);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}
.form-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.form-error {
  font-size: 0.8rem;
  color: #DC2626;
  margin-top: 0.4rem;
  display: none;
}

/* ---- Dashboard ---- */
.dashboard-layout {
  min-height: 100vh;
  background: #F8F9FB;
  display: flex;
  flex-direction: column;
}
.dash-header {
  background: var(--navy);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.dash-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.875rem 1.5rem;
}
.dash-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
}
.dash-logo img { height: 34px; }
.dash-logo-text { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); }
.dash-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.875rem;
}
.dash-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dash-main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
}
.dash-welcome {
  margin-bottom: 2rem;
}
.dash-welcome h1 {
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}
.dash-welcome p { color: var(--gray); font-size: 0.9rem; }
.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  border: 1px solid #E5E7EB;
}
.stat-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 0.5rem;
}
.stat-card-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.stat-card-value.gold { color: var(--gold-dark); }

/* ---- Bid Table ---- */
.bids-section { background: var(--white); border-radius: 14px; border: 1px solid #E5E7EB; overflow: hidden; }
.bids-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #F3F4F6;
}
.bids-header h2 { font-size: 1.05rem; color: var(--navy); }
.bids-refresh {
  font-size: 0.8rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font);
  transition: color 0.2s;
}
.bids-refresh:hover { color: var(--navy); }
.bids-refresh.spinning svg { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.bids-table { width: 100%; border-collapse: collapse; }
.bids-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray);
  padding: 0.75rem 1.5rem;
  background: #FAFAFA;
  border-bottom: 1px solid #F3F4F6;
}
.bids-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #F9FAFB;
  font-size: 0.9rem;
  color: #374151;
  vertical-align: middle;
}
.bids-table tr:last-child td { border-bottom: none; }
.bids-table tr:hover td { background: #FAFBFF; }
.bid-title { font-weight: 600; color: var(--navy); margin-bottom: 0.15rem; }
.bid-agency { font-size: 0.8rem; color: var(--gray); }
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.status-pill::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.status-submitted { background: #ECFDF5; color: #059669; }
.status-pending { background: #FFFBEB; color: #D97706; }
.status-no-response { background: #F9FAFB; color: #6B7280; }
.status-awarded { background: #EFF6FF; color: #2563EB; }
.bids-empty {
  padding: 4rem 2rem;
  text-align: center;
  color: var(--gray);
}
.bids-loading {
  padding: 4rem 2rem;
  text-align: center;
  color: var(--gray);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid #E5E7EB;
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* ---- Toast ---- */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 999;
  max-width: 320px;
}
.toast.show {
  transform: translateY(0);
  opacity: 1;
}
.toast.error { background: #DC2626; }

/* ---- Bid title cell (title + New badge inline) ---- */
.bid-title-cell { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.5rem; }
.bid-title-link {
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: color 0.15s;
}
.bid-title-link:hover { color: var(--gold-dark); text-decoration: underline; }

/* ---- "New This Week" badge ---- */
.new-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy-dark);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
  vertical-align: middle;
}

/* ---- Trade category pills ---- */
.trade-pills { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.trade-pill {
  display: inline-block;
  background: #EFF6FF;
  color: #1D4ED8;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  white-space: nowrap;
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-dark);
    padding: 0.5rem 1.5rem 1.25rem;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 16px 0;
    border-bottom: 1px solid rgba(201,168,76,0.15);
  }
  .nav-links .btn {
    margin-top: 0.75rem;
    text-align: center;
  }
  .pricing-grid { grid-template-columns: 1fr; }
  .plan-card.featured { transform: none; }
  /* Hide Est. Value and Trade on small screens */
  .bids-table th:nth-child(4),
  .bids-table td:nth-child(4),
  .bids-table th:nth-child(5),
  .bids-table td:nth-child(5) { display: none; }
  .stat-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: center; }
  .stat-cards { grid-template-columns: 1fr; }
  .hero-eyebrow { font-size: 0.6rem; letter-spacing: 0.12em; }
}
