/* ============================================
   SettlementRadar — Global Styles
   ============================================ */

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

:root {
    --green-deep: #0a2a1b;
    --green-dark: #0d3520;
    --green-mid: #134d2e;
    --green-accent: #22c55e;
    --green-light: #86efac;
    --gold: #fbbf24;
    --gold-dim: rgba(251, 191, 36, 0.15);
    --cream: #fef9ef;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --red-500: #ef4444;
    --red-100: #fee2e2;
    --orange-500: #f97316;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 12px rgba(0,0,0,0.15);
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--white);
    background: var(--green-deep);
    overflow-x: hidden;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1.2;
}

a { color: inherit; text-decoration: none; }

/* ============================================
   Navigation
   ============================================ */

nav {
    position: fixed;
    top: 44px;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 42, 27, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(34, 197, 94, 0.1);
}

.nav-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
}

.nav-logo:hover { color: var(--green-light); }

.radar-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 2px solid var(--green-accent);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.radar-icon::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--green-accent);
    border-radius: 50%;
}

/* ── Desktop Primary Links ── */
.nav-primary {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
    justify-content: center;
}

.nav-link {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-link:hover { color: var(--white); }

.nav-tag {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--green-accent);
    background: rgba(34, 197, 94, 0.1);
    padding: 0.3rem 0.7rem;
    border-radius: 100px;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* ── More Dropdown ── */
.nav-more-wrapper {
    position: relative;
}

.nav-more-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: color 0.2s;
    white-space: nowrap;
}

.nav-more-btn:hover { color: var(--white); }

.nav-more-chevron {
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.nav-more-btn[aria-expanded="true"] .nav-more-chevron {
    transform: rotate(180deg);
}

.nav-more-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 200px;
    background: rgba(8, 35, 22, 0.98);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 10px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    padding: 0.4rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
    pointer-events: none;
    z-index: 200;
}

.nav-more-dropdown.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
    pointer-events: auto;
}

.nav-more-item {
    display: block;
    padding: 0.55rem 1.1rem;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.75);
    transition: color 0.15s, background 0.15s;
}

.nav-more-item:hover {
    color: var(--white);
    background: rgba(34, 197, 94, 0.07);
}

.nav-more-sub {
    padding-left: 1.7rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
}

.nav-more-sub:hover { color: rgba(255,255,255,0.85); }

.nav-more-divider {
    height: 1px;
    background: rgba(255,255,255,0.07);
    margin: 0.35rem 0;
}

.nav-more-label {
    display: block;
    padding: 0.3rem 1.1rem 0.15rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

/* ── Hamburger Button ── */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    z-index: 10;
}

.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: rgba(255,255,255,0.85);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.2s ease;
    transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Dropdown Menu ── */
.nav-mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(8, 35, 22, 0.99);
    backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(34, 197, 94, 0.15);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
    display: flex;
    flex-direction: column;
    padding-bottom: 0.5rem;
    z-index: 99;
}

.nav-mobile-menu.open {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0s;
}

/* Mobile menu groups */
.nav-mobile-group {
    padding: 0.25rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav-mobile-group--secondary {
    background: rgba(0,0,0,0.1);
}

.nav-mobile-group-label {
    display: block;
    padding: 0.6rem 1.5rem 0.2rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.3);
}

.nav-mobile-link {
    display: block;
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    transition: color 0.15s, background 0.15s;
}

.nav-mobile-link:hover {
    color: var(--white);
    background: rgba(34, 197, 94, 0.06);
}

/* CTA wrap at bottom of mobile menu */
.nav-mobile-cta-wrap {
    padding: 1rem 1.5rem 0.75rem;
}

.nav-mobile-cta {
    display: block;
    padding: 0.8rem 1.25rem;
    background: var(--gold);
    color: var(--green-deep);
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    border-radius: 8px;
    transition: background 0.15s, transform 0.1s;
    box-shadow: 0 2px 10px rgba(251,191,36,0.3);
}

.nav-mobile-cta:hover {
    background: #f59e0b;
    transform: translateY(-1px);
    color: var(--green-deep);
}

/* ============================================
   Hero (Compact for directory)
   ============================================ */

.hero-compact {
    padding: 9rem 2rem 2rem;
    background: linear-gradient(180deg, var(--green-deep) 0%, var(--green-dark) 100%);
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-compact h1 {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 0.5rem;
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.6);
    max-width: 700px;
}

.hero-sub strong { color: var(--green-light); }

.urgent-badge {
    display: inline-block;
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.15rem 0.6rem;
    border-radius: 100px;
    margin-left: 0.3rem;
}

/* ============================================
   Social Proof Stats Bar
   ============================================ */

.social-proof-bar {
    background: rgba(0, 0, 0, 0.25);
    border-top: 1px solid rgba(34, 197, 94, 0.12);
    border-bottom: 1px solid rgba(34, 197, 94, 0.12);
    padding: 0.9rem 2rem;
}

