/**
 * Trading ERP — interactive product page (scoped under .xeosol-trading-erp)
 */

.xeosol-trading-erp {
    --ter-accent: var(--xeo-orange, #F5A623);
    --ter-glass: rgba(8, 18, 36, 0.78);
    --ter-glass-border: rgba(255, 255, 255, 0.12);
}

.xeosol-trading-erp .xp-trust-line {
    margin-top: 14px;
    font-size: 13px;
    opacity: 0.85;
}

/* Section system */
.ter-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    padding: 5px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ter-accent);
    background: rgba(245, 166, 35, 0.12);
    border: 1px solid rgba(245, 166, 35, 0.25);
}

.ter-section-head {
    max-width: 720px;
    margin-bottom: 32px;
}
.ter-section-head .xp-heading,
.ter-section-head h2 {
    margin: 0 0 12px;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--xeo-navy, #07182F);
}
.ter-section-head .ter-lead {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: var(--xeo-muted, #5a6778);
}

.ter-band {
    padding: 64px 0;
}
#purchase-to-profit {
    padding-top: 96px;
}
.ter-band--surface {
    background: var(--xeo-surface, #F5F7FB);
    border-top: 1px solid var(--xeo-border);
    border-bottom: 1px solid var(--xeo-border);
}
.ter-band--dark {
    background: linear-gradient(135deg, var(--xeo-navy) 0%, var(--xeo-navy-mid, #0E2342) 100%);
    color: #fff;
}
.ter-band--dark .ter-section-head h2,
.ter-band--dark .xp-heading { color: #fff; }
.ter-band--dark .ter-lead { color: rgba(255, 255, 255, 0.78); }

/* Hero */
.ter-hero__grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 48px;
    align-items: center;
}
.ter-hero__grid .xp-hero__inner { max-width: none; }

.xeosol-trading-erp .xp-hero {
    overflow: visible;
    background:
        linear-gradient(180deg, rgba(147, 197, 253, 0.1) 0%, transparent 32%),
        radial-gradient(ellipse 58% 62% at 82% 38%, rgba(59, 130, 246, 0.22) 0%, transparent 64%),
        radial-gradient(ellipse 48% 44% at 12% 78%, rgba(245, 166, 35, 0.14) 0%, transparent 58%),
        linear-gradient(168deg, #0B1E3A 0%, #10284A 48%, #16345C 100%);
}
.xeosol-trading-erp .xp-hero::before {
    background-image:
        radial-gradient(rgba(186, 214, 255, 0.22) 1px, transparent 1px),
        linear-gradient(rgba(186, 214, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(186, 214, 255, 0.12) 1px, transparent 1px);
    background-size: 18px 18px, 56px 56px, 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 90% 82% at 50% 40%, #000 8%, rgba(0, 0, 0, 0.55) 62%, transparent 92%);
    mask-image: radial-gradient(ellipse 90% 82% at 50% 40%, #000 8%, rgba(0, 0, 0, 0.55) 62%, transparent 92%);
    opacity: 1;
}
.xeosol-trading-erp .xp-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 8%, rgba(245, 166, 35, 0.35) 50%, transparent 92%);
    pointer-events: none;
    z-index: 2;
}
.xeosol-trading-erp .xp-hero__orb {
    display: block;
    opacity: 0.9;
}
.xeosol-trading-erp .xp-hero__orb--1 {
    background: rgba(96, 165, 250, 0.32);
}
.xeosol-trading-erp .xp-hero__orb--2 {
    background: rgba(245, 166, 35, 0.18);
}
.xeosol-trading-erp .xp-hero .xp-hero__title em {
    background-image: linear-gradient(105deg, #fff8e4 0%, #ffc44d 34%, #f5a623 68%, #ffd36a 100%);
    background-size: 100% auto;
    background-repeat: no-repeat;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.ter-hero__visual {
    position: relative;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}
.ter-hero__visual::before {
    content: "";
    position: absolute;
    inset: 8% 6%;
    background: radial-gradient(ellipse at 50% 42%, rgba(245, 166, 35, 0.16) 0%, transparent 70%);
    filter: blur(26px);
    pointer-events: none;
}
.ter-hero__visual .ter-orbit {
    position: relative;
    z-index: 1;
    max-width: 100%;
    padding: 0;
}
@media (min-width: 992px) {
    .ter-hero__visual .ter-orbit__canvas {
        --orbit-radius: 196px;
        --node-size: 72px;
        width: min(100%, 520px);
        margin-bottom: 36px;
    }
}

.ter-hero__panel {
    position: relative;
    width: 100%;
    max-width: 460px;
    padding: 20px;
    border-radius: 18px;
    background: var(--ter-glass);
    border: 1px solid var(--ter-glass-border);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
}

.ter-hero-tabs__nav {
    display: flex;
    gap: 6px;
    margin-bottom: 16px;
    padding: 4px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.ter-hero-tabs__btn {
    flex: 1;
    padding: 10px 8px;
    border: none;
    border-radius: 9px;
    background: transparent;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.ter-hero-tabs__btn i {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
}
.ter-hero-tabs__btn.is-active {
    background: rgba(245, 166, 35, 0.18);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(245, 166, 35, 0.35);
}
.ter-hero-tabs__btn:focus-visible {
    outline: 2px solid var(--ter-accent);
    outline-offset: 2px;
}

.ter-hero-tabs__panel { display: none; animation: terFadeIn 0.35s ease; }
.ter-hero-tabs__panel.is-active { display: block; }

@keyframes terFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.ter-hero-mock__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}
.ter-hero-mock__head strong { color: #fff; font-size: 13px; }

.ter-hero-mock__live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #86efac;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.28);
}
.ter-hero-mock__dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #4ade80;
}

.ter-hero-mock__row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    margin-bottom: 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.72);
}
.ter-hero-mock__row i { color: var(--ter-accent); width: 16px; text-align: center; }
.ter-hero-mock__row--highlight {
    border-color: rgba(34, 197, 94, 0.3);
    background: rgba(34, 197, 94, 0.08);
    color: #bbf7d0;
}

.ter-hero-mock__flow {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
}
.ter-hero-mock__pill {
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.75);
}
.ter-hero-mock__pill--ok {
    background: rgba(34, 197, 94, 0.12);
    color: #86efac;
}

/* Hero actions & stats */
.ter-hero__actions {
    flex-wrap: wrap;
    gap: 12px;
}
.ter-hero__demo-btn {
    padding-left: 28px !important;
    padding-right: 28px !important;
}
.ter-hero__scroll-link i {
    font-size: 11px;
    margin-left: 4px;
    opacity: 0.85;
}
.ter-hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 24px;
    max-width: 420px;
}

.ter-hero__qualities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    max-width: 480px;
}
.ter-hero__qualities li {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
}
.ter-hero__qualities li:last-child {
    color: #fcd34d;
    background: rgba(245, 166, 35, 0.16);
    border-color: rgba(245, 166, 35, 0.35);
}

/* Professional dashboard mock */
.ter-dash {
    position: relative;
    width: 100%;
    max-width: 480px;
    border-radius: 18px;
    background: var(--ter-glass);
    border: 1px solid var(--ter-glass-border);
    box-shadow: 0 28px 64px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(18px);
    overflow: hidden;
}
.ter-dash__chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.18);
}
.ter-dash__url {
    margin-left: 8px;
    flex: 1;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}
