/* ==========================================================================
   T&M Single Product v3 — Premium Dark Theme
   Bootstrap 5 grid + custom CSS (no Tailwind)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES + BASE
   -------------------------------------------------------------------------- */
:root {
    --tm-purple: #5522dd;
    --tm-orange: #dd7722;
    --tm-bg: #000000;
    --tm-bg-alt: #0a0a0f;
    --tm-text: #ffffff;
    --tm-text-muted: rgba(255,255,255,0.85);
    --tm-border: rgba(255,255,255,0.08);
    --tm-glass: rgba(255,255,255,0.03);
    --tm-glass-border: rgba(255,255,255,0.06);
    --tm-radius: 8px;
}

.tm-single-wrap {
    background: var(--tm-bg);
    color: var(--tm-text);
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.tm-single-wrap *,
.tm-single-wrap *::before,
.tm-single-wrap *::after {
    box-sizing: border-box;
}

.tm-single-wrap ::selection {
    background: var(--tm-orange);
    color: #fff;
}

/* Utility: glass panel */
.glass-panel {
    background: var(--tm-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--tm-glass-border);
}

/* Utility: hide scrollbar */
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.no-scrollbar::-webkit-scrollbar {
    display: none;
}

/* Utility: text-center */
.tm-text-center { text-align: center; }

/* --------------------------------------------------------------------------
   2. HERO SECTION
   -------------------------------------------------------------------------- */
.tm-single-hero {
    position: relative;
    padding: 235px 0 80px;
    background: var(--tm-bg);
    overflow: hidden;
}

/* Subtle bottom accent line */
.tm-single-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(85,34,221,0.4) 30%, rgba(85,34,221,0.6) 50%, rgba(85,34,221,0.4) 70%, transparent 100%);
    z-index: 3;
}

/* Hero background image — blurred, faded */
.tm-hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.tm-hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(18px) saturate(0.6);
    transform: scale(1.1);
    opacity: 0.15;
}

/* Dark overlay with subtle purple tint */
.tm-hero-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(170deg, rgba(12,6,30,0.6) 0%, rgba(0,0,0,0.85) 60%, rgba(0,0,0,0.92) 100%),
        radial-gradient(ellipse 60% 50% at 20% 30%, rgba(85,34,221,0.06) 0%, transparent 70%);
}

/* Noise texture overlay for premium grain */
.tm-hero-bg-image::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 256px 256px;
    pointer-events: none;
}

/* Primary purple glow — upper left */
.tm-hero-glow {
    position: absolute;
    top: -80px;
    left: 25%;
    transform: translateX(-50%);
    width: 900px;
    height: 500px;
    background: radial-gradient(ellipse, #5522dd 0%, rgba(85,34,221,0.45) 40%, transparent 100%);
    opacity: 0.35;
    filter: blur(100px);
    border-radius: 50%;
    pointer-events: none;
}

/* Secondary warm glow — lower right for depth */
.tm-hero-glow::after {
    content: '';
    position: absolute;
    bottom: -200px;
    right: -400px;
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(221,119,34,0.15) 0%, rgba(85,34,221,0.08) 50%, transparent 100%);
    filter: blur(80px);
    border-radius: 50%;
}

/* Hero badges (breadcrumb row + tag pills row) */
.tm-hero-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

/* Breadcrumbs — single horizontal line */
.tm-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    overflow: hidden;
}

.tm-breadcrumb a {
    color: #ffffff !important;
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.tm-breadcrumb a:hover {
    color: #fff !important;
}

.tm-breadcrumb-sep {
    color: #ffffff;
    font-size: 10px;
    flex-shrink: 0;
}

.tm-breadcrumb-current {
    color: var(--tm-orange);
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Tag pills — inline row */
.tm-hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tm-badge-cat {
    display: inline-block;
    padding: 3px 12px;
    font-size: 0.55rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--tm-orange);
    background: transparent;
    border: 1px solid rgba(227,135,30,0.4);
    border-radius: 9999px;
    white-space: nowrap;
}

/* Hero title */
.tm-hero-title {
    font-size: 3.5rem;
    font-weight: 500;
    color: #fff !important;
    line-height: 1.1;
    letter-spacing: -0.05em;
    margin: 0 0 20px;
}

/* Hero excerpt */
.tm-hero-excerpt {
    font-size: 18px;
    line-height: 1.7;
    color: var(--tm-text-muted);
    font-weight: 300;
    margin: 0 0 24px;
    max-width: 600px;
}

/* Hero highlights — purple border card with gradient bg */
.tm-hero-highlights {
    margin-bottom: 28px;
    border: 1px solid rgba(85,34,221,0.3);
    background: linear-gradient(135deg, rgba(85,34,221,0.08), transparent);
    border-radius: var(--tm-radius);
    padding: 24px;
}

.tm-hero-highlights .tm-highlight-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tm-orange);
    margin-bottom: 12px;
}

.tm-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--tm-text);
    line-height: 1.5;
}

.tm-highlight-item i {
    color: var(--tm-orange);
    font-size: 14px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Hero actions */
.tm-hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 24px;
}

/* Let ascential-btn use site-standard orange SVG background on dark product pages.
   On hover, use the white SVG variant since the page is dark-themed. */

.tm-hero-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--tm-text-muted) !important;
    text-decoration: none !important;
    transition: color 0.2s;
}

.tm-hero-link:hover {
    color: var(--tm-orange) !important;
}

.tm-hero-link i {
    font-size: 18px;
}

/* Hero image */
.tm-hero-image-wrap {
    position: relative;
}

.tm-hero-main-image {
    position: relative;
    width: 100%;
    background: rgba(10,10,15,0.5);
    border-radius: var(--tm-radius);
    border: 1px solid var(--tm-border);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.tm-hero-main-image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: var(--tm-radius);
    transition: transform 0.5s ease;
}

.tm-hero-main-image:hover img {
    transform: scale(1.03);
}

/* Placeholder icon for products without images */
.tm-hero-placeholder {
    width: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tm-hero-placeholder::before {
    content: '';
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(85,34,221,0.2), rgba(221,119,34,0.15));
    filter: blur(60px);
}

.tm-hero-placeholder i {
    font-size: 72px;
    color: rgba(255,255,255,0.15);
    position: relative;
    z-index: 1;
}

/* Expand button */
.tm-hero-expand {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--tm-radius);
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0;
}

.tm-hero-main-image:hover .tm-hero-expand {
    opacity: 1;
}

/* Thumbnails — 6-column grid */
.tm-hero-thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top: 12px;
    position: relative;
}

.tm-hero-thumb {
    aspect-ratio: 1;
    border-radius: var(--tm-radius);
    border: 2px solid var(--tm-border);
    background: var(--tm-bg-alt);
    overflow: hidden;
    cursor: pointer;
    padding: 0;
    opacity: 0.6;
    transition: border-color 0.2s, opacity 0.2s;
}

.tm-hero-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tm-hero-thumb:hover {
    opacity: 0.8;
    border-color: rgba(255,255,255,0.25);
}

.tm-hero-thumb.active {
    opacity: 1;
    border-color: var(--tm-orange);
}

/* --------------------------------------------------------------------------
   3. STICKY TABS — Matches site-wide stickynav2 pattern
   -------------------------------------------------------------------------- */
.tm-sticky-tabs {
    width: 100%;
    z-index: 40;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #5522dd;
    overflow-x: auto;
    padding: 0;
    height: auto;
    flex-wrap: nowrap;
    flex-shrink: 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.tm-sticky-tabs.tm-tabs-fixed {
    position: fixed;
    /* top is set dynamically by JS to match header bottom */
    left: 0;
    right: 0;
    z-index: 9999;
    transform: translateY(-8px);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.76, 0, 0.24, 1), opacity 0.4s ease-in-out;
}

.tm-sticky-tabs.tm-tabs-fixed.show {
    transform: translateY(0);
    opacity: 1;
}

.tm-sticky-tabs-placeholder {
    display: none;
}

.tm-sticky-tabs::-webkit-scrollbar {
    display: none;
}

