/* Liquid Markets Trading Technology — staging redesign */

.lmt-tech {
    --lmt-bg: #071525;
    --lmt-bg2: #0c2034;
    --lmt-card: #10263b;
    --lmt-accent: #35dbc3;
    --lmt-text: #f3f8fc;
    --lmt-muted: #9fb2c3;
    color: var(--lmt-text);
    background: var(--lmt-bg);
    font-family: inherit;
    overflow: clip;
}

.lmt-tech *,
.lmt-tech *::before,
.lmt-tech *::after {
    box-sizing: border-box;
}

.lmt-tech a {
    text-decoration: none;
}

.lmt-container {
    width: min(1200px, calc(100% - 48px));
    margin-inline: auto;
}

.lmt-section {
    padding: 105px 0;
}

.lmt-eyebrow {
    display: inline-block;
    color: var(--lmt-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.lmt-tech h1,
.lmt-tech h2,
.lmt-tech h3 {
    color: var(--lmt-text);
    line-height: 1.15;
    margin-top: 0;
}

.lmt-tech p {
    color: var(--lmt-muted);
    line-height: 1.75;
}

.lmt-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 14px 23px;
    border-radius: 9px;
    font-size: 14px;
    font-weight: 750;
    transition: transform .2s, background .2s, border-color .2s;
}

.lmt-btn:hover {
    transform: translateY(-2px);
}

.lmt-btn-primary {
    color: #06202a !important;
    background: var(--lmt-accent);
}

.lmt-btn-primary:hover {
    background: #76f0df;
}

.lmt-btn-outline {
    color: var(--lmt-text) !important;
    border: 1px solid #466177;
}

.lmt-btn-outline:hover {
    border-color: var(--lmt-accent);
}

.lmt-hero {
    padding: 115px 0 105px;
    background:
        radial-gradient(ellipse at 78% 25%, #0b494c 0%, transparent 43%),
        linear-gradient(145deg, #071525, #0b1d30);
}

.lmt-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 65px;
}

.lmt-hero h1 {
    font-size: clamp(42px, 5vw, 68px);
    letter-spacing: -2.5px;
    margin-bottom: 25px;
}

.lmt-hero h1 span {
    display: block;
    color: var(--lmt-accent);
}

.lmt-hero-description {
    font-size: 17px;
    max-width: 590px;
}

.lmt-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 35px;
}

.lmt-hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 55px;
}

.lmt-hero-metrics strong {
    display: block;
    font-size: 30px;
    color: var(--lmt-text);
}

.lmt-hero-metrics span {
    color: var(--lmt-muted);
    font-size: 12px;
}

