/**
 * TradeStation Elementor Addon - Complete Styles
 * Recreates the React landing page design in Elementor
 */

/* ================================================================
   CSS VARIABLES (Design Tokens)
   ================================================================ */
:root {
    --ts-bg: hsl(220, 30%, 8%);
    --ts-fg: hsl(210, 20%, 95%);
    --ts-card: hsl(220, 25%, 12%);
    --ts-card-fg: hsl(210, 20%, 95%);
    --ts-primary: hsl(210, 80%, 50%);
    --ts-primary-fg: #ffffff;
    --ts-secondary: hsl(215, 50%, 18%);
    --ts-secondary-fg: hsl(210, 20%, 90%);
    --ts-muted: hsl(220, 20%, 16%);
    --ts-muted-fg: hsl(215, 15%, 55%);
    --ts-accent: hsl(210, 90%, 45%);
    --ts-border: hsl(220, 20%, 20%);
    --ts-input: hsl(220, 20%, 18%);
    --ts-destructive: hsl(0, 84%, 60%);
    --ts-brand-blue: hsl(210, 80%, 50%);
    --ts-brand-blue-light: hsl(205, 85%, 60%);
    --ts-navy-deep: hsl(220, 40%, 5%);
    --ts-navy-mid: hsl(220, 30%, 12%);
    --ts-trust-green: hsl(152, 60%, 45%);
    --ts-radius: 0.75rem;
    --ts-font: 'Heebo', sans-serif;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
.ts-trust-bar, .ts-navbar, .ts-hero, .ts-social-proof,
.ts-section, .ts-urgency-strip, .ts-final-cta,
.ts-floating-cta, .ts-footer {
    direction: rtl;
    font-family: var(--ts-font);
    color: var(--ts-fg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    box-sizing: border-box;
    line-height: 1.6;
}

.ts-trust-bar *, .ts-navbar *, .ts-hero *, .ts-social-proof *,
.ts-section *, .ts-urgency-strip *, .ts-final-cta *,
.ts-floating-cta *, .ts-footer * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ================================================================
   CONTAINER
   ================================================================ */
.ts-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}
.ts-container--narrow { max-width: 800px; }
.ts-container--sm { max-width: 600px; }

/* ================================================================
   TYPOGRAPHY HELPERS
   ================================================================ */
.ts-brand-text {
    background: linear-gradient(135deg, var(--ts-brand-blue), var(--ts-brand-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.ts-text-foreground { color: var(--ts-fg); }
.ts-text-primary { color: var(--ts-primary); }
.ts-text-primary-faded { color: hsl(210, 80%, 50%, 0.4); }
.ts-text-green { color: var(--ts-trust-green); }
.ts-text-red { color: var(--ts-destructive); }
.ts-text-muted { color: var(--ts-muted-fg); }
.ts-text-white { color: #fff; }
.ts-font-bold { font-weight: 700; }

/* ================================================================
   BACKGROUND HELPERS
   ================================================================ */
.ts-brand-gradient {
    background: linear-gradient(135deg, var(--ts-brand-blue), var(--ts-brand-blue-light));
}
.ts-navy-gradient {
    background: linear-gradient(180deg, var(--ts-navy-deep) 0%, var(--ts-navy-mid) 100%);
}
.ts-bg-green { background: var(--ts-trust-green); }
.ts-bg-blue { background: var(--ts-primary); }

/* ================================================================
   RESPONSIVE HELPERS
   ================================================================ */
@media (max-width: 767px) {
    .ts-hide-mobile { display: none !important; }
}
@media (min-width: 768px) {
    .ts-show-mobile { display: none !important; }
}

/* ================================================================
   ICONS (SVG inline)
   ================================================================ */
.ts-icon {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}
.ts-icon-xs { width: 14px; height: 14px; }
.ts-icon-sm { width: 16px; height: 16px; }
.ts-icon-md { width: 24px; height: 24px; }
.ts-icon-lg { width: 28px; height: 28px; }
.ts-icon-xl { width: 32px; height: 32px; }
.ts-icon-xxl { width: 48px; height: 48px; }

.ts-icon-star {
    width: 16px;
    height: 16px;
    color: var(--ts-primary);
    fill: var(--ts-primary);
}
.ts-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 0.75rem;
}

/* ================================================================
   ICON BOX
   ================================================================ */
.ts-icon-box {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.75rem;
}
.ts-icon-box--sm {
    width: 3rem;
    height: 3rem;
    border-radius: 0.75rem;
}
.ts-icon-box--round {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
}

/* ================================================================
   BUTTONS
   ================================================================ */
.ts-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--ts-font);
    font-weight: 700;
    border: none;
    border-radius: var(--ts-radius);
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.2s, transform 0.2s;
    padding: 0.75rem 2rem;
    font-size: 1rem;
}
.ts-btn:hover { opacity: 0.9; }
.ts-btn:active { transform: scale(0.98); }
.ts-btn--primary {
    background: linear-gradient(135deg, var(--ts-brand-blue), var(--ts-brand-blue-light));
    color: var(--ts-primary-fg);
}
.ts-btn--lg {
    height: 3.5rem;
    padding: 0 2.5rem;
    font-size: 1.125rem;
    border-radius: 0.75rem;
}
.ts-btn--pulse {
    animation: ts-pulse-blue 2s ease-in-out infinite;
}

/* ================================================================
   INPUTS / FORMS
   ================================================================ */
.ts-input {
    width: 100%;
    height: 3rem;
    padding: 0 1rem;
    border-radius: var(--ts-radius);
    border: 1px solid var(--ts-border);
    background: var(--ts-input);
    color: var(--ts-fg);
    font-family: var(--ts-font);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}
.ts-input::placeholder { color: var(--ts-muted-fg); }
.ts-input:focus { border-color: var(--ts-primary); }

.ts-form { max-width: 28rem; }
.ts-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.ts-form > .ts-input { margin-bottom: 0.75rem; }

.ts-form__consent {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: var(--ts-muted-fg);
    cursor: pointer;
    margin-bottom: 0.75rem;
}
.ts-form__consent input[type="checkbox"] {
    margin-top: 2px;
    accent-color: var(--ts-primary);
}
.ts-form > .ts-btn { width: 100%; margin-bottom: 0.5rem; }
.ts-form__note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--ts-muted-fg);
    margin-bottom: 0.5rem;
}
.ts-form__badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.65rem;
    color: var(--ts-muted-fg);
}
@media (min-width: 768px) {
    .ts-form__badges { font-size: 0.75rem; }
}

/* External Elementor form styling (match built-in form)
   Uses !important to override Elementor's default field styles,
   especially when the form is rendered via global widget which wraps
   content in deep .elementor-widget-container / .elementor-element divs. */
