:root {
    --bg: #0a0a0a;
    --bg-elevated: #111111;
    --bg-card: #141414;
    
    --primary: #00ff88;
    --primary-dim: rgba(0, 255, 136, 0.1);
    --secondary: #ff3d71;
    --secondary-dim: rgba(255, 61, 113, 0.1);
    
    --text: #ffffff;
    --text-secondary: #e0e0e0;
    --text-tertiary: #b8b8b8;
    
    --border: #1a1a1a;
    --border-bright: #222222;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Homepage nav override - wider padding for landing layout */
.nav { padding: 1.25rem 3rem; }

/* ===== HERO SECTION ===== */
.hero-wrapper {
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.main-content {
    position: relative;
    z-index: 1;
    background: var(--bg);
}

.hero-wrapper::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.08) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}


.hero {
    max-width: 800px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-h1 {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
    color: var(--text);
}

.hero-p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 3rem;
}

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

.btn-primary {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.625rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-transform: lowercase;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: #00dd77;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-bright);
    padding: 1rem 2rem;
    border-radius: 0.625rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-transform: lowercase;
}

.btn-secondary:hover {
    border-color: var(--text);
    color: var(--text);
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 3rem;
    max-width: 700px;
    margin: 0 auto;
}

.stat-item {
    text-align: center;
}

.stat-num {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ===== LIVE SOCIAL PROOF STATS (horizontal bar) ===== */
.live-stats-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 2rem 2rem;
}

.live-stats-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.live-stat {
    text-align: center;
    padding: 1.5rem 2rem;
    position: relative;
    flex: 1 1 auto;
    min-width: 140px;
}

/* Vertical dividers between stats */
.live-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--border-bright), transparent);
}

.live-stat-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--primary);
    text-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.live-stat-label {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    text-transform: lowercase;
}

@media (max-width: 768px) {
    .live-stats-grid {
        flex-wrap: wrap;
        gap: 0;
    }

    .live-stat {
        flex: 0 0 50%;
        padding: 1.25rem 0.75rem;
    }

    /* Remove right divider on even items (right column) */
    .live-stat:nth-child(2)::after {
        display: none;
    }

    .live-stat-num {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .live-stat {
        flex: 0 0 50%;
    }
}

/* ===== QUICK CAREER CHECK ===== */
.career-check-section {
    max-width: 700px;
    margin: 0 auto;
    padding: 4rem 2rem 2rem;
    text-align: center;
}

.career-check-tool {
    margin-top: 1.5rem;
}

.career-check-input-wrap {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.career-check-search-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    pointer-events: none;
    z-index: 1;
}

.career-check-input {
    width: 100%;
    padding: 0.85rem 1.25rem 0.85rem 2.5rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255,255,255,0.1);
    background: #141414;
    color: #fff;
    font-size: 0.95rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
    box-sizing: border-box;
}

.career-check-input::placeholder {
    color: #555;
}

.career-check-input:focus {
    border-color: #00e676;
}

.career-check-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #141414;
    border: 1px solid rgba(255,255,255,0.1);
    border-top: none;
    border-radius: 0 0 0.5rem 0.5rem;
    max-height: 300px;
    overflow-y: auto;
    display: none;
    z-index: 50;
}

.career-check-dropdown.open {
    display: block;
}

.cc-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 1.25rem;
    cursor: pointer;
    transition: background 0.1s;
    border: none;
    background: none;
    color: inherit;
    width: 100%;
    text-align: left;
    font-size: 0.88rem;
    font-family: inherit;
}

.cc-option:hover,
.cc-option.cc-option-active {
    background: rgba(255,255,255,0.04);
}