.lmt-dashboard {
    padding: 25px;
    border-radius: 20px;
    background: linear-gradient(145deg, #102d42, #091a2c);
    border: 1px solid #295367;
    box-shadow: 0 35px 100px #0006;
}

.lmt-dashboard-top,
.lmt-dashboard-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.lmt-dashboard-top {
    padding-bottom: 22px;
    border-bottom: 1px solid #294052;
}

.lmt-dashboard-brand {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
}

.lmt-status-dot {
    display: inline-block;
    width: 9px;
    height: 9px;
    background: var(--lmt-accent);
    border-radius: 50%;
    margin-right: 8px;
}

.lmt-dashboard-label,
.lmt-online {
    color: var(--lmt-accent);
    font-size: 10px;
    letter-spacing: 1px;
}

.lmt-dashboard-heading {
    margin-top: 27px;
}

.lmt-dashboard-heading small,
.lmt-dashboard-stats small {
    display: block;
    color: var(--lmt-muted);
    margin-bottom: 8px;
}

.lmt-dashboard-heading h2 {
    font-size: 21px;
    margin-bottom: 0;
}

.lmt-dashboard-chart {
    position: relative;
    height: 210px;
    margin-top: 25px;
    overflow: hidden;
    border-radius: 12px;
    background: #091d2f;
}

.lmt-chart-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(#ffffff0c 1px, transparent 1px),
        linear-gradient(90deg, #ffffff0c 1px, transparent 1px);
    background-size: 35px 35px;
}

.lmt-dashboard-chart svg {
    position: relative;
    width: 100%;
    height: 100%;
}

.lmt-dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 18px;
}

.lmt-dashboard-stats > div {
    padding: 14px 10px;
    background: #16344a;
    border-radius: 8px;
}

.lmt-dashboard-stats strong {
    font-size: 12px;
}

.lmt-dashboard-footnote {
    margin-top: 15px;
    font-size: 10px;
    color: var(--lmt-muted);
}

.lmt-section-heading {
    max-width: 740px;
    margin: 0 auto 55px;
    text-align: center;
}

.lmt-section-heading h2 {
    font-size: clamp(32px, 4vw, 46px);
    letter-spacing: -1px;
    margin-bottom: 18px;
}

.lmt-section-heading p {
    font-size: 16px;
}

.lmt-products,
.lmt-capabilities,
.lmt-pricing {
    background: #0b1d2e;
}

.lmt-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.lmt-product-card {
    display: flex;
    flex-direction: column;
    padding: 29px;
    border-radius: 16px;
    background: #10283d;
    border: 1px solid #284457;
    transition: transform .2s, border-color .2s;
}

.lmt-product-card:hover {
    transform: translateY(-5px);
    border-color: var(--lmt-accent);
}

.lmt-featured {
    border-color: var(--lmt-accent);
    background: linear-gradient(145deg, #123b48, #10283d);
}

.lmt-card-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    color: var(--lmt-accent);
    letter-spacing: 1.5px;
    margin-bottom: 20px;
}

.lmt-product-card h3 {
    font-size: 25px;
    margin-bottom: 13px;
}

.lmt-product-top p {
    font-size: 14px;
    min-height: 98px;
}

.lmt-product-price {
    padding: 22px 0 14px;
    border-top: 1px solid #30475a;
}

.lmt-product-price strong {
    display: block;
    font-size: 35px;
    color: var(--lmt-text);
}

.lmt-product-price span {
    color: var(--lmt-muted);
    font-size: 12px;
}

.lmt-setup {
    color: var(--lmt-muted);
    font-size: 13px;
    margin-bottom: 20px;
}

.lmt-setup strong {
    color: var(--lmt-text);
}

.lmt-feature-list {
    padding: 0;
    margin: 0 0 28px;
    list-style: none;
    flex: 1;
}

.lmt-feature-list li {
    position: relative;
    padding: 9px 0 9px 24px;
    color: #c7d8e3;
    font-size: 13px;
    line-height: 1.5;
}

.lmt-feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--lmt-accent);
}

.lmt-card-button {
    width: 100%;
    background: #1c4150;
    color: #eafffb !important;
    border: 1px solid #326472;
}

.lmt-card-button:hover {
    background: #24606a;
}

.lmt-process {
    background: #071525;
}

.lmt-process-grid,
.lmt-capability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.lmt-step,
.lmt-capability-card {
    padding: 32px;
    background: #10263b;
    border: 1px solid #254357;
    border-radius: 14px;
}

.lmt-step-number {
    display: block;
    font-size: 39px;
    font-weight: 800;
    color: var(--lmt-accent);
    margin-bottom: 24px;
}

.lmt-step h3,
.lmt-capability-card h3 {
    font-size: 21px;
}

.lmt-automation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 45px;
    padding: 45px;
    border-radius: 18px;
    background: linear-gradient(130deg, #123b45, #10263b);
}

.lmt-automation h3 {
    font-size: 31px;
}

.lmt-automation ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding-left: 20px;
    color: #d5e7ec;
}

.lmt-capability-icon {
    display: inline-flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    border-radius: 12px;
    background: #1b4850;
    color: var(--lmt-accent);
    font-size: 25px;
}

.lmt-video-section {
    background: #071525;
}

.lmt-video-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    align-items: center;
    gap: 60px;
}

.lmt-video-grid h2 {
    font-size: 43px;
}

.lmt-video-grid .lmt-btn {
    margin-top: 20px;
}

.lmt-video-frame {
    padding: 8px;
    background: #173348;
    border: 1px solid #35556a;
    border-radius: 16px;
}

.lmt-video-frame video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    background: #000;
}

.lmt-pricing-table-wrap {
    overflow-x: auto;
    border-radius: 15px;
    border: 1px solid #315066;
}

.lmt-pricing-table {
    width: 100%;
    min-width: 650px;
    border-collapse: collapse;
    background: #10263b;
}

.lmt-pricing-table th,
.lmt-pricing-table td {
    padding: 22px;
    text-align: left;
    border-bottom: 1px solid #29465a;
    color: #d8e7ef;
}