.ts-form--external {
    max-width: 28rem;
}
/* Reset Elementor column/widget wrappers inside our form container */
.ts-form--external .elementor-section,
.ts-form--external .elementor-element,
.ts-form--external .elementor-widget-wrap,
.ts-form--external .elementor-widget,
.ts-form--external .elementor-widget-container {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}
/* Preserve Elementor's native flex-wrap column layout so col-50 etc. work */
.ts-form--external .elementor-form-fields-wrapper {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
}
/* Let Elementor column classes set width; only default to 100% when no col class */
.ts-form--external .elementor-field-group {
    margin-bottom: 0 !important;
    padding: 0 5px !important;
    box-sizing: border-box !important;
    flex-wrap: nowrap !important;
}
.ts-form--external .elementor-field-group.elementor-col-100 { width: 100% !important; }
.ts-form--external .elementor-field-group.elementor-col-50 { width: calc(50% - 0.375rem) !important; }
.ts-form--external .elementor-field-group.elementor-col-33 { width: calc(33.333% - 0.5rem) !important; }
.ts-form--external .elementor-field-group:not([class*="elementor-col-"]) { width: 100% !important; }
.ts-form--external .elementor-field-group-inline {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.75rem !important;
}
/* Force dark theme on text/email/tel/number inputs — NOT checkbox/radio */
.ts-form--external .elementor-field-textual,
.ts-form--external input[type="text"],
.ts-form--external input[type="email"],
.ts-form--external input[type="tel"],
.ts-form--external input[type="number"],
.ts-form--external input[type="url"],
.ts-form--external input[type="password"],
.ts-form--external textarea,
.ts-form--external select {
    width: 100% !important;
    height: 3rem !important;
    padding: 0 1rem !important;
    border-radius: var(--ts-radius) !important;
    border: 1px solid var(--ts-border) !important;
    background: var(--ts-input) !important;
    color: var(--ts-fg) !important;
    font-family: var(--ts-font) !important;
    font-size: 0.9rem !important;
    outline: none !important;
    transition: border-color 0.2s !important;
    box-sizing: border-box !important;
}
.ts-form--external textarea {
    height: auto !important;
    min-height: 5rem !important;
    padding: 0.75rem 1rem !important;
}
.ts-form--external .elementor-field-textual::placeholder,
.ts-form--external input::placeholder,
.ts-form--external textarea::placeholder {
    color: var(--ts-muted-fg) !important;
}
.ts-form--external .elementor-field-textual:focus,
.ts-form--external input:focus,
.ts-form--external textarea:focus {
    border-color: var(--ts-primary) !important;
}
/* Force dark theme on Elementor field labels */
.ts-form--external .elementor-field-label {
    color: var(--ts-fg) !important;
    font-family: var(--ts-font) !important;
    font-size: 0.85rem !important;
    margin-bottom: 0.25rem !important;
}
/* Submit button — gradient with pulse */
.ts-form--external button[type="submit"],
.ts-form--external .elementor-button,
.ts-form--external .e-form__buttons__wrapper button,
.ts-form--external .elementor-button-wrapper .elementor-button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 3.5rem !important;
    padding: 0 2.5rem !important;
    font-family: var(--ts-font) !important;
    font-weight: 700 !important;
    font-size: 1.125rem !important;
    border: none !important;
    border-radius: 0.75rem !important;
    cursor: pointer !important;
    background: linear-gradient(135deg, var(--ts-brand-blue), var(--ts-brand-blue-light)) !important;
    color: var(--ts-primary-fg) !important;
    animation: ts-pulse-blue 2s ease-in-out infinite;
    margin-bottom: 0.5rem !important;
    text-decoration: none !important;
}
.ts-form--external button[type="submit"]:hover,
.ts-form--external .elementor-button:hover {
    opacity: 0.9;
}
/* Acceptance / checkbox fields */
.ts-form--external .elementor-field-type-acceptance label,
.ts-form--external .elementor-field-type-checkbox label {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    font-size: 0.75rem !important;
    color: var(--ts-muted-fg) !important;
    cursor: pointer !important;
}
.ts-form--external .elementor-field-type-acceptance input[type="checkbox"],
.ts-form--external .elementor-field-type-checkbox input[type="checkbox"],
.ts-form--external input[type="checkbox"],
.ts-form--external input[type="radio"] {
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin-top: 2px !important;
    accent-color: var(--ts-primary) !important;
    border: revert !important;
    background: revert !important;
    border-radius: revert !important;
}
/* Elementor form messages (success/error) */
.ts-form--external .elementor-message {
    color: var(--ts-fg) !important;
    font-family: var(--ts-font) !important;
    font-size: 0.85rem !important;
}
.ts-form--external .elementor-message-success { color: hsl(152, 60%, 45%) !important; }
.ts-form--external .elementor-message-danger { color: hsl(0, 84%, 60%) !important; }
.ts-final-cta .ts-form--external { margin: 0 auto; }

/* ================================================================
   SECTION BASE
   ================================================================ */
.ts-section {
    padding: 3.5rem 0;
    background: var(--ts-bg);
}
.ts-section--alt {
    background: hsl(215, 50%, 18%, 0.3);
}
@media (min-width: 768px) {
    .ts-section { padding: 5rem 0; }
}

.ts-section__header {
    text-align: center;
    margin-bottom: 2.5rem;
}
@media (min-width: 768px) {
    .ts-section__header { margin-bottom: 3.5rem; }
}

.ts-section__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--ts-fg);
}
@media (min-width: 768px) {
    .ts-section__title { font-size: 2.25rem; }
}
.ts-section__title--left { text-align: right; }

.ts-section__subtitle {
    color: var(--ts-muted-fg);
    font-size: 0.875rem;
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.7;
}
@media (min-width: 768px) {
    .ts-section__subtitle { font-size: 1.125rem; }
}

.ts-section__cta {
    text-align: center;
    margin-top: 2rem;
}
@media (min-width: 768px) {
    .ts-section__cta { margin-top: 2.5rem; }
}

/* ================================================================
   GRID SYSTEM
   ================================================================ */