.ter-dash__body {
    display: grid;
    grid-template-columns: 52px 1fr;
    min-height: 320px;
}
.ter-dash__rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 8px;
    background: rgba(0, 0, 0, 0.22);
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}
.ter-dash__rail-item {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    background: transparent;
}
.ter-dash__rail-item.is-active {
    color: var(--ter-accent);
    background: rgba(245, 166, 35, 0.16);
}
.ter-dash__main {
    padding: 16px 16px 18px;
}
.ter-dash__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}
.ter-dash__head strong {
    display: block;
    font-size: 14px;
    color: #fff;
}
.ter-dash__head span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.48);
}
.ter-dash__ai {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #fcd34d;
    background: rgba(245, 166, 35, 0.14);
    border: 1px solid rgba(245, 166, 35, 0.28);
    white-space: nowrap;
}
.ter-dash__kpis {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}
.ter-dash__kpi {
    padding: 10px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.ter-dash__kpi span {
    display: block;
    font-size: 9px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.42);
    margin-bottom: 4px;
}
.ter-dash__kpi strong {
    display: block;
    font-size: 15px;
    color: #fff;
    letter-spacing: -0.02em;
}
.ter-dash__kpi em {
    display: block;
    font-style: normal;
    font-size: 10px;
    color: #86efac;
    margin-top: 2px;
}
.ter-dash__chart {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 72px;
    margin-bottom: 14px;
    padding: 10px 8px 6px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}
.ter-dash__chart span {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, rgba(245, 166, 35, 0.85) 0%, rgba(245, 166, 35, 0.18) 100%);
}
.ter-dash__chart span:nth-child(1) { height: 38%; }
.ter-dash__chart span:nth-child(2) { height: 52%; }
.ter-dash__chart span:nth-child(3) { height: 44%; }
.ter-dash__chart span:nth-child(4) { height: 70%; }
.ter-dash__chart span:nth-child(5) { height: 58%; }
.ter-dash__chart span:nth-child(6) { height: 86%; }
.ter-dash__chart span:nth-child(7) { height: 74%; background: linear-gradient(180deg, #86efac 0%, rgba(34, 197, 94, 0.18) 100%); }
.ter-dash__pipeline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.55);
}
.ter-dash__pipeline span {
    padding: 5px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.78);
}
.ter-dash__pipeline i { font-size: 8px; color: var(--ter-accent); }
.ter-dash__pipeline-ok {
    background: rgba(34, 197, 94, 0.14) !important;
    color: #86efac !important;
}
.ter-hero__stat {
    padding: 12px 10px;
    border-radius: 10px;
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.ter-hero__stat strong {
    display: block;
    font-size: 12px;
    color: #fff;
    margin-bottom: 2px;
}
.ter-hero__stat span {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.52);
    line-height: 1.35;
}

/* Screen chrome (hero panel) */
.ter-screen__chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ter-screen__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}
.ter-screen__dot:first-child { background: rgba(239, 68, 68, 0.65); }
.ter-screen__dot:nth-child(2) { background: rgba(245, 166, 35, 0.65); }
.ter-screen__dot:nth-child(3) { background: rgba(34, 197, 94, 0.65); }
.ter-screen__url {
    margin-left: auto;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 0.02em;
}

.ter-catalog-mock {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}
.ter-catalog-mock__item {
    padding: 8px 6px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    font-size: 9px;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    line-height: 1.35;
}
.ter-catalog-mock__img {
    display: block;
    height: 36px;
    margin-bottom: 6px;
    border-radius: 6px;
    background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(245,166,35,0.12));
}