.cc-option-emoji {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.cc-option-name {
    flex: 1;
    color: #e8e8eb;
    font-weight: 600;
}

.cc-option-score {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.cc-no-results {
    padding: 1rem;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
}

.cc-result-card {
    background: #141414;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 0.75rem;
    padding: 1.5rem;
    text-align: left;
    max-width: 500px;
    margin: 1.5rem auto 0;
}

.cc-result-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cc-result-emoji {
    font-size: 1.75rem;
    flex-shrink: 0;
}

.cc-result-info {
    flex: 1;
}

.cc-result-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #e8e8eb;
}

.cc-result-cat {
    font-size: 0.7rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.15rem;
}

.cc-outlook-badge {
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.12rem 0.4rem;
    border-radius: 3px;
    text-transform: lowercase;
    margin-left: 0.4rem;
}

.cc-outlook-badge.locked-in { background: rgba(0,230,118,0.1); color: #00e676; }
.cc-outlook-badge.solid { background: rgba(0,230,118,0.08); color: #00e676; }
.cc-outlook-badge.mid { background: rgba(255,202,40,0.08); color: #ffca28; }
.cc-outlook-badge.shaky { background: rgba(255,145,0,0.08); color: #ff9100; }
.cc-outlook-badge.cooked { background: rgba(255,61,113,0.08); color: #ff3d71; }

.cc-result-score {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.25rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.cc-sparkline {
    width: 100%;
    height: 60px;
    display: block;
    margin-bottom: 1rem;
}

.cc-context {
    font-size: 0.82rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.cc-context-danger {
    background: rgba(255,61,113,0.06);
    border: 1px solid rgba(255,61,113,0.15);
    color: #ff6b8a;
}

.cc-context-safe {
    background: rgba(0,230,118,0.06);
    border: 1px solid rgba(0,230,118,0.15);
    color: #66ffaa;
}

.cc-context-mid {
    background: rgba(255,202,40,0.06);
    border: 1px solid rgba(255,202,40,0.15);
    color: #ffd966;
}

.cc-dims {
    margin-bottom: 1.25rem;
}

.cc-dims-title {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #555;
    margin-bottom: 0.5rem;
}

.cc-dim-row {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.25rem 0;
}

.cc-dim-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: #8b8b96;
    min-width: 100px;
    text-transform: lowercase;
}

.cc-dim-bar-wrap {
    flex: 1;
    height: 12px;
    background: #1a1a1f;
    border-radius: 3px;
    overflow: hidden;
}

.cc-dim-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.cc-dim-bar.score-high { background: linear-gradient(90deg, rgba(0,230,118,0.15), rgba(0,230,118,0.45)); border-right: 2px solid #00e676; }
.cc-dim-bar.score-mid { background: linear-gradient(90deg, rgba(255,202,40,0.1), rgba(255,202,40,0.35)); border-right: 2px solid #ffca28; }
.cc-dim-bar.score-low-mid { background: linear-gradient(90deg, rgba(255,145,0,0.1), rgba(255,145,0,0.35)); border-right: 2px solid #ff9100; }
.cc-dim-bar.score-low { background: linear-gradient(90deg, rgba(255,61,113,0.1), rgba(255,61,113,0.35)); border-right: 2px solid #ff3d71; }

.cc-dim-score {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    font-weight: 800;
    min-width: 2ch;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.cc-ctas {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cc-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    background: #00e676;
    color: #000;
    font-weight: 700;
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.15s;
    font-family: inherit;
}

.cc-cta-primary:hover {
    background: #00dd77;
    transform: translateY(-1px);
}

.cc-cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 1.25rem;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.1);
    background: transparent;
    color: #e8e8eb;
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.15s;
    font-family: inherit;
    cursor: pointer;
}

.cc-cta-secondary:hover {
    border-color: #00e676;
    color: #00e676;
}

.cc-cta-share {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 1rem;
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.06);
    background: transparent;
    color: rgba(255,255,255,0.4);
    font-weight: 600;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
    white-space: nowrap;
}

.cc-cta-share:hover {
    border-color: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.7);
}

/* Similar careers (shown for chart-only professions) */
.cc-similar {
    margin-bottom: 1.25rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 1rem;
}

.cc-similar-title {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #555;
    margin-bottom: 0.5rem;
}

.cc-similar-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 0.6rem;
    border-radius: 6px;
    text-decoration: none;
    color: inherit;
    transition: background 0.12s;
    margin-bottom: 2px;
}

.cc-similar-item:hover {
    background: rgba(0, 230, 118, 0.04);
}

.cc-similar-emoji {
    font-size: 1rem;
    flex-shrink: 0;
}

.cc-similar-name {
    flex: 1;
    font-size: 0.82rem;
    font-weight: 600;
    color: #e8e8eb;
}

.cc-similar-score {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.82rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.cc-similar-arrow {
    font-size: 0.75rem;
    color: rgba(0, 230, 118, 0.4);
    transition: color 0.15s, transform 0.15s;
}

.cc-similar-item:hover .cc-similar-arrow {
    color: #00e676;
    transform: translateX(2px);
}

/* ===== DAILY MARKET BRIEF ===== */
.market-brief {
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem 2rem 3rem;
}

.market-brief-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.market-brief-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    font-size: 0.72rem;
    font-weight: 600;
    color: #00e676;
    text-transform: lowercase;
    letter-spacing: 0.06em;
}

.market-brief-date {
    font-size: 0.7rem;
    color: #4e4e5a;
    font-variant-numeric: tabular-nums;
}

.market-brief-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.brief-column {
    background: #141414;
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 0.75rem;
    padding: 1.25rem;
}

.brief-column-spotlight {
    border-color: rgba(0,230,118,0.12);
    background: linear-gradient(135deg, rgba(0,230,118,0.02), rgba(0,230,118,0.05));
}

.brief-column-title {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.35);
    margin-bottom: 0.75rem;
}

.brief-mover-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0;
    font-size: 0.82rem;
}

.brief-mover-emoji {
    font-size: 0.95rem;
    flex-shrink: 0;
}

.brief-mover-name {
    flex: 1;
    font-weight: 600;
    color: #e8e8eb;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brief-mover-score {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    min-width: 2ch;
}

.brief-mover-delta {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    min-width: 2.5ch;
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.brief-mover-delta.positive { color: #00e676; }
.brief-mover-delta.negative { color: #ff3d71; }

a.brief-mover-clickable {
    text-decoration: none;
    color: inherit;
    border-radius: 4px;
    transition: background 0.12s;
}

a.brief-mover-clickable:hover {
    background: rgba(255,255,255,0.03);
}

.brief-spotlight-sector {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.25rem;
    font-weight: 900;
    color: #e8e8eb;
    margin-bottom: 0.75rem;
    text-transform: lowercase;
}

.brief-spotlight-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.brief-spotlight-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brief-spotlight-label {
    font-size: 0.72rem;
    color: #666;
}

.brief-spotlight-value {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: 0.88rem;
    font-variant-numeric: tabular-nums;
}

.brief-spotlight-value.positive { color: #00e676; }
.brief-spotlight-value.negative { color: #ff3d71; }
.brief-spotlight-value.flat { color: #4e4e5a; }

.market-brief-footer {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.25rem;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
    flex-wrap: wrap;
}

.market-brief-footer .positive { color: rgba(0,230,118,0.5); }
.market-brief-footer .negative { color: rgba(255,61,113,0.5); }

@media (max-width: 768px) {
    .market-brief-grid {
        grid-template-columns: 1fr;
    }
    .career-check-section {
        padding: 3rem 1.5rem 1.5rem;
    }
    .cc-dim-label {
        min-width: 75px;
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .cc-result-score {
        font-size: 1.75rem;
    }
    .cc-ctas {
        flex-direction: column;
    }
    .market-brief-footer {
        gap: 1rem;
    }
}


/* ===== TOOLS SECTION (alternating rows) ===== */
.tools {
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 2rem;
}

.section-h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: 4rem;
    letter-spacing: -0.02em;
}

.tools-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tool-card {
    display: grid;
    grid-template-columns: 4.5rem 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1.75rem 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
    position: relative;
}

.tool-card:hover {
    border-color: var(--primary);
    transform: translateX(6px);
    box-shadow: -4px 0 20px rgba(0, 255, 136, 0.08);
}

/* Green left accent bar on hover */
.tool-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: var(--primary);
    border-radius: 0 2px 2px 0;
    transition: height 0.3s;
}

.tool-card:hover::before {
    height: 60%;
}

/* Staggered reveal for tool cards */
.tool-card:nth-child(1) { transition-delay: 0s; }
.tool-card:nth-child(2) { transition-delay: 0.05s; }
.tool-card:nth-child(3) { transition-delay: 0.1s; }
.tool-card:nth-child(4) { transition-delay: 0.15s; }
.tool-card:nth-child(5) { transition-delay: 0.2s; }
.tool-card:nth-child(6) { transition-delay: 0.25s; }

.tool-number {
    grid-row: 1 / 3;
    grid-column: 1;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary);
    opacity: 0.25;
    line-height: 1;
    text-align: center;
}

.tool-icon {
    display: none; /* hidden in new layout — number replaces it visually */
}

.tool-h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0;
    text-transform: lowercase;
}

.tool-p {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.875rem;
    color: var(--text-tertiary);
    line-height: 1.6;
    margin: 0.25rem 0 0;
}

.tool-meta {
    grid-row: 1 / 3;
    grid-column: 3;
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    white-space: nowrap;
    transition: transform 0.2s;
}

.tool-card:hover .tool-meta {
    transform: translateX(4px);
}

/* ===== FUNNEL STRIP (inside chart container) ===== */
.funnel-strip {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    border-top: 1px solid rgba(0, 230, 118, 0.12);
    background: rgba(0, 230, 118, 0.03);
}

.funnel-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    flex: 1;
    padding: 1rem 0.75rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
    cursor: pointer;
    position: relative;
}

.funnel-node:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background: rgba(255, 255, 255, 0.06);
}

.funnel-node:hover {
    background: rgba(0, 230, 118, 0.06);
}

.funnel-icon {
    font-size: 1.25rem;
    line-height: 1;
}

.funnel-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.01em;
    transition: color 0.15s;
    white-space: nowrap;
}

.funnel-node:hover .funnel-label {
    color: #00e676;
}

.funnel-sub {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.01em;
    white-space: nowrap;
    line-height: 1;
    text-align: center;
}

.funnel-arrow {
    display: none;
}

@media (max-width: 640px) {
    .funnel-node {
        padding: 0.75rem 0.4rem;
    }

    .funnel-label {
        font-size: 0.75rem;
    }

    .funnel-sub {
        display: none;
    }

    .funnel-icon {
        font-size: 1rem;
    }
}

.section-sub {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-tertiary);
    margin-top: -2.5rem;
    margin-bottom: 2.5rem;
}



/* ===== FINAL CTA ===== */
.final-cta {
    max-width: 700px;
    margin: 0 auto;
    padding: 5rem 2rem 8rem;
    text-align: center;
}

.cta-h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.cta-p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 0.625rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-transform: lowercase;
}

.btn-cta-primary:hover {
    background: #00dd77;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 255, 136, 0.3);
}

.btn-cta-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-bright);
    padding: 1rem 2.5rem;
    border-radius: 0.625rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-transform: lowercase;
}

.btn-cta-secondary:hover {
    border-color: var(--text);
    color: var(--text);
}

.cta-footer {
    font-size: 0.9375rem;
    color: var(--text-tertiary);
}

/* ===== SCROLL REVEAL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger tool cards */
.tool-card.reveal:nth-child(1) { transition-delay: 0s; }
.tool-card.reveal:nth-child(2) { transition-delay: 0.1s; }
.tool-card.reveal:nth-child(3) { transition-delay: 0.2s; }
.tool-card.reveal:nth-child(4) { transition-delay: 0.3s; }
.tool-card.reveal:nth-child(5) { transition-delay: 0.4s; }
.tool-card.reveal:nth-child(6) { transition-delay: 0.5s; }

/* Hero entrance animation */
.hero {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }

    .logo-text {
        font-size: 1.25rem;
    }

    .hero {
        padding: 6rem 1.5rem 4rem;
    }

    .stats {
        gap: 2rem;
    }

    .tools, .final-cta {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    /* Tools: stack to full width rows on mobile */
    .tool-card {
        grid-template-columns: 3rem 1fr;
        grid-template-rows: auto auto auto;
        gap: 0 1rem;
        padding: 1.25rem 1.5rem;
    }

    .tool-number {
        font-size: 1.5rem;
    }

    .tool-meta {
        grid-column: 2;
        grid-row: 3;
        margin-top: 0.5rem;
    }

    .hero-buttons, .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

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

    /* Hero wrapper gradient smaller on mobile */
    .hero-wrapper::before {
        width: 400px;
        height: 400px;
    }
}

/* ---- Tablet breakpoint ---- */

/* ---- Small Phone Breakpoint ---- */
@media (max-width: 480px) {
    .live-stats-grid {
        grid-template-columns: 1fr;
    }

    /* Tools: tighter padding on small phones */
    .tools {
        padding: 3rem 1.25rem;
    }

    .tool-card {
        padding: 1rem 1.25rem;
    }

    .section-h2 {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        margin-bottom: 2.5rem;
    }

    /* CTA buttons full width */
    .cta-h2 {
        font-size: clamp(1.8rem, 6vw, 3rem);
    }

    .final-cta {
        padding: 3rem 1.25rem 5rem;
    }

    /* Funnel strip: stack on small phones */
    .funnel-strip {
        flex-direction: column;
        gap: 0;
    }

    .funnel-node {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.06);
        padding: 0.75rem 1rem;
    }

    .funnel-node:last-child {
        border-bottom: none;
    }
}

