/* ==========================================================================
   SmartCube — home page
   ========================================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--head-h) + 76px) 0 40px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 8%;
  left: 50%;
  width: 900px;
  height: 900px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(159, 180, 216, 0.1), transparent 62%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: 48px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 8px;
}

.release-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px 7px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  font-size: 12px;
  color: var(--text-2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: border-color 0.25s, background-color 0.25s;
}

.release-pill:hover {
  border-color: rgba(201, 216, 240, 0.5);
  background: rgba(159, 180, 216, 0.1);
}

.release-pill .dot {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.release-pill .pill-ver {
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(159, 180, 216, 0.2);
  color: var(--violet-2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.hero h1 {
  margin-top: 28px;
  font-family: var(--font-serif);
  font-size: clamp(46px, 5.2vw, 74px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero h1 .line {
  display: block;
}

.hero h1 .grad-text {
  position: relative;
  display: inline-block;
}

.hero-lead {
  max-width: 580px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.9;
  text-wrap: pretty;
}

.hero-lead strong {
  color: var(--text-2);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 38px;
  color: var(--dim);
  font-size: 12px;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-trust .icon {
  width: 14px;
  height: 14px;
  color: var(--violet-2);
}

/* ---------- Hero stage / console ---------- */
.hero-stage {
  position: relative;
  z-index: 1;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1400px;
}

.hero-stage::before {
  content: "";
  position: absolute;
  width: 88%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159, 180, 216, 0.32), transparent 68%);
  filter: blur(48px);
  opacity: 0.7;
}

.console-tilt {
  position: relative;
  width: 100%;
  max-width: 630px;
  transform: rotateY(-8deg) rotateX(3deg);
  transform-style: preserve-3d;
  transition: transform 0.6s var(--ease);
  will-change: transform;
}

.console {
  --c-bg: #0a0f1b;
  --c-panel: #111827;
  --c-panel-2: #172136;
  --c-line: rgba(255, 255, 255, 0.09);
  --c-line-2: rgba(255, 255, 255, 0.16);
  --c-text: #f3eee4;
  --c-muted: #9399ad;
  --c-accent: #c9d6ee;
  --c-cyan: #c98ba8;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 20px;
  background: var(--c-bg);
  box-shadow:
    0 50px 110px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(159, 180, 216, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  overflow: hidden;
  color: var(--c-text);
  font-size: 13px;
  line-height: 1.5;
}

.console::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(201, 216, 240, 0.55), transparent 30%, transparent 70%, rgba(201, 139, 168, 0.35));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.win-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--c-line);
  background: rgba(255, 255, 255, 0.025);
}

.win-dots {
  display: flex;
  gap: 6px;
}

.win-dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #3a3550;
}

.win-dots i:first-child {
  background: #ff6159;
}

.win-dots i:nth-child(2) {
  background: #ffbd2e;
}

.win-dots i:nth-child(3) {
  background: #28c840;
}

.win-title {
  flex: 1;
  text-align: center;
  color: var(--c-muted);
  font-size: 10.5px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.win-chip {
  padding: 3px 7px;
  border: 1px solid rgba(201, 216, 240, 0.3);
  border-radius: 5px;
  background: rgba(185, 200, 224, 0.12);
  color: #dbe4f4;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
}

.win-body {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  min-height: 420px;
}

.win-rail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 7px;
  border-right: 1px solid var(--c-line);
  background: rgba(255, 255, 255, 0.018);
}

.rail-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 2px;
  border-radius: 9px;
  color: #6f6a85;
  font-size: 8.5px;
  line-height: 1.2;
  transition: background-color 0.2s, color 0.2s;
}

.rail-item .icon {
  width: 17px;
  height: 17px;
}

.rail-item:hover {
  color: #c8c2e2;
  background: rgba(255, 255, 255, 0.04);
}

.rail-item.active {
  color: #f7f2e8;
  background: linear-gradient(160deg, rgba(43, 53, 102, 0.95), rgba(43, 53, 102, 0.55));
  box-shadow: inset 0 0 0 1px rgba(201, 216, 240, 0.26);
}

.win-main {
  padding: 16px 17px 14px;
  min-width: 0;
}

.win-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.win-kicker {
  display: block;
  color: #8b84a6;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.win-head h3 {
  margin-top: 4px;
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid rgba(143, 184, 166, 0.25);
  border-radius: 999px;
  background: rgba(143, 184, 166, 0.08);
  color: #a9cfc0;
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
}

.live-pill .dot {
  width: 4px;
  height: 4px;
  background: #a9cfc0;
  box-shadow: 0 0 0 0 rgba(169, 207, 192, 0.5);
  animation: pulse-dot 2.2s infinite;
}

.now-card {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 14px;
  padding: 12px;
  border: 1px solid var(--c-line);
  border-radius: 13px;
  background: linear-gradient(135deg, rgba(185, 200, 224, 0.12), rgba(255, 255, 255, 0.02) 60%);
}

