/**
 * Homepage hero — from tradechefpro_hero.html (scoped to .tcp-home only).
 * Fonts: Inter, DM Serif Display, DM Mono (loaded in index.html).
 */
.tcp-home .tcp-hero-pro-outer {
    background: #0d1117;
    padding-top: 5.5rem;
    padding-bottom: 2rem;
}

@media (min-width: 992px) {
    .tcp-home .tcp-hero-pro-outer {
        padding-top: 6rem;
        padding-bottom: 2.5rem;
    }
}

.tcp-home .tcp-hero-pro {
    background: #0d1117;
    color: #e6edf3;
    font-family: "Inter", sans-serif;
    min-height: 520px;
    padding: 56px 48px 48px;
    display: flex;
    align-items: center;
    gap: 48px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    border: 0.5px solid rgba(230, 237, 243, 0.08);
    max-width: 960px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.tcp-home .tcp-hero-pro::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(55, 138, 221, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.tcp-home .tcp-hero-pro__left {
    flex: 1;
    min-width: 260px;
    position: relative;
    z-index: 2;
}

.tcp-home .tcp-hero-pro__pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(55, 138, 221, 0.12);
    border: 0.5px solid rgba(55, 138, 221, 0.35);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 12px;
    font-family: "DM Mono", monospace;
    color: #7eb8f7;
    margin-bottom: 22px;
    letter-spacing: 0.02em;
}

.tcp-home .tcp-hero-pro__pill-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #378add;
    animation: tcp-hero-pro-pulse 2s infinite;
}

@keyframes tcp-hero-pro-pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.4;
    }
}

.tcp-home .tcp-hero-pro__headline {
    font-family: "DM Serif Display", serif;
    font-size: 46px;
    line-height: 1.1;
    color: #f0f6fc;
    margin-bottom: 16px;
    font-weight: 400;
}

.tcp-home .tcp-hero-pro__headline em {
    font-style: italic;
    color: #7eb8f7;
}

.tcp-home .tcp-hero-pro__sub {
    font-size: 15px;
    color: #8b949e;
    line-height: 1.65;
    max-width: 380px;
    margin-bottom: 32px;
}