/* Section 2 — three pillars */
.ter-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 36px;
}
.ter-pillar {
    padding: 24px 20px;
    border-radius: var(--xeo-radius-lg, 16px);
    border: 1px solid var(--xeo-border);
    background: #fff;
    box-shadow: var(--xeo-shadow);
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.ter-pillar:hover,
.ter-pillar:focus-visible {
    transform: translateY(-4px);
    box-shadow: var(--xeo-shadow-lg);
    border-color: rgba(245, 166, 35, 0.45);
    outline: none;
}
.ter-pillar__icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--xeo-surface);
    color: var(--ter-accent);
    font-size: 20px;
}
.ter-pillar h3 {
    margin: 0 0 4px;
    font-size: 1.15rem;
    color: var(--xeo-navy);
}
.ter-pillar__tagline {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--xeo-muted);
}
.ter-pillar ul {
    margin: 0;
    padding: 0 0 0 18px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--xeo-text);
}

.ter-more-label {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--xeo-muted);
}
.ter-more {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 36px;
}
.ter-more__card {
    padding: 20px 16px;
    border-radius: var(--xeo-radius);
    border: 1px solid var(--xeo-border);
    background: #fff;
    box-shadow: var(--xeo-shadow);
    cursor: pointer;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.ter-more__card:hover,
.ter-more__card:focus-visible {
    transform: translateY(-3px);
    box-shadow: var(--xeo-shadow-lg);
    border-color: rgba(245, 166, 35, 0.45);
    outline: none;
}
.ter-more__card i {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--ter-accent);
}
.ter-more__card h3 {
    margin: 0 0 6px;
    font-size: 1rem;
    color: var(--xeo-navy);
}
.ter-more__card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--xeo-muted);
}

/* Before / after */
.ter-ba {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 32px;
}
.ter-ba__col {
    padding: 24px 22px;
    border-radius: var(--xeo-radius-lg);
    border: 1px solid var(--xeo-border);
    background: #fff;
    box-shadow: var(--xeo-shadow);
}
.ter-ba__col--before {
    border-color: rgba(239, 68, 68, 0.2);
}
.ter-ba__col--after {
    border-color: rgba(245, 166, 35, 0.35);
    background: linear-gradient(180deg, #fff 0%, rgba(245, 166, 35, 0.04) 100%);
}
.ter-ba__col h3 {
    margin: 0 0 14px;
    font-size: 1rem;
    color: var(--xeo-navy);
    display: flex;
    align-items: center;
    gap: 8px;
}
.ter-ba__col--before h3 i { color: #ef4444; }
.ter-ba__col--after h3 i { color: var(--ter-accent); }
.ter-ba__col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.ter-ba__col li {
    position: relative;
    padding: 8px 0 8px 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--xeo-text);
    border-bottom: 1px solid var(--xeo-border);
}
.ter-ba__col li:last-child { border-bottom: none; }

/* Flow strip */
.ter-flow-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
    padding: 20px 16px;
    border-radius: var(--xeo-radius-lg);
    background: var(--xeo-surface);
    border: 1px solid var(--xeo-border);
}
.ter-flow-strip__step {
    padding: 12px 16px;
    border-radius: 10px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--xeo-border);
    min-width: 100px;
}
.ter-flow-strip__step strong {
    display: block;
    font-size: 13px;
    color: var(--xeo-navy);
    margin-bottom: 2px;
}
.ter-flow-strip__step span {
    font-size: 11px;
    color: var(--xeo-muted);
}
.ter-flow-strip__step--highlight {
    border-color: rgba(245, 166, 35, 0.45);
    background: rgba(245, 166, 35, 0.08);
}
.ter-flow-strip__arrow {
    color: var(--ter-accent);
    font-size: 12px;
    opacity: 0.7;
}

.ter-section-cta {
    margin-top: 8px;
}
.ter-section-cta--center {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-align: center;
    margin-top: 0;
}

/* Connected modules orbit */
.ter-orbit-band {
    position: relative;
    overflow: visible;
    padding: 88px 0;
}
.ter-orbit-band__orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(40px);
}
.ter-orbit-band__orb--1 {
    width: 280px;
    height: 280px;
    top: -60px;
    right: 8%;
    background: rgba(245, 166, 35, 0.16);
}
.ter-orbit-band__orb--2 {
    width: 320px;
    height: 320px;
    bottom: -80px;
    left: 4%;
    background: rgba(56, 189, 248, 0.1);
}
.ter-orbit-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    gap: 40px 56px;
    align-items: center;
}
.ter-orbit-layout__copy .xp-heading {
    max-width: 16ch;
}
.ter-orbit-layout__note {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 22px 0 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255, 255, 255, 0.62);
}
.ter-orbit-layout__note span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    border-radius: 999px;
    color: #fff;
    background: rgba(245, 166, 35, 0.22);
    border: 1px solid rgba(245, 166, 35, 0.4);
}
.ter-orbit-layout__note i {
    width: 18px;
    height: 1px;
    background: rgba(255, 255, 255, 0.28);
}