.now-cover {
  position: relative;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 11px;
  background: linear-gradient(145deg, #39466f, #39466f 55%, #6d4357);
  box-shadow: 0 8px 20px -8px rgba(159, 180, 216, 0.8);
  overflow: hidden;
  flex: none;
}

.now-cover .icon {
  width: 26px;
  height: 26px;
  color: rgba(255, 255, 255, 0.92);
}

.now-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.3), transparent 60%);
}

.now-info {
  min-width: 0;
  flex: 1;
}

.now-tag {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #c9d6ee;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.now-tag .bar {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: rgba(201, 216, 240, 0.5);
}

.now-info h4 {
  margin-top: 3px;
  font-size: 14.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.now-note {
  color: var(--c-muted);
  font-size: 9.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.eq {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 22px;
  flex: none;
}

.eq i {
  width: 3px;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(180deg, #e2e9f5, #b9c8e0);
  transform-origin: bottom;
  animation: eq-bounce 1s ease-in-out infinite alternate;
}

.eq i:nth-child(1) { height: 30%; animation-delay: -0.1s; }
.eq i:nth-child(2) { height: 62%; animation-delay: -0.35s; }
.eq i:nth-child(3) { height: 88%; animation-delay: -0.2s; }
.eq i:nth-child(4) { height: 45%; animation-delay: -0.55s; }
.eq i:nth-child(5) { height: 72%; animation-delay: -0.4s; }
.eq i:nth-child(6) { height: 36%; animation-delay: -0.65s; }
.eq i:nth-child(7) { height: 80%; animation-delay: -0.15s; }
.eq i:nth-child(8) { height: 54%; animation-delay: -0.5s; }

.console.is-paused .eq i,
.console.is-paused .live-pill .dot {
  animation-play-state: paused;
}

@keyframes eq-bounce {
  from {
    transform: scaleY(0.28);
  }
  to {
    transform: scaleY(1);
  }
}

.progress-row {
  margin-top: 14px;
}

.progress-track {
  position: relative;
  height: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  cursor: pointer;
}

.progress-track::before {
  content: "";
  position: absolute;
  inset: -7px 0;
}

.progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b9c8e0, #e2e9f5);
  box-shadow: 0 0 12px rgba(185, 200, 224, 0.6);
}

.progress-fill::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
  transform: translateY(-50%);
}

.progress-times {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  color: #726c8b;
  font-family: var(--font-mono);
  font-size: 9px;
  font-variant-numeric: tabular-nums;
}

.control-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding-bottom: 2px;
}

.ctrl-btn {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #a49ebc;
  transition: color 0.2s, background-color 0.2s;
}

.ctrl-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.ctrl-btn .icon {
  width: 15px;
  height: 15px;
}

