﻿/* Core Trade Max homepage — scoped wrapper */
.tc-home {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 1;
  display: flow-root;
}

:root {
      --bg-dark: #0F1729;
      --bg-card: #1e293b;
      --bg-card-light: #334155;
      --text: #f8fafc;
      --text-muted: #94a3b8;
      --primary: #C8440C;
      --primary-hover: #A8380A;
      --accent: #14b8a6;
      --border: rgba(148, 163, 184, 0.15);
    }

    * { box-sizing: border-box; }
.tc-home {
      font-family: 'Inter', system-ui, sans-serif;
      background: #0F1729;
      color: var(--text);
      overflow-x: hidden;
    }

    .logo-diamond {
      width: 28px;
      height: 28px;
      background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
      clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
      display: inline-block;
      margin-right: 0.5rem;
    }

    .gradient-text {
      background: linear-gradient(135deg, #f97316, #fb923c);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      color: transparent;
    }

    .navbar-custom {
      background: rgba(10, 13, 20, 0.9);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--border);
      padding: 0.85rem 0;
    }

    .navbar-toggler-icon {
      filter: invert(1);
    }

    .navbar-brand {
      font-weight: 800;
      font-size: 1.35rem;
      letter-spacing: -0.02em;
    }

    .navbar-brand span { color: var(--text); font-weight: 700; }

    .nav-link .bi-chevron-down { font-size: 0.6rem; margin-left: 0.15rem; opacity: 0.6; }

    .nav-link {
      color: var(--text-muted) !important;
      font-size: 0.9rem;
      font-weight: 500;
      padding: 0.5rem 0.85rem !important;
    }

    .nav-link:hover { color: var(--text) !important; }

    .btn-primary-custom {
      background: #C8440C;
      border: none;
      color: #fff;
      font-weight: 600;
      padding: 0.65rem 1.6rem;
      border-radius: 50px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 20px rgba(200, 68, 12, 0.35);
    }

    .btn-primary-custom:hover {
      background: #A8380A;
      color: #fff;
      transform: translateY(-1px);
      box-shadow: 0 8px 25px rgba(200, 68, 12, 0.35);
    }

    .btn-outline-custom {
      border: 1px solid var(--border);
      color: var(--text);
      font-weight: 500;
      padding: 0.65rem 1.4rem;
      border-radius: 0.5rem;
      background: transparent;
    }

    .btn-outline-custom:hover {
      background: rgba(255,255,255,0.05);
      border-color: rgba(148,163,184,0.3);
      color: var(--text);
    }

    .hero-section {
      padding: 2.5rem 0 4rem;
      background: #0F1729;
      position: relative;
      overflow: hidden;
      margin-top: 0;
    }

    .hero-section::before {
      content: '';
      position: absolute;
      top: 10%;
      right: 0;
      width: 55%;
      height: 80%;
      background: radial-gradient(ellipse at center, rgba(249,115,22,0.14) 0%, transparent 65%);
      pointer-events: none;
    }

    .badge-trusted {
      background: rgba(249,115,22,0.12);
      color: #fb923c;
      border: 1px solid rgba(249,115,22,0.25);
      font-size: 0.8rem;
      font-weight: 600;
      padding: 0.45rem 1rem;
      border-radius: 50px;
    }

    .tc-home .hero-title {
      font-size: clamp(2.2rem, 5vw, 3.5rem);
      font-weight: 800;
      line-height: 1.1;
      letter-spacing: -0.03em;
      color: #ffffff;
    }

    .tc-home .hero-subtitle {
      color: #94a3b8;
      font-size: 1.15rem;
      line-height: 1.7;
      max-width: 540px;
    }

    .hero-section__demo-row {
      margin-top: 2.5rem;
    }

    .hero-section__visual-spacer {
      min-height: 1px;
    }

    .hero-video-wrap {
      perspective: 1200px;
      position: relative;
    }

    .hero-video-wrap::before {
      content: '';
      position: absolute;
      inset: 10% 5%;
      background: radial-gradient(ellipse, rgba(249,115,22,0.18) 0%, transparent 65%);
      filter: blur(40px);
      animation: glowPulse 4s ease-in-out infinite;
      pointer-events: none;
      z-index: 0;
    }

    @keyframes glowPulse {
      0%, 100% { opacity: 0.6; transform: scale(1); }
      50% { opacity: 1; transform: scale(1.05); }
    }

    @keyframes floatDemo {
      0%, 100% { transform: rotateX(4deg) rotateY(-2deg) translateY(0); }
      50% { transform: rotateX(2deg) rotateY(1deg) translateY(-8px); }
    }

    .crm-demo {
      position: relative;
      z-index: 1;
      background: #0b0e14;
      border: 1px solid rgba(148,163,184,0.1);
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 32px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03);
    }

    .hero-video-wrap .crm-demo {
      font-size: 0.8rem;
      animation: floatDemo 10s ease-in-out infinite;
      transform-style: preserve-3d;
    }

    .hero-video-wrap .crm-sidebar {
      width: 210px;
    }

    .hero-video-wrap .crm-tab {
      font-size: 0.56rem;
      padding: 0.55rem 0.05rem;
      letter-spacing: -0.01em;
    }

    .hero-video-wrap .crm-topbar {
      flex-shrink: 0;
    }

    @media (min-width: 992px) {
      .hero-video-wrap .crm-demo { font-size: 0.84rem; }
    }

    @media (min-width: 1200px) {
      .hero-video-wrap .crm-demo { font-size: 0.88rem; }
    }

    .crm-layout {
      display: flex;
    }

    .flow-connector {
      width: 2px;
      height: 12px;
      background: rgba(148,163,184,0.2);
      margin: 0 auto;
    }

    .flow-card {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(148,163,184,0.12);
      border-radius: 8px;
      padding: 0.65rem 0.75rem;
      position: relative;
    }

    .flow-card.flow-triggered {
      border-color: rgba(34,197,94,0.45);
    }

    .flow-card.flow-highlight {
      border-color: rgba(249,115,22,0.55);
      background: rgba(249,115,22,0.06);
    }

    .flow-card.active {
      border-color: rgba(249,115,22,0.5);
      background: rgba(249,115,22,0.08);
      box-shadow: 0 0 20px rgba(249,115,22,0.15);
    }

    .flow-card.done {
      border-color: rgba(34,197,94,0.35);
    }

    .flow-card .flow-label {
      color: var(--primary);
      font-size: 0.58rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      margin-bottom: 0.15rem;
    }

    .flow-card .flow-text { font-size: 0.68rem; color: var(--text); }

    .flow-status {
      position: absolute;
      top: 0.45rem;
      right: 0.55rem;
      font-size: 0.55rem;
      font-weight: 700;
      padding: 0.1rem 0.35rem;
      border-radius: 4px;
    }

    .flow-status.running { background: rgba(249,115,22,0.2); color: #fb923c; }
    .flow-status.complete { background: rgba(34,197,94,0.15); color: #4ade80; }
    .flow-status.triggered { background: rgba(34,197,94,0.15); color: #4ade80; }

    .flow-running-label {
      font-size: 0.62rem;
      font-weight: 700;
      color: #fb923c;
      margin-right: 0.15rem;
    }

    .flow-header-title {
      font-size: 0.82rem;
      font-weight: 600;
      color: #f8fafc;
      margin-bottom: 0.15rem;
    }

    .flow-header-title span {
      color: #64748b;
      font-weight: 500;
    }

    .flow-step-label {
      font-size: 0.62rem;
      color: #64748b;
    }

    .flow-steps {
      max-width: 420px;
    }

    .flow-branch {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.5rem;
      margin-top: 0.25rem;
    }

    .seq-step-badge {
      background: rgba(249,115,22,0.12);
      color: #fb923c;
      font-size: 0.58rem;
      font-weight: 700;
      padding: 0.22rem 0.6rem;
      border-radius: 50px;
      border: 1px solid rgba(249,115,22,0.22);
      white-space: nowrap;
    }

    .seq-title {
      font-size: 0.82rem;
      font-weight: 600;
      color: #f8fafc;
      margin-bottom: 0.85rem;
    }

    .seq-title span {
      color: #64748b;
      font-weight: 500;
    }

    .seq-flow {
      position: relative;
      max-width: 460px;
    }

    .seq-flow::before {
      content: '';
      position: absolute;
      left: 50%;
      top: 8px;
      bottom: 8px;
      width: 0;
      border-left: 2px dashed rgba(20,184,166,0.5);
      transform: translateX(-50%);
      z-index: 0;
    }

    .seq-card {
      position: relative;
      background: #181e28;
      border: 1px solid rgba(148,163,184,0.1);
      border-radius: 10px;
      padding: 0.55rem 0.7rem 0.55rem 0.8rem;
      margin-bottom: 0.4rem;
      z-index: 1;
      border-left: 3px solid transparent;
    }

    .seq-card.accent-orange { border-left-color: #f97316; }
    .seq-card.accent-green { border-left-color: #22c55e; }
    .seq-card.accent-yellow { border-left-color: #eab308; }
    .seq-card.accent-muted {
      border-left-color: rgba(148,163,184,0.22);
    }

    .seq-card.seq-active {
      border-color: rgba(249,115,22,0.4);
      box-shadow: 0 0 22px rgba(249,115,22,0.18);
    }

    .seq-card-label {
      font-size: 0.52rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #64748b;
      margin-bottom: 0.22rem;
    }

    .seq-card-body {
      display: flex;
      align-items: center;
      gap: 0.45rem;
    }

    .seq-card-icon {
      width: 22px;
      height: 22px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.68rem;
      flex-shrink: 0;
    }

    .seq-card-icon.orange { background: rgba(249,115,22,0.14); color: #fb923c; }
    .seq-card-icon.green { background: rgba(34,197,94,0.14); color: #4ade80; }
    .seq-card-icon.yellow { background: rgba(234,179,8,0.14); color: #facc15; }
    .seq-card-icon.muted { background: rgba(148,163,184,0.1); color: #94a3b8; }
    .seq-card-icon.blue { background: rgba(96,165,250,0.14); color: #60a5fa; }

    .seq-card-text {
      font-size: 0.68rem;
      font-weight: 500;
      color: #f1f5f9;
    }

    .seq-card-status {
      position: absolute;
      top: 0.48rem;
      right: 0.55rem;
      font-size: 0.55rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 0.22rem;
    }

    .seq-card-status.success { color: #4ade80; }
    .seq-card-status.waiting { color: #94a3b8; }

    .seq-card-status.evaluating {
      color: #60a5fa;
      display: flex;
      align-items: center;
      gap: 0.22rem;
    }

    .seq-spinner.evaluating {
      border-color: rgba(96,165,250,0.2);
      border-top-color: #60a5fa;
    }

    .seq-spinner {
      width: 10px;
      height: 10px;
      border: 1.5px solid rgba(148,163,184,0.25);
      border-top-color: #cbd5e1;
      border-radius: 50%;
      animation: seqSpin 0.75s linear infinite;
    }

    @keyframes seqSpin { to { transform: rotate(360deg); } }

    .seq-gap { height: 8px; }

    .seq-branch { position: relative; z-index: 1; margin-bottom: 0.25rem; }

    .seq-routing-block {
      position: relative;
      z-index: 1;
    }

    .seq-routing-card {
      background: #181e28;
      border: 1px solid rgba(148,163,184,0.1);
      border-radius: 10px;
      padding: 0.5rem 0.65rem;
      border-left: 3px solid #f97316;
      position: relative;
      min-height: 34px;
    }

    .seq-routing-status {
      position: absolute;
      top: 0.5rem;
      right: 0.55rem;
      color: #60a5fa;
      font-size: 0.55rem;
      font-weight: 600;
      display: flex;
      align-items: center;
      gap: 0.28rem;
      letter-spacing: 0.04em;
      text-transform: uppercase;
    }

    .seq-spinner.routing {
      width: 9px;
      height: 9px;
      border-color: rgba(96,165,250,0.2);
      border-top-color: #60a5fa;
    }

    .seq-routing-fork {
      position: relative;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.5rem;
      margin-top: 0.35rem;
      padding-top: 1.15rem;
    }

    .seq-routing-fork::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      width: 0;
      height: 10px;
      border-left: 2px dashed rgba(20,184,166,0.5);
      transform: translateX(-50%);
      z-index: 0;
    }

    .seq-routing-fork::after {
      content: '';
      position: absolute;
      top: 10px;
      left: calc((100% - 0.5rem) / 4);
      width: calc(50% + 0.25rem);
      height: 0;
      border-top: 2px dashed rgba(20,184,166,0.5);
      z-index: 0;
    }

    .seq-branch-card::before {
      content: '';
      position: absolute;
      top: calc(-1.15rem + 10px);
      left: 50%;
      width: 0;
      height: calc(1.15rem - 10px);
      border-left: 2px dashed rgba(20,184,166,0.5);
      transform: translateX(-50%);
      z-index: 0;
    }

    .seq-branch-label {
      font-size: 0.52rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #64748b;
      text-align: center;
      margin-bottom: 0.35rem;
    }

    .seq-branch-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.45rem;
    }

    .seq-branch-card {
      background: #181e28;
      border-radius: 10px;
      padding: 0.52rem 0.55rem;
      position: relative;
      z-index: 1;
    }

    .seq-branch-card.yes {
      border: 1px solid rgba(34,197,94,0.22);
      border-left: 3px solid #4ade80;
      box-shadow: 0 0 20px rgba(34,197,94,0.1);
    }

    .seq-branch-card.no {
      border: 1px solid rgba(59,130,246,0.18);
      border-left: 3px solid rgba(96,165,250,0.35);
      box-shadow: none;
    }

    .seq-routing-block.seq-done.seq-routed .seq-branch-card.yes {
      border-color: rgba(34,197,94,0.35);
      box-shadow: 0 0 22px rgba(34,197,94,0.16);
    }

    .seq-routing-block.seq-done.seq-routed .seq-branch-card.no {
      opacity: 0.38;
      filter: saturate(0.5);
    }

    .seq-routing-block.seq-done.seq-routed .seq-routing-status {
      color: #4ade80 !important;
      letter-spacing: 0.08em;
    }

    .demo-slide[data-pill="3"] .seq-flow {
      padding-bottom: 0.35rem;
    }

    .seq-branch-tag {
      font-size: 0.52rem;
      font-weight: 700;
      margin-bottom: 0.18rem;
    }

    .seq-branch-tag.yes { color: #4ade80; }
    .seq-branch-tag.no { color: #60a5fa; }

    .seq-branch-body {
      display: flex;
      align-items: center;
      gap: 0.35rem;
      font-size: 0.64rem;
      font-weight: 500;
      color: #e2e8f0;
    }

    .crm-sidebar-auto .crm-nav-item { font-size: 0.58rem; padding: 0.32rem 0.75rem; }
    .crm-sidebar-auto .crm-subnav { font-size: 0.55rem; padding-left: 1.85rem; }

    .demo-slide[data-pill="3"] .crm-content {
      overflow-y: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
      flex: 1;
      min-height: 0;
      display: flex;
      flex-direction: column;
    }

    .demo-slide[data-pill="3"] .crm-content::-webkit-scrollbar { display: none; }

    .demo-slide[data-pill="3"] .seq-title {
      margin-bottom: 0.55rem;
      flex-shrink: 0;
    }

    .demo-slide[data-pill="3"] .seq-card {
      padding: 0.52rem 0.65rem 0.52rem 0.75rem;
    }

    .demo-slide[data-pill="3"] .seq-gap { height: 4px; }

    /* Sequences list view */
    .seq-list-page {
      flex: 1;
      min-height: 0;
      display: flex;
      flex-direction: column;
      padding: 0.15rem 0.1rem 0;
    }

    .seq-list-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.75rem;
      margin-bottom: 0.75rem;
      flex-shrink: 0;
    }

    .seq-list-header-left {
      display: flex;
      align-items: center;
      gap: 0.55rem;
      flex-wrap: wrap;
    }

    .seq-list-title {
      font-size: 0.95rem;
      font-weight: 700;
      margin: 0;
      color: #f8fafc;
    }

    .seq-count-badge {
      font-size: 0.55rem;
      font-weight: 600;
      color: #4ade80;
      background: rgba(34,197,94,0.12);
      border: 1px solid rgba(34,197,94,0.25);
      padding: 0.15rem 0.45rem;
      border-radius: 50px;
    }

    .seq-create-btn {
      font-size: 0.58rem;
      font-weight: 600;
      color: #fff;
      background: #C8440C;
      border: none;
      border-radius: 6px;
      padding: 0.38rem 0.65rem;
      white-space: nowrap;
      box-shadow: 0 2px 10px rgba(200, 68, 12, 0.25);
    }

    .seq-table-wrap {
      flex: 1;
      min-height: 0;
      overflow: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    .seq-table-wrap::-webkit-scrollbar { display: none; }

    .seq-table {
      width: 100%;
      border-collapse: separate;
      border-spacing: 0;
      font-size: 0.58rem;
    }

    .seq-table thead th {
      position: sticky;
      top: 0;
      z-index: 2;
      text-align: left;
      font-size: 0.5rem;
      font-weight: 700;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      color: #64748b;
      padding: 0.45rem 0.4rem;
      background: #0b0e14;
      border-bottom: 1px solid rgba(148,163,184,0.1);
    }

    .seq-table tbody td {
      padding: 0.52rem 0.4rem;
      border-bottom: 1px solid rgba(148,163,184,0.06);
      color: #cbd5e1;
      vertical-align: middle;
    }

    .seq-table tbody tr:last-child td { border-bottom: none; }

    .seq-table tbody tr:hover td {
      background: rgba(255,255,255,0.02);
    }

    .seq-name-cell {
      font-weight: 600;
      color: #f1f5f9;
      white-space: nowrap;
    }

    .seq-status {
      display: inline-flex;
      align-items: center;
      gap: 0.28rem;
      font-size: 0.5rem;
      font-weight: 600;
      padding: 0.12rem 0.38rem;
      border-radius: 50px;
      text-transform: capitalize;
    }

    .seq-status.active {
      color: #4ade80;
      background: rgba(34,197,94,0.12);
      border: 1px solid rgba(34,197,94,0.22);
    }

    .seq-status.paused {
      color: #fb923c;
      background: rgba(249,115,22,0.1);
      border: 1px solid rgba(249,115,22,0.22);
    }

    .seq-status.draft {
      color: #94a3b8;
      background: rgba(148,163,184,0.08);
      border: 1px solid rgba(148,163,184,0.15);
    }

    .seq-conv-wrap {
      display: flex;
      align-items: center;
      gap: 0.35rem;
      min-width: 72px;
    }

    .seq-conv-bar {
      flex: 1;
      height: 4px;
      background: rgba(148,163,184,0.12);
      border-radius: 4px;
      overflow: hidden;
      min-width: 36px;
    }

    .seq-conv-fill {
      height: 100%;
      border-radius: 4px;
    }

    .seq-conv-fill.high { background: #4ade80; }
    .seq-conv-fill.mid { background: #facc15; }
    .seq-conv-fill.low { background: #f87171; }

    .seq-conv-pct {
      font-size: 0.52rem;
      font-weight: 600;
      color: #94a3b8;
      min-width: 2.1rem;
      text-align: right;
    }

    .seq-channels {
      display: flex;
      flex-wrap: wrap;
      gap: 0.22rem;
    }

    .seq-channel {
      display: inline-flex;
      align-items: center;
      gap: 0.14rem;
      font-size: 0.48rem;
      font-weight: 500;
      color: #94a3b8;
      background: rgba(148,163,184,0.08);
      border: 1px solid rgba(148,163,184,0.12);
      border-radius: 4px;
      padding: 0.1rem 0.28rem;
      white-space: nowrap;
    }

    .seq-channel i {
      font-size: 0.46rem;
      opacity: 0.85;
    }

    .seq-last-run {
      color: #64748b;
      white-space: nowrap;
    }

    /* Platform Automations — combined Sequences + detail */
    .platform-panel[data-platform="automations"] .crm-content {
      display: flex;
      flex-direction: column;
      min-height: 0;
      overflow: hidden;
      padding: 0.45rem 0.65rem 0.55rem;
    }

    .platform-panel[data-platform="automations"] .crm-nav-item.active {
      color: #fb923c;
    }

    .platform-panel[data-platform="automations"] .crm-subnav span.active {
      color: #f8fafc;
      background: rgba(249,115,22,0.08);
      border-radius: 4px;
      padding: 0.08rem 0.35rem;
    }

    .seq-platform-page {
      display: flex;
      flex-direction: column;
      flex: 1;
      min-height: 0;
      gap: 0;
    }

    .seq-list-compact {
      flex: 0 0 auto;
      max-height: 46%;
      padding: 0;
      overflow: hidden;
      opacity: 1;
      transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, margin 0.5s ease;
    }

    .seq-platform-page.seq-flow-focus .seq-list-compact {
      max-height: 0 !important;
      opacity: 0;
      margin: 0;
      padding: 0;
      pointer-events: none;
    }

    .seq-platform-page.seq-flow-focus .seq-detail-panel {
      flex: 1;
      border-top: none;
      margin-top: 0;
      padding-top: 0;
    }

    .seq-platform-page.seq-flow-focus .seq-detail-body {
      flex: 1;
      min-height: 0;
    }

    .seq-platform-page.seq-flow-focus .seq-detail-flow {
      display: flex;
      align-items: flex-start;
      justify-content: center;
    }

    .seq-list-compact .seq-table-wrap {
      max-height: 118px;
    }

    .seq-list-header-actions {
      display: flex;
      align-items: center;
      gap: 0.35rem;
    }

    .seq-filter-btn {
      font-size: 0.55rem;
      font-weight: 600;
      color: #94a3b8;
      background: rgba(148,163,184,0.06);
      border: 1px solid rgba(148,163,184,0.12);
      border-radius: 6px;
      padding: 0.34rem 0.55rem;
      white-space: nowrap;
    }

    .seq-status-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      flex-shrink: 0;
    }

    .seq-status.active .seq-status-dot { background: #4ade80; box-shadow: 0 0 6px rgba(74,222,128,0.45); }
    .seq-status.paused .seq-status-dot { background: #fb923c; }
    .seq-status.draft .seq-status-dot { background: #64748b; }

    .seq-table tbody tr.selected td {
      background: rgba(249,115,22,0.06);
    }

    .seq-table tbody tr.selected .seq-name-cell {
      color: #fff;
    }

    .seq-conv-wrap.compact {
      gap: 0.28rem;
    }

    .seq-conv-wrap.compact .seq-conv-pct {
      order: -1;
      min-width: 2.4rem;
      color: #cbd5e1;
    }

    .seq-conv-stack {
      flex: 1;
      display: flex;
      height: 4px;
      border-radius: 4px;
      overflow: hidden;
      background: rgba(148,163,184,0.1);
      min-width: 42px;
    }

    .seq-conv-seg {
      height: 100%;
    }

    .seq-conv-seg.low { background: #f87171; }
    .seq-conv-seg.high { background: #2dd4bf; }

    .seq-detail-panel {
      flex: 1;
      min-height: 0;
      display: flex;
      flex-direction: column;
      border-top: 1px solid rgba(148,163,184,0.1);
      margin-top: 0.55rem;
      padding-top: 0.55rem;
    }

    .seq-detail-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
      margin-bottom: 0.55rem;
      flex-shrink: 0;
    }

    .seq-detail-head-left {
      display: flex;
      align-items: center;
      gap: 0.45rem;
      min-width: 0;
    }

    .seq-detail-title {
      font-size: 0.78rem;
      font-weight: 600;
      color: #f8fafc;
      margin: 0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .seq-detail-head .seq-status {
      font-size: 0.48rem;
      padding: 0.1rem 0.34rem;
    }

    .seq-edit-link {
      font-size: 0.55rem;
      font-weight: 600;
      color: #fb923c;
      text-decoration: none;
      white-space: nowrap;
    }

    .seq-edit-link:hover { color: #fdba74; }

    .seq-detail-body {
      flex: 1;
      min-height: 0;
      display: grid;
      grid-template-columns: minmax(0, 1fr) 158px;
      gap: 0.65rem;
    }

    .seq-detail-flow {
      min-height: 0;
      overflow-y: auto;
      scrollbar-width: thin;
      scrollbar-color: rgba(148,163,184,0.2) transparent;
      padding: 0.15rem 0.2rem 0.15rem 0;
    }

    .seq-detail-flow .seq-flow {
      max-width: 252px;
      margin: 0 auto;
      padding-bottom: 0.15rem;
    }

    .seq-detail-flow .seq-flow::before {
      display: none;
    }

    .seq-detail-flow .seq-gap { height: 0; }

    .seq-detail-flow .seq-card {
      padding: 0.38rem 0.44rem 0.4rem;
      border-radius: 8px;
      border: 1px solid rgba(148,163,184,0.1);
      background: linear-gradient(180deg, rgba(22,28,40,0.98) 0%, rgba(14,18,28,0.99) 100%);
      box-shadow: 0 4px 14px rgba(0,0,0,0.18);
    }

    .seq-detail-flow .seq-card-label {
      font-size: 0.44rem;
      letter-spacing: 0.07em;
      margin-bottom: 0.18rem;
      color: #64748b;
    }

    .seq-detail-flow .seq-card-label.label-orange { color: #fb923c; }
    .seq-detail-flow .seq-card-label.label-blue { color: #60a5fa; }
    .seq-detail-flow .seq-card-label.label-yellow { color: #facc15; }

    .seq-detail-flow .seq-card.accent-orange {
      border-color: rgba(249,115,22,0.28);
    }

    .seq-detail-flow .seq-card.accent-blue {
      border-color: rgba(96,165,250,0.28);
    }

    .seq-detail-flow .seq-card.seq-pf-active.accent-orange {
      border-color: rgba(249,115,22,0.58);
      box-shadow: 0 0 0 1px rgba(249,115,22,0.12), 0 0 24px rgba(249,115,22,0.2);
    }

    .seq-detail-flow .seq-card.seq-pf-active.accent-blue {
      border-color: rgba(96,165,250,0.58);
      box-shadow: 0 0 0 1px rgba(96,165,250,0.12), 0 0 24px rgba(96,165,250,0.18);
      animation: seqBlueGlow 2.4s ease-in-out infinite;
    }

    .seq-detail-flow .seq-card.accent-yellow {
      border-color: rgba(249,115,22,0.26);
    }

    .seq-detail-flow .seq-card.seq-pf-active.accent-yellow {
      border-color: rgba(249,115,22,0.55);
      box-shadow: 0 0 0 1px rgba(249,115,22,0.12), 0 0 24px rgba(249,115,22,0.18);
      animation: seqTriggerGlow 2.4s ease-in-out infinite;
    }

    @keyframes seqBlueGlow {
      0%, 100% { box-shadow: 0 0 0 1px rgba(96,165,250,0.1), 0 0 18px rgba(96,165,250,0.14); }
      50% { box-shadow: 0 0 0 1px rgba(96,165,250,0.22), 0 0 28px rgba(96,165,250,0.24); }
    }

    @keyframes seqYellowGlow {
      0%, 100% { box-shadow: 0 0 0 1px rgba(234,179,8,0.1), 0 0 18px rgba(234,179,8,0.12); }
      50% { box-shadow: 0 0 0 1px rgba(234,179,8,0.22), 0 0 28px rgba(234,179,8,0.2); }
    }

    #platformSeqFlow .seq-pf-gap {
      position: relative;
      height: 10px;
      transform-origin: top center;
    }

    #platformSeqFlow .seq-pf-gap::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      width: 2px;
      height: 0;
      transform: translateX(-50%);
      background: linear-gradient(180deg, rgba(148,163,184,0.35), rgba(148,163,184,0.12));
      border-radius: 2px;
    }

    #platformSeqFlow .seq-pf-gap.seq-pf-visible::before {
      animation: platformLineDraw 0.45s ease both;
    }

    @keyframes platformLineDraw {
      from { height: 0; opacity: 0; }
      to { height: 100%; opacity: 1; }
    }

    #platformSeqFlow .seq-pf-gap[data-gap="2"]::before {
      width: 0;
      background: none;
      border-left: 2px dashed rgba(249,115,22,0.52);
    }

    #platformSeqFlow .seq-pf-branch-stem {
      position: relative;
      height: 10px;
      margin: 0 auto;
    }

    #platformSeqFlow .seq-pf-branch-stem::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      width: 0;
      height: 100%;
      border-left: 2px dashed rgba(249,115,22,0.52);
      transform: translateX(-50%);
    }

    #platformSeqFlow .seq-pf-branch-fork {
      position: relative;
      padding-top: 0.72rem;
    }

    #platformSeqFlow .seq-pf-branch-fork::before {
      content: '';
      position: absolute;
      top: 0;
      left: 50%;
      width: 0;
      height: 8px;
      border-left: 2px dashed rgba(249,115,22,0.48);
      transform: translateX(-50%);
    }

    #platformSeqFlow .seq-pf-branch-fork::after {
      content: '';
      position: absolute;
      top: 8px;
      left: 50%;
      width: calc(100% - 0.35rem);
      height: 0;
      border-top: 2px solid rgba(34,197,94,0.55);
      transform: translateX(-50%);
    }

    #platformSeqFlow .seq-pf-branch-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.28rem;
      padding-top: 0.08rem;
    }

    #platformSeqFlow .seq-branch-card {
      position: relative;
      padding: 0.34rem 0.32rem 0.36rem;
      border-radius: 8px;
      background: linear-gradient(180deg, rgba(20,26,38,0.98) 0%, rgba(12,16,26,0.99) 100%);
      border: 1px solid rgba(148,163,184,0.12);
      box-shadow: 0 3px 12px rgba(0,0,0,0.18);
      min-height: 0;
    }

    #platformSeqFlow .seq-branch-card::before {
      top: -0.68rem;
      height: 0.68rem;
    }

    #platformSeqFlow .seq-branch-card.no::before {
      border-left-color: rgba(100,116,139,0.28);
    }

    #platformSeqFlow .seq-branch-card.yes {
      border-color: rgba(34,197,94,0.28);
    }

    #platformSeqFlow .seq-branch-card.no {
      border-color: rgba(71,85,105,0.35);
      opacity: 0.45;
    }

    #platformSeqFlow .seq-branch-head {
      margin-bottom: 0.2rem;
      padding-right: 0;
    }

    #platformSeqFlow .seq-branch-tag {
      font-size: 0.42rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
    }

    #platformSeqFlow .seq-branch-tag.yes { color: #4ade80; }
    #platformSeqFlow .seq-branch-tag.no { color: #64748b; }

    #platformSeqFlow .seq-branch-card.no .seq-card-text {
      color: #94a3b8;
    }

    #platformSeqFlow .seq-branch-status {
      top: 0.3rem;
      right: 0.28rem;
      font-size: 0.42rem;
    }

    #platformSeqFlow .seq-branch-card .seq-card-body {
      gap: 0.28rem;
    }

    #platformSeqFlow .seq-branch-card .seq-card-icon {
      width: 16px;
      height: 16px;
      font-size: 0.5rem;
      border-radius: 5px;
    }

    #platformSeqFlow .seq-branch-card .seq-card-text {
      font-size: 0.5rem;
      line-height: 1.22;
    }

    #platformSeqFlow .seq-branch-card .seq-card-sub {
      font-size: 0.4rem;
      margin-top: 0.04rem;
      line-height: 1.2;
    }

    #platformSeqFlow .seq-branch-card.yes.seq-branch-active {
      border-color: rgba(34,197,94,0.58);
      box-shadow: 0 0 0 1px rgba(34,197,94,0.14), 0 0 24px rgba(34,197,94,0.22);
      animation: seqGreenGlow 2.2s ease-in-out infinite;
    }

    @keyframes seqGreenGlow {
      0%, 100% {
        border-color: rgba(34,197,94,0.48);
        box-shadow: 0 0 0 1px rgba(34,197,94,0.1), 0 0 18px rgba(34,197,94,0.16);
      }
      50% {
        border-color: rgba(34,197,94,0.72);
        box-shadow: 0 0 0 1px rgba(34,197,94,0.2), 0 0 30px rgba(34,197,94,0.28);
      }
    }

    #platformSeqFlow .seq-pf-routed .seq-branch-card.yes {
      border-color: rgba(34,197,94,0.52);
      box-shadow: 0 0 0 1px rgba(34,197,94,0.12), 0 0 22px rgba(34,197,94,0.18);
      animation: none;
    }

    #platformSeqFlow .seq-pf-routed .seq-branch-card.no {
      opacity: 0.32;
      filter: saturate(0.2);
    }

    .seq-card-status.branch-running {
      color: #60a5fa;
      background: rgba(96,165,250,0.1);
      border: 1px solid rgba(96,165,250,0.22);
      padding: 0.05rem 0.22rem;
      border-radius: 50px;
      font-size: 0.4rem;
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 0.12rem;
    }

    .seq-run-spin {
      animation: seqSpin 0.85s linear infinite;
      font-size: 0.44rem;
      line-height: 1;
    }

    .seq-detail-flow .seq-card-body {
      gap: 0.36rem;
      align-items: flex-start;
    }

    .seq-detail-flow .seq-card-icon {
      width: 18px;
      height: 18px;
      font-size: 0.54rem;
      border-radius: 5px;
      flex-shrink: 0;
    }

    .seq-detail-flow .seq-card-text {
      font-size: 0.54rem;
      font-weight: 600;
      line-height: 1.25;
    }

    .seq-detail-flow .seq-card-status {
      top: 0.36rem;
      right: 0.38rem;
      font-size: 0.42rem;
    }

    .seq-detail-flow .seq-card-status.running,
    .seq-detail-flow .seq-card-status.waiting,
    .seq-detail-flow .seq-card-status.evaluating {
      padding: 0.05rem 0.24rem;
      font-size: 0.4rem;
    }

    .seq-detail-flow .seq-card-sub {
      font-size: 0.42rem;
      margin-top: 0.04rem;
    }

    #platformSeqFlow .seq-card.seq-pf-done.accent-orange {
      border-color: rgba(249,115,22,0.38);
      box-shadow: 0 0 18px rgba(249,115,22,0.1);
    }

    #platformSeqFlow .seq-card.seq-pf-done.accent-blue {
      border-color: rgba(96,165,250,0.38);
      box-shadow: 0 0 18px rgba(96,165,250,0.1);
    }

    #platformSeqFlow .seq-card.seq-pf-done.accent-yellow {
      border-color: rgba(249,115,22,0.4);
      box-shadow: 0 0 0 1px rgba(249,115,22,0.08), 0 0 20px rgba(249,115,22,0.12);
    }

    .seq-detail-flow .seq-card-status.success,
    #platformSeqFlow .seq-branch-status.success {
      background: none;
      border: none;
      padding: 0;
      border-radius: 0;
    }

    #platformSeqFlow .seq-branch-status.branch-running {
      padding: 0.05rem 0.22rem;
      font-size: 0.4rem;
    }

    .seq-detail-flow .seq-card-status.waiting,
    .seq-detail-flow .seq-card-status.evaluating {
      background: rgba(15,23,42,0.55);
      border: 1px solid rgba(148,163,184,0.12);
      padding: 0.08rem 0.32rem;
      border-radius: 50px;
    }

    .platform-panel[data-platform="automations"] .seq-detail-flow .seq-card.seq-pf-active.accent-orange {
      animation: seqTriggerGlow 2.4s ease-in-out infinite;
    }

    #platformSeqFlow .seq-pf-step,
    #platformSeqFlow .seq-pf-gap {
      display: none;
    }

    #platformSeqFlow .seq-pf-step.seq-pf-visible,
    #platformSeqFlow .seq-pf-gap.seq-pf-visible {
      display: block;
    }

    #platformSeqFlow .seq-pf-step.seq-pf-visible {
      animation: platformSeqSlideIn 0.52s cubic-bezier(0.4, 0, 0.2, 1) both;
    }

    @keyframes platformSeqSlideIn {
      from { opacity: 0; transform: translateY(-16px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .seq-card-status.success {
      color: #4ade80;
      font-size: 0.52rem;
      font-weight: 600;
    }

    .seq-perf-recent-row.highlight {
      color: #4ade80;
    }

    .seq-perf-recent-row.highlight time {
      color: #4ade80;
    }

    .seq-card-sub {
      font-size: 0.5rem;
      color: #64748b;
      margin-top: 0.06rem;
      font-weight: 500;
    }

    .seq-card-status.running {
      color: #fb923c;
      background: rgba(249,115,22,0.12);
      padding: 0.08rem 0.32rem;
      border-radius: 50px;
      border: 1px solid rgba(249,115,22,0.18);
    }

    .seq-card-status.running .seq-spinner {
      border-color: rgba(249,115,22,0.2);
      border-top-color: #fb923c;
    }

    .seq-perf-panel {
      background: #111827;
      border: 1px solid rgba(148,163,184,0.08);
      border-left: 1px solid rgba(148,163,184,0.12);
      border-radius: 10px;
      padding: 0.58rem 0.62rem;
      overflow-y: auto;
      scrollbar-width: thin;
      scrollbar-color: rgba(148,163,184,0.18) transparent;
    }

    .seq-perf-panel::-webkit-scrollbar { width: 4px; }
    .seq-perf-panel::-webkit-scrollbar-thumb {
      background: rgba(148,163,184,0.18);
      border-radius: 4px;
    }

    .seq-perf-title {
      font-size: 0.48rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #64748b;
      margin-bottom: 0.45rem;
    }

    .seq-perf-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.35rem;
      font-size: 0.54rem;
      color: #94a3b8;
      padding: 0.18rem 0;
    }

    .seq-perf-row strong {
      color: #f8fafc;
      font-weight: 600;
    }

    .seq-perf-section {
      margin-top: 0.5rem;
      padding-top: 0.5rem;
      border-top: 1px solid rgba(148,163,184,0.08);
    }

    .seq-perf-subtitle {
      font-size: 0.48rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: #64748b;
      margin-bottom: 0.38rem;
    }

    .seq-perf-channel-item {
      margin-bottom: 0.42rem;
    }

    .seq-perf-channel-item:last-child {
      margin-bottom: 0;
    }

    .seq-perf-channel-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.35rem;
      font-size: 0.54rem;
      color: #94a3b8;
      margin-bottom: 0.18rem;
    }

    .seq-perf-channel-head strong {
      color: #e2e8f0;
      font-weight: 600;
    }

    .seq-perf-bar {
      height: 4px;
      border-radius: 4px;
      background: rgba(148,163,184,0.12);
      overflow: hidden;
    }

    .seq-perf-bar-fill {
      height: 100%;
      border-radius: 4px;
    }

    .seq-perf-bar-fill.email { background: #60a5fa; }
    .seq-perf-bar-fill.sms { background: #2dd4bf; }
    .seq-perf-bar-fill.push { background: #a78bfa; }

    .seq-perf-recent-row {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 0.35rem;
      font-size: 0.52rem;
      color: #94a3b8;
      padding: 0.16rem 0;
      line-height: 1.35;
    }

    .seq-perf-recent-row time {
      color: #64748b;
      white-space: nowrap;
      flex-shrink: 0;
    }

    @keyframes seqTriggerGlow {
      0%, 100% {
        border-color: rgba(249,115,22,0.48);
        box-shadow: 0 0 0 1px rgba(249,115,22,0.1), 0 0 18px rgba(249,115,22,0.14);
      }
      50% {
        border-color: rgba(249,115,22,0.78);
        box-shadow: 0 0 0 1px rgba(249,115,22,0.22), 0 0 28px rgba(249,115,22,0.28);
      }
    }

    .demo-slide[data-view="list"] .crm-content {
      overflow: hidden;
    }

    .seq-step.seq-pending,
    .seq-step.seq-done,
    .seq-step.seq-active {
      opacity: 1;
      filter: none;
    }

    .seq-card.seq-active,
    .seq-routing-block.seq-active .seq-routing-active-panel {
      transition: box-shadow 0.25s ease, border-color 0.25s ease;
    }

    .seq-routing-block .seq-routing-active-panel {
      display: none;
    }

    .seq-routing-block.seq-active .seq-branch-static {
      display: none;
    }

    .seq-routing-block.seq-active .seq-routing-active-panel {
      display: block;
      box-shadow: 0 0 18px rgba(249,115,22,0.14);
    }

    .demo-carousel {
      position: relative;
      height: 480px;
      transition: height 0.45s ease;
    }

    @media (min-width: 992px) {
      .demo-carousel { height: 520px; }
    }

    @media (min-width: 1200px) {
      .demo-carousel { height: 560px; }
    }

    .demo-carousel.carousel-auto {
      height: 500px;
    }

    @media (min-width: 992px) {
      .demo-carousel.carousel-auto { height: 540px; }
    }

    @media (min-width: 1200px) {
      .demo-carousel.carousel-auto { height: 580px; }
    }

    .demo-slide {
      position: absolute;
      inset: 0;
      opacity: 0;
      visibility: hidden;
      transform: translateY(10px);
      transition: opacity 0.6s ease, transform 0.6s ease, visibility 0.6s;
      pointer-events: none;
    }

    .demo-slide.active {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
      pointer-events: auto;
    }

    .demo-slide .crm-demo {
      height: 100%;
      display: flex;
      flex-direction: column;
    }

    .demo-slide .crm-layout {
      flex: 1;
      min-height: 0;
      height: 100%;
    }

    .demo-slide .crm-main {
      display: flex;
      flex-direction: column;
      min-height: 0;
      min-width: 0;
    }

    .demo-slide .crm-content {
      flex: 1;
      min-height: 0;
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    .crm-tab-panels {
      flex: 1;
      min-height: 0;
      position: relative;
      overflow: hidden;
    }

    .crm-tab-panels .crm-tab-panel {
      position: absolute;
      inset: 0;
      overflow-y: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    .crm-tab-panels .crm-tab-panel::-webkit-scrollbar { display: none; }

    .overview-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.5rem;
      margin-bottom: 0.55rem;
    }

    .overview-box {
      background: rgba(255,255,255,0.025);
      border: 1px solid rgba(148,163,184,0.08);
      border-radius: 8px;
      padding: 0.5rem 0.6rem;
    }

    .overview-box h6 {
      font-size: 0.58rem;
      font-weight: 700;
      color: var(--text-muted);
      text-transform: uppercase;
      letter-spacing: 0.04em;
      margin-bottom: 0.35rem;
    }

    .overview-row {
      display: flex;
      justify-content: space-between;
      font-size: 0.62rem;
      padding: 0.12rem 0;
      color: var(--text-muted);
    }

    .overview-row strong { color: var(--text); font-weight: 500; }

    .cookie-banner {
      position: fixed;
      bottom: 1.25rem;
      right: 1.25rem;
      z-index: 9999;
      background: #151c2c;
      border: 1px solid rgba(148,163,184,0.15);
      border-radius: 12px;
      padding: 1rem 1.15rem;
      max-width: 360px;
      box-shadow: 0 20px 50px rgba(0,0,0,0.5);
      animation: slideUpCookie 0.6s ease 2s both;
    }

    .cookie-banner p { font-size: 0.82rem; color: var(--text-muted); margin: 0.35rem 0 0.85rem; }
    .cookie-banner a { color: var(--primary); }

    .crm-sidebar {
      width: 225px;
      flex-shrink: 0;
      background: #0b0e14;
      border-right: 1px solid rgba(148,163,184,0.08);
      padding: 0.85rem 0;
      overflow-y: auto;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    .crm-sidebar::-webkit-scrollbar { display: none; }

    .crm-nav-item { font-size: 0.62rem; }
    .crm-subnav { padding-left: 1.75rem; font-size: 0.58rem; }

    .positions-header {
      padding: 0.55rem 0.65rem 0.35rem;
      font-size: 0.55rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #64748b;
      border-bottom: 1px solid rgba(148,163,184,0.08);
      background: rgba(0,0,0,0.15);
    }

    .crm-logo {
      display: flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0 0.85rem 0.85rem;
      font-weight: 800;
      font-size: 0.75rem;
      letter-spacing: 0.06em;
      border-bottom: 1px solid rgba(148,163,184,0.08);
      margin-bottom: 0.65rem;
    }

    .crm-logo-icon {
      width: 22px;
      height: 22px;
      background: #C8440C;
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.6rem;
    }

    .crm-search {
      margin: 0 0.65rem 0.75rem;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(148,163,184,0.1);
      border-radius: 6px;
      padding: 0.35rem 0.5rem;
      color: var(--text-muted);
      display: flex;
      align-items: center;
      gap: 0.35rem;
    }

    .crm-nav-item {
      display: flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.4rem 0.85rem;
      color: var(--text-muted);
      border-left: 2px solid transparent;
      transition: all 0.25s ease;
    }

    .crm-nav-item.active {
      color: #f1f5f9;
      background: rgba(249,115,22,0.06);
      border-left-color: #f97316;
    }

    .crm-nav-item.active i { color: #f97316; }

    .crm-nav-item i { font-size: 0.85rem; width: 14px; }

    .crm-subnav {
      padding-left: 2rem;
      margin-top: 0.15rem;
    }

    .crm-subnav span {
      display: block;
      padding: 0.2rem 0;
      color: var(--text-muted);
    }

    .crm-subnav span.active {
      color: #f97316;
      font-weight: 600;
      background: rgba(249,115,22,0.1);
      border-radius: 5px;
      padding: 0.22rem 0.5rem;
      margin-left: -0.5rem;
    }

    .crm-nav-item .nav-chevron {
      margin-left: auto;
      font-size: 0.55rem;
      opacity: 0.45;
    }

    .crm-window-bar {
      display: flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.55rem 0.85rem;
      background: rgba(0,0,0,0.35);
      border-bottom: 1px solid rgba(148,163,184,0.08);
    }

    .win-dot { width: 9px; height: 9px; border-radius: 50%; }
    .win-dot.red { background: #ef4444; }
    .win-dot.yellow { background: #eab308; }
    .win-dot.green { background: #22c55e; }

    .crm-window-title {
      margin-left: 0.35rem;
      color: var(--text-muted);
      font-size: 0.65rem;
      font-weight: 500;
    }

    .comm-filters {
      display: flex;
      align-items: center;
      gap: 0.85rem;
      margin-bottom: 0.7rem;
      padding-bottom: 0.55rem;
      border-bottom: 1px solid rgba(148,163,184,0.07);
      flex-shrink: 0;
      flex-wrap: wrap;
    }

    .comm-filter {
      padding: 0.15rem 0;
      border-radius: 0;
      font-size: 0.64rem;
      font-weight: 500;
      color: #64748b;
      cursor: default;
      border: none;
      background: none;
      transition: color 0.2s ease;
      white-space: nowrap;
    }

    .comm-filter:hover { color: #94a3b8; }

    .comm-filter.active {
      color: #f97316;
      font-weight: 600;
    }

    #panel-communication {
      display: flex;
      flex-direction: column;
      height: 100%;
    }

    .comm-panel-inner {
      display: flex;
      flex-direction: column;
      height: 100%;
      min-height: 0;
    }

    .comm-feed-wrap {
      flex: 1;
      min-height: 0;
      position: relative;
    }

    .comm-feed {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      height: 100%;
      overflow-y: auto;
      padding-bottom: 0.75rem;
      scrollbar-width: none;
      -ms-overflow-style: none;
    }

    .comm-feed::-webkit-scrollbar { display: none; }

    .comm-item {
      display: flex;
      gap: 0.6rem;
      padding: 0.62rem 0.7rem;
      background: rgba(255,255,255,0.028);
      border: 1px solid rgba(148,163,184,0.09);
      border-radius: 10px;
      animation: commIn 0.5s ease both;
      transition: background 0.2s ease, border-color 0.2s ease;
      flex-shrink: 0;
    }

    .comm-item:hover {
      background: rgba(255,255,255,0.04);
      border-color: rgba(148,163,184,0.14);
    }

    .comm-item:nth-child(1) { animation-delay: 0.05s; }
    .comm-item:nth-child(2) { animation-delay: 0.1s; }
    .comm-item:nth-child(3) { animation-delay: 0.15s; }
    .comm-item:nth-child(4) { animation-delay: 0.2s; }
    .comm-item:nth-child(5) { animation-delay: 0.25s; }
    .comm-item:nth-child(6) { animation-delay: 0.3s; }

    @keyframes commIn {
      from { opacity: 0; transform: translateY(8px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .comm-icon {
      width: 30px;
      height: 30px;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      font-size: 0.78rem;
    }

    .comm-icon.email { background: rgba(59,130,246,0.2); color: #60a5fa; }
    .comm-icon.call { background: rgba(34,197,94,0.2); color: #4ade80; }
    .comm-icon.sms { background: rgba(234,179,8,0.2); color: #facc15; }
    .comm-icon.whatsapp { background: rgba(22,163,74,0.22); color: #22c55e; }
    .comm-icon.telegram { background: rgba(59,130,246,0.2); color: #38bdf8; }

    .comm-body { flex: 1; min-width: 0; }

    .comm-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 0.5rem;
      margin-bottom: 0.12rem;
    }

    .comm-type {
      font-size: 0.64rem;
      font-weight: 600;
      color: #cbd5e1;
    }

    .comm-type span { color: #64748b; font-weight: 400; }

    .comm-time {
      font-size: 0.6rem;
      color: #64748b;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .comm-subject {
      font-size: 0.7rem;
      font-weight: 600;
      color: #f1f5f9;
      margin-bottom: 0.18rem;
      line-height: 1.35;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .comm-status {
      font-size: 0.6rem;
      color: #64748b;
      display: flex;
      align-items: center;
      gap: 0.25rem;
    }

    .comm-status .checks { letter-spacing: -0.06em; font-size: 0.68rem; }
    .comm-status .checks.read { color: #60a5fa; }
    .comm-status .checks.delivered { color: #64748b; }
    .comm-status .checks.opened { color: #94a3b8; }
    .comm-status .duration { color: #60a5fa; }
    .comm-status .missed { color: #64748b; }

    .crm-content {
      padding: 0.75rem 0.9rem 0.85rem;
    }

    .demo-slide .crm-content {
      padding: 0.75rem 0.9rem 0.85rem;
    }


    .notif-dot {
      position: absolute;
      top: 0;
      right: 0;
      width: 6px;
      height: 6px;
      background: var(--primary);
      border-radius: 50%;
      border: 1px solid #0f172a;
    }

    .crm-main { flex: 1; min-width: 0; background: #12161f; }

    .crm-topbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 0.6rem 1rem;
      border-bottom: 1px solid rgba(148,163,184,0.08);
      background: #12161f;
    }

    .crm-breadcrumb { color: #64748b; font-size: 0.68rem; }
    .crm-breadcrumb strong { color: var(--text); font-weight: 600; }

    .crm-topbar-icons {
      display: flex;
      align-items: center;
      gap: 0.65rem;
      color: var(--text-muted);
    }

    .crm-avatar-sm {
      width: 26px;
      height: 26px;
      border-radius: 50%;
      background: var(--primary);
      color: #fff;
      font-size: 0.6rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
    }


    .crm-profile {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 0.75rem;
      margin-bottom: 0.65rem;
      flex-wrap: wrap;
      flex-shrink: 0;
    }

    .crm-profile-left { display: flex; align-items: flex-start; gap: 0.65rem; }

    .crm-avatar-lg {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: #f97316;
      color: #fff;
      font-weight: 700;
      font-size: 0.95rem;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }

    .crm-name-row {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.35rem;
      margin-bottom: 0.2rem;
    }

    .crm-name {
      font-weight: 700;
      font-size: 1rem;
      color: #fff;
    }

    .crm-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; align-items: center; }

    .tag {
      font-size: 0.58rem;
      font-weight: 700;
      padding: 0.12rem 0.4rem;
      border-radius: 4px;
      text-transform: uppercase;
      letter-spacing: 0.03em;
    }

    .tag-premium { background: rgba(249,115,22,0.2); color: #fb923c; }
    .tag-cysec { background: rgba(59,130,246,0.2); color: #60a5fa; }
    .tag-active {
      background: rgba(34,197,94,0.15);
      color: #4ade80;
      display: inline-flex;
      align-items: center;
      gap: 0.25rem;
    }

    .pulse-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: #4ade80;
      animation: pulseDot 1.5s ease-in-out infinite;
    }

    @keyframes pulseDot {
      0%, 100% { box-shadow: 0 0 0 0 rgba(74,222,128,0.6); }
      50% { box-shadow: 0 0 0 4px rgba(74,222,128,0); }
    }

    .crm-email { color: var(--text-muted); font-size: 0.68rem; }

    .crm-actions { display: flex; gap: 0.4rem; }

    .crm-btn-sm {
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(148,163,184,0.18);
      color: #e2e8f0;
      padding: 0.3rem 0.65rem;
      border-radius: 6px;
      font-size: 0.62rem;
      font-weight: 500;
      transition: background 0.2s ease, border-color 0.2s ease;
    }

    .crm-btn-sm:hover {
      background: rgba(255,255,255,0.07);
      border-color: rgba(148,163,184,0.28);
    }

    .crm-activity-title {
      font-size: 0.58rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #64748b;
      margin-bottom: 0.4rem;
    }

    .crm-tabs-wrap {
      position: relative;
      border-bottom: 1px solid rgba(148,163,184,0.12);
      margin-bottom: 0.65rem;
      flex-shrink: 0;
    }

    .crm-tabs-wrap .crm-tabs {
      border-bottom: none;
      margin-bottom: 0;
      display: flex;
      width: 100%;
      gap: 0;
    }

    .tab-indicator {
      position: absolute;
      bottom: 0;
      left: 0;
      height: 3px;
      width: 0;
      background: #f97316;
      border-radius: 2px 2px 0 0;
      transition: left 0.45s cubic-bezier(0.4, 0, 0.2, 1), width 0.45s cubic-bezier(0.4, 0, 0.2, 1);
      pointer-events: none;
    }

    .crm-tab {
      flex: 1;
      text-align: center;
      padding: 0.6rem 0.2rem;
      color: #64748b;
      font-size: 0.64rem;
      font-weight: 500;
      white-space: nowrap;
      transition: color 0.25s ease;
      cursor: default;
      min-width: 0;
    }

    .crm-tab.active {
      color: #f97316;
      font-weight: 600;
    }

    .crm-tabs {
      display: flex;
      width: 100%;
    }

    .crm-tab-panel {
      display: none;
      animation: tabFadeIn 0.4s ease;
    }

    .crm-tab-panel.active { display: block; }

    .crm-tab-panels .crm-tab-panel {
      display: block;
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
      z-index: 0;
      transition: opacity 0.45s ease, visibility 0.45s ease;
    }

    .crm-tab-panels .crm-tab-panel.active {
      opacity: 1;
      visibility: visible;
      pointer-events: auto;
      z-index: 1;
    }

    @keyframes tabFadeIn {
      from { opacity: 0; transform: translateY(4px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .flow-card .flow-status.triggered { background: rgba(34,197,94,0.15); color: #4ade80; }
    .flow-card .flow-status.waiting { background: rgba(234,179,8,0.15); color: #facc15; }
    .flow-card .flow-status.evaluating { background: rgba(59,130,246,0.15); color: #60a5fa; }

    .crm-panels { position: relative; min-height: 220px; }

    .crm-panel {
      position: absolute;
      inset: 0;
      opacity: 0;
      transform: translateY(8px);
      transition: opacity 0.45s ease, transform 0.45s ease;
      pointer-events: none;
    }

    .crm-panel.active {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
      position: relative;
    }

    .crm-stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0.45rem;
      margin-bottom: 0.65rem;
    }

    .crm-stat {
      background: #181e28;
      border: 1px solid rgba(148,163,184,0.07);
      border-radius: 10px;
      padding: 0.55rem 0.65rem;
    }

    .crm-stat-label {
      color: #64748b;
      font-size: 0.62rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.07em;
      margin-bottom: 0.3rem;
    }

    .crm-stat-value {
      font-weight: 700;
      font-size: 0.92rem;
      color: #f8fafc;
      line-height: 1.2;
    }

    .crm-stat-value.green { color: #4ade80; }
    .crm-stat-change {
      display: block;
      font-size: 0.58rem;
      color: #4ade80;
      margin-top: 0.12rem;
      font-weight: 600;
      line-height: 1;
    }

    .crm-table-wrap {
      background: #181e28;
      border: 1px solid rgba(148,163,184,0.07);
      border-radius: 10px;
      overflow: hidden;
      margin-bottom: 0.75rem;
    }

    .crm-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.65rem;
    }

    .crm-table th {
      text-align: left;
      padding: 0.45rem 0.65rem;
      color: var(--text-muted);
      font-weight: 600;
      font-size: 0.58rem;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      border-bottom: 1px solid rgba(148,163,184,0.08);
      background: rgba(0,0,0,0.2);
    }

    .crm-table td {
      padding: 0.4rem 0.65rem;
      border-bottom: 1px solid rgba(148,163,184,0.05);
    }

    .dir-long { color: #4ade80; }
    .dir-short { color: #f87171; }
    .pnl-pos { color: #4ade80; font-weight: 600; }
    .pnl-neg { color: #f87171; font-weight: 600; }

    .crm-activity-item {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.35rem 0;
      font-size: 0.65rem;
      animation: fadeSlideIn 0.5s ease forwards;
      opacity: 0;
    }

    .crm-activity-item:nth-child(1) { animation-delay: 0.1s; }
    .crm-activity-item:nth-child(2) { animation-delay: 0.25s; }
    .crm-activity-item:nth-child(3) { animation-delay: 0.4s; }

    @keyframes fadeSlideIn {
      from { opacity: 0; transform: translateX(-10px); }
      to { opacity: 1; transform: translateX(0); }
    }

    .act-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      flex-shrink: 0;
    }

    .act-dot.green { background: #4ade80; }
    .act-dot.blue { background: #60a5fa; }
    .act-dot.orange { background: #f97316; }

    .crm-activity-time {
      margin-left: auto;
      color: var(--text-muted);
      font-size: 0.6rem;
    }

    .live-ticker {
      animation: tickerFlash 3s ease-in-out infinite;
    }

    @keyframes tickerFlash {
      0%, 90%, 100% { opacity: 1; }
      93% { opacity: 0.5; color: #4ade80; }
    }

    .demo-cookie {
      position: absolute;
      bottom: 1rem;
      right: 1rem;
      background: #151c2c;
      border: 1px solid rgba(148,163,184,0.15);
      border-radius: 10px;
      padding: 0.65rem 0.85rem;
      display: flex;
      align-items: center;
      gap: 0.55rem;
      font-size: 0.68rem;
      box-shadow: 0 10px 30px rgba(0,0,0,0.4);
      animation: slideUpCookie 0.6s ease 1.5s both;
      z-index: 5;
    }

    @keyframes slideUpCookie {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }

    .demo-cookie-icon {
      width: 28px;
      height: 28px;
      background: rgba(249,115,22,0.15);
      border-radius: 6px;
      display: flex;
      align-items: center;
      justify-content: center;
      color: var(--primary);
    }

    @media (max-width: 991px) {
      .hero-video-wrap { overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none; }
      .hero-video-wrap::-webkit-scrollbar { display: none; }
      .hero-video-wrap .crm-demo { min-width: 680px; animation: none; }
      .demo-carousel { height: 420px; }
      .crm-stats { grid-template-columns: repeat(2, 1fr); }
    }

    @media (max-width: 576px) {
      .crm-stats { grid-template-columns: 1fr 1fr; }
      .crm-profile { flex-direction: column; align-items: flex-start; }
    }

    /* Platform demo section (below hero) */
    .platform-section {
      padding: 2.5rem 0 3rem;
      background: #0F1729;
      border-top: 1px solid var(--border);
    }

    .platform-intro-label {
      display: inline-block;
      font-size: 0.8rem;
      font-weight: 600;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: #fb8931;
      margin-bottom: 0.5rem;
    }

    .platform-intro-title {
      color: #fff;
      font-size: clamp(1.5rem, 3vw, 2rem);
      font-weight: 700;
      margin-bottom: 0.5rem;
    }

    .platform-intro-desc {
      color: #94a3b8;
      font-size: 1rem;
      max-width: 640px;
      margin: 0 auto;
    }

    .platform-section .feature-pill {
      background: rgba(255,255,255,0.04);
      border: 1px solid var(--border);
      border-radius: 0.75rem;
      padding: 1rem;
      text-align: center;
      height: 100%;
    }

    .platform-section .feature-pill.active-pill {
      border: 2px solid rgba(249,115,22,0.85);
      background: rgba(249,115,22,0.08);
      box-shadow: 0 0 28px rgba(249,115,22,0.14);
    }

    .platform-section .feature-pill i {
      font-size: 1.5rem;
      color: var(--primary);
      margin-bottom: 0.5rem;
    }

    .platform-section .feature-pill h6 {
      font-size: 0.85rem;
      font-weight: 600;
      margin-bottom: 0.25rem;
    }

    .platform-section .feature-pill p {
      font-size: 0.75rem;
      color: var(--text-muted);
      margin: 0;
    }

    .platform-section .feature-pill {
      cursor: pointer;
      position: relative;
    }

    .platform-pills-wrap {
      margin-bottom: 0.25rem;
    }

    .platform-progress-track {
      height: 2px;
      background: rgba(148,163,184,0.14);
      border-radius: 2px;
      margin-top: 0.85rem;
      overflow: hidden;
    }

    .platform-progress-fill {
      height: 100%;
      width: 0;
      background: linear-gradient(90deg, #f97316, #fb923c);
      border-radius: 2px;
      box-shadow: 0 0 8px rgba(249,115,22,0.45);
    }

    .platform-panel {
      display: none;
    }

    .platform-panel.active {
      display: block;
    }

    .platform-demo-wrap .crm-content {
      padding: 0.55rem 0.75rem 0.75rem;
    }

    .c360-overview {
      display: grid;
      grid-template-columns: minmax(168px, 210px) 1fr;
      gap: 0.65rem;
      flex: 1;
      min-height: 0;
    }

    .c360-details {
      background: #181e28;
      border: 1px solid rgba(148,163,184,0.08);
      border-radius: 10px;
      padding: 0.55rem 0.6rem;
      overflow-y: auto;
      scrollbar-width: none;
    }

    .c360-details::-webkit-scrollbar { display: none; }

    .c360-block-title {
      font-size: 0.52rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #64748b;
      margin-bottom: 0.4rem;
    }

    .c360-block-title:not(:first-child) {
      margin-top: 0.65rem;
      padding-top: 0.55rem;
      border-top: 1px solid rgba(148,163,184,0.07);
    }

    .c360-field {
      margin-bottom: 0.32rem;
    }

    .c360-field-label {
      font-size: 0.5rem;
      color: #64748b;
      margin-bottom: 0.04rem;
    }

    .c360-field-value {
      font-size: 0.58rem;
      color: #e2e8f0;
      font-weight: 500;
      line-height: 1.3;
    }

    .c360-main {
      min-height: 0;
      overflow-y: auto;
      scrollbar-width: none;
    }

    .c360-main::-webkit-scrollbar { display: none; }

    .c360-stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 0.45rem;
      margin-bottom: 0.6rem;
    }

    .c360-stats .crm-stat-change {
      display: block;
      margin-left: 0;
      margin-top: 0.1rem;
    }

    .acct-status {
      display: inline-block;
      font-size: 0.5rem;
      font-weight: 600;
      padding: 0.1rem 0.38rem;
      border-radius: 50px;
    }

    .acct-status.live {
      color: #4ade80;
      background: rgba(34,197,94,0.12);
      border: 1px solid rgba(34,197,94,0.22);
    }

    .acct-status.demo {
      color: #94a3b8;
      background: rgba(148,163,184,0.1);
      border: 1px solid rgba(148,163,184,0.15);
    }

    @media (max-width: 767px) {
      .c360-overview { grid-template-columns: 1fr; }
      .c360-stats { grid-template-columns: repeat(2, 1fr); }
    }

    .platform-demo-wrap {
      margin-top: 1.25rem;
    }

    .platform-demo-wrap .crm-demo {
      font-size: 0.78rem;
      height: 520px;
      display: flex;
      flex-direction: column;
    }

    @media (min-width: 992px) {
      .platform-demo-wrap .crm-demo { height: 560px; font-size: 0.82rem; }
    }

    .platform-panel[data-platform="client360"] .crm-content {
      display: flex;
      flex-direction: column;
      min-height: 0;
      overflow: hidden;
    }

    .platform-panel[data-platform="client360"] .c360-overview {
      flex: 1;
    }

    .platform-panel[data-platform="client360"] .c360-main {
      display: flex;
      flex-direction: column;
      min-height: 0;
    }

    .c360-view {
      display: none;
      flex: 1;
      min-height: 0;
      flex-direction: column;
    }

    .c360-view.active {
      display: flex;
    }

    .comm-toolbar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
      margin-bottom: 0.45rem;
      flex-shrink: 0;
    }

    .comm-compose-btn {
      font-size: 0.58rem;
      font-weight: 600;
      color: #fff;
      background: #C8440C;
      border: none;
      border-radius: 6px;
      padding: 0.35rem 0.6rem;
      white-space: nowrap;
      flex-shrink: 0;
    }

    .comm-timeline-label {
      font-size: 0.52rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.07em;
      color: #64748b;
      margin-bottom: 0.45rem;
      flex-shrink: 0;
    }

    .comm-filter .comm-count {
      color: #64748b;
      font-weight: 400;
    }

    .comm-icon.slack { background: rgba(168,85,247,0.2); color: #c084fc; }

    .platform-panel[data-platform="client360"] .comm-feed-auto {
      overflow: hidden;
      -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 88%, transparent 100%);
      mask-image: linear-gradient(to bottom, transparent 0%, #000 10%, #000 88%, transparent 100%);
    }

    .platform-panel[data-platform="client360"] .comm-feed-track {
      display: flex;
      flex-direction: column;
      will-change: transform;
      animation: platformCommScroll var(--comm-scroll-duration, 28s) linear infinite;
    }

    .platform-panel[data-platform="client360"] .comm-feed-track.is-paused {
      animation-play-state: paused;
    }

    .platform-panel[data-platform="client360"] .comm-feed-auto .comm-feed {
      overflow: visible;
      height: auto;
      flex-shrink: 0;
    }

    .platform-panel[data-platform="client360"] .comm-feed-auto .comm-feed[aria-hidden="true"] {
      pointer-events: none;
    }

    @keyframes platformCommScroll {
      from { transform: translateY(0); }
      to { transform: translateY(-50%); }
    }

    @media (prefers-reduced-motion: reduce) {
      .platform-panel[data-platform="client360"] .comm-feed-track {
        animation: none;
      }
    }

    #platformC360TabsWrap {
      border-bottom: 1px solid rgba(148,163,184,0.14);
      margin-bottom: 0.65rem;
    }

    #platformC360TabsWrap .crm-tabs {
      justify-content: flex-start;
      gap: 0.1rem;
    }

    #platformC360TabsWrap .crm-tab {
      flex: 0 0 auto;
      text-align: left;
      padding: 0.58rem 0.72rem;
      font-size: 0.62rem;
      font-weight: 500;
      color: #64748b;
    }

    #platformC360TabsWrap .crm-tab.active {
      color: #f97316;
      font-weight: 600;
    }

    #platformC360TabsWrap .tab-indicator {
      bottom: -1px;
      height: 2px;
      background: #f97316;
      border-radius: 0;
      z-index: 1;
      box-shadow: none;
    }

    .platform-demo-wrap .crm-layout {
      flex: 1;
      min-height: 0;
    }

    .platform-demo-wrap .platform-demo-sidebar {
      width: 200px;
      display: flex;
      flex-direction: column;
      padding: 0.65rem 0 0;
      min-height: 0;
    }

    .platform-demo-wrap .platform-demo-sidebar .crm-logo {
      flex-shrink: 0;
      margin-bottom: 0.45rem;
    }

    .platform-demo-balance {
      flex-shrink: 0;
      padding: 0 0.65rem 0.55rem;
      border-bottom: 1px solid rgba(148, 163, 184, 0.08);
      margin-bottom: 0.4rem;
    }

    .platform-demo-balance__title {
      color: #f1f5f9;
      font-size: 0.58rem;
      font-weight: 700;
      margin: 0 0 0.4rem;
    }

    .platform-demo-wallets {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.35rem;
      margin-bottom: 0.4rem;
    }

    .platform-demo-wallet {
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid rgba(148, 163, 184, 0.1);
      border-radius: 6px;
      padding: 0.35rem 0.25rem;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.2rem;
    }

    .platform-demo-wallet__icon {
      width: 20px;
      height: 20px;
      border-radius: 5px;
      display: grid;
      place-items: center;
      font-size: 0.65rem;
      position: relative;
    }

    .platform-demo-wallet__icon::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 5px;
      opacity: 0.2;
      background: currentColor;
    }

    .platform-demo-wallet__icon.is-primary { color: #3b82f6; }
    .platform-demo-wallet__icon.is-success { color: #22c55e; }

    .platform-demo-wallet__amount {
      color: #f1f5f9;
      font-weight: 700;
      font-size: 0.52rem;
      line-height: 1.2;
    }

    .platform-demo-wallet__label {
      color: #64748b;
      font-size: 0.46rem;
      line-height: 1.15;
    }

    .platform-demo-btn {
      display: block;
      text-align: center;
      padding: 0.28rem 0.4rem;
      border-radius: 5px;
      font-size: 0.48rem;
      font-weight: 600;
      color: #fff;
      margin-bottom: 0.3rem;
    }

    .platform-demo-btn--primary {
      background: linear-gradient(135deg, #f97316, #ea580c);
    }

    .platform-demo-btn--outline {
      color: #f97316;
      background: transparent;
      border: 1px solid rgba(249, 115, 22, 0.45);
      margin-bottom: 0;
    }

    .platform-demo-menu {
      flex: 1;
      min-height: 0;
      overflow-y: auto;
      scrollbar-width: thin;
      scrollbar-color: rgba(249, 115, 22, 0.35) transparent;
    }

    .platform-demo-menu .crm-nav-item img {
      width: 12px;
      height: 12px;
      flex-shrink: 0;
      object-fit: contain;
    }

    .platform-demo-wrap .crm-main {
      display: flex;
      flex-direction: column;
      min-height: 0;
      min-width: 0;
    }

    .platform-demo-wrap .crm-content {
      flex: 1;
      min-height: 0;
      overflow: hidden;
      display: flex;
      flex-direction: column;
      padding: 0.65rem 0.75rem 0.75rem;
    }

    .ib-page-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.65rem;
      flex-wrap: wrap;
      margin-bottom: 0.75rem;
      flex-shrink: 0;
    }

    .ib-page-header-left {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      flex-wrap: wrap;
    }

    .ib-page-title {
      font-size: 0.95rem;
      font-weight: 700;
      margin: 0;
      color: #f8fafc;
    }

    .ib-count-badge {
      font-size: 0.55rem;
      font-weight: 600;
      color: #4ade80;
      background: rgba(34,197,94,0.12);
      border: 1px solid rgba(34,197,94,0.25);
      padding: 0.15rem 0.45rem;
      border-radius: 50px;
    }

    .ib-page-actions {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      flex-wrap: wrap;
    }

    .ib-add-btn {
      font-size: 0.58rem;
      font-weight: 600;
      color: #fff;
      background: #C8440C;
      border: none;
      border-radius: 6px;
      padding: 0.38rem 0.65rem;
      white-space: nowrap;
    }

    .ib-outline-btn {
      font-size: 0.58rem;
      font-weight: 500;
      color: #cbd5e1;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(148,163,184,0.15);
      border-radius: 6px;
      padding: 0.38rem 0.55rem;
    }

    .ib-filter-btn {
      font-size: 0.58rem;
      color: #94a3b8;
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(148,163,184,0.12);
      border-radius: 6px;
      padding: 0.38rem 0.55rem;
    }

    .ib-body {
      flex: 1;
      min-height: 0;
      display: flex;
      gap: 0.65rem;
    }

    .ib-main-col {
      flex: 1;
      min-width: 0;
      min-height: 0;
      display: flex;
      flex-direction: column;
      gap: 0.45rem;
    }

    .platform-panel[data-platform="ib"] .crm-content {
      padding: 0.65rem 0.75rem 0.75rem;
    }

    .platform-panel[data-platform="ib"] .crm-subnav span.active {
      border-left: 2px solid #f97316;
      padding-left: 0.42rem;
      margin-left: -0.42rem;
    }

    .ib-tree-panel {
      flex: 1;
      min-height: 0;
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(148,163,184,0.08);
      border-radius: 10px;
      padding: 0.75rem 0.55rem 0.55rem;
      overflow: auto;
      scrollbar-width: none;
    }

    .ib-tree-panel::-webkit-scrollbar { display: none; }

    .ib-tree {
      display: flex;
      flex-direction: column;
      align-items: center;
      min-width: 340px;
      padding-bottom: 0.25rem;
    }

    .ib-tree-stem {
      width: 0;
      height: 16px;
      border-left: 1px solid rgba(148,163,184,0.28);
    }

    .ib-tree-bar {
      width: 78%;
      max-width: 440px;
      height: 0;
      border-top: 1px solid rgba(148,163,184,0.28);
      margin-bottom: 16px;
    }

    .ib-tree-bar-sm {
      width: 55%;
      max-width: 140px;
      margin-bottom: 12px;
    }

    .ib-tree-row {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 0.45rem;
      width: 100%;
      align-items: start;
    }

    .ib-tree-row-l3 {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      max-width: 168px;
      gap: 0.35rem;
    }

    .ib-tree-branch {
      display: flex;
      flex-direction: column;
      align-items: center;
      min-width: 0;
    }

    .ib-partner-card {
      background: linear-gradient(180deg, rgba(26,34,48,0.95) 0%, rgba(18,24,36,0.98) 100%);
      border: 1px solid rgba(148,163,184,0.11);
      border-radius: 11px;
      padding: 0.62rem 0.68rem;
      position: relative;
      width: 100%;
      min-width: 106px;
      max-width: 132px;
      opacity: 0;
      transform: translateY(10px);
      box-shadow: 0 6px 18px rgba(0,0,0,0.28);
    }

    .ib-partner-card.root {
      max-width: 156px;
      min-width: 142px;
      padding: 0.68rem 0.75rem;
      border: 1px solid rgba(249,115,22,0.52);
      box-shadow: 0 0 0 1px rgba(249,115,22,0.12), 0 10px 28px rgba(249,115,22,0.14);
    }

    .ib-partner-card.small {
      min-width: 88px;
      max-width: 96px;
      padding: 0.5rem 0.52rem;
    }

    .ib-partner-card.small .ib-partner-name {
      font-size: 0.54rem;
    }

    .ib-partner-card.small .ib-card-earned {
      font-size: 0.52rem;
    }

    .ib-partner-card::before {
      content: '';
      position: absolute;
      top: -16px;
      left: 50%;
      width: 0;
      height: 16px;
      border-left: 1px solid rgba(148,163,184,0.28);
      transform: translateX(-50%);
    }

    .ib-partner-card.root::before { display: none; }

    .ib-tree-row-l3 .ib-partner-card::before {
      top: -12px;
      height: 12px;
    }

    .ib-partner-card.gold,
    .ib-partner-card.silver,
    .ib-partner-card.bronze {
      border-left: none;
    }

    .ib-card-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 0.3rem;
      margin-bottom: 0.42rem;
    }

    .ib-tier {
      display: inline-block;
      font-size: 0.42rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      padding: 0.1rem 0.34rem;
      border-radius: 50px;
      flex-shrink: 0;
      line-height: 1.2;
    }

    .ib-tree.ib-anim-play .ib-partner-card.root.ib-anim-node {
      animation: ibNodeIn 0.55s cubic-bezier(0.4, 0, 0.2, 1) both,
                 ibRootGlow 2.8s ease-in-out 0.65s infinite;
    }

    .ib-tree.ib-anim-play .ib-anim-node {
      animation: ibNodeIn 0.55s cubic-bezier(0.4, 0, 0.2, 1) both;
      animation-delay: calc(var(--ib-delay, 0) * 1s);
    }

    .ib-tree.ib-anim-play .ib-anim-line {
      animation: ibLineIn 0.45s ease both;
      animation-delay: calc(var(--ib-delay, 0) * 1s);
      opacity: 0;
    }

    @keyframes ibNodeIn {
      from { opacity: 0; transform: translateY(12px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @keyframes ibLineIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    @keyframes ibRootGlow {
      0%, 100% {
        border-color: rgba(249,115,22,0.48);
        box-shadow: 0 0 0 1px rgba(249,115,22,0.1), 0 8px 24px rgba(249,115,22,0.12);
      }
      50% {
        border-color: rgba(249,115,22,0.78);
        box-shadow: 0 0 0 1px rgba(249,115,22,0.22), 0 0 32px rgba(249,115,22,0.28);
      }
    }

    .ib-tier.gold { color: #fde047; background: rgba(250,204,21,0.14); border: 1px solid rgba(250,204,21,0.22); }
    .ib-tier.silver { color: #e2e8f0; background: rgba(148,163,184,0.14); border: 1px solid rgba(148,163,184,0.2); }
    .ib-tier.bronze { color: #fdba74; background: rgba(251,146,60,0.14); border: 1px solid rgba(251,146,60,0.22); }

    .ib-partner-name {
      font-size: 0.62rem;
      font-weight: 600;
      color: #f8fafc;
      line-height: 1.28;
      margin: 0;
      min-width: 0;
    }

    .ib-card-earned {
      font-size: 0.56rem;
      font-weight: 700;
      line-height: 1.35;
      margin-bottom: 0.18rem;
    }

    .ib-card-earned .ib-live-val {
      color: #4ade80;
    }

    .ib-card-earned .ib-card-muted {
      color: #64748b;
      font-weight: 500;
      font-size: 0.52rem;
    }

    .ib-card-meta {
      font-size: 0.52rem;
      color: #64748b;
      line-height: 1.3;
    }

    .ib-live-val.tick-up,
    .ib-stat-value.tick-up {
      color: #4ade80 !important;
      text-shadow: 0 0 8px rgba(74,222,128,0.35);
    }

    .ib-live-val.tick-down,
    .ib-stat-value.tick-down {
      color: #f87171 !important;
      text-shadow: 0 0 8px rgba(248,113,113,0.3);
    }

    .ib-commission-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
      margin-bottom: 0.4rem;
    }

    .ib-live-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.28rem;
      font-size: 0.44rem;
      font-weight: 700;
      letter-spacing: 0.07em;
      color: #4ade80;
    }

    .ib-live-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: #4ade80;
      box-shadow: 0 0 6px rgba(74,222,128,0.55);
      animation: ibLivePulse 1.1s ease-in-out infinite;
    }

    @keyframes ibLivePulse {
      0%, 100% { opacity: 1; transform: scale(1); }
      50% { opacity: 0.45; transform: scale(0.85); }
    }

    .ib-comm-row .comm-green { color: #4ade80; }
    .ib-comm-row .comm-blue { color: #60a5fa; }

    .platform-panel[data-platform="ib"].active .ib-partner-card {
      opacity: 1;
      transform: none;
    }

    .platform-panel[data-platform="ib"].active .ib-partner-card.root {
      animation: ibRootGlow 2.8s ease-in-out infinite;
    }
    .platform-panel[data-platform="ib"].active .ib-comm-row,
    .platform-panel[data-platform="ib"].active .ib-commission-trade {
      opacity: 1;
      transform: none;
    }

    .platform-panel[data-platform="ib"].active .ib-payout-row {
      opacity: 1;
      transform: none;
    }

    .platform-panel[data-platform="ib"].active .ib-tier-bar-fill {
      transform: scaleX(1);
    }

    .ib-commission-panel {
      flex-shrink: 0;
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(148,163,184,0.08);
      border-radius: 10px;
      padding: 0.5rem 0.6rem;
    }

    .ib-commission-title {
      font-size: 0.48rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #64748b;
      margin-bottom: 0;
    }

    .ib-commission-body {
      display: flex;
      align-items: stretch;
      justify-content: space-between;
      gap: 0.75rem;
      flex-wrap: wrap;
    }

    .ib-commission-trade {
      min-width: 140px;
    }

    .ib-comm-label {
      display: block;
      font-size: 0.46rem;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #64748b;
      margin-bottom: 0.12rem;
    }

    .ib-commission-trade strong {
      display: block;
      font-size: 0.58rem;
      color: #f1f5f9;
      font-weight: 600;
    }

    .ib-comm-client {
      display: block;
      font-size: 0.5rem;
      color: #64748b;
      margin-top: 0.12rem;
    }

    .ib-commission-split {
      flex: 1;
      min-width: 180px;
      display: flex;
      flex-direction: column;
      gap: 0.22rem;
    }

    .ib-comm-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
      font-size: 0.52rem;
      color: #94a3b8;
    }

    .ib-comm-row strong {
      color: #64748b;
      font-weight: 600;
      white-space: nowrap;
    }

    .ib-comm-row strong em {
      font-style: normal;
      color: #64748b;
    }

    .ib-comm-row.highlight {
      color: #cbd5e1;
    }

    .ib-comm-row.highlight strong {
      color: #fb923c;
    }

    .ib-overview {
      width: 172px;
      flex-shrink: 0;
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(148,163,184,0.08);
      border-radius: 10px;
      padding: 0.65rem 0.6rem;
      overflow-y: auto;
      scrollbar-width: none;
    }

    .ib-overview::-webkit-scrollbar { display: none; }

    .ib-overview-title {
      font-size: 0.58rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #64748b;
      margin-bottom: 0.55rem;
    }

    .ib-stat-row {
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      gap: 0.35rem;
      font-size: 0.54rem;
      padding: 0.28rem 0;
      border-bottom: 1px solid rgba(148,163,184,0.06);
    }

    .ib-stat-row:last-of-type { border-bottom: none; }

    .ib-stat-label { color: #64748b; }
    .ib-stat-value { color: #e2e8f0; font-weight: 600; text-align: right; }
    .ib-stat-value.green { color: #4ade80; }

    .ib-tier-dist {
      margin-top: 0.75rem;
      padding-top: 0.65rem;
      border-top: 1px solid rgba(148,163,184,0.08);
    }

    .ib-tier-dist-title {
      font-size: 0.52rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #64748b;
      margin-bottom: 0.45rem;
    }

    .ib-tier-bar-row {
      margin-bottom: 0.4rem;
    }

    .ib-tier-bar-head {
      display: flex;
      justify-content: space-between;
      font-size: 0.5rem;
      color: #94a3b8;
      margin-bottom: 0.15rem;
    }

    .ib-tier-bar {
      height: 4px;
      background: rgba(148,163,184,0.12);
      border-radius: 4px;
      overflow: hidden;
    }

    .ib-tier-bar-fill {
      height: 100%;
      border-radius: 4px;
      transform-origin: left;
      transform: scaleX(0);
    }

    .ib-overview.ib-anim-play .ib-tier-bar-fill {
      animation: ibBarGrow 0.75s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }

    .ib-overview.ib-anim-play .ib-tier-bar-row:nth-child(2) .ib-tier-bar-fill { animation-delay: 0.15s; }
    .ib-overview.ib-anim-play .ib-tier-bar-row:nth-child(3) .ib-tier-bar-fill { animation-delay: 0.3s; }
    .ib-overview.ib-anim-play .ib-tier-bar-row:nth-child(4) .ib-tier-bar-fill { animation-delay: 0.45s; }

    @keyframes ibBarGrow {
      to { transform: scaleX(1); }
    }

    .ib-tier-bar-fill.gold { background: #facc15; }
    .ib-tier-bar-fill.silver { background: #94a3b8; }
    .ib-tier-bar-fill.bronze { background: #fb923c; }

    .ib-payouts {
      margin-top: 0.75rem;
      padding-top: 0.65rem;
      border-top: 1px solid rgba(148,163,184,0.08);
    }

    .ib-payouts-title {
      font-size: 0.52rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #64748b;
      margin-bottom: 0.4rem;
    }

    .ib-payout-row {
      display: grid;
      grid-template-columns: 1fr auto;
      grid-template-rows: auto auto;
      gap: 0.05rem 0.35rem;
      padding: 0.32rem 0;
      border-bottom: 1px solid rgba(148,163,184,0.06);
      opacity: 0;
      transform: translateY(6px);
    }

    .ib-payout-row:last-child { border-bottom: none; }

    .ib-overview.ib-anim-play .ib-payout-row {
      animation: ibPayoutIn 0.45s ease both;
    }

    .ib-overview.ib-anim-play .ib-payout-row:nth-child(2) { animation-delay: 0.55s; }
    .ib-overview.ib-anim-play .ib-payout-row:nth-child(3) { animation-delay: 0.7s; }
    .ib-overview.ib-anim-play .ib-payout-row:nth-child(4) { animation-delay: 0.85s; }

    @keyframes ibPayoutIn {
      to { opacity: 1; transform: translateY(0); }
    }

    .ib-payout-name {
      font-size: 0.52rem;
      color: #cbd5e1;
      font-weight: 500;
      grid-column: 1;
    }

    .ib-payout-amt {
      font-size: 0.52rem;
      color: #e2e8f0;
      font-weight: 600;
      grid-column: 2;
      grid-row: 1 / 3;
      align-self: center;
    }

    .ib-payout-badge {
      font-size: 0.44rem;
      font-weight: 600;
      padding: 0.06rem 0.28rem;
      border-radius: 50px;
      grid-column: 1;
    }

    .ib-payout-badge.paid {
      color: #4ade80;
      background: rgba(34,197,94,0.12);
      border: 1px solid rgba(34,197,94,0.22);
    }

    .ib-payout-badge.processing {
      color: #60a5fa;
      background: rgba(59,130,246,0.12);
      border: 1px solid rgba(59,130,246,0.22);
    }

    /* Flow Builder */
    .platform-panel[data-platform="flow"] .crm-content {
      padding: 0;
      overflow: hidden;
    }

    .platform-panel[data-platform="flow"] .crm-nav-item.active {
      color: #f97316;
    }

    .platform-panel[data-platform="flow"] .crm-subnav span.active {
      border-left: 2px solid #f97316;
      padding-left: 0.42rem;
      margin-left: -0.42rem;
    }

    .flow-page {
      flex: 1;
      min-height: 0;
      display: flex;
      flex-direction: column;
      border-top: 2px solid #f97316;
    }

    .flow-page-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.5rem;
      padding: 0.55rem 0.75rem 0.45rem;
      flex-shrink: 0;
      flex-wrap: wrap;
    }

    .flow-page-header-left {
      display: flex;
      align-items: center;
      gap: 0.45rem;
      flex-wrap: wrap;
    }

    .flow-page-title {
      font-size: 0.88rem;
      font-weight: 700;
      color: #f8fafc;
      margin: 0;
    }

    .flow-published-badge {
      font-size: 0.52rem;
      font-weight: 600;
      color: #4ade80;
      background: rgba(34,197,94,0.12);
      border: 1px solid rgba(34,197,94,0.28);
      padding: 0.12rem 0.42rem;
      border-radius: 50px;
    }

    .flow-page-actions {
      display: flex;
      align-items: center;
      gap: 0.35rem;
    }

    .flow-preview-btn {
      font-size: 0.56rem;
      font-weight: 500;
      color: #cbd5e1;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(148,163,184,0.14);
      border-radius: 6px;
      padding: 0.34rem 0.55rem;
    }

    .flow-edit-btn {
      font-size: 0.56rem;
      font-weight: 600;
      color: #fff;
      background: #C8440C;
      border: none;
      border-radius: 6px;
      padding: 0.34rem 0.6rem;
    }

    .flow-body {
      flex: 1;
      min-height: 0;
      display: grid;
      grid-template-columns: 108px minmax(0, 1fr) 148px;
      gap: 0.5rem;
      padding: 0 0.65rem 0.6rem;
    }

    .flow-steps-col {
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(148,163,184,0.08);
      border-radius: 8px;
      padding: 0.45rem 0.35rem;
      overflow-y: auto;
      scrollbar-width: none;
    }

    .flow-steps-col::-webkit-scrollbar { display: none; }

    .flow-steps-label {
      font-size: 0.48rem;
      font-weight: 700;
      letter-spacing: 0.07em;
      text-transform: uppercase;
      color: #64748b;
      margin-bottom: 0.4rem;
      padding: 0 0.2rem;
    }

    .flow-step {
      display: block;
      width: 100%;
      text-align: left;
      font-size: 0.52rem;
      line-height: 1.3;
      color: #64748b;
      background: transparent;
      border: 1px solid transparent;
      border-left: 2px solid transparent;
      border-radius: 6px;
      padding: 0.38rem 0.35rem;
      margin-bottom: 0.18rem;
    }

    .flow-step.active {
      color: #f8fafc;
      background: rgba(249,115,22,0.08);
      border-color: rgba(249,115,22,0.22);
      border-left-color: #f97316;
      font-weight: 600;
    }

    .flow-main-col {
      min-width: 0;
      min-height: 0;
      display: flex;
      flex-direction: column;
      gap: 0.45rem;
    }

    .flow-field-panel {
      flex: 1;
      min-height: 0;
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(148,163,184,0.08);
      border-radius: 8px;
      padding: 0.5rem 0.55rem;
      display: flex;
      flex-direction: column;
    }

    .flow-field-header {
      display: flex;
      align-items: center;
      gap: 0.4rem;
      margin-bottom: 0.45rem;
      flex-shrink: 0;
    }

    .flow-field-title {
      font-size: 0.62rem;
      font-weight: 700;
      color: #f8fafc;
      margin: 0;
    }

    .flow-required-badge {
      font-size: 0.48rem;
      font-weight: 600;
      color: #fb923c;
      background: rgba(249,115,22,0.12);
      border: 1px solid rgba(249,115,22,0.22);
      padding: 0.1rem 0.35rem;
      border-radius: 50px;
    }

    .flow-table-wrap {
      flex: 1;
      min-height: 0;
      overflow: auto;
      scrollbar-width: none;
    }

    .flow-table-wrap::-webkit-scrollbar { display: none; }

    .flow-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.54rem;
    }

    .flow-table th {
      text-align: left;
      font-size: 0.48rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #64748b;
      padding: 0.35rem 0.4rem;
      border-bottom: 1px solid rgba(148,163,184,0.1);
    }

    .flow-table td {
      padding: 0.38rem 0.4rem;
      color: #cbd5e1;
      border-bottom: 1px solid rgba(148,163,184,0.06);
    }

    .flow-table tr.flow-row-active td {
      background: rgba(249,115,22,0.07);
      box-shadow: inset 0 0 0 1px rgba(249,115,22,0.18);
    }

    .flow-table .req-yes { color: #4ade80; font-weight: 600; }
    .flow-table .req-no { color: #64748b; }

    .flow-kyc-section {
      flex-shrink: 0;
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(148,163,184,0.08);
      border-radius: 8px;
      padding: 0.45rem 0.5rem;
    }

    .flow-kyc-title {
      font-size: 0.48rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: #64748b;
      margin-bottom: 0.4rem;
    }

    .flow-kyc-cards {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 0.35rem;
    }

    .flow-kyc-card {
      background: rgba(255,255,255,0.03);
      border: 1px solid rgba(148,163,184,0.08);
      border-radius: 7px;
      padding: 0.38rem 0.4rem;
    }

    .flow-kyc-name {
      font-size: 0.54rem;
      font-weight: 600;
      color: #f1f5f9;
      margin-bottom: 0.28rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .flow-kyc-pill {
      display: inline-block;
      font-size: 0.44rem;
      font-weight: 600;
      padding: 0.08rem 0.28rem;
      border-radius: 50px;
      margin: 0.06rem 0.12rem 0.06rem 0;
    }

    .flow-kyc-pill.green {
      color: #4ade80;
      background: rgba(34,197,94,0.12);
      border: 1px solid rgba(34,197,94,0.22);
    }

    .flow-kyc-pill.orange {
      color: #fb923c;
      background: rgba(249,115,22,0.12);
      border: 1px solid rgba(249,115,22,0.22);
    }

    .flow-kyc-pill.yellow {
      color: #facc15;
      background: rgba(234,179,8,0.12);
      border: 1px solid rgba(234,179,8,0.22);
    }

    .flow-edit-panel {
      background: rgba(255,255,255,0.02);
      border: 1px solid rgba(148,163,184,0.08);
      border-radius: 8px;
      padding: 0.45rem 0.42rem;
      overflow-y: auto;
      scrollbar-width: none;
    }

    .flow-edit-panel::-webkit-scrollbar { display: none; }

    .flow-edit-title {
      font-size: 0.56rem;
      font-weight: 700;
      color: #f8fafc;
      margin-bottom: 0.45rem;
    }

    .flow-edit-group {
      margin-bottom: 0.38rem;
    }

    .flow-edit-label {
      display: block;
      font-size: 0.46rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.04em;
      color: #64748b;
      margin-bottom: 0.15rem;
    }

    .flow-edit-input {
      width: 100%;
      font-size: 0.52rem;
      color: #e2e8f0;
      background: rgba(0,0,0,0.22);
      border: 1px solid rgba(148,163,184,0.12);
      border-radius: 5px;
      padding: 0.28rem 0.35rem;
    }

    .flow-edit-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 0.35rem;
      margin-bottom: 0.28rem;
    }

    .flow-edit-row span {
      font-size: 0.52rem;
      color: #cbd5e1;
    }

    .flow-toggle {
      font-size: 0.48rem;
      font-weight: 600;
      color: #4ade80;
      background: rgba(34,197,94,0.12);
      border: 1px solid rgba(34,197,94,0.25);
      padding: 0.08rem 0.32rem;
      border-radius: 50px;
    }

    .flow-edit-section {
      margin-top: 0.35rem;
      padding-top: 0.35rem;
      border-top: 1px solid rgba(148,163,184,0.08);
    }

    .flow-edit-section-title {
      font-size: 0.48rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #64748b;
      margin-bottom: 0.3rem;
    }

    .flow-logic-text {
      font-size: 0.48rem;
      color: #94a3b8;
      line-height: 1.45;
    }

    @media (max-width: 767px) {
      .platform-demo-wrap .crm-demo { height: auto; min-height: 480px; }
      .ib-body { flex-direction: column; }
      .ib-overview { width: 100%; }
      .ib-tree-row { grid-template-columns: 1fr; }
      .ib-tree-bar { width: 0; height: 14px; border-top: none; border-left: 2px dashed rgba(20,184,166,0.45); margin: 0; }
      .flow-body { grid-template-columns: 1fr; }
      .flow-kyc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
      .ib-main-col { min-height: 180px; }
      .ib-overview { width: 100%; }
    }

    .stats-section {
      padding: 3.75rem 0 3rem;
      background: #0F1729;
      border-top: 1px solid rgba(148,163,184,0.08);
      border-bottom: none;
    }

    .stats-layout {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 2.5rem 3.5rem;
    }

    .stats-hero {
      flex: 1 1 42%;
      min-width: 0;
    }

    .stat-number.stat-number-hero {
      font-size: clamp(5.5rem, 17vw, 10.75rem);
      font-weight: 800;
      line-height: 0.9;
      letter-spacing: -0.045em;
      color: #f59e0b;
    }

    .stat-label-hero {
      margin-top: 0.45rem;
      font-size: clamp(0.95rem, 1.6vw, 1.15rem);
      color: #94a3b8;
      line-height: 1.35;
    }

    .stats-right-col {
      flex: 1 1 420px;
      min-width: 0;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
    }

    .stats-mini-row {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: clamp(1.5rem, 4vw, 3.5rem);
      width: 100%;
      max-width: 520px;
    }

    .stats-mini-item {
      text-align: left;
    }

    .stat-number.stat-number-sm {
      font-size: clamp(1.85rem, 3.4vw, 2.75rem);
      font-weight: 800;
      line-height: 1;
      letter-spacing: -0.03em;
      color: #f59e0b;
    }

    .stat-label-sm {
      margin-top: 0.35rem;
      font-size: 0.62rem;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: #64748b;
      line-height: 1.3;
    }

    .stats-award-wrap {
      display: flex;
      justify-content: center;
      margin-top: 2.25rem;
    }

    .stats-logo-marquee {
      position: relative;
      overflow: hidden;
      margin-top: 1.65rem;
      padding: 0.35rem 0;
    }

    .stats-logo-fade {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 64px;
      z-index: 2;
      pointer-events: none;
    }

    .stats-logo-fade-left {
      left: 0;
      background: linear-gradient(to right, #0F1729, transparent);
    }

    .stats-logo-fade-right {
      right: 0;
      background: linear-gradient(to left, #0F1729, transparent);
    }

    .stats-logo-track-wrap {
      overflow: hidden;
    }

    .stats-logo-track {
      display: flex;
      align-items: center;
      gap: 3rem;
      width: max-content;
      animation: statsLogoMarquee 38s linear infinite;
    }

    .stats-logo-track:hover {
      animation-play-state: paused;
    }

    @keyframes statsLogoMarquee {
      from { transform: translateX(0); }
      to { transform: translateX(-50%); }
    }

    .stats-logo-item {
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 0.5rem;
    }

    .stats-logo-img {
      height: 28px;
      width: auto;
      max-width: none;
      object-fit: contain;
      opacity: 0.4;
      filter: brightness(0) invert(1);
      transition: opacity 0.3s ease;
    }

    .stats-logo-item:hover .stats-logo-img {
      opacity: 0.8;
    }

    .stats-award-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.85rem;
      padding: 0.62rem 1.15rem 0.62rem 0.62rem;
      border-radius: 50px;
      background: rgba(15,23,42,0.72);
      border: 1px solid rgba(148,163,184,0.14);
      box-shadow: 0 8px 24px rgba(0,0,0,0.22);
    }

    .stats-award-icon {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: rgba(249,115,22,0.14);
      border: 1px solid rgba(249,115,22,0.22);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      color: #f59e0b;
      font-size: 1rem;
    }

    .stats-award-copy {
      display: flex;
      flex-direction: column;
      text-align: left;
      min-width: 0;
    }

    .stats-award-title {
      display: block;
      font-size: 0.88rem;
      font-weight: 700;
      color: #f8fafc;
      line-height: 1.2;
      white-space: nowrap;
    }

    .stats-award-sub {
      display: block;
      font-size: 0.62rem;
      color: #64748b;
      margin-top: 0.08rem;
      letter-spacing: 0.04em;
    }

    .stats-award-stars {
      display: flex;
      align-items: center;
      gap: 0.12rem;
      color: #f59e0b;
      font-size: 0.58rem;
      flex-shrink: 0;
    }

    @media (max-width: 991px) {
      .stats-layout {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 2rem;
      }

      .stats-hero {
        width: 100%;
        text-align: center;
      }

      .stats-right-col {
        align-items: center;
        width: 100%;
      }

      .stats-mini-row {
        max-width: none;
        justify-items: center;
      }

      .stats-mini-item {
        text-align: center;
      }
    }

    @media (max-width: 575px) {
      .stats-section {
        padding: 2.75rem 0 2.25rem;
      }

      .stats-layout {
        gap: 1.75rem;
      }

      .stat-number.stat-number-hero {
        font-size: clamp(3.5rem, 22vw, 5.5rem);
      }

      .stat-label-hero {
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
      }

      .stats-mini-row {
        grid-template-columns: 1fr;
        gap: 1.35rem;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
      }

      .stats-mini-item {
        text-align: center;
      }

      .stats-award-badge {
        width: 100%;
        max-width: 420px;
        justify-content: space-between;
        border-radius: 14px;
        padding: 0.75rem 0.85rem;
      }

      .stats-award-title {
        white-space: normal;
      }
    }

    .stat-number {
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 800;
      color: var(--primary);
    }

    .stat-label {
      color: var(--text-muted);
      font-size: 0.9rem;
    }

    .section-label {
      color: var(--primary);
      font-size: 0.8rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: 0.75rem;
    }

    .section-title {
      font-size: clamp(1.75rem, 3vw, 2.5rem);
      font-weight: 800;
      letter-spacing: -0.02em;
      margin-bottom: 1rem;
    }

    .section-desc {
      color: var(--text-muted);
      font-size: 1.05rem;
      max-width: 640px;
    }

    .section-padding { padding: 5rem 0; }

    .audience-section {
      padding: 2.75rem 0 5rem;
      background: #0F1729;
    }

    .audience-intro {
      max-width: 860px;
      margin: 0 auto 3.25rem;
    }

    .audience-intro-label {
      color: #64748b;
      font-size: 0.72rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      margin-bottom: 1.15rem;
    }

    .audience-intro-title {
      font-size: clamp(2rem, 4.8vw, 3.35rem);
      font-weight: 800;
      line-height: 1.12;
      letter-spacing: -0.035em;
      color: #f8fafc;
      margin-bottom: 1.35rem;
    }

    .audience-intro-desc {
      color: #94a3b8;
      font-size: clamp(0.98rem, 1.5vw, 1.08rem);
      line-height: 1.65;
      max-width: 620px;
      margin: 0 auto;
    }

    .audience-tabs-nav {
      display: flex;
      justify-content: center;
      flex-wrap: wrap;
      gap: 0.35rem;
      margin-bottom: 1.35rem;
      border: none;
    }

    .audience-tab-btn {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.45rem;
      min-width: 108px;
      padding: 0.8rem 1.2rem;
      border: none;
      border-radius: 0.75rem;
      background: transparent;
      color: #64748b;
      font-size: 0.82rem;
      font-weight: 500;
      transition: background 0.2s ease, color 0.2s ease;
    }

    .audience-tab-btn i {
      font-size: 1.1rem;
      line-height: 1;
      color: #64748b;
      transition: color 0.2s ease;
    }

    .audience-tab-btn:hover {
      color: #94a3b8;
    }

    .audience-tab-btn.active {
      background: rgba(30, 41, 59, 0.72);
      color: #e2e8f0;
    }

    .audience-tab-btn.active i {
      color: #f97316;
    }

    .audience-panel-card {
      background: rgba(15, 23, 42, 0.48);
      border: 1px solid rgba(148, 163, 184, 0.12);
      border-radius: 1rem;
      padding: clamp(1.65rem, 3vw, 2.35rem);
    }

    .audience-stat-number {
      font-size: clamp(2.75rem, 5vw, 3.65rem);
      font-weight: 800;
      color: #f97316;
      line-height: 1;
      letter-spacing: -0.03em;
    }

    .audience-stat-number.is-compact {
      font-size: clamp(2.15rem, 4.2vw, 3rem);
      letter-spacing: -0.025em;
    }

    .audience-stat-number.is-gradient {
      background: linear-gradient(180deg, #f97316 0%, #fbbf24 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }

    .audience-badge.is-filled {
      background: rgba(124, 45, 18, 0.32);
      border-color: rgba(249, 115, 22, 0.28);
    }

    .audience-stat-label {
      color: #64748b;
      font-size: 0.82rem;
      margin-top: 0.35rem;
      margin-bottom: 1.2rem;
    }

    .audience-panel-title {
      font-size: clamp(1.02rem, 1.8vw, 1.18rem);
      font-weight: 700;
      line-height: 1.45;
      color: #f8fafc;
      margin-bottom: 1rem;
    }

    .audience-badge {
      display: inline-block;
      border: 1px solid rgba(249, 115, 22, 0.42);
      color: #fb923c;
      border-radius: 999px;
      padding: 0.34rem 0.82rem;
      font-size: 0.72rem;
      font-weight: 500;
      line-height: 1.3;
    }

    .audience-compare-list {
      display: flex;
      flex-direction: column;
      gap: 0.85rem;
    }

    .audience-compare-item {
      background: rgba(10, 14, 23, 0.55);
      border: 1px solid rgba(148, 163, 184, 0.08);
      border-radius: 0.65rem;
      padding: 1rem 1.1rem;
    }

    .audience-compare-row {
      display: flex;
      align-items: flex-start;
      gap: 0.55rem;
      font-size: 0.86rem;
      line-height: 1.45;
    }

    .audience-compare-row.is-bad {
      color: #64748b;
      margin-bottom: 0.35rem;
    }

    .audience-compare-row.is-bad i {
      color: #ef4444;
      font-size: 0.95rem;
      margin-top: 0.1rem;
      flex-shrink: 0;
    }

    .audience-compare-row.is-good {
      color: #f8fafc;
      font-weight: 600;
      margin-bottom: 0.25rem;
    }

    .audience-compare-row.is-good i {
      color: #22c55e;
      font-size: 0.95rem;
      margin-top: 0.1rem;
      flex-shrink: 0;
    }

    .audience-compare-desc {
      color: #64748b;
      font-size: 0.78rem;
      line-height: 1.5;
      padding-left: 1.35rem;
    }

    .audience-panel-footer {
      display: flex;
      justify-content: flex-end;
      margin-top: 1.65rem;
    }

    .audience-panel-link {
      color: #f97316;
      font-size: 0.88rem;
      font-weight: 600;
      text-decoration: none;
      transition: color 0.2s ease;
    }

    .audience-panel-link:hover {
      color: #fb923c;
    }

    .comparison-section {
      padding: 1.5rem 0 5rem;
      background: #0F1729;
    }

    .comparison-intro {
      max-width: 760px;
      margin: 0 auto 2.75rem;
    }

    .comparison-title {
      font-size: clamp(1.85rem, 4vw, 2.65rem);
      font-weight: 800;
      line-height: 1.15;
      letter-spacing: -0.03em;
      color: #f8fafc;
      margin-bottom: 1rem;
    }

    .comparison-desc {
      color: #94a3b8;
      font-size: clamp(0.95rem, 1.5vw, 1.05rem);
      line-height: 1.65;
      max-width: 620px;
      margin: 0 auto;
    }

    .comparison-table-wrap {
      border: 1px solid rgba(148, 163, 184, 0.12);
      border-radius: 1rem;
      overflow: hidden;
      background: rgba(15, 23, 42, 0.42);
    }

    .comparison-table-scroll {
      overflow-x: auto;
    }

    .comparison-table {
      width: 100%;
      min-width: 860px;
      margin: 0;
      border-collapse: collapse;
      color: #f8fafc;
    }

    .comparison-table thead th {
      padding: 1rem 1.15rem;
      font-size: 0.68rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: #64748b;
      text-align: left;
      border-bottom: 1px solid rgba(148, 163, 184, 0.1);
      background: rgba(10, 14, 23, 0.55);
    }

    .comparison-table thead th.tc-col {
      color: #f97316;
      border-top: 3px solid #f97316;
      background: rgba(249, 115, 22, 0.05);
    }

    .comparison-table tbody td {
      padding: 1rem 1.15rem;
      font-size: 0.82rem;
      line-height: 1.45;
      vertical-align: top;
      border-bottom: 1px solid rgba(148, 163, 184, 0.08);
    }

    .comparison-table tbody tr:last-child td {
      border-bottom: none;
    }

    .comparison-table tbody td.feature-col {
      color: #94a3b8;
      font-weight: 500;
      width: 16%;
    }

    .comparison-table tbody td.tc-col {
      background: rgba(249, 115, 22, 0.04);
      color: #e2e8f0;
      width: 34%;
    }

    .comparison-table tbody td.legacy-col,
    .comparison-table tbody td.generic-col {
      color: #94a3b8;
      width: 25%;
    }

    .cmp-status {
      display: flex;
      align-items: flex-start;
      gap: 0.65rem;
    }

    .cmp-status-icon {
      width: 18px;
      height: 18px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      margin-top: 0.12rem;
      font-size: 0.68rem;
      font-weight: 700;
      line-height: 1;
    }

    .cmp-status.is-yes .cmp-status-icon {
      background: #22c55e;
      color: #fff;
    }

    .cmp-status.is-no .cmp-status-icon {
      background: #ef4444;
      color: #fff;
    }

    .cmp-status.is-partial .cmp-status-icon {
      background: #eab308;
      color: #1e293b;
      font-size: 0.82rem;
      font-weight: 800;
    }

    .cmp-status-text {
      flex: 1;
      min-width: 0;
    }

    .cmp-status.is-yes .cmp-status-text {
      color: #e2e8f0;
    }

    .integrations-section {
      padding: 4rem 0 5rem;
      background: #0F1729;
    }

    .integrations-intro {
      max-width: 760px;
      margin: 0 auto 2.75rem;
    }

    .integrations-intro-label {
      color: #64748b;
      font-size: 0.72rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      margin-bottom: 1.15rem;
    }

    .integrations-intro-title {
      font-size: clamp(1.85rem, 4vw, 2.65rem);
      font-weight: 800;
      line-height: 1.15;
      letter-spacing: -0.03em;
      color: #f8fafc;
      margin-bottom: 1rem;
    }

    .integrations-intro-desc {
      color: #94a3b8;
      font-size: clamp(0.95rem, 1.5vw, 1.05rem);
      line-height: 1.65;
      max-width: 620px;
      margin: 0 auto;
    }

    .integration-card {
      background: rgba(15, 23, 42, 0.48);
      border: 1px solid rgba(148, 163, 184, 0.12);
      border-radius: 1rem;
      padding: 1.45rem 1.35rem 1.35rem;
      height: 100%;
    }

    .integration-card-icon {
      width: 38px;
      height: 38px;
      border-radius: 0.6rem;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 0.95rem;
      font-size: 1.05rem;
    }

    .integration-card-icon.is-blue {
      background: rgba(59, 130, 246, 0.14);
      color: #60a5fa;
    }

    .integration-card-icon.is-green {
      background: rgba(34, 197, 94, 0.14);
      color: #4ade80;
    }

    .integration-card-icon.is-purple {
      background: rgba(168, 85, 247, 0.14);
      color: #c084fc;
    }

    .integration-card-icon.is-yellow {
      background: rgba(234, 179, 8, 0.14);
      color: #facc15;
    }

    .integration-card-title {
      font-size: 0.98rem;
      font-weight: 700;
      color: #f8fafc;
      margin-bottom: 0.2rem;
    }

    .integration-card-count {
      font-size: 0.76rem;
      font-weight: 600;
      margin-bottom: 1rem;
    }

    .integration-card-count.is-blue { color: #60a5fa; }
    .integration-card-count.is-green { color: #4ade80; }
    .integration-card-count.is-purple { color: #c084fc; }
    .integration-card-count.is-yellow { color: #facc15; }

    .integration-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.4rem;
    }

    .integration-badge {
      display: inline-block;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(148, 163, 184, 0.12);
      border-radius: 0.4rem;
      padding: 0.32rem 0.58rem;
      font-size: 0.72rem;
      font-weight: 500;
      color: #cbd5e1;
      line-height: 1.2;
    }

    .integration-badge-more {
      display: inline-block;
      padding: 0.32rem 0.15rem;
      font-size: 0.72rem;
      font-weight: 600;
      color: #f97316;
      line-height: 1.2;
    }

    .integrations-cta-wrap {
      display: flex;
      justify-content: center;
      margin-top: 2.35rem;
    }

    .integrations-cta-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.45rem;
      padding: 0.72rem 1.25rem;
      border: 1px solid rgba(148, 163, 184, 0.18);
      border-radius: 0.65rem;
      background: rgba(15, 23, 42, 0.55);
      color: #e2e8f0;
      font-size: 0.88rem;
      font-weight: 500;
      text-decoration: none;
      transition: border-color 0.2s ease, color 0.2s ease;
    }

    .integrations-cta-btn:hover {
      border-color: rgba(148, 163, 184, 0.32);
      color: #f8fafc;
    }

    .knowledge-section {
      padding: 4rem 0 5rem;
      background: #0F1729;
    }

    .knowledge-intro {
      max-width: 760px;
      margin: 0 auto 2.75rem;
    }

    .knowledge-intro-label {
      color: #64748b;
      font-size: 0.72rem;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.16em;
      margin-bottom: 1.15rem;
    }

    .knowledge-intro-title {
      font-size: clamp(1.85rem, 4vw, 2.65rem);
      font-weight: 800;
      line-height: 1.15;
      letter-spacing: -0.03em;
      color: #f8fafc;
      margin-bottom: 1rem;
    }

    .knowledge-intro-desc {
      color: #94a3b8;
      font-size: clamp(0.95rem, 1.5vw, 1.05rem);
      line-height: 1.65;
      max-width: 620px;
      margin: 0 auto;
    }

    .knowledge-featured-card {
      background: rgba(15, 23, 42, 0.48);
      border: 1px solid rgba(148, 163, 184, 0.12);
      border-radius: 1rem;
      overflow: hidden;
      height: 100%;
    }

    .knowledge-featured-visual {
      position: relative;
      padding: 0;
      background: #0F1729;
      border-bottom: 1px solid rgba(148, 163, 184, 0.08);
      line-height: 0;
    }

    .knowledge-featured-img {
      width: 100%;
      height: auto;
      display: block;
    }

    .knowledge-featured-body {
      padding: 1.35rem 1.4rem 1.45rem;
    }

    .knowledge-meta {
      display: flex;
      align-items: center;
      flex-wrap: wrap;
      gap: 0.55rem;
      margin-bottom: 0.85rem;
    }

    .knowledge-tag {
      display: inline-block;
      background: rgba(249, 115, 22, 0.14);
      border: 1px solid rgba(249, 115, 22, 0.28);
      color: #fb923c;
      border-radius: 999px;
      padding: 0.22rem 0.55rem;
      font-size: 0.68rem;
      font-weight: 600;
    }

    .knowledge-date {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      color: #64748b;
      font-size: 0.74rem;
    }

    .knowledge-date i {
      font-size: 0.72rem;
      opacity: 0.85;
    }

    .knowledge-featured-title {
      font-size: clamp(1.15rem, 2vw, 1.45rem);
      font-weight: 700;
      line-height: 1.35;
      color: #f8fafc;
      margin-bottom: 0.75rem;
    }

    .knowledge-featured-title .title-accent {
      background: linear-gradient(90deg, #ffffff 0%, #f97316 100%);
      -webkit-background-clip: text;
      background-clip: text;
      -webkit-text-fill-color: transparent;
      color: transparent;
    }

    .knowledge-featured-excerpt {
      color: #94a3b8;
      font-size: 0.86rem;
      line-height: 1.65;
      margin-bottom: 1rem;
    }

    .knowledge-read-link {
      color: #f97316;
      font-size: 0.86rem;
      font-weight: 600;
      text-decoration: none;
      transition: color 0.2s ease;
    }

    .knowledge-read-link:hover {
      color: #fb923c;
    }

    .knowledge-sidebar-label {
      color: #64748b;
      font-size: 0.68rem;
      font-weight: 600;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      margin-bottom: 1rem;
    }

    .knowledge-recent-list {
      display: flex;
      flex-direction: column;
      gap: 0.55rem;
    }

    .knowledge-recent-item {
      display: flex;
      align-items: flex-start;
      gap: 0.65rem;
      padding: 0.55rem 0.15rem;
      text-decoration: none;
      color: #94a3b8;
      transition: color 0.2s ease;
    }

    .knowledge-recent-item:hover {
      color: #cbd5e1;
    }

    .knowledge-recent-item.is-active {
      background: rgba(15, 23, 42, 0.55);
      border: 1px solid rgba(148, 163, 184, 0.1);
      border-radius: 0.65rem;
      padding: 0.85rem 0.9rem;
      color: #e2e8f0;
    }

    .knowledge-recent-bullet {
      width: 8px;
      height: 8px;
      border-radius: 2px;
      background: #475569;
      margin-top: 0.35rem;
      flex-shrink: 0;
    }

    .knowledge-recent-item.is-active .knowledge-recent-bullet {
      background: #f97316;
    }

    .knowledge-recent-copy {
      min-width: 0;
    }

    .knowledge-recent-title {
      font-size: 0.84rem;
      line-height: 1.45;
      font-weight: 500;
    }

    .knowledge-recent-item.is-active .knowledge-recent-title {
      font-weight: 600;
      color: #f8fafc;
    }

    .knowledge-recent-date {
      font-size: 0.72rem;
      color: #64748b;
      margin-top: 0.2rem;
    }

    .knowledge-view-all-btn {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.45rem;
      width: 100%;
      margin-top: 1.35rem;
      padding: 0.78rem 1rem;
      border: 1px solid rgba(148, 163, 184, 0.16);
      border-radius: 0.65rem;
      background: rgba(15, 23, 42, 0.55);
      color: #e2e8f0;
      font-size: 0.86rem;
      font-weight: 500;
      text-decoration: none;
      transition: border-color 0.2s ease, color 0.2s ease;
    }

    .knowledge-view-all-btn:hover {
      border-color: rgba(148, 163, 184, 0.28);
      color: #f8fafc;
    }

    .faq-section {
      padding: 5rem 0 7rem;
      background: #0F1729;
      overflow: hidden;
    }

    .faq-container {
      max-width: 896px;
      margin: 0 auto;
    }

    .faq-intro {
      text-align: center;
      margin-bottom: 3.5rem;
    }

    .faq-intro-label {
      display: block;
      color: #64748b;
      font-size: 0.875rem;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 1rem;
    }

    .tc-home .faq-intro-title {
      font-size: clamp(1.875rem, 4vw, 3rem);
      font-weight: 700;
      line-height: 1.2;
      color: #ffffff;
      margin-bottom: 1.25rem;
    }

    .faq-intro-desc {
      color: #94a3b8;
      font-size: 1.125rem;
      line-height: 1.65;
      margin: 0;
    }

    .faq-list {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .tc-home .faq-item {
      background-color: transparent !important;
      border: none !important;
      border-radius: 0 !important;
      margin-bottom: 0 !important;
    }

    .tc-home .faq-card {
      padding: 1.25rem;
      border-radius: 0.75rem;
      border: 1px solid rgba(51, 65, 85, 0.35);
      background: #1a2332;
      overflow: hidden;
      transition: background 0.3s ease, border-color 0.3s ease;
    }

    .tc-home .faq-item:has(.faq-trigger:not(.collapsed)) .faq-card {
      background: #1e293b;
      border-color: rgba(71, 85, 105, 0.45);
    }

    .tc-home .faq-item:has(.faq-trigger.collapsed):hover .faq-card {
      border-color: rgba(71, 85, 105, 0.4);
      background: #1e293b;
    }

    .tc-home .faq-trigger {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1rem;
      padding: 0;
      border: 0;
      background: transparent !important;
      -webkit-appearance: none;
      appearance: none;
      text-align: left;
      cursor: pointer;
      color: inherit;
      box-shadow: none;
    }

    .tc-home .faq-trigger:focus,
    .tc-home .faq-trigger:active {
      outline: none;
      box-shadow: none;
    }

    .tc-home .faq-question {
      font-size: 1.125rem;
      font-weight: 600;
      line-height: 1.4;
      color: #ffffff;
    }

    .tc-home .faq-toggle {
      flex-shrink: 0;
      width: 2rem;
      height: 2rem;
      border-radius: 999px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: rgba(30, 41, 59, 0.9);
      border: 1px solid rgba(100, 116, 139, 0.45);
      color: #cbd5e1;
      transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    }

    .faq-toggle i {
      font-size: 1rem;
      line-height: 1;
    }

    .faq-icon-open { display: block; }
    .faq-icon-closed { display: none; }

    .tc-home .faq-trigger:not(.collapsed) .faq-toggle {
      background: #C8440C;
      border-color: #C8440C;
      color: #ffffff;
    }

    .faq-trigger:not(.collapsed) .faq-icon-open { display: block; }
    .faq-trigger:not(.collapsed) .faq-icon-closed { display: none; }

    .faq-trigger.collapsed .faq-icon-open { display: none; }
    .faq-trigger.collapsed .faq-icon-closed { display: block; }

    .faq-answer {
      padding-right: 3rem;
    }

    .tc-home .faq-answer p {
      margin: 1rem 0 0;
      color: #9ca3af;
      line-height: 1.65;
      font-size: 1rem;
    }

    .faq-footer {
      margin-top: 2.5rem;
      text-align: center;
    }

    .faq-footer-text {
      color: #64748b;
      font-size: 0.875rem;
      margin-bottom: 0.75rem;
    }

    .tc-home .faq-contact-link {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      color: #C8440C;
      font-size: 0.875rem;
      font-weight: 500;
      text-decoration: none;
      transition: color 0.2s ease;
    }

    .tc-home .faq-contact-link:hover {
      color: #E85A1A;
    }

    .faq-contact-link i {
      font-size: 1rem;
    }

    .cta-section {
      padding: 5rem 0 2.5rem;
      background: #0F1729;
    }

    .cta-inner {
      max-width: 760px;
      margin: 0 auto;
      text-align: center;
    }

    .cta-label {
      display: block;
      color: #64748b;
      font-size: 0.875rem;
      font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      margin-bottom: 1rem;
    }

    .cta-title {
      font-size: clamp(1.875rem, 4vw, 3rem);
      font-weight: 700;
      line-height: 1.2;
      color: #fff;
      margin-bottom: 1.25rem;
    }

    .cta-desc {
      color: #94a3b8;
      font-size: 1.125rem;
      line-height: 1.65;
      max-width: 640px;
      margin: 0 auto 2rem;
    }

    .cta-demo-btn {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: #C8440C;
      border: none;
      color: #fff;
      font-weight: 600;
      font-size: 1rem;
      padding: 0.85rem 1.75rem;
      border-radius: 999px;
      text-decoration: none;
      box-shadow: 0 0 0 1px rgba(200, 68, 12, 0.15), 0 8px 32px rgba(200, 68, 12, 0.35);
      transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    .cta-demo-btn:hover {
      color: #fff;
      background: #A8380A;
      transform: translateY(-1px);
      box-shadow: 0 0 0 1px rgba(200, 68, 12, 0.2), 0 12px 36px rgba(200, 68, 12, 0.42);
    }

    .cta-pricing-link {
      display: inline-block;
      margin-top: 1.25rem;
      color: #fb923c;
      font-size: 0.95rem;
      font-weight: 500;
      text-decoration: none;
      transition: color 0.2s ease;
    }

    .cta-pricing-link:hover {
      color: #fdba74;
    }

    .newsletter-section {
      padding: 0 0 5rem;
      background: #0F1729;
    }

    .newsletter-card {
      position: relative;
      display: grid;
      grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
      gap: 2rem 2.5rem;
      align-items: center;
      padding: 2rem 2.25rem;
      border-radius: 1rem;
      border: 1px solid rgba(249, 115, 22, 0.18);
      background:
        radial-gradient(circle at 0% 0%, rgba(249, 115, 22, 0.08), transparent 42%),
        radial-gradient(circle at 100% 100%, rgba(249, 115, 22, 0.06), transparent 38%),
        rgba(15, 23, 42, 0.72);
      box-shadow:
        0 0 0 1px rgba(249, 115, 22, 0.08),
        0 0 48px rgba(249, 115, 22, 0.12),
        0 24px 48px rgba(0, 0, 0, 0.28);
    }

    .newsletter-badge {
      display: inline-block;
      background: rgba(249, 115, 22, 0.16);
      border: 1px solid rgba(249, 115, 22, 0.28);
      color: #fb923c;
      border-radius: 999px;
      padding: 0.28rem 0.65rem;
      font-size: 0.72rem;
      font-weight: 600;
      margin-bottom: 0.85rem;
    }

    .newsletter-title {
      font-size: clamp(1.35rem, 2.5vw, 1.75rem);
      font-weight: 700;
      color: #fff;
      line-height: 1.25;
      margin-bottom: 0.75rem;
    }

    .newsletter-desc {
      color: #94a3b8;
      font-size: 0.95rem;
      line-height: 1.65;
      margin: 0;
      max-width: 520px;
    }

    .newsletter-form-wrap {
      width: 100%;
    }

    .newsletter-form {
      display: flex;
      align-items: stretch;
      gap: 0.65rem;
      margin-bottom: 0.75rem;
    }

    .newsletter-input-wrap {
      position: relative;
      flex: 1 1 auto;
      min-width: 0;
    }

    .newsletter-input-wrap i {
      position: absolute;
      left: 1rem;
      top: 50%;
      transform: translateY(-50%);
      color: #64748b;
      font-size: 0.95rem;
      pointer-events: none;
    }

    .newsletter-input {
      width: 100%;
      height: 100%;
      min-height: 3rem;
      padding: 0.75rem 1rem 0.75rem 2.65rem;
      border-radius: 0.65rem;
      border: 1px solid rgba(148, 163, 184, 0.14);
      background: rgba(10, 14, 23, 0.72);
      color: #f8fafc;
      font-size: 0.92rem;
      outline: none;
      transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .newsletter-input::placeholder {
      color: #64748b;
    }

    .newsletter-input:focus {
      border-color: rgba(200, 68, 12, 0.35);
      box-shadow: 0 0 0 3px rgba(200, 68, 12, 0.12);
    }

    .newsletter-submit {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 0.45rem;
      flex-shrink: 0;
      border: none;
      border-radius: 0.65rem;
      padding: 0.75rem 1.25rem;
      background: #C8440C;
      color: #fff;
      font-size: 0.92rem;
      font-weight: 600;
      white-space: nowrap;
      box-shadow: 0 8px 24px rgba(200, 68, 12, 0.28);
      transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    .newsletter-submit:hover {
      background: #A8380A;
      transform: translateY(-1px);
      box-shadow: 0 10px 28px rgba(200, 68, 12, 0.36);
    }

    .newsletter-disclaimer {
      color: #64748b;
      font-size: 0.72rem;
      line-height: 1.5;
      margin: 0;
    }

    .newsletter-disclaimer a {
      color: #94a3b8;
      text-decoration: underline;
      text-underline-offset: 2px;
    }

    .newsletter-disclaimer a:hover {
      color: #fb923c;
    }

    @media (max-width: 991px) {
      .newsletter-card {
        grid-template-columns: 1fr;
        padding: 1.5rem;
      }

      .newsletter-form {
        flex-direction: column;
      }

      .newsletter-submit {
        width: 100%;
        min-height: 3rem;
      }
    }

    .award-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: rgba(255,255,255,0.05);
      border: 1px solid var(--border);
      border-radius: 0.75rem;
      padding: 0.75rem 1.25rem;
      font-size: 0.85rem;
      font-weight: 600;
    }

    .award-badge i { color: #eab308; }

    footer {
      background: #0F1729;
      border-top: 1px solid var(--border);
      padding: 4rem 0 2rem;
    }

    footer h6 {
      font-size: 0.8rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--text-muted);
      margin-bottom: 1rem;
    }

    footer a {
      color: var(--text-muted);
      text-decoration: none;
      font-size: 0.9rem;
      display: block;
      padding: 0.25rem 0;
      transition: color 0.2s;
    }

    footer a:hover { color: var(--primary); }

    .footer-bottom {
      border-top: 1px solid var(--border);
      margin-top: 3rem;
      padding-top: 1.5rem;
      color: var(--text-muted);
      font-size: 0.85rem;
    }

    .client-mock {
      background: rgba(0,0,0,0.2);
      border-radius: 0.5rem;
      padding: 1rem;
      font-size: 0.75rem;
    }

    .status-badge {
      display: inline-block;
      padding: 0.15rem 0.5rem;
      border-radius: 50px;
      font-size: 0.65rem;
      font-weight: 600;
    }

    .status-active { background: rgba(34,197,94,0.15); color: #4ade80; }
    .status-verified { background: rgba(20,184,166,0.15); color: #2dd4bf; }

    @media (max-width: 991px) {
      .hero-section { padding-top: 3rem; }
      .comparison-table { overflow-x: auto; }
      .comparison-table table { min-width: 700px; }
    }

    /* Hero — user dashboard preview */
    .hero-ud-demo { position: relative; z-index: 1; height: 480px; }
    @media (min-width: 992px) { .hero-ud-demo { height: 520px; } }
    @media (min-width: 1200px) { .hero-ud-demo { height: 560px; } }
    .hero-ud-demo__shell {
      height: 100%; background: #0f1729; border: 1px solid rgba(255,255,255,0.08);
      border-radius: 14px; overflow: hidden;
      box-shadow: 0 32px 64px rgba(0,0,0,0.5); animation: floatDemo 10s ease-in-out infinite;
    }
    .hero-ud-demo__layout { display: flex; height: 100%; font-size: 0.72rem; }
    .hero-ud-sidebar {
      width: 178px; flex-shrink: 0; background: #0b1220;
      border-right: 1px solid rgba(255,255,255,0.06); padding: 10px 8px;
      display: flex; flex-direction: column; gap: 8px; overflow: hidden; min-height: 0;
    }
    .hero-ud-brand { display: flex; align-items: center; gap: 6px; }
    .hero-ud-brand__icon { width: 26px; height: 26px; object-fit: contain; }
    .hero-ud-brand__text { font-size: 0.62rem; font-weight: 700; color: #fff; line-height: 1.1; }
    .hero-ud-brand__max { color: #fb8931; }
    .hero-ud-balance { flex-shrink: 0; }
    .hero-ud-balance__title { color: #fff; font-size: 0.58rem; font-weight: 700; margin: 0 0 5px; }
    .hero-ud-wallets { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; margin-bottom: 6px; }
    .hero-ud-wallet {
      background: #162032; border: 1px solid rgba(255,255,255,0.08); border-radius: 8px;
      padding: 6px 3px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px;
    }
    .hero-ud-wallet__icon { width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; font-size: 12px; position: relative; }
    .hero-ud-wallet__icon::before { content: ""; position: absolute; inset: 0; border-radius: 6px; opacity: 0.2; background: currentColor; }
    .hero-ud-wallet__icon.is-primary { color: #3b82f6; }
    .hero-ud-wallet__icon.is-success { color: #22c55e; }
    .hero-ud-wallet__amount { color: #fff; font-weight: 700; font-size: 0.55rem; }
    .hero-ud-wallet__label { color: #94a3b8; font-size: 0.48rem; }
    .hero-ud-wallet-actions { display: flex; flex-direction: column; gap: 5px; }
    .hero-ud-btn {
      display: block; text-align: center; padding: 5px 6px; border-radius: 6px;
      font-size: 0.46rem; font-weight: 600; color: #fff; background: linear-gradient(135deg, #fb8931, #e67a22);
    }
    .hero-ud-btn--outline { color: #fb8931; background: transparent; border: 1px solid rgba(251,137,49,0.55); }
    .hero-ud-menu-wrap { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(251,137,49,0.35) transparent; }
    .hero-ud-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1px; }
    .hero-ud-menu li {
      display: flex; align-items: center; gap: 5px; padding: 4px 6px; border-radius: 6px;
      color: #94a3b8; font-size: 0.5rem; font-weight: 600; transition: background 0.35s ease, color 0.35s ease;
    }
    .hero-ud-menu li img { width: 12px; height: 12px; flex-shrink: 0; }
    .hero-ud-menu li.active {
      background: linear-gradient(135deg, rgba(251,137,49,0.25), rgba(251,137,49,0.08));
      color: #fb8931; border: 1px solid rgba(251,137,49,0.35);
    }
    .hero-ud-main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: #0f1729; }
    .hero-ud-topbar { flex-shrink: 0; display: flex; justify-content: flex-end; padding: 10px 14px; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .hero-ud-topbar__right { display: flex; align-items: center; gap: 10px; }
    .hero-ud-topbar__bell { color: #94a3b8; font-size: 16px; }
    .hero-ud-avatar {
      width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #fb8931, #e67a22);
      color: #fff; font-size: 0.55rem; font-weight: 700; display: grid; place-items: center;
    }
    .hero-ud-panels { flex: 1; position: relative; overflow: hidden; min-height: 0; }
    .hero-ud-panels::after {
      content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%;
      background: linear-gradient(to bottom, transparent, #0f1729 88%); pointer-events: none; z-index: 3;
    }
    .hero-ud-panel {
      position: absolute; inset: 0; opacity: 0; visibility: hidden; transform: translateY(10px);
      transition: opacity 0.55s ease, transform 0.55s ease, visibility 0.55s; pointer-events: none; z-index: 1;
    }
    .hero-ud-panel.active { opacity: 1; visibility: visible; transform: translateY(0); pointer-events: auto; z-index: 2; }
    .hero-ud-panel__inner { height: 100%; overflow: hidden; padding: 12px 14px 0; }
    .hero-ud-section { margin-bottom: 12px; }
    .hero-ud-section__heading { color: #fff; font-size: 0.68rem; font-weight: 700; margin: 0 0 8px; }
    .hero-ud-widgets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
    .hero-ud-widget {
      position: relative; aspect-ratio: 1/1; background: #162032; border: 1px solid rgba(255,255,255,0.08);
      border-radius: 10px; padding: 10px 8px 22px; display: flex; flex-direction: column; align-items: center;
      justify-content: center; text-align: center; gap: 5px;
    }
    .hero-ud-widget__icon { width: 32px; height: 32px; border-radius: 8px; display: grid; place-items: center; font-size: 15px; position: relative; }
    .hero-ud-widget__icon::before { content: ""; position: absolute; inset: 0; border-radius: 8px; opacity: 0.2; background: currentColor; }
    .hero-ud-widget--success .hero-ud-widget__icon { color: #22c55e; }
    .hero-ud-widget--primary .hero-ud-widget__icon { color: #3b82f6; }
    .hero-ud-widget--danger .hero-ud-widget__icon { color: #ef4444; }
    .hero-ud-widget--warning .hero-ud-widget__icon { color: #f59e0b; }
    .hero-ud-widget__amount { color: #fff; font-weight: 700; font-size: 0.62rem; }
    .hero-ud-widget__title { color: #94a3b8; font-size: 0.48rem; font-weight: 600; }
    .hero-ud-widget__arrow {
      position: absolute; right: 6px; bottom: 6px; width: 18px; height: 18px; border-radius: 5px;
      background: rgba(255,255,255,0.06); color: #94a3b8; font-size: 9px; display: grid; place-items: center;
    }
    .hero-ud-page-head { margin-bottom: 10px; }
    .hero-ud-page-head__sub { color: #fb8931; font-size: 0.52rem; font-weight: 600; margin: 0 0 2px; }
    .hero-ud-page-head__title { color: #fff; font-size: 0.82rem; font-weight: 700; margin: 0; }
    .hero-ud-invest-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
    .hero-ud-invest-card {
      background: #162032; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px;
      padding: 10px 8px; text-align: center; display: flex; flex-direction: column; gap: 6px;
    }
    .hero-ud-invest-card__label { color: #94a3b8; font-size: 0.5rem; font-weight: 700; }
    .hero-ud-invest-card__amount { color: #fb8931; font-size: 0.72rem; font-weight: 700; }
    .hero-ud-invest-card__btn {
      padding: 5px 6px; border-radius: 6px; font-size: 0.48rem; font-weight: 600; color: #fff;
      background: linear-gradient(135deg, #fb8931, #e67a22);
    }
    .hero-ud-invest-active { background: #162032; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 10px; }
    .hero-ud-invest-active__head { display: flex; justify-content: space-between; color: #fff; font-size: 0.58rem; font-weight: 700; margin-bottom: 8px; }
    .hero-ud-link { color: #fb8931; font-size: 0.5rem; }
    .hero-ud-invest-row {
      display: grid; grid-template-columns: 1fr auto auto; gap: 8px; padding: 7px 0;
      border-top: 1px solid rgba(255,255,255,0.06); font-size: 0.52rem; color: #cbd5e1;
    }
    .hero-ud-tag { font-size: 0.46rem; padding: 2px 6px; border-radius: 4px; background: rgba(34,197,94,0.15); color: #4ade80; }
    .hero-ud-tag--muted { background: rgba(148,163,184,0.15); color: #94a3b8; }
    .hero-ud-ref-card, .hero-ud-ref-tree {
      background: #162032; border: 1px solid rgba(255,255,255,0.08); border-radius: 10px; padding: 10px; margin-bottom: 10px;
    }
    .hero-ud-ref-card__title { color: #fff; font-size: 0.62rem; font-weight: 700; margin: 0 0 4px; }
    .hero-ud-ref-card__text { color: #94a3b8; font-size: 0.5rem; margin: 0 0 8px; }
    .hero-ud-copy { display: flex; gap: 6px; background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.1); border-radius: 8px; padding: 6px 8px; }
    .hero-ud-copy__url { flex: 1; color: #94a3b8; font-size: 0.46rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .hero-ud-copy__btn { color: #fb8931; font-size: 0.48rem; font-weight: 700; }
    .hero-ud-ref-node { display: flex; align-items: center; gap: 6px; color: #e2e8f0; font-size: 0.52rem; font-weight: 600; padding: 5px 0; }
    .hero-ud-ref-node i { color: #fb8931; }
    .hero-ud-ref-branch { margin-left: 14px; padding-left: 10px; border-left: 2px solid rgba(251,137,49,0.35); }
    .hero-ud-panel[data-hero-panel="2"] .hero-ud-panel__inner {
      display: flex;
      flex-direction: column;
      align-items: center;
    }
    .hero-ud-panel[data-hero-panel="2"] .hero-ud-page-head,
    .hero-ud-panel[data-hero-panel="2"] .hero-ud-ref-card,
    .hero-ud-panel[data-hero-panel="2"] .hero-ud-ref-tree {
      width: 100%;
      max-width: 620px;
    }
    .hero-ud-panel[data-hero-panel="2"] .hero-ud-page-head {
      text-align: center;
    }
    @media (max-width: 575px) {
      .hero-ud-demo { height: auto; min-height: 380px; }
      .hero-ud-sidebar { width: 100%; max-width: 100%; }
      .hero-ud-widgets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }

    @media (max-width: 991px) {
      .platform-demo-wrap .crm-layout {
        flex-direction: column;
      }

      .platform-demo-wrap .platform-demo-sidebar {
        width: 100%;
        max-width: 100%;
        flex-shrink: 0;
        border-right: none;
        border-bottom: 1px solid rgba(148, 163, 184, 0.08);
        overflow: visible;
      }

      .platform-demo-wrap .platform-demo-menu {
        flex: none;
        max-height: 150px;
        overflow-y: auto;
      }

      .platform-demo-wrap .crm-main {
        width: 100%;
        min-width: 0;
        flex: 1;
        min-height: 280px;
      }

      .platform-demo-wrap .crm-demo {
        height: auto;
        min-height: 520px;
        max-height: none;
      }

      .platform-demo-wrap .crm-content {
        overflow: visible;
        min-height: 240px;
      }

      .platform-panel[data-platform="automations"] .crm-content {
        overflow: visible;
      }

      .seq-detail-body {
        grid-template-columns: 1fr;
        gap: 0.75rem;
      }

      .seq-detail-flow .seq-flow {
        max-width: 100%;
      }

      .seq-detail-title {
        white-space: normal;
        word-break: break-word;
      }

      .seq-detail-head {
        flex-wrap: wrap;
      }

      .seq-perf-panel {
        width: 100%;
      }

      .hero-ud-demo {
        height: auto;
        min-height: 420px;
      }

      .hero-ud-demo__layout {
        flex-direction: column;
      }

      .hero-ud-sidebar {
        width: 100%;
        max-width: 100%;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        max-height: 220px;
        overflow-y: auto;
      }

      .hero-ud-main {
        min-height: 300px;
        flex: 1;
      }

      .hero-ud-panels::after {
        height: 28%;
      }
    }