.ter-orbit {
    width: 100%;
    max-width: 660px;
    margin: 0 auto;
    padding: 8px 0 12px;
}
.ter-orbit__canvas {
    --orbit-radius: 232px;
    --node-size: 80px;
    position: relative;
    width: min(100%, 620px);
    aspect-ratio: 1;
    margin: 0 auto 44px;
    overflow: visible;
}
.ter-orbit__svg {
    display: block;
    width: 1em;
    height: 1em;
    overflow: visible;
}
.ter-orbit__glow {
    position: absolute;
    inset: 12%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.38) 0%, rgba(245, 166, 35, 0.08) 38%, rgba(56, 189, 248, 0.05) 58%, transparent 74%);
    filter: blur(28px);
    animation: terOrbitGlow 8s ease-in-out infinite;
}
@keyframes terOrbitGlow {
    0%, 100% { opacity: 0.75; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}
.ter-orbit__aura {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 65%;
    height: 65%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.02) 46%, transparent 70%);
}
.ter-orbit__sweep {
    position: absolute;
    inset: 10%;
    border-radius: 50%;
    pointer-events: none;
    background: conic-gradient(from 0deg, transparent 0deg, rgba(245, 166, 35, 0.12) 24deg, transparent 78deg);
    -webkit-mask: radial-gradient(circle, transparent 36%, #000 48%, #000 68%, transparent 76%);
    mask: radial-gradient(circle, transparent 36%, #000 48%, #000 68%, transparent 76%);
    animation: terOrbitSweep 22s linear infinite;
    opacity: 0.7;
}
@keyframes terOrbitSweep {
    to { transform: rotate(360deg); }
}
.ter-orbit__beam {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: calc(var(--orbit-radius) - (var(--node-size) / 2) - 6px);
    transform-origin: 50% 0;
    transform: translate(-50%, 0) rotate(180deg);
    background: linear-gradient(to bottom, rgba(245, 166, 35, 0), rgba(245, 166, 35, 0.75));
    z-index: 1;
    pointer-events: none;
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
.ter-orbit__beam::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--ter-accent);
    transform: translate(-50%, 50%);
    box-shadow: 0 0 12px rgba(245, 166, 35, 0.85);
}

.ter-orbit__core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 109px;
    height: 109px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 2;
    transition: background 0.55s ease, box-shadow 0.55s ease;
}
.ter-orbit__core-halo {
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    border: none;
    background: radial-gradient(circle, transparent 62%, rgba(255, 255, 255, 0.08) 70%, transparent 72%);
    pointer-events: none;
}
.ter-orbit__core--navy {
    color: #fff;
    background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.24) 0%, transparent 42%),
        linear-gradient(155deg, #1e3a6e 0%, #0e2342 52%, #07182f 100%);
    box-shadow:
        0 24px 56px rgba(7, 24, 47, 0.58),
        0 0 0 1px rgba(255, 255, 255, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}
.ter-orbit__core--gold {
    color: #fff;
    background:
        radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.3) 0%, transparent 42%),
        linear-gradient(155deg, #fbbf24 0%, #f5a623 52%, #c2410c 100%);
    box-shadow:
        0 28px 70px rgba(245, 166, 35, 0.5),
        0 0 40px rgba(245, 166, 35, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.32);
}
.ter-orbit__core-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.ter-orbit__core-icon .ter-orbit__svg {
    width: 47px;
    height: 47px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}