.social-proof-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}

.proof-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.35rem 2rem;
    gap: 0.1rem;
}

.proof-stat-number {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--green-accent);
    line-height: 1;
    letter-spacing: -0.02em;
}

.proof-stat-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
}

.proof-divider {
    width: 1px;
    height: 2.2rem;
    background: rgba(34, 197, 94, 0.15);
    flex-shrink: 0;
}

/* ============================================
   Filters
   ============================================ */

.filters-section {
    padding: 1.5rem 2rem;
    background: var(--green-dark);
    border-bottom: 1px solid rgba(34, 197, 94, 0.08);
    position: sticky;
    top: 100px;
    z-index: 50;
}

.filters-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.filters-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.search-box {
    position: relative;
    max-width: 500px;
}

.search-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray-400);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 0.65rem 0.85rem 0.65rem 2.5rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    color: var(--white);
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

.search-input::placeholder { color: var(--gray-400); }
.search-input:focus { border-color: var(--green-accent); }

.filter-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.filter-select {
    padding: 0.5rem 0.75rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.85rem;
    font-family: inherit;
    outline: none;
    cursor: pointer;
}

.filter-select option { background: var(--green-deep); }

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
}

.filter-checkbox input { accent-color: var(--green-accent); cursor: pointer; }

.filter-btn {
    padding: 0.5rem 1.25rem;
    background: var(--green-accent);
    color: var(--green-deep);
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: opacity 0.2s;
}

.filter-btn:hover { opacity: 0.9; }

/* ============================================
   Content Layout (Grid + Sidebar)
   ============================================ */

.settlements-section, .detail-body {
    padding: 2rem;
}

.content-with-sidebar {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
}

/* ============================================
   Settlement Cards
   ============================================ */

.settlements-grid {
    display: grid;
    gap: 1rem;
}

.settlement-card {
    display: block;
    padding: 1.5rem;
    background: rgba(19, 77, 46, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.08);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s, transform 0.15s;
}

.settlement-card:hover {
    border-color: rgba(34, 197, 94, 0.25);
    transform: translateY(-1px);
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.card-category {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--green-accent);
    background: rgba(34, 197, 94, 0.1);
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
}

.card-deadline {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green-light);
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    background: rgba(34, 197, 94, 0.1);
}

.card-deadline.warning {
    color: var(--gold);
    background: var(--gold-dim);
}

.card-deadline.urgent {
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.15);
}

.card-deadline.expired {
    color: var(--gray-400);
    background: rgba(255,255,255,0.05);
}

.card-title {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 0.2rem;
}

.card-company {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.5rem;
}

.card-summary {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.payout-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--green-accent);
    display: block;
}

.payout-label {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.no-proof-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    color: #4ade80;
    background: rgba(34, 197, 94, 0.15);
    border: 1px solid rgba(34, 197, 94, 0.35);
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    letter-spacing: 0.2px;
}

.no-proof-badge::before {
    content: '✓';
    font-weight: 900;
}

/* ── No Proof Hero Badge ── */
.no-proof-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(34, 197, 94, 0.13);
    color: var(--green-light);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 0.18rem 0.7rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    white-space: nowrap;
}

.no-proof-hero-badge:hover {
    background: rgba(34, 197, 94, 0.22);
    color: var(--green-accent);
}

.no-proof-hero-badge::before {
    content: '✓';
    font-weight: 900;
    color: var(--green-accent);
}

/* ── Quick Filters (Featured filter pill row) ── */
.quick-filters {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    margin-bottom: 0.25rem;
}

.quick-filters-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255,255,255,0.3);
    flex-shrink: 0;
}

.quick-filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 1.1rem;
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    border: 1.5px solid rgba(34, 197, 94, 0.35);
    color: var(--green-light);
    background: rgba(34, 197, 94, 0.07);
    transition: all 0.18s;
    cursor: pointer;
    text-decoration: none;
    line-height: 1;
}

.quick-filter-btn:hover {
    border-color: var(--green-accent);
    background: rgba(34, 197, 94, 0.15);
    color: var(--white);
}

.quick-filter-btn.active {
    background: var(--green-accent);
    color: var(--green-deep);
    border-color: var(--green-accent);
    font-weight: 700;
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.3);
}

.quick-filter-btn.active:hover {
    opacity: 0.92;
    color: var(--green-deep);
}

.qf-count {
    background: rgba(255,255,255,0.22);
    color: inherit;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.08rem 0.42rem;
    border-radius: 100px;
    line-height: 1.4;
}

.quick-filter-btn.active .qf-count {
    background: rgba(10, 42, 27, 0.22);
}

.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: rgba(255,255,255,0.5);
}

.empty-state h3 { margin-bottom: 0.5rem; color: var(--white); }
.empty-state a { color: var(--green-accent); text-decoration: underline; }

