/* IMPORTANTE: Asegúrate de incluir Bootstrap 5 antes de este archivo en el HTML */

:root {
    /* Brand Colors (TRADEPRO Theme) */
    --uty-green: #00E676;
    --uty-green-hover: #00C853;
    --uty-dark: #080D11;
    --uty-dark-surface: #0E1620;
    --uty-dark-card: #121C27;
    --uty-dark-card-hover: #162433;
    --uty-dark-border: rgba(255, 255, 255, 0.08);
    --uty-dark-border-green: rgba(0, 230, 118, 0.25);
    --uty-gold: #D4AF37;
    --uty-light-bg: #080D11;
    --uty-white: #FFFFFF;
    --uty-danger: #EF4444;

    /* Effects */
    --glass-bg: rgba(14, 22, 32, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.35);
    --neumorph-shadow: 5px 5px 10px #04070a, -5px -5px 10px #0e1620;
}

body {
    background-color: var(--uty-dark);
    color: #E2E8F0;
    font-family: 'Inter', 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

/* UTILIDADES GLASSMORPHISM */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: var(--glass-border);
    box-shadow: var(--glass-shadow);
}

.glass-card {
    background: rgba(18, 28, 39, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

/* TEXTOS Y BOTONES */
.text-brand-green { color: var(--uty-green) !important; }
.text-brand-dark { color: #ffffff !important; }

.btn-brand-green {
    background-color: var(--uty-green);
    color: #080D11 !important;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    padding: 0.65rem 1.6rem;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 4px 18px rgba(0, 230, 118, 0.25);
}

.btn-brand-green:hover {
    background-color: var(--uty-green-hover);
    color: #080D11 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 230, 118, 0.4);
}

.btn-uty-primary {
    background-color: var(--uty-green);
    color: #080D11 !important;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.25);
}

.btn-uty-primary:hover {
    background-color: var(--uty-green-hover);
    transform: translateY(-2px);
    color: #080D11 !important;
    box-shadow: 0 6px 20px rgba(0, 230, 118, 0.4);
}

.btn-uty-outline {
    background: transparent;
    border: 2px solid var(--uty-dark);
    color: var(--uty-dark);
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 25px;
    transition: all 0.3s ease;
}

.btn-uty-outline:hover {
    background: var(--uty-dark);
    color: #fff;
}

/* --- AGREGAR AL FINAL DE assets/css/main.css --- */

/* HERO SECTION */
.hero-section {
    position: relative;
    padding: 160px 0 100px; /* Padding top compensa el navbar fixed */
    background: linear-gradient(135deg, #F4F6F9 0%, #E2E6EA 100%);
    overflow: hidden;
}

.hero-bg-shape {
    position: absolute;
    top: -10%;
    right: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle, rgba(0,209,102,0.05) 0%, rgba(255,255,255,0) 70%);
    z-index: 0;
}

/* CARDS NEUMÓRFICAS (Trust Section) */
.card-neumorph {
    background: #F4F6F9;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow: 9px 9px 16px rgba(163,177,198,0.5),
               -9px -9px 16px rgba(255,255,255,0.8);
    padding: 2rem;
    transition: all 0.3s ease;
}

.card-neumorph:hover {
    transform: translateY(-5px);
    box-shadow: 12px 12px 20px rgba(163,177,198,0.6),
               -12px -12px 20px rgba(255,255,255,0.9);
}

.icon-box {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #F4F6F9;
    box-shadow: inset 4px 4px 8px rgba(163,177,198,0.4),
                inset -4px -4px 8px rgba(255,255,255,0.8);
    color: var(--uty-green);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* SIMULATOR WIDGET */
.range-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: #d3d3d3;
    outline: none;
    opacity: 0.7;
    transition: opacity .2s;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--uty-green);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0,209,102,0.5);
}

.profit-display {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(90deg, var(--uty-dark), var(--uty-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: -100%; /* Oculto inicialmente */
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -5px 25px rgba(0,0,0,0.1);
    z-index: 9999;
    transition: bottom 0.5s ease-in-out;
    border-top: 4px solid var(--uty-green);
}

.cookie-banner.show {
    bottom: 0;
}

/* TRD Station - ajustes aditivos solicitados. No modifica la paleta existente. */
.trd-open-account {
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 120px;
    text-align: center;
}

.iti {
    width: 100%;
}

.trd-simulator-actions .btn {
    min-width: 130px;
}

@media (max-width: 991.98px) {
    .trd-open-account {
        min-width: 0;
    }
}

/* Módulo Mercados */
.markets-hero {
    --market-accent: var(--uty-green);
    --market-accent-rgb: 0, 209, 102;
    position: relative;
    overflow: hidden;
    padding: 4.5rem 0;
    background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
}
.markets-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(11, 36, 71, 0.80) 100%),
        url('../img/heroes/hero-markets-bg.jpg') center / cover no-repeat;
    z-index: 0;
    pointer-events: none;
}

.markets-hero--forex {
    --market-accent: #5b9cff;
    --market-accent-rgb: 91, 156, 255;
    background: linear-gradient(135deg, #0f172a 0%, #0b2447 100%);
}

.markets-hero--indices {
    background: linear-gradient(135deg, #0f172a 0%, #073b2b 100%);
}

.markets-hero--stocks {
    --market-accent: #6edff6;
    --market-accent-rgb: 110, 223, 246;
    background: linear-gradient(135deg, #0f172a 0%, #12354a 100%);
}

.markets-hero--crypto {
    --market-accent: #ffc107;
    --market-accent-rgb: 255, 193, 7;
    background: linear-gradient(135deg, #0f172a 0%, #402f08 100%);
}

.markets-hero--commodities {
    --market-accent: #e0b45a;
    --market-accent-rgb: 224, 180, 90;
    background: linear-gradient(135deg, #0f172a 0%, #3c2818 100%);
}

.markets-hero__glow {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 82% 35%, rgba(var(--market-accent-rgb), 0.22), transparent 27%),
        linear-gradient(115deg, transparent 55%, rgba(255, 255, 255, 0.035) 55% 56%, transparent 56%);
    pointer-events: none;
}

.markets-hero__eyebrow {
    color: var(--market-accent);
    letter-spacing: 0.12em;
}

.markets-hero__description {
    max-width: 47rem;
}

.markets-hero__visual {
    position: relative;
    min-height: 22rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 2rem;
    background: rgba(255, 255, 255, 0.045);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 2rem 5rem rgba(0, 0, 0, 0.25);
}

.markets-hero__visual::before,
.markets-hero__visual::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(var(--market-accent-rgb), 0.3);
    border-radius: 50%;
}

.markets-hero__visual::before {
    width: 15rem;
    height: 15rem;
}

.markets-hero__visual::after {
    width: 9rem;
    height: 9rem;
    border-style: dashed;
}

.markets-hero__core {
    position: relative;
    z-index: 1;
    width: 6.5rem;
    height: 6.5rem;
    display: grid;
    place-items: center;
    border-radius: 1.75rem;
    color: #fff;
    font-size: 2.5rem;
    background: rgba(var(--market-accent-rgb), 0.2);
    border: 1px solid rgba(var(--market-accent-rgb), 0.55);
    box-shadow: 0 0 3rem rgba(var(--market-accent-rgb), 0.2);
}

.markets-hero__items {
    position: absolute;
    inset: 0;
}

.markets-hero__item {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.8rem;
}

.markets-hero__item i {
    color: var(--market-accent);
}

.markets-hero__item:nth-child(1) {
    top: 15%;
    left: 8%;
}

.markets-hero__item:nth-child(2) {
    top: 23%;
    right: 6%;
}

.markets-hero__item:nth-child(3) {
    right: 16%;
    bottom: 12%;
}

#market-content {
    scroll-margin-top: 5rem;
}

.markets-overview__intro {
    max-width: 35rem;
}

.markets-category-card {
    --card-accent: var(--uty-green);
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.09);
    border-top: 3px solid var(--card-accent);
    border-radius: 1rem;
    box-shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.markets-category-card--forex { --card-accent: #0d6efd; }
.markets-category-card--stocks { --card-accent: #0dcaf0; }
.markets-category-card--crypto { --card-accent: #d49d00; }
.markets-category-card--commodities { --card-accent: #b7793c; }

.markets-category-card:hover {
    transform: translateY(-0.3rem);
    box-shadow: 0 1rem 2.5rem rgba(15, 23, 42, 0.11);
}

.markets-category-card__icon {
    width: 3.25rem;
    height: 3.25rem;
    display: grid;
    place-items: center;
    margin-bottom: 1.25rem;
    color: var(--card-accent);
    background: #f4f6f9;
    border-radius: 0.9rem;
    font-size: 1.3rem;
}

.markets-category-card__link {
    margin-top: auto;
    color: var(--uty-dark);
    text-decoration: none;
}

.markets-category-card__link:hover,
.markets-category-card__link:focus-visible {
    color: var(--card-accent);
}

#markets-tabs .nav-link.active {
    background-color: var(--uty-dark);
}

.markets-contact-card {
    padding: clamp(1.5rem, 4vw, 3rem);
    overflow: hidden;
}

.markets-contact-form,
.markets-contact-form .form-control,
.markets-contact-form .iti {
    width: 100%;
    min-width: 0;
}

.markets-contact-form .form-control {
    padding: 0.8rem 1rem;
}

@media (max-width: 991.98px) {
    .markets-hero {
        padding: 3.5rem 0;
    }

    .markets-hero__visual {
        min-height: 19rem;
    }
}

@media (max-width: 767.98px) {
    .markets-hero {
        padding: 2.5rem 0;
    }

    .markets-hero .display-3 {
        font-size: clamp(2.35rem, 11vw, 3.5rem);
    }

    .markets-hero__visual {
        min-height: 17rem;
    }

    .markets-hero__visual::before {
        width: 12rem;
        height: 12rem;
    }

    .markets-hero__item:nth-child(1) {
        left: 4%;
    }

    .markets-hero__item:nth-child(2) {
        right: 3%;
    }

    .markets-hero__item:nth-child(3) {
        right: 8%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .markets-category-card {
        transition: none;
    }
}

/* ==========================================================================
   ACCOUNTS HERO (FASE 2)
   ========================================================================== */
.accounts-hero {
    position: relative;
    padding: 140px 0 100px;
    background: linear-gradient(135deg, #09101a 0%, #111a26 100%);
    overflow: hidden;
    color: #fff;
}
.accounts-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(9, 16, 26, 0.88) 0%, rgba(17, 26, 38, 0.82) 100%),
        url('../img/heroes/hero-accounts-bg.webp') center / cover no-repeat;
    z-index: 0;
    pointer-events: none;
}

.accounts-hero__glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 209, 102, 0.08) 0%, transparent 60%);
    top: 50%;
    right: -100px;
    transform: translateY(-50%);
    z-index: 0;
    pointer-events: none;
}

.accounts-hero__grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.04;
    background-image:
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1), transparent);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1), transparent);
}

.accounts-hero__content {
    position: relative;
    z-index: 2;
}

.accounts-hero__eyebrow {
    display: inline-block;
    color: var(--uty-green);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    padding: 0.4rem 1rem;
    background: rgba(0, 209, 102, 0.1);
    border: 1px solid rgba(0, 209, 102, 0.2);
    border-radius: 50px;
}

.accounts-hero__title {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.accounts-hero__description {
    font-size: 1.1rem;
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.accounts-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.accounts-hero__actions .btn {
    padding: 0.8rem 1.8rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.accounts-hero__actions .btn-primary {
    background: var(--uty-green);
    border: none;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 209, 102, 0.3);
}

.accounts-hero__actions .btn-primary:hover {
    background: #00b355;
    transform: translateY(-2px);
    color: #fff;
}

.accounts-hero__actions .btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(10px);
}

.accounts-hero__actions .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.accounts-hero__visual {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 400px;
}

.accounts-hero__orbit {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: center;
    align-items: center;
}

.accounts-hero__core {
    width: 100px;
    height: 100px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.accounts-hero__core i {
    font-size: 1.8rem;
    color: var(--uty-green);
    margin-bottom: 5px;
}

.accounts-hero__core span {
    font-size: 0.6rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.accounts-hero__tier {
    position: absolute;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, border-color 0.3s ease;
    animation: float-tier 4s ease-in-out infinite alternate;
}

@keyframes float-tier {
    0% { transform: translateY(0); }
    100% { transform: translateY(-8px); }
}

.accounts-hero__tier:hover {
    border-color: rgba(255, 255, 255, 0.4);
    z-index: 10;
}

.accounts-hero__tier-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
}

.accounts-hero__tier-info {
    display: flex;
    flex-direction: column;
}

.accounts-hero__tier-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

/* Tier specific styles */
.accounts-hero__tier--standard { top: -15px; left: 20px; animation-delay: 0s; }
.accounts-hero__tier--standard .accounts-hero__tier-icon { background: rgba(160, 174, 192, 0.15); color: #a0aec0; }

.accounts-hero__tier--gold { top: 40px; right: -40px; animation-delay: 1s; }
.accounts-hero__tier--gold .accounts-hero__tier-icon { background: rgba(212, 175, 55, 0.15); color: #D4AF37; }

.accounts-hero__tier--platinum { bottom: 20px; right: -10px; animation-delay: 2s; }
.accounts-hero__tier--platinum .accounts-hero__tier-icon { background: rgba(110, 223, 246, 0.15); color: #6edff6; }

.accounts-hero__tier--vip { bottom: -20px; left: -10px; animation-delay: 3s; }
.accounts-hero__tier--vip .accounts-hero__tier-icon { background: rgba(255, 193, 7, 0.15); color: #ffc107; }

.accounts-hero__lines {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.05);
    transform: scale(1.35);
    pointer-events: none;
}

#account-types {
    scroll-margin-top: 5rem;
}

@media (max-width: 991.98px) {
    .accounts-hero {
        padding: 120px 0 80px;
        text-align: center;
    }

    .accounts-hero__description {
        margin: 0 auto 2.5rem;
    }

    .accounts-hero__actions {
        justify-content: center;
        margin-bottom: 4rem;
    }

    .accounts-hero__visual {
        min-height: 350px;
    }
}

@media (max-width: 767.98px) {
    .accounts-hero__orbit {
        width: 260px;
        height: 260px;
    }

    .accounts-hero__tier {
        padding: 8px 12px;
    }

    .accounts-hero__tier-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }

    .accounts-hero__tier--gold { right: -20px; }
}

@media (prefers-reduced-motion: reduce) {
    .accounts-hero__tier {
        animation: none;
    }
}

/* ---------------------------------------------------
   ACCOUNT TYPES SECTION (CARDS)
--------------------------------------------------- */
.accounts-types-section {
    background-color: #f8fafc;
    background-image: linear-gradient(to bottom, #0A1128 0%, #f8fafc 280px);
    padding: 6rem 0 6rem;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .accounts-types-section {
        background-image: linear-gradient(to bottom, #0A1128 0%, #f8fafc 350px);
        padding-top: 4rem;
    }
}

.accounts-types-heading {
    margin-bottom: 4rem;
}

.accounts-types-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.accounts-types-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
}

.accounts-types-intro {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.account-tier-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.account-tier-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.account-tier-card__header {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.account-tier-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.account-tier-card__number {
    font-size: 1rem;
    font-weight: 700;
    color: #e2e8f0;
    font-family: monospace;
}

.account-tier-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    background: #f8fafc;
    transition: all 0.3s ease;
}

.account-tier-card:hover .account-tier-card__icon {
    transform: scale(1.05);
}

.account-tier-card__name {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.account-tier-card__badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.account-tier-card__body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 2;
}

.account-tier-card__deposit {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
}

.account-tier-card__deposit-label {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.account-tier-card__deposit-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
}

.account-tier-card__description {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

.account-tier-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
}

.account-tier-card__features li {
    font-size: 0.85rem;
    color: #475569;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
}

.account-tier-card__features li i {
    font-size: 0.8rem;
    margin-top: 3px;
    margin-right: 10px;
}

.account-tier-card__actions {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.account-tier-card__btn {
    width: 100%;
    padding: 0.8rem 1.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid transparent;
}

.account-tier-card__link {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s ease;
}

.account-tier-card__link:hover {
    color: #0f172a;
    text-decoration: underline;
}

/* Standard: Plata/Slate/Azul Frío */
.account-tier-card--standard .account-tier-card__icon {
    background: #f1f5f9;
    color: #64748b;
}
.account-tier-card--standard:hover {
    border-color: #cbd5e1;
}
.account-tier-card--standard .account-tier-card__features li i {
    color: #64748b;
}
.account-tier-card--standard .account-tier-card__badge {
    background: #f1f5f9;
    color: #475569;
}
.account-tier-card--standard .account-tier-card__btn--primary {
    background: transparent;
    color: #334155;
    border-color: #cbd5e1;
}
.account-tier-card--standard .account-tier-card__btn--primary:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

/* Gold: Dorado Sobrio */
.account-tier-card--gold .account-tier-card__icon {
    background: rgba(212, 175, 55, 0.1);
    color: #d4af37;
}
.account-tier-card--gold:hover {
    border-color: rgba(212, 175, 55, 0.3);
}
.account-tier-card--gold .account-tier-card__features li i {
    color: #d4af37;
}
.account-tier-card--gold .account-tier-card__btn--primary {
    background: #d4af37;
    color: #ffffff;
}
.account-tier-card--gold .account-tier-card__btn--primary:hover {
    background: #bfa135;
    color: #ffffff;
}

/* Platinum: Platinum/Cyan frío */
.account-tier-card--platinum {
    background: #ffffff;
}
.account-tier-card--platinum .account-tier-card__icon {
    background: rgba(6, 182, 212, 0.1);
    color: #06b6d4;
}
.account-tier-card--platinum:hover {
    border-color: rgba(6, 182, 212, 0.3);
}
.account-tier-card--platinum .account-tier-card__features li i {
    color: #06b6d4;
}
.account-tier-card--platinum .account-tier-card__btn--primary {
    background: #06b6d4;
    color: #ffffff;
}
.account-tier-card--platinum .account-tier-card__btn--primary:hover {
    background: #0891b2;
    color: #ffffff;
}

/* VIP: Dorado profundo / amber premium */
.account-tier-card--vip {
    background: #0f172a;
    border-color: #1e293b;
}
.account-tier-card--vip .account-tier-card__number {
    color: #334155;
}
.account-tier-card--vip .account-tier-card__icon {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}
.account-tier-card--vip .account-tier-card__name {
    color: #ffffff;
}
.account-tier-card--vip .account-tier-card__badge {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}
.account-tier-card--vip .account-tier-card__deposit-label {
    color: #94a3b8;
}
.account-tier-card--vip .account-tier-card__deposit-value {
    color: #ffffff;
}
.account-tier-card--vip .account-tier-card__description {
    color: #cbd5e1;
}
.account-tier-card--vip .account-tier-card__features li {
    color: #cbd5e1;
}
.account-tier-card--vip .account-tier-card__features li i {
    color: #f59e0b;
}
.account-tier-card--vip:hover {
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}
.account-tier-card--vip .account-tier-card__btn--primary {
    background: transparent;
    color: #f59e0b;
    border-color: #f59e0b;
}
.account-tier-card--vip .account-tier-card__btn--primary:hover {
    background: #f59e0b;
    color: #0f172a;
}
.account-tier-card--vip .account-tier-card__link {
    color: #94a3b8;
}
.account-tier-card--vip .account-tier-card__link:hover {
    color: #ffffff;
}

/* Account Specifications Section */
#account-specifications {
    scroll-margin-top: 80px;
}

/* ==========================================================================
   HOME HERO (FASE 4 HOTFIX)
   ========================================================================== */
.trd-home-hero {
    position: relative;
    padding: 160px 0 100px;
    background: linear-gradient(135deg, #09101a 0%, #111a26 100%);
    overflow: hidden;
    color: #ffffff;
    min-height: 85vh;
    display: flex;
    align-items: center;
}
.trd-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(135deg, rgba(9, 16, 26, 0.88) 0%, rgba(0, 40, 30, 0.75) 100%),
        url('../img/heroes/hero-home-bg.webp') center / cover no-repeat;
    z-index: 0;
    pointer-events: none;
}

.trd-home-hero__grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.04;
    background-image:
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1), transparent);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1), transparent);
}

.trd-home-hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 0;
    pointer-events: none;
}
.trd-home-hero__glow--one {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 209, 102, 0.08) 0%, transparent 60%);
    top: -100px;
    left: -200px;
}
.trd-home-hero__glow--two {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(91, 156, 255, 0.06) 0%, transparent 60%);
    bottom: -100px;
    right: -100px;
}

.trd-home-hero__container {
    z-index: 2;
}

/* Tipografía y Textos */
.trd-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--uty-green);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding: 0.4rem 1.2rem;
    background: rgba(0, 209, 102, 0.1);
    border: 1px solid rgba(0, 209, 102, 0.2);
    border-radius: 50px;
}
.trd-hero-badge__pulse {
    width: 8px;
    height: 8px;
    background-color: var(--uty-green);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 209, 102, 0.7);
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 209, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 209, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 209, 102, 0); }
}

.trd-home-hero__title {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}
.trd-home-hero__title span {
    color: var(--uty-green);
}
.trd-home-hero__description {
    font-size: 1.1rem;
    color: #a0aec0;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.trd-home-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}
.trd-hero-primary-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
}
.trd-hero-secondary-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.trd-hero-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.2);
}

.trd-hero-metrics {
    display: flex;
    gap: 1.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.trd-hero-metric {
    display: flex;
    flex-direction: column;
}
.trd-hero-metric strong {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.3rem;
}
.trd-hero-metric span {
    font-size: 0.85rem;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Market Visual Derecho */
.trd-hero-market {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.trd-hero-market__scene {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}
.trd-hero-market__ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 209, 102, 0.15);
    border-radius: 50%;
}
.trd-hero-market__ring--one { width: 350px; height: 350px; }
.trd-hero-market__ring--two { width: 480px; height: 480px; border-style: dashed; opacity: 0.5; animation: spin-slow 40s linear infinite; }
@keyframes spin-slow { 100% { transform: translate(-50%, -50%) rotate(360deg); } }

.trd-glass-dark {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.trd-hero-market__panel {
    position: relative;
    z-index: 2;
    border-radius: 24px;
    padding: 2rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.trd-hero-market__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}
.trd-hero-market__eyebrow {
    font-size: 0.75rem;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    display: block;
    margin-bottom: 0.2rem;
}
.trd-hero-market__header h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}
.trd-market-live-pill {
    background: rgba(0, 209, 102, 0.1);
    border: 1px solid rgba(0, 209, 102, 0.2);
    color: var(--uty-green);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}
.trd-market-live-pill span {
    width: 6px;
    height: 6px;
    background: var(--uty-green);
    border-radius: 50%;
}

.trd-hero-quote {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 1.5rem;
}
.trd-hero-quote__symbol {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
    display: block;
}
.trd-hero-quote__caption {
    font-size: 0.8rem;
    color: #64748b;
}
.trd-hero-quote__price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--uty-green);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.trd-hero-market__line {
    margin: 0 -2rem 1.5rem;
    height: 100px;
}
.trd-hero-market__line svg {
    width: 100%;
    height: 100%;
    display: block;
}
/* CORRECCIÓN: Evita el área negra global, definiendo fill y stroke explícitos */
path.trd-hero-market__area {
    fill: url(#trdHeroArea) !important;
    stroke: none !important;
}
path.trd-hero-market__path {
    fill: transparent !important;
    stroke: url(#trdHeroLine) !important;
    stroke-width: 3 !important;
}

.trd-hero-market__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
}
.trd-hero-market__stats div {
    display: flex;
    flex-direction: column;
}
.trd-hero-market__stats span {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}
.trd-hero-market__stats strong {
    font-size: 0.95rem;
    color: #e2e8f0;
    font-variant-numeric: tabular-nums;
}

.trd-hero-market__updated {
    display: block;
    text-align: center;
    color: #475569;
    font-size: 0.75rem;
}

/* Floating Cards en el Hero construidas en HTML para lectura perfecta */
.trd-floating-market-card {
    position: absolute;
    z-index: 3;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    padding: 1.25rem;
    animation: float-card 6s ease-in-out infinite alternate;
    display: flex;
    flex-direction: column;
    color: #fff;
}
.trd-floating-market-card--eurusd {
    top: 10px;
    left: 0;
    width: 140px;
    padding: 1rem;
    animation-delay: 0s;
}
.trd-floating-market-card--apple {
    bottom: -10px;
    right: -40px;
    width: 190px;
    animation-delay: 2s;
}
@keyframes float-card {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-15px) rotate(2deg); }
}

.trd-fcard__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.trd-fcard__icon {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.trd-fcard__symbol {
    font-weight: 700;
    font-size: 0.95rem;
}
.trd-fcard__price {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 2px;
    font-variant-numeric: tabular-nums;
}
.trd-fcard__change {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}
.trd-fcard__chart {
    height: 40px;
    margin-bottom: 10px;
}
.trd-fcard__chart svg {
    width: 100%;
    height: 100%;
}
.trd-fcard__tf {
    display: flex;
    gap: 8px;
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 600;
}
.trd-fcard__tf span {
    padding: 2px 6px;
    border-radius: 4px;
}
.trd-fcard__tf span.active {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* Market Ticker (Barra Animada) */
.trd-market-ticker {
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
}
.trd-market-ticker__bar {
    width: 100%;
}
.trd-market-ticker__viewport {
    width: 100%;
    overflow: hidden;
    position: relative;
}
.trd-market-ticker__track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: trd-ticker-scroll 40s linear infinite;
    white-space: nowrap;
}
.trd-market-ticker__track:hover {
    animation-play-state: paused;
}
.trd-market-ticker__sequence {
    display: flex;
    gap: 2rem;
}
.trd-market-ticker__block {
    display: inline-flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 150px;
}
.trd-market-ticker__block.is-placeholder {
    opacity: 0.5;
}
.trd-market-ticker__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 0.2rem;
}
.trd-market-ticker__heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.trd-market-ticker__heading strong {
    color: #ffffff;
    font-size: 0.9rem;
    margin-left: 0.25rem;
}
.trd-market-ticker__price {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
    font-variant-numeric: tabular-nums;
}
.trd-market-ticker__middle,
.trd-market-ticker__bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    text-align: right;
}
.trd-market-ticker__middle small {
    font-size: 0.65rem;
    color: #64748b;
    text-transform: uppercase;
}
.trd-market-ticker__bottom span {
    font-size: 0.75rem;
    color: #a0aec0;
    font-variant-numeric: tabular-nums;
}
.trd-ticker-trend {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
}
.trd-ticker-trend svg {
    width: 100%;
    height: 100%;
    display: block;
}
.trd-ticker-trend.is-up {
    color: var(--uty-green);
}
.trd-ticker-trend.is-down {
    color: var(--uty-danger);
}
.trd-ticker-trend.is-neutral {
    color: #64748b;
}
.trd-ticker-flags {
    display: flex;
    align-items: center;
}
.trd-ticker-flag {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    overflow: hidden;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    color: #fff;
    border: 1px solid #334155;
}
.trd-ticker-flag + .trd-ticker-flag {
    margin-left: -6px;
}
.trd-ticker-flag__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.trd-market-ticker__placeholder {
    color: #64748b;
    font-size: 0.85rem;
}
@keyframes trd-ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 1199.98px) and (min-width: 992px) {
    .trd-floating-market-card--eurusd {
        top: 10px;
        left: 0;
        width: 135px;
        padding: 0.85rem;
    }
    .trd-floating-market-card--apple {
        bottom: -5px;
        right: -20px;
        width: 160px;
    }
    .trd-floating-market-card .trd-fcard__price {
        font-size: 1.2rem;
    }
}

@media (max-width: 991.98px) {
    .trd-home-hero {
        padding: 120px 0 60px;
        text-align: center;
    }
    .trd-home-hero__description {
        margin: 0 auto 2.5rem;
    }
    .trd-home-hero__actions {
        justify-content: center;
    }
    .trd-hero-metrics {
        justify-content: center;
    }
    .trd-hero-market__ring {
        display: none;
    }
    .trd-hero-market {
        margin-top: 3rem;
        flex-direction: column;
        gap: 1rem;
    }
    .trd-floating-market-card {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        bottom: auto;
        width: 100%;
        max-width: 320px;
        animation: none;
        margin: 0 auto;
    }
}

/* ==========================================================================
   FOOTER (Global)
   ========================================================================== */
.trd-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0 0;
    background: #0f172a !important; /* Base navy dark */
}
.trd-footer__container {
    max-width: 1400px;
}
.trd-footer__brand-card {
    padding: 2rem;
    border-radius: 16px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.trd-footer__logo {
    margin-bottom: 1.5rem;
    max-width: 100%;
    height: auto;
}
.trd-footer__description {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}
.trd-footer__email {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #fff;
    text-decoration: none;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    transition: color 0.3s ease;
}
.trd-footer__email:hover {
    color: var(--uty-green);
}
.trd-footer__email i {
    font-size: 1.5rem;
    color: var(--uty-green);
}
.trd-footer__email span {
    display: flex;
    flex-direction: column;
}
.trd-footer__email small {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
}
.trd-footer__email strong {
    font-weight: 600;
}

.trd-footer__heading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #fff;
}
.trd-footer__links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.trd-footer__links a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}
.trd-footer__links a:hover {
    color: var(--uty-green);
    transform: translateX(5px);
}

.trd-footer__newsletter {
    padding: 2rem;
    border-radius: 16px;
    height: 100%;
}
.trd-footer__newsletter-heading {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.trd-footer__newsletter-icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 209, 102, 0.1);
    color: var(--uty-green);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}
.trd-footer__newsletter-heading h5 {
    margin: 0 0 0.25rem;
    font-weight: 700;
    color: #fff;
}
.trd-footer__newsletter-heading p {
    margin: 0;
    color: #94a3b8;
    font-size: 0.85rem;
}

.trd-footer-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.trd-footer-field {
    position: relative;
    width: 100%;
}
.trd-footer-field i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    z-index: 2;
}
.trd-footer-field input {
    background: rgba(15, 23, 42, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    padding-left: 2.75rem !important;
    height: 48px;
    border-radius: 8px;
    width: 100%;
}
.trd-footer-field input:focus {
    border-color: var(--uty-green) !important;
    box-shadow: 0 0 0 0.25rem rgba(0, 209, 102, 0.25) !important;
}
.trd-footer-field--phone .iti {
    width: 100%;
}
.trd-footer-field--phone input {
    padding-left: 3.5rem !important;
}
.trd-footer-form__submit {
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    width: 100%;
}

.trd-footer__security {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.trd-footer__security i {
    font-size: 1.5rem;
    color: #64748b;
}
.trd-footer__security div {
    display: flex;
    flex-direction: column;
}
.trd-footer__security strong {
    font-size: 0.85rem;
    color: #cbd5e1;
}
.trd-footer__security span {
    font-size: 0.75rem;
    color: #64748b;
}

.trd-footer__risk {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #64748b;
    font-size: 0.75rem;
    text-align: justify;
    line-height: 1.6;
}
.trd-footer__risk p {
    margin-bottom: 1rem;
}
.trd-footer__risk strong {
    color: #94a3b8;
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.8rem;
}

.trd-footer__bottom {
    margin-top: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #64748b;
    font-size: 0.85rem;
}
.trd-footer__bottom a {
    color: #64748b;
    text-decoration: none;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
}
.trd-footer__bottom a:hover {
    color: #fff;
}

@media (max-width: 991.98px) {
    .trd-footer__bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .trd-footer__bottom a {
        margin: 0 0.75rem;
    }
}

/* ==========================================================================
   PLATFORM HERO
   ========================================================================== */
.platform-hero {
    position: relative;
    background-color: #0F172A;
}

.platform-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: url('../img/heroes/hero-platform-bg.webp') center / cover no-repeat;
    opacity: 0.18;
    z-index: 0;
    pointer-events: none;
}

.platform-hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 209, 102, 0.10) 0%, rgba(15, 23, 42, 0.92) 70%);
    z-index: 0;
    pointer-events: none;
}

