@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ============================================================
   FedContracts — Main Stylesheet
   Colors: Black #1f1f1f, Yellow #FFD100, Blue #2563eb, White #fff
   Font: Inter + JetBrains Mono for data
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@500;700&display=swap');

/* ---------- CSS Variables ---------- */
:root {
    --black:     #1f1f1f;
    --white:     #ffffff;
    --yellow:    #FFD100;
    --yellow-lt: #fffbe6;
    --blue:      #2563eb;
    --blue-lt:   #eff6ff;
    --border:    #e2e5e9;
    --border-lt: #f0f1f3;
    --muted:     #1f1f1f;
    --bg:        #fafafa;
    --bg2:       #f0f0f0;
    --red:       #dc2626;
    --green:     #065f46;
    --font:      'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-mono: 'JetBrains Mono', 'SF Mono', 'Cascadia Mono', 'Courier New', monospace;
    --r-sm:      4px;
    --r-md:      10px;
    --r-lg:      14px;
    --r-pill:    50px;
    --r-card:    10px;
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.10);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 17px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    font-size: 19px;
    color: var(--black);
    background: #fff;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    letter-spacing: -0.011em;
    font-feature-settings: 'cv11', 'ss01';
}
a { color: var(--black); text-decoration: none; transition: color 0.15s; }
a:hover { color: var(--black); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { color: var(--black); line-height: 1.2; font-weight: 700; }
h1 { font-size: 2.25rem; font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 1.375rem; }
h4 { font-size: 1.125rem; }
p { margin-bottom: 1rem; }

/* Utility */
.font-mono { font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 28px;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 300;
    background: rgba(255,255,255,0.92);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
    display: flex;
    align-items: center;
    height: 56px;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 28px;
    gap: 0;
}

.logo {
    font-size: 1.55rem;
    font-weight: 900;
    color: var(--black);
    letter-spacing: -0.04em;
    flex-shrink: 0;
    text-decoration: none;
    margin-right: 32px;
}
.logo:hover { color: var(--black); text-decoration: none; }
.logo span { color: var(--black); }

/* Main nav links */
.nav-main {
    display: flex;
    gap: 2px;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-main a {
    padding: 6px 12px;
    color: var(--black);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 6px;
    transition: background 0.15s;
    text-decoration: none;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.nav-main a:hover {
    background: var(--bg);
    text-decoration: none;
}
.nav-main a.active {
    color: var(--black);
    font-weight: 600;
}

/* Action links — right side */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.nav-pricing {
    padding: 6px 12px;
    color: var(--black);
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 6px;
    transition: background 0.15s;
    text-decoration: none;
    white-space: nowrap;
}
.nav-pricing:hover { background: var(--bg); text-decoration: none; }

.nav-signin {
    padding: 6px 14px;
    color: var(--black);
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: 6px;
    transition: background 0.15s;
    text-decoration: none;
    white-space: nowrap;
}
.nav-signin:hover { background: var(--bg); text-decoration: none; }

.nav-admin-link {
    padding: 4px 10px;
    color: #888;
    font-weight: 600;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    white-space: nowrap;
}
.nav-admin-link:hover { color: var(--black); text-decoration: none; }

.btn-nav, a.btn-nav {
    background: var(--black);
    color: #fff !important;
    padding: 7px 18px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s;
}
.btn-nav:hover {
    background: #333;
    text-decoration: none;
    color: #fff;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
}
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
    position: relative;
    color: #fff;
    min-height: 1000px !important;
    padding: 72px 0 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--black);
    overflow: hidden;
    border-bottom: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../55.png');
    background-size: cover;
    background-position: center 30%;
    filter: brightness(0.35) saturate(0.7);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(5,5,10,0.20) 0%,
        rgba(5,5,10,0.50) 60%,
        rgba(5,5,10,0.80) 100%
    );
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: #fff;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 5px 16px;
    border-radius: 4px;
    background: rgba(255,255,255,0.08);
}

.hero h1 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -0.045em;
    line-height: 1.0;
}

.hero h1 .hero-accent,
.hero-sub .hero-accent {
    color: var(--yellow);
    font-weight: 700;
}