/* ============================================
   Sidebar
   ============================================ */

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 130px;
}

.sidebar-card {
    padding: 1.25rem;
    background: rgba(19, 77, 46, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.08);
    border-radius: var(--radius);
}

.sidebar-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.sidebar-card h4 {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: rgba(255,255,255,0.8);
}

.sidebar-card p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.5;
}

.sidebar-cta {
    border-color: rgba(34, 197, 94, 0.2);
    background: rgba(34, 197, 94, 0.06);
}

.sidebar-price {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green-accent);
    margin-top: 0.5rem;
}

.sidebar-btn {
    display: block;
    text-align: center;
    padding: 0.65rem;
    background: var(--green-accent);
    color: var(--green-deep);
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 0.75rem;
    transition: opacity 0.2s;
}

.sidebar-btn:hover { opacity: 0.9; }

.sidebar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.sidebar-tag {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 100px;
    color: rgba(255,255,255,0.7);
    transition: border-color 0.2s;
}

.sidebar-tag:hover { border-color: var(--green-accent); color: var(--green-light); }

.sidebar-steps {
    list-style: decimal;
    padding-left: 1.25rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
}

.sidebar-steps li { margin-bottom: 0.3rem; }

.sidebar-small {
    font-size: 0.75rem !important;
    color: rgba(255,255,255,0.4) !important;
    margin-bottom: 0.75rem;
}

/* Affiliate Links */
.sidebar-affiliate {
    border-color: rgba(251, 191, 36, 0.12);
    background: rgba(251, 191, 36, 0.03);
}

.affiliate-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.affiliate-link {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 8px;
    transition: border-color 0.2s;
}

.affiliate-link:hover { border-color: rgba(251, 191, 36, 0.2); }

.aff-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.affiliate-link strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--white);
}

.affiliate-link span {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
}

/* Related settlements */
.related-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.related-item {
    display: block;
    padding: 0.5rem;
    background: rgba(255,255,255,0.03);
    border-radius: 6px;
    transition: background 0.2s;
}

.related-item:hover { background: rgba(255,255,255,0.06); }

.related-item strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.15rem;
}

.related-item span {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.4);
}

/* ============================================
   Settlement Detail Page
   ============================================ */

.detail-hero {
    padding: 8.5rem 2rem 2rem;
    background: linear-gradient(180deg, var(--green-deep) 0%, var(--green-dark) 100%);
}

.detail-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.breadcrumb {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--green-accent);
    margin-bottom: 1.5rem;
    transition: opacity 0.2s;
}

.breadcrumb:hover { opacity: 0.8; }

.detail-meta-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.detail-header h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 0.4rem;
}

.detail-company {
    font-size: 1rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.75rem;
}

.detail-summary {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.65);
    max-width: 700px;
    line-height: 1.6;
}

.detail-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(34, 197, 94, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 2rem;
}

.detail-stat {
    padding: 1.25rem;
    background: rgba(10, 42, 27, 0.9);
    text-align: center;
}

.detail-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
    margin-bottom: 0.4rem;
}

.detail-stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--green-accent);
}

.detail-stat-sub {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-top: 0.25rem;
}

.detail-stat-sub.good { color: var(--green-light); }

.countdown { color: var(--gold); font-weight: 500; }

/* Detail Content */
.detail-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-section h2 {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 0.75rem;
}

.eligibility-box, .proof-box {
    padding: 1.25rem;
    background: rgba(34, 197, 94, 0.05);
    border: 1px solid rgba(34, 197, 94, 0.12);
    border-radius: var(--radius);
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
}

.proof-box {
    background: rgba(251, 191, 36, 0.05);
    border-color: rgba(251, 191, 36, 0.12);
}

.details-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
}

.details-text p { margin-bottom: 1rem; }

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

.case-table tr {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.case-table td {
    padding: 0.65rem 0;
    font-size: 0.9rem;
}

.case-table td:first-child {
    color: rgba(255,255,255,0.5);
    width: 200px;
    font-weight: 500;
}

.status-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.2rem 0.5rem;
    border-radius: 100px;
    background: rgba(34, 197, 94, 0.1);
    color: var(--green-accent);
}

/* CTA Box */
.cta-box {
    padding: 2rem;
    background: rgba(34, 197, 94, 0.06);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: var(--radius-lg);
    text-align: center;
}

.cta-box h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.cta-box p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.25rem;
}

.cta-buttons {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.expired-cta {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.08);
}

.expired-cta a { color: var(--green-accent); text-decoration: underline; }

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: inherit;
    text-align: center;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    border: none;
}

.btn:hover { opacity: 0.9; }
.btn:active { transform: scale(0.98); }

.btn-primary {
    background: var(--green-accent);
    color: var(--green-deep);
}

.btn-secondary {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border: 1px solid rgba(255,255,255,0.15);
}