.tm-tabs-scroll {
    display: flex;
    gap: 0;
    overflow-x: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
    width: 100%;
}

.tm-tabs-scroll::-webkit-scrollbar {
    display: none;
}

.tm-tab-link {
    color: #ffffff;
    font-size: 15px;
    padding: 20px;
    display: block;
    text-align: center;
    text-decoration: none !important;
    clip-path: polygon(20px 0px, 100% 0, calc(100% - 20px) 100%, 0 100%);
    background-color: transparent;
    transition: all 0.25s ease;
    flex: 1 1 0%;
    white-space: nowrap;
}

.tm-tab-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
}

.tm-tab-link.active {
    background-color: #DE7723 !important;
    color: #ffffff !important;
}

.nav-flash-2 {
    background-color: #DE7723 !important;
}

/* --------------------------------------------------------------------------
   4. SECTIONS — BASE
   -------------------------------------------------------------------------- */
.tm-section {
    padding: 96px 0;
    background: var(--tm-bg);
}

.tm-section-alt {
    background: var(--tm-bg-alt);
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
    position: relative;
}

/* Purple-accent section */
.tm-section-accent {
    background: rgba(85,34,221,0.1);
    border-top: 1px solid rgba(85,34,221,0.3);
    border-bottom: 1px solid rgba(85,34,221,0.3);
    position: relative;
    overflow: hidden;
}

.tm-section-accent > .container {
    position: relative;
    z-index: 1;
}

/* Section title */
.tm-section-title {
    font-size: 1.875rem;
    font-weight: 500;
    color: #fff !important;
    letter-spacing: -0.05em;
    margin: 0 0 48px;
}

/* Section label (small uppercase orange) */
.tm-section-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--tm-orange);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 32px;
}

/* Section heading (larger) */
.tm-section-heading {
    font-size: 1.875rem;
    font-weight: 500;
    color: #fff !important;
    letter-spacing: -0.05em;
    margin: 0 0 8px;
}

.tm-heading-lg {
    font-size: 2rem;
}

/* Section subtext */
.tm-section-subtext {
    font-size: 14px;
    color: var(--tm-text-muted);
    margin: 0 0 16px;
}

.tm-subtext-lg {
    font-size: 18px;
    font-weight: 300;
}

/* Accent line */
.tm-accent-line {
    width: 48px;
    height: 2px;
    background: var(--tm-purple);
}

/* --------------------------------------------------------------------------
   5. OVERVIEW
   -------------------------------------------------------------------------- */
.tm-overview-narrow {
    max-width: 56rem;
    margin: 0 auto;
}

.tm-overview-prose {
    font-size: 16px;
    line-height: 2.0;
    color: #ffffff;
    font-weight: 300;
}

/* Hide old brand headings scraped from legacy sites (e.g. "E-Motor Test Stands | Burke Porter Testing") */
.tm-overview-prose > h1:first-child,
.tm-overview-prose > h2:first-child,
.tm-overview-prose > h3:first-child,
.tm-overview-prose > h4:first-child {
    display: none;
}

.tm-overview-prose p {
    color: #ffffff;
    margin-bottom: 16px;
}

.tm-overview-prose p:last-child {
    margin-bottom: 0;
}

/* Tables embedded in post_content (scraped from source sites)
   Must use !important to override HTMega/Elementor plugin styles
   that come with the scraped HTML wrappers */
.tm-overview-prose table {
    width: 100% !important;
    text-align: left !important;
    font-size: 14px !important;
    border-collapse: collapse !important;
    margin: 24px 0 !important;
    background: var(--tm-bg, #0d0d0d) !important;
    border: 1px solid var(--tm-border, rgba(255,255,255,0.08)) !important;
    border-radius: 8px !important;
    overflow: hidden;
}

.tm-overview-prose table tr {
    border-bottom: 1px solid var(--tm-border, rgba(255,255,255,0.08)) !important;
    transition: background 0.15s;
    background: transparent !important;
}

.tm-overview-prose table tr:last-child {
    border-bottom: none !important;
}

.tm-overview-prose table tr:hover {
    background: rgba(255,255,255,0.02) !important;
}

.tm-overview-prose table th {
    padding: 16px !important;
    font-weight: 600 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: #ffffff !important;
    background: rgba(255,255,255,0.03) !important;
    border-bottom: 1px solid var(--tm-border, rgba(255,255,255,0.08)) !important;
    border-right: none !important;
    border-left: none !important;
    border-top: none !important;
}

.tm-overview-prose table td {
    padding: 16px !important;
    line-height: 1.5 !important;
    vertical-align: top !important;
    color: var(--tm-orange, #e87a2e) !important;
    background: transparent !important;
    border: none !important;
}

.tm-overview-prose table td:first-child {
    font-weight: 600 !important;
    color: #ffffff !important;
    width: 50%;
}

/* --- Overview visual upgrade --- */

/* Purple section label with accent line */
#overview .tm-section-label {
    color: var(--tm-purple);
    position: relative;
    padding-bottom: 16px;
    text-transform: none;
    letter-spacing: normal;
}
#overview .tm-section-label::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 48px;
    height: 2px;
    background: var(--tm-purple);
}

/* Charcoal card background */
#overview {
    background: #1a1a1f;
    border-radius: 12px;
    padding: 64px 40px;
}

/* Lead paragraph emphasis */
.tm-overview-prose > p:first-child {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255,255,255,0.95);
    font-weight: 400;
}

/* Bold/strong text styling */
.tm-overview-prose p > b,
.tm-overview-prose p > strong {
    display: inline;
    color: rgba(255,255,255,0.95);
    font-weight: 600;
}
/* Sub-heading paragraphs that contain ONLY bold text */
.tm-overview-prose p:has(> b:only-child),
.tm-overview-prose p:has(> strong:only-child) {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    font-size: 17px;
    letter-spacing: 0.01em;
}

/* Headings inside overview prose */
.tm-overview-prose h2,
.tm-overview-prose h3,
.tm-overview-prose h4 {
    color: #ffffff;
    font-weight: 600;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.tm-overview-prose h2 { font-size: 20px; }
.tm-overview-prose h3 { font-size: 18px; }
.tm-overview-prose h4 { font-size: 17px; }

/* Two-column bullet lists with purple triangle markers */
.tm-overview-prose ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 32px;
    margin: 20px 0;
}
.tm-overview-prose ul li {
    padding-left: 20px;
    position: relative;
    font-size: 15px;
    line-height: 1.7;
}
.tm-overview-prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 0;
    height: 0;
    border-left: 6px solid var(--tm-purple);
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

/* Ordered lists with purple numbered markers */
.tm-overview-prose ol {
    list-style: none;
    padding: 0;
    counter-reset: overview-counter;
    margin: 20px 0;
}
.tm-overview-prose ol li {
    counter-increment: overview-counter;
    padding-left: 32px;
    position: relative;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 8px;
}
.tm-overview-prose ol li::before {
    content: counter(overview-counter);
    position: absolute;
    left: 0;
    top: 0;
    color: var(--tm-purple);
    font-weight: 700;
    font-size: 14px;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(85,34,221,0.3);
    border-radius: 4px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    #overview {
        padding: 24px 20px;
    }
    .tm-overview-prose ul {
        grid-template-columns: 1fr;
    }
}

/* Features layout (within overview) */
.tm-features-layout {
    padding-top: 40px;
    padding-bottom: 8px;
}

/* --------------------------------------------------------------------------
   6. VARIANT BAR
   -------------------------------------------------------------------------- */
.tm-variant-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 16px 0 24px;
}

.tm-variant-btn {
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #ffffff;
    padding: 10px 22px;
    border-radius: var(--tm-radius);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    line-height: 1.3;
    min-width: 120px;
}

.tm-variant-btn-name {
    display: block;
}