.ter-orbit__core-icon.is-switching {
    animation: terOrbitIconIn 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes terOrbitIconIn {
    0% { opacity: 0.3; transform: scale(0.78); }
    100% { opacity: 1; transform: scale(1); }
}
.ter-orbit.is-paused .ter-orbit__core--navy {
    box-shadow:
        0 28px 64px rgba(56, 189, 248, 0.28),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
}
.ter-orbit.is-paused .ter-orbit__core--gold {
    box-shadow:
        0 28px 64px rgba(245, 166, 35, 0.55),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.ter-orbit__compass {
    position: absolute;
    inset: 0;
    z-index: 3;
}
.ter-orbit__node {
    position: absolute;
    top: 50%;
    left: 50%;
    width: var(--node-size);
    height: var(--node-size);
    padding: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(calc(-1 * var(--orbit-radius))) rotate(calc(-1 * var(--angle)));
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.ter-orbit__node-pedestal {
    width: var(--node-size);
    height: var(--node-size);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: inherit;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%),
        rgba(8, 18, 36, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
        0 14px 32px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.4s ease, color 0.4s ease, background 0.4s ease;
}
.ter-orbit__node-pedestal .ter-orbit__svg {
    width: 40px;
    height: 40px;
}
.ter-orbit__node-pedestal--navy { color: #bae6fd; }
.ter-orbit__node-pedestal--gold { color: #fde68a; }
.ter-orbit__node-label {
    position: absolute;
    top: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    pointer-events: none;
    transition: color 0.35s ease;
}
.ter-orbit__node:focus-visible .ter-orbit__node-pedestal {
    outline: 2px solid var(--ter-accent);
    outline-offset: 3px;
}
.ter-orbit__node:hover .ter-orbit__node-pedestal {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.28);
}
.ter-orbit__node:hover .ter-orbit__node-label {
    color: rgba(255, 255, 255, 0.78);
}
.ter-orbit__node.is-active .ter-orbit__node-pedestal {
    transform: translateY(-4px) scale(1.06);
}
.ter-orbit__node.is-active:hover .ter-orbit__node-pedestal {
    transform: translateY(-6px) scale(1.08);
}
.ter-orbit__node--navy.is-active .ter-orbit__node-pedestal {
    color: #e0f2fe;
    border-color: rgba(125, 211, 252, 0.55);
    background:
        radial-gradient(circle at 50% 28%, rgba(56, 189, 248, 0.32) 0%, transparent 62%),
        rgba(8, 28, 52, 0.92);
    box-shadow:
        0 0 0 5px rgba(56, 189, 248, 0.14),
        0 18px 36px rgba(14, 165, 233, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.ter-orbit__node--gold.is-active .ter-orbit__node-pedestal {
    color: #fff7d6;
    border-color: rgba(253, 230, 138, 0.6);
    background:
        radial-gradient(circle at 50% 28%, rgba(251, 191, 36, 0.36) 0%, transparent 62%),
        rgba(42, 28, 8, 0.92);
    box-shadow:
        0 0 0 5px rgba(245, 166, 35, 0.16),
        0 18px 36px rgba(245, 166, 35, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.ter-orbit__node--navy.is-active .ter-orbit__node-label { color: #bae6fd; }
.ter-orbit__node--gold.is-active .ter-orbit__node-label { color: #fde68a; }

.ter-orbit__copy {
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
    min-height: 156px;
}
.ter-orbit__eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #7dd3fc;
    transition: color 0.4s ease;
}
.ter-orbit[data-tone="gold"] .ter-orbit__eyebrow { color: #fcd34d; }
.ter-orbit__headline {
    margin: 0 0 10px;
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    font-weight: 600;
    letter-spacing: -0.028em;
    line-height: 1.28;
    color: rgba(255, 255, 255, 0.96);
}
.ter-orbit__line {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.55);
}
.ter-orbit__open {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(245, 166, 35, 0.35);
    background: rgba(245, 166, 35, 0.1);
    color: #fde68a;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}
.ter-orbit__open::after {
    content: "→";
    font-weight: 500;
}
.ter-orbit__open:hover {
    background: rgba(245, 166, 35, 0.18);
    border-color: rgba(245, 166, 35, 0.55);
}

/* AI assists */
.ter-ai-assist {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.ter-ai-assist__card {
    padding: 22px 18px;
    border-radius: var(--xeo-radius-lg);
    border: 1px solid var(--xeo-border);
    background: #fff;
    box-shadow: var(--xeo-shadow);
    transition: transform 0.2s, border-color 0.2s;
}
.ter-ai-assist__card:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 166, 35, 0.35);
}
.ter-ai-assist__card i {
    display: block;
    margin-bottom: 12px;
    font-size: 22px;
    color: var(--ter-accent);
}
.ter-ai-assist__card h3 {
    margin: 0 0 8px;
    font-size: 0.95rem;
    color: var(--xeo-navy);
}
.ter-ai-assist__card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--xeo-muted);
}
.ter-hero__audience {
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.68);
}

.ter-section-head--center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}
.ter-section-head--center .xp-heading,
.ter-section-head--center .ter-lead {
    margin-left: auto;
    margin-right: auto;
}

/* Data foundation */
.ter-foundation {
    margin: 36px 0 8px;
    padding: 28px 28px 24px;
    border-radius: var(--xeo-radius-lg, 16px);
    background: #fff;
    border: 1px solid var(--xeo-border);
    box-shadow: var(--xeo-shadow);
}
.ter-foundation__title {
    margin: 0 0 8px;
    font-size: 1.15rem;
    color: var(--xeo-navy);
}
.ter-foundation__lead {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--xeo-muted);
}
.ter-foundation__row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.ter-foundation__row span {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: var(--xeo-navy);
    background: var(--xeo-surface, #F5F7FB);
    border: 1px solid var(--xeo-border);
}
.ter-foundation__end {
    color: #fff !important;
    background: var(--xeo-navy) !important;
    border-color: var(--xeo-navy) !important;
}

/* Purchase-to-profit nodes */
.ter-nodes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 36px;
}
.ter-nodes__item {
    padding: 18px 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--xeo-border);
    box-shadow: var(--xeo-shadow);
}
.ter-nodes__item i {
    display: block;
    margin-bottom: 10px;
    font-size: 18px;
    color: var(--ter-accent);
}
.ter-nodes__item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    color: var(--xeo-navy);
}
.ter-nodes__item span {
    font-size: 13px;
    line-height: 1.45;
    color: var(--xeo-muted);
}
.ter-nodes__item--end {
    border-color: rgba(245, 166, 35, 0.45);
    background: linear-gradient(180deg, #fff 0%, rgba(245, 166, 35, 0.08) 100%);
}

.ter-fork {
    padding: 28px;
    border-radius: var(--xeo-radius-lg, 16px);
    background: #fff;
    border: 1px solid var(--xeo-border);
}
.ter-fork__head h3 {
    margin: 0 0 8px;
    font-size: 1.15rem;
    color: var(--xeo-navy);
}
.ter-fork__head p {
    margin: 0 0 20px;
    font-size: 15px;
    color: var(--xeo-muted);
}
.ter-fork__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 20px;
}
.ter-fork__card {
    padding: 16px 18px;
    border-radius: 12px;
    border: 1px solid var(--xeo-border);
    background: var(--xeo-surface, #F5F7FB);
}
.ter-fork__card p { margin: 8px 0 0; font-size: 14px; color: var(--xeo-navy); }

/* Inventory */
.ter-stock {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 24px;
    align-items: start;
}
.ter-stock__hub {
    padding: 24px;
    border-radius: var(--xeo-radius-lg, 16px);
    background: #fff;
    border: 1px solid var(--xeo-border);
    box-shadow: var(--xeo-shadow);
}
.ter-stock__hub i { font-size: 22px; color: var(--ter-accent); margin-bottom: 10px; }
.ter-stock__hub h3 { margin: 0 0 12px; color: var(--xeo-navy); }
.ter-stock__hub ul { margin: 0; padding-left: 18px; color: var(--xeo-muted); font-size: 14px; line-height: 1.8; }
.ter-stock__moves {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.ter-stock__moves article {
    padding: 20px 18px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--xeo-border);
}
.ter-stock__moves strong { display: block; color: var(--xeo-navy); margin-bottom: 4px; }
.ter-stock__moves span { font-size: 13px; color: var(--xeo-muted); }

/* Channels */
.ter-channels {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}
.ter-channels span {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
}
.ter-channels__end {
    color: #07182F !important;
    background: var(--ter-accent) !important;
    border-color: var(--ter-accent) !important;
}

/* Finance */
.ter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 28px;
    padding: 0;
    list-style: none;
}
.ter-chips li {
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.06);
}
.ter-arap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}
.ter-arap article,
.ter-finance-grid article {
    padding: 22px 20px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.ter-arap h3,
.ter-finance-grid h3 {
    margin: 0 0 12px;
    font-size: 1.05rem;
    color: #fff;
}
.ter-arap ol {
    margin: 0 0 12px;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    line-height: 1.7;
}
.ter-arap p,
.ter-finance-grid p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.62);
}
.ter-finance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

