/* ══════════════════════════════════════════════════════════════════════════════
   Coderyx UI Flow — Dark Precision Ecosystem Layer (Inspired by ui.com flow)
   Includes interactive product visuals, hotspot layer switchers, Cloud Services,
   and first-class responsive mobile presentation.
══════════════════════════════════════════════════════════════════════════════ */

:root {
  --cx-bg: #05070d;
  --cx-surface: #0b1120;
  --cx-surface-2: #0f172a;
  --cx-border: rgba(255, 255, 255, 0.08);
  --cx-border-hover: rgba(0, 240, 255, 0.28);
  --cx-emerald: #10b981;
  --cx-cyan: #06b6d4;
  --cx-neon: #00f0ff;
  --cx-blue: #2563eb;
  --cx-amber: #f59e0b;
  --cx-violet: #a78bfa;
  --cx-text: #f8fafc;
  --cx-muted: #94a3b8;
  --cx-subtle: #64748b;
}

html, body {
  overflow-x: clip;
}

/* ── Global Header & ui.com-Style Mega-Menus ────────────────────────────────── */
#navbar {
  padding: 0 !important;
  min-height: 54px;
  background: rgba(5, 7, 13, 0.94) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

.cx-nav-inner {
  position: relative;
  max-width: 1360px !important;
  height: 54px;
  gap: 0.9rem;
}

.cx-nav-left {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  min-width: 0;
}

.nav-logo img {
  height: 28px !important;
  display: block;
}

.cx-nav-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.14);
  flex-shrink: 0;
}

.cx-nav-links {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cx-nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.cx-nav-util {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 0.81rem;
  font-weight: 500;
  color: #cbd5e1;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease;
}

.cx-nav-util:hover {
  color: #ffffff;
}

.cx-nav-store-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 6px;
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 0.18s ease, transform 0.15s ease;
}

.cx-nav-store-btn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.cx-nav-icon-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  text-decoration: none;
  transition: border-color 0.16s ease, color 0.16s ease, background 0.16s ease;
}

.cx-nav-icon-btn:hover {
  color: #ffffff;
  border-color: rgba(56, 189, 248, 0.55);
  background: rgba(56, 189, 248, 0.1);
}

.cx-mob-left {
  display: none;
  align-items: center;
}

.cx-mob-right {
  display: none;
  align-items: center;
  gap: 0.55rem;
}

@media (max-width: 1140px) {
  .cx-nav-links,
  .cx-nav-divider,
  .cx-nav-util-hide {
    display: none !important;
  }
  .cx-mob-left,
  .cx-mob-right {
    display: flex;
  }
  .cx-nav-left {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }
  .hamburger {
    display: flex !important;
    width: 30px;
    height: 30px;
  }
}

.cx-nav-trigger {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: #cbd5e1;
  background: none;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 15px 2px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.16s ease;
}

.cx-nav-trigger:hover,
.cx-mega-item.is-open > .cx-nav-trigger {
  color: #38bdf8;
}

.cx-nav-trigger .cx-chevron {
  font-size: 0.62rem;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.cx-mega-item.is-open > .cx-nav-trigger .cx-chevron {
  transform: rotate(180deg);
}

.cx-nav-badge {
  display: inline-block;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  background: transparent;
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.55);
}

.cx-nav-badge.is-blue {
  color: #38bdf8;
  border-color: rgba(56, 189, 248, 0.55);
}

.cx-mega-backdrop {
  position: fixed;
  inset: 0;
  z-index: 45;
  background: rgba(3, 6, 14, 0.66);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  pointer-events: none;
}

.cx-mega-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.cx-mega-panel {
  position: fixed;
  left: 0;
  right: 0;
  top: calc(var(--banner-h, 0px) + var(--cx-nav-height, 54px));
  z-index: 49;
  background: rgba(8, 12, 23, 0.99);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.72);
  padding: 2rem 1.5rem 2.25rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  pointer-events: none;
}