.platform-hero__mockup-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.platform-hero__mockup {
    display: block;
    width: 100%;
    height: auto;
    border: 0 !important;
    outline: none !important;
    box-shadow: none !important;
    filter: drop-shadow(0 20px 35px rgba(0, 0, 0, 0.45));
}

@media (min-width: 992px) {
    .platform-hero__mockup-wrapper {
        justify-content: flex-start;
    }

    .platform-hero__mockup {
        width: 118%;
        max-width: 118%;
        transform: scale(1.06);
        transform-origin: left center;
    }
}

@media (min-width: 1400px) {
    .platform-hero__mockup {
        width: 125%;
        max-width: 125%;
        transform: scale(1.10);
        transform-origin: left center;
    }
}

/* ==========================================================================
   VIP HERO
   ========================================================================== */
.vip-hero {
    position: relative;
    background-color: #0b0b0b;
    min-height: 80vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.vip-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: url('../img/heroes/hero-vip-bg.webp') right center / cover no-repeat;
    opacity: 0.38;
    z-index: 1;
    pointer-events: none;
}

.vip-hero__overlay-horizontal {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to right,
        #0b0b0b 35%,
        rgba(11, 11, 11, 0.80) 60%,
        rgba(11, 11, 11, 0.45) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.vip-hero__overlay-bottom {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        transparent 75%,
        #0b0b0b 100%
    );
    z-index: 3;
    pointer-events: none;
}

.vip-hero__glow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        circle at 70% 50%,
        rgba(212, 175, 55, 0.12) 0%,
        transparent 60%
    );
    z-index: 4;
    pointer-events: none;
}

.vip-hero__content {
    position: relative;
    z-index: 10 !important;
}

@media (max-width: 991.98px) {
    .vip-hero__bg {
        background-position: 75% center;
        opacity: 0.25;
    }
    .vip-hero__overlay-horizontal {
        background: linear-gradient(
            to bottom,
            rgba(11, 11, 11, 0.70) 0%,
            rgba(11, 11, 11, 0.90) 100%
        );
    }
}

/* ==========================================================================
   WHY HERO
   ========================================================================== */
.why-hero {
    position: relative;
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.why-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: url('../img/heroes/hero-why-bg.webp') center center / cover no-repeat;
    opacity: 0.50;
    z-index: 1;
    pointer-events: none;
}

.why-hero__overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(
            to bottom,
            transparent 72%,
            rgba(15, 23, 42, 0.45) 100%
        ),
        radial-gradient(
            ellipse at center,
            rgba(15, 23, 42, 0.86) 0%,
            rgba(15, 23, 42, 0.76) 48%,
            rgba(15, 23, 42, 0.55) 100%
        );
    z-index: 2;
    pointer-events: none;
}

.why-hero__grid {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0.1;
    background-image: radial-gradient(#00D166 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: 3;
    pointer-events: none;
}

.why-hero__content {
    position: relative;
    z-index: 4;
}

@media (max-width: 991.98px) {
    .why-hero__bg {
        opacity: 0.32;
    }
}

/* ==========================================================================
   CONTACT HERO
   ========================================================================== */
.contact-hero {
    position: relative;
    padding: 3.5rem 0 2.5rem;
    background:
        radial-gradient(ellipse 65% 55% at 50% 0%, rgba(0, 209, 102, 0.045) 0%, rgba(0, 209, 102, 0) 70%),
        linear-gradient(180deg, #FFFFFF 0%, #F4F6F9 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.contact-hero .container {
    position: relative;
    z-index: 1;
}

.contact-hero .lead {
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .contact-hero {
        padding: 2.75rem 0 2rem;
    }
}

@media (max-width: 575.98px) {
    .contact-hero {
        padding: 2.25rem 0 1.5rem;
    }
}

/* ==========================================================================
   TRADEPRO BRANDING & INDEX EXPANDED SECTIONS
   ========================================================================== */

/* Topbar Financiero */
.trd-topbar {
    background-color: #05080B;
    color: #94A3B8;
    font-size: 0.82rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hover-text-green:hover {
    color: var(--uty-green) !important;
}
.hover-text-white:hover {
    color: #ffffff !important;
}

/* Navbar Principal */
.trd-navbar {
    background: rgba(8, 13, 17, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    z-index: 1030;
    transition: all 0.3s ease;
}
.trd-navbar .nav-link {
    transition: color 0.2s ease;
    font-size: 0.92rem;
    padding: 0.5rem 0.9rem !important;
}
.trd-navbar .nav-link:hover,
.trd-navbar .nav-link.active {
    color: var(--uty-green) !important;
}
.trd-navbar .dropdown-menu-dark {
    background-color: #0E1620;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border-radius: 12px;
}
.trd-navbar .dropdown-item {
    color: #CBD5E1;
    font-size: 0.88rem;
    transition: all 0.2s ease;
}
.trd-navbar .dropdown-item:hover {
    background-color: rgba(0, 230, 118, 0.1);
    color: var(--uty-green);
    transform: translateX(4px);
}

/* HERO SECTION CON BRANDING TRADEPRO */
.trd-home-hero {
    position: relative;
    padding: 130px 0 60px;
    background: #080D11;
    overflow: hidden;
    color: #FFFFFF;
    min-height: 85vh;
    display: flex;
    align-items: center;
}
.trd-home-hero__grid {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.05;
    background-image:
        linear-gradient(rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}
.trd-home-hero__glow--one {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 230, 118, 0.1) 0%, transparent 65%);
    top: -120px;
    left: -150px;
}
.trd-home-hero__glow--two {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 65%);
    bottom: -100px;
    right: -100px;
}
.trd-hero-eyebrow-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--uty-green);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    padding: 0.35rem 1rem;
    background: rgba(0, 230, 118, 0.08);
    border: 1px solid rgba(0, 230, 118, 0.22);
    border-radius: 50px;
}
.trd-hero-eyebrow-badge__dot {
    width: 7px;
    height: 7px;
    background-color: var(--uty-green);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(0, 230, 118, 0.7);
    animation: pulse-green 2s infinite;
}
.trd-home-hero__title {
    font-size: clamp(2.4rem, 4.4vw, 3.8rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
    color: #FFFFFF;
}
.trd-home-hero__description {
    font-size: 1.1rem;
    color: #94A3B8;
    line-height: 1.65;
    margin-bottom: 2.2rem;
    max-width: 95%;
}
.trd-home-hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}
.trd-hero-pill-btn {
    background-color: var(--uty-green);
    color: #080D11 !important;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    padding: 0.85rem 2.2rem;
    font-size: 1rem;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(0, 230, 118, 0.3);
    text-decoration: none;
}
.trd-hero-pill-btn:hover {
    background-color: var(--uty-green-hover);
    color: #080D11 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 230, 118, 0.45);
}
.trd-hero-outline-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF !important;
    font-weight: 600;
    border-radius: 50px;
    padding: 0.85rem 2.2rem;
    font-size: 1rem;
    transition: all 0.25s ease;
    text-decoration: none;
}
.trd-hero-outline-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Social Proof */
.trd-hero-social-proof {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.2rem;
}
.trd-hero-avatars {
    display: flex;
}
.trd-avatar-circle {
    border-radius: 50%;
    border: 2px solid #080D11;
    margin-left: -10px;
    object-fit: cover;
}
.trd-avatar-circle:first-child {
    margin-left: 0;
}
.trd-hero-social-caption {
    font-size: 0.85rem;
    font-weight: 600;
    color: #FFFFFF;
}
.trd-hero-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
}
.trd-rating-score {
    color: #94A3B8;
}

/* Mockup Laptop & Smartphone */
.trd-hero-mockup-wrapper {
    position: relative;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
}
.trd-laptop-frame {
    background: #1E293B;
    border-radius: 18px 18px 0 0;
    padding: 12px 12px 0;
    box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.12);
}
.trd-laptop-screen {
    background: #090F16;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.trd-screen-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 14px;
    background: #0D1620;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    font-size: 0.8rem;
}
.trd-screen-logo-text {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-left: 6px;
    color: #FFFFFF;
}
.trd-screen-chart-area {
    padding: 12px 14px;
    position: relative;
}
.trd-chart-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.72rem;
}
.trd-chart-timeframes span {
    color: #64748B;
    margin-right: 8px;
    cursor: pointer;
    font-weight: 600;
}
.trd-chart-timeframes span.active {
    color: var(--uty-green);
}
.trd-chart-svg-wrap {
    height: 190px;
    width: 100%;
}
.trd-screen-stats-bar {
    display: flex;
    justify-content: space-around;
    padding-top: 10px;
    margin-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
}
.trd-screen-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.trd-screen-stat span {
    color: #64748B;
    font-size: 0.68rem;
    text-transform: uppercase;
}
.trd-screen-stat strong {
    color: #FFFFFF;
    font-size: 0.85rem;
}
.trd-laptop-base {
    height: 14px;
    background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
    border-radius: 0 0 16px 16px;
    position: relative;
    margin: 0 -20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}
.trd-laptop-base::after {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #475569;
    border-radius: 0 0 4px 4px;
}

/* Smartphone Mockup Flotante */
.trd-phone-mockup {
    position: absolute;
    bottom: -25px;
    right: -20px;
    width: 190px;
    background: #0B121A;
    border: 3px solid #334155;
    border-radius: 26px;
    padding: 10px;
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.75);
    z-index: 10;
    animation: float-phone 6s ease-in-out infinite;
}
@keyframes float-phone {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
.trd-phone-notch {
    width: 45px;
    height: 4px;
    background: #334155;
    border-radius: 4px;
    margin: 0 auto 8px;
}
.trd-phone-balance {
    font-size: 1.15rem;
    letter-spacing: -0.5px;
}
.trd-phone-chart {
    height: 60px;
    margin: 8px 0;
}
.trd-phone-floating-pill {
    background: rgba(0, 230, 118, 0.12);
    border: 1px solid rgba(0, 230, 118, 0.25);
    border-radius: 8px;
    padding: 4px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}
.trd-phone-actions {
    display: flex;
    gap: 6px;
}

/* Trust Bar (5 Pilares) */
.trd-hero-trust-bar {
    margin-top: 50px;
    background: rgba(14, 22, 32, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    padding: 1.6rem 1.8rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.trust-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}
.trust-item__icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(0, 230, 118, 0.1);
    color: var(--uty-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.trust-item__content h6 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #FFFFFF;
    margin-bottom: 2px;
}
.trust-item__content p {
    font-size: 0.75rem;
    color: #94A3B8;
    margin-bottom: 0;
    line-height: 1.4;
}

/* POPULAR MARKETS */
.trd-popular-markets {
    background-color: #080D11;
}
.trd-market-box {
    background: rgba(14, 22, 32, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.25rem;
    transition: all 0.25s ease;
}
.trd-market-box:hover {
    background: rgba(18, 28, 40, 0.9);
    border-color: rgba(0, 230, 118, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}
.trd-market-flag img {
    border-radius: 2px;
}
.trd-market-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}
.trd-market-price {
    font-size: 1.28rem;
    letter-spacing: -0.5px;
}
.trd-link-arrow {
    transition: all 0.2s ease;
    font-size: 0.92rem;
}
.trd-link-arrow:hover {
    color: #FFFFFF !important;
    transform: translateX(3px);
}

/* DOUBLE FEATURE SECTION */
.trd-double-feature {
    background-color: #080D11;
}
.trd-feature-card {
    background: rgba(14, 22, 32, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}
.trd-feature-card:hover {
    border-color: rgba(0, 230, 118, 0.2);
}
.trd-check-list li {
    font-size: 0.88rem;
    color: #E2E8F0;
}
.trd-feature-mockup-chart {
    background: #070B0F;
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.trd-mockup-profit-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 230, 118, 0.14);
    border: 1px solid rgba(0, 230, 118, 0.3);
    border-radius: 10px;
    padding: 6px 12px;
    text-align: right;
}
.trd-feature-phone-mini {
    background: #070B0F;
    border: 2px solid #1E293B;
    width: 170px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
}

/* GLOBAL STATS STRIP */
.trd-stats-strip {
    background-color: #080D11;
}
.trd-stats-strip__card {
    background: rgba(14, 22, 32, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}
@media (min-width: 768px) {
    .border-start-md {
        border-left: 1px solid rgba(255, 255, 255, 0.08);
    }
}

/* TESTIMONIALS */
.trd-testimonials {
    background-color: #080D11;
}
.trd-testimonial-card {
    background: rgba(14, 22, 32, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
}
.trd-testimonial-card:hover {
    background: rgba(18, 28, 40, 0.9);
    border-color: rgba(0, 230, 118, 0.25);
    transform: translateY(-4px);
}

/* MARKET INSIGHTS */
.trd-market-insights {
    background-color: #080D11;
}
.trd-insight-card {
    background: rgba(14, 22, 32, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
}
.trd-insight-card:hover {
    border-color: rgba(0, 230, 118, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}
.trd-insight-card:hover img {
    transform: scale(1.04);
}
.trd-insight-img-wrap img {
    transition: transform 0.4s ease;
}

/* SIMULATOR & FAQ SECTION */
.trd-simulator-section {
    background-color: #080D11;
}
.trd-simulator-card {
    background: rgba(14, 22, 32, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.trd-simulator-badge-card {
    background: rgba(14, 22, 32, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.trd-form-select {
    background-color: #070B0F !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #FFFFFF !important;
    border-radius: 12px;
}
.trd-simulator-metrics-box {
    background: #070B0F;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.trd-faq-section {
    background-color: #080D11;
}
.trd-accordion .accordion-item {
    background-color: rgba(14, 22, 32, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.trd-accordion .accordion-button {
    background-color: transparent !important;
    color: #FFFFFF !important;
    box-shadow: none !important;
    padding: 1.25rem;
}
.trd-accordion .accordion-button::after {
    filter: invert(1) hue-rotate(90deg);
}

/* CTA FORM & SEO */
.trd-cta-section {
    background-color: #080D11;
}
.trd-cta-card {
    background: linear-gradient(135deg, rgba(14, 22, 32, 0.95) 0%, rgba(8, 20, 16, 0.95) 100%);
    border: 1px solid rgba(0, 230, 118, 0.2);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}
.trd-form-input {
    background-color: #070B0F !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #FFFFFF !important;
    border-radius: 50px;
}
.trd-form-input:focus {
    border-color: var(--uty-green) !important;
    box-shadow: 0 0 0 3px rgba(0, 230, 118, 0.2) !important;
}
.trd-seo-block {
    background-color: #05080B;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Footer Overrides for Dark Scheme */
.trd-footer {
    background-color: #05080B !important;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.trd-footer__brand-card,
.trd-footer__newsletter {
    background: rgba(14, 22, 32, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

@media (max-width: 991.98px) {
    .trd-home-hero {
        padding: 110px 0 40px;
    }
    .trd-phone-mockup {
        position: relative;
        bottom: auto;
        right: auto;
        margin: 20px auto 0;
    }
}


/* ==========================================================================
   ETAPA 2A — DESIGN SYSTEM TOKENS (aditivo; no reemplaza --uty-*)
   ========================================================================== */
:root {
    --trd-navy-950: #06111F;
    --trd-navy-900: #081A2F;
    --trd-blue-800: #0A2D55;
    --trd-blue-700: #0B3B72;
    --trd-blue-600: #0E4C92;
    --trd-surface: #FFFFFF;
    --trd-surface-soft: #F5F8FC;
    --trd-text: #10233F;
    --trd-muted: #637083;
    --trd-border: rgba(16, 35, 63, 0.12);
    --trd-accent: var(--uty-green);
    --trd-accent-strong: var(--uty-green-hover);
    --trd-on-dark: #FFFFFF;
    --trd-on-dark-muted: #B6C2D2;
    --trd-on-dark-border: rgba(255, 255, 255, 0.10);

    --trd-radius-sm: 6px;
    --trd-radius-md: 10px;
    --trd-radius-lg: 16px;
    --trd-shadow-sm: 0 1px 2px rgba(6, 17, 31, 0.08), 0 2px 8px rgba(6, 17, 31, 0.06);
    --trd-shadow-md: 0 8px 24px rgba(6, 17, 31, 0.18);
    --trd-focus-ring: 0 0 0 2px var(--trd-navy-950), 0 0 0 4px var(--trd-accent);

    --trd-dur-fast: 150ms;
    --trd-dur-base: 250ms;
    --trd-nav-h: 68px;
}

/* ==========================================================================
   ETAPA 2A — NAV + HERO
   ========================================================================== */

/* ---------- NAV ---------- */
.trd-navbar {
    min-height: var(--trd-nav-h);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    background: rgba(6, 17, 31, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--trd-on-dark-border);
    transition: background-color var(--trd-dur-base) ease, box-shadow var(--trd-dur-base) ease;
}
.trd-navbar.is-scrolled {
    background: var(--trd-navy-950);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}
.trd-navbar__brand {
    display: inline-flex;
    align-items: center;
    padding: 0;
    margin-right: 1.5rem;
}
.trd-navbar__brand img {
    width: auto;
    height: 38px;
}
.trd-navbar__toggler {
    border: 1px solid var(--trd-on-dark-border);
    border-radius: var(--trd-radius-sm);
    padding: 0.5rem 0.6rem;
    min-width: 44px;
    min-height: 44px;
}
.trd-navbar__toggler .navbar-toggler-icon {
    filter: invert(1);
}

/* Legacy .trd-navbar .nav-link usa padding/color con !important; se requiere !important para sobrescribirlo. */
.trd-navbar .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--trd-on-dark-muted) !important;
    padding: 0.5rem 0.7rem !important;
    border-radius: var(--trd-radius-sm);
    transition: color var(--trd-dur-fast) ease, background-color var(--trd-dur-fast) ease;
}
.trd-navbar .nav-link:hover,
.trd-navbar .nav-link.show {
    color: var(--trd-on-dark) !important;
}
.trd-navbar .nav-link.active,
.trd-navbar .nav-link[aria-current="page"] {
    color: var(--trd-on-dark) !important;
    box-shadow: inset 0 -2px 0 var(--trd-accent);
    border-radius: 0;
}
.trd-navbar .dropdown-toggle::after {
    margin-left: 0.3rem;
    vertical-align: 0.15em;
    opacity: 0.7;
}

/* Dropdowns claros */
.trd-navbar .trd-nav-dropdown {
    --bs-dropdown-bg: var(--trd-surface);
    --bs-dropdown-color: var(--trd-text);
    --bs-dropdown-border-color: var(--trd-border);
    --bs-dropdown-link-color: var(--trd-text);
    --bs-dropdown-link-hover-color: var(--trd-text);
    --bs-dropdown-link-hover-bg: var(--trd-surface-soft);
    --bs-dropdown-link-active-color: var(--trd-text);
    --bs-dropdown-link-active-bg: var(--trd-surface-soft);
    --bs-dropdown-divider-bg: var(--trd-border);
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-md);
    box-shadow: var(--trd-shadow-md);
    padding: 0.4rem;
    min-width: 15rem;
    margin-top: 0.5rem;
}
.trd-navbar .trd-nav-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--trd-text);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 0.55rem 0.75rem;
    border-radius: var(--trd-radius-sm);
    transition: background-color var(--trd-dur-fast) ease;
}
.trd-navbar .trd-nav-dropdown .dropdown-item:hover,
.trd-navbar .trd-nav-dropdown .dropdown-item:focus {
    background: var(--trd-surface-soft);
    color: var(--trd-text);
    transform: none;
}
.trd-navbar .trd-nav-dropdown .dropdown-item[aria-current="page"] {
    background: var(--trd-surface-soft);
    font-weight: 700;
    box-shadow: inset 3px 0 0 var(--trd-blue-600);
}
.trd-navbar .trd-nav-dropdown .dropdown-item i {
    width: 1.1rem;
    text-align: center;
    color: var(--trd-blue-600);
}
.trd-navbar .trd-nav-dropdown .trd-nav-dropdown__vip i {
    color: #9A7A1C;
}

/* Acciones: idioma + login + registro */
.trd-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.trd-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    margin-right: 0.35rem;
    font-size: 0.8rem;
    font-weight: 700;
}
.trd-lang-switch__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    min-height: 2rem;
    padding: 0 0.3rem;
    color: var(--trd-on-dark-muted);
    text-decoration: none;
    border-radius: var(--trd-radius-sm);
    transition: color var(--trd-dur-fast) ease;
}
.trd-lang-switch__link:hover {
    color: var(--trd-on-dark);
}
.trd-lang-switch__link.is-active {
    color: var(--trd-on-dark);
    text-decoration: underline;
    text-decoration-color: var(--trd-accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
.trd-lang-switch__sep {
    color: rgba(255, 255, 255, 0.28);
}
.trd-nav-login {
    color: var(--trd-on-dark);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: var(--trd-radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    white-space: nowrap;
}
.trd-nav-login:hover {
    color: var(--trd-on-dark);
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.06);
}
.trd-navbar .trd-nav-open {
    border-radius: var(--trd-radius-md);
    font-size: 0.85rem;
    padding: 0.5rem 1.1rem;
    box-shadow: none;
}

/* Focus visible NAV */
.trd-navbar .nav-link:focus-visible,
.trd-navbar .dropdown-item:focus-visible,
.trd-navbar__brand:focus-visible,
.trd-navbar__toggler:focus-visible,
.trd-lang-switch__link:focus-visible,
.trd-nav-login:focus-visible,
.trd-navbar .trd-nav-open:focus-visible {
    outline: 2px solid var(--trd-accent);
    outline-offset: 2px;
    box-shadow: none;
}
.trd-navbar__toggler:focus {
    box-shadow: none;
}

/* Desktop compacto */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .trd-navbar .nav-link {
        padding: 0.5rem 0.55rem !important; /* ver nota !important arriba */
        font-size: 0.8rem;
    }
    .trd-navbar__brand {
        margin-right: 1rem;
    }
}

/* Panel móvil / tablet claro */
@media (max-width: 1199.98px) {
    .trd-navbar__collapse {
        margin-top: 0.75rem;
        padding: 0.75rem;
        background: var(--trd-surface);
        border: 1px solid var(--trd-border);
        border-radius: var(--trd-radius-lg);
        box-shadow: var(--trd-shadow-md);
        max-height: calc(100vh - var(--trd-nav-h) - 1.5rem);
        overflow-y: auto;
    }
    .trd-navbar .trd-main-nav {
        margin: 0;
    }
    .trd-navbar .nav-link {
        width: 100%;
        min-height: 44px;
        color: var(--trd-text) !important;
        font-size: 0.92rem;
        padding: 0.65rem 0.75rem !important;
    }
    .trd-navbar .nav-link:hover,
    .trd-navbar .nav-link.show,
    .trd-navbar .nav-link.active,
    .trd-navbar .nav-link[aria-current="page"] {
        color: var(--trd-text) !important;
        background: var(--trd-surface-soft);
        border-radius: var(--trd-radius-sm);
        box-shadow: inset 3px 0 0 var(--trd-accent);
    }
    .trd-navbar .dropdown-toggle {
        justify-content: space-between;
    }
    .trd-navbar .trd-nav-dropdown {
        box-shadow: none;
        border: 0;
        background: var(--trd-surface-soft);
        margin: 0.25rem 0 0.5rem;
        min-width: 0;
    }
    .trd-navbar .trd-nav-dropdown .dropdown-item {
        min-height: 44px;
    }
    .trd-nav-actions {
        flex-wrap: wrap;
        gap: 0.6rem;
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid var(--trd-border);
    }
    .trd-lang-switch {
        width: 100%;
        margin: 0;
        font-size: 0.9rem;
    }
    .trd-lang-switch__link {
        min-width: 44px;
        min-height: 44px;
        color: var(--trd-muted);
    }
    .trd-lang-switch__link:hover,
    .trd-lang-switch__link.is-active {
        color: var(--trd-text);
    }
    .trd-lang-switch__sep {
        color: var(--trd-border);
    }
    .trd-nav-login,
    .trd-navbar .trd-nav-open {
        flex: 1 1 0;
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    .trd-nav-login {
        color: var(--trd-text);
        border-color: var(--trd-border);
    }
    .trd-nav-login:hover {
        color: var(--trd-text);
        background: var(--trd-surface-soft);
        border-color: rgba(16, 35, 63, 0.25);
    }
    .trd-navbar .nav-link:focus-visible,
    .trd-navbar .dropdown-item:focus-visible,
    .trd-lang-switch__link:focus-visible,
    .trd-nav-login:focus-visible,
    .trd-navbar .trd-nav-open:focus-visible {
        outline-color: var(--trd-blue-600);
    }
}

@media (max-width: 575.98px) {
    .trd-navbar__brand img {
        height: 32px;
    }
}

/* ---------- HERO ---------- */
.trd-home-hero {
    padding: 72px 0 40px;
    min-height: 0;
    background: var(--trd-navy-950);
    text-align: left;
}
.trd-home-hero::before {
    background: linear-gradient(180deg, var(--trd-navy-950) 0%, var(--trd-navy-900) 100%);
}
.trd-home-hero__grid {
    opacity: 0.035;
    background-size: 48px 48px;
}
.trd-home-hero__glow--one {
    width: 520px;
    height: 520px;
    top: -140px;
    right: -120px;
    left: auto;
    background: radial-gradient(circle, rgba(14, 76, 146, 0.35) 0%, transparent 65%);
}

.trd-hx-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin: 0 0 1.25rem;
    padding: 0.3rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--trd-on-dark-muted);
    border: 1px solid var(--trd-on-dark-border);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
}
.trd-hx-eyebrow__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--trd-accent);
}

.trd-home-hero .trd-home-hero__title {
    font-size: clamp(2rem, 1.2rem + 3vw, 3.5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--trd-on-dark);
    margin-bottom: 1.25rem;
    overflow-wrap: normal;
    hyphens: manual;
    text-wrap: balance;
}
.trd-home-hero .trd-hx-title-accent {
    display: block;
    color: var(--trd-on-dark-muted);
}
.trd-home-hero .trd-home-hero__description {
    font-size: 1.06rem;
    line-height: 1.65;
    color: var(--trd-on-dark-muted);
    max-width: 34rem;
    margin: 0 0 2rem;
}
.trd-home-hero .trd-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0;
    justify-content: flex-start;
}
.trd-hx-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    font-size: 0.98rem;
    font-weight: 700;
    border-radius: var(--trd-radius-md);
    transition: background-color var(--trd-dur-fast) ease, border-color var(--trd-dur-fast) ease, color var(--trd-dur-fast) ease;
}
.trd-hx-cta--primary {
    box-shadow: none;
}
.trd-hx-cta--primary:hover {
    transform: none;
}
.trd-hx-cta--secondary {
    color: var(--trd-on-dark);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
}
.trd-hx-cta--secondary:hover {
    color: var(--trd-on-dark);
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
}
.trd-hx-cta:focus-visible {
    outline: 2px solid var(--trd-accent);
    outline-offset: 3px;
    box-shadow: none;
}

/* Panel de mercado */
.trd-hx-visual {
    position: relative;
    max-width: 540px;
    margin: 0 auto;
    padding: 1.25rem 0;
}
.trd-hx-panel {
    position: relative;
    z-index: 1;
    padding: 1.25rem 1.35rem 1.1rem;
    background: var(--trd-navy-900);
    border: 1px solid var(--trd-on-dark-border);
    border-radius: var(--trd-radius-lg);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.35);
    color: var(--trd-on-dark);
}
.trd-hx-panel__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}
.trd-hx-panel__label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--trd-on-dark-muted);
}
.trd-hx-panel__status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.2rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--trd-accent);
    border: 1px solid rgba(0, 230, 118, 0.35);
    border-radius: 999px;
}
.trd-hx-panel__status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}
.trd-hx-panel__status.is-offline {
    color: var(--trd-on-dark-muted);
    border-color: var(--trd-on-dark-border);
    text-decoration: line-through;
}
.trd-hx-panel__status.is-offline .trd-hx-panel__status-dot {
    background: transparent;
    border: 1px solid currentColor;
}
.trd-hx-panel__quote {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.5rem;
}
.trd-hx-panel__symbol {
    font-size: 1rem;
    font-weight: 700;
    color: var(--trd-on-dark);
}
.trd-hx-panel__price {
    font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem);
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
    color: var(--trd-on-dark);
}
.trd-hx-panel__chart {
    height: 150px;
    margin: 0 -0.25rem 0.75rem;
}
.trd-hx-panel__chart svg {
    display: block;
    width: 100%;
    height: 100%;
}
.trd-hx-panel__gridline {
    stroke: rgba(255, 255, 255, 0.06);
    stroke-dasharray: 4 6;
}
.trd-hx-panel__line {
    stroke: var(--trd-accent);
    stroke-width: 2.5;
    stroke-linecap: round;
}
.trd-hx-panel__point {
    fill: var(--trd-accent);
}
.trd-hx-panel__stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    margin: 0;
    padding: 0.85rem 0 0;
    border-top: 1px solid var(--trd-on-dark-border);
}
.trd-hx-panel__stat dt {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--trd-on-dark-muted);
}
.trd-hx-panel__stat dd {
    margin: 0.15rem 0 0;
    font-size: 0.98rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--trd-on-dark);
}
.trd-hx-panel__updated {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0.85rem 0 0;
    font-size: 0.78rem;
    color: var(--trd-on-dark-muted);
}

/* Tarjetas flotantes discretas */
.trd-hx-float {
    --parallax-x: 0px;
    --parallax-y: 0px;
    position: absolute;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--trd-text);
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-md);
    box-shadow: var(--trd-shadow-md);
    transform: translate3d(var(--parallax-x), var(--parallax-y), 0);
    transition: transform 0.4s ease-out;
    pointer-events: none;
}
.trd-hx-float--assets {
    top: -1.5rem;
    left: 42%;
    flex-direction: column;
    align-items: flex-start;
}
.trd-hx-float__icons {
    display: inline-flex;
    gap: 0.55rem;
    color: var(--trd-blue-600);
    font-size: 0.85rem;
}
.trd-hx-float--data {
    right: -1.25rem;
    bottom: -0.25rem;
}
.trd-hx-float--data i {
    color: #0A8F4C;
}