/* ==========================================
   HOT MARKETS — Homepage banner (above the chart)
   ========================================== */

.hot-markets-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem 2rem;
}

.hot-markets-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 202, 40, 0.04) 0%, rgba(255, 202, 40, 0.01) 100%);
    border: 1px solid rgba(255, 202, 40, 0.12);
    border-radius: 1rem;
    padding: 1.75rem;
    position: relative;
    overflow: hidden;
}

/* Subtle gold shimmer on the left edge */
.hot-markets-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #ffca28, rgba(255, 202, 40, 0.2));
    border-radius: 3px 0 0 3px;
}

.hot-markets-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.65rem;
}

.hot-markets-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.65rem;
    border-radius: 100px;
    background: rgba(255, 202, 40, 0.12);
    border: 1px solid rgba(255, 202, 40, 0.25);
    font-size: 0.65rem;
    font-weight: 800;
    color: #ffca28;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    width: fit-content;
}

.hot-markets-h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    text-transform: lowercase;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.hot-markets-sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.45;
}

.hot-markets-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.6rem 1.25rem;
    border-radius: 0.5rem;
    background: #ffca28;
    color: #000;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.85rem;
    font-weight: 800;
    text-decoration: none;
    text-transform: lowercase;
    transition: all 0.2s;
    width: fit-content;
}