.cx-mega-item.is-open .cx-mega-panel {
  z-index: 52;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.16s ease, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: auto;
}

.cx-mega-container {
  max-width: 1280px;
  margin: 0 auto;
}

/* Start Here: Clean Left Rail with Vertical Bar + Visual Right Showcase */
.cx-start-layout {
  display: grid;
  grid-template-columns: 185px 1fr;
  gap: 2.5rem;
  align-items: start;
}

.cx-start-rail {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.cx-start-rail-btn {
  width: 100%;
  background: none;
  border: none;
  border-right: 2px solid transparent;
  margin-right: -1px;
  padding: 0.6rem 1rem 0.6rem 0.25rem;
  text-align: left;
  color: #cbd5e1;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.cx-start-rail-btn:hover {
  color: #ffffff;
}

.cx-start-rail-btn.is-active {
  color: #38bdf8;
  border-right-color: #38bdf8;
}

.cx-start-panel {
  display: none;
}

.cx-start-panel.is-active {
  display: block;
  animation: cxPanelFade 0.18s ease both;
}

.cx-start-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cx-scale-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.4rem 0.5rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.cx-scale-card:hover {
  transform: translateY(-2px);
}

.cx-scale-thumb {
  width: 100%;
  max-width: 210px;
  height: 112px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #060b16;
  margin-bottom: 0.85rem;
  position: relative;
}

.cx-scale-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cx-scale-card h4 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  color: #f8fafc;
  margin: 0 0 0.25rem;
}

.cx-scale-card p {
  font-size: 0.74rem;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0 0 0.5rem;
}

.cx-scale-link {
  font-size: 0.76rem;
  font-weight: 600;
  color: #38bdf8;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cx-sitemap-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.cx-sitemap-col h5 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  margin: 0 0 0.65rem;
}

.cx-sitemap-col a {
  display: block;
  font-size: 0.8rem;
  color: #cbd5e1;
  text-decoration: none;
  padding: 3px 0;
}

.cx-sitemap-col a:hover {
  color: #38bdf8;
}

/* Borderless Horizontal Category Showcase (matching ui.com dropdowns) */
.cx-mega-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.25rem;
}

.cx-mega-clean-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.65rem 0.5rem;
  border-radius: 12px;
  text-decoration: none;
  transition: background 0.16s ease, transform 0.16s ease;
}

.cx-mega-clean-item:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.cx-mega-clean-vis {
  width: 64px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 0.7rem;
}

.cx-mega-clean-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: #f8fafc;
  margin-bottom: 0.28rem;
}

.cx-mega-clean-desc {
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.42;
  margin: 0 0 0.45rem;
  max-width: 19ch;
}

.cx-mega-clean-action {
  font-size: 0.72rem;
  font-weight: 600;
  color: #38bdf8;
}

/* Full-screen Mobile Borderless Accordion Menu */
#mobile-menu {
  padding: calc(4.25rem + var(--banner-h, 0px)) 1.5rem 2.5rem !important;
  gap: 0.15rem !important;
  background: #05070d !important;
  backdrop-filter: none !important;
}

.cx-mob-acc-item {
  width: 100%;
}

.cx-mob-acc-trigger {
  width: 100%;
  background: none;
  border: none;
  padding: 13px 2px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #f1f5f9;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.cx-mob-acc-trigger .cx-mob-chevron {
  display: none;
  font-size: 0.75rem;
}

.cx-mob-acc-item.is-open > .cx-mob-acc-trigger {
  color: #38bdf8;
}

.cx-mob-acc-item.is-open > .cx-mob-acc-trigger .cx-mob-chevron {
  display: inline-block;
}

.cx-mob-acc-panel {
  display: none;
  padding: 0.15rem 0 0.75rem 1rem;
  gap: 0.45rem;
  flex-direction: column;
}