.btn-outline {
    background: transparent;
    color: var(--green-accent);
    border: 1px solid var(--green-accent);
}

.btn-full { width: 100%; }

.btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

/* ============================================
   File Claim Page
   ============================================ */

.file-hero {
    padding: 8.5rem 2rem 2rem;
    background: linear-gradient(180deg, var(--green-deep) 0%, var(--green-dark) 100%);
}

.file-inner, .file-body {
    max-width: 1100px;
    margin: 0 auto;
}

.file-body { padding: 2rem; }

.file-header h1 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 0.3rem;
    margin-top: 0.75rem;
}

.file-settlement-name {
    font-size: 1rem;
    color: var(--green-light);
    margin-bottom: 0.15rem;
}

.file-company {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
}

.file-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    align-items: start;
}

.file-main { width: 100%; }
.file-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    position: sticky;
    top: 80px;
}

/* Filing Steps */
.file-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.file-step {
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.03);
}

.step-number {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    background: rgba(255,255,255,0.08);
    color: var(--gray-400);
    flex-shrink: 0;
}

.step-header h2 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gray-400);
}

.file-step .step-content {
    display: none;
    padding: 1.25rem;
}

.file-step.active .step-header {
    background: rgba(34, 197, 94, 0.08);
}

.file-step.active .step-number {
    background: var(--green-accent);
    color: var(--green-deep);
}

.file-step.active .step-header h2 { color: var(--white); }

.file-step.active .step-content { display: block; }

.file-step.completed .step-number {
    background: var(--green-accent);
    color: var(--green-deep);
}

.file-step.completed .step-header h2 { color: rgba(255,255,255,0.5); }

/* Eligibility check */
.eligibility-check-box {
    padding: 1rem;
    background: rgba(34, 197, 94, 0.05);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

.eligibility-check-box strong { color: var(--white); }

.confirm-eligible {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
    color: rgba(255,255,255,0.8);
}

.checkbox-label input { accent-color: var(--green-accent); cursor: pointer; }

/* Requirements list */
.requirements-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.req-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.85rem;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
}

.req-icon { font-size: 1.2rem; flex-shrink: 0; }

.req-item strong {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.15rem;
}

.req-item p {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin: 0;
}

.req-important { border: 1px solid rgba(251, 191, 36, 0.15); }
.req-easy { border: 1px solid rgba(34, 197, 94, 0.15); background: rgba(34, 197, 94, 0.05); }

/* Filing options */
.filing-options {
    display: grid;
    gap: 1.25rem;
}

.filing-option {
    padding: 1.5rem;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    position: relative;
}

.filing-option.featured {
    border-color: rgba(34, 197, 94, 0.2);
    background: rgba(34, 197, 94, 0.04);
}

.option-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    background: var(--green-accent);
    color: var(--green-deep);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.2rem 0.7rem;
    border-radius: 100px;
}

.option-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.option-header h3 { font-size: 1.05rem; font-weight: 600; }

.option-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--green-accent);
}

.filing-option > p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.75rem;
}

.option-details {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}

.option-details li {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    padding: 0.25rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.option-details li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green-accent);
    font-weight: 600;
}

/* Form */
.assistance-form {
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.3rem;
    color: rgba(255,255,255,0.7);
}

.form-group input {
    width: 100%;
    padding: 0.65rem 0.85rem;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    color: var(--white);
    font-size: 0.9rem;
    font-family: inherit;
    outline: none;
}

.form-group input::placeholder { color: var(--gray-400); }
.form-group input:focus { border-color: var(--green-accent); }

.form-note {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    text-align: center;
}

/* Success message */
.success-message {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon { font-size: 3rem; margin-bottom: 1rem; }

.success-message h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.success-message p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
}

.success-message .btn { margin-top: 1.5rem; }

/* Alerts */
.alert {
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.alert-expired {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #fca5a5;
}

.alert a { color: var(--green-accent); text-decoration: underline; }

/* Summary sidebar */
.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.85rem;
}

.summary-label { color: rgba(255,255,255,0.5); }
.summary-value { font-weight: 600; color: var(--white); }
.summary-value.urgent { color: #fca5a5; }

/* ============================================
   Error Page
   ============================================ */

.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem;
}

.error-inner { text-align: center; }
.error-icon { font-size: 3rem; margin-bottom: 1rem; }

.error-inner h1 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.error-inner p {
    color: rgba(255,255,255,0.5);
    margin-bottom: 1.5rem;
}

/* ============================================
   Footer
   ============================================ */

footer {
    padding: 2.5rem 2rem;
    border-top: 1px solid rgba(34, 197, 94, 0.08);
    background: var(--green-deep);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.radar-icon-sm {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid var(--green-accent);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.radar-icon-sm::after {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--green-accent);
    border-radius: 50%;
}

.footer-tagline {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-top: 0.25rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}

.footer-links a:hover { color: var(--green-accent); }

.footer-legal {
    width: 100%;
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 0.5rem;
}

.footer-legal p {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.3);
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 900px) {
    .content-with-sidebar, .file-grid {
        grid-template-columns: 1fr;
    }

    .sidebar, .file-sidebar {
        position: static;
    }

    .detail-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1100px) {
    .nav-primary { gap: 0.9rem; }
    nav { padding: 1rem 1.25rem; }
}