/* Trust strip compacta: 3 pilares */
.trd-hx-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    list-style: none;
    margin: 2.75rem 0 0;
    padding: 1rem 0 0;
    border-top: 1px solid var(--trd-on-dark-border);
}
.trd-hx-pillar {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 1.25rem 0.5rem 0;
}
.trd-hx-pillar + .trd-hx-pillar {
    padding-left: 1.25rem;
    border-left: 1px solid var(--trd-on-dark-border);
}
.trd-hx-pillar__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: var(--trd-radius-sm);
    color: var(--trd-accent);
    background: rgba(0, 230, 118, 0.08);
    font-size: 0.9rem;
}
.trd-hx-pillar__body {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
}
.trd-hx-pillar__title {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--trd-on-dark);
}
.trd-hx-pillar__text {
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--trd-on-dark-muted);
}

/* Ticker: armonizar con la paleta navy (solo color) */
.trd-market-ticker {
    background: var(--trd-navy-900);
    border-top: 1px solid var(--trd-on-dark-border);
    border-bottom: 1px solid var(--trd-on-dark-border);
}

/* HERO responsive */
@media (max-width: 1199.98px) {
    .trd-hx-float--assets {
        left: 42%;
    }
    .trd-hx-float--data {
        right: -0.5rem;
    }
}
@media (max-width: 991.98px) {
    .trd-home-hero {
        padding: 48px 0 32px;
        text-align: left;
    }
    .trd-home-hero .trd-home-hero__description {
        margin: 0 0 1.75rem;
    }
    .trd-home-hero .trd-home-hero__actions {
        justify-content: flex-start;
    }
    .trd-hx-visual {
        margin-top: 0.5rem;
    }
    .trd-hx-float--assets {
        left: 42%;
    }
    .trd-hx-float--data {
        right: 0.5rem;
    }
}
@media (max-width: 767.98px) {
    .trd-hx-pillars {
        grid-template-columns: 1fr;
        gap: 0.25rem;
        margin-top: 2rem;
    }
    .trd-hx-pillar,
    .trd-hx-pillar + .trd-hx-pillar {
        padding: 0.6rem 0;
        border-left: 0;
    }
    .trd-hx-pillar + .trd-hx-pillar {
        border-top: 1px solid var(--trd-on-dark-border);
    }
}
@media (max-width: 575.98px) {
    .trd-home-hero {
        padding: 36px 0 28px;
    }
    .trd-home-hero .trd-home-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
    .trd-hx-cta {
        width: 100%;
    }
    .trd-hx-float {
        display: none;
    }
    .trd-hx-visual {
        padding: 0;
    }
    .trd-hx-panel {
        padding: 1rem;
    }
    .trd-hx-panel__chart {
        height: 110px;
    }
}

/* Reduced motion (limitado a NAV + HERO; AOS global en footer.php queda fuera de alcance) */
@media (prefers-reduced-motion: reduce) {
    .trd-navbar,
    .trd-navbar *,
    .trd-home-hero,
    .trd-home-hero * {
        animation: none;
        transition: none;
        scroll-behavior: auto;
    }
    .trd-hx-float {
        transform: none;
    }
    .trd-home-hero [data-aos][data-aos] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ==========================================================================
   INDEX VISUAL — HERO fotográfico + Popular Markets + cuerpo claro + footer
   (aditivo; prefijo trd-ix-; no elimina reglas legacy)
   ========================================================================== */
:root {
    --trd-ix-ink: #3A4A5E;
    --trd-ix-up: #00E676;
    --trd-ix-down: #F87171;
    --trd-ix-green-on-light: #0A8F4C;
    --trd-ix-footer-bg: #040B16;
}

/* ---------- HERO ---------- */
.trd-home-hero.trd-ix-hero {
    padding: 96px 0 48px;
    background: var(--trd-navy-950);
}
.trd-home-hero.trd-ix-hero::before {
    background:
        linear-gradient(180deg, rgba(6, 17, 31, 0.9) 0%, rgba(6, 17, 31, 0.55) 22%, rgba(6, 17, 31, 0) 42%, rgba(6, 17, 31, 0) 72%, rgba(6, 17, 31, 0.85) 100%),
        linear-gradient(90deg, rgba(6, 17, 31, 0.95) 0%, rgba(6, 17, 31, 0.82) 42%, rgba(8, 26, 47, 0.55) 100%),
        url('../img/heroes/hero-home-bg-v2.webp') center / cover no-repeat;
}
@media (max-width: 991.98px) {
    .trd-home-hero.trd-ix-hero::before {
        background:
            linear-gradient(180deg, rgba(6, 17, 31, 0.94) 0%, rgba(6, 17, 31, 0.88) 55%, rgba(6, 17, 31, 0.7) 100%),
            url('../img/heroes/hero-home-bg-v2.webp') 60% center / cover no-repeat;
    }
}
.trd-home-hero.trd-ix-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    background: linear-gradient(180deg, rgba(6, 17, 31, 0) 0%, var(--trd-navy-950) 100%);
    pointer-events: none;
    z-index: 0;
}
.trd-ix-hero .trd-home-hero__container {
    z-index: 1;
}
.trd-ix-hero .trd-home-hero__title {
    font-size: clamp(2.2rem, 1.1rem + 3.6vw, 4rem);
}
.trd-ix-hero .trd-hx-title-accent {
    color: var(--trd-accent);
}
.trd-ix-hero .trd-home-hero__description {
    color: #C9D4E2;
    font-size: 1.1rem;
}
.trd-ix-hero-visual {
    max-width: 580px;
    padding: 2rem 0 1.5rem;
}
.trd-ix-hero-depth {
    position: absolute;
    top: 0;
    right: -6%;
    width: 78%;
    height: 62%;
    z-index: 0;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: var(--trd-radius-lg);
    background: rgba(10, 45, 85, 0.35);
    pointer-events: none;
}
.trd-ix-hero-depth svg {
    display: block;
    width: 100%;
    height: 100%;
    opacity: 0.6;
}
.trd-ix-hero-depth__candles line {
    stroke: rgba(255, 255, 255, 0.28);
    stroke-width: 1.5;
}
.trd-ix-hero-depth__candles rect {
    fill: rgba(0, 230, 118, 0.55);
}
.trd-ix-hero-depth__candles rect.is-down {
    fill: rgba(248, 113, 113, 0.5);
}
.trd-ix-hero .trd-hx-panel {
    margin-top: 3.5rem;
    margin-right: 2.5rem;
    background: rgba(8, 26, 47, 0.9);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 28px 60px rgba(0, 0, 0, 0.45);
}
.trd-ix-hero .trd-hx-float--assets {
    top: 1.25rem;
    left: -1.25rem;
}
.trd-ix-hero .trd-hx-float--data {
    right: 0;
    bottom: 0.5rem;
}

/* ---------- Tipografía / utilidades de sección ---------- */
.trd-ix-eyebrow {
    display: inline-block;
    margin: 0 0 0.6rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--trd-blue-600);
}
.trd-ix-eyebrow--on-dark {
    color: var(--trd-accent);
}
.trd-ix-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--trd-text);
    text-wrap: balance;
}
.trd-ix-title__accent {
    display: block;
    color: var(--trd-blue-600);
}
.trd-ix-title--on-dark {
    color: var(--trd-on-dark);
}
.trd-ix-lead {
    max-width: 40rem;
    margin: 0 0 1rem;
    font-size: 1.02rem;
    line-height: 1.65;
    color: var(--trd-muted);
}
.trd-ix-lead--on-dark {
    color: var(--trd-on-dark-muted);
}
.trd-ix-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-weight: 600;
    color: var(--trd-blue-600);
    text-decoration: none;
}
.trd-ix-link:hover {
    color: var(--trd-blue-700);
    text-decoration: underline;
}
.trd-ix-link--on-dark {
    color: var(--trd-accent);
}
.trd-ix-link--on-dark:hover {
    color: var(--trd-on-dark);
}
.trd-ix-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

/* ---------- POPULAR MARKETS (oscuro) ---------- */
.trd-ix-pm {
    position: relative;
    padding: 40px 0 72px;
    background: var(--trd-navy-950);
    color: var(--trd-on-dark-muted);
}
.trd-ix-pm__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.trd-ix-pm__title {
    margin: 0;
    font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--trd-on-dark);
}
.trd-ix-pm__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.trd-ix-pm__grid > li {
    min-width: 0;
}
.trd-ix-pm-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 100%;
    padding: 1.1rem 1.1rem 1rem;
    color: var(--trd-on-dark);
    text-decoration: none;
    background: var(--trd-navy-900);
    border: 1px solid var(--trd-on-dark-border);
    border-radius: var(--trd-radius-lg);
    transition: border-color var(--trd-dur-fast) ease, background-color var(--trd-dur-fast) ease;
}
.trd-ix-pm-card:hover {
    color: var(--trd-on-dark);
    border-color: rgba(0, 230, 118, 0.45);
    background: #0B2340;
}
.trd-ix-pm-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.65rem;
    min-width: 0;
}
.trd-ix-pm-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--trd-accent);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.95rem;
}
.trd-ix-pm-card__id {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.trd-ix-pm-card__symbol {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--trd-on-dark);
}
.trd-ix-pm-card__name {
    overflow: hidden;
    font-size: 0.78rem;
    color: var(--trd-on-dark-muted);
    white-space: nowrap;
    text-overflow: ellipsis;
}
/* Categoría en su propia línea superior: evita colisión con el símbolo en cards estrechas. */
.trd-ix-pm-card__cat {
    order: -1;
    flex-basis: 100%;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--trd-on-dark-muted);
}
.trd-ix-pm-card__id {
    flex: 1 1 0;
}
.trd-ix-pm-card__body {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
}
.trd-ix-pm-card__values {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}
.trd-ix-pm-card__price {
    font-size: 1.3rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
    color: var(--trd-on-dark);
}
.trd-ix-pm-card__change {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--trd-on-dark-muted);
}
.trd-ix-pm-card__arrow::before {
    content: "";
}
.trd-ix-pm-card.is-up .trd-ix-pm-card__arrow::before {
    content: "\25B2";
}
.trd-ix-pm-card.is-down .trd-ix-pm-card__arrow::before {
    content: "\25BC";
}
.trd-ix-pm-card.is-up .trd-ix-pm-card__change {
    color: var(--trd-ix-up);
}
.trd-ix-pm-card.is-down .trd-ix-pm-card__change {
    color: var(--trd-ix-down);
}
.trd-ix-pm-card__spark {
    flex-shrink: 0;
    width: 96px;
    height: 32px;
}
.trd-ix-pm-card__spark path {
    stroke: rgba(126, 162, 214, 0.75);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.trd-ix-pm-card.is-up .trd-ix-pm-card__spark path {
    stroke: var(--trd-ix-up);
}
.trd-ix-pm-card.is-down .trd-ix-pm-card__spark path {
    stroke: var(--trd-ix-down);
}
.trd-ix-pm-card__status {
    font-size: 0.72rem;
    color: var(--trd-on-dark-muted);
}
.trd-ix-pm-card__status[hidden] {
    display: none;
}
.trd-ix-pm__note {
    margin: 1.25rem 0 0;
    font-size: 0.8rem;
    color: var(--trd-on-dark-muted);
}

/* ---------- SECCIONES CLARAS ---------- */
.trd-ix-section {
    padding: 88px 0;
    color: var(--trd-ix-ink);
}
.trd-ix-section--white {
    background: var(--trd-surface);
}
.trd-ix-section--soft {
    background: var(--trd-surface-soft);
}
.trd-ix-section--navy {
    background: var(--trd-navy-900);
    color: var(--trd-on-dark-muted);
}
.trd-ix-section__head {
    max-width: 720px;
    margin-bottom: 2.5rem;
}
.trd-ix-section__head.text-center {
    margin-left: auto;
    margin-right: auto;
}
.trd-ix-section__head--split {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    max-width: none;
}

.trd-ix-card {
    padding: 1.75rem;
    color: var(--trd-ix-ink);
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-lg);
    box-shadow: var(--trd-shadow-sm);
}
.trd-ix-section--white .trd-ix-card {
    background: var(--trd-surface-soft);
    box-shadow: none;
}
.trd-ix-card__visual {
    height: 120px;
    margin-bottom: 1.25rem;
}
.trd-ix-card__visual svg {
    display: block;
    width: 100%;
    height: 100%;
}
.trd-ix-card__grid {
    stroke: var(--trd-border);
    stroke-dasharray: 4 6;
}
.trd-ix-card__area {
    fill: rgba(14, 76, 146, 0.08);
}
.trd-ix-card__line {
    stroke: var(--trd-blue-600);
    stroke-width: 2.5;
    stroke-linecap: round;
}
.trd-ix-card__devices {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    height: 56px;
    margin-bottom: 1.25rem;
    color: var(--trd-blue-600);
    font-size: 1.9rem;
}
.trd-ix-card__devices i:nth-child(2) {
    font-size: 1.5rem;
}
.trd-ix-card__devices i:nth-child(3) {
    font-size: 1.2rem;
}
.trd-ix-card__title {
    margin: 0 0 0.6rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--trd-text);
}
.trd-ix-card__text {
    margin: 0 0 1.25rem;
    line-height: 1.65;
    color: #4A5A6E;
}
.trd-ix-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.trd-ix-checklist li {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-size: 0.93rem;
    font-weight: 500;
    color: var(--trd-text);
}
.trd-ix-checklist i {
    color: var(--trd-ix-green-on-light);
}

/* Categorías */
.trd-ix-cats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.trd-ix-cat {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    height: 100%;
    padding: 1.35rem 1.25rem;
    color: var(--trd-text);
    text-decoration: none;
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-lg);
    transition: border-color var(--trd-dur-fast) ease, box-shadow var(--trd-dur-fast) ease;
}
.trd-ix-cat:hover {
    color: var(--trd-text);
    border-color: var(--trd-blue-600);
    box-shadow: var(--trd-shadow-sm);
}
.trd-ix-cat__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 0.5rem;
    color: var(--trd-blue-600);
    background: rgba(14, 76, 146, 0.08);
    border-radius: var(--trd-radius-md);
    font-size: 1.05rem;
}
.trd-ix-cat__label {
    font-weight: 700;
}
.trd-ix-cat__desc {
    font-size: 0.86rem;
    color: var(--trd-muted);
}
.trd-ix-cat__arrow {
    position: absolute;
    top: 1.35rem;
    right: 1.25rem;
    color: var(--trd-muted);
    font-size: 0.85rem;
}

/* Pasos (navy) */
.trd-ix-steps {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.trd-ix-step {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    padding: 1.35rem 1.4rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--trd-on-dark-border);
    border-radius: var(--trd-radius-lg);
}
.trd-ix-step__num {
    min-width: 2.5rem;
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--trd-accent);
}
.trd-ix-step__body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.trd-ix-step__title {
    font-size: 1.05rem;
    color: var(--trd-on-dark);
}
.trd-ix-step__text {
    font-size: 0.93rem;
    line-height: 1.55;
    color: var(--trd-on-dark-muted);
}

/* Recursos */
.trd-ix-res {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    height: 100%;
    padding: 1.5rem;
    color: var(--trd-text);
    text-decoration: none;
    background: var(--trd-surface-soft);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-lg);
    transition: border-color var(--trd-dur-fast) ease;
}
.trd-ix-res:hover {
    color: var(--trd-text);
    border-color: var(--trd-blue-600);
}
.trd-ix-res__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 0.4rem;
    color: var(--trd-surface);
    background: var(--trd-blue-700);
    border-radius: var(--trd-radius-md);
}
.trd-ix-res__tag {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--trd-blue-600);
}
.trd-ix-res__title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.35;
}
.trd-ix-res__text {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--trd-muted);
}
.trd-ix-res__more {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--trd-blue-600);
}

/* Simulador (claro) */
.trd-ix-note-card {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-md);
}
.trd-ix-note-card i {
    margin-top: 0.2rem;
    color: #B45309;
}
.trd-ix-note-card strong {
    display: block;
    color: var(--trd-text);
}
.trd-ix-note-card span {
    font-size: 0.9rem;
    color: var(--trd-muted);
}
.trd-ix-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--trd-muted);
}
.trd-ix-select {
    color: var(--trd-text);
    background-color: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-md);
}
.trd-ix-select:focus {
    border-color: var(--trd-blue-600);
    box-shadow: 0 0 0 3px rgba(14, 76, 146, 0.18);
}
.trd-ix-sim__capital {
    color: var(--trd-blue-600);
    letter-spacing: 0;
    text-transform: none;
    font-size: 0.95rem;
}
.trd-ix-sim .range-slider {
    background: #D6DEE8;
    opacity: 1;
}
.trd-ix-sim .range-slider:focus-visible {
    outline: 2px solid var(--trd-blue-600);
    outline-offset: 4px;
}
.trd-ix-sim__metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: var(--trd-surface-soft);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-md);
}
.trd-ix-sim__value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--trd-text);
}
.trd-ix-sim__value--result {
    color: var(--trd-blue-700);
}
.trd-ix-sim__disclaimer {
    margin: 1rem 0 0;
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--trd-muted);
}
.trd-ix-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0.75rem 1.5rem;
    font-weight: 700;
    color: var(--trd-text);
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-md);
}
.trd-ix-btn-outline:hover {
    color: var(--trd-text);
    border-color: var(--trd-blue-600);
}

/* FAQ (claro) */
.trd-ix-accordion {
    --bs-accordion-bg: var(--trd-surface);
    --bs-accordion-border-color: var(--trd-border);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 3px rgba(14, 76, 146, 0.25);
    --bs-accordion-active-bg: var(--trd-surface-soft);
    --bs-accordion-active-color: var(--trd-blue-700);
}
.trd-ix-accordion .accordion-item {
    margin-bottom: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-md);
}
.trd-ix-accordion .accordion-button {
    padding: 1.1rem 1.25rem;
    font-weight: 700;
    color: var(--trd-text);
    background: var(--trd-surface);
}
.trd-ix-accordion .accordion-button:not(.collapsed) {
    color: var(--trd-blue-700);
    background: var(--trd-surface-soft);
    box-shadow: none;
}
.trd-ix-accordion .accordion-body {
    font-size: 0.95rem;
    line-height: 1.65;
    color: #4A5A6E;
}

/* CTA final */
.trd-ix-cta {
    padding: 72px 0;
}
.trd-ix-cta__card {
    padding: clamp(1.5rem, 1rem + 2.5vw, 3rem);
    background: linear-gradient(135deg, var(--trd-navy-900) 0%, var(--trd-blue-800) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--trd-radius-lg);
    box-shadow: var(--trd-shadow-md);
}

/* SEO */
.trd-ix-seo {
    padding: 48px 0;
    background: var(--trd-surface-soft);
    border-top: 1px solid var(--trd-border);
}
.trd-ix-seo__title {
    margin: 0 0 0.6rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--trd-text);
}
.trd-ix-seo__text {
    max-width: 60rem;
    margin: 0;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--trd-muted);
}

/* Contenido complementario (global): títulos legibles sobre fondo blanco */
.trd-ix-extra h2 {
    color: var(--trd-text);
}
/* El gutter g-5 (3rem) desborda el contenedor en móvil; se reduce solo en ese ancho. */
@media (max-width: 575.98px) {
    .trd-ix-extra .row.g-5 {
        --bs-gutter-x: 1.5rem;
    }
}

/* ---------- FOOTER (global) ---------- */
/* Legacy .trd-footer fija background con !important (líneas ~1743 y ~2821); se requiere !important para sobrescribirlo. */
.trd-footer.trd-ix-footer {
    padding: 0 0 1.5rem;
    color: var(--trd-on-dark-muted);
    background: var(--trd-ix-footer-bg) !important;
    border-top: 1px solid var(--trd-on-dark-border);
}
.trd-ix-footer__cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 2.25rem 0;
    border-bottom: 1px solid var(--trd-on-dark-border);
}
.trd-ix-footer__cta-title {
    margin: 0;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--trd-on-dark);
}
.trd-ix-footer__cta-text {
    margin: 0.25rem 0 0;
    font-size: 0.95rem;
    color: var(--trd-on-dark-muted);
}
.trd-ix-footer__cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.trd-ix-footer__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.6rem 1.4rem;
    font-weight: 700;
    border-radius: var(--trd-radius-md);
}
.trd-ix-footer__btn--outline {
    color: var(--trd-on-dark);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.28);
}
.trd-ix-footer__btn--outline:hover {
    color: var(--trd-on-dark);
    border-color: rgba(255, 255, 255, 0.6);
}
.trd-ix-footer__main {
    padding: 2.75rem 0 2rem;
}
.trd-ix-footer__logo {
    width: 170px;
    height: auto;
    margin-bottom: 1rem;
}
.trd-ix-footer__about {
    max-width: 22rem;
    margin: 0 0 1.25rem;
    font-size: 0.9rem;
    line-height: 1.6;
}
.trd-ix-footer__email {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: var(--trd-on-dark);
    text-decoration: none;
}
.trd-ix-footer__email i {
    color: var(--trd-accent);
}
.trd-ix-footer__email small {
    display: block;
    font-size: 0.72rem;
    color: var(--trd-on-dark-muted);
}
.trd-ix-footer__email strong {
    font-size: 0.9rem;
}
.trd-ix-footer__heading {
    margin: 0 0 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--trd-on-dark);
}
.trd-ix-footer__links li {
    margin-bottom: 0.6rem;
}
.trd-ix-footer__links a {
    font-size: 0.92rem;
    color: var(--trd-on-dark-muted);
    text-decoration: none;
}
.trd-ix-footer__links a:hover {
    color: var(--trd-on-dark);
}
.trd-ix-footer .trd-ix-footer__newsletter {
    height: auto;
    padding: 1.25rem;
}
/* Legacy .trd-footer-field--phone input fija padding-left: 3.5rem !important y anula el padding
   que calcula intl-tel-input; se requiere !important para dejar sitio a bandera + prefijo (hasta 3 cifras). */
.trd-ix-footer .trd-footer-field--phone .iti--separate-dial-code input[type="tel"] {
    padding-left: 104px !important;
}
/* Objetivos táctiles mínimos de 24px (WCAG 2.5.8) en la navegación del footer. */
.trd-ix-footer__links a,
.trd-ix-footer__legal a {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
}
.trd-ix-footer__newsletter-text {
    margin: 0 0 1rem;
    font-size: 0.88rem;
    line-height: 1.55;
}
.trd-ix-footer__risk {
    padding: 1.5rem 0;
    border-top: 1px solid var(--trd-on-dark-border);
}
.trd-ix-footer__risk p {
    margin: 0 0 0.6rem;
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--trd-on-dark-muted);
}
.trd-ix-footer__risk strong {
    color: var(--trd-on-dark);
}
.trd-ix-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--trd-on-dark-border);
    font-size: 0.82rem;
}
.trd-ix-footer__legal {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.25rem;
}
.trd-ix-footer__legal a {
    color: var(--trd-on-dark-muted);
    text-decoration: none;
}
.trd-ix-footer__legal a:hover {
    color: var(--trd-on-dark);
}

/* ---------- Focus visible ---------- */
.trd-ix-pm-card:focus-visible,
.trd-ix-link--on-dark:focus-visible,
.trd-ix-footer a:focus-visible,
.trd-ix-footer .btn:focus-visible,
.trd-ix-section--navy a:focus-visible {
    outline: 2px solid var(--trd-accent);
    outline-offset: 3px;
    box-shadow: none;
}
.trd-ix-link:not(.trd-ix-link--on-dark):focus-visible,
.trd-ix-cat:focus-visible,
.trd-ix-res:focus-visible,
.trd-ix-btn-outline:focus-visible,
.trd-ix-section--white .trd-hx-cta:focus-visible,
.trd-ix-section--soft .trd-hx-cta:focus-visible,
.trd-ix-accordion .accordion-button:focus-visible {
    outline: 2px solid var(--trd-blue-600);
    outline-offset: 3px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
    .trd-ix-pm__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .trd-ix-cats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 991.98px) {
    .trd-home-hero.trd-ix-hero {
        padding: 64px 0 40px;
    }
    .trd-ix-hero .trd-hx-panel {
        margin-top: 2.5rem;
        margin-right: 0;
    }
    .trd-ix-hero-depth {
        right: -2%;
        width: 70%;
    }
    .trd-ix-section {
        padding: 64px 0;
    }
    .trd-ix-cta {
        padding: 56px 0;
    }
}
@media (max-width: 767.98px) {
    .trd-ix-pm__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .trd-ix-cats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .trd-ix-footer__cta {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (max-width: 575.98px) {
    .trd-home-hero.trd-ix-hero {
        padding: 40px 0 32px;
    }
    .trd-ix-hero-depth {
        display: none;
    }
    .trd-ix-hero-visual {
        padding: 0;
    }
    .trd-ix-hero .trd-hx-panel {
        margin-top: 1.5rem;
    }
    .trd-ix-pm {
        padding: 32px 0 56px;
    }
    .trd-ix-pm__grid,
    .trd-ix-cats {
        grid-template-columns: 1fr;
    }
    .trd-ix-section {
        padding: 56px 0;
    }
    .trd-ix-checklist {
        grid-template-columns: 1fr;
    }
    .trd-ix-card {
        padding: 1.35rem;
    }
    .trd-ix-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .trd-ix-actions .btn {
        width: 100%;
    }
    .trd-ix-footer__cta-actions {
        width: 100%;
    }
    .trd-ix-footer__btn {
        flex: 1 1 auto;
    }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    .trd-ix-pm-card,
    .trd-ix-cat,
    .trd-ix-res,
    .trd-ix-footer a,
    .trd-ix-footer .btn {
        transition: none;
    }
}

/* ==========================================================================
   REMEDIATION — post INDEX VISUAL
   Estado "en vivo" real, Popular Markets, simulador neutral, contraste y
   contenido complementario del INDEX. Prefijo nuevo: trd-rm-.
   ========================================================================== */

/* Estado de datos del HERO: sin JS no se afirma "en vivo"; la etiqueta la fija main.js
   según la respuesta real de la API. La tarjeta "Datos en vivo" solo aparece con datos en vivo. */
html:not(.trd-rm-js) .trd-hx-panel__status {
    visibility: hidden;
}
html:not(.trd-rm-live) .trd-hx-float--data {
    display: none;
}
.trd-hx-panel__status.is-offline {
    text-decoration: none;
}
.trd-hx-panel__status.is-loading {
    color: var(--trd-on-dark-muted);
    border-color: var(--trd-on-dark-border);
}
.trd-hx-panel__status.is-loading .trd-hx-panel__status-dot {
    background: transparent;
    border: 1px dashed currentColor;
}

/* Popular Markets: nombre completo sin truncar */
.trd-ix-pm-card {
    position: relative;
}
.trd-ix-pm-card__name {
    overflow: visible;
    white-space: normal;
    text-overflow: clip;
}
/* Sparkline sin datos en vivo: claramente decorativa y neutral */
.trd-ix-pm-card:not(.is-live) .trd-ix-pm-card__spark path {
    stroke: rgba(148, 163, 184, 0.5);
    stroke-dasharray: 3 4;
}

/* 1024: 3 + 2 con la segunda fila centrada */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .trd-ix-pm__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .trd-ix-pm__grid > li {
        grid-column: span 2;
    }
    .trd-ix-pm__grid > li:nth-child(4) {
        grid-column: 2 / span 2;
    }
    .trd-ix-pm__grid > li:nth-child(5) {
        grid-column: 4 / span 2;
    }
}
/* 768: 2 columnas equilibradas; la quinta card ocupa la fila completa */
@media (min-width: 576px) and (max-width: 991.98px) {
    .trd-ix-pm__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .trd-ix-pm__grid > li:nth-child(5) {
        grid-column: 1 / -1;
    }
}
/* 390: una columna compacta en formato fila */
@media (max-width: 575.98px) {
    .trd-ix-pm {
        padding: 28px 0 40px;
    }
    .trd-ix-pm__head {
        margin-bottom: 1rem;
    }
    .trd-ix-pm__grid {
        gap: 0.5rem;
    }
    .trd-ix-pm-card {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        padding: 0.7rem 0.85rem;
    }
    .trd-ix-pm-card__head {
        flex: 1 1 auto;
        flex-wrap: nowrap;
    }
    .trd-ix-pm-card__icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    .trd-ix-pm-card__cat,
    .trd-ix-pm-card__status {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }
    .trd-ix-pm-card__body {
        flex: 0 0 auto;
        align-items: center;
        gap: 0.6rem;
    }
    .trd-ix-pm-card__values {
        align-items: flex-end;
        text-align: right;
    }
    .trd-ix-pm-card__price {
        font-size: 1.05rem;
    }
    .trd-ix-pm-card__spark {
        width: 48px;
        height: 22px;
    }
    .trd-ix-pm__note {
        margin-top: 0.9rem;
    }
}

/* Simulador: supuestos explícitos y escenarios simétricos con el mismo peso visual */
.trd-rm-sim__assumptions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.trd-rm-sim__assumption {
    display: block;
    font-size: 1.15rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--trd-text);
}
.trd-rm-sim__move-note {
    display: block;
    margin-top: 0.15rem;
    font-size: 0.72rem;
    line-height: 1.4;
    color: var(--trd-muted);
}
.trd-rm-sim__results {
    margin-top: 1rem;
}
.trd-rm-sim__scenarios {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 0.4rem;
}
.trd-rm-sim__scenario {
    padding: 0.85rem 1rem;
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-md);
}
.trd-rm-sim__scenario-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #4A5A6E;
}
.trd-rm-sim__scenario-value {
    display: block;
    margin-top: 0.25rem;
    font-size: 1.35rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.trd-rm-sim__scenario--favorable .trd-rm-sim__scenario-value,
.trd-rm-sim__scenario--favorable .trd-rm-sim__scenario-label i {
    color: #0A7A43;
}
.trd-rm-sim__scenario--unfavorable .trd-rm-sim__scenario-value,
.trd-rm-sim__scenario--unfavorable .trd-rm-sim__scenario-label i {
    color: #B42318;
}
@media (max-width: 575.98px) {
    .trd-rm-sim__assumptions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .trd-rm-sim__move {
        grid-column: 1 / -1;
    }
}

/* Contraste: placeholders legibles (≥4.5:1) en CTA final y newsletter; título del banner de cookies */
.trd-ix-cta .trd-form-input::placeholder,
.trd-ix-footer .trd-footer-field input::placeholder {
    color: #8A97A8;
    opacity: 1;
}
.cookie-banner h5 {
    color: var(--trd-text);
}

/* Contenido complementario en el INDEX: accesos claros a secciones existentes (sin placeholder oscuro) */
.trd-rm-extra-links__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.trd-rm-extra-links__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 72px;
    padding: 1rem 1.1rem;
    font-weight: 700;
    color: var(--trd-text);
    text-decoration: none;
    background: var(--trd-surface-soft);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-md);
    transition: border-color var(--trd-dur-fast) ease, background-color var(--trd-dur-fast) ease;
}
.trd-rm-extra-links__item:hover {
    color: var(--trd-text);
    background: var(--trd-surface);
    border-color: rgba(0, 230, 118, 0.55);
}
.trd-rm-extra-links__item:focus-visible {
    outline: 2px solid var(--trd-blue-600);
    outline-offset: 3px;
}
.trd-rm-extra-links__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #0A7A43;
    background: rgba(0, 230, 118, 0.12);
}
.trd-rm-extra-links__label {
    flex: 1 1 auto;
}
.trd-rm-extra-links__arrow {
    color: var(--trd-blue-600);
}
@media (max-width: 575.98px) {
    .trd-rm-extra-links__list {
        grid-template-columns: 1fr;
    }
}
@media (prefers-reduced-motion: reduce) {
    .trd-rm-extra-links__item {
        transition: none;
    }
}

