/* =========================================================
   LlmGsap.css — Project 07: Distributed LLM Cluster
   Architectural / systemic assembly story.
   Dark palette only. transform + opacity + SVG attrs.
========================================================= */

.llm-root {
  position: relative;
  background: #000000;
  color: #ffffff;
  overflow: hidden;
  z-index: 3000;
}

/* ---------- Top chrome (eyebrow) ---------- */
.llm-chrome-top {
  position: absolute;
  top: 32px;
  left: 32px;
  right: 32px;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 14px;
  pointer-events: none;
}
.llm-num {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.55);
}
.llm-eyebrow-desc {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}

/* ---------- Film / Stage / Camera / World ---------- */
.llm-film {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #000000;
  overflow: hidden;
  z-index: 3000;
}
.llm-stage {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.llm-camera {
  position: relative;
  width: 1920px;
  height: 1080px;
  transform-origin: center center;
  flex-shrink: 0;
}
.llm-world {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 45%, #141414 0%, #000000 70%);
}

.llm-corner-marks { position: absolute; inset: 40px; pointer-events: none; }
.llm-corner { position: absolute; width: 20px; height: 20px; }
.llm-corner path { fill: none; stroke: rgba(255, 255, 255, 0.18); stroke-width: 1.5; }
.llm-corner.tl { top: 0; left: 0; }
.llm-corner.tr { top: 0; right: 0; transform: scaleX(-1); }
.llm-corner.br { bottom: 0; right: 0; transform: scale(-1, -1); }
.llm-corner.bl { bottom: 0; left: 0; transform: scaleY(-1); }

/* ---------- Beats ---------- */
.llm-beat {
  position: absolute;
  inset: 0;
}

/* ---------- Title block (Beat 01) ---------- */
.llm-title-block {
  position: absolute;
  left: 50%;
  top: 130px;
  transform: translateX(-50%);
  text-align: center;
}
.llm-big-title {
  margin: 0;
  font-size: 220px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: #ffffff;
  display: flex;
  justify-content: center;
}
.llm-char {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px);
}
.llm-subtitle {
  margin: 18px 0 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  justify-content: center;
  gap: 14px;
}
.llm-word { opacity: 0; transform: translateY(14px); display: inline-block; }

/* ---------- Boards ---------- */
.llm-board-wrap {
  position: absolute;
  z-index: 10;
}
.llm-board-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}
.llm-board-svg path {
  fill: rgba(255, 255, 255, 0.92);
}

.llm-board-core {
  opacity: 0;
  transform: scale(0.6);
}
.llm-board-glow {
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 70%);
  opacity: 0;
  pointer-events: none;
}

.llm-board-peripheral {
  opacity: 0;
}
.llm-board-peripheral .llm-board-svg path {
  fill: rgba(255, 255, 255, 0.82);
}

.llm-mini-label {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.45);
  white-space: nowrap;
}

.llm-board-label {
  position: absolute;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
  opacity: 0;
  white-space: nowrap;
}

/* subtle internal compute activity indicators (restrained pulses) */
.llm-mini-activity {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  opacity: 0;
}

/* ---------- Tech labels (per-beat) ---------- */
.llm-tech-label {
  position: absolute;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  opacity: 0;
}

/* ---------- Link / pulse layer ---------- */
.llm-link-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}
.llm-link-line {
  fill: none;
  stroke: rgba(255, 255, 255, 0.28);
  stroke-width: 1.5;
}
.llm-link-pulse {
  fill: #ffffff;
  opacity: 0;
}

/* ---------- Final typography (Beat 05) ---------- */
.llm-final-block {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.llm-final-line {
  margin: 0;
  font-size: 72px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #ffffff;
  opacity: 0;
  transform: translateY(24px);
}

/* ---------- Summary beat (dedicated final screen, like ParkPilot's closing) ---------- */
.llm-beat-summary {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 0 160px;
}
.llm-summary-media {
  opacity: 0;
  transform: translateY(30px);
  width: 100%;
  max-width: 900px;
}
.llm-summary-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  filter: grayscale(15%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.llm-summary-text {
  opacity: 0;
  transform: translateY(30px);
  text-align: center;
  max-width: 720px;
}
.llm-summary-text .llm-title {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #ffffff;
}
.llm-summary-text .llm-sub {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0 0 18px;
  font-weight: 500;
}
.llm-summary-text .llm-desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 28px;
}
.llm-summary-text .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #000000;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 26px;
  border-radius: 100px;
  text-decoration: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .llm-big-title { font-size: 120px; }
  .llm-subtitle { font-size: 16px; flex-wrap: wrap; }
  .llm-final-line { font-size: 42px; }
  .llm-beat-summary { padding: 0 24px; gap: 28px; }
  .llm-summary-text .llm-title { font-size: 32px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .llm-film { height: auto; min-height: 100vh; }
  .llm-char, .llm-word, .llm-board-core, .llm-board-peripheral,
  .llm-board-label, .llm-tech-label, .llm-final-line,
  .llm-summary-media, .llm-summary-text {
    opacity: 1 !important;
    transform: none !important;
  }
}