.tcp-home .tcp-hero-pro__ctas {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.tcp-home .tcp-hero-pro__btn-primary {
    background: #378add;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 500;
    font-family: "Inter", sans-serif;
    cursor: pointer;
    letter-spacing: 0.01em;
    text-decoration: none;
    display: inline-block;
}

.tcp-home .tcp-hero-pro__btn-primary:hover {
    background: #2f7bc4;
    color: #fff;
    text-decoration: none;
}

.tcp-home .tcp-hero-pro__btn-secondary {
    background: transparent;
    color: #e6edf3;
    border: 0.5px solid rgba(230, 237, 243, 0.25);
    border-radius: 8px;
    padding: 12px 22px;
    font-size: 14px;
    font-weight: 500;
    font-family: "Inter", sans-serif;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.tcp-home .tcp-hero-pro__btn-secondary:hover {
    border-color: rgba(230, 237, 243, 0.5);
    color: #e6edf3;
    text-decoration: none;
}

.tcp-home .tcp-hero-pro__trust {
    margin-top: 28px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.tcp-home .tcp-hero-pro__trust-item {
    font-size: 12px;
    color: #6e7681;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tcp-home .tcp-hero-pro__check {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(30, 215, 96, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tcp-home .tcp-hero-pro__check::after {
    content: "";
    display: block;
    width: 5px;
    height: 3px;
    border-left: 1.5px solid #1ed760;
    border-bottom: 1.5px solid #1ed760;
    transform: rotate(-45deg) translate(0.5px, -0.5px);
}

.tcp-home .tcp-hero-pro__right {
    flex: 0 0 340px;
    position: relative;
    z-index: 2;
}

/* Stacked previews: live alerts first, analytics second — always dark chrome */
.tcp-home .tcp-hero-pro__preview-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.tcp-home .tcp-hero-pro__preview-dark,
html[data-theme="light"] .tcp-home .tcp-hero-pro__preview-dark {
    background: #161b22 !important;
    border-color: rgba(230, 237, 243, 0.1) !important;
    color: #8b949e !important;
}

html[data-theme="light"] .tcp-home .tcp-hero-pro__preview-dark .tcp-hero-pro__dash-bar {
    background: #0d1117 !important;
}

/* Force all text inside dark preview panels to stay light regardless of theme */
.tcp-home .tcp-hero-pro__preview-dark .tcp-hero-pro__feed-body { color: #e6edf3 !important; }
.tcp-home .tcp-hero-pro__preview-dark .tcp-hero-pro__feed-hint { color: #6e7681 !important; }
.tcp-home .tcp-hero-pro__preview-dark .tcp-hero-pro__feed-note { color: #8b949e !important; }
.tcp-home .tcp-hero-pro__preview-dark .tcp-hero-pro__feed-note strong { color: #1ed760 !important; }
.tcp-home .tcp-hero-pro__preview-dark .tcp-hero-pro__feed-time { color: #6e7681 !important; }
.tcp-home .tcp-hero-pro__preview-dark .tcp-hero-pro__feed-tag--exit { color: #1ed760 !important; }
.tcp-home .tcp-hero-pro__preview-dark .tcp-hero-pro__feed-tag--entry { color: #7eb8f7 !important; }
.tcp-home .tcp-hero-pro__preview-dark .tcp-hero-pro__chart-label { color: #6e7681 !important; }
.tcp-home .tcp-hero-pro__preview-dark .tcp-hero-pro__dash-title { color: #6e7681 !important; }
.tcp-home .tcp-hero-pro__preview-dark .tcp-hero-pro__mc-label { color: #6e7681 !important; }
.tcp-home .tcp-hero-pro__preview-dark .tcp-hero-pro__mc-val { color: #e6edf3 !important; }
.tcp-home .tcp-hero-pro__preview-dark .tcp-hero-pro__mc-sub { color: #6e7681 !important; }
.tcp-home .tcp-hero-pro__preview-dark .tcp-hero-pro__trade-meta { color: #8b949e !important; }
.tcp-home .tcp-hero-pro__preview-dark .tcp-hero-pro__tc-label { color: #6e7681 !important; }
.tcp-home .tcp-hero-pro__preview-dark .tcp-hero-pro__tc-val { color: #e6edf3 !important; }
.tcp-home .tcp-hero-pro__preview-dark .tcp-hero-pro__alert-text { color: #8b949e !important; }
.tcp-home .tcp-hero-pro__preview-dark .tcp-hero-pro__ticker { color: #e6edf3 !important; }

.tcp-home .tcp-hero-pro__dash-inner--compact {
    padding: 10px 12px 12px;
}

.tcp-home .tcp-hero-pro__feed {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tcp-home .tcp-hero-pro__feed-row {
    background: #0d1117;
    border-radius: 6px;
    padding: 6px 8px;
    border-left: 3px solid;
    font-size: 10px;
    line-height: 1.35;
}

.tcp-home .tcp-hero-pro__feed-row--exit {
    border-left-color: #1ed760;
}

.tcp-home .tcp-hero-pro__feed-row--entry {
    border-left-color: #378add;
}

.tcp-home .tcp-hero-pro__feed-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3px;
}

.tcp-home .tcp-hero-pro__feed-tag {
    font-family: "DM Mono", monospace;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.03em;
}

.tcp-home .tcp-hero-pro__feed-tag--exit {
    color: #1ed760;
}

.tcp-home .tcp-hero-pro__feed-tag--entry {
    color: #7eb8f7;
}

.tcp-home .tcp-hero-pro__feed-time {
    color: #6e7681;
    font-size: 9px;
}

.tcp-home .tcp-hero-pro__feed-body {
    color: #e6edf3;
    font-size: 10px;
}

.tcp-home .tcp-hero-pro__feed-hint {
    color: #6e7681;
    font-size: 9px;
}

.tcp-home .tcp-hero-pro__feed-note {
    color: #8b949e;
    font-size: 9px;
    margin-top: 2px;
}

.tcp-home .tcp-hero-pro__feed-note strong {
    color: #1ed760;
    font-weight: 600;
}

.tcp-home .tcp-hero-pro__sub-aux {
    margin-top: 14px;
    font-size: 13px;
}

.tcp-home .tcp-hero-pro__sub-aux-link {
    color: #7eb8f7;
    text-decoration: none;
    font-weight: 500;
}

.tcp-home .tcp-hero-pro__sub-aux-link:hover {
    color: #a8d4ff;
    text-decoration: underline;
}

.tcp-home .tcp-hero-pro__dash {
    background: #161b22;
    border: 0.5px solid rgba(230, 237, 243, 0.1);
    border-radius: 10px;
    overflow: hidden;
    font-size: 11px;
}

.tcp-home .tcp-hero-pro__dash-bar {
    background: #0d1117;
    border-bottom: 0.5px solid rgba(230, 237, 243, 0.08);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tcp-home .tcp-hero-pro__traffic-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.tcp-home .tcp-hero-pro__dash-title {
    font-size: 11px;
    color: #6e7681;
    font-family: "DM Mono", monospace;
    margin-left: 4px;
}

.tcp-home .tcp-hero-pro__dash-inner {
    padding: 14px;
}

.tcp-home .tcp-hero-pro__chart-label {
    display: block;
    font-size: 10px;
    line-height: 1.35;
    color: #6e7681;
    margin-bottom: 10px;
    font-family: "DM Mono", monospace;
}

/* No fixed height: pos+neg+strike labels are taller than the old 52px box, which caused overlap with the chart title */
.tcp-home .tcp-hero-pro__bars {
    display: flex;
    align-items: flex-end;
    gap: 3px;
    margin-bottom: 12px;
}

.tcp-home .tcp-hero-pro__bar-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1;
}

.tcp-home .tcp-hero-pro__bar-pos {
    background: #378add;
    border-radius: 2px 2px 0 0;
    width: 100%;
}

.tcp-home .tcp-hero-pro__bar-neg {
    background: #e87d2b;
    border-radius: 0 0 2px 2px;
    width: 100%;
}

.tcp-home .tcp-hero-pro__bar-x {
    font-size: 8px;
    color: #4a5568;
    font-family: "DM Mono", monospace;
}

.tcp-home .tcp-hero-pro__metrics {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

.tcp-home .tcp-hero-pro__mc {
    flex: 1;
    background: #0d1117;
    border: 0.5px solid rgba(230, 237, 243, 0.08);
    border-radius: 6px;
    padding: 8px 10px;
}

.tcp-home .tcp-hero-pro__mc-label {
    font-size: 9px;
    color: #6e7681;
    font-family: "DM Mono", monospace;
    margin-bottom: 4px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.tcp-home .tcp-hero-pro__mc-val {
    font-size: 15px;
    font-weight: 600;
    font-family: "DM Mono", monospace;
}

.tcp-home .tcp-hero-pro__mc-val--blue {
    color: #378add;
}

.tcp-home .tcp-hero-pro__mc-val--green {
    color: #1ed760;
}

.tcp-home .tcp-hero-pro__mc-val--amber {
    color: #f1a84e;
}

.tcp-home .tcp-hero-pro__mc-sub {
    font-size: 9px;
    color: #6e7681;
    margin-top: 3px;
    line-height: 1.4;
}

.tcp-home .tcp-hero-pro__trade-card {
    background: #0d1117;
    border: 0.5px solid rgba(230, 237, 243, 0.08);
    border-radius: 6px;
    padding: 10px;
}

.tcp-home .tcp-hero-pro__trade-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.tcp-home .tcp-hero-pro__ticker {
    font-size: 13px;
    font-weight: 600;
    color: #f0f6fc;
    font-family: "DM Mono", monospace;
}

.tcp-home .tcp-hero-pro__tag {
    font-size: 9px;
    padding: 2px 7px;
    border-radius: 10px;
    font-family: "DM Mono", monospace;
    font-weight: 500;
}

.tcp-home .tcp-hero-pro__tag--blue {
    background: rgba(55, 138, 221, 0.15);
    color: #7eb8f7;
}

.tcp-home .tcp-hero-pro__tag--green {
    background: rgba(30, 215, 96, 0.12);
    color: #1ed760;
}

.tcp-home .tcp-hero-pro__tag--amber {
    background: rgba(241, 168, 78, 0.15);
    color: #f1a84e;
}

.tcp-home .tcp-hero-pro__trade-row {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}

.tcp-home .tcp-hero-pro__trade-col {
    flex: 1;
}

.tcp-home .tcp-hero-pro__tc-label {
    font-size: 9px;
    color: #6e7681;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
}

.tcp-home .tcp-hero-pro__tc-val {
    font-size: 12px;
    color: #f0f6fc;
    font-family: "DM Mono", monospace;
}

.tcp-home .tcp-hero-pro__tc-val--green {
    color: #1ed760;
}

.tcp-home .tcp-hero-pro__tc-val--red {
    color: #f47067;
}

.tcp-home .tcp-hero-pro__trade-meta {
    font-size: 10px;
    color: #6e7681;
    margin-bottom: 4px;
}

.tcp-home .tcp-hero-pro__alert-strip {
    margin-top: 8px;
    background: rgba(30, 215, 96, 0.07);
    border: 0.5px solid rgba(30, 215, 96, 0.2);
    border-radius: 4px;
    padding: 5px 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tcp-home .tcp-hero-pro__alert-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #1ed760;
    flex-shrink: 0;
    animation: tcp-hero-pro-pulse 1.8s infinite;
}

.tcp-home .tcp-hero-pro__alert-text {
    font-size: 10px;
    color: #1ed760;
    font-family: "DM Mono", monospace;
}

@media (max-width: 720px) {
    .tcp-home .tcp-hero-pro {
        flex-direction: column;
        padding: 36px 24px 32px;
        gap: 32px;
        min-height: 0;
    }

    .tcp-home .tcp-hero-pro__right {
        flex: unset;
        width: 100%;
    }

    .tcp-home .tcp-hero-pro__headline {
        font-size: 36px;
    }
}

/* ─── LIGHT MODE ─── */
html[data-theme="light"] .tcp-home .tcp-hero-pro-outer {
    background: #f0f2f5;
}

html[data-theme="light"] .tcp-home .tcp-hero-pro {
    background: #fff;
    color: #1a1d23;
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
}

html[data-theme="light"] .tcp-home .tcp-hero-pro::before {
    background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(6, 139, 234, 0.04) 0%, transparent 70%);
}

html[data-theme="light"] .tcp-home .tcp-hero-pro__pill {
    background: rgba(6, 139, 234, 0.08);
    border-color: rgba(6, 139, 234, 0.2);
    color: #068bea;
}

html[data-theme="light"] .tcp-home .tcp-hero-pro__pill-dot {
    background: #068bea;
}

html[data-theme="light"] .tcp-home .tcp-hero-pro__headline {
    color: #1a1d23;
}

html[data-theme="light"] .tcp-home .tcp-hero-pro__headline em {
    color: #068bea;
}

html[data-theme="light"] .tcp-home .tcp-hero-pro__sub {
    color: #686b75;
}

html[data-theme="light"] .tcp-home .tcp-hero-pro__btn-secondary {
    color: #1a1d23;
    border-color: rgba(0, 0, 0, 0.2);
}

html[data-theme="light"] .tcp-home .tcp-hero-pro__btn-secondary:hover {
    border-color: rgba(0, 0, 0, 0.4);
    color: #1a1d23;
}

html[data-theme="light"] .tcp-home .tcp-hero-pro__trust-item {
    color: #686b75;
}

html[data-theme="light"] .tcp-home .tcp-hero-pro__sub-aux-link {
    color: #068bea;
}

html[data-theme="light"] .tcp-home .tcp-hero-pro__sub-aux-link:hover {
    color: #0470c4;
}