.ts-grid {
    display: grid;
    gap: 1.5rem;
}
/* Showcase grid overrides */
#showcase .ts-grid--2 {
    max-width: 64rem;
    margin: 0 auto;
}
@media (max-width: 767px) {
    #showcase .ts-grid--2 {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 1.5rem;
        padding-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
    }
    #showcase .ts-grid--2 > .ts-device-card {
        width: 80%;
        flex-shrink: 0;
        scroll-snap-align: center;
    }
    #showcase .ts-grid--2::-webkit-scrollbar { display: none; }

    /* ── Consistent mobile card heights ── */
    #showcase .ts-device-card__bg {
        min-height: 300px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 1.25rem;
    }
    #showcase .ts-device-card__inner {
        width: 100%;
    }
    /* Phone: constrain height so it matches other cards */
    #showcase .ts-device-card__inner--phone {
        max-width: 130px;
        width: auto;
    }
    #showcase .ts-device-screen--9x16 {
        max-height: 230px;
    }
    /* Tablet: slightly larger on mobile */
    #showcase .ts-device-card__inner--tablet {
        max-width: 240px;
        width: auto;
    }
    /* Labels consistent */
    #showcase .ts-device-card__label {
        font-size: 0.8125rem;
        margin-top: 0.5rem;
    }
}
@media (min-width: 768px) {
    .ts-grid--2 { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
    .ts-grid--3 { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
    .ts-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1024px) {
    .ts-grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.ts-grid--narrow { max-width: 56rem; margin: 0 auto; }

/* ================================================================
   1. TRUST BAR
   ================================================================ */
.ts-trust-bar {
    background: hsl(215, 50%, 18%, 0.6);
    border-bottom: 1px solid var(--ts-border);
    padding: 0.5rem 0;
}
.ts-trust-bar__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}
@media (min-width: 768px) {
    .ts-trust-bar__inner { gap: 2rem; }
}

.ts-trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    padding: 0.375rem 0.625rem;
    font-size: 0.75rem;
    font-weight: 500;
    background: hsl(220, 25%, 15%);
    border: 1px solid hsl(210, 80%, 50%, 0.3);
    color: var(--ts-primary);
    white-space: nowrap;
}
@media (min-width: 768px) {
    .ts-trust-badge { padding: 0.5rem 1rem; font-size: 0.875rem; }
}

/* ================================================================
   2. NAVBAR
   ================================================================ */
.ts-navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: hsl(220, 30%, 8%, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--ts-border);
    padding: 0.75rem 0;
}
.ts-navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.ts-navbar__brand {
    font-size: 1.25rem;
    font-weight: 700;
}
.ts-navbar__links {
    display: none;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .ts-navbar__links { display: flex; }
}
.ts-navbar__link {
    color: var(--ts-muted-fg);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s;
}
.ts-navbar__link:hover { color: var(--ts-fg); }
.ts-navbar__actions { display: flex; align-items: center; gap: 0.75rem; }
.ts-navbar__phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ts-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.875rem;
}
.ts-navbar__toggle {
    background: none;
    border: none;
    color: var(--ts-fg);
    cursor: pointer;
    padding: 0.25rem;
}
.ts-navbar__mobile-menu {
    display: none;
    flex-direction: column;
    padding: 1rem 2rem;
    gap: 0.75rem;
    border-top: 1px solid var(--ts-border);
}
.ts-navbar--open .ts-navbar__mobile-menu { display: flex; }
.ts-navbar__mobile-link {
    color: var(--ts-muted-fg);
    text-decoration: none;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid hsl(220, 20%, 20%, 0.3);
}

/* ================================================================
   3. HERO SECTION
   ================================================================ */
.ts-hero {
    position: relative;
    padding: 3rem 0 4rem;
    overflow: hidden;
    background: var(--ts-bg);
}
.ts-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.ts-hero__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    box-shadow: 0 0 80px 20px hsl(210, 80%, 50%, 0.08);
    opacity: 0.5;
    z-index: 0;
}
.ts-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 2rem;
    align-items: center;
}
@media (max-width: 767px) {
    .ts-hero__animation {
        max-width: 100%;
        margin: 0 auto;
        transform: scale(0.85);
        transform-origin: top center;
    }
    .ts-hero__animation .ts-float-card { display: none; }
}
@media (min-width: 768px) {
    .ts-hero { padding: 4rem 0 5rem; }
    .ts-hero__grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

.ts-hero__content {
    display: flex;
    flex-direction: column;
}

.ts-hero__logo {
    width: auto;
    height: 32px;
    max-height: 48px;
    object-fit: contain;
    margin-bottom: 1.5rem;
}
.ts-hero__logo-svg {
    margin-bottom: 1.5rem;
}
.ts-hero__logo-svg svg {
    height: 32px;
    max-height: 48px;
    width: auto;
}
.ts-hero__badge {
    display: inline-block;
    background: hsl(220, 25%, 15%);
    border: 1px solid hsl(210, 80%, 50%, 0.3);
    color: var(--ts-primary);
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1rem;
}
.ts-hero__title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--ts-fg);
}
@media (min-width: 768px) {
    .ts-hero__title { font-size: 3rem; }
}
.ts-hero__desc {
    color: var(--ts-muted-fg);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    max-width: 32rem;
}
@media (min-width: 768px) {
    .ts-hero__desc { font-size: 1.0625rem; }
}
.ts-hero__checks {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.ts-hero__check {
    font-size: 0.875rem;
    color: var(--ts-fg);
}

/* FOMO badge */
.ts-fomo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: hsl(220, 25%, 12%);
    border: 1px solid var(--ts-border);
    border-radius: 0.75rem;
    padding: 0.5rem 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 0.75rem;
    max-width: 28rem;
    align-self: flex-start;
}
.ts-fomo-badge__name { font-weight: 700; }

/* Pulse dots */
.ts-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--ts-trust-green);
    animation: ts-pulse-green 2s ease-in-out infinite;
    flex-shrink: 0;
}
.ts-pulse-dot--sm { width: 6px; height: 6px; }
.ts-pulse-dot--xs { width: 5px; height: 5px; }
.ts-pulse-dot--blue {
    background: var(--ts-primary);
    animation: ts-pulse-blue-dot 2s ease-in-out infinite;
}

/* ================================================================
   3b. TRADING ANIMATION (Hero right side)
   ================================================================ */
.ts-hero__animation {
    position: relative;
}

/* Main card */
.ts-ta {
    background: hsl(220, 25%, 12%, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid var(--ts-border);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0 40px -10px hsl(210, 80%, 50%, 0.15);
}

/* Header bar */
.ts-ta__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0.75rem;
    border-bottom: 1px solid var(--ts-border);
}
.ts-ta__status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.ts-ta__index {
    font-size: 0.6875rem;
    font-weight: 700;
    color: var(--ts-fg);
}
.ts-ta__index-chg {
    font-size: 0.6875rem;
    font-family: monospace;
}
.ts-ta__dots {
    display: flex;
    gap: 4px;
}
.ts-ta__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}
.ts-ta__dot--red { background: hsl(0, 84%, 60%, 0.5); }
.ts-ta__dot--blue { background: hsl(210, 80%, 50%, 0.3); }
.ts-ta__dot--green { background: hsl(152, 60%, 45%, 0.5); }

/* Chart SVG */
.ts-ta__chart {
    width: 100%;
    padding: 0.25rem 0.5rem 0;
    display: block;
    cursor: crosshair;
}

/* Stock ticker */
.ts-ta__ticker {
    padding: 0.5rem 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.ts-ta__ticker-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.25rem 0.375rem;
    border-radius: 0.5rem;
    transition: background 0.2s;
    direction: ltr;
}
.ts-ta__ticker-row:hover,
.ts-ta__ticker-row--hovered {
    background: hsl(215, 50%, 18%, 0.3);
}
.ts-ta__ticker-row--flash-up {
    background: hsl(120, 60%, 15%) !important;
    transition: background 0.15s;
}
.ts-ta__ticker-row--flash-down {
    background: hsl(0, 60%, 15%) !important;
    transition: background 0.15s;
}
.ts-ta__ticker-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    flex-shrink: 0;
    margin-left: 0.5rem;
}
.ts-ta__ticker-sym {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--ts-fg);
    margin-left: auto;
}
.ts-ta__ticker-price {
    font-size: 0.625rem;
    font-family: monospace;
    margin-right: 0.5rem;
    transition: color 0.3s;
}
.ts-ta__ticker-chg {
    font-size: 0.5625rem;
    font-family: monospace;
    font-weight: 600;
    transition: color 0.3s;
}
.ts-ta__ticker-row .ts-ta__ticker-dot { order: 1; }
.ts-ta__ticker-row .ts-ta__ticker-sym { order: 2; flex: 1; }
.ts-ta__ticker-row .ts-ta__ticker-price { order: 3; }
.ts-ta__ticker-row .ts-ta__ticker-chg { order: 4; }