.ctrl-play {
  width: 42px;
  height: 42px;
  background: linear-gradient(145deg, #3d4b7a, #232d4d);
  color: #f7f2e8;
  box-shadow: 0 7px 18px -6px rgba(159, 180, 216, 0.8);
}

.ctrl-play:hover {
  background: linear-gradient(145deg, #9d74ff, #9fb4d8);
  transform: translateY(-1px);
}

.ctrl-play .icon {
  width: 18px;
  height: 18px;
}

.ctrl-play .icon-pause {
  display: none;
}

.console.is-playing .ctrl-play .icon-pause {
  display: block;
}

.console.is-playing .ctrl-play .icon-play {
  display: none;
}

.control-row .spacer {
  flex: 1;
}

.vol {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #726c8b;
}

.vol .icon {
  width: 14px;
  height: 14px;
}

.vol-track {
  width: 44px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.vol-track i {
  display: block;
  width: 70%;
  height: 100%;
  background: #b9c8e0;
}

.queue {
  margin-top: 12px;
  border-top: 1px solid var(--c-line);
  padding-top: 8px;
}

.queue-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
  color: #6f6987;
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.queue li {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 5px 6px;
  border-radius: 7px;
  color: #9d96b5;
  font-size: 10px;
  transition: background-color 0.2s, color 0.2s;
}

.queue li:hover {
  background: rgba(255, 255, 255, 0.035);
  color: #ddd8f0;
}

.queue li.active {
  background: rgba(185, 200, 224, 0.12);
  color: #f3eee4;
}

.queue li .q-index {
  width: 15px;
  color: #5f5a76;
  font-family: var(--font-mono);
  font-size: 8px;
}

.queue li .q-name {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.queue li .q-dur {
  color: #615b78;
  font-family: var(--font-mono);
  font-size: 8.5px;
}

.queue li .q-gap {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(201, 139, 168, 0.1);
  color: #d7e2f2;
  font-size: 7.5px;
}

/* Floating cards */
.float-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 13px;
  background: rgba(13, 12, 24, 0.78);
  box-shadow: 0 18px 45px -18px rgba(0, 0, 0, 0.9);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: #f4f1ff;
  white-space: nowrap;
  animation: float-y 6s ease-in-out infinite;
}

.float-card .fc-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: rgba(185, 200, 224, 0.18);
  color: #dbe4f4;
}

.float-card .fc-icon .icon {
  width: 15px;
  height: 15px;
}

.float-card small {
  display: block;
  color: #8e88a8;
  font-size: 8.5px;
  line-height: 1.4;
  letter-spacing: 0.02em;
}

.float-card strong {
  display: block;
  font-size: 11.5px;
  line-height: 1.45;
  font-weight: 650;
}

.fc-sync {
  top: -22px;
  right: -24px;
  animation-delay: -1s;
}

.fc-guard {
  bottom: 24px;
  left: -34px;
  animation-delay: -3s;
}

.fc-guard .fc-icon {
  background: rgba(143, 184, 166, 0.14);
  color: #a9cfc0;
}

.fc-led {
  right: 22px;
  bottom: -20px;
  animation-delay: -2s;
}

.fc-led .fc-icon {
  background: rgba(201, 139, 168, 0.13);
  color: #d7e2f2;
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  margin-top: 72px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 46s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-group {
  display: flex;
  align-items: center;
  flex: none;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 17px 22px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee span::after {
  content: "◆";
  font-size: 5px;
  color: var(--violet-2);
  opacity: 0.7;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Why / cube ---------- */
.why {
  padding-top: 130px;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 440px;
  align-items: center;
  gap: 80px;
}

.why-copy h2 {
  margin-top: 18px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.16;
  letter-spacing: -0.025em;
  font-weight: 600;
  text-wrap: balance;
}

.why-copy > p {
  max-width: 560px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 16.5px;
  line-height: 1.9;
}

.why-list {
  display: grid;
  gap: 4px;
  margin-top: 34px;
}

.why-list li {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 14px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
}

.why-list .num {
  padding-top: 2px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--violet-2);
  letter-spacing: 0.08em;
}

.why-list h3 {
  font-size: 15px;
  font-weight: 650;
}

.why-list p {
  margin-top: 3px;
  color: var(--dim);
  font-size: 13px;
  line-height: 1.7;
}

.cube-stage {
  position: relative;
  display: grid;
  place-items: center;
  height: 440px;
  perspective: 1100px;
}

.cube-stage::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(159, 180, 216, 0.3), transparent 66%);
  filter: blur(42px);
}

.cube-stage::after {
  content: "";
  position: absolute;
  bottom: 54px;
  width: 280px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(159, 180, 216, 0.3), transparent 70%);
  filter: blur(16px);
}

.cube {
  position: relative;
  width: 240px;
  height: 240px;
  transform: rotateX(-18deg) rotateY(-24deg);
  transform-style: preserve-3d;
  animation: cube-spin 28s linear infinite;
}

.cube:hover {
  animation-play-state: paused;
}

.cube-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(201, 216, 240, 0.38);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(159, 180, 216, 0.2), rgba(12, 12, 22, 0.7)),
    rgba(8, 13, 24, 0.62);
  box-shadow: inset 0 0 40px rgba(159, 180, 216, 0.12);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  color: var(--text);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.cube-face small {
  font-family: var(--font-mono);
  font-size: 7.5px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: rgba(196, 181, 253, 0.7);
}

.cube-face .icon {
  width: 22px;
  height: 22px;
  color: var(--violet-2);
}

.cube-face.front { transform: translateZ(120px); }
.cube-face.back { transform: rotateY(180deg) translateZ(120px); }
.cube-face.right { transform: rotateY(90deg) translateZ(120px); }
.cube-face.left { transform: rotateY(-90deg) translateZ(120px); }
.cube-face.top { transform: rotateX(90deg) translateZ(120px); }
.cube-face.bottom { transform: rotateX(-90deg) translateZ(120px); }

.cube-note {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

@keyframes cube-spin {
  from {
    transform: rotateX(-18deg) rotateY(-24deg);
  }
  to {
    transform: rotateX(-18deg) rotateY(336deg);
  }
}

.shot-mode .cube {
  transform: rotateX(-18deg) rotateY(-24deg);
}

/* Moon wash behind the hero */
.hero::after {
  content: "";
  position: absolute;
  right: -12%;
  top: 4%;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 139, 168, 0.1), transparent 62%);
  filter: blur(30px);
  pointer-events: none;
  z-index: 0;
}

.hero .shell {
  position: relative;
  z-index: 1;
}

[data-theme="light"] .hero::after {
  background: radial-gradient(circle, rgba(8, 145, 178, 0.1), transparent 62%);
}

/* ---------- Flow ---------- */
.flow-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: 64px;
}

.step-list {
  position: relative;
}

.step-list li {
  position: relative;
  display: grid;
  grid-template-columns: 50px 1fr;
  gap: 18px;
  padding: 22px 0;
}

.step-list li::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 64px;
  bottom: -4px;
  width: 1px;
  background: linear-gradient(var(--line-2), transparent);
}