.cx-mob-acc-item.is-open > .cx-mob-acc-panel {
  display: flex;
}

.cx-mob-sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 0;
  color: #cbd5e1;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
}

.cx-mob-sublink:hover {
  color: #38bdf8;
}

/* ── Band 1: Interactive Pillar Hero (ui.com Flow in Coderyx Dark) ───────────── */
.cx-hero-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 75% 48% at 50% 0%, rgba(16, 185, 129, 0.11) 0%, transparent 62%),
    radial-gradient(ellipse 60% 40% at 78% 18%, rgba(6, 182, 212, 0.08) 0%, transparent 58%),
    #05070d;
  padding: calc(5.5rem + var(--banner-h, 0px)) 1.5rem 3.75rem;
}

.cx-hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.025) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 88%);
  pointer-events: none;
}

.cx-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.cx-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.25);
  background: rgba(16, 185, 129, 0.06);
  margin-bottom: 0.75rem;
}

.cx-hero-h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 3.85vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: #ffffff;
  max-width: 820px;
  margin: 0 auto 0.75rem;
}

.cx-hero-sub {
  color: #94a3b8;
  font-size: clamp(0.9rem, 1.2vw, 1.02rem);
  line-height: 1.55;
  max-width: 660px;
  margin: 0 auto 1.35rem;
}

/* Interactive Hero Pill Tabs */
.cx-pill-tablist {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.cx-pill-tab {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #94a3b8;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.cx-pill-tab:hover {
  color: #f8fafc;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

.cx-pill-tab.is-active {
  color: #ffffff;
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.55);
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.14);
}

.cx-pill-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2.5px;
  width: 0%;
  background: linear-gradient(90deg, #10b981, #06b6d4);
  pointer-events: none;
}

.cx-pill-tab.is-active .cx-pill-progress.is-running {
  animation: cxPillProgress 6.5s linear forwards;
}

@keyframes cxPillProgress {
  from { width: 0%; }
  to { width: 100%; }
}

/* Dual-Device Interactive Hardware/UI Stage */
.cx-stage-shell {
  position: relative;
  max-width: 1120px;
  margin: 0 auto 2rem;
}

.cx-stage-panel {
  display: none;
  animation: cxPanelFade 0.32s ease both;
}

.cx-stage-panel.is-active {
  display: block;
}

@keyframes cxPanelFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.cx-device-cluster {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  padding-bottom: 18px;
}

.cx-tablet-frame {
  position: relative;
  width: min(1030px, 100%);
  margin: 0 auto;
  border-radius: 22px;
  border: 3px solid rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, #0b1120 0%, #060912 100%);
  box-shadow: 0 38px 95px rgba(0, 0, 0, 0.72), 0 0 55px rgba(16, 185, 129, 0.06);
  overflow: hidden;
  text-align: left;
}

.cx-frame-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 16px;
  background: rgba(13, 19, 34, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.cx-frame-dots {
  display: flex;
  gap: 7px;
  align-items: center;
  flex-shrink: 0;
}

.cx-frame-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}

.cx-frame-url {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  color: #94a3b8;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cx-frame-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 700;
  font-family: 'JetBrains Mono', monospace;
  color: #34d399;
  flex-shrink: 0;
}

.cx-frame-body {
  padding: 0;
}

.cx-os-workspace {
  display: grid;
  grid-template-columns: 44px 1fr;
}