.tm-variant-btn-sub {
    font-size: 11px;
    font-weight: 400;
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tm-variant-btn:hover {
    border-color: rgba(221,119,34,0.5);
    color: #fff;
}

.tm-variant-btn.active {
    border-color: var(--tm-orange);
    color: var(--tm-orange);
    background: rgba(0,0,0,0.5);
}

.tm-variant-btn.active .tm-variant-btn-sub {
    opacity: 0.85;
}

/* Variant detail block */
.tm-variant-detail {
    margin-top: 32px;
    padding: 32px;
    border-left: 2px solid var(--tm-orange);
    background: linear-gradient(90deg, rgba(221,119,34,0.1), transparent);
    border-radius: 0 var(--tm-radius) var(--tm-radius) 0;
}

.tm-variant-detail-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--tm-orange);
    margin-bottom: 12px;
}

@media (max-width: 575px) {
    .tm-variant-bar { gap: 6px; }
    .tm-variant-btn {
        padding: 8px 14px;
        font-size: 13px;
        flex: 1 1 calc(50% - 6px);
        min-width: 0;
    }
}

/* Model tabs — for products with specs "models" format (e.g. ProbHe, ProbHe M, ProbHe HP/M) */
.tm-model-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 16px 0 24px;
}

.tm-model-btn {
    background: rgba(85,34,221,0.3);
    border: 1px solid rgba(85,34,221,0.5);
    color: #ffffff;
    padding: 10px 24px;
    border-radius: var(--tm-radius);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    min-width: 100px;
    text-align: center;
}

.tm-model-btn:hover {
    border-color: var(--tm-purple);
    background: rgba(85,34,221,0.5);
    color: #fff;
}

.tm-model-btn.active {
    background: var(--tm-purple);
    border-color: var(--tm-purple);
    color: #fff;
}

.tm-model-btn.tm-model-compare {
    background: transparent;
    border-color: rgba(255,255,255,0.2);
    color: #ffffff;
    font-size: 13px;
    font-weight: 400;
}

.tm-model-btn.tm-model-compare:hover,
.tm-model-btn.tm-model-compare.active {
    border-color: var(--tm-orange);
    color: var(--tm-orange);
    background: rgba(221,119,34,0.15);
}

/* Model bar placed above specs table */
.tm-model-bar-specs {
    margin: 0 0 24px;
}

/* Per-model description and features inside spec cards */
.tm-model-description {
    color: #ffffff;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(85,34,221,0.2);
}

.tm-model-features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 24px;
}

.tm-model-features li {
    color: #ffffff;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.tm-model-features li i {
    color: var(--tm-purple);
    margin-top: 3px;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .tm-model-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .tm-model-bar { gap: 6px; }
    .tm-model-btn {
        padding: 8px 16px;
        font-size: 13px;
        flex: 1 1 auto;
        min-width: 0;
    }
}

/* Compare All — per-model copy blocks in 2-col grid */
.tm-model-compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 40px;
    margin-bottom: 40px;
    padding: 0 24px;
}

.tm-model-compare-col {
    padding: 24px;
    background: rgba(85,34,221,0.06);
    border: 1px solid rgba(85,34,221,0.15);
    border-radius: 12px;
}

.tm-model-compare-heading {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--tm-purple);
}

/* Single-column features inside compare columns */
.tm-model-features-single {
    grid-template-columns: 1fr;
}

@media (max-width: 991px) {
    .tm-model-compare-grid {
        gap: 24px;
        padding: 0 16px;
    }
}

@media (max-width: 767px) {
    .tm-model-compare-grid {
        grid-template-columns: 1fr;
        padding: 0 12px;
    }
    .tm-model-compare-col {
        padding: 20px;
    }
}

/* --------------------------------------------------------------------------
   7. TICKER SECTION — Full-width marquee with gradient fade edges
   -------------------------------------------------------------------------- */
.tm-ticker-section {
    position: relative;
    padding: 96px 0;
    overflow: hidden;
    border-top: 1px solid rgba(85,34,221,0.2);
    border-bottom: 1px solid rgba(85,34,221,0.2);
}

/* Background image in ticker */
.tm-ticker-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.tm-ticker-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: blur(24px);
    transform: scale(1.15);
    opacity: 0.2;
}

.tm-ticker-bg-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.8) 100%);
}

/* Ticker headings */
.tm-ticker-heading {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.tm-ticker-heading:first-child {
    margin-top: 0;
}

.tm-ticker-heading-orange {
    color: var(--tm-orange);
}

.tm-ticker-heading-white {
    color: var(--tm-text-muted);
}

/* Ticker track — scrolling strip with gradient mask */
.tm-ticker-track {
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
    z-index: 1;
    cursor: pointer;
}

/* Gradient fade edges */
.tm-ticker-track::before,
.tm-ticker-track::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 128px;
    z-index: 2;
    pointer-events: none;
}

.tm-ticker-track::before {
    left: 0;
    background: linear-gradient(90deg, var(--tm-bg) 0%, transparent 100%);
}

.tm-ticker-track::after {
    right: 0;
    background: linear-gradient(270deg, var(--tm-bg) 0%, transparent 100%);
}

.tm-ticker-track:hover .tm-ticker-scroll {
    animation-play-state: paused;
}

.tm-ticker-scroll {
    display: flex;
    gap: 16px;
    padding: 0 8px;
    width: max-content;
    will-change: transform;
}

.tm-ticker-left {
    animation: tm-ticker 40s linear infinite;
}

.tm-ticker-right {
    animation: tm-ticker 45s linear infinite reverse;
}

@keyframes tm-ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Ticker items — pill-shaped */
.tm-ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 9999px;
    border: 1px solid var(--tm-border);
    background: rgba(255,255,255,0.04);
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
    flex-shrink: 0;
}

.tm-ticker-item i {
    font-size: 14px;
    color: var(--tm-orange);
    flex-shrink: 0;
}

/* Tests row variant — purple-tinted */
.tm-ticker-track[data-tooltip="tests"] .tm-ticker-item {
    border-color: rgba(85,34,221,0.3);
    background: rgba(85,34,221,0.05);
}

/* Ticker Tooltip */
.tm-ticker-tooltip {
    position: fixed;
    z-index: 99998;
    pointer-events: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 420px;
    width: max-content;
}

.tm-ticker-tooltip.active {
    opacity: 1;
    transform: translateY(0);
}

.tm-ticker-tooltip-inner {
    background: rgba(12, 10, 20, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--tm-border);
    border-radius: 16px;
    padding: 20px 24px;
    box-shadow:
        0 0 0 1px rgba(85,34,221,0.1),
        0 8px 40px rgba(0,0,0,0.6),
        0 0 80px rgba(85,34,221,0.06);
}

.tm-ticker-tooltip-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: block;
}

.tm-ticker-tooltip-label.orange { color: var(--tm-orange); }
.tm-ticker-tooltip-label.white { color: #ffffff; }

.tm-ticker-tooltip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.tm-ticker-tooltip-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: 9999px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--tm-glass-border);
    font-size: 11px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
}

.tm-ticker-tooltip-pill i {
    font-size: 10px;
    color: var(--tm-orange);
}

.tm-ticker-tooltip-glow {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 40px;
    background: radial-gradient(ellipse, rgba(85,34,221,0.3), transparent);
    filter: blur(20px);
    pointer-events: none;
}

/* --------------------------------------------------------------------------
   PILL STRIP — Drag-scrollable horizontal strip (legacy / overview features)
   -------------------------------------------------------------------------- */
.tm-pill-strip-wrap {
    position: relative;
    overflow: hidden;
}

.tm-pill-strip-wrap::before,
.tm-pill-strip-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 48px;
    z-index: 2;
    pointer-events: none;
}

.tm-pill-strip-wrap::before {
    left: 0;
    background: linear-gradient(90deg, var(--tm-bg) 0%, transparent 100%);
}

.tm-pill-strip-wrap::after {
    right: 0;
    background: linear-gradient(270deg, var(--tm-bg) 0%, transparent 100%);
}

.tm-section-alt .tm-pill-strip-wrap::before {
    background: linear-gradient(90deg, var(--tm-bg-alt) 0%, transparent 100%);
}

.tm-section-alt .tm-pill-strip-wrap::after {
    background: linear-gradient(270deg, var(--tm-bg-alt) 0%, transparent 100%);
}