.step-list li:last-child::before {
  display: none;
}

.step-num {
  display: grid;
  place-items: center;
  width: 39px;
  height: 39px;
  border: 1px solid rgba(201, 216, 240, 0.35);
  border-radius: 50%;
  background: rgba(159, 180, 216, 0.09);
  color: var(--violet-2);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
}

.step-list h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.step-list p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
}

.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.step-tags span {
  padding: 2px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9px;
}

.flow-visual {
  position: relative;
}

.flow-visual .shot-frame {
  transform: rotate(1.2deg);
}

.flow-chip {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid var(--line-2);
  border-radius: 11px;
  background: rgba(8, 13, 24, 0.86);
  color: #f4f1ff;
  font-size: 11px;
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.flow-chip .icon {
  width: 14px;
  height: 14px;
  color: var(--cyan);
}

.flow-chip.c1 {
  top: -16px;
  left: -20px;
}

.flow-chip.c2 {
  right: -18px;
  top: 36%;
}

.flow-chip.c3 {
  bottom: -16px;
  left: 16%;
}

/* ---------- Day timeline ---------- */
.day-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.day-card {
  position: relative;
  padding: 22px 20px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--surface), transparent);
  transition: transform 0.3s var(--ease), border-color 0.3s, background-color 0.3s;
  overflow: hidden;
}

.day-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20px;
  right: 20px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 216, 240, 0.5), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.day-card:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 216, 240, 0.35);
  background: linear-gradient(180deg, rgba(159, 180, 216, 0.09), transparent);
}

.day-card:hover::before {
  opacity: 1;
}

.day-time {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--violet-2);
}

.day-card h3 {
  margin-top: 12px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.day-card p {
  margin-top: 6px;
  color: var(--dim);
  font-size: 12.5px;
  line-height: 1.7;
}

.day-card .chip {
  margin-top: 15px;
  height: 24px;
  font-size: 10px;
}

.day-dot {
  position: absolute;
  top: 24px;
  right: 19px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--line-2);
}

.day-card:hover .day-dot {
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
}

/* ---------- Bento ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.b-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015)),
    var(--bg-2);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s;
  isolation: isolate;
}

[data-theme="light"] .b-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.72)),
    var(--bg-2);
}

.b-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(340px circle at var(--mx, 50%) var(--my, 0%), rgba(159, 180, 216, 0.14), transparent 62%);
  opacity: 0;
  transition: opacity 0.4s;
}

.b-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 216, 240, 0.32);
}

.b-card:hover::before {
  opacity: 1;
}

.b-card.span-4 { grid-column: span 4; }
.b-card.span-5 { grid-column: span 5; }
.b-card.span-6 { grid-column: span 6; }
.b-card.span-7 { grid-column: span 7; }

.b-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.b-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(201, 216, 240, 0.22);
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(159, 180, 216, 0.2), rgba(159, 180, 216, 0.05));
  color: var(--violet-2);
}

.b-icon .icon {
  width: 20px;
  height: 20px;
}

.b-card.cyan .b-icon {
  border-color: rgba(201, 139, 168, 0.22);
  background: linear-gradient(145deg, rgba(201, 139, 168, 0.16), transparent);
  color: var(--cyan);
}

.b-card.amber .b-icon {
  border-color: rgba(216, 181, 115, 0.22);
  background: linear-gradient(145deg, rgba(216, 181, 115, 0.14), transparent);
  color: var(--amber);
}

.b-card.green .b-icon {
  border-color: rgba(143, 184, 166, 0.22);
  background: linear-gradient(145deg, rgba(143, 184, 166, 0.14), transparent);
  color: var(--green);
}

.b-num {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--dim);
  letter-spacing: 0.1em;
}

.b-card h3 {
  margin-top: 22px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.b-card > p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.8;
  max-width: 52ch;
}

.b-visual {
  margin-top: 22px;
}

.mini-list {
  display: grid;
  gap: 6px;
}

.mini-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  font-size: 11px;
  color: var(--text-2);
}

.mini-item .mi-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: rgba(159, 180, 216, 0.16);
  color: var(--violet-2);
  flex: none;
}

.mini-item .mi-icon .icon {
  width: 12px;
  height: 12px;
}

.mini-item small {
  margin-left: auto;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 9px;
}

.mini-item.gap {
  border-style: dashed;
  color: var(--muted);
}

.mini-item.gap .mi-icon {
  background: rgba(201, 139, 168, 0.1);
  color: var(--cyan);
}

.mini-item.gap small {
  color: var(--cyan);
}

.ring-wrap {
  display: flex;
  align-items: center;
  gap: 18px;
}

.ring {
  position: relative;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  background: conic-gradient(var(--violet) 0 292deg, rgba(255, 255, 255, 0.08) 292deg 360deg);
  flex: none;
  display: grid;
  place-items: center;
}

.ring::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: var(--bg-2);
}

[data-theme="light"] .ring::before {
  background: #fbf9ff;
}

.ring span {
  position: relative;
  z-index: 1;
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.ring small {
  display: block;
  margin-top: 1px;
  color: var(--dim);
  font-family: var(--font-sans);
  font-size: 8.5px;
  font-weight: 400;
  text-align: center;
}

.ring-meta {
  display: grid;
  gap: 8px;
  font-size: 11px;
  color: var(--muted);
}

.ring-meta b {
  color: var(--text);
  font-weight: 600;
}

.ring-meta .ok {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--green);
  font-size: 10px;
}

.ring-meta .ok .icon {
  width: 11px;
  height: 11px;
}

.swatch-row {
  display: flex;
  gap: 9px;
  margin-top: 14px;
}

.swatch-row i {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.swatch-row i:nth-child(1) { background: #8ea4ca; }
.swatch-row i:nth-child(2) { background: #9c5f78; }
.swatch-row i:nth-child(3) { background: #db2777; }
.swatch-row i:nth-child(4) { background: #d97706; }
.swatch-row i:nth-child(5) { background: #059669; }
.swatch-row i:nth-child(6) { background: #7c3aed; }

.b-code {
  margin-top: 18px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.24);
  color: #dbe5f4;
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.8;
  overflow-x: auto;
  white-space: nowrap;
}

[data-theme="light"] .b-code {
  background: rgba(24, 29, 47, 0.06);
  color: #6d4357;
}

.b-code .cm {
  color: var(--dim);
}

.b-code .kw {
  color: #dbe4f4;
}

.b-code .str {
  color: #a9cfc0;
}

.lock-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 10px;
}

.lock-line .bar {
  flex: 1;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.lock-line .bar i {
  display: block;
  width: 68%;
  height: 100%;
  background: linear-gradient(90deg, var(--green), var(--cyan));
}

/* ---------- Field story ---------- */
.field-story {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.field-copy h2 {
  margin-top: 18px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.16;
  letter-spacing: -0.025em;
  font-weight: 600;
  text-wrap: balance;
}

.field-copy > p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.9;
}