/* Floating cards */
.ts-float-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    background: var(--ts-card);
    border: 1px solid var(--ts-border);
    border-radius: 0.75rem;
    padding: 0.625rem 0.75rem;
    font-size: 0.6875rem;
    box-shadow: 0 4px 20px hsl(0, 0%, 0%, 0.3);
    z-index: 10;
    direction: ltr;
}
.ts-float-card--order {
    bottom: -0.5rem;
    left: -0.5rem;
}
@media (min-width: 768px) {
    .ts-float-card--order { bottom: -1rem; left: -1.5rem; }
}
.ts-float-card--alert {
    top: -0.5rem;
    right: -0.5rem;
    border-color: hsl(210, 80%, 50%, 0.3);
}
@media (min-width: 768px) {
    .ts-float-card--alert { top: -0.75rem; right: -1rem; }
}

.ts-float-card__buy-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-bottom: 0.125rem;
}
.ts-float-card__buy-badge span {
    font-size: 0.5rem;
    font-weight: 700;
    color: var(--ts-trust-green);
    background: hsl(152, 60%, 45%, 0.2);
    padding: 0.125rem 0.25rem;
    border-radius: 0.25rem;
}
.ts-float-card__title {
    font-weight: 700;
    font-size: 0.625rem;
    color: var(--ts-fg);
}
.ts-float-card__detail {
    font-size: 0.5625rem;
    color: var(--ts-muted-fg);
}
.ts-float-card__filled {
    font-size: 0.5625rem;
    font-weight: 600;
}
.ts-float-card__alert-status {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.5625rem;
    font-weight: 600;
}

/* ================================================================
   4. SOCIAL PROOF BAR
   ================================================================ */
.ts-social-proof {
    background: var(--ts-secondary);
    padding: 2rem 0;
    border-top: 1px solid var(--ts-border);
    border-bottom: 1px solid var(--ts-border);
}
.ts-social-proof__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    text-align: center;
}
.ts-stat__icon { margin-bottom: 0.5rem; }
.ts-stat__value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--ts-fg);
    margin-bottom: 0.25rem;
}
@media (min-width: 768px) {
    .ts-stat__value { font-size: 2rem; }
}
.ts-stat__label {
    font-size: 0.75rem;
    color: var(--ts-muted-fg);
}
@media (min-width: 768px) {
    .ts-stat__label { font-size: 0.875rem; }
}

/* ================================================================
   5. ABOUT CARDS
   ================================================================ */
.ts-about-card {
    text-align: center;
    background: var(--ts-card);
    border: 1px solid var(--ts-border);
    border-radius: 1rem;
    padding: 1.5rem;
}
@media (min-width: 768px) {
    .ts-about-card {
        background: transparent;
        border: none;
        padding: 0;
    }
}
.ts-about-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--ts-fg);
}
.ts-about-card__desc {
    font-size: 0.875rem;
    color: var(--ts-muted-fg);
    line-height: 1.6;
}

/* ================================================================
   6. BENEFIT / PRODUCT CARDS
   ================================================================ */
.ts-card {
    background: var(--ts-card);
    border: 1px solid var(--ts-border);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: box-shadow 0.5s;
}
.ts-card:hover {
    box-shadow: 0 0 40px -10px hsl(210, 80%, 50%, 0.15);
}
.ts-card--center { text-align: center; }
.ts-card__title {
    font-size: 1.0625rem;
    font-weight: 700;
    margin-bottom: 0.375rem;
    color: var(--ts-fg);
}
.ts-card__desc {
    font-size: 0.875rem;
    color: var(--ts-muted-fg);
    line-height: 1.6;
}

/* ================================================================
   7. AWARDS CARDS
   ================================================================ */
.ts-award-card {
    text-align: center;
    background: var(--ts-card);
    border: 1px solid var(--ts-border);
    border-radius: 1rem;
    padding: 2rem;
    transition: box-shadow 0.5s;
}
.ts-award-card:hover {
    box-shadow: 0 0 40px -10px hsl(210, 80%, 50%, 0.15);
}
.ts-award-card__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--ts-fg);
}
.ts-award-card__subtitle {
    font-size: 0.875rem;
    color: var(--ts-primary);
    font-weight: 500;
}

/* ================================================================
   8. DEVICE FRAMES (Platform Showcase)
   ================================================================ */
.ts-device-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ts-device-card__bg {
    width: 100%;
    background: hsl(220, 20%, 10%);
    border-radius: 1rem;
    border: 1px solid hsl(220, 20%, 18%);
    padding: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
@media (min-width: 768px) {
    .ts-device-card__bg { padding: 1.5rem; }
}
.ts-device-card__inner {
    transition: transform 0.4s ease-out;
    width: 100%;
    cursor: pointer;
}
.ts-device-card__inner--phone {
    max-width: 180px;
    margin: 0 auto;
}
.ts-device-card__inner--tablet {
    max-width: 280px;
    margin: 0 auto;
}
.ts-device-card__label {
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--ts-fg);
    margin-top: 0.75rem;
}

/* Bezels */
.ts-device-bezel {
    position: relative;
    background: hsl(220, 20%, 15%);
    border: 2px solid hsl(220, 20%, 22%);
    overflow: hidden;
}
.ts-device-bezel--monitor {
    border-radius: 0.75rem 0.75rem 0 0;
    padding: 0.5rem 0.5rem 0;
}
.ts-device-bezel--phone {
    border-radius: 1.5rem;
    padding: 0.75rem 0.25rem 0.25rem;
}
.ts-device-bezel--laptop {
    border-radius: 0.75rem 0.75rem 0 0;
    padding: 0.375rem 0.375rem 0;
}
.ts-device-bezel--tablet {
    border-radius: 1rem;
    padding: 0.5rem;
}

/* Screens */
.ts-device-screen {
    background: hsl(220, 30%, 8%);
    overflow: hidden;
    border-radius: 0.25rem;
}
.ts-device-screen--16x10 {
    aspect-ratio: 16/10;
}
.ts-device-screen--9x16 {
    aspect-ratio: 9/16;
    max-height: 380px;
}
.ts-device-screen--4x3 {
    aspect-ratio: 4/3;
}

/* Phone notch */
.ts-device-notch {
    width: 80px;
    height: 18px;
    background: hsl(220, 20%, 15%);
    border-radius: 0 0 1rem 1rem;
    margin: 0 auto 0.25rem;
}