/* Business types */
.ter-types {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.ter-types__card {
    padding: 22px 18px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--xeo-border);
    box-shadow: var(--xeo-shadow);
}
.ter-types__card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--xeo-navy); }
.ter-types__card p { margin: 0; font-size: 13px; line-height: 1.5; color: var(--xeo-muted); }

/* Migration */
.ter-migrate {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}
.ter-fork .ter-flow-strip { margin-bottom: 0; }
.ter-proof-caption {
    margin: 28px 0 12px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}
.ter-proof--tight { margin-top: 0; }
.ter-migrate__sources {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 12px;
}
.ter-migrate__sources span {
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid var(--xeo-border);
    background: #fff;
    color: var(--xeo-navy);
}
.ter-migrate__arrow { display: block; color: var(--ter-accent); margin-bottom: 12px; }
.ter-migrate__target {
    display: inline-block;
    margin-bottom: 16px;
    padding: 12px 22px;
    border-radius: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--xeo-navy);
}
.ter-migrate__list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 0 12px;
    padding: 0;
    list-style: none;
}
.ter-migrate__list li {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    background: rgba(245, 166, 35, 0.12);
    color: var(--xeo-navy);
}
.ter-migrate__note {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: var(--xeo-muted);
}

/* Feature matrix */
.ter-matrix {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}
.ter-matrix article {
    padding: 20px 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid var(--xeo-border);
    box-shadow: var(--xeo-shadow);
}
.ter-matrix h3 {
    margin: 0 0 12px;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ter-accent);
}
.ter-matrix ul {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    line-height: 1.7;
    color: var(--xeo-navy);
}

a.ter-ai-assist__card {
    text-decoration: none;
    color: inherit;
    display: block;
}
a.ter-ai-assist__card:hover { color: inherit; }

.ter-journey {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-top: 8px;
}
.ter-journey::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--xeo-border), var(--ter-accent), var(--xeo-border));
    z-index: 0;
}
.ter-journey__step {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 12px;
}
.ter-journey__icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid var(--xeo-border);
    color: var(--ter-accent);
    font-size: 20px;
    box-shadow: var(--xeo-shadow);
    transition: transform 0.25s, border-color 0.25s;
}
.ter-journey__step:hover .ter-journey__icon {
    transform: translateY(-4px);
    border-color: var(--ter-accent);
}
.ter-journey__step h3 {
    margin: 0 0 6px;
    font-size: 0.95rem;
    color: var(--xeo-navy);
}
.ter-journey__step p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: var(--xeo-muted);
}

/* Included vs modules */
.ter-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.ter-split__col {
    padding: 24px 22px;
    border-radius: var(--xeo-radius-lg, 16px);
    border: 1px solid var(--xeo-border);
    background: #fff;
    box-shadow: var(--xeo-shadow);
}
.ter-split__col--included {
    border-color: rgba(245, 166, 35, 0.35);
}
.ter-split__col h3 {
    margin: 0 0 12px;
    font-size: 1.05rem;
    color: var(--xeo-navy);
}
.ter-split__col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.ter-split__col li {
    position: relative;
    padding: 8px 0 8px 26px;
    font-size: 14px;
    line-height: 1.5;
    color: var(--xeo-text);
    border-bottom: 1px solid var(--xeo-border);
}
.ter-split__col li:last-child { border-bottom: none; }
.ter-split__col li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 11px;
    color: var(--ter-accent);
}

/* Growth path cards */
.ter-path {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.ter-path__card {
    padding: 22px 20px;
    border-radius: var(--xeo-radius);
    border: 1px solid var(--xeo-border);
    background: #fff;
    box-shadow: var(--xeo-shadow);
    transition: transform 0.25s, box-shadow 0.25s;
}
.ter-path__card:hover {
    transform: translateY(-4px);
    box-shadow: var(--xeo-shadow-lg);
}
.ter-path__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-bottom: 12px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 800;
    color: #fff;
    background: var(--xeo-navy);
}
.ter-path__card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    color: var(--xeo-navy);
}
.ter-path__card p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--xeo-muted);
}
.ter-path__card ul {
    margin: 0;
    padding: 0 0 0 18px;
    font-size: 13px;
    color: var(--xeo-text);
}

/* Pain grid */
.ter-pains {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.ter-pain {
    padding: 20px 18px;
    border-radius: var(--xeo-radius);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s;
}
.ter-pain:hover { background: rgba(255, 255, 255, 0.09); }
.ter-pain i {
    display: block;
    margin-bottom: 10px;
    font-size: 22px;
    color: var(--ter-accent);
}
.ter-pain h3 {
    margin: 0 0 8px;
    font-size: 0.95rem;
    color: #fff;
}
.ter-pain p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.72);
}