.field-checks {
  display: grid;
  gap: 13px;
  margin-top: 30px;
}

.field-checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.65;
}

.field-checks .check {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: rgba(143, 184, 166, 0.12);
  color: var(--green);
  flex: none;
}

.field-checks .check .icon {
  width: 11px;
  height: 11px;
}

.field-checks small {
  display: block;
  margin-top: 2px;
  color: var(--dim);
  font-size: 11.5px;
}

.field-visual {
  position: relative;
}

.field-visual .shot-frame {
  transform: rotate(-1deg);
}

.field-float {
  position: absolute;
  z-index: 2;
  padding: 12px 15px;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  background: rgba(8, 13, 24, 0.88);
  color: #f4f1ff;
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.field-float small {
  display: block;
  color: #8e88a8;
  font-size: 9px;
  letter-spacing: 0.05em;
}

.field-float strong {
  font-size: 13px;
  font-weight: 650;
}

.field-float.f1 {
  right: -18px;
  top: -20px;
}

.field-float.f2 {
  left: -22px;
  bottom: 30px;
}

.field-float .mini-ring {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 6px;
  border: 2px solid var(--cyan);
  border-radius: 50%;
  vertical-align: 1px;
}

/* ---------- Theme demo ---------- */
.theme-demo {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 70px;
  align-items: center;
}

.theme-panel {
  position: relative;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    var(--bg-2);
  box-shadow: var(--shadow-lg);
}

.theme-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.theme-panel-head h3 {
  font-size: 15px;
  font-weight: 650;
}

.theme-panel-head small {
  display: block;
  margin-top: 2px;
  color: var(--dim);
  font-size: 10.5px;
}

.theme-preview {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    radial-gradient(120% 100% at 100% 0%, color-mix(in srgb, var(--demo-accent) 16%, transparent), transparent 60%),
    var(--bg-3);
  transition: background 0.4s;
}

[data-theme="light"] .theme-preview {
  background:
    radial-gradient(120% 100% at 100% 0%, color-mix(in srgb, var(--demo-accent) 13%, transparent), transparent 60%),
    #fff;
}

.theme-preview-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-preview-top .app-dot {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--demo-accent);
  color: #fff;
  transition: background-color 0.4s;
}

.theme-preview-top .app-dot .icon {
  width: 16px;
  height: 16px;
}

.theme-preview-top b {
  display: block;
  font-size: 12px;
  line-height: 1.3;
}

.theme-preview-top small {
  color: var(--dim);
  font-size: 9px;
}

.theme-preview-top .chip {
  margin-left: auto;
  color: var(--demo-accent);
  border-color: color-mix(in srgb, var(--demo-accent) 30%, transparent);
  background: color-mix(in srgb, var(--demo-accent) 10%, transparent);
}

.theme-preview-card {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
}