.cx-os-rail {
  background: rgba(8, 13, 24, 0.96);
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0.85rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.cx-os-rail i {
  font-size: 0.85rem;
  color: #64748b;
}

.cx-os-rail i.is-active {
  color: #38bdf8;
}

.cx-frame-split {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 1.5rem;
  align-items: center;
  padding: 1.35rem 1.5rem;
}

/* Interactive Visual Canvas with Seamless Blending (Hotspot readout sits cleanly outside visual!) */
.cx-visual-interactive {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: #05070d;
  aspect-ratio: 16 / 9;
}

.cx-visual-interactive img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.cx-visual-interactive:hover img {
  transform: scale(1.025);
}

.cx-hotspot-dot {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(5, 7, 13, 0.85);
  border: 2px solid #00f0ff;
  box-shadow: 0 0 0 4px rgba(0, 240, 255, 0.22);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  z-index: 3;
}

.cx-hotspot-dot::after {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00f0ff;
}

.cx-hotspot-dot.is-active,
.cx-hotspot-dot:hover {
  transform: translate(-50%, -50%) scale(1.18);
  border-color: #10b981;
  background: #10b981;
}

.cx-hotspot-dot.is-active::after {
  background: #05070d;
}

/* Clean HUD Readout Panel sitting calmly in left inspector or bottom footer (zero occlusion!) */
.cx-hotspot-readout {
  padding: 0.7rem 0.9rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.cx-layer-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.cx-layer-chip {
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #cbd5e1;
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease;
}

.cx-layer-chip.is-active {
  background: rgba(6, 182, 212, 0.14);
  border-color: rgba(6, 182, 212, 0.5);
  color: #ffffff;
}

/* Sleek Phone Mockup Overhanging Right Edge cleanly like ui.com */
.cx-phone-float {
  position: absolute;
  right: -10px;
  bottom: -14px;
  width: 215px;
  border-radius: 26px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: #070b15;
  box-shadow: 0 28px 65px rgba(0, 0, 0, 0.9), 0 0 28px rgba(6, 182, 212, 0.14);
  padding: 12px;
  text-align: left;
  z-index: 4;
}

.cx-svc-segs {
  display: none;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
  margin: 0.9rem auto 0;
  max-width: 240px;
}

.cx-svc-seg {
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cx-svc-seg.is-active {
  background: #38bdf8;
}

.cx-phone-notch {
  width: 56px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.16);
  margin: 2px auto 10px;
}

/* ── Band 2: Services Carousel (ui.com Brand Principles Style) ──────────────── */
.cx-band {
  padding: 5rem 1.5rem;
  position: relative;
}

.cx-band-alt {
  background: #070c17;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.cx-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2.25rem;
}

.cx-section-head h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 900;
  font-size: clamp(1.75rem, 4.2vw, 2.95rem);
  color: #ffffff;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin: 0.6rem 0 0.7rem;
}

.cx-section-head p {
  color: #94a3b8;
  font-size: 0.96rem;
  line-height: 1.65;
}

.cx-principles-wrap {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.cx-principles-card {
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(13, 19, 34, 0.96) 0%, rgba(7, 11, 22, 0.99) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.48);
}

.cx-principle-slide {
  display: none;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: stretch;
  min-height: 410px;
  animation: cxPanelFade 0.28s ease both;
}

.cx-principle-slide.is-active {
  display: grid;
}

.cx-principle-copy {
  padding: 2.5rem 2rem 2.5rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cx-principle-copy h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cx-principle-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  display: grid;
  gap: 0.9rem;
}

.cx-principle-points li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  color: #cbd5e1;
  font-size: 0.88rem;
  line-height: 1.5;
}

.cx-principle-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
}

.cx-principle-media {
  position: relative;
  overflow: hidden;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  background: #05070d;
}

.cx-principle-media img {
  width: 100%;
  flex: 1;
  min-height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.cx-principle-media:hover img {
  transform: scale(1.03);
}

.cx-principle-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 15, 29, 0.92) 0%, rgba(10, 15, 29, 0.25) 28%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}