/* ==========================================================================
   POPULAR MARKETS VISUAL FIX
   Cards horizontales compactas (icono + símbolo/categoría, precio, variación,
   sparkline a la derecha). Prefijo nuevo: trd-pmv-.
   EUR/USD: datos reales de la API. Resto: datos de referencia (no en vivo).
   ========================================================================== */
.trd-pmv-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.875rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.trd-pmv-grid__item {
    min-width: 0;
}
.trd-pmv-card {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 37%;
    grid-template-rows: minmax(32px, auto) auto auto;
    grid-template-areas:
        "icon id badge"
        "price price spark"
        "change change spark";
    align-items: center;
    column-gap: 0.5rem;
    row-gap: 0.3rem;
    height: 100%;
    min-width: 0;
    padding: 0.875rem 0.85rem 0.8rem;
    color: var(--trd-on-dark);
    text-decoration: none;
    background: var(--trd-navy-900);
    border: 1px solid var(--trd-on-dark-border);
    border-radius: var(--trd-radius-md);
    transition: border-color var(--trd-dur-fast) ease, background-color var(--trd-dur-fast) ease, transform var(--trd-dur-fast) ease;
}
.trd-pmv-card:hover {
    color: var(--trd-on-dark);
    border-color: rgba(0, 230, 118, 0.35);
    background: #0A2038;
    transform: translateY(-2px);
}
.trd-pmv-card:focus-visible {
    outline: 2px solid var(--trd-accent);
    outline-offset: 3px;
    box-shadow: none;
}
.trd-pmv-card__icon {
    grid-area: icon;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--trd-accent);
    background: rgba(255, 255, 255, 0.06);
    font-size: 0.88rem;
}
.trd-pmv-card__id {
    grid-area: id;
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.2;
}
.trd-pmv-card__symbol {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--trd-on-dark);
    white-space: nowrap;
}
.trd-pmv-card__cat {
    font-size: 0.7rem;
    color: var(--trd-on-dark-muted);
    overflow-wrap: anywhere;
}
.trd-pmv-card__badge {
    grid-area: badge;
    justify-self: end;
    align-self: start;
    display: inline-flex;
    min-width: 0;
}
.trd-pmv-card__ref,
.trd-pmv-card__live,
.trd-pmv-card__status {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.14rem 0.45rem;
    font-size: 0.6rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--trd-on-dark-muted);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
}
.trd-pmv-card__status {
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
}
.trd-pmv-card__status[hidden] {
    display: none;
}
.trd-pmv-card__live {
    display: none;
    color: var(--trd-ix-up);
    border-color: rgba(0, 230, 118, 0.35);
}
.trd-pmv-card--live.is-live .trd-pmv-card__live {
    display: inline-flex;
}
.trd-pmv-card__live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}
.trd-pmv-card__price {
    grid-area: price;
    min-width: 0;
    margin-top: 0.35rem;
    font-size: clamp(1.05rem, 0.55rem + 0.72vw, 1.28rem);
    font-weight: 700;
    line-height: 1.15;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.01em;
    white-space: nowrap;
    color: var(--trd-on-dark);
}
.trd-pmv-card__change {
    grid-area: change;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    min-width: 0;
    font-size: 0.78rem;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    color: var(--trd-on-dark-muted);
}
.trd-pmv-card__arrow {
    font-size: 0.62rem;
}
.trd-pmv-card.is-up .trd-pmv-card__arrow::before {
    content: "\25B2";
}
.trd-pmv-card.is-down .trd-pmv-card__arrow::before {
    content: "\25BC";
}
.trd-pmv-card.is-up .trd-pmv-card__change {
    color: var(--trd-ix-up);
}
.trd-pmv-card.is-down .trd-pmv-card__change {
    color: var(--trd-ix-down);
}
.trd-pmv-card__spark {
    grid-area: spark;
    align-self: end;
    display: block;
    width: 100%;
    height: 46px;
    overflow: visible;
}
.trd-pmv-spark__line {
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.trd-pmv-spark--up .trd-pmv-spark__line {
    stroke: var(--trd-ix-up);
}
.trd-pmv-spark--down .trd-pmv-spark__line {
    stroke: var(--trd-ix-down);
}
.trd-pmv-spark--neutral .trd-pmv-spark__line {
    stroke: rgba(148, 163, 184, 0.55);
    stroke-width: 1.5;
}
/* EUR/USD: una sola forma visible según la dirección real (clase is-up / is-down / is-neutral). */
.trd-pmv-card--live .trd-pmv-spark {
    display: none;
}
.trd-pmv-card--live.is-up .trd-pmv-spark--up,
.trd-pmv-card--live.is-down .trd-pmv-spark--down,
.trd-pmv-card--live.is-neutral .trd-pmv-spark--neutral {
    display: inline;
}
.trd-pmv-note {
    margin-top: 1rem;
}

/* 1024: 3 + 2 con la segunda fila centrada */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .trd-pmv-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
    .trd-pmv-grid__item {
        grid-column: span 2;
    }
    .trd-pmv-grid__item:nth-child(4) {
        grid-column: 2 / span 2;
    }
    .trd-pmv-grid__item:nth-child(5) {
        grid-column: 4 / span 2;
    }
}
/* 768: 2 columnas; la quinta card centrada con el mismo ancho */
@media (min-width: 576px) and (max-width: 991.98px) {
    .trd-pmv-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    .trd-pmv-grid__item {
        grid-column: span 2;
    }
    .trd-pmv-grid__item:nth-child(5) {
        grid-column: 2 / span 2;
    }
}
/* 390: una columna compacta en formato fila */
@media (max-width: 575.98px) {
    .trd-pmv-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    .trd-pmv-card {
        grid-template-columns: 30px minmax(0, 1fr) auto 64px;
        grid-template-rows: auto auto;
        grid-template-areas:
            "icon id price spark"
            "icon badge change spark";
        column-gap: 0.6rem;
        row-gap: 0.2rem;
        padding: 0.6rem 0.8rem;
    }
    .trd-pmv-card__icon {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    .trd-pmv-card__badge {
        justify-self: start;
        align-self: center;
    }
    .trd-pmv-card__price {
        justify-self: end;
        margin-top: 0;
        font-size: 1rem;
    }
    .trd-pmv-card__change {
        justify-self: end;
        font-size: 0.74rem;
    }
    .trd-pmv-card__spark {
        align-self: center;
        height: 30px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .trd-pmv-card {
        transition: none;
    }
    .trd-pmv-card:hover {
        transform: none;
    }
}

/* ===== FRONTEND V1 — DESIGN SYSTEM ===== */
/* Foundation shared by the public V1 pages. All selectors are intentionally scoped. */
.trd-v1-page {
    --trd-v1-space-section: clamp(4.5rem, 7vw, 7.5rem);
    color: var(--trd-text);
    background: var(--trd-surface);
    overflow: clip;
}

.trd-v1-page *,
.trd-v1-page *::before,
.trd-v1-page *::after {
    box-sizing: border-box;
}

.trd-v1-page img,
.trd-v1-page svg {
    max-width: 100%;
}

/* Hero system: background image supplied per page through --trd-v1-hero-img. */
.trd-v1-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: clamp(600px, 70vh, 760px);
    padding: clamp(4.5rem, 7vw, 7rem) 0;
    color: var(--trd-on-dark);
    background-color: var(--trd-navy-950);
    background-image:
        linear-gradient(112deg, rgba(6, 17, 31, 0.97) 4%, rgba(8, 26, 47, 0.91) 54%, rgba(10, 45, 85, 0.78) 100%),
        var(--trd-v1-hero-img);
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.trd-v1-hero::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    pointer-events: none;
    opacity: 0.3;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 80%, transparent);
}

.trd-v1-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    width: min(48vw, 660px);
    aspect-ratio: 1;
    right: -14%;
    bottom: -60%;
    border: 1px solid rgba(0, 230, 118, 0.13);
    border-radius: 50%;
    box-shadow: 0 0 0 80px rgba(14, 76, 146, 0.08), 0 0 0 160px rgba(14, 76, 146, 0.05);
}

.trd-v1-hero__inner {
    position: relative;
    z-index: 1;
    width: 100%;
}

.trd-v1-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: clamp(2rem, 4vw, 3.5rem);
    font-size: 0.78rem;
    color: var(--trd-on-dark-muted);
}

.trd-v1-breadcrumb a {
    color: var(--trd-on-dark);
    text-decoration: none;
}

.trd-v1-breadcrumb a:hover {
    text-decoration: underline;
    text-underline-offset: 0.25rem;
}

.trd-v1-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
    gap: clamp(2.5rem, 6vw, 6rem);
    align-items: center;
}

.trd-v1-hero__copy {
    max-width: 720px;
}

.trd-v1-hero__editorial-copy {
    max-width: 980px;
    margin-inline: auto;
    text-align: center;
}

.trd-v1-hero__eyebrow,
.trd-v1-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 1.1rem;
    color: #0A8F4C;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    line-height: 1.4;
    text-transform: uppercase;
}

.trd-v1-hero__eyebrow {
    color: var(--trd-accent);
}

.trd-v1-hero__eyebrow::before,
.trd-v1-eyebrow::before {
    content: "";
    width: 1.75rem;
    height: 2px;
    background: currentColor;
}

.trd-v1-hero__title {
    max-width: 16ch;
    margin: 0 0 1.5rem;
    color: var(--trd-on-dark);
    font-size: clamp(2.65rem, 5vw, 5.4rem);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.045em;
    text-wrap: balance;
}

.trd-v1-hero__title span {
    color: #C8D5E5;
}

.trd-v1-hero--editorial .trd-v1-hero__title {
    max-width: 18ch;
    margin-inline: auto;
}

.trd-v1-hero__lead {
    max-width: 680px;
    margin: 0 0 2rem;
    color: var(--trd-on-dark-muted);
    font-size: clamp(1.05rem, 1.5vw, 1.25rem);
    line-height: 1.7;
}

.trd-v1-hero--editorial .trd-v1-hero__lead {
    margin-inline: auto;
}

.trd-v1-hero__actions,
.trd-v1-cta-band__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.trd-v1-hero--editorial .trd-v1-hero__actions {
    justify-content: center;
}

.trd-v1-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    min-height: 48px;
    padding: 0.78rem 1.35rem;
    border: 1px solid transparent;
    border-radius: var(--trd-radius-md);
    font-size: 0.93rem;
    font-weight: 750;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    transition: transform var(--trd-dur-fast) ease, border-color var(--trd-dur-fast) ease, background-color var(--trd-dur-fast) ease;
}

.trd-v1-button--primary {
    color: var(--trd-navy-950);
    background: var(--trd-accent);
    border-color: var(--trd-accent);
}

.trd-v1-button--primary:hover {
    color: var(--trd-navy-950);
    background: var(--trd-accent-strong);
    border-color: var(--trd-accent-strong);
    transform: translateY(-2px);
}

.trd-v1-button--ghost {
    color: var(--trd-on-dark);
    background: rgba(255, 255, 255, 0.035);
    border-color: rgba(255, 255, 255, 0.28);
}

.trd-v1-button--ghost:hover {
    color: var(--trd-on-dark);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.55);
    transform: translateY(-2px);
}

.trd-v1-button--dark {
    color: var(--trd-on-dark);
    background: var(--trd-navy-900);
    border-color: var(--trd-navy-900);
}

.trd-v1-button--dark:hover {
    color: var(--trd-on-dark);
    background: var(--trd-blue-800);
    border-color: var(--trd-blue-800);
    transform: translateY(-2px);
}

.trd-v1-button:focus-visible,
.trd-v1-text-link:focus-visible,
.trd-v1-breadcrumb a:focus-visible,
.trd-v1-compare:focus-visible {
    outline: 3px solid var(--trd-accent);
    outline-offset: 3px;
    box-shadow: none;
}

.trd-v1-hero__visual {
    margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.trd-v1-hero-network {
    width: min(760px, 86%);
    margin-inline: auto;
    opacity: 0.75;
}

.trd-v1-network__line {
    fill: none;
    stroke: var(--trd-accent);
    stroke-width: 1.4;
}

.trd-v1-network__line--muted {
    stroke: rgba(255, 255, 255, 0.32);
}

.trd-v1-network__nodes circle {
    fill: var(--trd-navy-900);
    stroke: var(--trd-accent);
    stroke-width: 2;
}

/* Hero variants for later public pages. */
.trd-v1-hero--split .trd-v1-hero__grid,
.trd-v1-hero--panel .trd-v1-hero__grid {
    grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
}

.trd-v1-hero--editorial {
    min-height: clamp(650px, 76vh, 820px);
}

.trd-v1-hero--compact {
    min-height: 430px;
    padding-block: 4rem;
}

/* Section typography and rhythm. */
.trd-v1-section {
    position: relative;
    padding: var(--trd-v1-space-section) 0;
}

.trd-v1-section--white {
    color: var(--trd-text);
    background: var(--trd-surface);
}

.trd-v1-section--soft {
    color: var(--trd-text);
    background: var(--trd-surface-soft);
}

.trd-v1-section--navy {
    color: var(--trd-on-dark-muted);
    background: var(--trd-navy-950);
}

.trd-v1-section--navy::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    background: radial-gradient(circle at 80% 20%, rgba(14, 76, 146, 0.65), transparent 34%);
}

.trd-v1-section--navy > .container {
    position: relative;
}

.trd-v1-title {
    max-width: 20ch;
    margin: 0 0 1.25rem;
    color: var(--trd-text);
    font-size: clamp(2rem, 3.5vw, 3.35rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.035em;
    text-wrap: balance;
}

.trd-v1-section--navy .trd-v1-title {
    color: var(--trd-on-dark);
}

.trd-v1-lead {
    max-width: 680px;
    margin: 0;
    color: var(--trd-muted);
    font-size: clamp(1.02rem, 1.35vw, 1.17rem);
    line-height: 1.75;
}

.trd-v1-section--navy .trd-v1-lead {
    color: var(--trd-on-dark-muted);
}

.trd-v1-content > p:not(.trd-v1-lead) {
    max-width: 650px;
    margin: 1.25rem 0 0;
    color: var(--trd-muted);
    line-height: 1.8;
}

.trd-v1-kicker-line {
    width: 72px;
    height: 3px;
    margin: 1.75rem 0;
    background: linear-gradient(90deg, var(--trd-accent), var(--trd-blue-600));
}

.trd-v1-section-heading {
    max-width: 860px;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.trd-v1-section-heading--center {
    margin-inline: auto;
    text-align: center;
}

.trd-v1-section-heading--center .trd-v1-title,
.trd-v1-section-heading--center .trd-v1-lead {
    margin-inline: auto;
}

.trd-v1-section-heading--split {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(300px, 5fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: end;
    max-width: none;
}

.trd-v1-section-heading--split .trd-v1-title {
    margin-bottom: 0;
}

.trd-v1-section-action {
    display: flex;
    justify-content: center;
    margin-top: 2.25rem;
}

.trd-v1-text-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 1.75rem;
    padding-bottom: 0.25rem;
    color: var(--trd-blue-600);
    font-weight: 750;
    text-decoration: none;
}

.trd-v1-text-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--trd-dur-base) ease;
}

.trd-v1-text-link:hover {
    color: var(--trd-blue-700);
}

.trd-v1-text-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.trd-v1-text-link--light {
    color: var(--trd-accent);
}

.trd-v1-text-link--light:hover {
    color: var(--trd-on-dark);
}

/* Layout helpers. */
.trd-v1-grid-asym {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
}

.trd-v1-grid-asym--media-right {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
}

.trd-v1-grid-asym--narrow-copy {
    grid-template-columns: minmax(300px, 5fr) minmax(0, 7fr);
}

.trd-v1-bento {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 1rem;
}

.trd-v1-bento__wide {
    grid-column: span 2;
}

/* Reusable cards. */
.trd-v1-card {
    position: relative;
    min-width: 0;
    height: 100%;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--trd-text);
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-lg);
    box-shadow: var(--trd-shadow-sm);
    transition: transform var(--trd-dur-base) ease, border-color var(--trd-dur-base) ease, box-shadow var(--trd-dur-base) ease;
}

.trd-v1-card:hover {
    transform: translateY(-3px);
    border-color: rgba(14, 76, 146, 0.36);
    box-shadow: var(--trd-shadow-md);
}

.trd-v1-card h3 {
    margin: 1.25rem 0 0.75rem;
    color: inherit;
    font-size: clamp(1.15rem, 1.5vw, 1.45rem);
    font-weight: 750;
    line-height: 1.25;
}

.trd-v1-card p {
    margin: 0;
    color: var(--trd-muted);
    line-height: 1.7;
}

.trd-v1-card--feature {
    background: linear-gradient(145deg, var(--trd-surface), #EEF4FB);
}

.trd-v1-card--outline {
    background: transparent;
    box-shadow: none;
}

.trd-v1-card--navy {
    color: var(--trd-on-dark);
    background: var(--trd-navy-900);
    border-color: var(--trd-on-dark-border);
    box-shadow: var(--trd-shadow-md);
}

.trd-v1-card--navy p,
.trd-v1-card--dark-outline p {
    color: var(--trd-on-dark-muted);
}

.trd-v1-card--media {
    padding: 0;
    overflow: hidden;
}

.trd-v1-card--dark-outline {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
    color: var(--trd-on-dark);
    background: rgba(255, 255, 255, 0.035);
    border-color: var(--trd-on-dark-border);
    box-shadow: none;
}

.trd-v1-card--dark-outline h3 {
    margin-top: 0;
}

.trd-v1-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 48px;
    height: 48px;
    color: var(--trd-blue-600);
    background: rgba(14, 76, 146, 0.09);
    border: 1px solid rgba(14, 76, 146, 0.13);
    border-radius: var(--trd-radius-md);
}

.trd-v1-card--navy .trd-v1-icon,
.trd-v1-card--dark-outline .trd-v1-icon {
    color: var(--trd-accent);
    background: rgba(0, 230, 118, 0.08);
    border-color: rgba(0, 230, 118, 0.16);
}

.trd-v1-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.65rem;
    color: var(--trd-accent);
    border: 1px solid rgba(0, 230, 118, 0.3);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 750;
    white-space: nowrap;
}

.trd-v1-chip > span {
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
}

/* Qualitative data/info panel. */
.trd-v1-panel {
    color: var(--trd-on-dark);
    background: rgba(8, 26, 47, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: var(--trd-radius-lg);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.34);
    overflow: hidden;
}

.trd-v1-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem;
    border-bottom: 1px solid var(--trd-on-dark-border);
}

.trd-v1-panel__header h2 {
    margin: 0;
    color: var(--trd-on-dark);
    font-size: 0.95rem;
    font-weight: 750;
}

.trd-v1-panel__rows {
    margin: 0;
    padding: 0.6rem;
    list-style: none;
}

.trd-v1-panel__rows li {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 0.8rem;
    align-items: center;
    min-height: 60px;
    padding: 0.65rem 0.75rem;
    color: var(--trd-on-dark-muted);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.trd-v1-panel__rows li:last-child {
    border-bottom: 0;
}

.trd-v1-panel__rows li > .fa-check {
    color: var(--trd-accent);
}

.trd-v1-panel__row-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: var(--trd-on-dark);
    background: rgba(255, 255, 255, 0.06);
    border-radius: var(--trd-radius-sm);
}

/* Media framing. */
.trd-v1-media-frame {
    position: relative;
    margin: 0;
    padding: 0.75rem;
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-lg);
    box-shadow: 24px 28px 0 rgba(14, 76, 146, 0.08), var(--trd-shadow-md);
}

.trd-v1-media-frame::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0.75rem;
    background: linear-gradient(180deg, transparent 45%, rgba(6, 17, 31, 0.58));
    border-radius: calc(var(--trd-radius-lg) - 5px);
    pointer-events: none;
}

.trd-v1-media-frame img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: calc(var(--trd-radius-lg) - 5px);
}

.trd-v1-media-frame__mark {
    position: absolute;
    z-index: 2;
    right: 2rem;
    bottom: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    color: var(--trd-navy-950);
    background: var(--trd-accent);
    border-radius: 50%;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

/* Process steps and timeline foundations. */
.trd-v1-steps {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.trd-v1-steps__item {
    position: relative;
    min-width: 0;
    padding: 0 1.5rem 0 0;
}

.trd-v1-steps__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 23px;
    left: 52px;
    right: 0;
    height: 1px;
    background: var(--trd-border);
}

.trd-v1-steps__marker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    color: var(--trd-blue-600);
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: 50%;
    box-shadow: var(--trd-shadow-sm);
}

.trd-v1-steps__item h3 {
    margin: 1.25rem 0 0.6rem;
    color: var(--trd-text);
    font-size: 1.08rem;
    font-weight: 750;
}

.trd-v1-steps__item p {
    margin: 0;
    color: var(--trd-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.trd-v1-timeline {
    position: relative;
    display: grid;
    gap: 1.25rem;
    margin: 0;
    padding: 0 0 0 2rem;
    list-style: none;
}

.trd-v1-timeline::before {
    content: "";
    position: absolute;
    top: 0.5rem;
    bottom: 0.5rem;
    left: 0.45rem;
    width: 1px;
    background: var(--trd-border);
}

.trd-v1-timeline > li::before {
    content: "";
    position: absolute;
    left: 0.15rem;
    width: 0.65rem;
    height: 0.65rem;
    margin-top: 0.45rem;
    background: var(--trd-accent);
    border-radius: 50%;
}

.trd-v1-timeline--horizontal {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 2rem 0 0;
}

.trd-v1-timeline--horizontal::before {
    top: 0.45rem;
    right: 0.5rem;
    bottom: auto;
    left: 0.5rem;
    width: auto;
    height: 1px;
}

.trd-v1-timeline--horizontal > li {
    position: relative;
}

.trd-v1-timeline--horizontal > li::before {
    top: -1.87rem;
    left: 0;
    margin: 0;
}

/* Technology diagram. */
.trd-v1-diagram {
    margin: 0;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid var(--trd-on-dark-border);
    border-radius: var(--trd-radius-lg);
}

.trd-v1-diagram svg {
    display: block;
    width: 100%;
    height: auto;
}

.trd-v1-diagram__path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.42);
    stroke-width: 2;
    stroke-dasharray: 5 6;
}

.trd-v1-diagram__arrow {
    fill: var(--trd-accent);
}

.trd-v1-diagram__node rect {
    fill: var(--trd-navy-900);
    stroke: rgba(255, 255, 255, 0.15);
}

.trd-v1-diagram__node circle,
.trd-v1-diagram__node path {
    fill: none;
    stroke: var(--trd-accent);
    stroke-width: 2;
}

.trd-v1-diagram__node text,
.trd-v1-diagram__end-label {
    fill: var(--trd-on-dark);
    font-family: inherit;
    font-size: 12px;
    font-weight: 650;
}

.trd-v1-diagram__node--end circle {
    fill: var(--trd-accent);
    stroke: none;
}

.trd-v1-diagram figcaption {
    margin-top: 0.75rem;
    color: var(--trd-on-dark-muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

.trd-v1-list-check {
    display: grid;
    gap: 0.75rem;
    margin: 1.75rem 0 0;
    padding: 0;
    list-style: none;
}

.trd-v1-list-check li {
    position: relative;
    padding-left: 1.75rem;
    color: var(--trd-on-dark);
}

.trd-v1-list-check li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--trd-accent);
    font-weight: 800;
}

.trd-v1-security-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

/* Qualitative comparison component. */
.trd-v1-compare {
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-lg);
    box-shadow: var(--trd-shadow-sm);
    overflow: hidden;
}

.trd-v1-compare__row {
    display: grid;
    grid-template-columns: minmax(150px, 0.8fr) minmax(240px, 1.45fr) minmax(240px, 1.45fr);
}

.trd-v1-compare__row + .trd-v1-compare__row {
    border-top: 1px solid var(--trd-border);
}

.trd-v1-compare__row > div {
    min-width: 0;
    padding: 1.25rem 1.35rem;
    color: var(--trd-muted);
    line-height: 1.6;
}

.trd-v1-compare__row > div + div {
    border-left: 1px solid var(--trd-border);
}

.trd-v1-compare__row > div:first-child {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    color: var(--trd-text);
    font-weight: 750;
}

.trd-v1-compare__row > div:first-child i {
    width: 1.1rem;
    margin-top: 0.25rem;
    color: var(--trd-blue-600);
}

.trd-v1-compare__head {
    color: var(--trd-on-dark);
    background: var(--trd-navy-900);
}

.trd-v1-compare__head > div,
.trd-v1-compare__head > div:first-child {
    color: var(--trd-on-dark);
    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.trd-v1-compare__head > div + div {
    border-left-color: var(--trd-on-dark-border);
}

.trd-v1-funds-stack {
    display: grid;
    gap: 0.85rem;
}

.trd-v1-legal-note {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-top: 1.5rem;
    padding: 1rem;
    color: var(--trd-on-dark-muted);
    background: rgba(255, 255, 255, 0.04);
    border-left: 3px solid var(--trd-accent);
    font-size: 0.88rem;
    line-height: 1.6;
}

.trd-v1-legal-note i {
    margin-top: 0.22rem;
    color: var(--trd-accent);
}

/* CTA band. */
.trd-v1-section--cta {
    padding-top: clamp(3.5rem, 6vw, 6rem);
}

.trd-v1-cta-band {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 7fr) auto;
    gap: 2.5rem;
    align-items: center;
    padding: clamp(2rem, 4.5vw, 4rem);
    color: var(--trd-on-dark-muted);
    background: linear-gradient(125deg, var(--trd-navy-950), var(--trd-blue-800));
    border-radius: var(--trd-radius-lg);
    box-shadow: var(--trd-shadow-md);
    overflow: hidden;
}

.trd-v1-cta-band::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.25;
    background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.2) 1px, transparent 0);
    background-size: 22px 22px;
    mask-image: linear-gradient(90deg, transparent, #000);
}

.trd-v1-cta-band h2 {
    max-width: 20ch;
    margin: 0 0 0.8rem;
    color: var(--trd-on-dark);
    font-size: clamp(1.8rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.trd-v1-cta-band p {
    max-width: 720px;
    margin: 0;
    line-height: 1.7;
}

.trd-v1-cta-band__actions {
    justify-content: flex-end;
}

/* 1280–1440: retain editorial scale without over-wide reading measures. */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .trd-v1-hero {
        min-height: 650px;
    }
    .trd-v1-hero__grid {
        gap: 4rem;
    }
    .trd-v1-card {
        padding: 1.75rem;
    }
    .trd-v1-timeline--horizontal {
        grid-template-columns: 1fr;
        padding: 0 0 0 2rem;
    }
    .trd-v1-timeline--horizontal::before {
        top: 0.5rem;
        right: auto;
        bottom: 0.5rem;
        left: 0.45rem;
        width: 1px;
        height: auto;
    }
    .trd-v1-timeline--horizontal > li::before {
        top: auto;
        left: -1.85rem;
        margin-top: 0.45rem;
    }
}

/* 1024/tablet landscape. */
@media (max-width: 1199.98px) {
    .trd-v1-hero,
    .trd-v1-hero--editorial {
        min-height: auto;
    }
    .trd-v1-hero__grid,
    .trd-v1-hero--split .trd-v1-hero__grid,
    .trd-v1-hero--panel .trd-v1-hero__grid {
        grid-template-columns: minmax(0, 6fr) minmax(330px, 5fr);
        gap: 2.5rem;
    }
    .trd-v1-grid-asym,
    .trd-v1-grid-asym--media-right,
    .trd-v1-grid-asym--narrow-copy {
        gap: 3.5rem;
    }
    .trd-v1-steps__item {
        padding-right: 1rem;
    }
    .trd-v1-cta-band {
        grid-template-columns: 1fr;
    }
    .trd-v1-cta-band__actions {
        justify-content: flex-start;
    }
}

/* 768/tablet portrait. */
@media (max-width: 991.98px) {
    .trd-v1-page {
        --trd-v1-space-section: clamp(4rem, 9vw, 5.5rem);
    }
    .trd-v1-hero {
        padding-block: 4.5rem;
    }
    .trd-v1-hero__grid,
    .trd-v1-hero--split .trd-v1-hero__grid,
    .trd-v1-hero--panel .trd-v1-hero__grid,
    .trd-v1-grid-asym,
    .trd-v1-grid-asym--media-right,
    .trd-v1-grid-asym--narrow-copy,
    .trd-v1-section-heading--split {
        grid-template-columns: 1fr;
    }
    .trd-v1-hero__copy {
        max-width: 760px;
    }
    .trd-v1-panel--hero {
        max-width: 680px;
    }
    .trd-v1-media-frame {
        max-width: 620px;
        margin-inline: auto;
    }
    .trd-v1-media-frame img {
        aspect-ratio: 16 / 10;
    }
    .trd-v1-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .trd-v1-bento__wide {
        grid-column: span 1;
    }
    .trd-v1-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 2rem 1.5rem;
    }
    .trd-v1-steps__item:nth-child(2)::after {
        display: none;
    }
    .trd-v1-security-grid {
        grid-template-columns: 1fr;
    }
    .trd-v1-compare__row {
        grid-template-columns: minmax(130px, 0.65fr) minmax(220px, 1fr) minmax(220px, 1fr);
    }
}

/* 768 and below: comparison becomes stacked cards and never scrolls sideways. */
@media (max-width: 767.98px) {
    .trd-v1-hero__title {
        font-size: clamp(2.45rem, 10vw, 4rem);
    }
    .trd-v1-breadcrumb {
        margin-bottom: 2rem;
    }
    .trd-v1-bento,
    .trd-v1-steps {
        grid-template-columns: 1fr;
    }
    .trd-v1-steps {
        gap: 1.5rem;
    }
    .trd-v1-steps__item {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: 1rem;
        padding: 0;
    }
    .trd-v1-steps__item::after,
    .trd-v1-steps__item:nth-child(2)::after {
        display: none;
    }
    .trd-v1-steps__marker {
        grid-row: span 2;
    }
    .trd-v1-steps__item h3 {
        margin: 0 0 0.4rem;
    }
    .trd-v1-compare {
        border: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }
    .trd-v1-compare__head {
        display: none;
    }
    .trd-v1-compare__row {
        display: grid;
        grid-template-columns: 1fr;
        margin-bottom: 0.85rem;
        background: var(--trd-surface);
        border: 1px solid var(--trd-border);
        border-radius: var(--trd-radius-md);
        box-shadow: var(--trd-shadow-sm);
        overflow: hidden;
    }
    .trd-v1-compare__row + .trd-v1-compare__row {
        border-top: 1px solid var(--trd-border);
    }
    .trd-v1-compare__row > div,
    .trd-v1-compare__row > div + div {
        padding: 1rem;
        border-left: 0;
        border-top: 1px solid var(--trd-border);
    }
    .trd-v1-compare__row > div:first-child {
        color: var(--trd-on-dark);
        background: var(--trd-navy-900);
        border-top: 0;
    }
    .trd-v1-compare__row > div:first-child i {
        color: var(--trd-accent);
    }
    .trd-v1-diagram {
        padding: 0.65rem;
    }
}