@media (max-width: 900px) {
    .nav-primary { gap: 0.65rem; }
    .nav-link { font-size: 0.82rem; }
    .nav-more-btn { font-size: 0.82rem; }
}

@media (max-width: 768px) {
    .nav-primary { display: none; }
    .nav-hamburger { display: flex; }
    /* Logo takes remaining space, pushing CTA + hamburger to the right */
    .nav-logo { flex: 1; }
    /* Keep CTA visible but compact on mobile */
    .nav-cta-btn {
        font-size: 0.75rem;
        padding: 0.35rem 0.7rem;
        margin-right: 0.25rem;
    }
}

@media (max-width: 600px) {
    nav { padding: 0.85rem 1rem; }

    .hero-compact { padding: 8rem 1.25rem 1.5rem; }
    .social-proof-bar { padding: 0.75rem 1rem; }
    .proof-stat { padding: 0.3rem 1rem; }
    .proof-stat-number { font-size: 1.25rem; }
    .proof-stat-label { font-size: 0.68rem; }
    .proof-divider { height: 1.8rem; }
    .filters-section { padding: 1rem 1.25rem; }
    .filter-row { flex-direction: column; align-items: stretch; }
    .filter-select { width: 100%; }

    .settlements-section, .detail-body, .file-body { padding: 1.25rem; }

    .detail-hero, .file-hero { padding: 7.5rem 1.25rem 1.5rem; }

    .confirm-eligible { flex-direction: column; align-items: stretch; }

    .cta-buttons { flex-direction: column; }

    .footer-inner { flex-direction: column; text-align: center; }
    .footer-links { justify-content: center; }
}

/* ── AdSense Ad Units ────────────────────────────────────── */
.ad-unit {
    width: 100%;
    overflow: hidden;
    background: transparent;
}

/* Leaderboard: full-width banner below filters */
.ad-leaderboard {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 2rem 0.75rem;
}

/* In-content: between settlement cards or article sections */
.ad-in-content {
    grid-column: 1 / -1;   /* spans full width of the card grid */
    padding: 0.5rem 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    margin: 0.25rem 0;
}

/* Sidebar: inside the aside */
.ad-sidebar {
    border-radius: 8px;
    overflow: hidden;
    min-height: 90px;
}

/* Label ads lightly to meet AdSense policy */
.ad-unit::before {
    display: block;
    content: "Advertisement";
    font-size: 10px;
    color: #aaa;
    text-align: center;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding-bottom: 2px;
}

@media (max-width: 900px) {
    .ad-leaderboard { padding: 0.5rem 1.25rem; }
    .ad-in-content { padding: 0.5rem 0; }
}

/* ── Below-grid ad (homepage, below settlements section) ──── */
.ad-below-grid {
    max-width: 1400px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
}

@media (max-width: 900px) {
    .ad-below-grid { padding: 0 1.25rem; }
}

/* ============================================
   Filing Help CTA System
   ============================================ */

/* ── Announcement Banner ── */
.filing-banner {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: 44px;
    background: linear-gradient(90deg, #d97706 0%, #f59e0b 50%, #d97706 100%);
    background-size: 200% 100%;
    animation: bannerShimmer 4s ease infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0 1rem;
}

@keyframes bannerShimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.banner-text {
    color: #1c1000;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.banner-text strong {
    font-weight: 700;
}

.banner-cta {
    background: #1c1000;
    color: #fbbf24;
    padding: 0.3rem 0.9rem;
    border-radius: 100px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    white-space: nowrap;
    transition: transform 0.15s, background 0.15s;
    flex-shrink: 0;
}

.banner-cta:hover {
    background: #000;
    color: #fbbf24;
    transform: scale(1.04);
}

/* ── Nav CTA Button ── */
.nav-cta-btn {
    background: var(--gold);
    color: var(--green-deep) !important;
    padding: 0.4rem 1rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
    box-shadow: 0 2px 8px rgba(251,191,36,0.35);
}

.nav-cta-btn:hover {
    background: #f59e0b;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(251,191,36,0.45);
    color: var(--green-deep) !important;
}

/* ── Filing Help Promo Card (in settlement grid) ── */
.filing-promo-card {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #0d4a28 0%, #0a3620 100%);
    border: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.filing-promo-card .promo-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filing-promo-card .promo-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.filing-promo-card .promo-text h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 0.2rem;
}

.filing-promo-card .promo-text p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
}

.filing-promo-card .promo-btn {
    background: var(--gold);
    color: var(--green-deep);
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.9rem;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s, transform 0.1s;
}

