/* =====================================================================
   Cloudeey Secure Workspace Terminal — Interactive 3D Showcase
   Self-contained styles (independent of compiled Tailwind utilities)
   Palette: void #030308 · violet #7C3AED · blue #3B82F6 · cyan #06B6D4
   ===================================================================== */

.cw-showcase {
  --cw-void: #030308;
  --cw-void-2: #06060f;
  --cw-violet: #7c3aed;
  --cw-blue: #3b82f6;
  --cw-cyan: #06b6d4;
  --cw-ink: #e8ecff;
  --cw-muted: rgba(220, 226, 255, 0.62);
  --cw-line: rgba(124, 92, 237, 0.22);
  --cw-glass: rgba(18, 18, 34, 0.55);
  --cw-glass-brd: rgba(124, 92, 237, 0.28);
  --cw-radius: 20px;
  --cw-accent: var(--cw-cyan);
  position: relative;
  color: var(--cw-ink);
  background: var(--cw-void);
  font-family: "Inter Tight", system-ui, sans-serif;
  isolation: isolate;
  overflow: clip;
}

/* Ambient grid + glow backdrop shared by all showcase sections */
.cw-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(124, 92, 237, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(59, 130, 246, 0.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 40%, transparent 100%);
}
.cw-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 45% at 18% 12%, rgba(124, 92, 237, 0.22), transparent 60%),
    radial-gradient(55% 45% at 82% 20%, rgba(6, 182, 212, 0.18), transparent 60%),
    radial-gradient(70% 60% at 50% 100%, rgba(59, 130, 246, 0.16), transparent 65%);
}

.cw-showcase > * { position: relative; z-index: 1; }

/* The site stylesheet colours headings dark for its light pages; the showcase
   is dark, so headings must use the showcase ink colour. */
.cw-showcase h1,
.cw-showcase h2,
.cw-showcase h3,
.cw-showcase h4,
.cw-showcase h5,
.cw-showcase h6 { color: var(--cw-ink); }