/* 390/mobile. */
@media (max-width: 575.98px) {
    .trd-v1-page {
        --trd-v1-space-section: 4rem;
    }
    .trd-v1-hero,
    .trd-v1-hero--compact {
        min-height: auto;
        padding-block: 3.5rem;
    }
    .trd-v1-hero::before {
        background-size: 38px 38px;
    }
    .trd-v1-hero__actions,
    .trd-v1-cta-band__actions {
        flex-direction: column;
    }
    .trd-v1-button {
        width: 100%;
        min-height: 48px;
    }
    .trd-v1-text-link,
    .trd-v1-breadcrumb a {
        min-height: 44px;
        align-items: center;
    }
    .trd-v1-hero-network {
        width: 100%;
        margin-top: 2rem;
    }
    .trd-v1-panel__header {
        align-items: flex-start;
        flex-direction: column;
    }
    .trd-v1-panel__rows li {
        grid-template-columns: 40px minmax(0, 1fr) auto;
    }
    .trd-v1-card,
    .trd-v1-cta-band {
        padding: 1.35rem;
    }
    .trd-v1-card--dark-outline {
        grid-template-columns: 1fr;
    }
    .trd-v1-media-frame {
        box-shadow: 12px 14px 0 rgba(14, 76, 146, 0.08), var(--trd-shadow-sm);
    }
    .trd-v1-media-frame img {
        aspect-ratio: 4 / 3;
    }
    .trd-v1-media-frame__mark {
        right: 1.4rem;
        bottom: 1.4rem;
        width: 48px;
        height: 48px;
    }
    .trd-v1-diagram__node text,
    .trd-v1-diagram__end-label {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trd-v1-page *,
    .trd-v1-page *::before,
    .trd-v1-page *::after {
        animation: none;
        scroll-behavior: auto;
        transition-duration: 0.01ms;
    }
    .trd-v1-page [data-aos][data-aos] {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .trd-v1-card:hover,
    .trd-v1-button:hover {
        transform: none;
    }
    .trd-v1-text-link::after {
        transition: none;
    }
}

/* ===== FRONTEND V1 — RUN 2 ===== */
.trd-v1-section--light {
    color: var(--trd-text);
    background: var(--trd-surface-soft);
}

/* Markets: exploratory data language without representing live values. */
.trd-v1-markets-hero {
    --trd-v1-hero-img: url("../img/heroes/hero-markets-bg.jpg");
}

.trd-v1-markets-visual {
    padding-bottom: 1rem;
}

.trd-v1-markets-visual svg {
    display: block;
    width: calc(100% - 2rem);
    margin: 1rem;
}

.trd-v1-markets-visual__grid path {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
    stroke-width: 1;
}

.trd-v1-markets-visual__area {
    fill: url("#marketArea");
}

.trd-v1-markets-visual__line {
    fill: none;
    stroke: var(--trd-accent);
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
}

.trd-v1-markets-visual__points circle {
    fill: var(--trd-navy-900);
    stroke: var(--trd-accent);
    stroke-width: 3;
}

.trd-v1-markets-visual__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    padding: 0 1rem;
}

.trd-v1-markets-visual__chips span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 36px;
    padding: 0.45rem 0.7rem;
    color: var(--trd-on-dark);
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid var(--trd-on-dark-border);
    border-radius: 999px;
    font-size: 0.74rem;
}

.trd-v1-markets-visual__chips i {
    color: var(--trd-accent);
}

.trd-v1-markets-visual figcaption {
    margin: 0.9rem 1rem 0;
    color: var(--trd-on-dark-muted);
    font-size: 0.75rem;
}

.trd-v1-markets #market-content > .container {
    padding-bottom: 0;
}

.trd-v1-market-nav {
    display: flex;
    gap: 0.45rem;
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
    padding: 0.45rem;
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-lg);
    box-shadow: var(--trd-shadow-sm);
    overflow-x: auto;
    scrollbar-width: thin;
}

.trd-v1-market-nav__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex: 1 0 auto;
    min-height: 46px;
    padding: 0.7rem 1rem;
    color: var(--trd-muted);
    border: 1px solid transparent;
    border-radius: calc(var(--trd-radius-lg) - 4px);
    font-size: 0.84rem;
    font-weight: 750;
    text-decoration: none;
    transition: color var(--trd-dur-base) ease, background-color var(--trd-dur-base) ease, border-color var(--trd-dur-base) ease;
}

.trd-v1-market-nav__item:hover {
    color: var(--trd-blue-700);
    background: var(--trd-surface-soft);
}

.trd-v1-market-nav__item.is-active {
    color: var(--trd-on-dark);
    background: var(--trd-navy-900);
    border-color: var(--trd-navy-900);
}

.trd-v1-market-nav__item.is-active i {
    color: var(--trd-accent);
}

.trd-v1-market-nav__item:focus-visible,
.trd-v1-accounts-stack a:focus-visible,
.trd-v1-account-table-wrap:focus-visible {
    outline: 2px solid var(--trd-accent);
    outline-offset: 3px;
}

.trd-v1-markets .markets-intro-card,
.trd-v1-markets .markets-risk-factors,
.trd-v1-markets .markets-detail-panel {
    border-color: var(--trd-border);
    border-radius: var(--trd-radius-lg);
    box-shadow: var(--trd-shadow-sm);
}

.trd-v1-markets .markets-analysis-panel,
.trd-v1-markets .markets-risk-dark,
.trd-v1-markets .markets-detail-risks {
    background: var(--trd-navy-900);
    border-radius: var(--trd-radius-lg);
    box-shadow: var(--trd-shadow-md);
}

.trd-v1-markets .markets-category-card {
    border-radius: var(--trd-radius-lg);
    box-shadow: var(--trd-shadow-sm);
    transition: transform var(--trd-dur-base) ease, box-shadow var(--trd-dur-base) ease;
}

.trd-v1-markets .markets-category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--trd-shadow-md);
}

.trd-v1-market-detail {
    max-width: 1160px;
    margin-inline: auto;
}

.trd-v1-markets .markets-detail-header {
    margin-top: 0;
}

.trd-v1-markets .markets-detail-intro {
    max-width: 820px;
    margin-bottom: 2rem;
}

.trd-v1-markets .markets-detail-risks {
    height: 100%;
    padding: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--trd-on-dark);
}

.trd-v1-markets .markets-detail-risks .markets-detail-panel-title,
.trd-v1-markets .markets-detail-risks .markets-detail-list li {
    color: var(--trd-on-dark);
}

.trd-v1-markets .markets-detail-risks .markets-detail-list li::before {
    color: var(--trd-accent);
}

.trd-v1-markets-contact {
    padding: var(--trd-v1-space-section) 0;
    background: var(--trd-surface-soft);
}

.trd-v1-markets-contact .markets-contact-box {
    background: linear-gradient(125deg, var(--trd-navy-950), var(--trd-blue-800));
    border: 1px solid var(--trd-on-dark-border);
    border-radius: var(--trd-radius-lg);
    box-shadow: var(--trd-shadow-md);
}

.trd-v1-markets-contact__check {
    display: inline-grid;
    place-items: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    color: var(--trd-accent);
    background: rgba(0, 230, 118, 0.1);
    border-radius: 50%;
}

.trd-v1-markets-contact .form-control {
    min-height: 48px;
    border-radius: var(--trd-radius-sm);
}

/* Accounts: premium tier comparison and decision flow. */
.trd-v1-accounts-hero {
    --trd-v1-hero-img: url("../img/heroes/hero-accounts-bg.webp");
}

.trd-v1-accounts-stack {
    padding: 0.6rem;
}

.trd-v1-accounts-stack .trd-v1-panel__header {
    margin: -0.6rem -0.6rem 0.5rem;
}

.trd-v1-accounts-stack > a {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
    min-height: 64px;
    padding: 0.65rem 0.75rem;
    color: var(--trd-on-dark);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--trd-radius-sm);
    text-decoration: none;
    transition: background-color var(--trd-dur-base) ease, transform var(--trd-dur-base) ease;
}

.trd-v1-accounts-stack > a:last-child {
    border-bottom: 0;
}

.trd-v1-accounts-stack > a:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateX(3px);
}

.trd-v1-accounts-stack > a > i {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    color: var(--trd-accent);
    background: rgba(0, 230, 118, 0.08);
    border-radius: var(--trd-radius-sm);
}

.trd-v1-accounts-stack > a > span {
    color: var(--trd-on-dark-muted);
    font-size: 0.72rem;
}

.trd-v1-accounts .accounts-types-section {
    padding: var(--trd-v1-space-section) 0;
    background: var(--trd-surface-soft);
}

.trd-v1-accounts .accounts-types-heading {
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.trd-v1-accounts .accounts-types-eyebrow {
    color: #0A8F4C;
}

.trd-v1-accounts .accounts-types-title {
    color: var(--trd-text);
}

.trd-v1-accounts .accounts-types-intro {
    color: var(--trd-muted);
}

.trd-v1-account-card {
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-lg);
    box-shadow: var(--trd-shadow-sm);
    overflow: hidden;
    transition: transform var(--trd-dur-base) ease, box-shadow var(--trd-dur-base) ease;
}

.trd-v1-account-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--trd-shadow-md);
}

.trd-v1-account-card--raised {
    transform: translateY(-10px);
}

.trd-v1-account-card--raised:hover {
    transform: translateY(-13px);
}

.trd-v1-account-card--accent {
    border-top: 3px solid var(--trd-blue-600);
}

.trd-v1-account-card--dark {
    color: var(--trd-on-dark);
    background: var(--trd-navy-900);
    border-color: var(--trd-navy-900);
}

.trd-v1-account-card--dark .account-tier-card__name,
.trd-v1-account-card--dark .account-tier-card__deposit-value,
.trd-v1-account-card--dark .account-tier-card__features li {
    color: var(--trd-on-dark);
}

.trd-v1-account-card--dark .account-tier-card__description,
.trd-v1-account-card--dark .account-tier-card__deposit-label {
    color: var(--trd-on-dark-muted);
}

.trd-v1-account-card--dark .account-tier-card__actions {
    border-top-color: var(--trd-on-dark-border);
}

.trd-v1-account-card--dark .account-tier-card__link {
    color: var(--trd-accent);
}

.trd-v1-account-table-wrap {
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-lg);
    box-shadow: var(--trd-shadow-md);
}

.trd-v1-account-table {
    min-width: 860px;
    font-size: 0.9rem;
}

.trd-v1-account-table thead th {
    color: var(--trd-on-dark);
    background: var(--trd-navy-900);
    border-color: var(--trd-on-dark-border);
}

.trd-v1-account-table th:first-child,
.trd-v1-account-table td:first-child {
    position: sticky;
    z-index: 1;
    left: 0;
    background: var(--trd-surface);
    box-shadow: 1px 0 0 var(--trd-border);
}

.trd-v1-account-table thead th:first-child {
    z-index: 2;
    background: var(--trd-navy-900);
}

.trd-v1-account-funding,
.trd-v1-account-process {
    height: 100%;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-lg);
    box-shadow: var(--trd-shadow-sm);
}

.trd-v1-account-methods {
    display: grid;
    grid-template-columns: repeat(5, minmax(58px, 1fr));
    gap: 0.65rem;
}

.trd-v1-account-methods span {
    display: grid;
    place-items: center;
    min-height: 64px;
    color: var(--trd-blue-700);
    background: var(--trd-surface-soft);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-sm);
    font-size: 0.75rem;
    font-weight: 800;
}

.trd-v1-account-process__list {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.trd-v1-account-process__list li {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 1rem;
    align-items: start;
}

.trd-v1-account-process__number {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    color: var(--trd-on-dark);
    background: var(--trd-navy-900);
    border-radius: 50%;
    font-weight: 800;
}

.trd-v1-account-process__list li:last-child .trd-v1-account-process__number {
    color: var(--trd-navy-950);
    background: var(--trd-accent);
}

.trd-v1-account-process__list h3 {
    margin: 0 0 0.35rem;
    color: var(--trd-text);
    font-size: 1rem;
    font-weight: 750;
}

.trd-v1-accounts-help {
    background: var(--trd-surface);
}

/* VIP: sober editorial hierarchy with a restrained gold detail. */
.trd-v1-vip-hero {
    --trd-v1-hero-img: url("../img/heroes/hero-vip-bg.webp");
    min-height: 720px;
    background-image:
        linear-gradient(90deg, rgba(6, 17, 31, 0.98) 5%, rgba(6, 17, 31, 0.88) 55%, rgba(6, 17, 31, 0.58) 100%),
        var(--trd-v1-hero-img);
}

.trd-v1-vip-hero__layout {
    display: grid;
    grid-template-columns: minmax(0, 8fr) minmax(180px, 3fr);
    gap: 4rem;
    align-items: end;
}

.trd-v1-vip-hero .trd-v1-hero__copy {
    max-width: 820px;
    padding-left: clamp(1rem, 5vw, 5rem);
    border-left: 1px solid var(--uty-gold);
}

.trd-v1-vip-hero .trd-v1-hero__title {
    max-width: 12ch;
    margin-inline: 0;
}

.trd-v1-vip-hero .trd-v1-hero__lead {
    margin-inline: 0;
}

.trd-v1-vip-hero .trd-v1-hero__actions {
    justify-content: flex-start;
}

.trd-v1-vip-eyebrow,
.trd-v1-vip .text-vip-gold {
    color: var(--uty-gold);
}

.trd-v1-vip-hero__mark {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    color: rgba(255, 255, 255, 0.64);
    border-top: 1px solid rgba(212, 175, 55, 0.55);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.2em;
}

.trd-v1-vip-bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-flow: dense;
    gap: 1rem;
}

.trd-v1-vip-service {
    min-height: 250px;
    padding: clamp(1.4rem, 2.5vw, 2.25rem);
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-lg);
    box-shadow: var(--trd-shadow-sm);
    transition: transform var(--trd-dur-base) ease, box-shadow var(--trd-dur-base) ease;
}

.trd-v1-vip-service:hover {
    transform: translateY(-3px);
    box-shadow: var(--trd-shadow-md);
}

.trd-v1-vip-service--wide {
    grid-column: span 2;
}

.trd-v1-vip-service--dark {
    color: var(--trd-on-dark);
    background: var(--trd-navy-900);
    border-color: var(--trd-navy-900);
}

.trd-v1-vip-service--accent {
    border-bottom: 3px solid var(--uty-gold);
}

.trd-v1-vip-service__icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    color: var(--uty-gold);
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.24);
    border-radius: 50%;
}

.trd-v1-vip-service h3 {
    margin: 2rem 0 0.75rem;
    color: inherit;
    font-size: 1.2rem;
    font-weight: 750;
}

.trd-v1-vip-service p {
    margin: 0;
    color: var(--trd-muted);
    line-height: 1.7;
}

.trd-v1-vip-service--dark p {
    color: var(--trd-on-dark-muted);
}

.trd-v1-vip-request {
    position: relative;
    background: var(--trd-navy-950);
}

.trd-v1-vip-request__grid {
    display: grid;
    grid-template-columns: minmax(280px, 4fr) minmax(0, 7fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
}

.trd-v1-vip-process {
    position: sticky;
    top: 7rem;
}

.trd-v1-vip-process > h2 {
    margin: 0 0 2.5rem;
    color: var(--trd-on-dark);
    font-size: clamp(2rem, 3.5vw, 3.4rem);
    line-height: 1.08;
}

.trd-v1-vip-process .trd-v1-timeline {
    gap: 1.75rem;
}

.trd-v1-vip-process .trd-v1-timeline::before {
    background: rgba(212, 175, 55, 0.35);
}

.trd-v1-vip-process .trd-v1-timeline > li::before {
    background: var(--uty-gold);
}

.trd-v1-vip-process h3 {
    margin: 0 0 0.35rem;
    color: var(--trd-on-dark);
    font-size: 1rem;
}

.trd-v1-vip-process p {
    margin: 0;
    color: var(--trd-on-dark-muted);
    font-size: 0.9rem;
    line-height: 1.65;
}

.trd-v1-vip-form-panel {
    padding: clamp(1.5rem, 4vw, 3.5rem);
    background: rgba(8, 26, 47, 0.94);
    border: 1px solid rgba(212, 175, 55, 0.42);
    border-radius: var(--trd-radius-lg);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.28);
}

.trd-v1-vip-form-panel__heading {
    margin-bottom: 2rem;
}

.trd-v1-vip-form-panel__heading h2 {
    margin: 0 0 0.75rem;
    color: var(--trd-on-dark);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.trd-v1-vip-form-panel__heading p {
    margin: 0;
    color: var(--trd-on-dark-muted);
}

.trd-v1-vip-form-panel .form-control,
.trd-v1-vip-form-panel .form-select {
    min-height: 50px;
    background: rgba(255, 255, 255, 0.045);
    border-color: rgba(255, 255, 255, 0.2);
    border-radius: var(--trd-radius-sm);
}

.trd-v1-vip-form-panel .form-control:focus,
.trd-v1-vip-form-panel .form-select:focus {
    border-color: var(--uty-gold);
    box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.14);
}

.trd-v1-vip .btn-vip {
    min-height: 50px;
    color: var(--trd-navy-950);
    background: var(--uty-gold);
    border: 1px solid var(--uty-gold);
    border-radius: var(--trd-radius-sm);
}

.trd-v1-vip .btn-vip:hover {
    color: var(--trd-on-dark);
    background: transparent;
}

@media (max-width: 1199.98px) {
    .trd-v1-vip-bento {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .trd-v1-account-card--raised,
    .trd-v1-account-card--raised:hover {
        transform: none;
    }
    .trd-v1-vip-hero__layout,
    .trd-v1-vip-request__grid {
        grid-template-columns: 1fr;
    }
    .trd-v1-vip-hero__mark {
        max-width: 240px;
    }
    .trd-v1-vip-bento {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .trd-v1-vip-process {
        position: static;
        max-width: 680px;
    }
}

@media (max-width: 767.98px) {
    .trd-v1-market-nav {
        margin-inline: -0.25rem;
        border-radius: var(--trd-radius-md);
    }
    .trd-v1-market-nav__item {
        min-height: 48px;
    }
    .trd-v1-account-methods {
        grid-template-columns: repeat(3, minmax(58px, 1fr));
    }
    .trd-v1-account-table th:first-child,
    .trd-v1-account-table td:first-child {
        position: static;
        box-shadow: none;
    }
    .trd-v1-vip-service--wide {
        grid-column: span 1;
    }
}

@media (max-width: 575.98px) {
    .trd-v1-markets-visual .trd-v1-panel__header,
    .trd-v1-accounts-stack .trd-v1-panel__header {
        align-items: flex-start;
    }
    .trd-v1-accounts-stack > a {
        grid-template-columns: 42px minmax(0, 1fr);
    }
    .trd-v1-accounts-stack > a > span {
        grid-column: 2;
    }
    .trd-v1-account-methods {
        grid-template-columns: repeat(2, minmax(58px, 1fr));
    }
    .trd-v1-vip-hero {
        min-height: auto;
    }
    .trd-v1-vip-hero .trd-v1-hero__copy {
        padding-left: 1.25rem;
    }
    .trd-v1-vip-bento {
        grid-template-columns: 1fr;
    }
    .trd-v1-vip-service {
        min-height: auto;
    }
    .trd-v1-vip-form-panel {
        padding: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trd-v1-account-card--raised,
    .trd-v1-account-card--raised:hover,
    .trd-v1-accounts-stack > a:hover,
    .trd-v1-vip-service:hover,
    .trd-v1-markets .markets-category-card:hover {
        transform: none;
    }
}

/* ===== FRONTEND V1 — RUN 3 ===== */
/* Platform, education, course and contact page personalities. */
.trd-v1-platform-hero {
    --trd-v1-hero-img: url("../img/platform/platform-hero-interface-v2.webp");
    background-image:
        radial-gradient(ellipse 58% 62% at 76% 54%, rgba(5, 17, 31, 0.78) 0%, rgba(5, 17, 31, 0.62) 46%, rgba(5, 17, 31, 0.16) 76%, transparent 100%),
        linear-gradient(112deg, rgba(6, 17, 31, 0.97) 4%, rgba(8, 26, 47, 0.94) 54%, rgba(10, 45, 85, 0.84) 100%),
        var(--trd-v1-hero-img);
}

@media (max-width: 991.98px) {
    .trd-v1-platform-hero {
        background-image:
            radial-gradient(ellipse 76% 48% at 50% 72%, rgba(5, 17, 31, 0.82) 0%, rgba(5, 17, 31, 0.6) 54%, transparent 100%),
            linear-gradient(118deg, rgba(6, 17, 31, 0.98) 0%, rgba(8, 26, 47, 0.95) 58%, rgba(10, 45, 85, 0.9) 100%),
            var(--trd-v1-hero-img);
        background-position: 28% center;
    }
}

.trd-v1-platform-browser {
    color: var(--trd-on-dark);
    background: rgba(7, 18, 33, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--trd-radius-lg);
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.38);
    overflow: hidden;
    transform: perspective(1100px) rotateY(-3deg);
}

.trd-v1-platform-browser__bar {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 48px;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.055);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trd-v1-platform-browser__bar > span,
.trd-v1-platform-chart-media__bar span {
    width: 9px;
    height: 9px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.trd-v1-platform-browser__bar > span:first-child,
.trd-v1-platform-chart-media__bar span:first-child {
    background: var(--trd-accent);
}

.trd-v1-platform-browser__bar > div {
    min-width: 0;
    margin-left: 0.75rem;
    padding: 0.3rem 1rem;
    color: var(--trd-on-dark-muted);
    background: rgba(255, 255, 255, 0.055);
    border-radius: 999px;
    font-size: 0.72rem;
}

.trd-v1-platform-browser__body {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    min-height: 350px;
}

.trd-v1-platform-browser__body aside {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 0.7rem;
    background: rgba(255, 255, 255, 0.025);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.trd-v1-platform-browser__body aside span {
    width: 28px;
    height: 28px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 7px;
}

.trd-v1-platform-browser__body aside span:first-child {
    background: rgba(0, 230, 118, 0.16);
    border: 1px solid rgba(0, 230, 118, 0.3);
}

.trd-v1-platform-browser__workspace {
    min-width: 0;
    padding: 1rem;
}

.trd-v1-platform-browser__toolbar,
.trd-v1-platform-chart-media__bar {
    display: flex;
    gap: 0.5rem;
}

.trd-v1-platform-browser__toolbar {
    margin-bottom: 1rem;
}

.trd-v1-platform-browser__toolbar span {
    width: 23%;
    height: 9px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
}

.trd-v1-platform-browser__workspace svg {
    display: block;
    width: 100%;
    margin-top: 1.25rem;
}

.trd-v1-platform-chart-grid {
    fill: none;
    stroke: rgba(255, 255, 255, 0.08);
}

.trd-v1-platform-chart-area {
    fill: rgba(0, 230, 118, 0.07);
}

.trd-v1-platform-chart-line {
    fill: none;
    stroke: var(--trd-accent);
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
}

.trd-v1-platform-browser__tickets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
    margin-top: 1rem;
}

.trd-v1-platform-browser__tickets span {
    height: 42px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
}

.trd-v1-platform-browser__note {
    display: flex;
    gap: 0.55rem;
    margin: 0;
    padding: 0.85rem 1rem;
    color: var(--trd-on-dark-muted);
    background: rgba(255, 255, 255, 0.035);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.76rem;
    line-height: 1.5;
}

.trd-v1-platform-browser__note i,
.trd-v1-platform-feature-strip i {
    color: var(--trd-accent);
}

.trd-v1-platform-flow {
    padding: clamp(1rem, 3vw, 2.25rem);
}

.trd-v1-platform-flow .trd-v1-diagram__node rect {
    fill: rgba(12, 37, 66, 0.96);
}

.trd-v1-platform-features {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
    gap: 1rem;
}

.trd-v1-platform-feature--large {
    grid-row: span 2;
    min-height: 410px;
    overflow: hidden;
}

.trd-v1-platform-feature--large p {
    max-width: 52ch;
}

.trd-v1-platform-feature__lines {
    position: absolute;
    right: -7%;
    bottom: -13%;
    width: 48%;
    aspect-ratio: 1;
    border: 1px solid rgba(14, 76, 146, 0.14);
    border-radius: 50%;
    box-shadow: 0 0 0 36px rgba(14, 76, 146, 0.045), 0 0 0 72px rgba(14, 76, 146, 0.025);
}

.trd-v1-platform-feature-strip {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    color: var(--trd-on-dark);
    background: var(--trd-blue-800);
    border-radius: var(--trd-radius-lg);
    box-shadow: var(--trd-shadow-sm);
    overflow: hidden;
}

.trd-v1-platform-feature-strip span {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 74px;
    padding: 1rem 1.25rem;
    font-weight: 700;
}

.trd-v1-platform-feature-strip span + span {
    border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.trd-v1-platform-tool-list,
.trd-v1-platform-mobile-list {
    display: grid;
    margin: 2rem 0 0;
    padding: 0;
    list-style: none;
}

.trd-v1-platform-tool-list li {
    padding: 1rem 0;
    color: var(--trd-muted);
    line-height: 1.65;
    border-bottom: 1px solid var(--trd-border);
}

.trd-v1-platform-tool-list strong {
    color: var(--trd-text);
}

.trd-v1-platform-chart-media {
    margin: 0;
    background: var(--trd-navy-950);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-lg);
    box-shadow: var(--trd-shadow-md);
    overflow: hidden;
}

.trd-v1-platform-chart-media__bar {
    padding: 0.85rem 1rem;
}

.trd-v1-platform-chart-media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.trd-v1-platform-chart-media figcaption {
    padding: 0.9rem 1rem;
    color: var(--trd-on-dark-muted);
    font-size: 0.78rem;
}

.trd-v1-platform-device {
    position: relative;
    width: min(460px, 84%);
    margin-inline: auto;
    padding: 1rem;
    background: var(--trd-navy-950);
    border-radius: 34px;
    box-shadow: 28px 32px 0 rgba(14, 76, 146, 0.08), var(--trd-shadow-md);
}

.trd-v1-platform-device::before {
    content: "";
    position: absolute;
    top: 0.55rem;
    left: 50%;
    width: 26%;
    height: 5px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    transform: translateX(-50%);
}

.trd-v1-platform-device__screen {
    min-height: 410px;
    padding: 2.25rem 1rem 1rem;
    background: linear-gradient(160deg, #0B2038, #0D3157);
    border-radius: 24px;
}

.trd-v1-platform-device__nav,
.trd-v1-platform-device__rows {
    display: flex;
    justify-content: space-between;
    gap: 0.65rem;
}

.trd-v1-platform-device__nav span {
    width: 30%;
    height: 10px;
    background: rgba(255, 255, 255, 0.13);
    border-radius: 999px;
}

.trd-v1-platform-device__chart {
    position: relative;
    height: 200px;
    margin: 2rem 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 36px 36px;
    overflow: hidden;
}

.trd-v1-platform-device__chart span {
    position: absolute;
    top: 54%;
    left: -8%;
    width: 118%;
    height: 42%;
    border-top: 3px solid var(--trd-accent);
    border-radius: 50%;
    transform: rotate(-12deg);
}

.trd-v1-platform-device__rows {
    flex-direction: column;
}

.trd-v1-platform-device__rows span {
    height: 38px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
}

.trd-v1-platform-mobile-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
}

.trd-v1-platform-mobile-list li {
    display: grid;
    gap: 0.55rem;
    padding: 1rem;
    color: var(--trd-text);
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-md);
    font-size: 0.86rem;
    font-weight: 700;
}

.trd-v1-platform-mobile-list i {
    color: var(--trd-blue-600);
}

.trd-v1-platform-specs {
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-lg);
    box-shadow: var(--trd-shadow-sm);
    overflow: hidden;
}

.trd-v1-platform-specs table {
    width: 100%;
    border-collapse: collapse;
}

.trd-v1-platform-specs th,
.trd-v1-platform-specs td {
    padding: 1.15rem 1.25rem;
    text-align: left;
    vertical-align: top;
}

.trd-v1-platform-specs thead {
    color: var(--trd-on-dark);
    background: var(--trd-navy-900);
}

.trd-v1-platform-specs tbody tr + tr {
    border-top: 1px solid var(--trd-border);
}

.trd-v1-platform-specs tbody th {
    width: 23%;
    color: var(--trd-text);
}

.trd-v1-platform-specs tbody td {
    color: var(--trd-muted);
}

/* Education: editorial hero and progressive learning path. */
.trd-v1-education-hero {
    --trd-v1-hero-img: url("../img/heroes/hero-education-custom.webp");
    background-position: center 40%;
}

.trd-v1-education-hero__track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: min(620px, 72%);
    margin: 4.5rem auto 0;
}

.trd-v1-education-hero__track::before,
.trd-v1-education-path::before {
    content: "";
    position: absolute;
    right: 0;
    left: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
}

.trd-v1-education-hero__track::before {
    top: 8px;
}

.trd-v1-education-hero__track span {
    position: relative;
    width: 17px;
    height: 17px;
    background: var(--trd-navy-900);
    border: 2px solid var(--trd-accent);
    border-radius: 50%;
}

.trd-v1-education-hero__track span:nth-child(2) {
    justify-self: center;
}

.trd-v1-education-hero__track span:last-child {
    justify-self: end;
}

.trd-v1-education-path {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    margin: 0;
    padding: 2.25rem 0 0;
    list-style: none;
}

.trd-v1-education-path::before {
    top: 0;
    right: 12%;
    left: 12%;
    background: linear-gradient(90deg, var(--trd-blue-600), var(--trd-accent), var(--trd-blue-600));
}

.trd-v1-education-path > li {
    position: relative;
    min-width: 0;
}

.trd-v1-education-path > li::before {
    content: "";
    position: absolute;
    top: -2.6rem;
    left: 50%;
    width: 0.8rem;
    height: 0.8rem;
    background: var(--trd-accent);
    border: 3px solid var(--trd-surface-soft);
    border-radius: 50%;
    box-shadow: 0 0 0 1px var(--trd-blue-600);
    transform: translateX(-50%);
}

.trd-v1-education-course {
    height: 100%;
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-lg);
    box-shadow: var(--trd-shadow-sm);
    overflow: hidden;
    transition: transform var(--trd-dur-base) ease, box-shadow var(--trd-dur-base) ease;
}