.filing-promo-card .promo-btn:hover {
    background: #f59e0b;
    transform: scale(1.03);
    color: var(--green-deep);
}

/* ── Sticky Bottom Filing Bar ── */
.sticky-filing-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 140;
    background: linear-gradient(90deg, #0d4a28 0%, #0a3620 100%);
    border-top: 2px solid var(--gold);
    padding: 0.9rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.4);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sticky-filing-bar.visible {
    transform: translateY(0);
}

.sticky-filing-bar .bar-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

.sticky-filing-bar .bar-cta {
    background: var(--gold);
    color: var(--green-deep);
    padding: 0.55rem 1.4rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.88rem;
    white-space: nowrap;
    transition: background 0.15s, transform 0.1s;
    flex-shrink: 0;
}

.sticky-filing-bar .bar-cta:hover {
    background: #f59e0b;
    transform: scale(1.03);
    color: var(--green-deep);
}

.sticky-filing-bar .bar-dismiss {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    cursor: pointer;
    font-size: 1.1rem;
    line-height: 1;
    padding: 0.25rem;
    transition: color 0.15s;
}

.sticky-filing-bar .bar-dismiss:hover {
    color: rgba(255,255,255,0.8);
}

/* Body padding to avoid sticky bar covering content */
body { padding-bottom: 0; }
body.filing-bar-visible { padding-bottom: 72px; }

/* ── Settlement Detail: Filing Help as Hero CTA ── */
.filing-help-hero-cta {
    background: linear-gradient(135deg, rgba(251,191,36,0.12) 0%, rgba(251,191,36,0.06) 100%);
    border: 1px solid rgba(251,191,36,0.35);
    border-radius: var(--radius);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
}

.filing-help-hero-cta .fh-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
}

.filing-help-hero-cta .fh-text strong {
    color: var(--gold);
}

.filing-help-hero-cta .fh-btn {
    background: var(--gold);
    color: var(--green-deep);
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.15s, transform 0.1s;
}

.filing-help-hero-cta .fh-btn:hover {
    background: #f59e0b;
    transform: scale(1.03);
    color: var(--green-deep);
}

/* Mobile adjustments for filing CTA elements */
/* ── Enhanced Sidebar Filing Help CTA ── */
#filing-help.sidebar-cta {
    border-color: rgba(251,191,36,0.4);
    background: linear-gradient(135deg, rgba(251,191,36,0.1) 0%, rgba(251,191,36,0.05) 100%);
}

.sidebar-cta-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--green-deep);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    margin-bottom: 0.6rem;
}

.sidebar-cta-price-row {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.sidebar-price-main {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--gold);
}

.sidebar-price-sub {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
}

#filing-help .sidebar-btn {
    background: var(--gold);
    color: var(--green-deep);
    font-weight: 700;
    font-size: 0.82rem;
}

#filing-help .sidebar-btn:hover {
    background: #f59e0b;
    opacity: 1;
}

.sidebar-cta-note {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.4);
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 0;
    line-height: 1.4;
}

@media (max-width: 600px) {
    .filing-banner { height: 40px; }
    nav { top: 40px; }
    .hero-compact { padding-top: 7.5rem; }
    .detail-hero, .file-hero { padding-top: 7.5rem; }
    .filters-section { top: 96px; }

    .banner-text { display: none; }

    .nav-cta-btn {
        font-size: 0.72rem;
        padding: 0.35rem 0.7rem;
    }

    .filing-promo-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.25rem;
    }

    .sticky-filing-bar {
        flex-direction: column;
        padding: 0.75rem 1.25rem;
        gap: 0.5rem;
    }

    .sticky-filing-bar .bar-text {
        font-size: 0.8rem;
        text-align: center;
    }

    .sticky-filing-bar .bar-dismiss {
        top: 0.5rem;
        right: 0.75rem;
    }

    .filing-help-hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }

    .filing-help-hero-cta .fh-btn {
        width: 100%;
        text-align: center;
    }

    .email-capture-strip {
        padding: 0.75rem 1rem;
    }

    .email-strip-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .email-strip-form {
        width: 100%;
    }

    .email-strip-input {
        width: 100%;
        min-width: unset;
        margin-bottom: 0.5rem;
    }

    .email-strip-btn {
        width: 100%;
    }

    .email-float-card {
        left: 1rem;
        right: 1rem;
        bottom: 1rem;
        max-width: 100%;
        transform: translateY(120%);
    }

    .email-float-card.visible {
        transform: translateY(0);
    }

    .email-float-form {
        flex-direction: column;
        gap: 0.5rem;
    }

    .email-float-input {
        width: 100%;
    }

    .email-float-btn {
        width: 100%;
    }
}

/* ─── Email Capture Strip (Homepage Hero) ─────────────────────────────────── */