.hot-markets-cta-btn:hover {
    transform: translateY(-1px);
    filter: brightness(1.1);
    box-shadow: 0 4px 16px rgba(255, 202, 40, 0.25);
}

.hot-markets-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
}

.hot-market-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0.75rem;
    padding: 1rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    animation: hotMarketFadeIn 0.4s ease-out both;
}

.hot-market-card:hover {
    border-color: rgba(255, 202, 40, 0.3);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-2px);
}

.hot-market-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hot-market-emoji {
    font-size: 1.25rem;
}

.hot-market-cat {
    font-size: 0.58rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.25);
    text-transform: lowercase;
    letter-spacing: 0.04em;
    padding: 0.1rem 0.4rem;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.hot-market-question {
    font-size: 0.82rem;
    font-weight: 700;
    color: #e8e8eb;
    line-height: 1.3;
    min-height: 2.15em;
}

.hot-market-spark {
    width: 100%;
    height: 40px;
    display: block;
}

/* Price bar — YES green / NO red split */
.hot-market-prices {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hot-market-price-yes,
.hot-market-price-no {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.05rem;
    flex-shrink: 0;
}

.hot-market-price-num {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    font-variant-numeric: tabular-nums;
    line-height: 1;
}

.hot-market-price-yes .hot-market-price-num { color: #00e676; }
.hot-market-price-no .hot-market-price-num { color: #ff3d71; }

.hot-market-price-side {
    font-size: 0.5rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.25);
}

.hot-market-bar {
    flex: 1;
    display: flex;
    height: 4px;
    border-radius: 2px;
    overflow: hidden;
    gap: 2px;
}

.hot-market-bar-yes {
    background: #00e676;
    border-radius: 2px;
    transition: width 0.6s ease;
}

.hot-market-bar-no {
    background: #ff3d71;
    border-radius: 2px;
    opacity: 0.5;
    transition: width 0.6s ease;
}

/* Trade button */
.hot-market-trade-btn {
    text-align: center;
    padding: 0.45rem;
    border-radius: 0.4rem;
    background: rgba(255, 202, 40, 0.08);
    border: 1px solid rgba(255, 202, 40, 0.15);
    color: #ffca28;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: lowercase;
    transition: all 0.2s;
    margin-top: auto;
}

.hot-market-card:hover .hot-market-trade-btn {
    background: rgba(255, 202, 40, 0.15);
    border-color: rgba(255, 202, 40, 0.3);
}

@keyframes hotMarketFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ---- Responsive ---- */

@media (max-width: 1024px) {
    .hot-markets-inner {
        grid-template-columns: 1fr;
    }

    .hot-markets-left {
        text-align: center;
        align-items: center;
    }

    .hot-markets-cta-btn {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .hot-markets-section {
        padding: 1rem 1.25rem 1.5rem;
    }

    .hot-markets-inner {
        padding: 1.25rem;
        gap: 1rem;
    }

    .hot-markets-h2 {
        font-size: 1.5rem;
    }

    .hot-markets-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .hot-market-card {
        padding: 0.85rem;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .hot-market-top {
        width: 100%;
    }

    .hot-market-question {
        min-height: auto;
        width: 100%;
    }

    .hot-market-spark {
        display: none;
    }

    .hot-market-prices {
        flex: 1;
    }

    .hot-market-trade-btn {
        width: 100%;
    }
}