.theme-preview-card .row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-preview-card .row .icon {
  width: 15px;
  height: 15px;
  color: var(--demo-accent);
}

.theme-preview-card .row b {
  font-size: 12px;
}

.theme-preview-card .row small {
  margin-left: auto;
  color: var(--green);
  font-size: 9px;
}

.theme-preview-card .line {
  height: 5px;
  margin-top: 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

[data-theme="light"] .theme-preview-card .line {
  background: rgba(24, 29, 47, 0.08);
}

.theme-preview-card .line i {
  display: block;
  width: 64%;
  height: 100%;
  border-radius: inherit;
  background: var(--demo-accent);
  transition: background-color 0.4s;
}

.theme-preview-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.theme-preview-actions span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
}

.theme-preview-actions span:first-child {
  background: var(--demo-accent);
  color: #fff;
}

.theme-preview-actions span:last-child {
  border: 1px solid var(--line-2);
  color: var(--muted);
}

.demo-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.demo-swatches {
  display: flex;
  gap: 10px;
}

.demo-swatches button {
  position: relative;
  width: 26px;
  height: 26px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: transform 0.2s, box-shadow 0.2s;
}

.demo-swatches button::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid transparent;
  border-radius: 50%;
  transition: border-color 0.2s;
}

.demo-swatches button:hover {
  transform: scale(1.1);
}

.demo-swatches button[aria-pressed="true"]::after {
  border-color: var(--text);
}

.theme-panel .mode-switch {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.theme-panel .mode-switch button {
  padding: 5px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 600;
}

.theme-panel .mode-switch button.active {
  background: var(--surface-3);
  color: var(--text);
}

.theme-facts {
  display: grid;
  gap: 4px;
  margin-top: 30px;
}

.theme-facts li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

.theme-facts b {
  min-width: 92px;
  color: var(--text);
  font-size: 12px;
  font-weight: 600;
}

/* ---------- Stats ---------- */
.stats-band {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--line);
  overflow: hidden;
}

.stat {
  padding: 30px 26px;
  background: var(--bg-2);
  transition: background-color 0.3s;
}

.stat:hover {
  background: var(--bg-3);
}

.stat .stat-num {
  font-family: var(--font-mono);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat .stat-num small {
  font-size: 0.38em;
  letter-spacing: 0;
  color: var(--muted);
  -webkit-text-fill-color: var(--muted);
}

.stat p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.6;
}

.stat .stat-label {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.g-item {
  position: relative;
  grid-column: span 4;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-2);
  overflow: hidden;
  cursor: zoom-in;
  text-align: left;
}

.g-item.wide {
  grid-column: span 8;
}

.g-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  transition: transform 0.6s var(--ease), filter 0.4s;
}

.g-item:hover img {
  transform: scale(1.035);
  filter: brightness(1.06);
}

.g-item .g-cap {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 40px 16px 14px;
  background: linear-gradient(transparent, rgba(5, 5, 10, 0.85));
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
}

.g-item:hover .g-cap {
  opacity: 1;
}

.g-cap b {
  font-size: 12px;
  font-weight: 600;
}

.g-cap span {
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.1em;
}

/* ---------- Quote ---------- */
.quote-band {
  position: relative;
  padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
  overflow: hidden;
}

.quote-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(50% 100% at 50% 0%, rgba(159, 180, 216, 0.1), transparent 70%);
  pointer-events: none;
}

.quote-band blockquote {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.2vw, 40px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.quote-band blockquote em {
  font-style: normal;
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.quote-band cite {
  display: block;
  margin-top: 24px;
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* ---------- CTA ---------- */
.cta-panel {
  position: relative;
  padding: 64px;
  border: 1px solid rgba(201, 216, 240, 0.28);
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 160% at 100% 0%, rgba(201, 139, 168, 0.18), transparent 46%),
    radial-gradient(100% 140% at 0% 100%, rgba(185, 200, 224, 0.28), transparent 52%),
    #080d18;
  overflow: hidden;
  color: #fff;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 54px 54px;
  -webkit-mask-image: radial-gradient(80% 100% at 50% 0%, #000, transparent 80%);
  mask-image: radial-gradient(80% 100% at 50% 0%, #000, transparent 80%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.cta-panel .eyebrow {
  color: #dbe4f4;
}

.cta-panel .eyebrow::before {
  background: #e2e9f5;
  box-shadow: 0 0 14px rgba(103, 232, 249, 0.8);
}

.cta-panel h2 {
  max-width: 700px;
  margin-top: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.18;
  letter-spacing: -0.025em;
  font-weight: 600;
  text-wrap: balance;
}

.cta-panel p {
  max-width: 560px;
  margin-top: 16px;
  color: #a9a2c6;
  font-size: 14.5px;
  line-height: 1.8;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  flex: none;
  padding-bottom: 4px;
}

.cta-panel .btn-ghost {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.cta-panel .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cta-cube {
  position: absolute;
  right: 6%;
  top: -46px;
  width: 180px;
  height: 180px;
  opacity: 0.16;
  transform: rotate(18deg);
  pointer-events: none;
}

.cta-cube::before,
.cta-cube::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #c9d6ee;
  border-radius: 26px;
}

.cta-cube::before {
  transform: translate(18px, 18px);
}

.cta-cube::after {
  transform: translate(36px, 36px);
  border-color: #e2e9f5;
}

/* ---------- Product trio ---------- */
.product-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.trio-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background:
    linear-gradient(180deg, rgba(221, 229, 245, 0.05), transparent 55%),
    var(--bg-2);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s;
}

.trio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 100% at 100% 0%, rgba(201, 216, 240, 0.08), transparent 55%);
  pointer-events: none;
}

.trio-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-2);
}