.email-capture-strip {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-bottom: 1px solid #bbf7d0;
    padding: 0.875rem 1.5rem;
}

.email-strip-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.email-strip-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.email-strip-text {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    flex: 1;
}

.email-strip-text strong {
    color: #15803d;
    font-size: 0.95rem;
    display: block;
    line-height: 1.3;
}

.email-strip-sub {
    color: #4ade80;
    font-size: 0.8rem;
    display: block;
}

.email-strip-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.email-strip-input {
    padding: 0.5rem 0.875rem;
    border: 1.5px solid #86efac;
    border-radius: 8px;
    font-size: 0.875rem;
    background: white;
    color: #111;
    min-width: 220px;
    outline: none;
    transition: border-color 0.15s;
}

.email-strip-input:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.email-strip-btn {
    background: #16a34a;
    color: white;
    border: none;
    padding: 0.5rem 1.125rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, transform 0.1s;
}

.email-strip-btn:hover {
    background: #15803d;
    transform: translateY(-1px);
}

.email-strip-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.email-strip-success {
    color: #15803d;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.4rem 0;
}

/* ─── Floating Email Card ──────────────────────────────────────────────────── */

.email-float-card {
    position: fixed;
    bottom: 5rem;
    right: 1.25rem;
    width: 320px;
    background: white;
    border-radius: 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16), 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 1.25rem;
    z-index: 999;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
    border: 1px solid #e8f5e9;
}

.email-float-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.email-float-dismiss {
    position: absolute;
    top: 0.625rem;
    right: 0.75rem;
    background: none;
    border: none;
    color: #999;
    font-size: 0.875rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    transition: color 0.15s;
}

.email-float-dismiss:hover {
    color: #333;
}

.email-float-header {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin-bottom: 0.875rem;
    margin-right: 1.5rem;
}

.email-float-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.email-float-header strong {
    display: block;
    font-size: 0.95rem;
    color: #111;
    line-height: 1.3;
}

.email-float-sub {
    display: block;
    font-size: 0.78rem;
    color: #666;
}

.email-float-form {
    display: flex;
    gap: 0.5rem;
}

.email-float-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 7px;
    font-size: 0.85rem;
    outline: none;
    transition: border-color 0.15s;
}

.email-float-input:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.1);
}

.email-float-btn {
    background: #16a34a;
    color: white;
    border: none;
    padding: 0.5rem 0.875rem;
    border-radius: 7px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

.email-float-btn:hover {
    background: #15803d;
}

.email-float-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.email-float-success {
    color: #15803d;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.25rem 0;
}

.email-float-note {
    font-size: 0.73rem;
    color: #aaa;
    margin: 0.625rem 0 0;
    text-align: center;
}

/* ─── Detail Page Email Capture ───────────────────────────────────────────── */

.detail-email-capture {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border: 1.5px solid #86efac;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.875rem;
}

.dec-icon {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.dec-text {
    flex: 1;
    min-width: 200px;
}

.dec-text strong {
    display: block;
    color: #15803d;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.dec-text span {
    font-size: 0.82rem;
    color: #4ade80;
}

.dec-form {
    display: flex;
    gap: 0.5rem;
    flex-shrink: 0;
}

.dec-input {
    padding: 0.5rem 0.875rem;
    border: 1.5px solid #86efac;
    border-radius: 8px;
    font-size: 0.875rem;
    background: white;
    color: #111;
    min-width: 200px;
    outline: none;
    transition: border-color 0.15s;
}

.dec-input:focus {
    border-color: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.12);
}

.dec-btn {
    background: #16a34a;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
}

.dec-btn:hover { background: #15803d; }
.dec-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.dec-success {
    color: #15803d;
    font-weight: 600;
    font-size: 0.9rem;
}

.dec-note {
    width: 100%;
    font-size: 0.72rem;
    color: #86efac;
    margin: 0;
}

@media (max-width: 768px) {
    .detail-email-capture {
        flex-direction: column;
        align-items: flex-start;
        padding: 1rem;
    }

    .dec-form {
        width: 100%;
        flex-direction: column;
    }

    .dec-input {
        width: 100%;
        min-width: unset;
    }

    .dec-btn {
        width: 100%;
    }
}

/* ══════════════════════════════════════════════════════════════════════════════
   EXPIRING SOON SECTION (Homepage)
══════════════════════════════════════════════════════════════════════════════ */

.expiring-soon-section {
    background: linear-gradient(135deg, rgba(239,68,68,0.08) 0%, rgba(249,115,22,0.06) 100%);
    border-top: 2px solid rgba(239,68,68,0.3);
    border-bottom: 2px solid rgba(239,68,68,0.15);
    padding: 1.5rem 0;
    position: relative;
}

.expiring-soon-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 20px,
        rgba(239,68,68,0.02) 20px,
        rgba(239,68,68,0.02) 40px
    );
    pointer-events: none;
}

