body {
    background: #030811;
    color: #e5f4ff;
}

.landing-v2 {
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 12%, rgba(20, 184, 166, 0.18), transparent 32rem),
        radial-gradient(circle at 78% 6%, rgba(14, 165, 233, 0.12), transparent 36rem),
        linear-gradient(180deg, #030811 0%, #071321 46%, #030811 100%);
}

.terminal-hero {
    position: relative;
    min-height: calc(100vh - 72px);
    padding: 1rem 0 4.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-bottom: 1px solid rgba(94, 234, 212, 0.14);
}

.terminal-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(3, 8, 17, 0.58), rgba(3, 8, 17, 0.2)),
        url('/images/landingPages/tp-trader-hero-terminal.png') center right / cover no-repeat;
    opacity: 0.46;
}

.terminal-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 210px;
    background: linear-gradient(180deg, transparent, #071321);
}

.terminal-hero > .container,
.hero-market-strip {
    position: relative;
    z-index: 1;
}

.hero-market-strip {
    width: max-content;
    display: flex;
    gap: 0.65rem;
    margin-bottom: 2.4rem;
    padding: 0.6rem 0;
    animation: tickerDrift 36s linear infinite;
}

.hero-market-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: max-content;
    padding: 0.5rem 0.72rem;
    border: 1px solid rgba(94, 234, 212, 0.16);
    border-radius: 8px;
    background: rgba(8, 22, 36, 0.78);
    color: #b7d3e7;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2);
}

.hero-market-chip strong {
    color: #ffffff;
}

.hero-market-chip em,
.is-up {
    color: #45e0bf !important;
    font-style: normal;
}

.is-down {
    color: #fb7185 !important;
}

.terminal-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(430px, 0.82fr);
    gap: 3rem;
    align-items: center;
}

.terminal-hero-copy h1 {
    max-width: 820px;
    margin: 0;
    color: #ffffff;
    font-size: clamp(3.4rem, 6vw, 6.9rem);
    line-height: 0.96;
    font-weight: 950;
    letter-spacing: 0;
}

.terminal-hero-copy p {
    max-width: 690px;
    margin: 1.35rem 0 0;
    color: #c4d8e9;
    font-size: clamp(1.1rem, 1.6vw, 1.35rem);
    line-height: 1.55;
    font-weight: 650;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 2rem;
}

.terminal-primary-link,
.terminal-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    min-height: 48px;
    padding: 0.85rem 1.35rem;
    border-radius: 8px;
    font-weight: 900;
    text-decoration: none;
}

.terminal-primary-link {
    border: 1px solid rgba(94, 234, 212, 0.36);
    background: linear-gradient(135deg, #12b981, #0f766e);
    color: #ffffff !important;
    box-shadow: 0 18px 45px rgba(20, 184, 166, 0.24);
}

.terminal-secondary-link {
    border: 1px solid rgba(148, 163, 184, 0.28);
    background: rgba(255, 255, 255, 0.055);
    color: #e2f3ff !important;
}

.hero-proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    max-width: 620px;
    margin-top: 2rem;
}

.hero-proof-grid div,
.hero-terminal-card,
.terminal-market-card,
.market-table-panel,
.guide-card,
.portal-panel,
.withdrawal-ticket,
.reward-certificate,
.review-card {
    border: 1px solid rgba(148, 163, 184, 0.15);
    background: rgba(9, 23, 38, 0.76);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.24);
    backdrop-filter: blur(18px);
}

.hero-proof-grid div {
    padding: 1rem;
    border-radius: 8px;
}

.hero-proof-grid strong {
    display: block;
    color: #ffffff;
    font-size: 1.5rem;
    line-height: 1.8rem;
}

.hero-proof-grid span {
    display: block;
    color: #94aec3;
    font-weight: 750;
}

.hero-terminal-card {
    border-radius: 8px;
    overflow: hidden;
}

.terminal-window-bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    background: rgba(255, 255, 255, 0.04);
}

.terminal-window-bar span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #fb7185;
}

.terminal-window-bar span:nth-child(2) {
    background: #fbbf24;
}

.terminal-window-bar span:nth-child(3) {
    background: #45e0bf;
}