.hero-sub {
    color: rgba(255,255,255,0.72);
    font-size: 1.0625rem;
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

/* Stats under hero heading */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stat-num {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    letter-spacing: -0.04em;
    display: block;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 0.6875rem;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Hero search box */
.hero-search {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(8px);
    max-width: 820px;
    margin: 0 auto;
}

.search-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
}

.search-field label {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.4);
    padding-left: 12px;
}

.search-field input,
.search-field select {
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 8px;
    padding: 11px 16px;
    font-size: 0.875rem;
    color: var(--black);
    background: #fff;
    font-family: var(--font);
    font-weight: 500;
    height: 44px;
    outline: none;
    transition: box-shadow 0.15s;
}
.search-field input:focus,
.search-field select:focus {
    box-shadow: 0 0 0 3px rgba(255,209,0,0.4);
}

.search-industry { flex: 2; }
.search-state    { flex: 1; min-width: 140px; }
.search-setaside { flex: 1.2; min-width: 170px; }

.search-btn {
    background: var(--yellow);
    color: var(--black);
    border: none;
    border-radius: 8px;
    padding: 0 28px;
    height: 44px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.15s;
    font-family: var(--font);
}
.search-btn:hover {
    background: #e6bc00;
    transform: translateY(-1px);
}

/* Autocomplete dropdown */
.autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg), 0 2px 8px rgba(0,0,0,0.08);
    z-index: 200;
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

.ac-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.1s;
}
.ac-item:hover { background: var(--yellow-lt); }
.ac-item:not(:last-child) { border-bottom: 1px solid var(--border-lt); }

.ac-code {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--black);
    min-width: 52px;
    background: var(--bg);
    padding: 2px 8px;
    border-radius: var(--r-sm);
    text-align: center;
}

.ac-title {
    font-size: 0.875rem;
    color: var(--black);
    font-weight: 500;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 32px 0;
}

.stats-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 28px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.stat-num {
    font-family: var(--font-mono);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.04em;
    line-height: 1.1;
}

.stat-label {
    font-size: 0.6875rem;
    color: var(--black);
    opacity: 0.5;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* ============================================================
   SECTIONS
   ============================================================ */
.industries-section,
.how-section,
.states-section,
.pricing-teaser {
    padding: 64px 0;
}

.industries-section { background: var(--bg); }
.how-section        { background: #fff; }
.states-section     { background: var(--bg); }
.pricing-teaser     { background: #fff; }

.industries-section h2,
.how-section h2,
.states-section h2,
.pricing-teaser h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

/* Section title with line */
.section-title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--black);
    margin-bottom: 28px;
    letter-spacing: -0.03em;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--black);
    display: inline-block;
}

/* Industry grid */
.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.industry-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    text-decoration: none;
    transition: all 0.12s;
}
.industry-card:hover {
    border-color: var(--black);
    background: var(--yellow-lt);
    text-decoration: none;
    box-shadow: var(--shadow-sm);
}

.industry-code {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--black);
    background: var(--bg);
    padding: 2px 8px;
    border-radius: var(--r-sm);
    flex-shrink: 0;
    white-space: nowrap;
}

.industry-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--black);
    line-height: 1.35;
}

.industry-arrow { display: none; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.how-card {
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 28px 24px;
    background: #fff;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.how-card:hover { border-color: var(--border); box-shadow: var(--shadow-sm); }

.how-num {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--black);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: 16px;
    letter-spacing: -0.04em;
}

.how-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--black);
}

.how-card p {
    font-size: 0.875rem;
    color: var(--black);
    line-height: 1.65;
    margin-bottom: 0;
    opacity: 0.7;
}

/* ============================================================
   STATES
   ============================================================ */
.states-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.state-link {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--black);
    background: #fff;
    text-decoration: none;
    transition: all 0.12s;
}
.state-link:hover {
    border-color: var(--black);
    background: var(--yellow-lt);
    text-decoration: none;
}

.state-all {
    background: var(--black) !important;
    color: #fff !important;
    border-color: var(--black) !important;
    font-weight: 700 !important;
}
.state-all:hover {
    background: #333 !important;
    border-color: #333 !important;
    color: #fff !important;
}

/* ============================================================
   PRICING TEASER / COMPARISON
   ============================================================ */