.expiring-soon-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.expiring-soon-header {
    margin-bottom: 1rem;
}

.expiring-soon-title-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.expiring-soon-flame {
    font-size: 1.75rem;
    line-height: 1;
    flex-shrink: 0;
}

.expiring-soon-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ef4444;
    margin: 0 0 0.15rem 0;
    line-height: 1.2;
}

.expiring-soon-sub {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.expiring-month-link {
    color: #f97316;
    text-decoration: underline;
    font-weight: 600;
    white-space: nowrap;
}

.expiring-soon-count-badge {
    margin-left: auto;
    background: #ef4444;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.65rem;
    border-radius: 20px;
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: urgentPulse 2s ease-in-out infinite;
}

@keyframes urgentPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.4); }
    50% { box-shadow: 0 0 0 6px rgba(239,68,68,0); }
}

.expiring-soon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 0.75rem;
}

.expiring-card {
    background: var(--card-bg);
    border: 1.5px solid rgba(239,68,68,0.25);
    border-radius: 10px;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
    position: relative;
    overflow: hidden;
}

.expiring-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ef4444, #f97316);
}

.expiring-card:hover {
    border-color: #ef4444;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(239,68,68,0.15);
}

.expiring-card.expiring-critical {
    border-color: rgba(239,68,68,0.5);
    background: linear-gradient(135deg, rgba(239,68,68,0.04) 0%, var(--card-bg) 100%);
}

.expiring-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.expiring-card-category {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.expiring-card-timer {
    font-size: 0.75rem;
    font-weight: 700;
    color: #f97316;
    white-space: nowrap;
    background: rgba(249,115,22,0.1);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
}

.expiring-card-timer.critical {
    color: #ef4444;
    background: rgba(239,68,68,0.1);
    animation: urgentPulse 1.5s ease-in-out infinite;
}

.expiring-card-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.expiring-card-company {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin: 0;
}

.expiring-card-footer {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.expiring-payout {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green-accent);
}

/* ══════════════════════════════════════════════════════════════════════════════
   MONTHLY ROUNDUP PAGE
══════════════════════════════════════════════════════════════════════════════ */

.roundup-hero {
    background: linear-gradient(135deg, var(--surface) 0%, rgba(239,68,68,0.05) 100%);
}

.roundup-hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

/* Monthly Nav Bar */
.monthly-nav-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 0;
    overflow-x: auto;
}

.monthly-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

.monthly-nav-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    flex-shrink: 0;
}

.monthly-nav-pills {
    display: flex;
    gap: 0.4rem;
    flex-wrap: nowrap;
    overflow-x: auto;
}

.monthly-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.65rem;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 500;
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    text-decoration: none;
    transition: border-color 0.15s, background 0.15s;
    white-space: nowrap;
}

.monthly-nav-pill:hover {
    border-color: var(--green-accent);
    color: var(--green-accent);
}

.monthly-nav-pill.active {
    background: var(--green-accent);
    border-color: var(--green-accent);
    color: #000;
    font-weight: 700;
}

.monthly-nav-count {
    font-size: 0.7rem;
    font-weight: 700;
    opacity: 0.8;
}

/* Roundup Section */
.roundup-section {
    padding: 2rem 0;
}

.roundup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.roundup-card {
    border-left: 3px solid #ef4444;
}

/* Sidebar email form */
.sidebar-subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.sidebar-email-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-primary);
    font-size: 0.85rem;
    box-sizing: border-box;
}

.sidebar-subscribe-btn {
    width: 100%;
    padding: 0.5rem;
    background: var(--green-accent);
    color: #000;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s;
}

.sidebar-subscribe-btn:hover { opacity: 0.9; }

.sidebar-subscribe-success {
    font-size: 0.82rem;
    color: var(--green-accent);
    font-weight: 600;
    padding: 0.5rem;
    text-align: center;
}

/* Month links in sidebar */
.sidebar-month-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.sidebar-month-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    padding: 0.4rem 0.5rem;
    border-radius: 6px;
    border: 1px solid var(--border);
    transition: border-color 0.15s;
}

.sidebar-month-link:hover {
    border-color: var(--green-accent);
}

.sidebar-month-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
}

.sidebar-month-count {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* FAQ Section */
.roundup-faq {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 3rem 0;
}

.roundup-faq-inner {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.roundup-faq-inner h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 1.5rem;
}

.faq-item h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.4rem 0;
}

.faq-item p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.faq-item p a {
    color: var(--green-accent);
}

/* ── Mobile: Expiring Soon ── */
@media (max-width: 640px) {
    .expiring-soon-grid {
        grid-template-columns: 1fr;
    }

    .expiring-soon-count-badge {
        margin-left: 0;
    }

    .expiring-soon-title-row {
        flex-wrap: wrap;
    }

    .monthly-nav-pills {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .roundup-grid {
        grid-template-columns: 1fr;
    }
}