.trio-card.flagship {
  border-color: rgba(201, 216, 240, 0.28);
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(201, 216, 240, 0.1), transparent 48%),
    radial-gradient(100% 120% at 0% 100%, rgba(201, 139, 168, 0.08), transparent 52%),
    var(--bg-2);
}

.trio-card.cloud-card {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(201, 139, 168, 0.12), transparent 50%),
    var(--bg-2);
}

.trio-head {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.trio-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(201, 216, 240, 0.2);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(201, 216, 240, 0.15), rgba(201, 216, 240, 0.03));
  color: var(--violet-2);
}

.trio-icon .icon {
  width: 19px;
  height: 19px;
}

.cloud-card .trio-icon {
  border-color: rgba(201, 139, 168, 0.25);
  background: linear-gradient(145deg, rgba(201, 139, 168, 0.16), transparent);
  color: var(--pink);
}

.trio-label {
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 8.5px;
  letter-spacing: 0.13em;
}

.trio-head .chip {
  margin-left: auto;
  height: 24px;
  font-size: 9.5px;
}

.trio-card h3 {
  position: relative;
  margin-top: 18px;
  font-family: var(--font-serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.trio-card > p {
  position: relative;
  margin-top: 9px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.8;
}

.trio-visual {
  position: relative;
  height: 152px;
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #080d18;
  overflow: hidden;
}

/* Broadcast mini player */
.trio-broadcast {
  display: flex;
  align-items: center;
  padding: 15px;
  background:
    radial-gradient(120% 130% at 100% 0%, rgba(201, 216, 240, 0.15), transparent 50%),
    #080d18;
}

.mini-onair {
  position: relative;
  width: 100%;
  padding: 13px;
  border: 1px solid rgba(204, 217, 240, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.035);
}

.mo-live {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #a9cfc0;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.12em;
}

.mo-live i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #a9cfc0;
  box-shadow: 0 0 8px rgba(169, 207, 192, 0.8);
}

.mini-onair b {
  display: block;
  margin-top: 6px;
  color: #f3eee4;
  font-size: 13px;
}

.mini-onair small {
  display: block;
  margin-top: 5px;
  color: #8f95a9;
  font-family: var(--font-mono);
  font-size: 8px;
}

.mo-eq {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
  margin-top: 6px;
}

.mo-eq i {
  width: 3px;
  border-radius: 2px;
  background: linear-gradient(180deg, #e2e9f5, #c98ba8);
  animation: eq-bounce 1.1s ease-in-out infinite alternate;
}

.mo-eq i:nth-child(1) { height: 35%; animation-delay: -0.2s; }
.mo-eq i:nth-child(2) { height: 70%; animation-delay: -0.5s; }
.mo-eq i:nth-child(3) { height: 50%; animation-delay: -0.3s; }
.mo-eq i:nth-child(4) { height: 90%; animation-delay: -0.7s; }
.mo-eq i:nth-child(5) { height: 42%; animation-delay: -0.4s; }
.mo-eq i:nth-child(6) { height: 76%; animation-delay: -0.6s; }
.mo-eq i:nth-child(7) { height: 55%; animation-delay: -0.1s; }

/* Whiteboard mini */
.trio-board {
  padding: 14px;
  background:
    radial-gradient(100% 100% at 100% 0%, rgba(201, 139, 168, 0.12), transparent 55%),
    linear-gradient(145deg, #e9e4d8, #cbd6e8);
  color: #1a2033;
}

.tb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(26, 32, 51, 0.15);
  font-family: var(--font-mono);
  font-size: 8px;
}

.tb-top span:first-child {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.tb-top span:last-child {
  color: rgba(26, 32, 51, 0.58);
}

.tb-main {
  padding-top: 10px;
}

.tb-main b {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
}

.tb-main p {
  margin-top: 4px;
  color: rgba(26, 32, 51, 0.68);
  font-size: 9px;
  line-height: 1.7;
}

.tb-pills {
  display: flex;
  gap: 5px;
  margin-top: 9px;
}

.tb-pills span {
  padding: 3px 7px;
  border: 1px solid rgba(26, 32, 51, 0.16);
  border-radius: 999px;
  color: rgba(26, 32, 51, 0.68);
  font-size: 7.5px;
}

/* Cloud mini */
.trio-cloud {
  padding: 13px;
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(201, 139, 168, 0.14), transparent 52%),
    #080d18;
}

.tc-top {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(204, 217, 240, 0.1);
  color: #c9d6ee;
  font-size: 9px;
}

.tc-top .dot {
  width: 4px;
  height: 4px;
  background: #a9cfc0;
  box-shadow: 0 0 8px rgba(169, 207, 192, 0.8);
}

.tc-top small {
  margin-left: auto;
  color: #a9cfc0;
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.08em;
}

.tc-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding-top: 7px;
  font-size: 8.5px;
}

.tc-row span {
  color: #7f8699;
  flex: none;
}

.tc-row code {
  color: #c9d6ee;
  font-family: var(--font-mono);
  font-size: 7.5px;
  text-align: right;
  overflow-wrap: anywhere;
}

.tc-row b {
  color: #d9c7d2;
  font-size: 8.5px;
  font-weight: 500;
  text-align: right;
}

.trio-list {
  position: relative;
  display: grid;
  gap: 7px;
  margin-top: 16px;
}

.trio-list li {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: var(--muted);
  font-size: 10.5px;
  line-height: 1.6;
}

.trio-list .icon {
  width: 11px;
  height: 11px;
  margin-top: 3px;
  color: var(--green);
  flex: none;
}

.trio-foot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.trio-foot .mono {
  color: var(--dim);
  font-size: 7.5px;
  letter-spacing: 0.05em;
}

.trio-foot .text-link {
  font-size: 11px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .hero-grid {
    gap: 30px;
  }

  .float-card.fc-sync {
    right: -8px;
  }

  .float-card.fc-guard {
    left: -16px;
  }

  .why-grid {
    grid-template-columns: 1fr 380px;
    gap: 40px;
  }

  .day-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }

  .product-trio {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 780px;
  }

  .hero h1 {
    font-size: clamp(48px, 7.2vw, 70px);
  }

  .hero-stage {
    min-height: 0;
    margin-top: 8px;
    justify-content: flex-start;
  }

  .console-tilt {
    max-width: 760px;
    transform: none;
  }

  .float-card.fc-sync {
    top: -18px;
    right: 8px;
  }

  .float-card.fc-guard {
    bottom: 80px;
    left: -10px;
  }
}