.trd-v1-education-course:hover {
    box-shadow: var(--trd-shadow-md);
    transform: translateY(-3px);
}

.trd-v1-education-course--raised {
    transform: translateY(-1.25rem);
}

.trd-v1-education-course--raised:hover {
    transform: translateY(calc(-1.25rem - 3px));
}

.trd-v1-education-course figure {
    position: relative;
    margin: 0;
}

.trd-v1-education-course img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.trd-v1-education-course figcaption {
    position: absolute;
    right: 1rem;
    bottom: 1rem;
    padding: 0.42rem 0.68rem;
    color: var(--trd-on-dark);
    background: rgba(6, 17, 31, 0.88);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 750;
}

.trd-v1-education-course__body {
    padding: 1.75rem;
}

.trd-v1-education-path__marker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: var(--trd-on-dark);
    background: var(--trd-blue-800);
    border-radius: 50%;
    font-size: 0.73rem;
    font-weight: 800;
}

.trd-v1-education-course h3 {
    margin: 1.1rem 0 0.7rem;
    color: var(--trd-text);
    font-size: 1.35rem;
    font-weight: 800;
}

.trd-v1-education-course p,
.trd-v1-education-course li {
    color: var(--trd-muted);
    line-height: 1.65;
}

.trd-v1-education-course ul {
    display: grid;
    gap: 0.5rem;
    margin: 1.25rem 0 0;
    padding-left: 1.15rem;
    font-size: 0.88rem;
}

.trd-v1-education-philosophy,
.trd-v1-education-guidance,
.trd-v1-course-instructor,
.trd-v1-contact-schedule {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: center;
}

.trd-v1-education-philosophy__points {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 2.25rem;
}

.trd-v1-education-philosophy__points article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0.9rem;
    padding: 1.15rem;
    background: var(--trd-surface-soft);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-md);
}

.trd-v1-education-philosophy__points h3 {
    margin: 0 0 0.35rem;
    color: var(--trd-text);
    font-size: 1rem;
}

.trd-v1-education-philosophy__points p {
    margin: 0;
    color: var(--trd-muted);
    font-size: 0.88rem;
}

.trd-v1-education-resources {
    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 1rem;
}

.trd-v1-education-resources .trd-v1-card {
    grid-template-columns: 1fr;
}

.trd-v1-education-terms {
    display: grid;
    gap: 0.8rem;
    margin: 1.25rem 0 0;
}

.trd-v1-education-terms div {
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    border-radius: var(--trd-radius-sm);
}

.trd-v1-education-terms dt {
    color: var(--trd-on-dark);
    font-size: 0.84rem;
}

.trd-v1-education-terms dd {
    margin: 0.25rem 0 0;
    color: var(--trd-on-dark-muted);
    font-size: 0.78rem;
    line-height: 1.55;
}

.trd-v1-education-guidance {
    grid-template-columns: minmax(0, 5fr) minmax(380px, 5fr);
}

.trd-v1-education-guidance__list {
    display: grid;
    gap: 0.75rem;
    margin: 1.75rem 0 0;
    padding: 0;
    list-style: none;
}

.trd-v1-education-guidance__list li {
    display: flex;
    gap: 0.7rem;
    color: var(--trd-text);
    font-weight: 650;
}

.trd-v1-education-guidance__list i {
    color: #0A8F4C;
}

.trd-v1-education-form-panel {
    padding: 0.75rem;
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-lg);
    box-shadow: var(--trd-shadow-md);
}

.trd-v1-education-form-panel form {
    margin: 0;
}

.trd-v1-education-form-panel h3 {
    margin: 0 0 1.25rem;
    color: var(--trd-text);
    font-size: 1.25rem;
    text-align: center;
}

/* Course detail: panel hero, syllabus and editorial team block. */
.trd-v1-course-hero {
    --trd-v1-hero-img: var(--trd-v1-course-image);
}

.trd-v1-course-objectives,
.trd-v1-course-enroll {
    padding: clamp(1.5rem, 3vw, 2.35rem);
    color: var(--trd-on-dark);
    background: rgba(8, 26, 47, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--trd-radius-lg);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
}

.trd-v1-course-objectives__label {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: var(--trd-accent);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.trd-v1-course-objectives h2,
.trd-v1-course-enroll h2 {
    margin: 0 0 1rem;
    color: var(--trd-on-dark);
    font-size: 1.35rem;
    font-weight: 800;
}

.trd-v1-course-objectives ul {
    display: grid;
    gap: 0.9rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.trd-v1-course-objectives li {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 0.65rem;
    color: var(--trd-on-dark-muted);
    line-height: 1.55;
}

.trd-v1-course-objectives i,
.trd-v1-course-enroll__icon {
    color: var(--trd-accent);
}

.trd-v1-course-layout {
    display: grid;
    grid-template-columns: minmax(0, 7fr) minmax(330px, 4fr);
    gap: clamp(2.5rem, 6vw, 5rem);
    align-items: start;
}

.trd-v1-course-syllabus {
    display: grid;
    gap: 0.9rem;
}

.trd-v1-course-syllabus .accordion-item {
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-md);
    box-shadow: var(--trd-shadow-sm);
    overflow: hidden;
}

.trd-v1-course-syllabus .accordion-button {
    gap: 1rem;
    min-height: 74px;
    padding: 1rem 1.25rem;
    color: var(--trd-text);
    background: var(--trd-surface);
    font-weight: 750;
    box-shadow: none;
}

.trd-v1-course-syllabus .accordion-button:not(.collapsed) {
    color: var(--trd-on-dark);
    background: var(--trd-navy-900);
}

.trd-v1-course-syllabus__number {
    color: var(--trd-blue-600);
    font-size: 0.75rem;
}

.trd-v1-course-syllabus .accordion-body,
.trd-v1-course-syllabus ol {
    margin: 0;
    padding: 0;
}

.trd-v1-course-syllabus ol {
    list-style: none;
}

.trd-v1-course-syllabus ol li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    color: var(--trd-muted);
}

.trd-v1-course-syllabus ol li + li {
    border-top: 1px solid var(--trd-border);
}

.trd-v1-course-enroll {
    position: sticky;
    top: 100px;
    background: linear-gradient(145deg, var(--trd-navy-950), var(--trd-blue-900));
}

.trd-v1-course-enroll__icon {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin-bottom: 1.2rem;
    background: rgba(0, 230, 118, 0.08);
    border-radius: var(--trd-radius-md);
}

.trd-v1-course-enroll > p {
    color: var(--trd-on-dark-muted);
}

.trd-v1-course-enroll form {
    margin-top: 1.5rem;
}

.trd-v1-course-enroll__signin {
    margin: 1.25rem 0 0;
    font-size: 0.82rem;
    text-align: center;
}

.trd-v1-course-instructor {
    grid-template-columns: minmax(280px, 4fr) minmax(0, 7fr);
}

.trd-v1-course-instructor figure {
    position: relative;
    margin: 0;
}

.trd-v1-course-instructor figure::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -1.25rem;
    bottom: -1.25rem;
    width: 70%;
    height: 70%;
    background: var(--trd-surface-soft);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-lg);
}

.trd-v1-course-instructor img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: var(--trd-radius-lg);
    box-shadow: var(--trd-shadow-md);
}

.trd-v1-course-instructor__role {
    margin: -0.55rem 0 1.25rem;
    color: var(--trd-blue-600);
    font-weight: 750;
}

/* Contact: clear channels, framed scheduler and follow-up steps. */
.trd-v1-contact-hero {
    background-image: linear-gradient(120deg, #06111F 0%, #0B315A 68%, #0E4C92 100%);
}

.trd-v1-contact-hero__pattern {
    width: 100%;
    opacity: 0.72;
}

.trd-v1-contact-hero__pattern path {
    stroke: rgba(255, 255, 255, 0.25);
    stroke-width: 1.5;
}

.trd-v1-contact-hero__pattern path:first-child {
    stroke: var(--trd-accent);
    stroke-width: 2.5;
}

.trd-v1-contact-hero__pattern circle {
    fill: var(--trd-navy-900);
    stroke: var(--trd-accent);
    stroke-width: 2;
}

.trd-v1-contact-channels {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.trd-v1-contact-channels .trd-v1-text-link {
    overflow-wrap: anywhere;
}

.trd-v1-contact-schedule {
    grid-template-columns: minmax(280px, 4fr) minmax(0, 7fr);
    align-items: start;
}

.trd-v1-contact-schedule__intro {
    position: sticky;
    top: 110px;
}

.trd-v1-contact-schedule__note {
    display: flex;
    gap: 0.8rem;
    margin-top: 2rem;
    padding: 1rem;
    color: var(--trd-muted);
    background: var(--trd-surface-soft);
    border-left: 3px solid var(--trd-accent);
    font-size: 0.88rem;
    line-height: 1.6;
}

.trd-v1-contact-form-panel {
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-lg);
    box-shadow: var(--trd-shadow-md);
    overflow: hidden;
}

.trd-v1-contact-form-panel__header {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1.5rem clamp(1.25rem, 4vw, 2.5rem);
    color: var(--trd-on-dark-muted);
    background: var(--trd-navy-900);
}

.trd-v1-contact-form-panel__header span {
    padding: 0.38rem 0.65rem;
    color: var(--trd-accent);
    border: 1px solid rgba(0, 230, 118, 0.28);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
}

.trd-v1-contact-form-panel__header p {
    margin: 0;
}

.trd-v1-contact-form-panel__body {
    padding: clamp(1.25rem, 4vw, 2.5rem);
}

.trd-v1-contact-form-panel__subtitle {
    margin: 0 0 1rem;
    color: #087941;
    font-size: 1rem;
}

.trd-v1-contact .form-control,
.trd-v1-education .form-control,
.trd-v1-education .form-select,
.trd-v1-course .form-control {
    min-height: 48px;
    border: 1px solid transparent;
}

.trd-v1-contact .form-control:focus,
.trd-v1-education .form-control:focus,
.trd-v1-education .form-select:focus,
.trd-v1-course .form-control:focus {
    border-color: var(--trd-blue-600);
    box-shadow: 0 0 0 0.2rem rgba(14, 76, 146, 0.16);
}

.trd-v1-contact .btn,
.trd-v1-education .btn,
.trd-v1-course .btn {
    min-height: 44px;
}

.trd-v1-contact-steps {
    max-width: 960px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-inline: auto;
}

.trd-v1-contact-steps .trd-v1-steps__marker {
    color: var(--trd-on-dark);
    background: var(--trd-blue-800);
    border-color: var(--trd-blue-800);
}

.trd-v1-page a:focus-visible,
.trd-v1-page button:focus-visible,
.trd-v1-page input:focus-visible,
.trd-v1-page select:focus-visible,
.trd-v1-platform-specs:focus-visible {
    outline: 3px solid var(--trd-accent);
    outline-offset: 3px;
}

@media (max-width: 1199.98px) {
    .trd-v1-education-resources {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trd-v1-education-resources article:first-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991.98px) {
    .trd-v1-platform-browser {
        max-width: 720px;
        transform: none;
    }

    .trd-v1-education-philosophy,
    .trd-v1-education-guidance,
    .trd-v1-course-layout,
    .trd-v1-course-instructor,
    .trd-v1-contact-schedule {
        grid-template-columns: 1fr;
    }

    .trd-v1-education-course--raised,
    .trd-v1-education-course--raised:hover {
        transform: none;
    }

    .trd-v1-course-enroll,
    .trd-v1-contact-schedule__intro {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .trd-v1-platform-features,
    .trd-v1-education-path,
    .trd-v1-contact-channels {
        grid-template-columns: 1fr;
    }

    .trd-v1-platform-feature--large {
        grid-row: auto;
        min-height: 330px;
    }

    .trd-v1-platform-feature-strip {
        grid-template-columns: 1fr;
    }

    .trd-v1-platform-feature-strip span + span {
        border-top: 1px solid rgba(255, 255, 255, 0.13);
        border-left: 0;
    }

    .trd-v1-platform-specs {
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    .trd-v1-platform-specs thead {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
    }

    .trd-v1-platform-specs table,
    .trd-v1-platform-specs tbody,
    .trd-v1-platform-specs tr,
    .trd-v1-platform-specs th,
    .trd-v1-platform-specs td {
        display: block;
        width: 100%;
    }

    .trd-v1-platform-specs tbody tr {
        margin-bottom: 0.85rem;
        background: var(--trd-surface);
        border: 1px solid var(--trd-border);
        border-radius: var(--trd-radius-md);
        overflow: hidden;
    }

    .trd-v1-platform-specs tbody th {
        color: var(--trd-on-dark);
        background: var(--trd-navy-900);
    }

    .trd-v1-education-path {
        gap: 1.25rem;
        padding: 0 0 0 1.75rem;
    }

    .trd-v1-education-path::before {
        top: 0.5rem;
        bottom: 0.5rem;
        left: 0.35rem;
        width: 1px;
        height: auto;
    }

    .trd-v1-education-path > li::before {
        top: 2rem;
        left: -1.4rem;
        transform: none;
    }

    .trd-v1-education-philosophy__points,
    .trd-v1-education-resources {
        grid-template-columns: 1fr;
    }

    .trd-v1-education-resources article:first-child {
        grid-column: auto;
    }

    .trd-v1-contact-hero .trd-v1-hero__grid,
    .trd-v1-contact-steps {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .trd-v1-platform-browser__body {
        grid-template-columns: 44px minmax(0, 1fr);
        min-height: 250px;
    }

    .trd-v1-platform-mobile-list {
        grid-template-columns: 1fr;
    }

    .trd-v1-platform-device {
        width: 94%;
    }

    .trd-v1-education-hero__track {
        width: 90%;
        margin-top: 3rem;
    }

    .trd-v1-education-philosophy__points article,
    .trd-v1-contact-form-panel__header {
        grid-template-columns: 1fr;
    }

    .trd-v1-course-objectives,
    .trd-v1-course-enroll,
    .trd-v1-contact-form-panel__body {
        padding: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trd-v1-platform-browser,
    .trd-v1-education-course,
    .trd-v1-education-course--raised {
        transform: none;
    }
}

/* ===== FRONTEND V1 — RUN 4 ===== */
/* Home: editorial platform composition below the approved Popular Markets block. */
.trd-v1-home-platform {
    overflow: hidden;
}

.trd-v1-home-platform__layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(2.5rem, 6vw, 6.5rem);
    align-items: center;
}

.trd-v1-home-platform__intro {
    align-self: start;
    padding-top: clamp(0rem, 4vw, 3rem);
}

.trd-v1-home-platform__intro .trd-v1-title {
    font-size: clamp(2rem, 4vw, 3.75rem);
}

.trd-v1-home-platform__intro .trd-v1-title span {
    display: block;
    color: var(--trd-blue-600);
}

.trd-v1-home-workspace {
    position: relative;
    min-width: 0;
    margin: 0;
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-lg);
    box-shadow: 26px 30px 0 rgba(14, 76, 146, 0.07), var(--trd-shadow-md);
    overflow: hidden;
}

.trd-v1-home-workspace__bar {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    min-height: 48px;
    padding: 0.75rem 1rem;
    color: var(--trd-muted);
    background: #EDF3F9;
    border-bottom: 1px solid var(--trd-border);
}

.trd-v1-home-workspace__bar > span {
    width: 8px;
    height: 8px;
    background: #A8B8C9;
    border-radius: 50%;
}

.trd-v1-home-workspace__bar > span:first-child {
    background: var(--trd-accent);
}

.trd-v1-home-workspace__bar b {
    margin-left: auto;
    color: var(--trd-text);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trd-v1-home-workspace__body {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr) 88px;
    min-height: 350px;
    background: linear-gradient(145deg, #F8FAFD, #EEF4FA);
}

.trd-v1-home-workspace__nav,
.trd-v1-home-workspace__rail {
    display: grid;
    align-content: start;
    gap: 0.85rem;
    padding: 1.25rem 0.8rem;
    border-right: 1px solid var(--trd-border);
}

.trd-v1-home-workspace__nav span {
    width: 28px;
    height: 28px;
    background: rgba(14, 76, 146, 0.09);
    border-radius: 8px;
}

.trd-v1-home-workspace__nav span:first-child {
    background: var(--trd-blue-700);
}

.trd-v1-home-workspace__body svg {
    align-self: end;
    width: 100%;
    min-height: 260px;
    padding: 1.25rem 0.8rem 0;
}

.trd-v1-home-workspace__grid path {
    fill: none;
    stroke: #D7E1EC;
    stroke-width: 1;
}

.trd-v1-home-workspace__area {
    fill: url("#v1HomeChartFill");
}

.trd-v1-home-workspace__line {
    fill: none;
    stroke: var(--trd-blue-600);
    stroke-width: 3;
    stroke-linecap: round;
}

.trd-v1-home-workspace__rail {
    border-right: 0;
    border-left: 1px solid var(--trd-border);
}

.trd-v1-home-workspace__rail span {
    height: 52px;
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: 8px;
}

.trd-v1-home-workspace figcaption {
    padding: 0.85rem 1rem;
    color: var(--trd-muted);
    font-size: 0.76rem;
    line-height: 1.55;
    border-top: 1px solid var(--trd-border);
}

.trd-v1-home-platform__bento {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 1rem;
    margin-top: clamp(0rem, 2vw, 1rem);
}

.trd-v1-home-platform__feature--wide {
    grid-row: span 2;
    padding: clamp(1.75rem, 4vw, 3rem);
    background: linear-gradient(145deg, #F4F8FC, var(--trd-surface));
}

.trd-v1-home-platform__feature--compact {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
}

.trd-v1-home-platform__feature--compact h3 {
    margin-top: 0;
}

.trd-v1-home-platform__devices {
    display: flex;
    align-items: end;
    gap: 0.8rem;
    min-height: 48px;
    color: var(--trd-blue-600);
    font-size: 1.85rem;
}

.trd-v1-home-platform__devices i:nth-child(2) {
    font-size: 1.45rem;
}

.trd-v1-home-platform__devices i:nth-child(3) {
    font-size: 1.05rem;
}

.trd-v1-home-feature-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem 1.25rem;
    margin: 1.5rem 0 0;
    padding: 0;
    list-style: none;
}

.trd-v1-home-feature-list li {
    position: relative;
    padding-left: 1.3rem;
    color: var(--trd-text);
    line-height: 1.55;
}

.trd-v1-home-feature-list li::before {
    content: "";
    position: absolute;
    top: 0.55rem;
    left: 0;
    width: 7px;
    height: 7px;
    background: var(--trd-accent);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(0, 230, 118, 0.1);
}

/* Market categories use an editorial index instead of repeated cards. */
.trd-v1-home-categories__layout {
    display: grid;
    grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
    gap: clamp(3rem, 8vw, 8rem);
    align-items: start;
}

.trd-v1-home-categories__intro {
    position: sticky;
    top: 116px;
}

.trd-v1-home-market-index {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--trd-border);
}

.trd-v1-home-market-index li {
    border-bottom: 1px solid var(--trd-border);
}

.trd-v1-home-market-index a {
    display: grid;
    grid-template-columns: 40px 48px minmax(0, 1fr) 44px;
    gap: 1rem;
    align-items: center;
    min-height: 108px;
    padding: 1rem 0.5rem;
    color: var(--trd-text);
    text-decoration: none;
    transition: padding-left var(--trd-dur-fast) ease, background-color var(--trd-dur-fast) ease;
}

.trd-v1-home-market-index a:hover {
    padding-left: 1rem;
    color: var(--trd-text);
    background: rgba(255, 255, 255, 0.72);
}

.trd-v1-home-market-index__number {
    color: var(--trd-muted);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.08em;
}

.trd-v1-home-market-index__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    color: var(--trd-blue-600);
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-md);
}

.trd-v1-home-market-index__copy {
    display: grid;
    gap: 0.25rem;
}

.trd-v1-home-market-index__copy strong {
    font-size: 1.08rem;
}

.trd-v1-home-market-index__copy small {
    color: var(--trd-muted);
    font-size: 0.88rem;
    line-height: 1.55;
}

.trd-v1-home-market-index a > .fa-arrow-right {
    justify-self: center;
    color: var(--trd-blue-600);
    transition: transform var(--trd-dur-fast) ease;
}

.trd-v1-home-market-index a:hover > .fa-arrow-right {
    transform: translateX(3px);
}

/* Three-step path: one connected timeline on the navy contrast band. */
.trd-v1-home-journey {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.trd-v1-home-journey::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: -8rem;
    bottom: -14rem;
    width: 34rem;
    height: 34rem;
    border: 1px solid rgba(0, 230, 118, 0.13);
    border-radius: 50%;
    box-shadow: 0 0 0 5rem rgba(14, 76, 146, 0.08), 0 0 0 10rem rgba(14, 76, 146, 0.04);
}

.trd-v1-home-timeline {
    position: relative;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.trd-v1-home-timeline::before {
    content: "";
    position: absolute;
    top: 34px;
    bottom: 34px;
    left: 34px;
    width: 1px;
    background: linear-gradient(var(--trd-accent), rgba(255, 255, 255, 0.2));
}

.trd-v1-home-timeline li {
    position: relative;
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 1.35rem;
    align-items: start;
    min-height: 132px;
    padding: 1rem 0;
}

.trd-v1-home-timeline__marker {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    color: var(--trd-accent);
    background: var(--trd-navy-900);
    border: 1px solid rgba(0, 230, 118, 0.28);
    border-radius: 50%;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.trd-v1-home-timeline li > div {
    padding: 0.65rem 1rem 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.trd-v1-home-timeline strong {
    color: var(--trd-on-dark);
    font-size: 1.12rem;
}

.trd-v1-home-timeline p {
    margin: 0.4rem 0 0;
    color: var(--trd-on-dark-muted);
    line-height: 1.65;
}

/* Educational resources: a varied bento with a clear primary item. */
.trd-v1-home-resources__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    grid-template-rows: repeat(2, minmax(190px, auto));
    gap: 1rem;
}

.trd-v1-home-resource--1 {
    grid-row: 1 / 3;
}

.trd-v1-home-resource--4 {
    grid-column: 2 / 4;
}

.trd-v1-home-resource a {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: clamp(1.35rem, 3vw, 2rem);
    color: var(--trd-text);
    text-decoration: none;
    background: var(--trd-surface-soft);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-lg);
    overflow: hidden;
    transition: transform var(--trd-dur-base) ease, border-color var(--trd-dur-base) ease, box-shadow var(--trd-dur-base) ease;
}

.trd-v1-home-resource--1 a {
    color: var(--trd-on-dark);
    background: linear-gradient(145deg, var(--trd-navy-900), var(--trd-blue-800));
    border-color: var(--trd-on-dark-border);
}

.trd-v1-home-resource--1 a::after {
    content: "";
    position: absolute;
    right: -5rem;
    bottom: -7rem;
    width: 17rem;
    height: 17rem;
    border: 1px solid rgba(0, 230, 118, 0.18);
    border-radius: 50%;
    box-shadow: 0 0 0 3rem rgba(0, 230, 118, 0.035);
}

.trd-v1-home-resource a:hover {
    color: var(--trd-text);
    border-color: rgba(14, 76, 146, 0.4);
    box-shadow: var(--trd-shadow-md);
    transform: translateY(-3px);
}

.trd-v1-home-resource--1 a:hover {
    color: var(--trd-on-dark);
    border-color: rgba(0, 230, 118, 0.42);
}

.trd-v1-home-resource__copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 0.55rem;
    margin: 1rem 0;
}

.trd-v1-home-resource__copy strong {
    font-size: clamp(1.08rem, 1.8vw, 1.35rem);
    line-height: 1.3;
}

.trd-v1-home-resource__copy > span:last-child {
    color: var(--trd-muted);
    font-size: 0.92rem;
    line-height: 1.65;
}

.trd-v1-home-resource--1 .trd-v1-home-resource__copy > span:last-child,
.trd-v1-home-resource--1 .trd-ix-res__tag {
    color: var(--trd-on-dark-muted);
}

.trd-v1-home-resource--1 .trd-ix-res__more {
    position: relative;
    z-index: 1;
    color: var(--trd-accent);
}

.trd-v1-home-resource .trd-ix-res__more {
    margin-top: auto;
}

/* Final conversion card and low-emphasis SEO context. */
.trd-v1-home-cta__card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.trd-v1-home-cta__card::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    opacity: 0.18;
    background-image: linear-gradient(rgba(255, 255, 255, 0.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.12) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(90deg, #000, transparent 72%);
}

.trd-v1-home-cta__copy {
    padding-right: clamp(0rem, 3vw, 2.5rem);
}

.trd-v1-home-cta__form {
    padding: clamp(1.25rem, 3vw, 2rem);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: var(--trd-radius-lg);
}

.trd-v1-home-cta__form .form-control {
    min-height: 52px;
}

.trd-v1-home-seo__inner {
    display: grid;
    grid-template-columns: minmax(150px, 0.25fr) minmax(0, 1fr);
    gap: clamp(1.5rem, 5vw, 5rem);
    align-items: start;
}

.trd-v1-home-seo__label {
    margin: 0;
    color: var(--trd-blue-600);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Shared supplementary content: light, integrated diagram for internal pages. */
.trd-v1-additional--internal {
    background: linear-gradient(180deg, var(--trd-surface) 0%, var(--trd-surface-soft) 100%);
}

.trd-v1-additional--internal > .container {
    padding-block: clamp(2rem, 5vw, 4.5rem);
}

.trd-v1-additional--internal h2 {
    max-width: 18ch;
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

.trd-v1-additional--internal .text-secondary {
    max-width: 620px;
    color: var(--trd-muted);
    line-height: 1.75;
}

.trd-v1-additional-visual {
    margin: 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-lg);
    box-shadow: 22px 24px 0 rgba(14, 76, 146, 0.06), var(--trd-shadow-sm);
}

.trd-v1-additional-visual svg {
    display: block;
    width: 100%;
    height: auto;
    color: var(--trd-blue-600);
}

.trd-v1-additional-visual__grid path {
    fill: none;
    stroke: #E3EAF2;
    stroke-width: 1;
}

.trd-v1-additional-visual__route {
    fill: none;
    stroke: currentColor;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 8 8;
}

.trd-v1-additional-visual__node circle {
    fill: var(--trd-surface);
    stroke: #B9C9DA;
    stroke-width: 2;
}

.trd-v1-additional-visual__pulse circle {
    fill: var(--trd-accent);
    stroke: rgba(0, 230, 118, 0.16);
    stroke-width: 10;
}

.trd-v1-additional-visual__legend {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.trd-v1-additional-visual__legend li {
    display: grid;
    gap: 0.25rem;
    color: var(--trd-text);
    font-size: 0.82rem;
    font-weight: 700;
}

.trd-v1-additional-visual__legend span {
    color: var(--trd-blue-600);
    font-size: 0.68rem;
    letter-spacing: 0.08em;
}

.trd-v1-additional-visual figcaption {
    margin-top: 1rem;
    padding-top: 0.8rem;
    color: var(--trd-muted);
    font-size: 0.76rem;
    line-height: 1.55;
    border-top: 1px solid var(--trd-border);
}

.trd-v1-additional--internal form {
    padding: 1.25rem;
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-lg);
    box-shadow: var(--trd-shadow-sm);
}

/* Global shell polish without changing navigation/footer markup or behavior. */
.trd-navbar {
    border-bottom-color: rgba(255, 255, 255, 0.11);
    box-shadow: 0 10px 34px rgba(0, 0, 0, 0.14);
}

.trd-main-nav > .nav-item > .nav-link {
    position: relative;
}

.trd-main-nav > .nav-item > .nav-link::after {
    transition: transform var(--trd-dur-fast) ease, border-color var(--trd-dur-fast) ease;
}

.trd-main-nav > .nav-item > .nav-link.active:not(.dropdown-toggle)::before {
    content: "";
    position: absolute;
    right: 0.75rem;
    bottom: 0.35rem;
    left: 0.75rem;
    height: 2px;
    background: var(--trd-accent);
}

.trd-ix-footer__cta {
    border-radius: 0 0 var(--trd-radius-lg) var(--trd-radius-lg);
}

.trd-ix-footer__links a,
.trd-ix-footer__legal a {
    text-underline-offset: 0.25rem;
}

.trd-v1-home-platform a:focus-visible,
.trd-v1-home-categories a:focus-visible,
.trd-v1-home-resources a:focus-visible,
.trd-v1-home-journey a:focus-visible,
.trd-v1-additional a:focus-visible,
.trd-v1-additional button:focus-visible {
    outline: 3px solid var(--trd-accent);
    outline-offset: 3px;
    box-shadow: none;
}

@media (max-width: 1199.98px) {
    .trd-v1-home-platform__layout,
    .trd-v1-home-categories__layout {
        gap: 3rem;
    }

    .trd-v1-home-workspace__body {
        min-height: 310px;
    }

    .trd-v1-home-resources__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: auto;
    }

    .trd-v1-home-resource--1 {
        grid-row: span 2;
    }

    .trd-v1-home-resource--4 {
        grid-column: 1 / -1;
    }
}

@media (max-width: 991.98px) {
    .trd-v1-home-platform__layout,
    .trd-v1-home-categories__layout {
        grid-template-columns: 1fr;
    }

    .trd-v1-home-platform__intro,
    .trd-v1-home-categories__intro {
        max-width: 760px;
    }

    .trd-v1-home-categories__intro {
        position: static;
    }

    .trd-v1-home-journey .row {
        --bs-gutter-y: 3rem;
    }

    .trd-v1-home-cta__copy {
        padding-right: calc(var(--bs-gutter-x) * 0.5);
    }

    .trd-v1-additional--internal .row {
        --bs-gutter-y: 3rem;
    }
}

@media (max-width: 767.98px) {
    .trd-v1-home-platform__bento,
    .trd-v1-home-resources__grid {
        grid-template-columns: 1fr;
    }

    .trd-v1-home-platform__feature--wide,
    .trd-v1-home-resource--1,
    .trd-v1-home-resource--4 {
        grid-column: auto;
        grid-row: auto;
    }

    .trd-v1-home-workspace__body {
        grid-template-columns: 46px minmax(0, 1fr);
        min-height: 280px;
    }

    .trd-v1-home-workspace__rail {
        display: none;
    }

    .trd-v1-home-feature-list {
        grid-template-columns: 1fr;
    }

    .trd-v1-home-seo__inner {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .trd-v1-additional-visual__legend {
        grid-template-columns: 1fr;
    }

    .trd-v1-additional-visual__legend li {
        grid-template-columns: 30px minmax(0, 1fr);
        align-items: center;
    }
}

@media (max-width: 575.98px) {
    .trd-v1-home-workspace {
        box-shadow: 10px 12px 0 rgba(14, 76, 146, 0.07), var(--trd-shadow-sm);
    }

    .trd-v1-home-workspace__body {
        grid-template-columns: 38px minmax(0, 1fr);
        min-height: 230px;
    }

    .trd-v1-home-workspace__nav {
        padding-inline: 0.45rem;
    }

    .trd-v1-home-workspace__nav span {
        width: 24px;
        height: 24px;
    }

    .trd-v1-home-market-index a {
        grid-template-columns: 38px minmax(0, 1fr) 36px;
        gap: 0.75rem;
        min-height: 96px;
    }

    .trd-v1-home-market-index__number {
        display: none;
    }

    .trd-v1-home-timeline li {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 1rem;
    }

    .trd-v1-home-timeline::before {
        left: 26px;
    }

    .trd-v1-home-timeline__marker {
        width: 52px;
        height: 52px;
    }

    .trd-v1-home-cta__form,
    .trd-v1-additional--internal form {
        padding: 1rem;
    }

    .trd-v1-additional-visual {
        box-shadow: 10px 12px 0 rgba(14, 76, 146, 0.06), var(--trd-shadow-sm);
    }
}

@media (prefers-reduced-motion: reduce) {
    .trd-v1-home-platform *,
    .trd-v1-home-categories *,
    .trd-v1-home-resources *,
    .trd-v1-home-journey *,
    .trd-v1-additional *,
    .trd-navbar *,
    .trd-ix-footer * {
        animation: none;
        scroll-behavior: auto;
        transition: none;
    }

    .trd-v1-home-platform [data-aos],
    .trd-v1-home-categories [data-aos],
    .trd-v1-home-resources [data-aos],
    .trd-v1-additional [data-aos] {
        opacity: 1;
        transform: none;
    }

    .trd-v1-home-resource a:hover,
    .trd-v1-card:hover {
        transform: none;
    }
}

/* ===== FRONTEND V1 — RUN 5 REFINEMENT ===== */
/* Hero image paths resolve from this stylesheet; the lighter overlay keeps each photograph legible. */
.trd-v1-about-hero {
    --trd-v1-hero-img: url("../img/heroes/hero-about-bg.webp");
}

.trd-v1-why-hero {
    --trd-v1-hero-img: url("../img/heroes/hero-why-bg.webp");
}

.trd-v1-page .trd-v1-hero {
    background-image:
        linear-gradient(112deg, rgba(6, 17, 31, 0.91) 4%, rgba(8, 26, 47, 0.78) 54%, rgba(10, 45, 85, 0.58) 100%),
        var(--trd-v1-hero-img);
}

/* Dark-surface contrast fixes. */
.trd-v1-markets .markets-analysis-panel,
.trd-v1-markets .markets-analysis-panel h3,
.trd-v1-markets .markets-analysis-panel h4,
.trd-v1-markets-contact .markets-contact-box,
.trd-v1-markets-contact .markets-contact-box h2,
.trd-v1-markets-contact .markets-contact-box p,
.trd-v1-markets-contact .markets-contact-box label,
.trd-v1-markets-contact .markets-contact-box legend,
.trd-v1-markets-contact .markets-contact-box .form-text,
.trd-v1-markets-contact .markets-contact-box [data-form-message] {
    color: var(--trd-on-dark);
}

.trd-v1-markets .markets-analysis-panel p,
.trd-v1-markets-contact .markets-contact-box > .row > div:first-child > p,
.trd-v1-markets-contact .markets-contact-box .text-white-50 {
    color: #C8D5E5;
}

.trd-v1-markets-contact .markets-contact-form {
    padding: clamp(1rem, 2.5vw, 1.5rem);
    color: var(--trd-text);
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-md);
}

.trd-v1-markets-contact .markets-contact-form [data-form-message] {
    color: var(--trd-text);
}

/* Compact, page-specific closing navigation; form markup and hooks remain unchanged. */
.trd-v1-additional--internal {
    padding-block: clamp(1.5rem, 3vw, 2.75rem);
    background: var(--trd-surface-soft);
}

.trd-v1-additional--internal > .container {
    padding-block: 0;
}

.trd-v1-additional-closing {
    max-width: 820px;
}

.trd-v1-additional-closing h2 {
    margin: 0 0 0.8rem;
    color: var(--trd-text);
}

.trd-v1-additional-closing > p:not(.trd-v1-eyebrow) {
    max-width: 680px;
    margin: 0;
    color: var(--trd-muted);
    line-height: 1.7;
}

.trd-v1-additional-links ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.4rem 0 0;
    padding: 0;
    list-style: none;
}

.trd-v1-additional-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 46px;
    padding: 0.65rem 0.85rem;
    color: var(--trd-text);
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-sm);
    font-size: 0.82rem;
    font-weight: 750;
    text-decoration: none;
    transition: transform var(--trd-dur-fast) ease, border-color var(--trd-dur-fast) ease, color var(--trd-dur-fast) ease;
}