.pricing-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.pricing-text h2 { margin-bottom: 12px; }
.pricing-text p {
    font-size: 1rem;
    color: var(--black);
    margin-bottom: 28px;
    line-height: 1.7;
    opacity: 0.7;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    background: var(--yellow);
    color: var(--black);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.15s;
    border: 2px solid var(--yellow);
}
.btn-primary:hover {
    background: #e6bc00;
    border-color: #e6bc00;
    text-decoration: none;
    color: var(--black);
    transform: translateY(-1px);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
}

.compare-table th {
    background: var(--bg);
    color: var(--black);
    padding: 10px 14px;
    text-align: left;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    border-bottom: 1px solid var(--border);
}

.compare-table th:nth-child(3) {
    background: var(--black);
    color: #fff;
}

.compare-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border-lt);
    color: var(--black);
    font-size: 0.875rem;
}
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td:nth-child(3) { font-weight: 700; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--black);
    color: #fff;
    border-top: none;
    padding: 48px 0 0;
    margin-top: auto;
}

.footer-inner {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 28px;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.footer-brand p {
    color: rgba(255,255,255,0.4);
    font-size: 0.875rem;
    line-height: 1.75;
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.footer-links h4 {
    color: rgba(255,255,255,0.3);
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
    padding-bottom: 0;
    border-bottom: none;
}

.footer-links a {
    display: block;
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
    padding: 3px 0;
    transition: color 0.15s;
    text-decoration: none;
}
.footer-links a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 28px;
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================================================
   PAGE HEADER (search/opportunities/states pages)
   ============================================================ */
.page-header {
    position: relative;
    background: var(--black);
    min-height: 600px;
    padding: 72px 0 60px;
    margin-bottom: 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../55.png');
    background-size: cover;
    background-position: center 30%;
    filter: brightness(0.35) saturate(0.7);
    z-index: 0;
}

.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,5,10,0.20) 0%, rgba(5,5,10,0.55) 60%, rgba(5,5,10,0.80) 100%);
    z-index: 0;
}

.page-header .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-header h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 20px;
}

.page-header p {
    color: #ccc;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.page-header .hero-search {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 28px;
}

/* PAGE INTRO — descriptive text below hero */
.page-intro {
    background: #fff;
    border-bottom: 1px solid #e2e5e9;
    padding: 36px 0;
}
.page-intro .container {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}
.page-intro p {
    font-size: 0.9375rem;
    color: #555;
    line-height: 1.75;
    margin: 0;
}

/* ============================================================
   SEARCH PAGE
   ============================================================ */
.search-header {
    position: relative;
    background: var(--black);
    min-height: 600px;
    padding: 72px 0 60px;
    border-bottom: none;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.search-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('../55.png');
    background-size: cover;
    background-position: center 30%;
    filter: brightness(0.35) saturate(0.7);
    z-index: 0;
}

.search-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,5,10,0.20) 0%, rgba(5,5,10,0.55) 60%, rgba(5,5,10,0.80) 100%);
    z-index: 0;
}

.search-header-inner {
    position: relative;
    z-index: 1;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 28px;
    width: 100%;
    text-align: center;
}

.search-header h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -0.04em;
}

.search-header p {
    color: #ccc;
    font-size: 1rem;
    font-weight: 400;
    margin-bottom: 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    white-space: nowrap;
}

.search-header .hero-search {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 28px;
}

/* Dark search form labels */
.search-form-inline .search-field label {
    color: rgba(255,255,255,0.4);
}

.search-page-body {
    padding: 32px 0 72px;
    background: var(--bg);
    flex: 1;
}

/* Results meta */
.results-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.results-count {
    font-size: 0.875rem;
    color: var(--black);
    font-weight: 500;
}
.results-count strong { color: var(--black); font-weight: 700; }

/* ============================================================
   CONTRACTS TABLE
   ============================================================ */
.table-container {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
}

.contracts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
    background: #fff;
}

.contracts-table th {
    text-align: left;
    font-weight: 700;
    color: var(--black);
    padding: 10px 14px;
    border-bottom: 1px solid var(--black);
    white-space: nowrap;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.contracts-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-lt);
    color: var(--black);
    vertical-align: top;
    font-size: 0.875rem;
}
.contracts-table tr:last-child td { border-bottom: none; }
.contracts-table tr:hover td { background: var(--yellow-lt); }