.cw-container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- Shared type + chips ---------- */
.cw-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #cfe9ff;
  background: rgba(124, 92, 237, 0.12);
  border: 1px solid var(--cw-glass-brd);
  backdrop-filter: blur(8px);
}
.cw-eyebrow .cw-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cw-cyan);
  box-shadow: 0 0 10px var(--cw-cyan), 0 0 22px var(--cw-cyan);
  animation: cw-pulse 1.8s ease-in-out infinite;
}
.cw-h2 {
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 18px 0 0;
}
.cw-grad-text {
  background: linear-gradient(100deg, var(--cw-violet), var(--cw-blue) 45%, var(--cw-cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.cw-sub {
  margin-top: 18px;
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--cw-muted);
  max-width: 640px;
}

/* =====================================================================
   SECTION 1 — WebGL 3D scroll showcase ("Unwrap the Power")
   ===================================================================== */
.cw-hero { padding-top: 8px; }

/* The tall track that ScrollTrigger pins against */
.cw-scroll-track { position: relative; }

/* Pinned stage: fills the viewport while pinned */
.cw-stage {
  position: relative;
  height: 100vh;
  min-height: 620px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cw-canvas-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.cw-canvas-wrap canvas { display: block; width: 100% !important; height: 100% !important; }

/* Progress rail on the right of the pinned stage */
.cw-progress {
  position: absolute;
  right: max(22px, 3vw);
  top: 50%;
  transform: translateY(-50%);
  z-index: 6;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}
.cw-progress-line {
  position: absolute;
  top: -14px; bottom: -14px; left: 50%;
  width: 2px; transform: translateX(-50%);
  background: linear-gradient(var(--cw-violet), var(--cw-cyan));
  opacity: 0.25;
}
.cw-progress .cw-node {
  position: relative;
  width: 12px; height: 12px; border-radius: 50%;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.25);
  transition: all .35s ease;
}
.cw-progress .cw-node.is-active {
  background: var(--cw-cyan);
  border-color: var(--cw-cyan);
  box-shadow: 0 0 12px var(--cw-cyan), 0 0 26px rgba(6,182,212,0.6);
  transform: scale(1.35);
}

/* Phase captions (headline changes per checkpoint) */
.cw-captions {
  position: absolute;
  left: max(24px, 5vw);
  bottom: clamp(40px, 9vh, 96px);
  z-index: 5;
  max-width: min(560px, 82vw);
  pointer-events: none;
}
.cw-caption {
  position: absolute;
  left: 0; bottom: 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
  will-change: opacity, transform;
}
.cw-caption.is-active { opacity: 1; transform: translateY(0); position: relative; }
.cw-caption .cw-phase-tag {
  font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--cw-cyan); font-weight: 600;
}
.cw-caption h3 {
  font-size: clamp(24px, 3.6vw, 44px);
  line-height: 1.06; font-weight: 700; letter-spacing: -0.02em;
  margin: 10px 0 8px;
}
.cw-caption p { color: var(--cw-muted); font-size: clamp(14px, 1.5vw, 17px); line-height: 1.55; margin: 0; }

.cw-top-copy {
  position: absolute;
  left: 50%; top: clamp(100px, 13vh, 130px); /* clear the fixed site header */
  transform: translateX(-50%);
  z-index: 5; text-align: center; width: min(760px, 90vw);
  pointer-events: none;
}

/* Floating spec hotspots that pin to 3D anchors (phase 2) */
.cw-hotspot {
  position: absolute;
  z-index: 7;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  transition: opacity .35s ease;
}
.cw-hotspot.is-live { opacity: 1; }
.cw-hotspot .cw-hs-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--cw-cyan);
  box-shadow: 0 0 0 4px rgba(6,182,212,0.2), 0 0 16px var(--cw-cyan);
  position: relative;
  animation: cw-pulse 1.6s ease-in-out infinite;
}
.cw-hotspot .cw-hs-card {
  position: absolute;
  left: 22px; top: -10px;
  width: 160px;
  padding: 9px 11px;
  border-radius: 14px;
  background: var(--cw-glass);
  border: 1px solid var(--cw-glass-brd);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.cw-hotspot .cw-hs-card::before {
  content: "";
  position: absolute; left: -18px; top: 14px;
  width: 18px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--cw-cyan));
}
.cw-hotspot .cw-hs-title { font-size: 13.5px; font-weight: 700; color: #fff; }
.cw-hotspot .cw-hs-val { font-size: 12px; color: var(--cw-muted); margin-top: 3px; line-height: 1.4; }

/* Scroll cue */
.cw-scrollcue {
  position: absolute;
  left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 5; display: flex; flex-direction: column; align-items: center; gap: 7px;
  color: var(--cw-muted); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
}
.cw-scrollcue .cw-mouse {
  width: 22px; height: 34px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,0.35);
  position: relative;
}
.cw-scrollcue .cw-mouse::after {
  content: ""; position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; border-radius: 2px;
  transform: translateX(-50%); background: var(--cw-cyan);
  animation: cw-wheel 1.6s ease-in-out infinite;
}

/* WebGL loading shimmer */
.cw-loading {
  position: absolute; inset: 0; z-index: 8;
  display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 16px;
  background: radial-gradient(circle at 50% 45%, rgba(124,92,237,0.12), var(--cw-void) 70%);
  transition: opacity .6s ease; color: var(--cw-muted);
}
.cw-loading.is-hidden { opacity: 0; pointer-events: none; }
.cw-spinner {
  width: 46px; height: 46px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.12);
  border-top-color: var(--cw-cyan);
  border-right-color: var(--cw-violet);
  animation: cw-spin 0.9s linear infinite;
}

/* =====================================================================
   MOBILE / NO-WEBGL FALLBACK — interactive 360 image + neon
   ===================================================================== */