.trd-v1-additional-links a > span {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    color: var(--trd-blue-600);
    background: var(--trd-surface-soft);
    border-radius: 8px;
}

.trd-v1-additional-links a > .fa-arrow-right {
    color: var(--trd-blue-600);
}

.trd-v1-additional-links a:hover {
    color: var(--trd-blue-700);
    border-color: rgba(14, 76, 146, 0.32);
    transform: translateY(-2px);
}

.trd-v1-additional--internal form {
    padding: clamp(1rem, 2vw, 1.25rem);
}

/* Platform mobile workspace and tighter architecture flow. */
.trd-v1-platform-flow {
    max-width: 1060px;
    margin-inline: auto;
    padding: 1rem 1.5rem;
}

.trd-v1-platform-flow svg {
    max-height: 230px;
}

.trd-v1-platform-flow__mobile {
    display: none;
}

.trd-v1-platform-device {
    width: min(500px, 92%);
}

.trd-v1-platform-device__screen {
    min-height: 430px;
    padding: 1.8rem 0.8rem 0.8rem;
}

.trd-v1-platform-device__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 32px;
    padding: 0 0.45rem 0.6rem;
    color: var(--trd-accent);
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.trd-v1-platform-device__topbar span {
    width: 34%;
    height: 7px;
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
}

.trd-v1-platform-device__workspace {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    grid-template-rows: minmax(230px, 1fr) auto;
    gap: 0.65rem;
    padding-top: 0.75rem;
}

.trd-v1-platform-device__watchlist {
    grid-row: 1 / 3;
    display: grid;
    align-content: start;
    gap: 0.5rem;
    padding-right: 0.65rem;
    border-right: 1px solid rgba(255, 255, 255, 0.09);
}

.trd-v1-platform-device__watchlist span {
    padding: 0.65rem 0.45rem;
    color: #D9E4F0;
    background: rgba(255, 255, 255, 0.05);
    border-left: 2px solid transparent;
    font-size: 0.65rem;
    font-weight: 750;
}

.trd-v1-platform-device__watchlist span:first-child {
    color: var(--trd-on-dark);
    background: rgba(0, 230, 118, 0.08);
    border-left-color: var(--trd-accent);
}

.trd-v1-platform-device__chart {
    height: auto;
    min-height: 230px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.trd-v1-platform-device__chart svg {
    width: 100%;
    height: 100%;
}

.trd-v1-platform-device__area {
    fill: rgba(0, 230, 118, 0.08);
}

.trd-v1-platform-device__line {
    fill: none;
    stroke: var(--trd-accent);
    stroke-width: 3;
    vector-effect: non-scaling-stroke;
}

.trd-v1-platform-device__ticket {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
}

.trd-v1-platform-device__ticket span {
    display: grid;
    place-items: center;
    min-height: 42px;
    color: var(--trd-on-dark);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 7px;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.trd-v1-platform-device__sell {
    background: rgba(205, 74, 74, 0.18);
}

.trd-v1-platform-device__buy {
    background: rgba(0, 230, 118, 0.13);
}

/* Page-specific refinements. */
.trd-v1-bento--principles {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.trd-v1-bento--principles > * {
    grid-column: span 2;
}

.trd-v1-why-funds .trd-v1-title,
.trd-v1-why-funds .trd-v1-card h3,
.trd-v1-education-reference-section .trd-v1-title,
.trd-v1-education-reference-section .trd-v1-card h3,
.trd-v1-education-reference-section .trd-v1-education-terms dt {
    color: var(--trd-text);
}

.trd-v1-why-funds .trd-v1-lead,
.trd-v1-why-funds .trd-v1-legal-note,
.trd-v1-why-funds .trd-v1-card p,
.trd-v1-education-reference-section .trd-v1-lead,
.trd-v1-education-reference-section .trd-v1-card p,
.trd-v1-education-reference-section .trd-v1-education-terms dd {
    color: var(--trd-muted);
}

.trd-v1-why-funds .trd-v1-card,
.trd-v1-education-reference-section .trd-v1-card {
    background: var(--trd-surface);
    border-color: var(--trd-border);
    box-shadow: var(--trd-shadow-sm);
}

.trd-v1-education-reference-section .trd-v1-education-terms div {
    background: var(--trd-surface-soft);
    border-left: 3px solid var(--trd-accent);
}

.trd-v1-vip-bento {
    grid-auto-rows: minmax(180px, auto);
}

.trd-v1-vip-service {
    position: relative;
    min-height: 0;
    border-top: 2px solid rgba(212, 175, 55, 0.48);
    overflow: hidden;
}

.trd-v1-vip-service:first-child {
    grid-column: span 2;
    grid-row: span 2;
    padding: clamp(2rem, 4vw, 3.5rem);
    background: linear-gradient(145deg, #FFFFFF, #F5F8FC);
}

.trd-v1-vip-service:nth-child(2),
.trd-v1-vip-service:nth-child(5),
.trd-v1-vip-service:nth-child(6) {
    grid-column: span 2;
}

.trd-v1-vip-service::after {
    content: "";
    position: absolute;
    right: 1.25rem;
    bottom: 1rem;
    width: 42px;
    height: 1px;
    background: var(--uty-gold);
    opacity: 0.7;
}

.trd-v1-accounts .accounts-types-section .row > [class*="col-"] {
    display: flex;
}

.trd-v1-account-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-top: 3px solid var(--trd-blue-600);
}

.trd-v1-account-card .account-tier-card__body {
    flex: 1;
}

.trd-v1-account-card .account-tier-card__name {
    letter-spacing: -0.02em;
}

.trd-v1-account-card .account-tier-card__deposit {
    padding: 0.9rem 1rem;
    background: var(--trd-surface-soft);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-sm);
}

.trd-v1-account-card--dark .account-tier-card__deposit {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.account-tier-card--gold.trd-v1-account-card {
    border-top-color: #B89028;
}

.account-tier-card--platinum.trd-v1-account-card {
    border-top-color: #7890A6;
}

.account-tier-card--vip.trd-v1-account-card {
    border-top-color: var(--uty-gold);
}

.trd-v1-account-table-hint {
    display: none;
    align-items: center;
    gap: 0.55rem;
    margin: 0.75rem 0 0;
    color: var(--trd-muted);
    font-size: 0.78rem;
}

.trd-v1-contact-channels .trd-v1-card,
.trd-v1-contact-channels .trd-v1-card--navy {
    color: var(--trd-text);
    background: var(--trd-surface);
    border-color: var(--trd-border);
    box-shadow: var(--trd-shadow-sm);
}

.trd-v1-contact-channels .trd-v1-card h3 {
    color: var(--trd-text);
}

.trd-v1-contact-channels .trd-v1-card p {
    color: var(--trd-muted);
}

/* Richer market-category tiles below Popular Markets. */
.trd-v1-home-market-index {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
    border-top: 0;
}

.trd-v1-home-market-index li {
    border: 0;
}

.trd-v1-home-market-index a {
    position: relative;
    grid-template-columns: 44px minmax(0, 1fr) 72px 36px;
    min-height: 138px;
    height: 100%;
    padding: 1.15rem;
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-lg);
    box-shadow: var(--trd-shadow-sm);
    overflow: hidden;
}

.trd-v1-home-market-index a:hover {
    padding-left: 1.15rem;
    border-color: rgba(14, 76, 146, 0.3);
    box-shadow: var(--trd-shadow-md);
    transform: translateY(-2px);
}

.trd-v1-home-market-index__number {
    display: none;
}

.trd-v1-home-market-index__wave {
    width: 72px;
    height: 30px;
}

.trd-v1-home-market-index__wave path {
    fill: none;
    stroke: #AFC0D2;
    stroke-width: 2;
    vector-effect: non-scaling-stroke;
}

/* Simulator: clearer controls and result hierarchy without changing its IDs or behavior. */
.trd-ix-sim__card {
    padding: clamp(1.4rem, 3vw, 2.2rem);
    border-top: 3px solid var(--trd-blue-600);
    box-shadow: 18px 22px 0 rgba(14, 76, 146, 0.055), var(--trd-shadow-md);
}

.trd-ix-sim .range-slider {
    height: 8px;
    background: linear-gradient(90deg, var(--trd-blue-600), #B7C5D5);
    border-radius: 999px;
}

.trd-ix-sim .range-slider::-webkit-slider-thumb {
    width: 22px;
    height: 22px;
    background: var(--trd-surface);
    border: 5px solid var(--trd-blue-600);
    box-shadow: 0 2px 8px rgba(8, 26, 47, 0.2);
}

.trd-ix-sim .range-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background: var(--trd-surface);
    border: 5px solid var(--trd-blue-600);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(8, 26, 47, 0.2);
}

.trd-rm-sim__results {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--trd-navy-950);
    border-radius: var(--trd-radius-md);
}

.trd-rm-sim__results > .trd-ix-label {
    color: #C8D5E5;
}

.trd-rm-sim__scenario {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.trd-rm-sim__scenario-label,
.trd-rm-sim__scenario-value {
    color: var(--trd-on-dark);
}

@media (max-width: 1199.98px) {
    .trd-v1-bento--principles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .trd-v1-bento--principles > * {
        grid-column: span 1;
    }

    .trd-v1-platform-flow {
        max-width: 900px;
    }
}

@media (max-width: 991.98px) {
    .trd-v1-vip-service:first-child,
    .trd-v1-vip-service:nth-child(2),
    .trd-v1-vip-service:nth-child(5),
    .trd-v1-vip-service:nth-child(6) {
        grid-column: span 2;
    }

    .trd-v1-platform-flow {
        padding-inline: 0.75rem;
    }

    .trd-v1-home-market-index {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .trd-v1-platform-flow {
        padding: 0.75rem;
    }

    .trd-v1-platform-flow svg {
        display: none;
    }

    .trd-v1-platform-flow__mobile {
        display: grid;
        gap: 0.6rem;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .trd-v1-platform-flow__mobile li {
        position: relative;
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 0.75rem;
        align-items: center;
        min-height: 58px;
        padding: 0.55rem 0.75rem;
        color: var(--trd-on-dark);
        background: rgba(255, 255, 255, 0.055);
        border: 1px solid var(--trd-on-dark-border);
        border-radius: var(--trd-radius-sm);
    }

    .trd-v1-platform-flow__mobile li:not(:last-child)::after {
        content: "";
        position: absolute;
        left: 27px;
        bottom: -0.65rem;
        width: 1px;
        height: 0.65rem;
        background: var(--trd-accent);
    }

    .trd-v1-platform-flow__mobile i {
        color: var(--trd-accent);
        text-align: center;
    }

    .trd-v1-platform-device {
        width: 100%;
        padding: 0.65rem;
        border-radius: 26px;
        box-shadow: 10px 12px 0 rgba(14, 76, 146, 0.08), var(--trd-shadow-sm);
    }

    .trd-v1-platform-device__workspace {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .trd-v1-platform-device__watchlist span {
        padding-inline: 0.3rem;
        font-size: 0.58rem;
    }

    .trd-v1-vip-service:first-child,
    .trd-v1-vip-service:nth-child(2),
    .trd-v1-vip-service:nth-child(5),
    .trd-v1-vip-service:nth-child(6) {
        grid-column: auto;
        grid-row: auto;
    }

    .trd-v1-account-table-wrap {
        position: relative;
        overflow-x: auto;
        scrollbar-width: thin;
    }

    .trd-v1-account-table th:first-child,
    .trd-v1-account-table td:first-child {
        position: sticky;
        left: 0;
        z-index: 1;
        min-width: 156px;
        background: var(--trd-surface);
        box-shadow: 1px 0 0 var(--trd-border);
    }

    .trd-v1-account-table thead th:first-child {
        z-index: 2;
        background: var(--trd-navy-900);
    }

    .trd-v1-account-table-hint {
        display: flex;
    }

    .trd-v1-home-market-index a {
        grid-template-columns: 44px minmax(0, 1fr) 34px;
        min-height: 132px;
    }

    .trd-v1-home-market-index__wave {
        display: none;
    }

    .trd-v1-additional-links ul {
        display: grid;
        grid-template-columns: 1fr;
    }

    .trd-v1-additional-links a {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trd-v1-additional-links a,
    .trd-v1-home-market-index a {
        transition: none;
    }

    .trd-v1-additional-links a:hover,
    .trd-v1-home-market-index a:hover {
        transform: none;
    }
}

/* ===== FRONTEND V1 — RUN 6 POLISH ===== */

/* Simulator range: fully custom track and thumb without altering simulator behavior. */
#profitSimulator #capitalRange.range-slider {
    width: 100%;
    min-height: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    color: var(--trd-blue-600);
    background: transparent;
    border: 0;
    border-radius: 0;
    opacity: 1;
    cursor: pointer;
}

#profitSimulator #capitalRange.range-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 8px;
    background: var(--trd-blue-600);
    border: 0;
    border-radius: 999px;
    box-shadow: inset 0 1px 2px rgba(6, 17, 31, 0.18);
}

#profitSimulator #capitalRange.range-slider::-webkit-slider-thumb {
    width: 28px;
    height: 28px;
    margin-top: -10px;
    appearance: none;
    -webkit-appearance: none;
    background: var(--trd-surface);
    border: 5px solid var(--trd-blue-600);
    border-radius: 50%;
    box-shadow: 0 2px 9px rgba(6, 17, 31, 0.25);
}

#profitSimulator #capitalRange.range-slider::-moz-range-track {
    width: 100%;
    height: 8px;
    background: #B7C5D5;
    border: 0;
    border-radius: 999px;
    box-shadow: inset 0 1px 2px rgba(6, 17, 31, 0.18);
}

#profitSimulator #capitalRange.range-slider::-moz-range-progress {
    height: 8px;
    background: var(--trd-blue-600);
    border-radius: 999px;
}

#profitSimulator #capitalRange.range-slider::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: var(--trd-surface);
    border: 5px solid var(--trd-blue-600);
    border-radius: 50%;
    box-shadow: 0 2px 9px rgba(6, 17, 31, 0.25);
}

#profitSimulator #capitalRange.range-slider:focus-visible {
    outline: 3px solid rgba(0, 230, 118, 0.45);
    outline-offset: 2px;
    border-radius: 999px;
}

#profitSimulator #capitalRange.range-slider:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px rgba(0, 230, 118, 0.28), 0 2px 9px rgba(6, 17, 31, 0.25);
}

#profitSimulator #capitalRange.range-slider:focus-visible::-moz-range-thumb {
    box-shadow: 0 0 0 4px rgba(0, 230, 118, 0.28), 0 2px 9px rgba(6, 17, 31, 0.25);
}

/* Market categories: compact, equal-height tiles with a stronger content hierarchy. */
.trd-v1-home-categories .trd-v1-home-market-index {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 1rem;
    border-top: 0;
}

.trd-v1-home-categories .trd-v1-home-market-index li {
    display: flex;
    min-width: 0;
    border-bottom: 0;
}

.trd-v1-home-categories .trd-v1-home-market-index a {
    position: relative;
    grid-template-columns: 52px minmax(0, 1fr) 44px;
    width: 100%;
    min-height: 174px;
    padding: 1.35rem 1.15rem;
    background: var(--trd-surface);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-md);
    box-shadow: 0 10px 24px rgba(6, 17, 31, 0.07), 0 2px 6px rgba(6, 17, 31, 0.05);
    overflow: hidden;
    transition: transform var(--trd-dur-fast) ease, border-color var(--trd-dur-fast) ease, box-shadow var(--trd-dur-fast) ease;
}

.trd-v1-home-categories .trd-v1-home-market-index a::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: var(--trd-blue-600);
}

.trd-v1-home-categories .trd-v1-home-market-index a:hover {
    padding-left: 1.15rem;
    transform: translateY(-3px);
    border-color: rgba(14, 76, 146, 0.34);
    box-shadow: 0 16px 30px rgba(6, 17, 31, 0.1), 0 3px 8px rgba(6, 17, 31, 0.06);
}

.trd-v1-home-categories .trd-v1-home-market-index__number,
.trd-v1-home-categories .trd-v1-home-market-index__wave {
    display: none;
}

.trd-v1-home-categories .trd-v1-home-market-index__icon {
    width: 52px;
    height: 52px;
    font-size: 1.05rem;
    background: var(--trd-surface-soft);
    border-color: rgba(14, 76, 146, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.trd-v1-home-categories .trd-v1-home-market-index__copy {
    align-self: center;
    gap: 0.45rem;
}

.trd-v1-home-categories .trd-v1-home-market-index__copy strong {
    color: var(--trd-navy-900);
    font-size: clamp(1.08rem, 1.5vw, 1.2rem);
    font-weight: 800;
    line-height: 1.2;
}

.trd-v1-home-categories .trd-v1-home-market-index__copy small {
    font-size: 0.9rem;
    line-height: 1.55;
}

/* Account tiers: layered surfaces, clear hierarchy and tier-specific accent bars. */
.trd-v1-accounts .trd-v1-account-card {
    padding: clamp(2.25rem, 3vw, 2.8rem) clamp(1.5rem, 2.2vw, 2.15rem);
    border: 1px solid rgba(10, 36, 66, 0.12);
    border-top: 4px solid var(--trd-navy-900);
    border-radius: var(--trd-radius-lg);
    box-shadow: 0 18px 42px rgba(6, 17, 31, 0.09), 0 3px 10px rgba(6, 17, 31, 0.055);
    transition: transform var(--trd-dur-base) ease, border-color var(--trd-dur-base) ease, box-shadow var(--trd-dur-base) ease;
}

.trd-v1-accounts .trd-v1-account-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 50px rgba(6, 17, 31, 0.13), 0 5px 14px rgba(6, 17, 31, 0.07);
}

.trd-v1-accounts .account-tier-card--gold.trd-v1-account-card {
    border-top-color: #B89028;
}

.trd-v1-accounts .account-tier-card--platinum.trd-v1-account-card {
    border-top-color: var(--trd-blue-600);
}

.trd-v1-accounts .account-tier-card--vip.trd-v1-account-card {
    border-color: rgba(212, 175, 55, 0.24);
    border-top-color: var(--uty-gold);
    box-shadow: 0 20px 46px rgba(6, 17, 31, 0.22), 0 4px 12px rgba(6, 17, 31, 0.14);
}

.trd-v1-accounts .trd-v1-account-card .account-tier-card__header {
    margin-bottom: 1.75rem;
}

.trd-v1-accounts .trd-v1-account-card .account-tier-card__name {
    margin-bottom: 0;
    font-size: clamp(1.55rem, 2vw, 1.8rem);
    font-weight: 800;
    line-height: 1.15;
}

.trd-v1-accounts .trd-v1-account-card .account-tier-card__deposit {
    gap: 0.55rem;
    margin-bottom: 1.5rem;
    padding: 1rem 1.05rem;
}

.trd-v1-accounts .trd-v1-account-card .account-tier-card__deposit-label {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 26px;
    margin: 0;
    padding: 0.25rem 0.6rem;
    color: var(--trd-blue-600);
    background: rgba(14, 76, 146, 0.08);
    border-radius: 999px;
    font-size: 0.69rem;
    font-weight: 800;
    letter-spacing: 0.075em;
}

.trd-v1-accounts .trd-v1-account-card--dark .account-tier-card__deposit-label {
    color: #F2D98A;
    background: rgba(212, 175, 55, 0.12);
}

.trd-v1-accounts .trd-v1-account-card .account-tier-card__deposit-value {
    font-size: 1.45rem;
    line-height: 1.2;
}

.trd-v1-accounts .trd-v1-account-card .account-tier-card__description {
    min-height: 4.2em;
    line-height: 1.65;
}

.trd-v1-accounts .trd-v1-account-card .account-tier-card__actions {
    gap: 0.55rem;
}

.trd-v1-accounts .trd-v1-account-card .account-tier-card__btn,
.trd-v1-accounts .trd-v1-account-card .account-tier-card__link {
    min-height: 44px;
}

.trd-v1-accounts .trd-v1-account-card .account-tier-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.65rem 0.75rem;
    text-underline-offset: 0.25rem;
}

/* VIP services: varied bento with restrained depth and one featured gold detail. */
.trd-v1-vip .trd-v1-vip-bento {
    gap: 1.15rem;
}

.trd-v1-vip .trd-v1-vip-service {
    position: relative;
    border: 1px solid rgba(10, 36, 66, 0.12);
    box-shadow: 0 14px 34px rgba(6, 17, 31, 0.085), 0 3px 9px rgba(6, 17, 31, 0.05);
    transition: transform var(--trd-dur-base) ease, border-color var(--trd-dur-base) ease, box-shadow var(--trd-dur-base) ease;
}

.trd-v1-vip .trd-v1-vip-service::after {
    display: none;
}

.trd-v1-vip .trd-v1-vip-service:hover {
    transform: translateY(-3px);
    border-color: rgba(184, 144, 40, 0.42);
    box-shadow: 0 20px 42px rgba(6, 17, 31, 0.12), 0 4px 11px rgba(6, 17, 31, 0.06);
}

.trd-v1-vip .trd-v1-vip-service--dark {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 40px rgba(6, 17, 31, 0.2);
}

.trd-v1-vip .trd-v1-vip-service--accent {
    border-bottom-width: 1px;
    overflow: hidden;
}

.trd-v1-vip .trd-v1-vip-service--accent::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: var(--uty-gold);
}

@media (min-width: 1024px) {
    .trd-v1-vip .trd-v1-vip-bento {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-rows: minmax(188px, auto);
    }

    .trd-v1-vip .trd-v1-vip-service:first-child {
        grid-column: span 2;
        grid-row: span 2;
    }

    .trd-v1-vip .trd-v1-vip-service:nth-child(2),
    .trd-v1-vip .trd-v1-vip-service:nth-child(5),
    .trd-v1-vip .trd-v1-vip-service:nth-child(6) {
        grid-column: span 2;
    }
}

@media (max-width: 767.98px) {
    .trd-v1-home-categories .trd-v1-home-market-index {
        grid-template-columns: 1fr;
    }

    .trd-v1-home-categories .trd-v1-home-market-index a {
        min-height: 148px;
    }

    .trd-v1-accounts .trd-v1-account-card .account-tier-card__description {
        min-height: 0;
    }
}

@media (max-width: 575.98px) {
    .trd-v1-home-categories .trd-v1-home-market-index a {
        grid-template-columns: 52px minmax(0, 1fr) 36px;
        gap: 0.8rem;
        padding: 1.25rem 1rem;
    }

    .trd-v1-home-categories .trd-v1-home-market-index a:hover {
        padding-left: 1rem;
    }

    .trd-v1-vip .trd-v1-vip-bento {
        grid-template-columns: minmax(0, 1fr);
    }

    .trd-v1-vip .trd-v1-vip-service,
    .trd-v1-vip .trd-v1-vip-service:first-child,
    .trd-v1-vip .trd-v1-vip-service:nth-child(2),
    .trd-v1-vip .trd-v1-vip-service:nth-child(5),
    .trd-v1-vip .trd-v1-vip-service:nth-child(6) {
        grid-column: auto;
        grid-row: auto;
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trd-v1-home-categories .trd-v1-home-market-index a,
    .trd-v1-accounts .trd-v1-account-card,
    .trd-v1-vip .trd-v1-vip-service {
        transition: none;
    }

    .trd-v1-home-categories .trd-v1-home-market-index a:hover,
    .trd-v1-accounts .trd-v1-account-card:hover,
    .trd-v1-vip .trd-v1-vip-service:hover {
        transform: none;
    }
}
.trd-form-honeypot {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
    white-space: nowrap;
    border: 0;
}

/* ===== VISUAL V2 - RUN 1: SPACING, MARKETS, SIMULATOR & FAQ ===== */
:root {
    --trd-v2-space-section: clamp(4.75rem, 7vw, 7.5rem);
    --trd-v2-space-block: clamp(2rem, 4vw, 3.75rem);
    --trd-v2-gap-grid: clamp(1.25rem, 2.4vw, 2rem);
    --trd-v2-gap-card: clamp(1rem, 1.8vw, 1.5rem);
    --trd-v2-pad-card: clamp(1.5rem, 3vw, 2.5rem);
    --trd-v2-title-gap: clamp(1.75rem, 3.5vw, 3.25rem);
    --trd-v2-reading-width: 72ch;
}

/* Shared vertical rhythm across public pages. */
.trd-v1-page .trd-v1-section,
.trd-ix-section,
.trd-v1-markets-contact,
.trd-v1-additional {
    padding-block: var(--trd-v2-space-section);
}

.trd-v1-section-heading,
.trd-ix-section__head {
    margin-bottom: var(--trd-v2-title-gap);
}

.trd-v1-section-heading .trd-v1-title,
.trd-ix-section__head .trd-ix-title {
    margin-bottom: clamp(1rem, 1.8vw, 1.4rem);
}

.trd-v1-grid-asym {
    gap: clamp(2.5rem, 6vw, 6.5rem);
}

.trd-v1-bento,
.trd-v1-contact-channels,
.trd-v1-platform-features,
.trd-v1-education-resources {
    gap: var(--trd-v2-gap-grid);
}

.trd-v1-card,
.trd-v1-account-funding,
.trd-v1-account-process,
.trd-v1-education-philosophy,
.trd-v1-education-guidance,
.trd-v1-course-instructor,
.trd-v1-course-objectives,
.trd-v1-course-enroll,
.trd-v1-contact-form-panel__body {
    padding: var(--trd-v2-pad-card);
}

.trd-v1-cta-band,
.trd-ix-cta__card,
.trd-v1-additional--internal > .container {
    padding: clamp(2rem, 5vw, 4.5rem);
}

.trd-v1-card h3,
.trd-v1-course-enroll h2,
.trd-v1-course-objectives h2 {
    text-wrap: balance;
}

.trd-v1-lead,
.trd-ix-lead,
.trd-v1-card p,
.trd-v1-content > p:not(.trd-v1-lead) {
    text-wrap: pretty;
}

.trd-v1-page .row > [class*="col-"],
.trd-ix-section .row > [class*="col-"] {
    min-width: 0;
}

.trd-v1-page .form-control,
.trd-v1-page .form-select,
.trd-ix-section .form-control,
.trd-ix-section .form-select,
.trd-v1-additional .form-control,
.trd-v1-additional .form-select {
    min-height: 48px;
}

.trd-v1-page :is(a, button, input, select, textarea):focus-visible,
.trd-ix-section :is(a, button, input, select, textarea):focus-visible,
.trd-v1-additional :is(a, button, input, select, textarea):focus-visible {
    outline: 3px solid rgba(0, 151, 78, 0.45);
    outline-offset: 3px;
    box-shadow: none;
}

/* Markets: clear hero transition, navigable tabs, readable educational blocks. */
.trd-v1-markets-hero {
    min-height: clamp(620px, 72vh, 760px);
    padding-bottom: clamp(5rem, 8vw, 7.5rem);
}

.trd-v1-markets-hero .trd-v1-hero__grid {
    gap: clamp(3rem, 6vw, 6rem);
}

.trd-v1-markets-hero .trd-v1-markets-visual {
    width: 100%;
    margin: 0;
}

.trd-v1-markets #market-content {
    scroll-margin-top: 5rem;
    padding-top: clamp(4rem, 6vw, 6rem);
}