/* Proof timeline (dark band) */
.ter-proof {
    display: flex;
    align-items: stretch;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.ter-proof__step {
    flex: 1 1 120px;
    max-width: 160px;
    padding: 18px 14px;
    border-radius: 12px;
    text-align: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.ter-proof__step i {
    display: block;
    margin-bottom: 8px;
    font-size: 20px;
    color: var(--ter-accent);
}
.ter-proof__step strong {
    display: block;
    font-size: 12px;
    color: #fff;
    margin-bottom: 4px;
}
.ter-proof__step span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 1.4;
}
.ter-proof__step--highlight {
    border-color: rgba(34, 197, 94, 0.35);
    background: rgba(34, 197, 94, 0.1);
}
.ter-proof__arrow {
    display: flex;
    align-items: center;
    color: var(--ter-accent);
    font-size: 14px;
    opacity: 0.7;
}

/* Module picker grid */
.ter-mod-pick {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}
.ter-mod-pick__card {
    padding: 16px 14px;
    border-radius: var(--xeo-radius);
    border: 1px solid var(--xeo-border);
    background: #fff;
    cursor: pointer;
    text-align: left;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.ter-mod-pick__card:hover {
    border-color: rgba(245, 166, 35, 0.5);
    transform: translateY(-2px);
    box-shadow: var(--xeo-shadow);
}
.ter-mod-pick__card i {
    display: block;
    margin-bottom: 8px;
    font-size: 18px;
    color: var(--ter-accent);
}
.ter-mod-pick__card strong {
    display: block;
    font-size: 13px;
    color: var(--xeo-navy);
    margin-bottom: 4px;
}
.ter-mod-pick__card span {
    font-size: 11px;
    color: var(--xeo-muted);
    line-height: 1.4;
}

/* Module explorer tabs */
.ter-mod-explorer {
    border-radius: var(--xeo-radius-lg);
    border: 1px solid var(--xeo-border);
    background: #fff;
    box-shadow: var(--xeo-shadow-lg);
    overflow: hidden;
}
.ter-mod-tabs__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
    background: var(--xeo-surface);
    border-bottom: 1px solid var(--xeo-border);
}
.ter-mod-tabs__btn {
    flex: 1 1 auto;
    min-width: 100px;
    padding: 14px 12px;
    border: none;
    border-bottom: 3px solid transparent;
    background: transparent;
    font-size: 12px;
    font-weight: 700;
    color: var(--xeo-muted);
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.ter-mod-tabs__btn:hover {
    color: var(--xeo-navy);
    background: rgba(255, 255, 255, 0.6);
}
.ter-mod-tabs__btn.is-active {
    color: var(--xeo-navy);
    background: #fff;
    border-bottom-color: var(--ter-accent);
}
.ter-mod-tabs__btn:focus-visible {
    outline: 2px solid var(--ter-accent);
    outline-offset: -2px;
}

.ter-mod-tabs__body { padding: 28px 26px; }
.ter-mod-tabs__panel { display: none; animation: terFadeIn 0.3s ease; }
.ter-mod-tabs__panel.is-active { display: block; }

.ter-mod-tabs__panel h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    color: var(--xeo-navy);
}
.ter-mod-tabs__panel > p {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.6;
    color: var(--xeo-muted);
    max-width: 680px;
}
.ter-mod-feats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}
.ter-mod-feat {
    display: flex;
    gap: 12px;
    padding: 14px;
    border-radius: 10px;
    border: 1px solid var(--xeo-border);
    background: var(--xeo-surface);
}
.ter-mod-feat i {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: var(--ter-accent);
    font-size: 14px;
}
.ter-mod-feat strong {
    display: block;
    font-size: 13px;
    color: var(--xeo-navy);
    margin-bottom: 3px;
}
.ter-mod-feat span {
    font-size: 12px;
    line-height: 1.45;
    color: var(--xeo-muted);
}

/* Stats row */
.ter-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.ter-stat {
    padding: 20px 16px;
    border-radius: var(--xeo-radius);
    text-align: center;
    background: #fff;
    border: 1px solid var(--xeo-border);
    box-shadow: var(--xeo-shadow);
}
.ter-stat strong {
    display: block;
    font-size: 1.6rem;
    color: var(--xeo-navy);
    margin-bottom: 4px;
}
.ter-stat span {
    font-size: 12px;
    color: var(--xeo-muted);
}

/* Entity, demo, notice, CTA */
.ter-entity {
    padding: 18px 20px;
    background: var(--xeo-surface);
    border-radius: 10px;
    border: 1px solid var(--xeo-border);
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.65;
    color: var(--xeo-muted);
}