.award-amount {
    font-family: var(--font-mono);
    font-weight: 700;
    color: var(--black);
    white-space: nowrap;
    font-size: 0.875rem;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.award-id {
    font-family: var(--font-mono);
    font-size: 0.6875rem;
    color: var(--black);
    opacity: 0.4;
    margin-top: 2px;
}

.recipient-name {
    font-weight: 600;
    color: var(--black);
    display: block;
    font-size: 0.875rem;
}

.recipient-location {
    font-size: 0.75rem;
    color: var(--black);
    opacity: 0.6;
    margin-top: 2px;
}

.description-cell {
    max-width: 360px;
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--black) !important;
}
.description-cell a { color: var(--black) !important; text-decoration: none; }

.desc-locked {
    color: var(--black);
    font-style: italic;
    font-size: 0.875rem;
}
.desc-locked a {
    color: var(--blue);
    font-weight: 700;
    font-style: normal;
    text-decoration: underline;
}

.set-aside-badge {
    display: inline-block;
    background: var(--black);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--r-sm);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: none;
}

.agency-name {
    font-size: 0.875rem;
    color: var(--black);
    max-width: 220px;
    font-weight: 500;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 32px 0;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 12px;
    font-size: 0.875rem;
    font-weight: 600;
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--black);
    transition: all 0.15s;
    text-decoration: none;
    background: #fff;
}

.pagination a:hover {
    border-color: var(--black);
    color: var(--black);
    background: var(--bg);
    text-decoration: none;
}

.pagination span.current {
    background: var(--black);
    border-color: var(--black);
    color: #fff;
    font-weight: 700;
}

/* ============================================================
   PAYWALL / LIMIT BANNERS
   ============================================================ */
.paywall-banner {
    background: var(--black);
    color: #fff;
    border-radius: var(--r-md);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 24px;
    border-top: none;
}

.paywall-text h3 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.paywall-text p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0;
}

.paywall-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
    padding: 8px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.15s;
}
.btn-secondary:hover {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
    text-decoration: none;
}

.search-limit-banner {
    background: var(--blue-lt);
    border: 1px solid var(--blue);
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 0.875rem;
    color: var(--black);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.search-limit-banner strong { color: var(--black); }
.search-limit-banner a { color: var(--blue); font-weight: 700; text-decoration: underline; }

/* ============================================================
   PRICING PAGE
   ============================================================ */
.pricing-page {
    padding: 64px 0;
    background: var(--bg);
    flex: 1;
}

.pricing-header {
    text-align: center;
    margin-bottom: 48px;
}

.pricing-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 10px;
    color: var(--black);
}

.pricing-header p {
    font-size: 0.9375rem;
    color: var(--black);
    max-width: 480px;
    margin: 0 auto;
    font-weight: 400;
    margin-bottom: 0;
    opacity: 0.6;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 940px;
    margin: 0 auto 56px;
    align-items: start;
}

.plan-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 32px 28px;
    transition: box-shadow 0.2s;
    position: relative;
}
.plan-card:hover {
    box-shadow: var(--shadow-md);
}

.plan-card.featured {
    border-color: var(--black);
    border-width: 2px;
    box-shadow: var(--shadow-md);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--black);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: var(--r-sm);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.plan-name {
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--black);
    margin-bottom: 8px;
    opacity: 0.5;
}

.plan-price {
    font-family: var(--font-mono);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 4px;
}

.plan-price sup {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0;
    vertical-align: top;
    margin-top: 6px;
    display: inline-block;
}

.plan-price span {
    font-family: var(--font);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--black);
    opacity: 0.5;
}

.plan-desc {
    font-size: 0.875rem;
    color: var(--black);
    margin: 10px 0 24px;
    line-height: 1.6;
    opacity: 0.6;
}

.plan-features {
    list-style: none;
    margin-bottom: 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.plan-features li {
    font-size: 0.875rem;
    color: var(--black);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
    font-weight: 500;
}

.feat-yes {
    background: var(--black);
    color: #fff;
    font-weight: 900;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    font-size: 0.6875rem;
}
.feat-no {
    background: var(--border-lt);
    color: var(--border);
    font-weight: 700;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-sm);
    font-size: 0.6875rem;
}

