/**
 * Bitcointalk Signature Campaign Finder - Unified Stylesheet
 */

:root {
    --bg-primary: #F7FAFE;
    --bg-surface: #FFFFFF;
    --bg-surface-hover: #F1F6FD;
    --border-color: #DCE5F0;
    --border-subtle: #E2EAF4;
    --text-main: #344A67;
    --text-muted: #7A8CA5;
    --text-secondary: #5E718C;
    --text-dark: #102A56;
    --primary: #1769E0;
    --primary-hover: #0C4DB3;
    --accent-btc: #F7931A;
    --status-open: #16A765;
    --status-limited: #F5A623;
    --status-closed: #E53935;
    --status-paused: #64748B;
    --status-ended: #475569;
    --status-review: #7C3AED;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

a:hover {
    color: var(--primary-hover);
}

/* Site Navbar */
.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #E5ECF5;
    padding: 0 1.5rem;
    height: 68px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(16, 42, 86, 0.03);
    display: flex;
    align-items: center;
}

.header-inner {
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    flex-shrink: 0;
}

.site-logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F7931A;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    font-weight: 800;
    box-shadow: 0 2px 6px rgba(247, 147, 26, 0.25);
    flex-shrink: 0;
}

.site-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.site-logo-text strong {
    color: #102A56;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.site-logo-text small {
    color: #5B6B84;
    font-size: 0.75rem;
    font-weight: 500;
}

.header-nav-group {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.header-nav {
    display: flex;
    align-items: center;
}

.main-nav {
    display: flex;
    gap: 1.75rem;
    list-style: none;
    align-items: center;
}

.main-nav a {
    color: #506581;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 0.2rem;
    position: relative;
    transition: color 0.15s ease;
}

.main-nav a:hover {
    color: #1769E0;
}

.main-nav a.active {
    color: #1769E0;
    font-weight: 700;
}

.main-nav a.active::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #1769E0;
    border-radius: 2px;
}

/* Mobile search inside drawer */
.header-search-mobile {
    display: none;
}

/* Desktop Search Icon Button & Dropdown */
.header-search-wrapper {
    position: relative;
    margin-left: 1.5rem;
    flex-shrink: 0;
}