.ter-demo {
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
    counter-reset: demo-step;
}
.ter-demo li {
    position: relative;
    padding: 0 0 20px 48px;
    counter-increment: demo-step;
}
.ter-demo li::before {
    content: counter(demo-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    background: var(--xeo-navy);
    color: #fff;
}
.ter-demo li::after {
    content: "";
    position: absolute;
    left: 15px;
    top: 32px;
    bottom: 0;
    width: 2px;
    background: var(--xeo-border);
}
.ter-demo li:last-child { padding-bottom: 0; }
.ter-demo li:last-child::after { display: none; }
.ter-demo strong { display: block; margin-bottom: 4px; color: var(--xeo-navy); }
.ter-demo span { font-size: 14px; color: var(--xeo-muted); }

.ter-notice {
    margin: 28px 0;
    padding: 20px 22px;
    background: #fff8ed;
    border: 1px solid #f0d9a8;
    border-left: 4px solid var(--ter-accent);
    border-radius: 10px;
}
.ter-notice h2 { margin-top: 0 !important; font-size: 1.15rem !important; }
.ter-notice-table {
    width: 100%;
    border-collapse: collapse;
    margin: 12px 0 0;
    font-size: 14px;
}
.ter-notice-table th,
.ter-notice-table td {
    padding: 10px 12px;
    border: 1px solid #f0d9a8;
    text-align: left;
    vertical-align: top;
}
.ter-notice-table th {
    background: rgba(245, 166, 35, 0.08);
    font-weight: 700;
    width: 38%;
}

.ter-mid-cta {
    margin: 32px 0;
    padding: 24px 28px;
    border-radius: var(--xeo-radius-lg);
    background: linear-gradient(135deg, var(--xeo-navy) 0%, var(--xeo-navy-mid) 100%);
    color: #fff;
    text-align: center;
}
.ter-mid-cta h3 { margin: 0 0 8px; color: #fff; font-size: 1.2rem; }
.ter-mid-cta p { margin: 0 0 16px; font-size: 15px; opacity: 0.88; }

.ter-faq details {
    border: 1px solid var(--xeo-border);
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 10px;
    background: #fff;
}
.ter-faq summary { cursor: pointer; font-weight: 700; color: var(--xeo-navy); }
.ter-faq p { margin: 12px 0 0; font-size: 15px; line-height: 1.6; color: var(--xeo-muted); }

.xeosol-trading-erp .xp-detail__grid {
    grid-template-columns: 1fr;
    gap: 0;
}
.xeosol-trading-erp .xp-detail__content {
    max-width: none;
    width: 100%;
}
.xeosol-trading-erp #modules .ter-section-head {
    max-width: none;
}

.xp-aside__nav a.is-active {
    color: var(--ter-accent);
    font-weight: 700;
}

/* Responsive */
@media (max-width: 991px) {
    .ter-hero__grid { grid-template-columns: 1fr; gap: 36px; }
    .ter-hero__visual { min-height: auto; }
    .ter-hero__panel { max-width: 100%; }
    .ter-dash { max-width: 100%; }
    .ter-hero__stats { max-width: 100%; }
    .ter-orbit-layout { grid-template-columns: 1fr; gap: 28px; }
    .ter-orbit-layout__copy { text-align: center; }
    .ter-orbit-layout__copy .xp-heading { max-width: none; }
    .ter-orbit-layout__note { justify-content: center; }
    .ter-orbit-layout__copy .ter-section-cta { display: flex; justify-content: center; }
    .ter-orbit__canvas {
        --orbit-radius: 176px;
        --node-size: 64px;
        width: min(100%, 440px);
        margin-bottom: 40px;
    }
    .ter-orbit__core { width: 94px; height: 94px; }
    .ter-orbit__core-icon .ter-orbit__svg { width: 36px; height: 36px; }
    .ter-orbit__node-pedestal .ter-orbit__svg { width: 31px; height: 31px; }
    .ter-orbit__copy { min-height: 140px; }
    .ter-pillars { grid-template-columns: 1fr; }
    .ter-more { grid-template-columns: repeat(2, 1fr); }
    .ter-ba { grid-template-columns: 1fr; }
    .ter-ai-assist { grid-template-columns: repeat(2, 1fr); }
    .ter-journey { grid-template-columns: 1fr 1fr; gap: 24px; }
    .ter-journey::before { display: none; }
    .ter-split { grid-template-columns: 1fr; }
    .ter-path { grid-template-columns: 1fr; }
    .ter-pains { grid-template-columns: 1fr; }
    .ter-mod-pick { grid-template-columns: repeat(2, 1fr); }
    .ter-mod-feats { grid-template-columns: 1fr; }
    .ter-stats { grid-template-columns: repeat(2, 1fr); }
    .ter-nodes { grid-template-columns: repeat(2, 1fr); }
    .ter-fork__grid { grid-template-columns: 1fr; }
    .ter-stock { grid-template-columns: 1fr; }
    .ter-arap { grid-template-columns: 1fr; }
    .ter-finance-grid { grid-template-columns: 1fr; }
    .ter-types { grid-template-columns: repeat(2, 1fr); }
    .ter-matrix { grid-template-columns: repeat(2, 1fr); }
    .ter-proof__arrow { display: none; }
}
@media (max-width: 575px) {
    .ter-hero__stats { grid-template-columns: 1fr; }
    .ter-dash__kpis { grid-template-columns: 1fr; }
    .ter-dash__kpi strong { font-size: 18px; }
    .ter-flow-strip__arrow { display: none; }
    .ter-flow-strip__step { min-width: calc(50% - 8px); flex: 1 1 calc(50% - 8px); }
    .ter-ai-assist { grid-template-columns: 1fr; }
    .ter-more { grid-template-columns: 1fr; }
    .ter-journey { grid-template-columns: 1fr; }
    .ter-mod-pick { grid-template-columns: 1fr; }
    .ter-mod-tabs__btn { min-width: 50%; }
    .ter-stats { grid-template-columns: 1fr; }
    .ter-nodes { grid-template-columns: 1fr; }
    .ter-stock__moves { grid-template-columns: 1fr; }
    .ter-types { grid-template-columns: 1fr; }
    .ter-matrix { grid-template-columns: 1fr; }
    .ter-hero-tabs__btn { font-size: 10px; padding: 8px 4px; }
    .ter-orbit__canvas {
        --orbit-radius: 142px;
        --node-size: 54px;
        width: min(100%, 340px);
        margin-bottom: 44px;
    }
    .ter-orbit__node-label { font-size: 11px; top: calc(100% + 8px); }
    .ter-orbit__node-pedestal .ter-orbit__svg { width: 25px; height: 25px; }
    .ter-orbit__core { width: 79px; height: 79px; }
    .ter-orbit__core-icon .ter-orbit__svg { width: 31px; height: 31px; }
    .ter-orbit__headline { font-size: 1.2rem; }
}

@media (prefers-reduced-motion: reduce) {
    .ter-orbit__glow,
    .ter-orbit__sweep { animation: none; }
    .ter-orbit__beam { transition: none; }
    .ter-orbit__core-icon.is-switching { animation: none; }
}