.terminal-window-bar strong {
    margin-left: auto;
    color: #91acc1;
    font-size: 0.82rem;
}

.terminal-chart-preview {
    position: relative;
    min-height: 260px;
    padding: 1rem;
}

.terminal-chart-preview svg {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 230px;
}

.chart-grid-lines {
    position: absolute;
    inset: 1rem;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.1) 1px, transparent 1px);
    background-size: 72px 52px;
}

.terminal-watchlist {
    display: grid;
    gap: 0.55rem;
    padding: 0 1rem 1rem;
}

.terminal-watch-row {
    display: grid;
    grid-template-columns: 58px 1fr auto;
    gap: 0.7rem;
    align-items: center;
    padding: 0.72rem;
    border: 1px solid rgba(148, 163, 184, 0.13);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
}

.terminal-watch-row span {
    color: #5eead4;
    font-weight: 950;
}

.terminal-watch-row strong {
    color: #ffffff;
    font-size: 1.05rem;
    text-align: right;
}

.terminal-watch-row em {
    font-style: normal;
    font-weight: 950;
}

.landing-section {
    padding: 5.2rem 0;
    scroll-margin-top: 118px;
}

.section-heading-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.section-heading-row h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 3vw, 3.2rem);
    line-height: 1.05;
    font-weight: 950;
}

.section-heading-row p {
    max-width: 720px;
    margin: 0.7rem 0 0;
    color: #97b0c5;
    font-size: 1.08rem;
    line-height: 1.55;
    font-weight: 650;
}

.market-sync-strip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: max-content;
    padding: 0.55rem 0.78rem;
    border: 1px solid rgba(45, 212, 191, 0.28);
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.11);
    color: #d7ecfb;
    font-weight: 900;
}

.market-live-dot {
    width: 0.72rem;
    height: 0.72rem;
    border-radius: 999px;
    background: #2dd4bf;
    box-shadow: 0 0 0 7px rgba(45, 212, 191, 0.14);
}

.market-sync-strip strong {
    color: #5eead4;
}

.market-mode-switch {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.2rem;
}

.market-mode-switch button {
    min-height: 42px;
    padding: 0.6rem 1rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    color: #c9dff0;
    font-weight: 900;
}

.market-mode-switch button.active {
    border-color: rgba(94, 234, 212, 0.38);
    background: rgba(20, 184, 166, 0.18);
    color: #5eead4;
}

.market-mode-switch > span {
    color: #7f9bb2;
    font-weight: 750;
}

.market-board-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
    gap: 1rem;
}

.market-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.terminal-market-card {
    min-height: 168px;
    padding: 1rem;
    border-radius: 8px;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.market-card-flash {
    border-color: rgba(94, 234, 212, 0.45);
    background: rgba(20, 184, 166, 0.11);
    box-shadow: 0 0 42px rgba(20, 184, 166, 0.16);
}

.terminal-market-card-top,
.home-market-table-name {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 0;
}

.market-logo-shell,
.home-market-table-logo-holder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.92);
    color: #0f766e;
    font-weight: 950;
}

.market-logo-shell {
    width: 46px;
    height: 46px;
}

.home-market-table-logo-holder {
    width: 34px;
    height: 34px;
    font-size: 0.72rem;
}

.market-logo-shell img,
.home-market-table-logo {
    max-width: 72%;
    max-height: 72%;
    object-fit: contain;
}

.terminal-market-card-top strong,
.home-market-table-name span {
    display: block;
    color: #ffffff;
    font-weight: 950;
}

.terminal-market-card-top span {
    display: block;
    color: #8faac0;
    font-size: 0.82rem;
    font-weight: 750;
}

.terminal-market-price {
    margin-top: 1.2rem;
    color: #ffffff;
    font-size: 2rem;
    line-height: 2.3rem;
    font-weight: 950;
    transition: color 0.16s ease, text-shadow 0.16s ease;
}

.terminal-market-price.tick-flash {
    text-shadow: 0 0 22px currentColor;
}

.terminal-market-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.8rem;
    color: #7f9bb2;
    font-size: 0.82rem;
    font-weight: 850;
}