.cx-principle-caption {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(7, 11, 22, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  color: #cbd5e1;
}

.cx-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.cx-carousel-arrow:hover {
  border-color: var(--cx-emerald);
  background: rgba(16, 185, 129, 0.18);
  color: #fff;
}

.cx-carousel-arrow.prev { left: -18px; }
.cx-carousel-arrow.next { right: -18px; }

.cx-mobile-stepper {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.cx-mobile-step-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

/* ── Band 3: Product Suite Tabbed Explorer ──────────────────────────────────── */
.cx-product-showcase {
  max-width: 1200px;
  margin: 0 auto;
}

.cx-product-panel {
  display: none;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(11, 17, 32, 0.85);
  padding: 2.25rem;
  grid-template-columns: 1fr 1.08fr;
  gap: 2.25rem;
  align-items: center;
  animation: cxPanelFade 0.28s ease both;
}

.cx-product-panel.is-active {
  display: grid;
}

.cx-mini-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.7rem;
  margin: 1.1rem 0;
}

.cx-mini-stat {
  padding: 0.7rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cx-mini-stat strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  color: #fff;
}

.cx-mini-stat span {
  font-size: 0.7rem;
  color: var(--cx-subtle);
}

/* ── Band 4: Zero-Reflow Capabilities & Tech Stack Spotlight Wall ───────────── */
.cx-spotlight-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.85rem;
  margin: 0 auto 2rem;
  max-width: 960px;
}

.cx-spotlight-tab {
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.45rem 0.3rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748b;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cx-spotlight-tab:hover {
  color: #cbd5e1;
}

.cx-spotlight-tab.is-active {
  color: #ffffff;
  border-bottom-color: var(--cx-cyan);
}

.cx-spotlight-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
}

.cx-spotlight-tile {
  padding: 1rem 0.75rem;
  border-radius: 12px;
  background: transparent;
  border: 1px solid transparent;
  text-align: center;
  transition: opacity 0.28s ease, filter 0.28s ease, transform 0.2s ease, border-color 0.25s ease, background 0.25s ease;
}

.cx-spotlight-tile i {
  font-size: 1.35rem;
  margin-bottom: 0.45rem;
  display: block;
}

.cx-spotlight-tile strong {
  display: block;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.82rem;
  color: #f8fafc;
}

.cx-spotlight-tile small {
  display: block;
  font-size: 0.68rem;
  color: #94a3b8;
  margin-top: 2px;
}

.cx-spotlight-tile.is-dimmed {
  opacity: 0.15;
  filter: grayscale(1);
}

.cx-spotlight-tile.is-highlighted {
  background: rgba(15, 23, 42, 0.68);
  border-color: rgba(6, 182, 212, 0.38);
}

/* ── Band 5: Atmospheric Full-Bleed Case Banner (ui.com style) ──────────────── */
.cx-case-banner {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 1.5rem;
  background:
    linear-gradient(105deg, rgba(5, 7, 13, 0.94) 0%, rgba(7, 15, 30, 0.82) 55%, rgba(5, 7, 13, 0.92) 100%),
    url('/images/generated/hero-cybersecurity.jpg') center / cover no-repeat;
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.cx-case-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: center;
}

.cx-case-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1rem 0 1.65rem;
  color: #f8fafc;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
}

.cx-case-lockup-divider {
  width: 1px;
  height: 20px;
  background: rgba(255, 255, 255, 0.35);
}

.cx-walkthrough-modal {
  position: fixed;
  inset: 0;
  z-index: 99998;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(3, 6, 14, 0.82);
  backdrop-filter: blur(12px);
}

.cx-walkthrough-modal.is-open {
  display: flex;
}

.cx-walkthrough-card {
  width: 100%;
  max-width: 820px;
  max-height: 90dvh;
  overflow-y: auto;
  border-radius: 20px;
  background: #0b1222;
  border: 1px solid rgba(0, 240, 255, 0.22);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.85);
}

.cx-node-chain {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}