.tm-pill-strip {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 4px 48px;
    cursor: grab;
}

.tm-pill-strip:active {
    cursor: grabbing;
}

.tm-pill-strip::-webkit-scrollbar {
    display: none;
}

.tm-pill-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 9999px;
    border: 1px solid var(--tm-border);
    background: rgba(255,255,255,0.04);
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all 0.2s;
    user-select: none;
}

.tm-pill-item:hover {
    border-color: rgba(85,34,221,0.3);
    background: rgba(85,34,221,0.08);
    color: #fff;
}

.tm-pill-item i {
    font-size: 14px;
    color: var(--tm-orange);
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   8. BENEFITS
   -------------------------------------------------------------------------- */
.tm-benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.tm-benefit-card {
    padding: 32px;
    border: 1px solid var(--tm-border);
    border-radius: var(--tm-radius);
    transition: border-color 0.3s, background 0.3s;
}

.tm-benefit-card:hover {
    border-color: rgba(85,34,221,0.5);
    background: linear-gradient(to bottom, rgba(85,34,221,0.1), transparent);
}

.tm-benefit-icon {
    font-size: 1.875rem;
    color: var(--tm-orange);
    margin-bottom: 24px;
}

.tm-benefit-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    margin: 0 0 12px;
}

.tm-benefit-body {
    font-size: 14px;
    line-height: 1.625;
    color: var(--tm-text-muted);
}

@media (max-width: 991px) {
    .tm-benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .tm-benefits-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   9. DIAGRAMS + 3D MODEL
   -------------------------------------------------------------------------- */
.tm-diagrams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.tm-diagram-item {
    aspect-ratio: 1;
    border: 1px solid rgba(85,34,221,0.3);
    background: rgba(85,34,221,0.05);
    border-radius: var(--tm-radius);
    padding: 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Grid pattern overlay */
.tm-diagram-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.tm-diagram-label {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 16px;
    position: relative;
    z-index: 1;
}

.tm-diagram-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--tm-radius);
    background: #fff;
    padding: 12px;
    position: relative;
    z-index: 1;
}

@media (max-width: 575px) {
    .tm-diagrams-grid { grid-template-columns: 1fr; }
}

/* 3D Model Viewer */
.tm-model3d-wrap {
    aspect-ratio: 1;
    border-radius: var(--tm-radius);
    overflow: hidden;
    border: 1px solid var(--tm-border);
    background: var(--tm-bg);
    cursor: pointer;
    position: relative;
    transition: border-color 0.3s;
}

.tm-model3d-wrap:hover {
    border-color: rgba(255,255,255,0.15);
}

.tm-model3d-wrap model-viewer {
    --poster-color: transparent;
}

/* --------------------------------------------------------------------------
   10. SPECIFICATIONS
   -------------------------------------------------------------------------- */
.tm-spec-card {
    background: var(--tm-glass);
    border: 1px solid var(--tm-glass-border);
    border-radius: var(--tm-radius);
    overflow: hidden;
    margin-bottom: 24px;
}

.tm-spec-card:last-child {
    margin-bottom: 0;
}

.tm-spec-scroll {
    overflow-x: auto;
}

.tm-spec-group-title {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    padding: 24px 24px 20px;
    margin: 0 0 16px;
    text-transform: capitalize;
}

.tm-spec-table {
    width: 100%;
    text-align: left;
    font-size: 14px;
    border-collapse: collapse;
}

.tm-spec-table tr {
    border-bottom: 1px solid var(--tm-border);
    transition: background 0.15s;
}

.tm-spec-table tr:last-child {
    border-bottom: none;
}

.tm-spec-table tr:hover {
    background: rgba(255,255,255,0.02);
}

.tm-spec-table th {
    padding: 16px;
    font-weight: normal;
    width: 50%;
    color: #ffffff;
    text-transform: capitalize;
}

.tm-spec-table td {
    padding: 16px;
    line-height: 1.5;
    vertical-align: top;
    color: var(--tm-orange);
}

.tm-spec-table td:first-child {
    font-weight: 600;
    color: #ffffff;
    width: 50%;
    text-transform: capitalize;
}

/* Stacked spec layout (few items) */
.tm-spec-stacked-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #ffffff;
    margin: 0 0 8px;
}

.tm-spec-stacked-value {
    font-size: 18px;
    font-weight: 500;
    color: var(--tm-orange);
    line-height: 1.5;
    margin: 0;
}

/* Nested spec table */
.tm-spec-nested {
    background: rgba(255,255,255,0.02);
    border-radius: 6px;
    margin: 4px 0;
}

.tm-spec-nested td {
    padding: 8px 14px;
    font-size: 13px;
}

/* Multi-model spec table */
.tm-spec-table-multi {
    width: 100%;
    border-collapse: collapse;
}

.tm-spec-table-multi thead th {
    padding: 14px 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--tm-border);
    color: #fff !important;
    text-align: left;
    white-space: nowrap;
    font-weight: 500;
}

.tm-spec-table-multi tbody td {
    padding: 12px 20px;
    font-size: 13px;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: var(--tm-orange);
    vertical-align: top;
}

.tm-spec-table-multi tbody td:first-child {
    font-weight: 600;
    color: #ffffff;
    background: rgba(255,255,255,0.02);
}

.tm-spec-table-multi tbody tr:last-child td {
    border-bottom: none;
}

/* --------------------------------------------------------------------------
   11. SPECS ACCORDION
   -------------------------------------------------------------------------- */
.tm-specs-accordion {
    max-width: 900px;
}

.tm-accordion-item {
    background: var(--tm-bg);
    border: 1px solid var(--tm-border);
    border-radius: var(--tm-radius);
    margin-bottom: 8px;
}

.tm-accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: background-color 0.2s, color 0.2s;
}

.tm-accordion-header:hover {
    background-color: #5522dd !important;
    color: #fff !important;
}

.tm-accordion-icon {
    transition: transform 0.3s;
    font-size: 14px;
    color: #ffffff;
}

.tm-accordion-open .tm-accordion-icon {
    transform: rotate(180deg);
}

.tm-accordion-body {
    padding: 16px 20px 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.tm-accordion-content {
    font-size: 14px;
    line-height: 1.7;
    color: #ffffff;
}

.tm-accordion-content p {
    margin-bottom: 12px;
}

.tm-accordion-content ul,
.tm-accordion-content ol {
    padding-left: 20px;
    margin-bottom: 12px;
}

.tm-accordion-content li {
    margin-bottom: 6px;
}

.tm-accordion-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--tm-orange);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.tm-accordion-cta:hover {
    color: #fff;
}

/* FAQ accordion — centered card matching division modal style */
#faq .tm-section-title {
    text-align: center;
}
#faq .tm-specs-accordion {
    max-width: 820px;
    margin: 0 auto;
    background: var(--tm-bg-alt);
    border: 1px solid rgba(85,34,221,0.5);
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 40px rgba(85,34,221,0.25);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    overflow: hidden;
}
#faq .tm-accordion-item {
    border: none;
    border-bottom: 1px solid rgba(85,34,221,0.15);
    border-radius: 0;
    background: transparent;
    margin-bottom: 0;
}
#faq .tm-accordion-item:last-child {
    border-bottom: none;
}

/* --------------------------------------------------------------------------
   12. APPLICATIONS + DETECTION + COMPONENTS
   -------------------------------------------------------------------------- */

/* Applications — pills */
.tm-app-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tm-app-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 12px;
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.2);
    background: transparent;
    font-size: 12px;
    color: #ffffff;
    transition: all 0.2s;
}

.tm-app-pill:hover {
    border-color: rgba(85,34,221,0.3);
    background: rgba(85,34,221,0.06);
}

.tm-app-pill i {
    color: #ffffff;
    font-size: 12px;
}

.tm-section-accent .tm-app-pill {
    background: rgba(255,255,255,0.04);
    border-color: rgba(85,34,221,0.15);
}

.tm-section-accent .tm-app-pill:hover {
    background: rgba(85,34,221,0.12);
    border-color: rgba(85,34,221,0.35);
}