.trd-v1-markets .trd-v1-market-nav {
    gap: 0.65rem;
    margin-bottom: var(--trd-v2-space-block);
    padding: 0.6rem;
    scroll-padding-inline: 0.6rem;
    overscroll-behavior-inline: contain;
}

.trd-v1-markets .trd-v1-market-nav__item {
    min-height: 48px;
    padding: 0.78rem 1.05rem;
    white-space: nowrap;
}

.trd-v2-markets-intro,
.trd-v2-markets-heading,
.trd-v2-markets-category-grid,
.trd-v2-markets-risk-grid,
.trd-v1-market-detail {
    margin-top: var(--trd-v2-space-block);
}

.trd-v2-markets-intro > [class*="col-"],
.trd-v2-markets-category-grid > [class*="col-"],
.trd-v2-markets-risk-grid > [class*="col-"],
.trd-v2-markets-detail-grid > [class*="col-"] {
    display: flex;
}

.trd-v1-markets .markets-intro-card,
.trd-v1-markets .markets-analysis-panel,
.trd-v1-markets .markets-category-card,
.trd-v1-markets .markets-risk-dark,
.trd-v1-markets .markets-risk-factors,
.trd-v1-markets .markets-detail-panel,
.trd-v1-markets .markets-detail-risks {
    width: 100%;
    padding: var(--trd-v2-pad-card);
}

.trd-v1-markets .markets-intro-card > p,
.trd-v1-markets .markets-detail-intro,
.trd-v1-markets .markets-detail-panel > p,
.trd-v1-markets .markets-risk-dark > p,
.trd-v1-markets .markets-risk-factors p {
    max-width: var(--trd-v2-reading-width);
    line-height: 1.75;
    text-wrap: pretty;
}

.trd-v1-markets .markets-intro-concept + .markets-intro-concept,
.trd-v1-markets .markets-analysis-step + .markets-analysis-step {
    margin-top: var(--trd-v2-gap-card);
}

.trd-v1-markets .markets-category-card {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-height: 100%;
}

.trd-v1-markets .markets-category-card__link {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 44px;
    margin-top: auto;
}

.trd-v1-markets .markets-factor-grid {
    gap: var(--trd-v2-gap-card);
}

.trd-v1-markets .markets-factor-card,
.trd-v1-markets .markets-intro-concept {
    padding: clamp(1rem, 2vw, 1.35rem);
}

.trd-v1-markets .markets-detail-header {
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.trd-v1-markets .markets-detail-intro {
    max-width: var(--trd-v2-reading-width);
    margin-bottom: var(--trd-v2-space-block);
}

.trd-v1-markets .markets-detail-panel-title {
    margin-bottom: 1.25rem;
}

.trd-v1-markets .markets-detail-list {
    display: grid;
    gap: 0.9rem;
}

.trd-v1-markets .markets-detail-chip-list {
    gap: 0.75rem;
}

.trd-v1-markets .markets-detail-chip {
    min-height: 40px;
    padding: 0.65rem 0.9rem;
}

.trd-v1-markets-contact .markets-contact-box {
    padding: clamp(2rem, 5vw, 4rem);
}

.trd-v1-markets-contact .markets-contact-form {
    gap: 1.2rem;
    padding: clamp(1.25rem, 3vw, 2rem);
}

.trd-v2-form-field {
    display: grid;
    gap: 0.5rem;
}

.trd-v2-form-label {
    color: #E8EEF6;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.4;
}

.trd-v1-markets-contact .markets-contact-form .form-control {
    min-height: 50px;
    padding-inline: 1rem;
}

.trd-v1-markets-contact .markets-contact-form button {
    min-height: 48px;
    margin-top: 0;
}

/* Stocks example in the approved simulator. */
.trd-v2-stock-panel {
    display: grid;
    gap: 1.4rem;
    margin-bottom: 1.5rem;
}

.trd-v2-stock-panel[hidden] {
    display: none;
}

.trd-v2-stock-panel__example {
    margin: 0;
    color: var(--trd-muted);
    font-size: 0.85rem;
}

.trd-v2-stock-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--trd-v2-gap-card);
}

.trd-v2-stock-field {
    display: grid;
    gap: 0.55rem;
}

.trd-v2-stock-field .form-control {
    border-color: rgba(10, 36, 66, 0.18);
    border-radius: var(--trd-radius-sm);
    font-variant-numeric: tabular-nums;
}

.trd-v2-stock-direction {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.trd-v2-stock-direction .trd-ix-label {
    float: none;
    width: auto;
    margin-bottom: 0.65rem;
}

.trd-v2-stock-direction__options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.trd-v2-stock-direction__options label {
    position: relative;
    min-width: 0;
    cursor: pointer;
}

.trd-v2-stock-direction__options input {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
}

.trd-v2-stock-direction__options span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.7rem 1rem;
    color: var(--trd-muted);
    background: var(--trd-surface-soft);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-sm);
    font-size: 0.84rem;
    font-weight: 750;
    transition: color 240ms cubic-bezier(0.16, 1, 0.3, 1), background-color 240ms cubic-bezier(0.16, 1, 0.3, 1), border-color 240ms cubic-bezier(0.16, 1, 0.3, 1), transform 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.trd-v2-stock-direction__options input:checked + span {
    color: var(--trd-on-dark);
    background: var(--trd-navy-900);
    border-color: var(--trd-navy-900);
}

.trd-v2-stock-direction__options input:focus-visible + span {
    outline: 3px solid rgba(0, 151, 78, 0.45);
    outline-offset: 3px;
}

.trd-v2-stock-direction__options label:active span {
    transform: scale(0.985);
}

.trd-v2-stock-results {
    padding: clamp(1.15rem, 2.5vw, 1.6rem);
    background: var(--trd-surface-soft);
    border: 1px solid var(--trd-border);
    border-radius: var(--trd-radius-md);
}

.trd-v2-stock-results dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 0.85rem 0 0;
}

.trd-v2-stock-results dl > div {
    min-width: 0;
    padding: 0.9rem;
    background: var(--trd-surface);
    border-radius: var(--trd-radius-sm);
}

.trd-v2-stock-results dt {
    margin-bottom: 0.35rem;
    color: var(--trd-muted);
    font-size: 0.76rem;
    font-weight: 700;
}

.trd-v2-stock-results dd {
    margin: 0;
    color: var(--trd-navy-900);
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.trd-v2-stock-results__cue {
    margin: 1rem 0 0;
    font-size: 0.82rem;
    font-weight: 750;
}

.trd-v2-stock-results__cue.is-positive {
    color: #08763F;
}

.trd-v2-stock-results__cue.is-negative {
    color: #B42318;
}

.trd-v2-stock-results__cue.is-neutral {
    color: var(--trd-muted);
}

/* FAQ becomes an editorial two-column composition on wide screens. */
.trd-v2-faq__layout {
    display: grid;
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: clamp(3rem, 7vw, 7rem);
    align-items: start;
}

.trd-v2-faq__intro {
    position: sticky;
    top: 7rem;
}

.trd-v2-faq__intro .trd-ix-section__head {
    margin-bottom: 0;
    text-align: left;
}

.trd-v2-faq .trd-ix-accordion {
    width: 100%;
    max-width: none;
    margin: 0;
}

.trd-v2-faq .accordion-item + .accordion-item {
    margin-top: 0.75rem;
}

.trd-v2-faq .accordion-button {
    min-height: 58px;
    padding: 1.1rem 1.25rem;
    line-height: 1.45;
}

.trd-v2-faq .accordion-body {
    max-width: var(--trd-v2-reading-width);
    padding: 0 1.25rem 1.25rem;
    line-height: 1.75;
}

/* Closing content receives the same breathing room as primary sections. */
.trd-v1-additional--internal .row,
.trd-v1-additional--internal form,
.trd-v1-home-cta__card .row {
    row-gap: var(--trd-v2-gap-grid);
}

.trd-v1-additional-closing > p:not(.trd-v1-eyebrow),
.trd-v1-additional--internal .text-secondary {
    max-width: var(--trd-v2-reading-width);
    line-height: 1.75;
}

@media (max-width: 1023.98px) {
    .trd-v2-faq__layout {
        grid-template-columns: 1fr;
        gap: var(--trd-v2-space-block);
    }

    .trd-v2-faq__intro {
        position: static;
    }

    .trd-v2-faq__intro .trd-ix-section__head {
        max-width: 720px;
    }

    .trd-v1-markets-hero .trd-v1-hero__grid {
        gap: 2.5rem;
    }
}

@media (max-width: 767.98px) {
    :root {
        --trd-v2-space-section: clamp(3.75rem, 14vw, 5rem);
        --trd-v2-space-block: clamp(1.75rem, 8vw, 2.75rem);
        --trd-v2-gap-grid: 1.15rem;
        --trd-v2-gap-card: 1rem;
        --trd-v2-pad-card: clamp(1.25rem, 5vw, 1.75rem);
        --trd-v2-title-gap: clamp(1.75rem, 8vw, 2.5rem);
    }

    .trd-v1-page .container,
    .trd-ix-section > .container,
    .trd-v1-additional > .container {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .trd-v1-section-heading--split,
    .trd-v1-grid-asym,
    .trd-v1-grid-asym--media-right,
    .trd-v1-grid-asym--narrow-copy {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--trd-v2-space-block);
    }

    .trd-v1-bento {
        grid-template-columns: minmax(0, 1fr);
    }

    .trd-v1-bento__wide {
        grid-column: auto;
    }

    .trd-v1-cta-band,
    .trd-ix-cta__card,
    .trd-v1-additional--internal > .container {
        padding: clamp(1.4rem, 6vw, 2rem);
    }

    .trd-v1-markets-hero {
        min-height: auto;
        padding-block: 4.5rem;
    }

    .trd-v1-markets #market-content {
        padding-top: 2.75rem;
    }

    .trd-v1-markets .trd-v1-market-nav {
        position: sticky;
        z-index: 5;
        top: calc(var(--trd-nav-h) + 0.5rem);
        margin-inline: -0.35rem;
        margin-bottom: var(--trd-v2-space-block);
        box-shadow: 0 12px 30px rgba(6, 17, 31, 0.12);
        scrollbar-width: none;
    }

    .trd-v1-markets .trd-v1-market-nav::-webkit-scrollbar {
        display: none;
    }

    .trd-v1-markets .markets-detail-header {
        align-items: flex-start;
    }

    .trd-v1-markets-contact .markets-contact-box {
        padding: 1.4rem;
    }

    .trd-v1-markets-contact .markets-contact-form {
        padding: 1.15rem;
    }

    .trd-v2-stock-fields,
    .trd-v2-stock-results dl {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 389.98px) {
    .trd-v1-page .container,
    .trd-ix-section > .container,
    .trd-v1-additional > .container {
        padding-inline: 1rem;
    }

    .trd-v2-stock-direction__options {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .trd-v2-stock-direction__options span,
    .trd-v1-markets .markets-category-card,
    .trd-v1-markets .trd-v1-market-nav__item {
        transition: none;
    }

    .trd-v2-stock-direction__options label:active span,
    .trd-v1-markets .markets-category-card:hover {
        transform: none;
    }
}

/* ===== VISUAL V2 - RUN 2: MOTION, PLATFORM & HERO DETAILS ===== */
/* Product-like chart surfaces share the spacing, radii and color tokens from Run 1. */
.trd-v2-market-console__stage {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    min-width: 0;
    padding: 0.85rem 0.8rem 0.7rem;
    overflow: hidden;
}

.trd-v2-market-console__stage svg {
    align-self: stretch;
    min-height: 0;
    padding: 0;
}

.trd-v2-market-console__tabs,
.trd-v2-market-console__indicators,
.trd-v2-platform-statuses {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-width: 0;
}

.trd-v2-market-console__tabs {
    padding-bottom: 0.35rem;
    overflow: hidden;
}

.trd-v2-market-console__tabs span,
.trd-v2-market-console__indicators span {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0.28rem 0.55rem;
    color: #526A84;
    background: rgba(14, 76, 146, 0.06);
    border: 1px solid rgba(14, 76, 146, 0.09);
    border-radius: 7px;
    font-size: 0.63rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.trd-v2-market-console__tabs span.is-active {
    color: var(--trd-on-dark);
    background: var(--trd-blue-700);
    border-color: var(--trd-blue-700);
}

.trd-v2-market-console__indicators {
    justify-content: flex-end;
    padding-top: 0.35rem;
}

.trd-v2-market-console__indicators small {
    margin-left: auto;
    color: var(--trd-muted);
    font-size: 0.62rem;
}

.trd-v2-chart-line {
    stroke-dasharray: 1100;
    stroke-dashoffset: 1100;
    transition: stroke-dashoffset 1500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.is-v2-visible .trd-v2-chart-line {
    stroke-dashoffset: 0;
}

.trd-v2-chart-area {
    opacity: 0;
    transition: opacity 900ms 260ms cubic-bezier(0.16, 1, 0.3, 1);
}

.is-v2-visible .trd-v2-chart-area {
    opacity: 1;
}

.trd-v2-chart-points circle {
    fill: var(--trd-accent);
    stroke: rgba(255, 255, 255, 0.92);
    stroke-width: 2;
    opacity: 0;
    transform-box: fill-box;
    transform-origin: center;
}

.trd-v2-market-console .trd-v2-chart-points circle {
    stroke: var(--trd-surface);
}

.is-v2-visible .trd-v2-chart-points circle {
    opacity: 1;
    animation: trd-v2-point-pulse 4.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.is-v2-visible .trd-v2-chart-points circle:nth-child(2) {
    animation-delay: 1.25s;
}

.is-v2-visible .trd-v2-chart-points circle:nth-child(3) {
    animation-delay: 2.5s;
}

.trd-v2-chart-crosshair {
    color: rgba(14, 76, 146, 0.3);
    fill: var(--trd-blue-700);
    stroke: currentColor;
    stroke-width: 1;
    opacity: 0;
}

.is-v2-visible .trd-v2-chart-crosshair {
    opacity: 1;
    animation: trd-v2-crosshair-drift 9s cubic-bezier(0.45, 0, 0.25, 1) infinite alternate;
}

@keyframes trd-v2-point-pulse {
    0%, 72%, 100% { opacity: 0.82; transform: scale(1); }
    82% { opacity: 1; transform: scale(1.38); }
}

@keyframes trd-v2-crosshair-drift {
    from { transform: translateX(-8px); }
    to { transform: translateX(8px); }
}

/* Platform hero: restrained status detail and maximum six-pixel pointer depth. */
.trd-v1-platform-hero .trd-v2-platform-hero-console {
    --trd-v2-tilt-x: 0px;
    --trd-v2-tilt-y: 0px;
    overflow: visible;
    transform: perspective(1100px) rotateY(-3deg) translate3d(var(--trd-v2-tilt-x), var(--trd-v2-tilt-y), 0);
    transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1), box-shadow 700ms cubic-bezier(0.16, 1, 0.3, 1);
}

.trd-v2-platform-hero-console::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 14% 8% -8%;
    background: radial-gradient(circle, rgba(0, 151, 78, 0.16), transparent 68%);
    filter: blur(18px);
    opacity: 0.55;
    pointer-events: none;
}

.trd-v2-platform-statuses {
    flex-wrap: wrap;
    margin: -0.1rem 0 0.6rem;
}

.trd-v2-platform-statuses span,
.trd-v2-platform-statuses b {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    min-height: 26px;
    padding: 0.2rem 0.48rem;
    color: #C7D5E5;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 7px;
    font-size: 0.58rem;
    font-weight: 650;
}

.trd-v2-platform-statuses b {
    margin-left: auto;
    color: #AEEBCB;
    background: rgba(0, 151, 78, 0.12);
}

.trd-v2-platform-statuses i,
.trd-v2-float-chip > i {
    width: 6px;
    height: 6px;
    background: var(--trd-accent);
    border-radius: 50%;
}

.is-v2-visible .trd-v2-platform-statuses i {
    animation: trd-v2-status-pulse 5s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.is-v2-visible .trd-v2-platform-statuses span:nth-child(2) i { animation-delay: 1.4s; }
.is-v2-visible .trd-v2-platform-statuses span:nth-child(3) i { animation-delay: 2.8s; }

@keyframes trd-v2-status-pulse {
    0%, 70%, 100% { opacity: 0.5; transform: scale(0.9); }
    80% { opacity: 1; transform: scale(1.3); }
}

/* Shared hero ornaments remain inside the visual column and never carry price data. */
.trd-v2-hero-visual,
.trd-v2-platform-hero-console,
.trd-v1-accounts-stack {
    position: relative;
}

.trd-v2-hero-visual {
    overflow: visible;
}

.trd-v2-hero-floats {
    position: absolute;
    z-index: 3;
    inset: 0;
    pointer-events: none;
}

.trd-v2-float-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 36px;
    padding: 0.5rem 0.72rem;
    color: #EAF2FB;
    background: rgba(8, 27, 48, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(3, 18, 34, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    font-size: 0.66rem;
    font-weight: 780;
    letter-spacing: 0.045em;
}

.trd-v2-float-chip svg {
    width: 46px;
    height: 18px;
    fill: none;
    stroke: var(--trd-accent);
    stroke-width: 2;
}

.trd-v2-float-chip--one { top: -1.05rem; right: 8%; }
.trd-v2-float-chip--two { right: -1.15rem; bottom: 22%; }
.trd-v2-float-chip--three { left: 8%; bottom: -0.9rem; }

.is-v2-visible .trd-v2-float-chip--one { animation: trd-v2-float-a 8s cubic-bezier(0.45, 0, 0.25, 1) infinite alternate; }
.is-v2-visible .trd-v2-float-chip--two { animation: trd-v2-float-b 9s cubic-bezier(0.45, 0, 0.25, 1) infinite alternate; }
.is-v2-visible .trd-v2-float-chip--three { animation: trd-v2-float-a 7s 1.2s cubic-bezier(0.45, 0, 0.25, 1) infinite alternate; }

@keyframes trd-v2-float-a {
    from { transform: translate3d(0, -2px, 0); }
    to { transform: translate3d(0, 4px, 0); }
}

@keyframes trd-v2-float-b {
    from { transform: translate3d(-2px, 2px, 0); }
    to { transform: translate3d(3px, -3px, 0); }
}

/* Mobile product view: state transitions use transforms only and pause off-screen. */
.trd-v2-mobile-console .trd-v1-platform-device__screen {
    min-height: 480px;
}

.trd-v2-mobile-console .trd-v1-platform-device__watchlist {
    grid-row: 1 / 4;
    gap: 0.35rem;
}

.trd-v2-mobile-console .trd-v1-platform-device__watchlist span {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.25rem;
    align-items: center;
    min-height: 38px;
    color: rgba(232, 240, 249, 0.68);
    border-left: 2px solid transparent;
    transition: color 500ms cubic-bezier(0.16, 1, 0.3, 1), background-color 500ms cubic-bezier(0.16, 1, 0.3, 1), border-color 500ms cubic-bezier(0.16, 1, 0.3, 1), transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.trd-v2-mobile-console .trd-v1-platform-device__watchlist span.is-active {
    color: #F4F8FC;
    background: rgba(0, 151, 78, 0.12);
    border-left-color: var(--trd-accent);
    transform: translateX(3px);
}

.trd-v2-mobile-console .trd-v1-platform-device__watchlist i,
.trd-v2-mobile-position i {
    color: #8EE0B7;
    font-size: 0.62rem;
    font-style: normal;
}

.trd-v2-mobile-console .trd-v1-platform-device__chart {
    height: 150px;
    margin: 0.8rem 0;
}

.trd-v2-mobile-console .trd-v1-platform-device__chart svg {
    display: block;
    width: 100%;
    height: 100%;
}

.trd-v2-mobile-panels {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(92px, 0.8fr);
    gap: 0.55rem;
    margin-bottom: 0.7rem;
}

.trd-v2-mobile-position,
.trd-v2-mobile-bars {
    min-width: 0;
    padding: 0.65rem;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9px;
}

.trd-v2-mobile-position {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.35rem;
    color: #ECF3FA;
}

.trd-v2-mobile-position small,
.trd-v2-mobile-bars small {
    color: #AEBFD1;
    font-size: 0.58rem;
}

.trd-v2-mobile-position strong {
    color: #AEEBCB;
    font-size: 0.56rem;
    text-transform: uppercase;
}

.trd-v2-mobile-position span {
    grid-column: 1 / -1;
    font-size: 0.66rem;
    font-weight: 750;
}

.trd-v2-mobile-bars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.32rem;
    align-items: end;
}

.trd-v2-mobile-bars small {
    grid-column: 1 / -1;
}

.trd-v2-mobile-bars span {
    height: 34px;
    background: linear-gradient(to top, var(--trd-accent), #6BD5A3);
    border-radius: 3px 3px 1px 1px;
    opacity: 0.76;
    transform: scaleY(0.52);
    transform-origin: bottom;
    transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1), opacity 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.trd-v2-mobile-bars span:nth-of-type(2) { transform: scaleY(0.78); }
.trd-v2-mobile-bars span:nth-of-type(3) { transform: scaleY(0.64); }
.trd-v2-mobile-bars span.is-active { opacity: 1; transform: scaleY(0.94); }

@media (max-width: 991.98px) {
    .trd-v1-platform-hero .trd-v2-platform-hero-console {
        transform: none;
    }

    .trd-v2-float-chip--two {
        right: 0.5rem;
    }
}

@media (max-width: 767.98px) {
    .trd-v2-market-console__tabs span:nth-child(n+4),
    .trd-v2-market-console__indicators small,
    .trd-v2-hero-floats {
        display: none;
    }

    .trd-v2-market-console__stage {
        padding-inline: 0.5rem;
    }

    .trd-v2-market-console__indicators {
        justify-content: flex-start;
    }

    .trd-v2-mobile-console {
        width: 100%;
    }
}

@media (max-width: 389.98px) {
    .trd-v2-platform-statuses span:nth-child(2),
    .trd-v2-platform-statuses span:nth-child(3),
    .trd-v2-market-console__tabs span:nth-child(3) {
        display: none;
    }

    .trd-v2-mobile-panels {
        grid-template-columns: minmax(0, 1fr);
    }

    .trd-v2-mobile-console .trd-v1-platform-device__screen {
        min-height: 520px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trd-v2-chart-line {
        stroke-dasharray: none;
        stroke-dashoffset: 0;
        transition: none;
    }

    .trd-v2-chart-area,
    .trd-v2-chart-points circle,
    .trd-v2-chart-crosshair {
        opacity: 1;
        transition: none;
        animation: none;
    }

    .trd-v1-platform-hero .trd-v2-platform-hero-console,
    .trd-v2-float-chip,
    .trd-v2-platform-statuses i,
    .trd-v2-mobile-console .trd-v1-platform-device__watchlist span,
    .trd-v2-mobile-bars span {
        transition: none;
        animation: none;
    }

    .trd-v1-platform-hero .trd-v2-platform-hero-console,
    .trd-v2-mobile-console .trd-v1-platform-device__watchlist span.is-active {
        transform: none;
    }
}

/* ===== VISUAL V2 - RUN 3 FIXES ===== */
/* Breadcrumb links keep their visual weight while exposing a reliable pointer target. */
.trd-v1-breadcrumb a {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding-block: 2px;
}

/* Market category cards share a baseline and keep their actions aligned. */
@media (min-width: 992px) {
    .trd-v1-markets .trd-v2-markets-category-grid > [class*="col-"] {
        align-items: stretch;
    }

    .trd-v1-markets .markets-category-card {
        height: 100%;
        gap: 0;
    }

    .trd-v1-markets .markets-category-card > p:last-of-type {
        flex: 1 1 auto;
    }

    .trd-v1-markets .trd-v2-markets-risk-grid {
        align-items: stretch;
    }

    .trd-v1-markets .markets-risk-dark {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

/* The home resource bento uses two balanced tracks on wide screens. */
@media (min-width: 1200px) {
    .trd-v1-home-resources__grid {
        grid-template-rows: repeat(2, minmax(13.75rem, 1fr));
        align-items: stretch;
    }

    .trd-v1-home-resource,
    .trd-v1-home-resource > a {
        min-height: 0;
    }
}

/* System specifications become readable stacked records before columns get narrow. */
@media (max-width: 991.98px) {
    .trd-v1-platform-specs {
        border: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible;
    }

    .trd-v1-platform-specs thead {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
    }

    .trd-v1-platform-specs table,
    .trd-v1-platform-specs tbody,
    .trd-v1-platform-specs tr,
    .trd-v1-platform-specs th,
    .trd-v1-platform-specs td {
        display: block;
        width: 100%;
        min-width: 0;
    }

    .trd-v1-platform-specs tbody tr {
        margin-bottom: 1rem;
        background: var(--trd-surface);
        border: 1px solid var(--trd-border);
        border-radius: var(--trd-radius-md);
        box-shadow: var(--trd-shadow-sm);
        overflow: hidden;
    }

    .trd-v1-platform-specs tbody th,
    .trd-v1-platform-specs tbody td {
        width: 100%;
        padding: 0.95rem 1.1rem;
        line-height: 1.5;
        overflow-wrap: anywhere;
        white-space: normal;
    }

    .trd-v1-platform-specs tbody th {
        color: var(--trd-on-dark);
        background: var(--trd-navy-900);
    }

    .trd-v1-platform-specs tbody td + td {
        padding-top: 0;
    }
}

@media (max-width: 767.98px) {
    .trd-v1-breadcrumb a {
        min-height: 44px;
        padding-block: 0.35rem;
    }

    .trd-v1-markets .trd-v2-markets-risk-grid {
        row-gap: 1.5rem;
        margin-bottom: 0;
    }

    .trd-v1-markets-contact {
        padding-top: calc(var(--trd-v2-space-section) + 0.75rem);
    }

    .trd-v1-markets-contact .markets-contact-form,
    .trd-v1-home-cta__form,
    .trd-v1-education-form-panel,
    .trd-v1-vip-form-panel form,
    .trd-v1-course-enroll form,
    .trd-v1-additional--internal form {
        margin-top: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    /* Important is required here to beat the later per-element V2 animation declarations. */
    [class*="trd-v2-"],
    [class*="trd-v2-"]::before,
    [class*="trd-v2-"]::after,
    .trd-v2-chart-points circle,
    .trd-v2-chart-crosshair,
    .trd-v2-chart-crosshair path,
    .trd-v2-chart-crosshair circle,
    .trd-v2-float-chip svg path,
    .trd-v2-platform-statuses i,
    .trd-v2-mobile-console .trd-v1-platform-device__watchlist span,
    .trd-v2-mobile-bars span {
        animation: none !important;
        transition: none !important;
    }

    .trd-v2-chart-line {
        stroke-dasharray: none;
        stroke-dashoffset: 0;
    }

    .trd-v2-chart-area,
    .trd-v2-chart-points circle,
    .trd-v2-chart-crosshair {
        opacity: 1;
    }

    .trd-v1-platform-hero .trd-v2-platform-hero-console,
    .trd-v2-float-chip,
    .trd-v2-chart-points circle,
    .trd-v2-chart-crosshair,
    .trd-v2-mobile-console .trd-v1-platform-device__watchlist span.is-active {
        transform: none;
    }
}

/* ===== PLATFORM MOBILE IMAGE ===== */
.trd-v2-platform-mobile-image-section .trd-v2-platform-mobile-image {
    position: relative;
    isolation: isolate;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
}

.trd-v2-platform-mobile-image-section .trd-v2-platform-mobile-image::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 14% 6% 10%;
    background: radial-gradient(circle at 58% 48%, rgba(14, 76, 146, 0.18), rgba(14, 76, 146, 0) 68%);
    pointer-events: none;
}

.trd-v2-platform-mobile-image-section .trd-v2-platform-mobile-image img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 600px;
    margin-inline: auto;
    object-fit: contain;
}

.trd-v2-platform-mobile-image-section .trd-v2-platform-mobile-image__label {
    position: static;
    width: fit-content;
    margin: 0.5rem 6.5% 0 auto;
    z-index: 1;
    padding: 0.48rem 0.78rem;
    color: #FFFFFF;
    background: var(--trd-navy-950);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    box-shadow: var(--trd-shadow-sm);
    font-size: 0.74rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0.04em;
}

@media (max-width: 991.98px) {
    .trd-v2-platform-mobile-image-section .trd-v2-platform-mobile-image img {
        max-height: 520px;
    }
}

@media (max-width: 767.98px) {
    .trd-v2-platform-mobile-image-section .trd-v2-platform-mobile-image img {
        max-height: 410px;
    }

    .trd-v2-platform-mobile-image-section .trd-v2-platform-mobile-image__label {
        font-size: 0.7rem;
    }
}

/* ===== PLATFORM MOBILE MOTION ===== */
.trd-v2-platform-mobile-image-section .trd-v2-platform-mobile-image {
    animation: trd-platform-mobile-float 8.8s ease-in-out infinite;
}

.trd-v2-platform-mobile-image-section .trd-v2-platform-mobile-image::before {
    animation: trd-platform-mobile-glow 9.6s ease-in-out infinite;
    transform-origin: 58% 48%;
}

@keyframes trd-platform-mobile-float {
    0%,
    100% {
        translate: 0 0;
    }

    50% {
        translate: 0 -3px;
    }
}

@keyframes trd-platform-mobile-glow {
    0%,
    100% {
        opacity: 0.72;
        scale: 0.985;
    }

    50% {
        opacity: 1;
        scale: 1.035;
    }
}

@media (prefers-reduced-motion: reduce) {
    .trd-v2-platform-mobile-image-section .trd-v2-platform-mobile-image {
        animation: none !important;
        translate: none;
    }

    .trd-v2-platform-mobile-image-section .trd-v2-platform-mobile-image::before {
        animation: none !important;
        opacity: 1;
        scale: none;
    }
}

/* ===== REMEDIATION R1: COURSE ENROLL CONTRAST ===== */
aside.trd-v1-course-enroll {
    color: var(--trd-on-dark);
    background: linear-gradient(145deg, var(--trd-navy-950), var(--trd-blue-800));
    border-color: var(--trd-on-dark-border);
}

aside.trd-v1-course-enroll h2 {
    color: var(--trd-on-dark);
}

aside.trd-v1-course-enroll > p,
aside.trd-v1-course-enroll .trd-v1-course-enroll__signin {
    color: var(--trd-on-dark-muted);
}

aside.trd-v1-course-enroll .trd-v1-course-enroll__signin a.text-white {
    color: var(--trd-accent) !important;
}