.cx-node-box {
  padding: 0.8rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.cx-node-box .cx-node-tag {
  font-size: 0.65rem;
  font-family: 'JetBrains Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── Dedicated Mobile Presentation & Touch Flow (<= 960px & <= 640px) ────────── */
@media (max-width: 1024px) {
  .cx-spotlight-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 960px) {
  .cx-os-workspace {
    grid-template-columns: 1fr;
  }
  .cx-os-rail {
    display: none;
  }
  .cx-frame-split {
    grid-template-columns: 1fr;
  }
  .cx-frame-split > div:last-child {
    order: -1;
  }
  .cx-phone-float {
    display: none;
  }
  #cxServicesCarousel .cx-pill-tablist {
    display: none !important;
  }
  .cx-svc-segs {
    display: grid;
  }
  .cx-principles-card {
    padding: 0;
  }
  .cx-principle-slide {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .cx-principle-copy {
    padding: 1.5rem 1.25rem;
  }
  .cx-principle-media {
    order: -1;
    min-height: 220px;
  }
  .cx-principle-media img {
    min-height: 190px;
  }
  .cx-principle-media::before {
    background: linear-gradient(0deg, rgba(10, 15, 29, 0.85) 0%, transparent 45%);
  }
  .cx-carousel-arrow {
    top: 110px;
    width: 34px;
    height: 34px;
    background: rgba(5, 7, 13, 0.78);
  }
  .cx-carousel-arrow.prev { left: 10px; }
  .cx-carousel-arrow.next { right: 10px; }
  .cx-mobile-stepper {
    display: none;
  }
  .cx-product-panel {
    grid-template-columns: 1fr;
    padding: 1.35rem 1.15rem;
    gap: 1.5rem;
  }
  .cx-product-panel > div:last-child {
    order: -1;
  }
  .cx-case-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 680px) {
  .cx-case-banner {
    text-align: center;
  }
  .cx-case-lockup {
    justify-content: center;
  }
  .cx-hero-section {
    padding: calc(5rem + var(--banner-h, 0px)) 1rem 2.75rem;
  }
  .cx-hero-h1 {
    font-size: 1.85rem;
    line-height: 1.08;
  }
  .cx-hero-sub {
    font-size: 0.88rem;
    margin-bottom: 1.2rem;
  }
  /* Snap-scrollable sleek mobile pill strip */
  .cx-pill-tablist {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding: 2px 2px 8px;
    margin-bottom: 1.25rem;
    gap: 0.45rem;
  }
  .cx-pill-tablist::-webkit-scrollbar {
    display: none;
  }
  .cx-pill-tab {
    padding: 9px 14px;
    font-size: 0.8rem;
    scroll-snap-align: start;
  }
  .cx-tablet-frame {
    border-radius: 16px;
  }
  .cx-frame-body {
    padding: 1rem;
  }
  .cx-frame-url {
    font-size: 0.65rem;
  }
  .cx-hotspot-readout {
    padding: 0.6rem 0.75rem;
    font-size: 0.76rem;
  }
  .cx-band,
  .cx-case-banner {
    padding: 3.25rem 1rem;
  }
  .cx-section-head {
    margin-bottom: 1.5rem;
  }
  .cx-section-head h2 {
    font-size: 1.65rem;
  }
  .cx-spotlight-tabs {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 0.65rem;
    gap: 1rem;
  }
  .cx-spotlight-tabs::-webkit-scrollbar {
    display: none;
  }
  .cx-spotlight-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
  .cx-node-chain {
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem;
  }
  .sec-hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem !important;
  }
  .sec-hero-actions a,
  .sec-hero-actions button {
    justify-content: center;
    min-height: 46px;
  }
  .cx-principles-card a,
  .cx-principles-card button:not(.cx-svc-seg):not(.cx-carousel-arrow),
  .cx-product-panel a {
    min-height: 44px;
    justify-content: center;
  }
  .cx-principles-card .cx-svc-seg {
    min-height: 3px !important;
    height: 3px !important;
    padding: 0 !important;
  }
  .cx-principles-card .cx-carousel-arrow {
    min-height: 34px !important;
    height: 34px !important;
    width: 34px !important;
  }
}
