/* ============================================================================
   "Beyond the show" — the SkyRender system overview section.
   Sits right after the hero. Recreated from the design handoff
   ("Beyond the Drone Show"), mapped onto the site's existing tokens
   (--cyan / --violet / --grad / --font-d). Portal pillar intentionally omitted.
   Markup: <section class="beyond"> rendered by BeyondShow() in app.js.
   ========================================================================== */

.beyond {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 8vw, 110px) 0;
  background: radial-gradient(130% 90% at 80% 0%, #171033 0%, #0a0b16 48%, #06080c 100%);
}
.beyond-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ---- shared bits ---- */
.beyond-eyebrow {
  display: inline-block;
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.beyond-eyebrow.ar { color: #c4a5ff; }
.beyond-eyebrow.warn { color: #ff8f6b; }
.beyond h2, .beyond h3 { margin: 0; letter-spacing: -0.01em; }
.beyond-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---- 1. Intro ---- */
.beyond-intro { max-width: 640px; }
.beyond-chip {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(47, 231, 224, 0.12);
  border: 1px solid rgba(47, 231, 224, 0.3);
  font-family: var(--font-m);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan);
}
.beyond-h2 {
  margin-top: 20px;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700;
  line-height: 1.03;
}
.beyond-sub {
  margin-top: 18px;
  max-width: 560px;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.7;
  color: var(--ink-2);
}

/* ---- 2. Pillar tiles ---- */
.beyond-pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
  margin-top: 44px;
}
.beyond-tile {
  padding: 26px 24px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
}
.beyond-tile.sync { border-color: rgba(47, 231, 224, 0.3); background: linear-gradient(160deg, rgba(47, 231, 224, 0.1), rgba(47, 231, 224, 0.02)); }
.beyond-tile.ar   { border-color: rgba(139, 92, 246, 0.32); background: linear-gradient(160deg, rgba(139, 92, 246, 0.12), rgba(139, 92, 246, 0.02)); }
.beyond-tile .ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  margin-bottom: 16px;
}
.beyond-tile.sync .ico { background: rgba(47, 231, 224, 0.14); color: var(--cyan); }
.beyond-tile.ar   .ico { background: rgba(139, 92, 246, 0.16); color: #c4a5ff; }
.beyond-tile h3 { font-size: 17px; font-weight: 700; }
.beyond-tile p { margin: 8px 0 0; font-size: 13px; line-height: 1.6; color: var(--ink-dim); }

/* ---- 3. Problem -> Fix ---- */
.beyond-pf {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.beyond-pf .col { flex: 1; min-width: 280px; }
.beyond-pf h3 { margin-top: 14px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; line-height: 1.15; }
.beyond-pf p { margin: 14px 0 0; font-size: 15px; line-height: 1.65; color: var(--ink-dim); }
.beyond-pf .pf-ico { display: inline-flex; }
.beyond-pf .col.fix h3 { color: #eafffb; }

/* ---- 4. Sync feature panel ---- */
.beyond-panel {
  margin-top: 40px;
  border-radius: 24px;
  border: 1px solid rgba(47, 231, 224, 0.25);
  background: linear-gradient(125deg, #0c4a44 0%, #141046 55%, #241442 100%);
  padding: clamp(24px, 4vw, 44px) clamp(20px, 3.5vw, 40px);
}
.beyond-panelhead {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.beyond-panelhead h3 { margin-top: 12px; font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; line-height: 1.05; }

/* countdown chip */
.beyond-count {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 10px;
  border-radius: 999px;
  border: 1px solid rgba(47, 231, 224, 0.28);
  background: rgba(6, 20, 18, 0.4);
}
.beyond-count-circle {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--cyan);
  color: #06231d;
  font-weight: 700;
  font-size: 15px;
  animation: beyond-pulseRing 1.6s infinite;
}
.beyond-count-text { display: flex; flex-direction: column; line-height: 1.25; }
.beyond-count-text b { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.beyond-count-text span { font-size: 11px; color: var(--ink-dim); }

/* the connected-phones graphic */
.beyond-graphic { margin: 30px 0 4px; }
.beyond-svg { width: 100%; height: auto; display: block; overflow: visible; }
.beyond-ring {
  fill: none;
  stroke: rgba(47, 231, 224, 0.55);
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: beyond-ringExpand 2s ease-out infinite;
}
.beyond-signal {
  stroke: rgba(47, 231, 224, 0.32);
  stroke-width: 1.4;
  stroke-dasharray: 3 6;
  animation: beyond-dashFlow 0.9s linear infinite;
}
.beyond-eq {
  fill: var(--cyan);
  transform-box: fill-box;
  transform-origin: bottom;
  animation: beyond-eqbar 0.55s ease-in-out infinite alternate;
}
.beyond-srclabel { fill: var(--cyan); font-family: var(--font-m); font-size: 11px; font-weight: 700; letter-spacing: 0.15em; }
.beyond-caption { fill: rgba(255, 255, 255, 0.55); font-family: var(--font-d); font-size: 13px; }

/* feature points */
.beyond-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
  margin-top: 28px;
}
.beyond-point .ico {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: rgba(47, 231, 224, 0.14);
  color: var(--cyan);
  margin-bottom: 12px;
}
.beyond-point h4 { margin: 0; font-size: 14px; font-weight: 600; }
.beyond-point p { margin: 6px 0 0; font-size: 12.5px; line-height: 1.55; color: rgba(255, 255, 255, 0.62); }

/* stat strip */
.beyond-stats {
  display: flex;
  gap: 34px;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.beyond-stat .num { font-size: clamp(26px, 3.2vw, 32px); font-weight: 700; line-height: 1; }
.beyond-stat .num.teal { color: var(--cyan); }
.beyond-stat .lbl { margin-top: 8px; font-size: 10.5px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-dim); }

/* ---- 5. AR band ---- */
.beyond-ar {
  position: relative;
  width: 100%;
  height: clamp(320px, 58vw, 420px);
  border-radius: 22px;
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid rgba(139, 92, 246, 0.28);
}
.beyond-ar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.beyond-ar .scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 6, 20, 0.9) 0%, rgba(8, 6, 20, 0.3) 52%, transparent 100%);
}
.beyond-ar .copy {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: clamp(18px, 4vw, 44px);
  right: clamp(18px, 4vw, 44px);
  max-width: 400px;
  pointer-events: none;
}
.beyond-ar .copy h3 { margin-top: 12px; font-size: clamp(24px, 3vw, 32px); font-weight: 700; line-height: 1.1; }
.beyond-ar .copy p { margin: 12px 0 0; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.72); }