/* Detection capabilities */
.tm-detection-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tm-detection-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 12px;
    border-radius: var(--tm-radius);
    transition: background 0.2s;
}

.tm-detection-item:hover {
    background: rgba(255,255,255,0.03);
}

.tm-detection-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 15px;
}

.tm-detection-item span {
    font-size: 14px;
    font-weight: 500;
    color: var(--tm-text);
}

/* Detection panel (right side) */
.tm-detection-panel {
    border-radius: var(--tm-radius);
    padding: 28px;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tm-detection-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
}

.tm-detection-active {
    color: var(--tm-orange);
}

.tm-detection-active i {
    font-size: 8px;
    animation: tm-pulse 2s ease infinite;
}

@keyframes tm-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.tm-detection-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.tm-detection-stat {
    background: rgba(0,0,0,0.3);
    border: 1px solid var(--tm-glass-border);
    border-radius: var(--tm-radius);
    padding: 16px;
    text-align: center;
}

.tm-detection-stat-val {
    display: block;
    font-size: 28px;
    font-weight: 500;
    color: #fff;
    font-family: 'Inter', monospace;
}

.tm-detection-stat-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    margin-top: 4px;
}

/* Detection cards (keyed format) */
.tm-detection-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--tm-glass-border);
    border-radius: var(--tm-radius);
    padding: 28px;
    height: auto;
    transition: border-color 0.3s;
}

/* Keyed detection grid — side by side */
.tm-detection-keyed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.tm-detection-card:hover {
    border-color: rgba(221,119,34,0.25);
}

.tm-detection-card h4 {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    margin: 0 0 8px;
}

.tm-detection-tech {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--tm-orange);
    margin-bottom: 16px;
}

.tm-detection-defects {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tm-detection-defects li {
    padding: 8px 0 8px 20px;
    font-size: 14px;
    color: #ffffff;
    border-bottom: 1px solid rgba(85,34,221,0.3);
    position: relative;
}

.tm-detection-defects li:last-child {
    border-bottom: none;
}

.tm-detection-defects li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--tm-purple);
}

/* System Components */
.tm-component-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid var(--tm-glass-border);
    background: rgba(0,0,0,0.3);
    transition: border-color 0.2s;
}

.tm-component-item:hover {
    border-color: rgba(255,255,255,0.12);
}

.tm-component-icon {
    color: var(--tm-purple);
    font-size: 16px;
    flex-shrink: 0;
}

.tm-component-item span {
    font-size: 14px;
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   13. MODEL COMPARISON
   -------------------------------------------------------------------------- */
.tm-comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.tm-comparison-table thead th {
    padding: 16px 20px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff !important;
    text-align: left;
    white-space: nowrap;
    border-bottom: 2px solid var(--tm-border);
}

.tm-comparison-table tbody td {
    padding: 12px 20px;
    font-size: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: #ffffff;
}

.tm-comparison-table tbody td:first-child {
    font-weight: 600;
    color: #ffffff;
    text-transform: capitalize;
}

.tm-comparison-table tbody tr:last-child td {
    border-bottom: none;
}

.tm-comparison-table tbody tr:hover {
    background: rgba(255,255,255,0.02);
}

.val-yes     { color: #4ade80 !important; font-weight: 700; }
.val-no      { color: rgba(255,255,255,0.5) !important; }
.val-optional { color: #fbbf24 !important; font-style: italic; }

/* --------------------------------------------------------------------------
   14. PRODUCT LINEUP
   -------------------------------------------------------------------------- */
.tm-lineup-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tm-lineup-card {
    border: 1px solid var(--tm-border);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.3s;
    position: relative;
}

.tm-lineup-card:hover {
    border-color: rgba(221,119,34,0.5);
}

/* Popular badge */
.tm-lineup-card .tm-lineup-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--tm-purple);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 4px 10px;
    border-radius: 9999px;
}

/* Featured/popular card */
.tm-lineup-card.tm-lineup-featured {
    border-color: rgba(85,34,221,0.5);
    background: linear-gradient(to bottom, rgba(85,34,221,0.1), transparent);
}

.tm-lineup-card h4 {
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    margin: 0 0 10px;
}

.tm-lineup-card .tm-lineup-subtitle {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tm-orange);
    margin-bottom: 12px;
}

.tm-lineup-card p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--tm-text-muted);
    margin: 0 0 16px;
}

.tm-lineup-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid var(--tm-border);
    padding-top: 24px;
}

.tm-lineup-card ul li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 12px;
    color: #ffffff;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.tm-lineup-card ul li:last-child {
    border-bottom: none;
}

.tm-lineup-card ul li i {
    color: var(--tm-orange);
    font-size: 12px;
    margin-top: 3px;
    flex-shrink: 0;
}

/* Lineup on accent bg */
.tm-section-accent .tm-lineup-card {
    background: rgba(255,255,255,0.05);
    border-color: rgba(85,34,221,0.15);
}

.tm-section-accent .tm-lineup-card:hover {
    border-color: rgba(85,34,221,0.35);
}

/* --------------------------------------------------------------------------
   15. SOFTWARE + SOLUTIONS
   -------------------------------------------------------------------------- */

/* Software grid */
.tm-software-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 32px;
}

.tm-software-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.tm-software-item i {
    color: var(--tm-orange);
    font-size: 14px;
    flex-shrink: 0;
}

.tm-software-item span {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.5;
}

/* Solutions — block cards (not accordions) */
.tm-solutions-list {
    max-width: 900px;
}

.tm-solution-item {
    border: 1px solid var(--tm-border);
    border-radius: var(--tm-radius);
    margin-bottom: 12px;
    background: transparent;
    overflow: hidden;
    transition: border-color 0.3s, background 0.3s;
}

.tm-solution-item:hover {
    background: rgba(255,255,255,0.02);
}

.tm-solution-item.tm-solution-open {
    border-color: rgba(85,34,221,0.2);
}

.tm-solution-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
    transition: color 0.2s;
}

.tm-solution-header:hover {
    color: var(--tm-orange);
}

.tm-solution-toggle {
    color: #ffffff;
    font-size: 14px;
    transition: transform 0.3s;
}

.tm-solution-body {
    padding: 0 24px 24px;
}

.tm-solution-inner {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.tm-solution-image {
    flex: 0 0 200px;
}

.tm-solution-image img {
    width: 100%;
    border-radius: var(--tm-radius);
}

.tm-solution-content {
    flex: 1;
}

.tm-solution-text {
    font-size: 14px;
    line-height: 1.7;
    color: #ffffff;
}

.tm-solution-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    color: var(--tm-orange);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
}

.tm-solution-cta:hover {
    color: #fff;
}

.tm-solution-cta i {
    transition: transform 0.2s;
}

.tm-solution-cta:hover i {
    transform: translateX(4px);
}

@media (max-width: 767px) {
    .tm-solution-inner {
        flex-direction: column;
    }
    .tm-solution-image {
        flex: none;
        max-width: 100%;
    }
}

/* --------------------------------------------------------------------------
   16. VIDEOS
   -------------------------------------------------------------------------- */
.tm-video-card {
    margin-bottom: 0;
}

.tm-video-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--tm-radius);
    border: 1px solid var(--tm-border);
    background: var(--tm-bg-alt);
    max-width: 56rem;
    margin: 0 auto;
}

.tm-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.tm-video-title {
    font-size: 15px;
    font-weight: 500;
    color: #fff;
    margin: 12px 0 0;
}

/* Standalone video embed */
.tm-video-embed-wrap {
    max-width: 56rem;
    margin: 0 auto;
}

.tm-video-embed-wrap iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: var(--tm-radius);
}

/* Video placeholder with play icon */
.tm-video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4.5rem;
    color: #ffffff;
    transition: transform 0.3s, color 0.3s;
    pointer-events: none;
}

.tm-video-embed:hover .tm-video-play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    color: var(--tm-orange);
}

/* --------------------------------------------------------------------------
   17. QUOTES
   -------------------------------------------------------------------------- */