.header-search-toggle {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 10px;
    color: #506581;
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

.header-search-toggle:hover,
.header-search-toggle[aria-expanded="true"] {
    color: #1769E0;
    background-color: #F1F6FD;
}

.header-search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 380px;
    background: #FFFFFF;
    border: 1px solid #E5ECF5;
    border-radius: 14px;
    padding: 0.85rem;
    box-shadow: 0 12px 30px rgba(16, 42, 86, 0.12), 0 2px 6px rgba(16, 42, 86, 0.04);
    z-index: 150;
    animation: dropdownFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-search-dropdown.is-active {
    display: block;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header-search-dropdown-form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.dropdown-search-icon {
    position: absolute;
    left: 12px;
    color: #7A8CA5;
    pointer-events: none;
}

.header-search-dropdown-input {
    flex: 1;
    height: 42px;
    background: #F8FBFF;
    border: 1.5px solid #DCE5F0;
    border-radius: 10px;
    padding: 0 0.85rem 0 2.4rem;
    font-size: 0.88rem;
    color: #102A56;
    outline: none;
    transition: all 0.15s ease;
}

.header-search-dropdown-input:focus {
    background: #FFFFFF;
    border-color: #1769E0;
    box-shadow: 0 0 0 3px rgba(23, 105, 224, 0.12);
}

.header-search-dropdown-btn {
    height: 42px;
    background: #1769E0;
    color: #FFFFFF;
    border: none;
    border-radius: 10px;
    padding: 0 1.15rem;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.15s ease;
    white-space: nowrap;
}

.header-search-dropdown-btn:hover {
    background: #1255B8;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.mobile-nav-toggle span {
    width: 20px;
    height: 2px;
    background: #102A56;
    border-radius: 2px;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 6px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.badge-open { background: rgba(22, 167, 101, 0.12); color: #16A765; border: 1px solid rgba(22, 167, 101, 0.35); }
.badge-full { background: rgba(245, 166, 35, 0.15); color: #B45309; border: 1px solid rgba(245, 166, 35, 0.35); }
.badge-cfnp { background: rgba(124, 58, 237, 0.12); color: #6D28D9; border: 1px solid rgba(124, 58, 237, 0.3); font-weight: 700; }
.badge-limited { background: rgba(245, 166, 35, 0.12); color: #B45309; border: 1px solid rgba(245, 166, 35, 0.3); }
.badge-closed { background: rgba(229, 57, 53, 0.12); color: #E53935; border: 1px solid rgba(229, 57, 53, 0.3); }
.badge-paused { background: rgba(100, 116, 139, 0.12); color: #475569; border: 1px solid rgba(100, 116, 139, 0.3); }
.badge-hodl { background: rgba(14, 165, 233, 0.15); color: #0284C7; border: 1px solid rgba(14, 165, 233, 0.35); }
.badge-ended { background: rgba(71, 85, 105, 0.12); color: #475569; border: 1px solid rgba(71, 85, 105, 0.3); }
.badge-end { background: rgba(71, 85, 105, 0.12); color: #475569; border: 1px solid rgba(71, 85, 105, 0.3); }
.badge-review { background: rgba(124, 58, 237, 0.12); color: #6D28D9; border: 1px solid rgba(124, 58, 237, 0.3); }
.badge-unknown { background: rgba(122, 140, 165, 0.12); color: #5E718C; border: 1px solid rgba(122, 140, 165, 0.25); }
.badge-featured { background: rgba(247, 147, 26, 0.12); color: #D97706; border: 1px solid rgba(247, 147, 26, 0.35); }
.badge-verified { background: rgba(22, 167, 101, 0.12); color: #15803D; border: 1px solid rgba(22, 167, 101, 0.35); text-transform: none; font-weight: 600; }
.badge-unverified { background: rgba(122, 140, 165, 0.12); color: #5E718C; border: 1px solid rgba(122, 140, 165, 0.25); text-transform: none; font-weight: 500; }

/* Campaign Card Grid & Component */
.campaign-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.campaign-card {
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(16, 42, 86, 0.03);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.campaign-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(16, 42, 86, 0.08);
    transform: translateY(-2px);
}

.campaign-card.card-featured {
    border-color: rgba(247, 147, 26, 0.4);
    background: linear-gradient(180deg, #FFFDF8 0%, #FFFFFF 100%);
}

.card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

.card-heading {
    margin-bottom: 0.35rem;
    font-size: 1.15rem;
    line-height: 1.35;
}

.card-title {
    color: #102A56;
    font-weight: 700;
}

.card-title:hover {
    color: var(--primary);
}

.card-manager {
    font-size: 0.85rem;
    color: #5E718C;
    margin-bottom: 0.85rem;
}

.card-manager strong a {
    color: #344A67;
    font-weight: 600;
}

.card-manager strong a:hover {
    color: var(--primary);
}

.card-desc {
    font-size: 0.88rem;
    color: #344A67;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.card-metrics {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 0.75rem;
    background: #F8FBFF;
    padding: 0.75rem 0.85rem;
    border-radius: 8px;
    border: 1px solid #E2EAF4;
    margin-bottom: 1rem;
}

.metric-item {
    display: flex;
    flex-direction: column;
}

.metric-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #5E718C;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 0.15rem;
}

.metric-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: #102A56;
}

.metric-val.payment-val {
    color: #102A56;
    font-weight: 800;
}

.metric-val.slots-open {
    color: #16A765;
}

.metric-val.slots-full {
    color: #E53935;
}

.card-ranks {
    margin-bottom: 1.25rem;
}

.ranks-label {
    display: block;
    font-size: 0.75rem;
    color: #5E718C;
    font-weight: 700;
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ranks-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.rank-pill {
    background: #F1F6FD;
    border: 1px solid #DCE5F0;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #344A67;
}

.card-footer {
    border-top: 1px solid #EAEFF6;
    padding-top: 0.85rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.last-checked {
    color: #7A8CA5;
    font-size: 0.75rem;
    font-weight: 500;
}

.card-footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: #7A8CA5;
}

.btn-card-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: #1769E0;
    color: #FFFFFF !important;
    font-weight: 700;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    text-decoration: none;
    white-space: nowrap;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 8px rgba(23, 105, 224, 0.2);
}

.btn-card-action:hover {
    background: #0C4DB3;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(23, 105, 224, 0.3);
}

.btn-card-source {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: #FFFFFF;
    color: #5E718C !important;
    border: 1.5px solid #DCE5F0;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
    transition: all 0.15s ease;
}

.btn-card-source:hover {
    border-color: #1769E0;
    color: #1769E0 !important;
    background: #F1F6FD;
}

/* Site Footer */
.site-footer {
    background: #102A56;
    color: #CBD5E1;
    padding: 3.5rem 1.5rem 1.5rem;
    margin-top: 4rem;
    font-size: 0.85rem;
    border-top: 1px solid #1A3D73;
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-brand-title {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #FFFFFF;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.85rem;
}

.footer-btc-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #F7931A;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.95rem;
}

.footer-brand-desc {
    color: #94A3B8;
    font-size: 0.85rem;
    line-height: 1.6;
    max-width: 380px;
    margin-bottom: 1.25rem;
}

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

.footer-social-btn {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: #CBD5E1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.15s ease;
}

.footer-social-btn:hover {
    background: #1769E0;
    color: #FFFFFF;
    transform: translateY(-1px);
}

.footer-heading {
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
    letter-spacing: 0.02em;
}

.footer-link-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-link-list a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.15s ease;
}

.footer-link-list a:hover {
    color: #FFFFFF;
}

.footer-community-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 1.25rem;
    display: flex;
    gap: 0.85rem;
    align-items: center;
}

.footer-community-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #F7931A;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    font-weight: 800;
    flex-shrink: 0;
}

.footer-community-title {
    color: #FFFFFF;
    font-size: 0.88rem;
    line-height: 1.35;
}

.footer-community-title strong {
    color: #FFFFFF;
    font-weight: 700;
}

.footer-community-slogan {
    color: #38BDF8;
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.footer-disclaimer-box {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 0.85rem 1.25rem;
    font-size: 0.78rem;
    color: #94A3B8;
    line-height: 1.55;
    margin-bottom: 1.75rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.78rem;
    color: #64748B;
}

.footer-bottom-copy {
    color: #94A3B8;
}

.footer-bottom-badge {
    color: #CBD5E1;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(180deg, #EDF5FF 0%, #FFFFFF 100%);
    padding: 3.5rem 1.5rem 2.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

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

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #102A56;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-title span {
    color: #1769E0;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: #5E718C;
    max-width: 680px;
    margin: 0 auto 1.75rem;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.btn-primary {
    background: #1769E0;
    color: #FFFFFF !important;
    padding: 0.8rem 1.75rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(23, 105, 224, 0.25);
}

.btn-primary:hover {
    background: #0C4DB3;
    color: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(23, 105, 224, 0.35);
}

.btn-secondary {
    background: #FFFFFF;
    color: #5E718C !important;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1.5px solid #D7E1ED;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-secondary:hover {
    background: #F1F6FD;
    border-color: #1769E0;
    color: #1769E0 !important;
}

/* Stats Counter Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.stat-card {
    background: #FFFFFF;
    border: 1px solid #DCE5F0;
    border-radius: 12px;
    padding: 1.25rem 1rem;
    text-align: center;
    box-shadow: 0 2px 8px rgba(16, 42, 86, 0.03);
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: #102A56;
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.stat-num.open { color: #16A765; }
.stat-num.limited { color: #F5A623; }
.stat-num.total { color: #1769E0; }

.stat-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: #5E718C;
    font-weight: 700;
    letter-spacing: 0.04em;
}

/* Rank Selector Box */
.rank-selector-wrapper {
    margin: 2.5rem 0 1rem;
}

.rank-selector-title {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #5E718C;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    text-align: center;
}

.rank-pills-bar {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.rank-btn {
    background: #FFFFFF;
    color: #344A67;
    border: 1.5px solid #DCE5F0;
    padding: 0.5rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.15s ease;
    text-decoration: none;
    display: inline-block;
}

.rank-btn:hover, .rank-btn.active {
    background: #1769E0;
    color: #FFFFFF !important;
    border-color: #1769E0;
}

/* Quick Filter Bar */
.quick-filter-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.25rem;
    font-size: 0.9rem;
    color: #5E718C;
    flex-wrap: wrap;
}

.quick-link {
    color: #1769E0;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 600;
}

.quick-link:hover {
    color: #0C4DB3;
}

/* Container & Sections */
.site-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #102A56;
}

.section-sub {
    color: #5E718C;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

/* Filter Box & Controls */
.filter-panel {
    background: #FFFFFF;
    border: 1px solid #DCE5F0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(16, 42, 86, 0.03);
}

.filter-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 1rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.filter-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #506681;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.form-input, .form-select {
    background: #FFFFFF;
    border: 1.5px solid #D7E1ED;
    color: #344A67;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    font-size: 0.9rem;
    width: 100%;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input::placeholder {
    color: #7A8CA5;
}

.form-input:focus, .form-select:focus {
    border-color: #1769E0;
    box-shadow: 0 0 0 3px rgba(23, 105, 224, 0.12);
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.88rem;
    color: #506681;
    font-weight: 500;
    margin-top: 0.25rem;
    cursor: pointer;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    background: #FFFFFF;
    border: 1.5px solid #D7E1ED;
    color: #344A67;
    padding: 0.5rem 0.9rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}

.page-btn:hover {
    background: #F1F6FD;
    color: #1769E0;
    border-color: #1769E0;
}

.page-btn.active {
    background: #1769E0;
    color: #FFFFFF !important;
    border-color: #1769E0;
}

.page-btn.disabled {
    opacity: 0.45;
    pointer-events: none;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 1.5rem;
    background: #F8FBFF;
    border: 1.5px dashed #DCE8F5;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.empty-state h2, .empty-state h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #102A56;
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: #5E718C;
    font-size: 0.95rem;
    max-width: 480px;
    margin: 0 auto 1.5rem;
    line-height: 1.6;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #7B8EA7;
    margin-bottom: 1.5rem;
}

.breadcrumb a {
    color: #4F6582;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s ease;
}

.breadcrumb a:hover {
    color: #1769E0;
}

.breadcrumb .sep {
    color: #A5B3C4;
}

.breadcrumb .current {
    color: #7B8EA7;
    font-weight: 600;
}

/* About & Disclaimer Articles */
.about-article-card {
    max-width: 960px;
    margin: 0 auto;
    background: #FFFFFF;
    border: 1px solid #DCE5F0;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(16, 42, 86, 0.04);
}

.about-title {
    font-size: 2rem;
    font-weight: 800;
    color: #102A56;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    letter-spacing: -0.015em;
}

.about-content {
    color: #344A67;
    font-size: 1rem;
    line-height: 1.75;
}

.about-content p {
    margin-bottom: 22px;
}

.about-section-heading {
    font-size: 1.35rem;
    font-weight: 700;
    color: #102A56;
    margin-top: 32px;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.about-bullet-list {
    margin: 0 0 24px 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.about-bullet-list li {
    color: #344A67;
    line-height: 1.65;
}

.about-disclosure-box {
    background: #FFFDF5;
    border: 1px solid #FEEBC8;
    border-left: 4px solid #F7931A;
    border-radius: 8px;
    padding: 22px 24px;
    margin: 28px 0;
}

.disclosure-heading {
    color: #8C4A00;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.disclosure-body {
    color: #5C3800;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 0 !important;
}

/* Detail Page Layout */
.detail-header-card {
    background: #FFFFFF;
    border: 1px solid #DCE5F0;
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 10px rgba(16, 42, 86, 0.03);
}

.detail-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.detail-title {
    font-size: 2rem;
    font-weight: 800;
    color: #102A56;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.detail-meta-line {
    font-size: 0.95rem;
    color: #5E718C;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.detail-desc {
    font-size: 1rem;
    line-height: 1.65;
    color: #344A67;
    border-top: 1px solid #EAEFF6;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.rates-table-wrap {
    overflow-x: auto;
    background: #FFFFFF;
    border: 1px solid #DCE5F0;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(16, 42, 86, 0.03);
}

.rates-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    text-align: left;
}

.rates-table th {
    background: #F4F8FC;
    color: #506681;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid #DCE5F0;
}

.rates-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #EAEFF6;
    color: #344A67;
}

.rates-table tr:last-child td {
    border-bottom: none;
}

.rates-table tr:hover td {
    background: #F8FAFD;
}

.history-timeline {
    background: #FFFFFF;
    border: 1px solid #DCE5F0;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 2px 8px rgba(16, 42, 86, 0.03);
}

.history-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #EAEFF6;
    font-size: 0.9rem;
    color: #344A67;
}

.history-item:last-child {
    border-bottom: none;
}

.history-date {
    color: #7A8CA5;
    font-size: 0.8rem;
    min-width: 140px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.85rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .filter-grid {
        grid-template-columns: 1fr;
    }
    .campaign-grid {
        grid-template-columns: 1fr;
    }
    .card-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        text-align: center;
    }
    .detail-top-bar {
        flex-direction: column;
    }
}

/* User-Centric Campaign Card Enhancements */
.card-eligibility {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    margin-bottom: 0.85rem;
    font-size: 0.85rem;
}

.card-eligibility.is-eligible {
    background: rgba(22, 167, 101, 0.12);
    border: 1px solid rgba(22, 167, 101, 0.35);
    color: #16A765;
    font-weight: 600;
}

.card-eligibility.not-eligible {
    background: rgba(229, 57, 53, 0.1);
    border: 1px solid rgba(229, 57, 53, 0.3);
    color: #E53935;
    font-weight: 600;
}

.card-metrics-custom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    background: #F8FBFF;
    padding: 0.75rem 0.85rem;
    border-radius: 8px;
    border: 1px solid #E2EAF4;
    margin-bottom: 0.85rem;
}

.metric-block {
    display: flex;
    flex-direction: column;
}

.metric-sub {
    font-size: 0.75rem;
    color: #1769E0;
    margin-top: 0.15rem;
    font-weight: 600;
}

.metric-sub.muted {
    color: #7A8CA5;
}

.card-requirements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    background: #F8FBFF;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    border: 1px solid #E2EAF4;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.req-item {
    display: flex;
    flex-direction: column;
}

.req-label {
    color: #5E718C;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 700;
}

.req-value {
    color: #344A67;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-footer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid #EAEFF6;
}

.btn-direct-thread {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: #FFFFFF;
    border: 1.5px solid #DCE5F0;
    color: #5E718C !important;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
}

.btn-direct-thread:hover {
    background: #F1F6FD;
    border-color: #1769E0;
    color: #1769E0 !important;
}

/* View Mode Toggle */
.view-toggle-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.view-toggle-group {
    display: inline-flex;
    background: #FFFFFF;
    border: 1px solid #D7E1ED;
    border-radius: 8px;
    padding: 2px;
}

.view-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #5E718C;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.15s ease;
}

.view-toggle-btn:hover {
    color: #1769E0;
}

.view-toggle-btn.active {
    background: #1769E0;
    color: #FFFFFF !important;
}

/* Compare / Table View */
.compare-table-wrapper {
    width: 100%;
    overflow-x: auto;
    background: #FFFFFF;
    border: 1px solid #DCE5F0;
    border-radius: 12px;
    margin-top: 1.25rem;
    box-shadow: 0 2px 8px rgba(16, 42, 86, 0.03);
    -webkit-overflow-scrolling: touch;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
    min-width: 900px;
}

.compare-table th {
    background: #F4F8FC;
    color: #506681;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #DCE5F0;
    white-space: nowrap;
}

.compare-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #EAEFF6;
    color: #344A67;
    vertical-align: middle;
}

.compare-table tr:hover td {
    background: #F8FAFD;
}

.text-success {
    color: #16A765 !important;
}

.text-danger {
    color: #E53935 !important;
}

/* Homepage Campaign Managers Section */
.manager-preview-card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1px solid #DCE5F0;
    border-radius: 12px;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 2px 8px rgba(16, 42, 86, 0.03);
    transition: transform 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.manager-preview-card:hover {
    transform: translateY(-2px);
    border-color: #1769E0;
    box-shadow: 0 6px 18px rgba(16, 42, 86, 0.08);
    background: #FFFFFF;
}

/* ==========================================================================
   Modern SaaS Homepage Layout & Components (Visual Mockup Redesign)
   White/light background (#F7FAFE), navy typography (#102A56), bright blue (#1769E0),
   Bitcoin orange (#F7931A), pastel rank cards, subtle borders and shadows
   ========================================================================== */

.home-saas-layout {
    background-color: #F7FAFE;
    color: #172B4D;
    width: 100%;
    min-height: calc(100vh - 70px);
}

.home-saas-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 2.25rem 1.25rem 4.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* --------------------------------------------------------------------------
   1. HERO SECTION
   -------------------------------------------------------------------------- */
.saas-hero-container {
    background: linear-gradient(180deg, #EDF5FF 0%, #FFFFFF 100%);
    border: 1px solid #DCE8F8;
    border-radius: 20px;
    padding: 3.25rem 2.75rem;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    box-shadow: 0 4px 20px rgba(16, 42, 86, 0.03);
}

.hero-left {
    display: flex;
    flex-direction: column;
}

.hero-h1 {
    font-size: 2.85rem;
    font-weight: 800;
    color: #102A56;
    line-height: 1.15;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

.hero-h1-blue {
    color: #1769E0;
    display: block;
}

.hero-lead {
    font-size: 1.1rem;
    font-weight: 700;
    color: #172B4D;
    margin-bottom: 0.5rem;
}

.hero-desc {
    font-size: 0.95rem;
    color: #5B6B84;
    line-height: 1.6;
    margin-bottom: 1.75rem;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-hero-primary {
    background: #1769E0;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 14px rgba(23, 105, 224, 0.28);
    transition: all 0.15s ease;
}

.btn-hero-primary:hover {
    background: #1255B8;
    color: #FFFFFF;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(23, 105, 224, 0.38);
}

.btn-hero-secondary {
    background: #FFFFFF;
    color: #102A56;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1.5rem;
    border-radius: 10px;
    border: 1.5px solid #1769E0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.15s ease;
}

.btn-hero-secondary:hover {
    background: #F0F6FF;
    color: #1769E0;
}

.hero-trust-strip {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    font-size: 0.82rem;
    font-weight: 600;
    color: #5B6B84;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-trust-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Right Hero Visual Preview Card */
.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-preview-wrapper {
    position: relative;
    width: 100%;
    max-width: 380px;
}

.hero-curved-annotation {
    position: absolute;
    top: -30px;
    right: 10px;
    color: #1769E0;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    transform: rotate(5deg);
    pointer-events: none;
    z-index: 2;
}

.hero-preview-card {
    background: #FFFFFF;
    border: 1px solid #D8E6F8;
    border-radius: 16px;
    padding: 1.4rem 1.5rem;
    box-shadow: 0 16px 36px -8px rgba(23, 105, 224, 0.16);
    transform: rotate(1.5deg);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hero-preview-card:hover {
    transform: rotate(0deg) translateY(-4px);
    box-shadow: 0 20px 42px -6px rgba(23, 105, 224, 0.22);
}

.preview-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #F1F5F9;
}

.preview-brand-group {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.preview-btc-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #F7931A;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.preview-title-text {
    display: flex;
    flex-direction: column;
}

.preview-title-text strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: #102A56;
}

.preview-title-text small {
    font-size: 0.72rem;
    color: #5B6B84;
}

.preview-status-pill {
    background: #ECFDF5;
    color: #16A765;
    border: 1px solid #A7F3D0;
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.2rem 0.6rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.preview-status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #16A765;
}

.preview-rates-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    margin-bottom: 1.15rem;
}

.preview-rates-table tr {
    border-bottom: 1px solid #F8FAFC;
}

.preview-rates-table td {
    padding: 0.38rem 0.2rem;
    color: #334155;
}

.preview-rates-table td:last-child {
    text-align: right;
    font-weight: 700;
    color: #102A56;
}

.preview-card-btn {
    width: 100%;
    background: #1769E0;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    transition: background 0.15s ease;
}

.preview-card-btn:hover {
    background: #1255B8;
    color: #FFFFFF;
}

.hero-pill-badge {
    position: absolute;
    bottom: -22px;
    right: 20px;
    background: #FFFFFF;
    border: 1px solid #DCE8F8;
    border-radius: 9999px;
    padding: 0.45rem 1rem;
    font-size: 0.76rem;
    font-weight: 700;
    color: #172B4D;
    box-shadow: 0 4px 14px rgba(16, 42, 86, 0.08);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    z-index: 2;
}

.hero-pill-badge strong {
    color: #1769E0;
}

/* --------------------------------------------------------------------------
   2. THREE-COLUMN DISCOVERY AREA
   -------------------------------------------------------------------------- */
.saas-discovery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.discovery-card {
    background: #FFFFFF;
    border: 1px solid #E5ECF5;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(16, 42, 86, 0.03);
    display: flex;
    flex-direction: column;
}

.discovery-card-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.35rem;
}

.discovery-card-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #F0F6FF;
    color: #1769E0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.discovery-card-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #102A56;
    letter-spacing: -0.01em;
}

.discovery-card-sub {
    font-size: 0.82rem;
    color: #5B6B84;
    margin-bottom: 1.25rem;
    line-height: 1.45;
}

/* Card 1: Pastel Ranks Mini Grid */
.ranks-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.rank-mini-card {
    border-radius: 10px;
    padding: 0.75rem 0.5rem;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.rank-mini-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 42, 86, 0.08);
}

.rank-mini-name {
    font-size: 0.72rem;
    font-weight: 700;
}

.rank-mini-count {
    font-size: 0.95rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.rank-mini-arrow {
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Pastel color themes per rank */
.rank-pastel-newbie {
    background: #EFF6FF;
    border: 1px solid #DBEAFE;
    color: #1E40AF;
}

.rank-pastel-jr {
    background: #ECFDF5;
    border: 1px solid #D1FAE5;
    color: #065F46;
}

.rank-pastel-member {
    background: #FEFCE8;
    border: 1px solid #FEF08A;
    color: #854D0E;
}

.rank-pastel-full {
    background: #F0F9FF;
    border: 1px solid #E0F2FE;
    color: #0369A1;
}

.rank-pastel-sr {
    background: #F5F3FF;
    border: 1px solid #EDE9FE;
    color: #5B21B6;
}

.rank-pastel-hero {
    background: #FFF1F2;
    border: 1px solid #FFE4E6;
    color: #9F1239;
}

.rank-pastel-legendary {
    background: #FAF5FF;
    border: 1px solid #F3E8FF;
    color: #6B21A8;
    grid-column: span 3;
    padding: 0.65rem 0.5rem;
}

/* Card 2: Status Rows List */
.status-rows-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.status-row-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    text-decoration: none;
    color: #172B4D;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.15s ease;
}

.status-row-item:hover {
    background: #FFFFFF;
    border-color: #CBD5E1;
    box-shadow: 0 2px 6px rgba(16, 42, 86, 0.05);
    transform: translateX(2px);
}

.status-row-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.status-row-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-row-count {
    font-weight: 700;
    color: #5B6B84;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
}

/* Card 3: Quick Links Rows */
.quick-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.quick-link-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    text-decoration: none;
    color: #172B4D;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.15s ease;
}

.quick-link-row:hover {
    background: #FFFFFF;
    border-color: #1769E0;
    color: #1769E0;
    box-shadow: 0 2px 6px rgba(23, 105, 224, 0.08);
    transform: translateX(2px);
}

.quick-link-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.quick-link-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1769E0;
}

/* --------------------------------------------------------------------------
   3. OPEN SIGNATURE CAMPAIGNS SECTION
   -------------------------------------------------------------------------- */
.saas-section-block {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.saas-section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-head-title-group {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.section-head-icon {
    font-size: 1.5rem;
    line-height: 1;
}

.saas-section-h2 {
    font-size: 1.55rem;
    font-weight: 800;
    color: #102A56;
    letter-spacing: -0.02em;
    margin: 0;
}

.saas-section-subhead {
    font-size: 0.88rem;
    color: #5B6B84;
    margin-top: 0.25rem;
}

.section-head-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1769E0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: color 0.15s ease;
}

.section-head-link:hover {
    color: #1255B8;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.saas-open-campaigns-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
}

.saas-campaign-card {
    background: #FFFFFF;
    border: 1px solid #E5ECF5;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(16, 42, 86, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.saas-campaign-card:hover {
    border-color: #CBD5E1;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(16, 42, 86, 0.08);
}

.saas-card-top {
    display: flex;
    flex-direction: column;
}

.saas-card-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.4rem;
}

.saas-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #102A56;
    line-height: 1.35;
    text-decoration: none;
    transition: color 0.15s ease;
}

.saas-card-title:hover {
    color: #1769E0;
}

.saas-card-manager {
    font-size: 0.85rem;
    color: #5B6B84;
    margin-bottom: 1rem;
}

.saas-card-manager strong a {
    color: #102A56;
    text-decoration: none;
}

.saas-card-manager strong a:hover {
    color: #1769E0;
    text-decoration: underline;
}

.saas-card-meta-list {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    font-size: 0.85rem;
}

.saas-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.saas-meta-label {
    color: #5B6B84;
    font-size: 0.82rem;
}

.saas-meta-value {
    font-weight: 700;
    color: #102A56;
    text-align: right;
}

.saas-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.85rem;
    border-top: 1px solid #F1F5F9;
}

.saas-updated-text {
    font-size: 0.78rem;
    color: #94A3B8;
}

.saas-card-btn {
    background: #1769E0;
    color: #FFFFFF;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: background 0.15s ease;
}

.saas-card-btn:hover {
    background: #1255B8;
    color: #FFFFFF;
}

/* Empty banner styling (green pastel) */
.saas-empty-banner-green {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #065F46;
    font-weight: 600;
    font-size: 0.92rem;
}

.saas-empty-banner-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #10B981;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   4. TWO-COLUMN: RECENTLY UPDATED & MANAGERS
   -------------------------------------------------------------------------- */
.saas-two-col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.saas-box-card {
    background: #FFFFFF;
    border: 1px solid #E5ECF5;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 2px 10px rgba(16, 42, 86, 0.03);
    display: flex;
    flex-direction: column;
}

.saas-box-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.saas-box-title-group {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.saas-box-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #F0F6FF;
    color: #1769E0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.saas-box-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #102A56;
    letter-spacing: -0.01em;
}

.saas-box-sub {
    font-size: 0.82rem;
    color: #5B6B84;
    margin-top: 0.2rem;
}

.saas-history-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.saas-history-card-mini {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 1rem 1.15rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: all 0.15s ease;
}

.saas-history-card-mini:hover {
    background: #FFFFFF;
    border-color: #CBD5E1;
    box-shadow: 0 2px 8px rgba(16, 42, 86, 0.05);
}

.saas-history-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #102A56;
    text-decoration: none;
    display: block;
    margin-bottom: 0.25rem;
}

.saas-history-name:hover {
    color: #1769E0;
}

.saas-history-meta {
    font-size: 0.78rem;
    color: #5B6B84;
}

.saas-mgr-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.saas-mgr-item {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    transition: all 0.15s ease;
}

.saas-mgr-item:hover {
    background: #FFFFFF;
    border-color: #1769E0;
    box-shadow: 0 2px 8px rgba(23, 105, 224, 0.08);
    transform: translateY(-1px);
}

.saas-mgr-info {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    overflow: hidden;
}

.saas-mgr-avatar-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #EFF6FF;
    color: #1769E0;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 1px solid #DBEAFE;
}

.saas-mgr-text {
    overflow: hidden;
}

.saas-mgr-name {
    font-size: 0.88rem;
    font-weight: 700;
    color: #102A56;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.saas-mgr-counts {
    font-size: 0.76rem;
    color: #5B6B84;
}

.saas-box-bottom-action {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    padding-top: 0.5rem;
}

.empty-state-box-gray {
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    border-radius: 10px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #5B6B84;
    font-size: 0.88rem;
}

/* --------------------------------------------------------------------------
   5. HOW IT WORKS & WHY USE THIS FINDER (Side-by-Side)
   -------------------------------------------------------------------------- */
.saas-how-why-grid {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.saas-how-card {
    background: #FFFFFF;
    border: 1px solid #E5ECF5;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 2px 10px rgba(16, 42, 86, 0.03);
    display: flex;
    flex-direction: column;
}

.how-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.how-step-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.how-step-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    box-shadow: 0 2px 6px rgba(16, 42, 86, 0.15);
}

.step-color-1 { background: #1769E0; }
.step-color-2 { background: #10B981; }
.step-color-3 { background: #F7931A; }
.step-color-4 { background: #8B5CF6; }

.how-step-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #102A56;
    margin-bottom: 0.35rem;
}

.how-step-text {
    font-size: 0.82rem;
    color: #5B6B84;
    line-height: 1.45;
}

/* Why Use This Finder Card (Light Blue Accent) */
.saas-why-card {
    background: #F0F6FF;
    border: 1px solid #DBEAFE;
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
}

.why-card-header {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.35rem;
}

.why-card-icon {
    color: #1769E0;
    font-size: 1.25rem;
}

.why-card-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #102A56;
}

.why-card-sub {
    font-size: 0.85rem;
    color: #5B6B84;
    line-height: 1.5;
    margin-bottom: 1.25rem;
}

.why-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.why-check-item {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #172B4D;
}

.why-check-circle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #10B981;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   6. DATA TRANSPARENCY CARD (Full Width)
   -------------------------------------------------------------------------- */
.saas-transparency-card {
    background: #F0F7FE;
    border: 1px solid #D8E8F8;
    border-radius: 16px;
    padding: 1.75rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    box-shadow: 0 1px 4px rgba(16, 42, 86, 0.02);
}

.transparency-left {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    max-width: 680px;
}

.transparency-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #E0EFFF;
    color: #1769E0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.transparency-text-title {
    font-size: 1rem;
    font-weight: 800;
    color: #102A56;
    margin-bottom: 0.25rem;
}

.transparency-text-desc {
    font-size: 0.85rem;
    color: #5B6B84;
    line-height: 1.5;
}

.transparency-right {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
}

.transparency-clock-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #D8E8F8;
    color: #5B6B84;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.transparency-update-text {
    display: flex;
    flex-direction: column;
}

.transparency-update-label {
    font-size: 0.75rem;
    color: #5B6B84;
    font-weight: 600;
}

.transparency-update-date {
    font-size: 0.88rem;
    font-weight: 700;
    color: #102A56;
    margin-bottom: 0.25rem;
}

.transparency-links {
    font-size: 0.82rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.transparency-links a {
    color: #1769E0;
    font-weight: 600;
    text-decoration: none;
}

.transparency-links a:hover {
    text-decoration: underline;
}

/* --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS (Mobile, Tablet, Desktop)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .saas-hero-container {
        grid-template-columns: 1fr;
        padding: 2.5rem 2rem;
    }

    .hero-right {
        margin-top: 1rem;
    }

    .saas-discovery-grid {
        grid-template-columns: 1fr;
    }

    .saas-two-col-grid {
        grid-template-columns: 1fr;
    }

    .saas-how-why-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .header-nav-group {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #FFFFFF;
        border-bottom: 1px solid #E5ECF5;
        padding: 1.25rem;
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
        box-shadow: 0 10px 20px rgba(16, 42, 86, 0.1);
    }

    .header-nav-group.is-open {
        display: flex;
    }

    .main-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
        width: 100%;
    }

    .main-nav a {
        display: block;
        padding: 0.6rem 0.5rem;
        border-radius: 6px;
    }

    .main-nav a.active::after {
        display: none;
    }

    .main-nav a.active {
        background: #F1F6FD;
    }

    /* Mobile search drawer */
    .header-search-mobile {
        display: block;
        width: 100%;
        margin-top: 0.5rem;
        padding-top: 0.75rem;
        border-top: 1px solid #E5ECF5;
    }

    .header-search-mobile-form {
        display: flex;
        gap: 0.5rem;
        width: 100%;
    }

    .header-search-mobile-input {
        flex: 1;
        height: 42px;
        background: #F8FBFF;
        border: 1.5px solid #DCE5F0;
        border-radius: 8px;
        padding: 0 0.85rem;
        font-size: 0.88rem;
        color: #102A56;
        outline: none;
    }

    .header-search-mobile-input:focus {
        border-color: #1769E0;
        background: #FFFFFF;
    }

    .header-search-mobile-btn {
        height: 42px;
        background: #1769E0;
        color: #FFFFFF;
        border: none;
        border-radius: 8px;
        padding: 0 1.15rem;
        font-size: 0.88rem;
        font-weight: 700;
        cursor: pointer;
    }

    .header-search-wrapper {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .hero-h1 {
        font-size: 2.15rem;
    }

    .how-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ranks-mini-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .rank-pastel-legendary {
        grid-column: span 2;
    }

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

    .saas-transparency-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .home-saas-inner {
        padding: 1.25rem 0.85rem 3rem;
    }

    .saas-hero-container {
        padding: 2rem 1.25rem;
        border-radius: 14px;
    }

    .hero-h1 {
        font-size: 1.85rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero-primary, .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }

    .how-steps-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================================
   Member Auth & Dashboard Styling
   ========================================================================= */
.auth-page-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background: #F7FAFE;
}

.auth-card {
    background: #FFFFFF;
    border: 1px solid #E5ECF5;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(16, 42, 86, 0.06);
    max-width: 480px;
    width: 100%;
    padding: 36px 32px;
}

.auth-card-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-card-header h1 {
    font-size: 22px;
    color: #102A56;
    margin: 10px 0 6px 0;
    font-weight: 700;
}

.auth-card-header p {
    font-size: 14px;
    color: #5B6B84;
    margin: 0;
    line-height: 1.5;
}

.auth-card-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #EFF6FF;
    color: #1769E0;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.auth-form .form-group label {
    font-weight: 600;
    font-size: 14px;
    color: #172B4D;
}

.auth-form .form-input {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form .form-input:focus {
    outline: none;
    border-color: #1769E0;
    box-shadow: 0 0 0 3px rgba(23, 105, 224, 0.15);
}

.channel-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.channel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 42, 86, 0.06);
}