@media (max-width: 1020px) {
  .hero {
    padding-top: calc(var(--head-h) + 50px);
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-stage {
    min-height: 0;
    margin-top: 10px;
    justify-content: flex-start;
  }

  .console-tilt {
    max-width: 720px;
    transform: none;
  }

  .float-card.fc-sync {
    top: -18px;
    right: 8px;
  }

  .float-card.fc-guard {
    bottom: 80px;
    left: -10px;
  }

  .marquee {
    margin-top: 60px;
  }

  .why {
    padding-top: 90px;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cube-stage {
    height: 380px;
    order: 2;
  }

  .flow-layout,
  .field-story,
  .theme-demo {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .flow-visual {
    order: -1;
  }

  .field-visual {
    order: -1;
  }

  .b-card.span-4,
  .b-card.span-5,
  .b-card.span-6,
  .b-card.span-7 {
    grid-column: span 6;
  }

  .stats-band {
    grid-template-columns: 1fr 1fr;
  }

  .g-item,
  .g-item.wide {
    grid-column: span 6;
  }

  .cta-panel {
    padding: 48px 40px;
  }

  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
}

@media (max-width: 700px) {
  .hero h1 {
    font-size: clamp(34px, 11.5vw, 58px);
  }

  .hero-lead {
    font-size: 15.5px;
  }

  .hero-cta .btn {
    flex: 1 1 auto;
  }

  .hero-trust {
    gap: 8px 16px;
    font-size: 11px;
  }

  .win-body {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .win-rail {
    display: none;
  }

  .win-main {
    padding: 14px;
  }

  .float-card {
    display: none;
  }

  .now-cover {
    width: 50px;
    height: 50px;
  }

  .eq {
    display: none;
  }

  .hero-stage {
    margin-inline: -4px;
  }

  .why-list {
    margin-top: 24px;
  }

  .day-grid {
    grid-template-columns: 1fr;
  }

  .day-card {
    padding: 18px;
  }

  .b-card.span-4,
  .b-card.span-5,
  .b-card.span-6,
  .b-card.span-7 {
    grid-column: span 12;
  }

  .b-card {
    padding: 22px;
  }

  .stats-band {
    grid-template-columns: 1fr;
  }

  .g-item,
  .g-item.wide {
    grid-column: span 12;
  }

  .g-item .g-cap {
    opacity: 1;
  }

  .cta-panel {
    padding: 36px 24px;
    border-radius: 24px;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1 1 100%;
  }

  .quote-band {
    padding: 60px 0;
  }
}