/* Phone home bar */
.ts-device-homebar {
    width: 60px;
    height: 3px;
    background: hsl(220, 20%, 30%);
    border-radius: 2px;
    margin: 0.375rem auto 0.25rem;
}
.ts-device-homebar--tablet {
    width: 50px;
    height: 3px;
    background: hsl(220, 20%, 30%);
    border-radius: 2px;
    margin: 0.375rem auto 0;
}

/* Monitor chin and stand */
.ts-device-chin--monitor {
    background: hsl(220, 20%, 15%);
    border: 2px solid hsl(220, 20%, 22%);
    border-top: 1px solid hsl(220, 20%, 18%);
    border-radius: 0 0 0.5rem 0.5rem;
    height: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ts-device-chin__cam {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: hsl(220, 20%, 22%);
}
.ts-device-stand--monitor {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ts-device-stand__neck {
    width: 40px;
    height: 20px;
    background: hsl(220, 20%, 18%);
    border: 1px solid hsl(220, 20%, 22%);
}
.ts-device-stand__base {
    width: 90px;
    height: 8px;
    background: hsl(220, 20%, 18%);
    border: 1px solid hsl(220, 20%, 22%);
    border-radius: 0 0 0.25rem 0.25rem;
}

/* Laptop base */
.ts-device-base--laptop {
    background: hsl(220, 20%, 15%);
    border: 2px solid hsl(220, 20%, 22%);
    border-top: 1px solid hsl(220, 20%, 18%);
    border-radius: 0 0 0.75rem 0.75rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ts-device-base__trackpad {
    width: 50px;
    height: 6px;
    background: hsl(220, 20%, 18%);
    border-radius: 0.25rem;
    border: 1px solid hsl(220, 20%, 22%);
}

/* Tablet camera */
.ts-device-cam--tablet {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: hsl(220, 20%, 22%);
    margin: 0 auto 0.25rem;
}

/* ================================================================
   8b. DESKTOP TRADING MOCK (ts-md__*)
   ================================================================ */
.ts-mock-desktop {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: monospace;
    font-size: 6px;
    color: hsl(0, 0%, 85%);
    background: hsl(220, 25%, 8%);
    overflow: hidden;
    direction: ltr;
}

.ts-md__titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 6px;
    background: hsl(220, 20%, 12%);
    border-bottom: 1px solid hsl(220, 20%, 18%);
}
.ts-md__titlebar-left,
.ts-md__titlebar-right {
    display: flex;
    align-items: center;
    gap: 4px;
}
.ts-md__brand {
    font-size: 7px;
    font-weight: 700;
    color: hsl(200, 80%, 55%);
}
.ts-md__sub {
    font-size: 5px;
    color: hsl(220, 15%, 45%);
}
.ts-md__time {
    font-size: 6px;
    color: hsl(0, 0%, 75%);
    font-variant-numeric: tabular-nums;
}
.ts-md__live {
    font-size: 5px;
    font-weight: 700;
    color: #fff;
    background: hsl(210, 80%, 50%);
    padding: 1px 3px;
    border-radius: 2px;
    animation: ts-pulse-green 2s ease-in-out infinite;
}

.ts-md__orderbar {
    display: flex;
    align-items: center;
    gap: 3px;
    padding: 2px 6px;
    background: hsl(220, 20%, 10%);
    border-bottom: 1px solid hsl(220, 20%, 18%);
}
.ts-md__ob-item {
    font-size: 5px;
    background: hsl(220, 25%, 15%);
    border: 1px solid hsl(220, 20%, 22%);
    padding: 1px 3px;
}
.ts-md__ob-buy {
    font-size: 5px;
    color: #fff;
    background: hsl(120, 60%, 35%);
    padding: 1px 3px;
    border-radius: 2px;
}
.ts-md__ob-price {
    font-variant-numeric: tabular-nums;
}
.ts-md__ob-send {
    font-size: 5px;
    color: #fff;
    background: hsl(120, 60%, 35%);
    padding: 1px 5px;
    border-radius: 2px;
    font-weight: 700;
    margin-right: 0;
    margin-left: auto;
}

.ts-md__main {
    display: flex;
    flex: 1;
    min-height: 0;
}

/* Quotes panel */
.ts-md__quotes {
    width: 55%;
    border-right: 1px solid hsl(220, 20%, 18%);
    display: flex;
    flex-direction: column;
}
.ts-md__quotes-header {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 4px;
    background: hsl(220, 20%, 11%);
    border-bottom: 1px solid hsl(220, 20%, 18%);
    font-size: 5px;
    font-weight: 700;
}
.ts-md__quotes-cols {
    display: flex;
    align-items: center;
    padding: 2px 4px;
    font-size: 4.5px;
    color: hsl(220, 15%, 50%);
    background: hsl(220, 20%, 10%);
    border-bottom: 1px solid hsl(220, 20%, 16%);
    gap: 2px;
}
.ts-md__quotes-cols span {
    flex: none;
    text-align: center;
}
.ts-md__quotes-cols span:first-child {
    text-align: left;
}
.ts-md__quotes-body {
    flex: 1;
    overflow: hidden;
}
.ts-md__quote-row {
    display: flex;
    align-items: center;
    padding: 1.5px 4px;
    font-size: 5px;
    border-bottom: 1px solid hsl(220, 20%, 12%);
    transition: background 0.15s;
    gap: 2px;
}
.ts-md__quote-row span {
    flex: none;
    text-align: center;
}
.ts-md__quote-row span:first-child {
    text-align: left;
}
.ts-md__quote-row:nth-child(even) { background: hsl(220, 20%, 9%); }
.ts-md__quote-row:nth-child(odd) { background: hsl(220, 20%, 8%); }
.ts-md__quote-row--selected { background: hsl(210, 60%, 18%) !important; }
.ts-md__quote-row--flash-up { background: hsl(120, 60%, 15%) !important; }
.ts-md__quote-row--flash-down { background: hsl(0, 60%, 15%) !important; }

/* MACD Signal badges */
.ts-md__sig { text-align: center; padding: 0 1px; border-radius: 1px; }
.ts-md__sig--bull { background: hsl(120, 50%, 25%); color: hsl(120, 60%, 70%); }
.ts-md__sig--bear { background: hsl(0, 50%, 25%); color: hsl(0, 70%, 70%); }

/* Chart area */
.ts-md__chart-area {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.ts-md__chart-header {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    background: hsl(220, 20%, 11%);
    border-bottom: 1px solid hsl(220, 20%, 18%);
}
.ts-md__chart-sym {
    font-size: 6px;
    font-weight: 700;
}
.ts-md__chart-timeframes {
    margin-right: 0;
    margin-left: auto;
    display: flex;
    gap: 2px;
}
.ts-md__tf {
    font-size: 4px;
    padding: 1px 3px;
    border-radius: 2px;
    color: hsl(220, 15%, 45%);
}
.ts-md__tf--active {
    background: hsl(210, 80%, 45%);
    color: #fff;
}
.ts-md__chart-svg {
    flex: 1;
    width: 100%;
}
.ts-md__chart-months {
    display: flex;
    justify-content: space-between;
    padding: 2px 6px;
    font-size: 4px;
    color: hsl(220, 15%, 40%);
    background: hsl(220, 20%, 9%);
    border-top: 1px solid hsl(220, 20%, 16%);
}

/* ================================================================
   8c. MOBILE APP MOCK (ts-mm__*)
   ================================================================ */
.ts-mock-mobile {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: monospace;
    color: hsl(0, 0%, 85%);
    background: hsl(220, 30%, 8%);
    overflow: hidden;
    direction: ltr;
}
.ts-mm__statusbar {
    display: flex;
    justify-content: space-between;
    padding: 2px 6px;
    font-size: 5px;
}
.ts-mm__nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2px 6px;
}
.ts-mm__sym {
    font-size: 7px;
    font-weight: 700;
}
.ts-mm__tabs {
    display: flex;
    gap: 4px;
    font-size: 5px;
}
.ts-mm__tabs span {
    color: hsl(220, 15%, 45%);
}
.ts-mm__tab--active {
    color: hsl(200, 80%, 55%) !important;
    font-weight: 700;
    border-bottom: 1px solid hsl(200, 80%, 55%);
}

.ts-mm__price-area {
    padding: 4px 6px;
}
.ts-mm__sub {
    font-size: 5px;
    color: hsl(220, 15%, 45%);
}
.ts-mm__price-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.ts-mm__price {
    font-size: 10px;
    font-weight: 900;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.ts-mm__change {
    font-size: 5px;
    font-variant-numeric: tabular-nums;
}

.ts-mm__bid-ask {
    display: flex;
    gap: 3px;
    margin-top: 3px;
}
.ts-mm__sell {
    flex: 1;
    background: hsl(0, 70%, 40%);
    padding: 2px 4px;
    border-radius: 2px;
    text-align: center;
}
.ts-mm__buy {
    flex: 1;
    background: hsl(210, 70%, 40%);
    padding: 2px 4px;
    border-radius: 2px;
    text-align: center;
}
.ts-mm__ba-label {
    font-size: 4px;
    color: hsl(0, 0%, 80%);
}
.ts-mm__ba-price {
    font-size: 6px;
    font-weight: 700;
    color: #fff;
    font-variant-numeric: tabular-nums;
}
.ts-mm__ba-size {
    font-size: 3.5px;
    color: hsl(0, 0%, 60%);
}

.ts-mm__chart {
    flex: 1;
    width: 100%;
    padding: 0 3px;
}
.ts-mm__timeframes {
    display: flex;
    justify-content: space-around;
    padding: 2px 6px;
    font-size: 5px;
}
.ts-mm__timeframes span {
    color: hsl(220, 15%, 45%);
}
.ts-mm__tf--active {
    color: hsl(200, 80%, 55%) !important;
    font-weight: 700;
    background: hsl(200, 80%, 20%);
    padding: 0 3px;
    border-radius: 9999px;
}
.ts-mm__trade-btn {
    margin: 4px 6px;
    background: hsl(185, 70%, 40%);
    text-align: center;
    padding: 4px;
    border-radius: 6px;
    font-size: 8px;
    font-weight: 700;
    color: #fff;
}
.ts-mm__bottom-nav {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 3px 0;
    border-top: 1px solid hsl(220, 20%, 15%);
    background: hsl(220, 25%, 9%);
    font-size: 8px;
}
.ts-mm__bottom-nav span {
    color: hsl(220, 15%, 40%);
}

/* ================================================================
   8d. CHARTS & RESEARCH MOCK (ts-mc__*)
   ================================================================ */
.ts-mock-charts {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: monospace;
    font-size: 5px;
    color: hsl(0, 0%, 85%);
    background: hsl(220, 25%, 8%);
    overflow: hidden;
    direction: ltr;
}
.ts-mc__header {
    display: flex;
    align-items: center;
    padding: 2px 6px;
    background: hsl(220, 20%, 12%);
    border-bottom: 1px solid hsl(220, 20%, 18%);
    gap: 4px;
}
.ts-mc__brand {
    font-size: 6px;
    font-weight: 700;
    color: hsl(200, 80%, 55%);
}
.ts-mc__header-right {
    margin-right: 0;
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}
.ts-mc__live-price {
    font-size: 5px;
    font-variant-numeric: tabular-nums;
}

.ts-mc__symbol-bar {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 2px 5px;
    background: hsl(220, 20%, 10%);
    border-bottom: 1px solid hsl(220, 20%, 16%);
}
.ts-mc__sym-name {
    font-size: 5px;
    font-weight: 700;
}
.ts-mc__sym-detail {
    font-size: 4px;
    color: hsl(0, 0%, 55%);
    font-variant-numeric: tabular-nums;
}
.ts-mc__sym-detail[data-mc-bid],
.ts-mc__sym-detail[data-mc-ask] {
    color: hsl(120, 60%, 50%);
}

.ts-mc__charts-row {
    display: flex;
    flex: 1;
    min-height: 0;
}
.ts-mc__chart-pane {
    flex: 1;
    display: flex;
    flex-direction: column;
    border-left: 1px solid hsl(220, 20%, 15%);
}
.ts-mc__chart-pane:first-child {
    border-left: none;
}
.ts-mc__pane-header {
    font-size: 4.5px;
    text-align: center;
    padding: 2px;
    background: hsl(220, 20%, 11%);
    border-bottom: 1px solid hsl(220, 20%, 16%);
}
.ts-mc__pane-header span:first-child {
    font-weight: 700;
}
.ts-mc__pane-svg {
    flex: 1;
    width: 100%;
}
.ts-mc__pane-tf {
    display: flex;
    justify-content: center;
    gap: 2px;
    padding: 2px;
    font-size: 3.5px;
    background: hsl(220, 20%, 9%);
    border-top: 1px solid hsl(220, 20%, 16%);
}
.ts-mc__pane-tf span {
    padding: 0 2px;
    color: hsl(220, 15%, 40%);
}
.ts-mc__tf--active {
    color: hsl(200, 80%, 55%) !important;
}

/* ================================================================
   8e. PORTFOLIO MOCK (ts-mp__*) - Light theme!
   ================================================================ */
.ts-mock-portfolio {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 5px;
    color: hsl(220, 20%, 15%);
    background: hsl(220, 15%, 97%);
    overflow: hidden;
    direction: ltr;
}

.ts-mp__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 6px;
    background: hsl(220, 20%, 15%);
    color: #fff;
}
.ts-mp__header-left {
    display: flex;
    align-items: center;
    gap: 4px;
}
.ts-mp__brand {
    font-size: 6px;
    font-weight: 700;
    color: hsl(200, 80%, 55%);
}
.ts-mp__live-badge {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    font-size: 4px;
    background: hsl(120, 60%, 30%);
    padding: 1px 3px;
    border-radius: 2px;
    color: #fff;
}
.ts-mp__trade-btn {
    font-size: 5px;
    font-weight: 700;
    background: hsl(210, 80%, 50%);
    padding: 2px 5px;
    border-radius: 2px;
    color: #fff;
}

.ts-mp__info {
    padding: 3px 6px;
    background: #fff;
    border-bottom: 1px solid hsl(220, 15%, 88%);
}
.ts-mp__info-top {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 2px;
}
.ts-mp__info-title {
    font-size: 7px;
    font-weight: 700;
}
.ts-mp__info-tab {
    font-size: 5px;
    color: hsl(220, 15%, 45%);
}
.ts-mp__info-tab--active {
    color: hsl(210, 80%, 50%) !important;
    font-weight: 600;
    border-bottom: 1px solid hsl(210, 80%, 50%);
}
.ts-mp__info-stats {
    display: flex;
    gap: 6px;
    font-size: 4.5px;
}
.ts-mp__info-stats b {
    font-weight: 700;
}

.ts-mp__table-head {
    display: flex;
    align-items: center;
    padding: 2px 5px;
    font-size: 4px;
    color: hsl(220, 15%, 50%);
    background: hsl(220, 10%, 95%);
    border-bottom: 1px solid hsl(220, 15%, 88%);
    font-weight: 600;
}
.ts-mp__col--sym { width: 28%; }
.ts-mp__col--qty { width: 12%; text-align: center; }
.ts-mp__col--last { width: 14%; text-align: center; }
.ts-mp__col--pnl { width: 18%; text-align: center; }
.ts-mp__col--chg { width: 14%; text-align: center; }
.ts-mp__col--avg { width: 14%; text-align: center; }

.ts-mp__table-body {
    flex: 1;
    overflow: hidden;
    background: #fff;
}
.ts-mp__row {
    display: flex;
    align-items: center;
    padding: 2px 5px;
    font-size: 5px;
    border-bottom: 1px solid hsl(220, 15%, 92%);
    transition: background 0.15s;
}
.ts-mp__row:nth-child(even) { background: hsl(220, 10%, 97%); }
.ts-mp__row:hover { background: hsl(210, 60%, 93%); }
.ts-mp__row--flash-up { background: hsl(120, 50%, 92%) !important; }
.ts-mp__row--flash-down { background: hsl(0, 50%, 95%) !important; }
.ts-mp__row--hovered {
    background: hsl(210, 60%, 93%) !important;
    transform: scale(1.01);
    box-shadow: 0 0 8px hsl(210 60% 70% / 0.3);
}

.ts-mp__row-sym {
    width: 28%;
    display: flex;
    align-items: center;
    gap: 2px;
}
.ts-mp__row-sym-icon {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: hsl(220, 15%, 85%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3px;
    font-weight: 700;
    flex-shrink: 0;
}
.ts-mp__row-sym-text {
    font-weight: 700;
    font-size: 5px;
}
.ts-mp__row-sym-name {
    font-size: 3.5px;
    color: hsl(220, 15%, 55%);
}
.ts-mp__row-qty { width: 12%; text-align: center; }
.ts-mp__row-last { width: 14%; text-align: center; font-variant-numeric: tabular-nums; }
.ts-mp__row-pnl { width: 18%; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.ts-mp__row-chg { width: 14%; text-align: center; font-variant-numeric: tabular-nums; }
.ts-mp__row-avg { width: 14%; text-align: center; color: hsl(220, 15%, 45%); font-variant-numeric: tabular-nums; }

.ts-mp__total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 3px 6px;
    background: hsl(220, 10%, 95%);
    border-top: 1px solid hsl(220, 15%, 88%);
    font-size: 5px;
    font-weight: 700;
}
.ts-mp__total span:last-child {
    font-size: 6px;
    font-variant-numeric: tabular-nums;
}

/* ================================================================
   9. COMPARISON SECTION
   ================================================================ */
.ts-tabs__nav {
    display: flex;
    max-width: 24rem;
    margin: 0 auto 1.5rem;
    background: var(--ts-secondary);
    border-radius: var(--ts-radius);
    padding: 4px;
}
@media (min-width: 768px) {
    .ts-tabs__nav { margin-bottom: 2rem; }
}
.ts-tabs__btn {
    flex: 1;
    padding: 0.625rem 1rem;
    border: none;
    background: transparent;
    color: var(--ts-muted-fg);
    font-family: var(--ts-font);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: calc(var(--ts-radius) - 4px);
    transition: all 0.2s;
}
@media (min-width: 768px) {
    .ts-tabs__btn { font-size: 0.875rem; padding: 0.75rem 1.5rem; }
}
.ts-tabs__btn--active {
    background: var(--ts-primary);
    color: var(--ts-primary-fg);
}
.ts-tabs__panel { display: none; }
.ts-tabs__panel--active { display: block; }

.ts-table-wrap { overflow-x: auto; margin: 0 -1rem; padding: 0 1rem; }
.ts-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.75rem;
}
@media (min-width: 768px) {
    .ts-table { font-size: 0.875rem; }
}
.ts-table th {
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid var(--ts-border);
    font-weight: 500;
    color: var(--ts-muted-fg);
    text-align: center;
}
@media (min-width: 768px) {
    .ts-table th { padding: 0.75rem; }
}
.ts-table__highlight {
    background: linear-gradient(135deg, var(--ts-brand-blue), var(--ts-brand-blue-light));
    color: #fff;
    font-weight: 700;
    padding: 0.5rem 0.25rem;
    border-radius: 0.5rem 0.5rem 0 0;
    font-size: 0.75rem;
}
@media (min-width: 768px) {
    .ts-table__highlight { font-size: 1rem; padding: 0.5rem 1rem; }
}
.ts-table td {
    padding: 0.75rem 0.25rem;
    border-bottom: 1px solid hsl(220, 20%, 20%, 0.5);
    text-align: center;
    transition: background 0.2s;
}
@media (min-width: 768px) {
    .ts-table td { padding: 0.75rem; }
}
.ts-table tr:hover td { background: hsl(215, 50%, 18%, 0.2); }
.ts-table__feature { text-align: right !important; font-weight: 500; }
.ts-table__ts { background: hsl(210, 80%, 50%, 0.05); }

.ts-status { display: flex; justify-content: center; }

/* ================================================================
   10. SECURITY SECTION
   ================================================================ */
.ts-security-grid {
    display: grid;
    gap: 2rem;
    align-items: center;
}
@media (min-width: 768px) {
    .ts-security-grid { grid-template-columns: 1.2fr 0.8fr; gap: 3rem; }
}
.ts-security__desc {
    color: var(--ts-muted-fg);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.ts-security__desc--sm { font-size: 0.8125rem; }
.ts-security__items {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.ts-security__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--ts-fg);
}
.ts-security__item-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: hsl(210, 80%, 50%, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Lock animation */
.ts-security__visual { text-align: center; }
.ts-lock-circle {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ts-lock-circle__outer {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid hsl(210, 80%, 50%, 0.2);
}
.ts-lock-circle__inner {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: hsl(210, 80%, 50%, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ================================================================
   11. TESTIMONIALS
   ================================================================ */
.ts-testimonial {
    background: var(--ts-card);
    border: 1px solid var(--ts-border);
    border-radius: 1rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.5s;
    height: 100%;
}
.ts-testimonial:hover {
    box-shadow: 0 0 40px -10px hsl(210, 80%, 50%, 0.15);
}
.ts-testimonial__text {
    color: var(--ts-fg);
    font-size: 0.875rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    flex: 1;
}
.ts-testimonial__author {
    border-top: 1px solid var(--ts-border);
    padding-top: 1rem;
}
.ts-testimonial__name {
    font-weight: 700;
    color: var(--ts-fg);
}
.ts-testimonial__role {
    font-size: 0.75rem;
    color: var(--ts-muted-fg);
}

/* ================================================================
   12. URGENCY STRIP
   ================================================================ */
.ts-urgency-strip {
    background: var(--ts-secondary);
    border-top: 1px solid var(--ts-border);
    border-bottom: 1px solid var(--ts-border);
    padding: 0.75rem 0;
    font-size: 0.8125rem;
}
.ts-urgency-strip__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}
.ts-urgency-strip__signup {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.ts-urgency-strip__divider {
    color: var(--ts-border);
}
.ts-urgency-strip__trades {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ================================================================
   13. FAQ ACCORDION
   ================================================================ */
.ts-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.ts-accordion__item {
    background: var(--ts-card);
    border: 1px solid var(--ts-border);
    border-radius: var(--ts-radius);
    overflow: hidden;
}
.ts-accordion__trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: none;
    border: none;
    color: var(--ts-fg);
    font-family: var(--ts-font);
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    text-align: right;
    gap: 1rem;
}
.ts-accordion__trigger:hover { color: var(--ts-primary); }
.ts-accordion__chevron {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.2s;
    color: var(--ts-muted-fg);
}
.ts-accordion__item--open .ts-accordion__chevron {
    transform: rotate(180deg);
}
.ts-accordion__content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.ts-accordion__item--open .ts-accordion__content {
    max-height: 500px;
}
.ts-accordion__content p {
    padding: 0 1.25rem 1rem;
    font-size: 0.875rem;
    color: var(--ts-muted-fg);
    line-height: 1.7;
}

/* ================================================================
   14. FINAL CTA
   ================================================================ */
.ts-final-cta {
    position: relative;
    padding: 5rem 0;
    text-align: center;
    overflow: hidden;
}
.ts-final-cta__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.ts-final-cta__glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    border-radius: 50%;
    box-shadow: 0 0 80px 20px hsl(210, 80%, 50%, 0.08);
    opacity: 0.3;
    z-index: 0;
}
.ts-final-cta__inner {
    position: relative;
    z-index: 1;
}
.ts-final-cta__title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--ts-fg);
}
@media (min-width: 768px) {
    .ts-final-cta__title { font-size: 2.25rem; }
}
.ts-final-cta__desc {
    color: var(--ts-muted-fg);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}
.ts-final-cta .ts-form { margin: 0 auto; }

/* ================================================================
   15. FLOATING CTA (Sticky Bottom Bar)
   ================================================================ */
.ts-floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: hsl(220, 30%, 8%, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--ts-border);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}
.ts-floating-cta--visible { transform: translateY(0); }
.ts-floating-cta__ticker {
    background: hsl(215, 50%, 18%, 0.6);
    border-bottom: 1px solid var(--ts-border);
    padding: 0.375rem 0;
    font-size: 0.75rem;
}
.ts-floating-cta__ticker-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}
.ts-floating-cta__signup {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.ts-floating-cta__divider { color: var(--ts-border); }
.ts-floating-cta__trades {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.ts-floating-cta__bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.75rem 0;
}
.ts-floating-cta__text {
    font-size: 0.875rem;
    color: var(--ts-muted-fg);
}
.ts-floating-cta__btn {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
}

/* ================================================================
   16. FOOTER
   ================================================================ */
.ts-footer {
    background: hsl(220, 25%, 12%, 0.5);
    border-top: 1px solid var(--ts-border);
    padding: 2.5rem 0;
}
.ts-footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
@media (min-width: 768px) {
    .ts-footer__inner { flex-direction: row; }
}
.ts-footer__brand {
    font-size: 1.25rem;
    font-weight: 700;
}
.ts-footer__links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
}
.ts-footer__link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--ts-muted-fg);
    text-decoration: none;
    transition: color 0.2s;
}
.ts-footer__link:hover { color: var(--ts-fg); }
.ts-footer__copyright {
    text-align: center;
    font-size: 0.75rem;
    color: var(--ts-muted-fg);
    margin-top: 1.5rem;
}