.market-table-panel {
    overflow: hidden;
    border-radius: 8px;
}

.market-table-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.market-table-heading strong {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 950;
}

.market-table-heading span {
    padding: 0.4rem 0.65rem;
    border-radius: 999px;
    background: rgba(45, 212, 191, 0.12);
    color: #5eead4;
    font-weight: 900;
}

.market-table-scroll {
    max-height: 655px;
    overflow: auto;
}

.market-table-scroll::-webkit-scrollbar,
.withdrawal-marquee::-webkit-scrollbar {
    height: 8px;
    width: 8px;
}

.market-table-scroll::-webkit-scrollbar-thumb,
.withdrawal-marquee::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(94, 234, 212, 0.42);
}

.home-market-table {
    width: 100%;
    min-width: 780px;
    border-collapse: collapse;
}

.home-market-table th,
.home-market-table td {
    padding: 0.95rem 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    color: #d9e9f6;
    vertical-align: middle;
}

.home-market-table th {
    position: sticky;
    top: 0;
    z-index: 1;
    background: rgba(9, 23, 38, 0.96);
    color: #7f9bb2;
    font-size: 0.78rem;
    font-weight: 950;
    text-transform: uppercase;
}

.home-market-table td {
    font-size: 0.96rem;
    font-weight: 850;
}

.guide-section {
    border-top: 1px solid rgba(94, 234, 212, 0.1);
    border-bottom: 1px solid rgba(94, 234, 212, 0.1);
    background:
        radial-gradient(circle at 8% 30%, rgba(45, 212, 191, 0.12), transparent 26rem),
        rgba(3, 8, 17, 0.34);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.6rem;
}

.guide-card {
    min-height: 210px;
    padding: 1.35rem;
    border-radius: 8px;
}

.guide-card span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(45, 212, 191, 0.13);
    color: #5eead4;
    font-weight: 950;
}

.guide-card h3 {
    margin: 1.1rem 0 0.55rem;
    color: #ffffff;
    font-size: 1.22rem;
    font-weight: 950;
}

.guide-card p {
    margin: 0;
    color: #a9bfd2;
    line-height: 1.55;
    font-weight: 700;
}

.proof-section {
    background: linear-gradient(180deg, rgba(7, 19, 33, 0.4), rgba(3, 8, 17, 0.95));
}

.withdrawal-marquee {
    display: flex;
    gap: 1rem;
    overflow: hidden;
    padding: 0.5rem 0 1.4rem;
}

.withdrawal-marquee-track {
    display: flex;
    flex: 0 0 auto;
    gap: 1rem;
    min-width: max-content;
    animation: withdrawalSlide 42s linear infinite;
}

.withdrawal-marquee:hover .withdrawal-marquee-track,
.review-wall:hover .review-track {
    animation-play-state: paused;
}

.withdrawal-ticket {
    min-width: 320px;
    padding: 1rem;
    border-radius: 8px;
}

.withdrawal-ticket div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.withdrawal-ticket span,
.withdrawal-ticket em {
    color: #8faac0;
    font-style: normal;
    font-weight: 850;
}

.withdrawal-ticket strong {
    color: #ffffff;
    font-size: 1.18rem;
    font-weight: 950;
}

.withdrawal-ticket small {
    display: inline-flex;
    margin-top: 0.8rem;
    padding: 0.32rem 0.55rem;
    border-radius: 999px;
    background: rgba(20, 184, 166, 0.14);
    color: #5eead4;
    font-weight: 950;
}

.proof-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.reward-card-stack {
    display: grid;
    gap: 1rem;
}

.reward-certificate {
    position: relative;
    overflow: hidden;
    min-height: 220px;
    padding: 1.4rem;
    border-radius: 8px;
}

.reward-certificate::after {
    content: "";
    position: absolute;
    right: -42px;
    bottom: -42px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 18px solid rgba(94, 234, 212, 0.12);
}

.reward-certificate span {
    color: #5eead4;
    font-weight: 950;
}

.reward-certificate strong {
    display: block;
    margin-top: 1.2rem;
    color: #ffffff;
    font-size: 2.4rem;
    line-height: 2.8rem;
    font-weight: 950;
}