.tm-quotes-section {
    background: rgba(85,34,221,0.1);
    border-top: 1px solid rgba(85,34,221,0.3);
    border-bottom: 1px solid rgba(85,34,221,0.3);
    text-align: center;
    padding: 96px 0;
}

.tm-quotes-grid {
    max-width: 48rem;
    margin: 0 auto;
}

.tm-quote-card {
    text-align: center;
    padding: 32px;
    position: relative;
}

.tm-quote-mark {
    font-size: 2.5rem;
    color: var(--tm-orange);
    opacity: 0.5;
    margin-bottom: 16px;
}

.tm-quote-text {
    font-size: 1.5rem;
    line-height: 1.625;
    color: #ffffff;
    margin: 0 0 16px;
    font-style: italic;
    font-weight: 300;
}

.tm-quote-cite {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tm-orange);
    font-style: normal;
}

@media (max-width: 575px) {
    .tm-quote-text { font-size: 1.125rem; }
}

/* --------------------------------------------------------------------------
   18. GALLERY
   -------------------------------------------------------------------------- */
.tm-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.tm-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--tm-radius);
    aspect-ratio: 4 / 3;
    cursor: zoom-in;
    background: var(--tm-bg-alt);
    border: 1px solid var(--tm-border);
    transition: border-color 0.2s;
}

.tm-gallery-item:hover {
    border-color: var(--tm-orange);
}

.tm-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.tm-gallery-item:hover img {
    transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   LIGHTBOX
   -------------------------------------------------------------------------- */
.tm-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0,0,0,0.95);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.tm-lightbox.active {
    display: flex;
}

.tm-lightbox img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: var(--tm-radius);
}

.tm-lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 36px;
    color: white;
    cursor: pointer;
    z-index: 100000;
    background: none;
    border: none;
    line-height: 1;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.tm-lightbox-close:hover { opacity: 1; }

.tm-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 28px;
    color: white;
    cursor: pointer;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100000;
    opacity: 0.7;
    transition: all 0.2s;
}

.tm-lightbox-nav:hover { opacity: 1; background: rgba(255,255,255,0.12); }
.tm-lightbox-prev { left: 20px; }
.tm-lightbox-next { right: 20px; }

/* --------------------------------------------------------------------------
   19. INNOVATION + RESOURCES — Horizontal snap-scroll
   -------------------------------------------------------------------------- */
.tm-innovation-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 24px;
    padding-bottom: 32px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.tm-innovation-scroll::-webkit-scrollbar {
    display: none;
}

/* Fallback grid for innovation when not using scroll */
.tm-innovation-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 24px;
    padding-bottom: 32px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.tm-innovation-grid::-webkit-scrollbar {
    display: none;
}

.tm-innovation-card {
    min-width: 320px;
    scroll-snap-align: start;
    border: 1px solid rgba(85,34,221,0.4);
    background: linear-gradient(to bottom, rgba(85,34,221,0.05), transparent);
    border-radius: var(--tm-radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s;
    flex-shrink: 0;
}

.tm-innovation-card:hover {
    border-color: rgba(85,34,221,0.6);
}

.tm-innovation-card .tm-innovation-icon {
    font-size: 1.875rem;
    color: var(--tm-purple);
    margin-bottom: 16px;
}

.tm-innovation-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #fff;
    margin: 0 0 12px;
}

.tm-innovation-body {
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
    margin-bottom: 16px;
    flex: 1;
}

.tm-innovation-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--tm-orange);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    transition: color 0.2s;
}

.tm-innovation-cta:hover {
    color: #fff;
}

/* Related resources — horizontal scroll cards */
.tm-resources-scroll {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 24px;
    padding-bottom: 32px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.tm-resources-scroll::-webkit-scrollbar {
    display: none;
}

/* --------------------------------------------------------------------------
   13b. RELATED RESOURCES (static grid)
   -------------------------------------------------------------------------- */
.tm-rc-link,
.tm-rc-link:hover,
.tm-rc-link:focus,
.tm-rc-link:active,
.tm-rc-link:visited {
    text-decoration: none !important;
    color: inherit !important;
    display: block;
    height: 100%;
}

.tm-rc-card {
    border-radius: var(--tm-radius);
    min-height: 280px;
    overflow: hidden;
    position: relative;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tm-rc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.4);
}

.tm-rc-card-bg,
.tm-rc-card-bg-sharp {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: opacity .3s ease, transform .15s ease-out;
    will-change: transform, opacity;
}

.tm-rc-card-bg {
    filter: blur(10px);
    transform: scale(1.12);
    opacity: 1;
}

.tm-rc-card-bg-sharp {
    opacity: 0;
    transform: scale(1.08);
}

.tm-rc-card:hover .tm-rc-card-bg-sharp {
    opacity: 1;
    transform: scale(1.15);
}

.tm-rc-card:hover .tm-rc-card-bg {
    opacity: 0;
    transform: scale(1.18);
}

.tm-rc-card-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(10px);
    transform: scale(1.12);
    opacity: 1;
    transition: filter .3s ease, transform .15s ease-out;
    will-change: transform, filter;
}

.tm-rc-card:hover .tm-rc-card-video-bg {
    filter: none;
    transform: scale(1.05);
}

.tm-rc-card-logo-overlay {
    filter: blur(10px);
    transition: filter .3s ease;
}

.tm-rc-card:hover .tm-rc-card-logo-overlay {
    filter: none;
}

.tm-rc-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0.25) 100%);
    transition: opacity .3s ease;
}

.tm-rc-card:hover .tm-rc-card-overlay {
    opacity: .5;
}

.tm-rc-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    color: #FFFFFF;
    z-index: 2;
    transition: opacity .3s ease;
}

.tm-rc-card:hover .tm-rc-card-content {
    opacity: 0;
}

.tm-rc-card-content .tm-rc-type {
    color: var(--tm-orange) !important;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0 8px;
}

.tm-rc-card-content .tm-rc-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.35;
    color: #fff !important;
    margin: 0;
}

.tm-rc-card-content .tm-rc-excerpt {
    font-size: 13px;
    line-height: 1.5;
    color: var(--tm-text-muted) !important;
    margin: 6px 0 0;
}

/* --------------------------------------------------------------------------
   20. WHY ASCENTIAL + FORM (side by side)
   -------------------------------------------------------------------------- */

/* Why list — vertical layout */
.tm-why-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.tm-why-list-item {
    display: flex;
    gap: 16px;
}

.tm-why-list-icon {
    font-size: 1.875rem;
    color: var(--tm-orange);
    flex-shrink: 0;
}

.tm-why-list-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #fff;
    margin: 0 0 8px;
}

.tm-why-list-body {
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
}

/* Why grid (fallback / existing layout) */
.tm-why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tm-why-card {
    background: var(--tm-glass);
    border: 1px solid var(--tm-glass-border);
    border-radius: var(--tm-radius);
    padding: 32px 24px;
    text-align: center;
}

.tm-why-icon {
    font-size: 1.875rem;
    color: var(--tm-orange);
    margin: 0 auto 16px;
}

.tm-why-title {
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px;
}

.tm-why-body {
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
}

@media (max-width: 991px) {
    .tm-why-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .tm-why-grid { grid-template-columns: 1fr; }
}

/* Form embed */
.tm-form-embed-wrap {
    max-width: 700px;
    margin: 0 auto;
    background: var(--tm-glass);
    border: 1px solid var(--tm-border);
    border-radius: var(--tm-radius);
    padding: 32px;
}

.tm-form-embed-wrap .tm-form-title {
    font-size: 1.25rem;
    font-weight: 500;
    color: #fff;
    margin: 0 0 24px;
}

.tm-form-embed-wrap iframe {
    width: 100%;
    min-height: 500px;
    border: none;
}

.tm-form-embed-wrap form {
    color: var(--tm-text);
}

.tm-form-embed-wrap input,
.tm-form-embed-wrap select,
.tm-form-embed-wrap textarea {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 6px;
    padding: 10px 12px;
}