/* ================================================================
   ANIMATIONS
   ================================================================ */
@keyframes ts-pulse-blue {
    0%, 100% { box-shadow: 0 0 20px 0 hsl(210, 80%, 50%, 0.2); }
    50% { box-shadow: 0 0 40px 10px hsl(210, 80%, 50%, 0.35); }
}
@keyframes ts-pulse-blue-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}
@keyframes ts-pulse-green {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}
@keyframes ts-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
@keyframes ts-draw-line {
    to { stroke-dashoffset: 0; }
}
@keyframes ts-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}
@keyframes ts-fade-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes ts-fade-down {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes ts-fade-right {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

/* CSS scroll-triggered animations */
.ts-animate-fade-up {
    opacity: 0;
    animation: ts-fade-up 0.6s ease-out forwards;
    animation-play-state: paused;
}
.ts-animate-fade-down {
    opacity: 0;
    animation: ts-fade-down 0.4s ease-out forwards;
    animation-play-state: paused;
}
.ts-animate-fade-right {
    opacity: 0;
    animation: ts-fade-right 0.5s ease-out forwards;
    animation-play-state: paused;
}
.ts-animate-float {
    animation: ts-float 3s ease-in-out infinite;
}
.ts-animate-pulse-blue {
    animation: ts-pulse-blue 2s ease-in-out infinite;
}

/* Scroll-triggered reveal */
.ts-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.ts-reveal--visible {
    opacity: 1;
    transform: translateY(0);
}

/* ================================================================
   ELEMENTOR EDITOR FIX
   ================================================================ */
.elementor-editor-active .ts-trust-bar,
.elementor-editor-active .ts-navbar,
.elementor-editor-active .ts-hero,
.elementor-editor-active .ts-social-proof,
.elementor-editor-active .ts-section,
.elementor-editor-active .ts-urgency-strip,
.elementor-editor-active .ts-final-cta,
.elementor-editor-active .ts-footer {
    background-color: var(--ts-bg);
}
/* Disable animations in Elementor editor so everything is visible */
.elementor-editor-active .ts-animate-fade-up,
.elementor-editor-active .ts-animate-fade-down,
.elementor-editor-active .ts-animate-fade-right {
    opacity: 1;
    animation: none;
}