.reward-certificate p {
    margin: 0.5rem 0;
    color: #c5dbeb;
    font-size: 1.2rem;
    font-weight: 900;
}

.reward-certificate em {
    color: #8faac0;
    font-style: normal;
    font-weight: 760;
}

.reward-certificate.muted {
    opacity: 0.82;
}

.review-wall {
    overflow: hidden;
    min-height: 460px;
    mask-image: linear-gradient(180deg, transparent, #000 10%, #000 90%, transparent);
}

.review-track {
    display: grid;
    gap: 1rem;
    animation: reviewRise 22s linear infinite;
}

.review-card {
    padding: 1.25rem;
    border-radius: 8px;
}

.review-card span {
    color: #fbbf24;
    font-weight: 950;
}

.review-card p {
    margin: 0.8rem 0;
    color: #d7e9f7;
    font-size: 1rem;
    line-height: 1.55;
    font-weight: 700;
}

.review-card strong {
    color: #5eead4;
}

.portal-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 2rem;
    border-radius: 8px;
}

.portal-panel h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(2rem, 3vw, 3.2rem);
    font-weight: 950;
}

.portal-panel p {
    margin: 0.6rem 0 0;
    color: #98b5ca;
    font-size: 1.1rem;
    font-weight: 680;
}

@keyframes tickerDrift {
    from { transform: translateX(0); }
    to { transform: translateX(-48%); }
}

@keyframes withdrawalSlide {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-100% - 1rem)); }
}

@keyframes reviewRise {
    from { transform: translateY(0); }
    to { transform: translateY(-45%); }
}

@media (prefers-reduced-motion: reduce) {
    .hero-market-strip,
    .withdrawal-marquee-track,
    .review-track {
        animation: none;
    }
}

@media (max-width: 1199.98px) {
    .terminal-hero-grid,
    .market-board-layout,
    .guide-grid,
    .proof-grid {
        grid-template-columns: 1fr;
    }

    .hero-terminal-card {
        max-width: 720px;
    }
}

@media (max-width: 767.98px) {
    .terminal-hero {
        min-height: auto;
        padding: 1rem 0 3.5rem;
    }

    .terminal-hero::before {
        background-position: 66% center;
        opacity: 0.34;
    }

    .terminal-hero-copy h1 {
        font-size: 3rem;
    }

    .terminal-hero-copy p {
        font-size: 1rem;
    }

    .hero-proof-grid,
    .market-card-grid,
    .guide-grid,
    .portal-panel {
        grid-template-columns: 1fr;
    }

    .section-heading-row,
    .portal-panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-terminal-card {
        display: none;
    }

    .market-board-layout {
        gap: 1.3rem;
    }

    .terminal-market-price {
        font-size: 1.72rem;
    }

    .market-table-panel {
        overflow: visible;
    }

    .market-table-scroll {
        max-height: none;
        overflow: visible;
    }

    .home-market-table {
        display: block;
        min-width: 0;
    }

    .home-market-table thead {
        display: none;
    }

    .home-market-table tbody,
    .home-market-table tr,
    .home-market-table td {
        display: block;
        width: 100%;
    }

    .home-market-table tbody {
        padding: 0.4rem 0.8rem 0.8rem;
    }

    .home-market-table tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(104px, auto);
        gap: 0.7rem 1rem;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(148, 163, 184, 0.14);
    }

    .home-market-table tr:last-child {
        border-bottom: 0;
    }

    .home-market-table td {
        padding: 0;
        border-bottom: 0;
        color: #d9e9f6;
    }

    .home-market-main-cell {
        grid-row: span 4;
    }

    .home-market-table td:not(.home-market-main-cell) {
        display: flex;
        justify-content: space-between;
        gap: 0.8rem;
        text-align: right;
    }

    .home-market-table td:not(.home-market-main-cell)::before {
        content: attr(data-label);
        color: #7f9bb2;
        font-size: 0.76rem;
        font-weight: 950;
        text-transform: uppercase;
    }

    .home-market-table-name {
        align-items: flex-start;
    }

    .home-market-table-name span {
        white-space: normal;
    }

    .withdrawal-ticket {
        min-width: 280px;
    }

    .reward-certificate strong {
        font-size: 2rem;
    }
}