.lmt-pricing-table thead {
    background: #173e4c;
}

.lmt-pricing-table thead th {
    color: #ffffff;
}

.lmt-pricing-table tbody th {
    color: var(--lmt-accent);
}

.lmt-pricing-note {
    margin-top: 20px;
    font-size: 12px;
    text-align: center;
}

.lmt-faq {
    background: #071525;
}

.lmt-faq-list {
    max-width: 850px;
    margin: 0 auto;
}

.lmt-faq-item {
    margin-bottom: 12px;
    border: 1px solid #2b4a60;
    border-radius: 12px;
    background: #10263b;
}

.lmt-faq-item summary {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 23px;
    color: #f3f8fc;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.lmt-faq-item summary::-webkit-details-marker {
    display: none;
}

.lmt-faq-item summary span {
    color: var(--lmt-accent);
    font-size: 24px;
}

.lmt-faq-item[open] summary span {
    transform: rotate(45deg);
}

.lmt-faq-answer {
    padding: 0 23px 24px;
    color: #b6c9d8;
    line-height: 1.8;
}

.lmt-final-cta {
    padding: 90px 0;
    background: linear-gradient(135deg, #123c47, #071525);
}

.lmt-final-inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.lmt-final-inner h2 {
    font-size: clamp(32px, 4vw, 49px);
}

.lmt-final-inner .lmt-btn {
    margin-top: 20px;
}

@media (max-width: 1100px) {
    .lmt-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lmt-hero-grid {
        gap: 35px;
    }
}

@media (max-width: 800px) {
    .lmt-hero-grid,
    .lmt-video-grid,
    .lmt-automation {
        grid-template-columns: 1fr;
    }

    .lmt-process-grid,
    .lmt-capability-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lmt-hero {
        padding: 75px 0;
    }

    .lmt-section {
        padding: 75px 0;
    }
}

@media (max-width: 600px) {
    .lmt-container {
        width: min(100% - 32px, 1200px);
    }

    .lmt-hero h1 {
        font-size: 41px;
        letter-spacing: -1.5px;
    }

    .lmt-hero-actions {
        flex-direction: column;
    }

    .lmt-hero-actions .lmt-btn {
        width: 100%;
    }

    .lmt-hero-metrics {
        gap: 10px;
        margin-top: 35px;
    }

    .lmt-hero-metrics strong {
        font-size: 24px;
    }

    .lmt-dashboard {
        padding: 15px;
    }

    .lmt-dashboard-heading {
        flex-wrap: wrap;
    }

    .lmt-dashboard-stats {
        grid-template-columns: 1fr;
    }

    .lmt-product-grid,
    .lmt-process-grid,
    .lmt-capability-grid {
        grid-template-columns: 1fr;
    }

    .lmt-product-top p {
        min-height: 0;
    }

    .lmt-automation {
        padding: 28px;
    }

    .lmt-automation ul {
        grid-template-columns: 1fr;
    }

    .lmt-video-grid h2 {
        font-size: 34px;
    }

    .lmt-section-heading {
        margin-bottom: 35px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lmt-tech *,
    .lmt-tech *::before,
    .lmt-tech *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

/* ==================================================
   LMT_MOBILE_REFINEMENT_V1
   Trading Technology responsive refinements
   ================================================== */

.lmt-tech {
    scroll-behavior: smooth;
}

.lmt-tech section[id] {
    scroll-margin-top: 105px;
}

/* Keep the comparison table independently scrollable */
.lmt-pricing-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
}

/* Improve keyboard navigation */
.lmt-tech a:focus-visible,
.lmt-tech summary:focus-visible {
    outline: 3px solid #35dbc3;
    outline-offset: 4px;
}

@media (max-width: 600px) {

    .lmt-tech section[id] {
        scroll-margin-top: 95px;
    }

    /* Subtle indication that more pricing columns exist */
    .lmt-pricing-table-wrap {
        border-right: 3px solid #35dbc3;
    }

    .lmt-pricing-table th,
    .lmt-pricing-table td {
        padding: 18px 16px;
        font-size: 12px;
    }

    .lmt-pricing-note {
        text-align: left;
        line-height: 1.7;
    }

    /* Prevent technology content from covering fixed UI */
    .lmt-final-cta {
        padding-bottom: 110px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lmt-tech {
        scroll-behavior: auto;
    }
}