/* ---- 6. CTA row ---- */
.beyond-cta { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 44px; }
.beyond-cta .btn svg { margin-right: 2px; }

/* ---- decorative bokeh ---- */
.beyond-bokeh { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.beyond-bokeh i {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(47, 231, 224, 0.5), transparent 70%);
  filter: blur(1px);
  animation: beyond-bokehDrift linear infinite;
}

/* ---- keyframes ---- */
@keyframes beyond-eqbar { from { transform: scaleY(0.24); } to { transform: scaleY(1); } }
@keyframes beyond-ringExpand { 0% { transform: scale(0.5); opacity: 0.65; } 100% { transform: scale(3.1); opacity: 0; } }
@keyframes beyond-dashFlow { to { stroke-dashoffset: -20; } }
@keyframes beyond-bokehDrift { 0% { transform: translate(0, 0); } 50% { transform: translate(16px, -20px); } 100% { transform: translate(0, 0); } }
@keyframes beyond-pulseRing {
  0% { box-shadow: 0 0 0 0 rgba(47, 231, 224, 0.5); }
  70% { box-shadow: 0 0 0 13px rgba(47, 231, 224, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 231, 224, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .beyond-eq, .beyond-ring, .beyond-signal, .beyond-count-circle, .beyond-bokeh i { animation: none !important; }
}