.cw-fallback { display: none; }
.cw-fallback .cw-fb-inner {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  padding: 90px 0 40px;
}
.cw-fb-stage {
  position: relative;
  width: min(520px, 86vw);
  aspect-ratio: 1 / 0.72;
  display: grid;
  place-items: center;
}
.cw-fb-halo {
  position: absolute; inset: 6% 0 4%;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(6,182,212,0.34), rgba(124,92,237,0.14) 60%, transparent 72%);
  filter: blur(6px);
  animation: cw-breathe 4s ease-in-out infinite;
}
.cw-fb-ring {
  position: absolute; left: 50%; bottom: 12%; transform: translateX(-50%);
  width: 62%; height: 20%;
  border-radius: 50%;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--cw-void), var(--cw-void)) padding-box,
    conic-gradient(from 0deg, var(--cw-violet), var(--cw-blue), var(--cw-cyan), var(--cw-violet)) border-box;
  filter: drop-shadow(0 0 14px rgba(6,182,212,0.5));
  animation: cw-spin 6s linear infinite;
  opacity: 0.7;
}
.cw-fb-device {
  position: relative; z-index: 2;
  width: 100%;
  border-radius: 22px;
  cursor: grab;
  will-change: transform;
  transition: transform .18s ease-out;
  filter: drop-shadow(0 26px 46px rgba(0,0,0,0.6));
  touch-action: pan-y;
}
.cw-fb-device:active { cursor: grabbing; }
.cw-fb-hint {
  margin-top: 22px; text-align: center; color: var(--cw-muted); font-size: 13px;
  letter-spacing: 0.08em;
}
.cw-fb-hint b { color: var(--cw-cyan); }
.cw-fb-chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 20px; }
.cw-fb-chip {
  font-size: 12.5px; padding: 8px 14px; border-radius: 999px;
  background: var(--cw-glass); border: 1px solid var(--cw-glass-brd);
  color: #dbe6ff; backdrop-filter: blur(8px);
}

/* =====================================================================
   SECTION 2 — Enterprise hardware specifications grid
   ===================================================================== */
.cw-specs { padding: clamp(70px, 10vw, 140px) 0; }

/* KPI stat strip */
.cw-kpi {
  margin-top: clamp(32px, 4vw, 52px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.cw-kpi-item {
  position: relative;
  text-align: center;
  padding: 24px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(20,20,38,0.6), rgba(8,8,18,0.6));
  border: 1px solid var(--cw-glass-brd);
  backdrop-filter: blur(10px);
  overflow: hidden;
}
.cw-kpi-item::after {
  content: "";
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cw-cyan), var(--cw-violet), transparent);
  transform: translateX(-100%);
  animation: cw-sweep 3.6s ease-in-out infinite;
}
.cw-kpi-item:nth-child(2)::after { animation-delay: .5s; }
.cw-kpi-item:nth-child(3)::after { animation-delay: 1s; }
.cw-kpi-item:nth-child(4)::after { animation-delay: 1.5s; }
.cw-kpi-item:nth-child(5)::after { animation-delay: 2s; }
.cw-kpi-num {
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 800; letter-spacing: -0.02em;
  background: linear-gradient(100deg, #fff, var(--cw-cyan));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cw-kpi-label {
  margin-top: 8px; font-size: 12.5px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--cw-muted);
}
@keyframes cw-sweep { 0% { transform: translateX(-100%);} 60%,100% { transform: translateX(100%);} }
.cw-head { text-align: center; max-width: 780px; margin: 0 auto; }
.cw-head .cw-sub { margin-inline: auto; }

.cw-grid {
  margin-top: clamp(40px, 6vw, 72px);
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(4, 1fr);
}
.cw-card {
  position: relative;
  border-radius: var(--cw-radius);
  padding: 28px 24px 30px;
  background: linear-gradient(180deg, rgba(20,20,38,0.72), rgba(9,9,20,0.72));
  border: 1px solid var(--cw-glass-brd);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.cw-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 80% at 50% -10%, rgba(124,92,237,0.18), transparent 55%);
  opacity: 0; transition: opacity .35s ease;
}
.cw-card:hover {
  transform: translateY(-6px);
  border-color: rgba(6,182,212,0.55);
  box-shadow: 0 24px 60px rgba(2,2,12,0.6), 0 0 0 1px rgba(6,182,212,0.18);
}
.cw-card:hover::before { opacity: 1; }
.cw-card > * { position: relative; z-index: 1; }
.cw-card.cw-span-2 { grid-column: span 2; }

