
  /* ---------- TOKENS ---------- */
  :root {
    --blue: #1849c6;
    --blue-600: #1e40af;
    --blue-050: #eef2ff;
    --orange: #f97316;
    --orange-600: #ea580c;
    --orange-050: #fff7ed;
    --ink: #0f172a;
    --ink-600: #334155;
    --muted: #64748b;
    --hairline: #e5e7eb;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 12px 32px -8px rgba(15, 23, 42, 0.12), 0 4px 12px -4px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 24px 60px -16px rgba(15, 23, 42, 0.18);
    --radius: 10px;
    --radius-lg: 16px;
    --header-h: 104px;
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  }

  * { box-sizing: border-box; }
  html, body {
    margin: 0; padding: 0;
    font-family: 'Poppins', system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; border: none; background: none; }
  ul { list-style: none; margin: 0; padding: 0; }

  /* ---------- HEADER ---------- */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 1px solid var(--hairline);
    height: var(--header-h);
    box-shadow: var(--shadow-sm);
  }
  .header-inner {
    max-width: 1440px;
    margin: 0 auto;
    height: 100%;
    padding: 0 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }

  /* Logo */
  .logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  .logo img {
    height: 74px;
    width: auto;
    display: block;
  }

  /* Primary nav */
  .primary-nav {
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .primary-nav > li { position: relative; }
  .primary-nav > li.has-mega { position: static; }
  .nav-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    letter-spacing: -0.005em;
    border-radius: 8px;
    position: relative;
    transition: color 0.2s var(--ease);
    background: transparent;
  }
  .nav-item::after {
    content: '';
    position: absolute;
    left: 16px; right: 16px;
    bottom: 4px;
    height: 2px;
    background: var(--blue);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s var(--ease);
    border-radius: 2px;
  }
  .nav-item:hover,
  .nav-item[aria-expanded="true"] {
    color: var(--blue);
  }
  .nav-item:hover::after,
  .nav-item[aria-expanded="true"]::after {
    transform: scaleX(1);
  }
  .nav-item svg.chevron {
    width: 12px; height: 12px;
    transition: transform 0.25s var(--ease);
  }
  .nav-item[aria-expanded="true"] svg.chevron {
    transform: rotate(180deg);
  }

  /* Right side utility */
  .header-utility {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
  }
  .social-icons {
    display: flex;
    gap: 4px;
  }
  .social-icons a {
    width: 36px; height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--ink-600);
    transition: all 0.2s var(--ease);
  }
  .social-icons a:hover {
    color: var(--orange);
    background: var(--orange-050);
  }
  .social-icons svg { width: 18px; height: 18px; }

  /* ---------- MEGA MENU BASE ---------- */
  .dropdown {
    position: absolute;
    top: 100%;
    background: var(--bg);
    border: 1px solid var(--hairline);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s var(--ease), transform 0.25s var(--ease), visibility 0.2s;
    z-index: 200;
  }
  .dropdown[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transform: translateY(8px);
  }

  /* Simple list dropdown (About Us, Clients) */
  .dropdown.simple {
    min-width: 240px;
    padding: 12px;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
  }
  .dropdown.simple[data-open="true"] {
    transform: translateX(-50%) translateY(8px);
  }
  .dropdown.simple a {
    display: block;
    padding: 12px 16px;
    font-size: 15px;
    color: var(--ink);
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.15s var(--ease);
  }
  .dropdown.simple a:hover {
    background: var(--blue-050);
    color: var(--blue);
    padding-left: 20px;
  }

  /* Mega menu (full-width) */
  .dropdown.mega {
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    width: min(1280px, calc(100vw - 64px));
    padding: 40px 48px 32px;
  }
  .dropdown.mega[data-open="true"] {
    transform: translateX(-50%) translateY(8px);
  }

  .mega-grid {
    display: grid;
    gap: 40px 48px;
  }
  .mega-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .mega-grid.cols-3-plus-card {
    grid-template-columns: 1fr 1fr 1fr 320px;
  }
  .mega-grid.cols-4-plus-card {
    grid-template-columns: 1fr 1fr 1fr 1fr 320px;
  }

  .mega-col-title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--orange);
    text-transform: uppercase;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--hairline);
    margin-bottom: 8px;
  }
  .mega-links {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }
  .mega-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    font-size: 15px;
    font-weight: 500;
    color: var(--ink);
    transition: color 0.15s var(--ease), padding-left 0.2s var(--ease);
  }
  .mega-links a:hover {
    color: var(--blue);
    padding-left: 4px;
  }
  .mega-links a .arrow {
    color: var(--muted);
    font-size: 12px;
    transition: transform 0.2s var(--ease), color 0.15s var(--ease);
  }
  .mega-links a:hover .arrow {
    color: var(--orange);
    transform: translateX(3px);
  }
  .mega-links a .badge {
    display: inline-flex;
    align-items: center;
    padding: 2px 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: 4px;
    margin-left: 8px;
    line-height: 1.4;
  }
  .badge.new {
    background: #0f172a;
    color: #ffffff;
  }
  .badge.expert {
    background: var(--blue-050);
    color: var(--blue);
    border: 1px solid #dbe4ff;
  }
  .badge.demanded {
    background: var(--orange-050);
    color: var(--orange-600);
    border: 1px solid #fed7aa;
  }
  .badge.bestseller {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
  }

  /* Info card on the right of some mega menus */
  .info-card {
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: 28px 24px;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-self: start;
  }
  .info-card .icon {
    width: 40px; height: 40px;
    background: rgba(249, 115, 22, 0.15);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--orange);
  }
  .info-card h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
  }
  .info-card p {
    margin: 0;
    font-size: 13px;
    line-height: 1.55;
    color: #cbd5e1;
    font-weight: 400;
  }
  .info-card .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .info-card .stat .num {
    font-size: 22px;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    letter-spacing: -0.02em;
  }
  .info-card .stat .lbl {
    font-size: 10px;
    color: #94a3b8;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 4px;
  }

  /* Mega footer CTA row */
  .mega-footer {
    grid-column: 1 / -1;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--hairline);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
  }
  .mega-footer .msg {
    font-size: 14px;
    color: var(--muted);
  }
  .mega-footer .msg strong {
    color: var(--ink);
    font-weight: 600;
  }
  .btn-primary,
  .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.005em;
    transition: all 0.2s var(--ease);
    white-space: nowrap;
  }
  .btn-primary {
    background: var(--blue);
    color: #ffffff;
    box-shadow: 0 4px 12px -2px rgba(24, 73, 198, 0.35);
  }
  .btn-primary:hover {
    background: var(--blue-600);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -4px rgba(24, 73, 198, 0.45);
  }
  .btn-secondary {
    background: var(--orange);
    color: #ffffff;
    box-shadow: 0 4px 12px -2px rgba(249, 115, 22, 0.35);
  }
  .btn-secondary:hover {
    background: var(--orange-600);
    transform: translateY(-1px);
    box-shadow: 0 8px 20px -4px rgba(249, 115, 22, 0.45);
  }

  /* ---------- FLOATING WIDGETS ---------- */
  .connect-pill {
    position: fixed;
    bottom: 24px;
    right: 24px;
    padding: 12px 20px;
    background: var(--ink);
    color: var(--orange);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    z-index: 90;
    box-shadow: var(--shadow-md);
    transform: translateY(-56px);
    transition: transform 0.25s var(--ease);
  }
  .chat-bubble {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 52px;
    height: 52px;
    background: var(--ink);
    color: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 91;
    box-shadow: var(--shadow-md);
    transition: all 0.2s var(--ease);
  }
  .chat-bubble:hover {
    background: var(--blue);
    color: #ffffff;
    transform: scale(1.05);
  }

  /* ---------- HERO PLACEHOLDER ---------- */
  .hero {
    max-width: 1440px;
    margin: 0 auto;
    padding: 32px 32px 64px;
  }
  .hero-placeholder {
    width: 100%;
    aspect-ratio: 16 / 7;
    background:
      repeating-linear-gradient(
        45deg,
        #f8fafc,
        #f8fafc 20px,
        #f1f5f9 20px,
        #f1f5f9 40px
      );
    border: 2px dashed #cbd5e1;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--muted);
    text-align: center;
    padding: 32px;
  }
  .hero-placeholder .ph-icon {
    width: 72px; height: 72px;
    background: #ffffff;
    border: 1px solid var(--hairline);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--blue);
    box-shadow: var(--shadow-sm);
  }
  .hero-placeholder .ph-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.01em;
    margin: 0;
  }
  .hero-placeholder .ph-sub {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
    max-width: 480px;
    line-height: 1.55;
  }
  .hero-placeholder .ph-dims {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #ffffff;
    border: 1px solid var(--hairline);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-600);
    font-family: 'SF Mono', ui-monospace, monospace;
    letter-spacing: 0;
  }
  .ph-dims .dot-b { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }
  .ph-dims .dot-o { width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }

  /* ---------- MOBILE ---------- */
  .mobile-toggle {
    display: none;
    width: 40px; height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--ink);
  }
  .mobile-toggle:hover { background: var(--bg-soft); }

  @media (max-width: 1200px) {
    .nav-item { padding: 10px 12px; font-size: 14px; }
    .social-icons { display: none; }
  }
  @media (max-width: 1024px) {
    :root { --header-h: 80px; }
    .primary-nav { display: none; }
    .mobile-toggle { display: inline-flex; }
    .header-inner { padding: 0 20px; }
    .logo img { height: 54px; }
    .primary-nav.mobile-open {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 0;
      position: fixed;
      top: var(--header-h);
      left: 0; right: 0; bottom: 0;
      background: var(--bg);
      padding: 24px;
      overflow-y: auto;
      z-index: 99;
    }
    .primary-nav.mobile-open > li { width: 100%; }
    .primary-nav.mobile-open .nav-item {
      width: 100%;
      justify-content: space-between;
      padding: 16px 8px;
      font-size: 16px;
      border-bottom: 1px solid var(--hairline);
      border-radius: 0;
    }
    .primary-nav.mobile-open .nav-item::after { display: none; }
    .primary-nav.mobile-open .dropdown {
      position: static;
      opacity: 1;
      visibility: visible;
      transform: none !important;
      width: 100%;
      box-shadow: none;
      border: none;
      padding: 12px 0 20px;
      display: none;
    }
    .primary-nav.mobile-open .dropdown[data-open="true"] {
      display: block;
    }
    .primary-nav.mobile-open .mega-grid { grid-template-columns: 1fr !important; gap: 24px; }
    .primary-nav.mobile-open .info-card { display: none; }
    .primary-nav.mobile-open .mega-footer { flex-direction: column; align-items: flex-start; }
  }
  @media (max-width: 640px) {
    .hero { padding: 64px 20px 96px; }
    .connect-pill { display: none; }
  }

  /* Reduced motion */
  @media (prefers-reduced-motion: reduce) {
    * { transition: none !important; animation: none !important; }
  }

  /* Focus states */
  a:focus-visible, button:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
    border-radius: 6px;
  }

  /* v19: new DigitalScale360 logo (transparent PNG, 535x160 / 2x) */
  .logo img { height: 56px; width: auto; }
  @media (max-width: 1024px) { .logo img { height: 44px; } }