body.landing-theme-light {
    background: #f5f9fc;
    color: #102033;
}

body.landing-theme-light .landing-v2 {
    background:
        radial-gradient(circle at 18% 10%, rgba(20, 184, 166, 0.14), transparent 32rem),
        radial-gradient(circle at 82% 3%, rgba(14, 165, 233, 0.1), transparent 34rem),
        linear-gradient(180deg, #f5f9fc 0%, #ffffff 48%, #edf6f8 100%);
}

body.landing-theme-light .terminal-hero {
    border-bottom-color: rgba(15, 118, 110, 0.13);
}

body.landing-theme-light .terminal-hero::before {
    background:
        linear-gradient(90deg, rgba(245, 249, 252, 0.92), rgba(245, 249, 252, 0.52)),
        url('/images/landingPages/tp-trader-hero-terminal.png') center right / cover no-repeat;
    opacity: 0.58;
}

body.landing-theme-light .terminal-hero::after {
    background: linear-gradient(180deg, transparent, #f5f9fc);
}

body.landing-theme-light .terminal-hero-copy h1,
body.landing-theme-light .section-heading-row h2,
body.landing-theme-light .portal-panel h2,
body.landing-theme-light .hero-proof-grid strong,
body.landing-theme-light .market-table-heading strong,
body.landing-theme-light .home-market-table-name span,
body.landing-theme-light .guide-card h3,
body.landing-theme-light .review-card p,
body.landing-theme-light .withdrawal-ticket strong,
body.landing-theme-light .reward-certificate strong {
    color: #102033;
}

body.landing-theme-light .terminal-hero-copy p,
body.landing-theme-light .section-heading-row p,
body.landing-theme-light .portal-panel p,
body.landing-theme-light .hero-proof-grid span,
body.landing-theme-light .market-table-heading span,
body.landing-theme-light .home-market-table td,
body.landing-theme-light .guide-card p,
body.landing-theme-light .withdrawal-ticket em,
body.landing-theme-light .reward-certificate em {
    color: #587083;
}

body.landing-theme-light .hero-proof-grid div,
body.landing-theme-light .hero-terminal-card,
body.landing-theme-light .terminal-market-card,
body.landing-theme-light .market-table-panel,
body.landing-theme-light .guide-card,
body.landing-theme-light .portal-panel,
body.landing-theme-light .withdrawal-ticket,
body.landing-theme-light .reward-certificate,
body.landing-theme-light .review-card {
    border-color: rgba(15, 118, 110, 0.14);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 24px 54px rgba(15, 23, 42, 0.08);
}

body.landing-theme-light .terminal-window-bar,
body.landing-theme-light .terminal-watch-row,
body.landing-theme-light .market-mode-switch,
body.landing-theme-light .home-market-table tr {
    border-color: rgba(15, 118, 110, 0.12);
    background: rgba(15, 118, 110, 0.045);
}

body.landing-theme-light .hero-market-chip {
    border-color: rgba(15, 118, 110, 0.14);
    background: rgba(255, 255, 255, 0.88);
    color: #587083;
}

body.landing-theme-light .guide-section {
    border-color: rgba(15, 118, 110, 0.12);
    background:
        radial-gradient(circle at 8% 30%, rgba(20, 184, 166, 0.12), transparent 26rem),
        rgba(255, 255, 255, 0.48);
}

body.landing-theme-light .hero-market-chip strong,
body.landing-theme-light .terminal-watch-row strong,
body.landing-theme-light .terminal-market-card-top strong {
    color: #102033;
}

body.landing-theme-light .market-table-scroll {
    background: rgba(255, 255, 255, 0.55);
}

body.landing-theme-light .terminal-secondary-link {
    border-color: rgba(15, 118, 110, 0.18);
    background: rgba(255, 255, 255, 0.84);
    color: #102033 !important;
}

body.landing-theme-light .home-market-table thead th {
    color: #5f7487;
    background: rgba(15, 118, 110, 0.055);
}

body.landing-theme-light .home-market-table td:not(.home-market-main-cell)::before {
    color: #7a8fa2;
}