.plan-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 11px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.15s;
}

.plan-cta.outline {
    border: 1.5px solid var(--border);
    color: var(--black);
}
.plan-cta.outline:hover {
    border-color: var(--black);
    background: var(--bg);
    text-decoration: none;
}

.plan-cta.primary-cta {
    background: var(--yellow);
    color: var(--black);
    border: 2px solid var(--yellow);
}
.plan-cta.primary-cta:hover {
    background: #e6bc00;
    border-color: #e6bc00;
    text-decoration: none;
    transform: translateY(-1px);
}

/* FAQ */
.faq-section {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px 64px;
}

.faq-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 28px;
    text-align: center;
    letter-spacing: -0.03em;
}

.faq-item {
    border-bottom: 1px solid var(--border-lt);
    padding: 20px 0;
}
.faq-item:last-child { border-bottom: none; }

.faq-q {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 6px;
}

.faq-a {
    font-size: 0.875rem;
    color: var(--black);
    line-height: 1.75;
    margin-bottom: 0;
    opacity: 0.7;
}

/* ============================================================
   OPPORTUNITIES PAGE
   ============================================================ */
.filter-bar {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 18px 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.filter-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.filter-field label {
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--black);
    opacity: 0.5;
    padding-left: 10px;
}

.filter-field select,
.filter-field input {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.875rem;
    background: #fff;
    font-family: var(--font);
    font-weight: 500;
    height: 40px;
    outline: none;
    transition: border-color 0.15s;
}
.filter-field select:focus,
.filter-field input:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255,209,0,0.35); }

.btn-filter {
    background: var(--black);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0 22px;
    height: 40px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font);
    transition: all 0.15s;
}
.btn-filter:hover { background: #333; }

/* Solicitation rows */
.solicitations-list {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
}

.sol-row {
    padding: 16px 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 16px;
    align-items: start;
    text-decoration: none;
    transition: background 0.1s;
}
.sol-row:not(:last-child) { border-bottom: 1px solid var(--border-lt); }
.sol-row:hover { background: var(--yellow-lt); }

.sol-title {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.sol-meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.sol-meta span {
    font-size: 0.75rem;
    color: var(--black);
    font-weight: 500;
    opacity: 0.6;
}
.sol-meta strong { color: var(--black); opacity: 1; }

.sol-deadline { text-align: right; }

.sol-deadline-label {
    font-size: 0.5625rem;
    color: var(--black);
    opacity: 0.4;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
    font-weight: 600;
}

.sol-deadline-date {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--black);
    letter-spacing: -0.02em;
}

.sol-deadline-date.soon { color: var(--red); }

/* ============================================================
   EMPTY STATE / ALERTS
   ============================================================ */
.empty-state {
    text-align: center;
    padding: 56px 24px;
    color: var(--black);
    background: #fff;
    border-radius: var(--r-md);
    border: 1px solid var(--border);
}

.empty-state h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 0.875rem;
    margin-bottom: 0;
    opacity: 0.6;
}

.alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 16px;
    font-weight: 500;
    border: 1px solid;
}

.alert-error   { border-color: var(--red); color: var(--red); background: #fff; }
.alert-success { border-color: var(--green); color: var(--green); background: #fff; }

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-page {
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    background: var(--bg);
}

.auth-box {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 40px 36px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-md);
}

.auth-box h1 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 6px;
    letter-spacing: -0.03em;
}

.auth-box .auth-sub {
    font-size: 0.875rem;
    color: var(--black);
    margin-bottom: 28px;
    opacity: 0.6;
}

.form-group { margin-bottom: 14px; }

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--black);
}

.form-group input {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.875rem;
    font-family: var(--font);
    transition: border-color 0.15s, box-shadow 0.15s;
    background: #fff;
    font-weight: 500;
    outline: none;
}
.form-group input:focus {
    border-color: var(--yellow);
    box-shadow: 0 0 0 3px rgba(255,209,0,0.35);
    background: #fff;
}

.btn-full {
    width: 100%;
    background: var(--yellow);
    color: var(--black);
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 0.875rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 6px;
    transition: all 0.15s;
    font-family: var(--font);
}
.btn-full:hover {
    background: #e6bc00;
    transform: translateY(-1px);
}