.cw-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center;
  background: rgba(6,182,212,0.10);
  border: 1px solid rgba(6,182,212,0.32);
  color: var(--cw-cyan);
  box-shadow: inset 0 0 18px rgba(6,182,212,0.14);
}
.cw-card h3 { font-size: 19px; font-weight: 700; margin: 18px 0 8px; letter-spacing: -0.01em; }
.cw-card p { font-size: 14.5px; line-height: 1.58; color: var(--cw-muted); margin: 0; }
.cw-card .cw-quote {
  margin-top: 16px; font-size: 14px; line-height: 1.55; color: #d6e2ff;
  border-left: 2px solid var(--cw-cyan); padding-left: 12px;
}

/* Biometric halo ring statuses */
.cw-halo-wrap { display: flex; gap: 18px; align-items: center; margin-top: 18px; flex-wrap: wrap; }
.cw-halo {
  width: 76px; height: 76px; border-radius: 50%;
  display: grid; place-items: center; position: relative; flex-shrink: 0;
  background: #08080f;
}
.cw-halo::before {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  padding: 4px;
  background: conic-gradient(var(--h,var(--cw-cyan)), transparent 70%, var(--h,var(--cw-cyan)));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: cw-spin 3.5s linear infinite;
}
.cw-halo .cw-fp {
  width: 40px; height: 40px; border-radius: 50%;
  box-shadow: 0 0 18px var(--h, var(--cw-cyan));
  border: 2px solid var(--h, var(--cw-cyan));
  opacity: 0.9;
}
.cw-halo.is-green { --h: #22e07a; }
.cw-halo.is-red { --h: #ff4d5e; }
.cw-halo.is-cyan { --h: var(--cw-cyan); }
.cw-halo.is-cyan .cw-fp { animation: cw-breathe 1.6s ease-in-out infinite; }

.cw-status-legend { display: grid; gap: 10px; }
.cw-status-legend .cw-st {
  display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--cw-muted);
}
.cw-status-legend .cw-swatch {
  width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0;
  box-shadow: 0 0 10px currentColor;
}
.cw-swatch.g { color: #22e07a; background: #22e07a; }
.cw-swatch.r { color: #ff4d5e; background: #ff4d5e; }
.cw-swatch.c { color: var(--cw-cyan); background: var(--cw-cyan); }
.cw-status-legend .cw-st b { color: #eaf1ff; }

/* Ports breakdown list */
.cw-ports {
  margin-top: 18px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.cw-port {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(124,92,237,0.16);
}
.cw-port .cw-port-ic {
  width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; flex-shrink: 0;
  background: rgba(59,130,246,0.12); color: var(--cw-blue); border: 1px solid rgba(59,130,246,0.3);
}
.cw-port .cw-port-t { font-size: 13.5px; font-weight: 700; color: #eef3ff; }
.cw-port .cw-port-d { font-size: 12.5px; color: var(--cw-muted); margin-top: 2px; line-height: 1.4; }

.cw-storage-visual {
  margin-top: 18px; position: relative; height: 92px; border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(6,182,212,0.28);
  background: linear-gradient(120deg, rgba(6,182,212,0.10), rgba(124,92,237,0.10));
  display: flex; align-items: center; justify-content: center; gap: 5px;
}
.cw-storage-visual .cw-cell {
  width: 9px; height: 46px; border-radius: 3px; background: rgba(6,182,212,0.25);
  animation: cw-bar 2.4s ease-in-out infinite;
}
.cw-storage-visual .cw-num {
  position: absolute; font-size: 30px; font-weight: 800; letter-spacing: -0.02em; color: #fff;
  text-shadow: 0 0 22px rgba(6,182,212,0.7);
}

/* =====================================================================
   SECTION 3 — Ambient lighting & Cloud PC synergy
   ===================================================================== */
.cw-ambient { padding: clamp(70px, 10vw, 140px) 0; }
.cw-amb-grid {
  margin-top: clamp(40px, 6vw, 68px);
  display: grid; gap: 26px;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
}

/* Interactive light preview device */
.cw-amb-preview {
  position: relative;
  border-radius: 24px;
  padding: 34px;
  background: linear-gradient(180deg, rgba(14,14,28,0.8), rgba(6,6,14,0.9));
  border: 1px solid var(--cw-glass-brd);
  overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 26px;
  min-height: 420px;
}
.cw-amb-preview .cw-amb-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(60% 55% at 50% 78%, var(--cw-accent), transparent 62%);
  opacity: 0.34; transition: background .5s ease, opacity .5s ease;
  filter: blur(8px);
}
.cw-amb-preview > * { position: relative; z-index: 1; }

.cw-mini-device {
  margin: 6px auto 0;
  width: min(300px, 74%);
  aspect-ratio: 1 / 0.66;
  position: relative;
}
.cw-mini-body {
  position: absolute; inset: 12% 6% 16%;
  border-radius: 20px;
  background: linear-gradient(180deg, #15151f, #0a0a12);
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: inset 0 2px 10px rgba(255,255,255,0.05);
}
.cw-mini-cloud {
  position: absolute; left: 50%; top: 40%; transform: translate(-50%,-50%);
  width: 78px; height: 52px; z-index: 3;
  color: var(--cw-accent);
  filter: drop-shadow(0 0 12px var(--cw-accent));
  transition: color .4s ease, filter .4s ease;
}
.cw-mini-ring {
  position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%);
  width: 78%; height: 26%;
  border-radius: 40px;
  border: 3px solid var(--cw-accent);
  box-shadow: 0 0 24px var(--cw-accent), inset 0 0 14px var(--cw-accent);
  opacity: 0.92;
  transition: border-color .4s ease, box-shadow .4s ease;
}
.cw-mini-ring.is-rhythm { animation: cw-rhythm 0.9s ease-in-out infinite; }

/* Mode + color controls */
.cw-amb-controls { display: flex; flex-direction: column; gap: 18px; }
.cw-amb-modes { display: flex; flex-wrap: wrap; gap: 9px; }
.cw-chip-btn {
  font: inherit; cursor: pointer;
  font-size: 13px; font-weight: 600; padding: 9px 15px; border-radius: 999px;
  color: #cdd9ff; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(124,92,237,0.28); transition: all .25s ease;
}
.cw-chip-btn:hover { border-color: rgba(6,182,212,0.6); color: #fff; }
.cw-chip-btn.is-active {
  color: #04121a; background: linear-gradient(100deg, var(--cw-cyan), var(--cw-blue));
  border-color: transparent; box-shadow: 0 8px 24px rgba(6,182,212,0.35);
}
.cw-swatches { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cw-swatch-btn {
  width: 34px; height: 34px; border-radius: 50%; cursor: pointer; padding: 0;
  border: 2px solid rgba(255,255,255,0.2); transition: transform .2s ease, box-shadow .2s ease;
}
.cw-swatch-btn:hover { transform: scale(1.12); }
.cw-swatch-btn.is-active { box-shadow: 0 0 0 3px rgba(255,255,255,0.85); transform: scale(1.12); }
.cw-amb-label { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cw-muted); }

.cw-amb-feature { display: grid; gap: 16px; align-content: start; }
.cw-amb-item {
  display: flex; gap: 14px; padding: 18px;
  border-radius: 16px; background: var(--cw-glass); border: 1px solid rgba(124,92,237,0.2);
  backdrop-filter: blur(10px);
}
.cw-amb-item .cw-icon { width: 44px; height: 44px; border-radius: 12px; }
.cw-amb-item h4 { font-size: 16px; font-weight: 700; margin: 0 0 5px; }
.cw-amb-item p { font-size: 13.5px; color: var(--cw-muted); line-height: 1.55; margin: 0; }

/* Cloud PC synergy bar */
.cw-synergy { margin-top: clamp(34px, 5vw, 56px); }
.cw-synergy-head { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.cw-synergy-head .cw-line { flex: 1; height: 1px; background: linear-gradient(90deg, var(--cw-glass-brd), transparent); min-width: 40px; }
.cw-synergy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cw-syn-card {
  border-radius: 18px; padding: 26px 24px;
  background: linear-gradient(180deg, rgba(18,18,34,0.7), rgba(8,8,18,0.7));
  border: 1px solid var(--cw-glass-brd); position: relative; overflow: hidden;
  transition: transform .3s ease, border-color .3s ease;
}
.cw-syn-card:hover { transform: translateY(-5px); border-color: rgba(6,182,212,0.5); }
.cw-syn-card .cw-syn-badge {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600;
  color: var(--cw-cyan); letter-spacing: 0.06em; text-transform: uppercase;
}
.cw-syn-card h4 { font-size: 18px; font-weight: 700; margin: 14px 0 8px; }
.cw-syn-card p { font-size: 14px; color: var(--cw-muted); line-height: 1.55; margin: 0; }
.cw-syn-cta { margin-top: 34px; display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }
.cw-btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer; text-decoration: none;
  font-size: 15px; font-weight: 600; padding: 14px 26px; border-radius: 999px; transition: all .25s ease;
}
.cw-btn-primary {
  color: #05121b; background: linear-gradient(100deg, var(--cw-cyan), var(--cw-blue) 60%, var(--cw-violet));
  box-shadow: 0 12px 34px rgba(6,182,212,0.32);
}
.cw-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px rgba(6,182,212,0.45); }
.cw-btn-ghost { color: #e6ecff; border: 1px solid var(--cw-glass-brd); background: rgba(255,255,255,0.02); }
.cw-btn-ghost:hover { border-color: var(--cw-cyan); color: #fff; }

/* =====================================================================
   Keyframes
   ===================================================================== */
@keyframes cw-pulse { 0%,100% { opacity: 1; transform: scale(1);} 50% { opacity: 0.55; transform: scale(0.82);} }
@keyframes cw-spin { to { transform: rotate(360deg); } }
@keyframes cw-wheel { 0% { opacity: 0; transform: translate(-50%, 0);} 40% { opacity: 1;} 100% { opacity: 0; transform: translate(-50%, 10px);} }
@keyframes cw-breathe { 0%,100% { transform: scale(1); opacity: .85;} 50% { transform: scale(1.06); opacity: 1;} }
@keyframes cw-bar { 0%,100% { transform: scaleY(0.5);} 50% { transform: scaleY(1);} }
@keyframes cw-rhythm { 0%,100% { transform: translateX(-50%) scaleY(1);} 50% { transform: translateX(-50%) scaleY(1.35);} }

.cw-fb-device.cw-fb-spin-1 { animation: none; }

/* =====================================================================
   Responsive
   ===================================================================== */
@media (max-width: 1024px) {
  .cw-kpi { grid-template-columns: repeat(3, 1fr); }
  .cw-grid { grid-template-columns: repeat(2, 1fr); }
  .cw-card.cw-span-2 { grid-column: span 2; }
  .cw-amb-grid { grid-template-columns: 1fr; }
  .cw-synergy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .cw-kpi { grid-template-columns: repeat(2, 1fr); }
  .cw-grid { grid-template-columns: 1fr; }
  .cw-card.cw-span-2 { grid-column: span 1; }
  .cw-ports { grid-template-columns: 1fr; }
  .cw-captions { left: 20px; right: 20px; bottom: 96px; max-width: none; }
  .cw-progress { right: 12px; }
  .cw-hotspot { display: none; }
}

/* When JS flags no-webgl / mobile, hide 3D + show fallback */
.cw-showcase[data-mode="fallback"] .cw-scroll-track { display: none; }
.cw-showcase[data-mode="fallback"] .cw-fallback { display: block; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .cw-eyebrow .cw-dot,
  .cw-hotspot .cw-hs-dot,
  .cw-fb-halo, .cw-fb-ring, .cw-spinner,
  .cw-halo::before, .cw-storage-visual .cw-cell,
  .cw-mini-ring.is-rhythm, .cw-scrollcue .cw-mouse::after,
  .cw-kpi-item::after { animation: none !important; }
}

/* Compact hotspot labels so neighbouring port labels don't overlap */
.cw-hotspot .cw-hs-title { font-size: 12.5px; }
.cw-hotspot .cw-hs-val { font-size: 11px; }