.tm-form-embed-wrap label {
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   21. CTA SECTION
   -------------------------------------------------------------------------- */
.tm-single-cta {
    padding: 128px 0;
    text-align: center;
    border-top: none;
    background: #5522dd;
}

.tm-single-cta .tm-cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.tm-single-cta .tm-cta-inner h2 {
    font-size: 2.5rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.05em;
    margin: 0 0 16px;
}

.tm-single-cta .tm-cta-inner p {
    font-size: 16px;
    line-height: 1.6;
    color: #ffffff;
    margin: 0 0 24px;
}

.tm-cta-actions {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

/* CTA buttons — white hover on purple background */
.tm-single-cta .ascential-btn:hover {
    background-image: url('/white-btn-hover.svg') !important;
    color: #000 !important;
}

/* --------------------------------------------------------------------------
   22. RELATED PRODUCTS (uses .tm-catalog-card from tm-catalog.css)
   -------------------------------------------------------------------------- */
.tm-single-wrap .tm-catalog-grid {
    grid-template-columns: repeat(4, 1fr);
}

.tm-single-wrap .tm-catalog-card {
    border: 1px solid var(--tm-border);
    border-radius: var(--tm-radius);
    transition: border-color 0.3s;
}

.tm-single-wrap .tm-catalog-card:hover {
    border-color: var(--tm-purple);
}

/* Catalog card classes referenced in template */
.tm-catalog-card-image {
    position: relative;
    overflow: hidden;
}

.tm-catalog-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    background: var(--tm-bg-alt);
}

.tm-catalog-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.tm-catalog-card:hover .tm-catalog-card-overlay {
    opacity: 1;
}

.tm-catalog-card-view {
    color: #fff;
    font-size: 24px;
}

.tm-catalog-card-body {
    padding: 16px;
}

.tm-catalog-card-title {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    margin: 0 0 8px;
}

.tm-catalog-card-excerpt {
    font-size: 13px;
    color: var(--tm-text-muted);
    line-height: 1.5;
    display: block;
    margin-bottom: 8px;
}

.tm-catalog-card-cat {
    font-size: 11px;
    color: var(--tm-orange);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   23. DIVISION MODAL — Floating card (bottom-right)
   -------------------------------------------------------------------------- */
.tm-division-modal {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 50;
    width: 320px;
    transform: translateY(120%);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
    pointer-events: none;
}

.tm-division-modal.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.tm-division-modal-backdrop {
    position: fixed;
    inset: 0;
    background: transparent;
    z-index: -1;
}

.tm-division-modal-content {
    background: var(--tm-bg-alt);
    border: 1px solid rgba(85,34,221,0.5);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.tm-division-modal-header {
    background: rgba(85,34,221,0.2);
    padding: 16px;
    border-bottom: 1px solid rgba(85,34,221,0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-division-modal-close {
    background: none;
    border: none;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    position: absolute;
    top: 12px;
    right: 16px;
}

.tm-division-modal-close:hover {
    color: #fff;
}

.tm-division-modal-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 8px;
    padding: 16px 16px 0;
}

.tm-division-modal-content > p {
    font-size: 13px;
    color: #ffffff;
    margin: 0 0 16px;
    line-height: 1.5;
    padding: 0 16px;
}

.tm-division-modal-content > p strong {
    color: #ffffff;
}

.tm-division-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 16px 16px;
}

.tm-division-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--tm-radius);
    border: 1px solid var(--tm-border);
    background: transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    color: #fff;
    text-align: left;
}

.tm-division-option:hover {
    border-color: var(--tm-orange);
    color: var(--tm-orange);
}

.tm-division-option i {
    font-size: 24px;
    color: var(--tm-orange);
    flex-shrink: 0;
}

.tm-division-option-title {
    font-size: 14px;
    font-weight: 600;
    color: inherit;
}

.tm-division-option-desc {
    font-size: 11px;
    color: #ffffff;
}

/* --------------------------------------------------------------------------
   25. SCROLL REVEAL ANIMATION
   -------------------------------------------------------------------------- */
.tm-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.tm-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* --------------------------------------------------------------------------
   26. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */

/* 1199px — large tablets / small desktops */
@media (max-width: 1199px) {
    .tm-single-wrap .tm-catalog-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tm-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tm-sticky-tabs {
        justify-content: flex-start !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
    }

    .tm-sticky-tabs::-webkit-scrollbar {
        display: none !important;
    }

    .tm-tabs-scroll {
        min-width: max-content !important;
        flex-shrink: 0 !important;
        flex-wrap: nowrap !important;
    }

    .tm-tab-link {
        flex: 0 0 auto !important;
        padding: 15px 20px !important;
        font-size: 14px !important;
        min-width: 100px !important;
        white-space: nowrap !important;
    }
}

/* 991px — tablets */
@media (max-width: 991px) {
    .tm-single-hero {
        padding: 190px 0 48px;
    }

    .tm-hero-title {
        font-size: 34px;
    }

    .tm-section {
        padding: 60px 0;
    }

    .tm-section-title,
    .tm-section-heading {
        font-size: 22px;
        margin-bottom: 32px;
    }

    .tm-lineup-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tm-single-cta {
        padding: 80px 0;
    }

    .tm-single-cta .tm-cta-inner h2 {
        font-size: 2rem;
    }

    .tm-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .tm-innovation-grid {
        flex-wrap: wrap;
    }

    .tm-innovation-card {
        min-width: 280px;
    }
}

/* 767px — mobile landscape / small tablets */
@media (max-width: 767px) {
    .tm-single-hero .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .tm-single-hero {
        padding: 170px 0 40px;
    }

    .tm-hero-title {
        font-size: 28px;
    }

    .tm-hero-excerpt {
        font-size: 15px;
    }

    .tm-section {
        padding: 48px 0;
    }

    .tm-section-title,
    .tm-section-heading {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .tm-lineup-grid {
        grid-template-columns: 1fr;
    }

    .tm-hero-thumbs {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }

    .tm-spec-table td,
    .tm-spec-table th {
        padding: 10px 14px;
        font-size: 13px;
    }

    .tm-spec-table td:first-child,
    .tm-spec-table th:first-child {
        width: 45%;
    }

    .tm-single-cta {
        padding: 64px 0;
    }

    .tm-single-cta .tm-cta-inner h2 {
        font-size: 1.75rem;
    }

    .tm-overview-narrow {
        margin: 0 auto;
    }

    .tm-breadcrumb {
        margin-bottom: 2px;
    }

    .tm-quote-text {
        font-size: 1.125rem;
    }

    .tm-software-grid {
        grid-template-columns: 1fr;
    }

    .tm-division-modal {
        width: calc(100% - 32px);
        left: 16px;
        right: 16px;
    }
}

/* 480px — mobile portrait */
@media (max-width: 480px) {
    .tm-hero-title {
        font-size: 24px;
    }

    .tm-gallery-grid {
        grid-template-columns: 1fr;
    }

    .tm-hero-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }

    .tm-hero-actions {
        gap: 16px;
    }

    .tm-cta-actions {
        flex-direction: column;
        align-items: center;
    }

    .tm-ticker-track::before,
    .tm-ticker-track::after {
        width: 48px;
    }

    .tm-lineup-grid {
        gap: 16px;
    }

    .tm-single-cta .tm-cta-inner h2 {
        font-size: 1.5rem;
    }
}

/* --------------------------------------------------------------------------
   27. UTILITY OVERRIDES + MISC
   -------------------------------------------------------------------------- */

/* Weglot language switcher — ensure it works in dark context */
.tm-single-wrap .weglot-container {
    z-index: 100;
}

/* Ensure container max-width works */
.tm-single-wrap .container {
    position: relative;
    z-index: 1;
}

/* Match catalog full-width container */
.tm-single-hero .container {
    max-width: 100%;
    width: 100%;
    padding-left: 50px;
    padding-right: 50px;
}

/* Hide variant content by default (JS toggles display) */
.tm-variant-content {
    display: none;
}

.tm-variant-content.active {
    display: block;
}

/* Animation: accordion sweep open */
@keyframes tm-accordion-sweep {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.tm-accordion-open .tm-accordion-body {
    animation: tm-accordion-sweep 0.3s ease;
}

/* --------------------------------------------------------------------------
   HERO TICKERS — animated sliders inside the hero column
   -------------------------------------------------------------------------- */
.tm-hero-tickers {
    margin: 20px 0 24px;
    position: relative;
}

.tm-hero-tickers .tm-ticker-track {
    margin-bottom: 8px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 9999px;
    padding: 6px 0;
}

.tm-hero-tickers .tm-ticker-track:last-child {
    margin-bottom: 0;
}

/* Slower animation in hero */
.tm-hero-tickers .tm-ticker-left {
    animation-duration: 60s;
}

.tm-hero-tickers .tm-ticker-right {
    animation-duration: 65s;
}

.tm-hero-tickers .tm-ticker-item {
    font-size: 12px;
    padding: 8px 14px;
    gap: 6px;
}

.tm-hero-tickers .tm-ticker-item i {
    font-size: 12px;
}

/* Fade edges to solid black inside the pill */
.tm-hero-tickers .tm-ticker-track::before,
.tm-hero-tickers .tm-ticker-track::after {
    width: 56px;
    border-radius: 9999px;
}

.tm-hero-tickers .tm-ticker-track::before {
    background: linear-gradient(90deg, #000 0%, transparent 100%);
}

.tm-hero-tickers .tm-ticker-track::after {
    background: linear-gradient(270deg, #000 0%, transparent 100%);
}

/* --------------------------------------------------------------------------
   STATIC PILLS — flex-wrap display for section 4
   -------------------------------------------------------------------------- */
.tm-static-pills {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 960px;
    margin: 0 auto;
}

.tm-static-pills-group {
    width: 100%;
}

/* Legacy override — kept for backward compat */
.tm-static-pills-group .tm-ticker-heading {
    font-size: 1.5rem;
    text-transform: none;
    letter-spacing: -0.02em;
    margin-top: 0;
    margin-bottom: 16px;
    text-align: center;
}

.tm-static-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.tm-static-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 9999px;
    border: 1px solid var(--tm-border);
    background: rgba(255,255,255,0.04);
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    white-space: nowrap;
}

.tm-static-pill i {
    font-size: 13px;
    color: var(--tm-orange);
    flex-shrink: 0;
}

.tm-static-pill-test {
    border-color: rgba(85,34,221,0.3);
    background: rgba(85,34,221,0.05);
}

@media (max-width: 991px) {
    .tm-static-pills {
        gap: 32px;
    }
}

@media (max-width: 575px) {
    .tm-static-pill {
        font-size: 12px;
        padding: 8px 14px;
        gap: 6px;
    }

    .tm-static-pill i {
        font-size: 12px;
    }

    .tm-hero-tickers .tm-ticker-item {
        font-size: 11px;
        padding: 6px 12px;
    }

    .tm-hero-tickers .tm-ticker-track::before,
    .tm-hero-tickers .tm-ticker-track::after {
        width: 32px;
    }
}

/* --------------------------------------------------------------------------
   FEAT GRID — compact icon-card grid for Features, Tests, Applications
   -------------------------------------------------------------------------- */
.tm-feat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.tm-feat-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid var(--tm-border);
    border-radius: var(--tm-radius);
    background: rgba(255,255,255,0.03);
    transition: border-color 0.2s;
}

.tm-feat-card:hover {
    border-color: rgba(221,119,34,0.25);
}

.tm-feat-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(221,119,34,0.12);
    color: var(--tm-orange);
    font-size: 14px;
    flex-shrink: 0;
}

.tm-feat-label {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Tests — purple accent */
.tm-feat-card--test .tm-feat-icon {
    background: rgba(85,34,221,0.12);
    color: var(--tm-purple);
}

.tm-feat-card--test:hover {
    border-color: rgba(85,34,221,0.3);
}

/* Applications — same grid but teal-ish accent */
.tm-feat-card--app .tm-feat-icon {
    background: rgba(85,34,221,0.10);
    color: var(--tm-purple);
}

.tm-feat-card--app:hover {
    border-color: rgba(85,34,221,0.25);
}

/* When apps grid is inside a column, allow smaller min */
.col-lg-4 .tm-feat-grid--apps,
.col-lg-6 .tm-feat-grid--apps {
    grid-template-columns: 1fr;
}

@media (max-width: 575px) {
    .tm-feat-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .tm-feat-card {
        padding: 10px 12px;
        gap: 10px;
    }

    .tm-feat-icon {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .tm-feat-label {
        font-size: 12px;
    }
}

/* Print styles */
@media print {
    .tm-single-wrap {
        background: #fff;
        color: #000;
    }

    .tm-sticky-tabs,
    .tm-lightbox,
    .tm-division-modal,
    .tm-hero-glow,
    .tm-hero-bg-image,
    .tm-ticker-tooltip {
        display: none !important;
    }

    .tm-section {
        padding: 24px 0;
    }

    .tm-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* --------------------------------------------------------------------------
   CLASS ALIGNMENT — Classes used in template but generated by parallel agent
   -------------------------------------------------------------------------- */

/* Quotes center wrapper (template uses tm-quotes-center, CSS had tm-quotes-grid) */
.tm-quotes-center {
    max-width: 48rem;
    margin: 0 auto;
}

/* Why Ascential items (template uses tm-why-item, CSS had tm-why-list-item) */
.tm-why-item {
    display: flex;
    gap: 16px;
}

.tm-why-item > i {
    font-size: 1.875rem;
    color: var(--tm-orange);
    flex-shrink: 0;
    margin-top: 4px;
}

.tm-why-item h4 {
    font-size: 1.125rem;
    font-weight: 500;
    color: #fff;
    margin: 0 0 8px;
}

.tm-why-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #ffffff;
    margin: 0;
}

/* Combined heading for Apps/Detection/Components section */
.tm-combined-heading {
    font-size: 1.35rem;
    text-transform: none;
    letter-spacing: -0.01em;
    color: var(--tm-orange);
    margin-bottom: 24px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.tm-combined-heading i {
    font-size: 16px;
}

/* Component list */
.tm-component-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tm-component-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #ffffff;
}

.tm-component-list li i {
    margin-top: 3px;
    flex-shrink: 0;
}

/* Hero highlights label */
.tm-hero-highlights-label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tm-orange);
    margin-bottom: 16px;
    font-weight: 500;
}

/* Scroll cards for innovation + resources combined section */
.tm-scroll-card {
    min-width: 320px;
    scroll-snap-align: start;
    border-radius: var(--tm-radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    transition: border-color 0.3s;
    text-decoration: none;
    color: var(--tm-text);
}

.tm-scroll-card:hover {
    color: var(--tm-text);
    text-decoration: none;
}

.tm-scroll-card-innovation {
    border: 1px solid rgba(85,34,221,0.4);
    background: linear-gradient(to bottom, rgba(85,34,221,0.05), transparent);
}

.tm-scroll-card-innovation:hover {
    border-color: rgba(85,34,221,0.6);
}

.tm-scroll-card-resource {
    border: 1px solid var(--tm-border);
    background: transparent;
}

.tm-scroll-card-resource:hover {
    border-color: var(--tm-orange);
    color: #fff;
}

.tm-scroll-card-thumb {
    width: 100%;
    height: 120px;
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    margin-bottom: 16px;
}

.tm-scroll-card-type {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--tm-orange);
    margin-bottom: 8px;
    font-weight: 500;
}

.tm-scroll-card-title {
    font-size: 1rem;
    font-weight: 500;
    color: #fff;
    margin: 0 0 8px;
}

.tm-scroll-card-excerpt {
    font-size: 13px;
    line-height: 1.5;
    color: #ffffff;
    margin: 0;
}

/* Division modal body */
.tm-division-modal-body {
    padding: 16px;
}

.tm-division-modal-body > p {
    font-size: 13px;
    color: #ffffff;
    margin: 0 0 12px;
}

.tm-division-modal-header span {
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}