.auth-footer {
    margin-top: 20px;
    text-align: center;
    font-size: 0.875rem;
    color: var(--black);
}

/* ============================================================
   CONTRACT LIST
   ============================================================ */
.contracts-list {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
}

.contract-row {
    display: grid;
    grid-template-columns: 150px 1fr auto;
    gap: 0 24px;
    padding: 18px 22px;
    background: #fff;
    border-bottom: 1px solid var(--border-lt);
    text-decoration: none;
    color: var(--black);
    transition: background 0.12s;
    align-items: start;
}
.contract-row:last-child { border-bottom: none; }
.contract-row:hover {
    background: #f8f8f8;
    text-decoration: none;
    color: var(--black);
}

.row-amount {
    font-family: var(--font-mono);
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--black);
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    padding-top: 1px;
    word-break: break-all;
}

.row-main {}

.row-recipient {
    font-size: 0.9375rem;
    font-weight: 800;
    color: var(--black);
    line-height: 1.3;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.row-meta {
    font-size: 0.8125rem;
    color: var(--black);
    font-weight: 500;
    margin-bottom: 7px;
}

.row-meta-sep {
    margin: 0 5px;
    color: var(--border);
}

.row-desc {
    font-size: 0.8375rem;
    color: var(--black);
    line-height: 1.6;
}

.row-right {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 7px;
    min-width: 90px;
}

.row-date {
    font-family: var(--font-mono);
    font-size: 0.8125rem;
    color: var(--black);
    font-weight: 600;
    white-space: nowrap;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumbs { padding: 16px 0; font-size: 0.875rem; }
.breadcrumbs ul { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.breadcrumbs li { display: flex; align-items: center; gap: 4px; }
.breadcrumbs li + li::before { content: "/"; color: var(--black); opacity: 0.2; }
.breadcrumbs a { color: var(--black); font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs span { color: var(--black); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
    .hero h1 { font-size: 2.5rem; }
    .industry-grid { grid-template-columns: repeat(3, 1fr); }
    .contracts-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-inner { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   MOBILE NAV
   ============================================================ */
.mobile-nav {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 12px 28px 16px;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    z-index: 99;
    box-shadow: var(--shadow-lg);
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
    padding: 10px 14px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--black);
    border-radius: 6px;
    text-decoration: none;
}
.mobile-nav a:hover { background: var(--bg); }
.mobile-nav a.btn-nav {
    background: var(--black);
    color: #fff;
    text-align: center;
    margin-top: 4px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .hero { padding: 56px 0 48px; }
    .hero h1 { font-size: 2rem; }
    .hero-sub { font-size: 0.9375rem; }
    .hero-stats { gap: 24px; }
    .hero-stat-num { font-size: 1.5rem; }
    .industry-grid { grid-template-columns: repeat(2, 1fr); }
    .how-grid { grid-template-columns: 1fr; }
    .pricing-inner { grid-template-columns: 1fr; }
    .plans-grid { grid-template-columns: 1fr; max-width: 440px; }
    .paywall-banner { flex-direction: column; text-align: center; }
    .search-row { flex-direction: column; }
    .search-industry,
    .search-state,
    .search-setaside { flex: none; width: 100%; }
    .search-btn { width: 100%; justify-content: center; }
    .footer-inner { grid-template-columns: 1fr; gap: 24px; }
    .nav-main { display: none; }
    .nav-actions { display: none; }
    .hamburger { display: flex; }
    .contract-row { grid-template-columns: 130px 1fr; }
    .row-right { display: none; }
    .contracts-table th:nth-child(4),
    .contracts-table td:nth-child(4) { display: none; }
    .sol-meta { gap: 6px; }
    .filter-bar { flex-direction: column; }
    .filter-bar .filter-field { width: 100%; }
    .page-header { min-height: 380px; padding: 48px 0; }
    .page-header h1 { font-size: 1.5rem; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 1.75rem; }
    .industry-grid { grid-template-columns: 1fr; }
    .contract-row { grid-template-columns: 1fr; gap: 8px 0; }
    .row-amount { font-size: 1rem; }
    .container { padding: 0 16px; }
    .pricing-header h1 { font-size: 1.75rem; }
}
