/* ==========================================================================
   BLOCKSMITH (مَكعب) — Modular No-Code App Builder
   Slate #ECEEF1 · Tint #E3E6EB · Surface #FAFAFB · Ink #0E1116
   Cobalt #2E5BFF · Mint #2ED8A7 · Interactive Drag/Click App Canvas
   ========================================================================== */

:root {
  --bg: #ECEEF1;
  --sec-tint: #E3E6EB;
  --block: #FAFAFB;
  --fg: #0E1116;
  --accent: #2E5BFF;
  --accent-hi: #1D4AE8;
  --mint: #2ED8A7;
  --mint-deep: #0A8C68;
  --ink-2: rgba(14, 17, 22, 0.66);
  --ink-3: rgba(14, 17, 22, 0.44);
  --line: rgba(14, 17, 22, 0.10);
  --line-2: rgba(14, 17, 22, 0.18);
  --blue-t: rgba(46, 91, 255, 0.10);
  --font-sans: 'IBM Plex Sans Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-serif: 'Amiri', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --pad: clamp(18px, 2.6vw, 44px);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--fg);
  scroll-behavior: auto;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.62;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
  color: inherit;
}

.container {
  width: min(1220px, 100% - 32px);
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Custom Square Blue Cursor (desktop fine pointer only)
   -------------------------------------------------------------------------- */
.bs-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  background: var(--accent);
  border: 1.5px solid #ffffff;
  box-shadow: 0 3px 10px rgba(46, 91, 255, 0.35);
  pointer-events: none;
  z-index: 999;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  transition: width 0.2s var(--ease), height 0.2s var(--ease), background 0.2s ease, opacity 0.2s ease, border-radius 0.2s ease;
}

.bs-cursor.is-visible {
  opacity: 1;
}

.bs-cursor.is-hover {
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: var(--mint);
  box-shadow: 0 4px 16px rgba(46, 216, 167, 0.45);
}

@media (hover: none), (pointer: coarse) {
  .bs-cursor {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   Fixed Header (.nav -> .nav.is-scrolled glass morph)
   -------------------------------------------------------------------------- */
.nav {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 80;
  padding: 16px var(--pad) 0;
  transition: padding 0.35s var(--ease);
}

.nav.is-scrolled {
  padding: 10px calc(var(--pad) - 8px) 0;
}

.nav-pill {
  max-width: 1260px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease), backdrop-filter 0.35s ease;
}

.nav.is-scrolled .nav-pill {
  background: rgba(250, 250, 251, 0.84);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-color: rgba(14, 17, 22, 0.09);
  box-shadow: 0 12px 32px rgba(14, 17, 22, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  padding-inline-start: 6px;
}

.brand-mark {
  width: 24px;
  height: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
}

.brand-mark span {
  border-radius: 3px;
  background: var(--fg);
}

.brand-mark span:nth-child(2) {
  background: var(--accent);
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--fg);
}

.brand-en {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  padding-inline-start: 8px;
  border-inline-start: 1px solid var(--line);
}

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  justify-self: center;
  padding: 9px 22px;
  border-radius: 999px;
  background: rgba(250, 250, 251, 0.66);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(14, 17, 22, 0.06);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav.is-scrolled .nav-links {
  background: transparent;
  border-color: transparent;
  backdrop-filter: none;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--accent);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-self: end;
}

.nav-back {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-2);
  padding: 7px 12px;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}

.nav-back:hover {
  color: var(--fg);
  background: rgba(14, 17, 22, 0.06);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--fg);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  transition: transform 0.22s var(--ease), background 0.22s ease;
}

.nav-cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   HERO SECTION (#hero — 3D Cube Sphere + Interactive Deal Desk Builder)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 104px 0 48px;
  overflow: hidden;
  isolation: isolate;
}

.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image:
    linear-gradient(to right, rgba(14, 17, 22, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 17, 22, 0.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 36% 48%, rgba(0, 0, 0, 1) 18%, rgba(0, 0, 0, 0.15) 75%);
  -webkit-mask-image: radial-gradient(circle at 36% 48%, rgba(0, 0, 0, 1) 18%, rgba(0, 0, 0, 0.15) 75%);
}

.hero-word {
  position: absolute;
  inset-inline: -4vw;
  bottom: -6vh;
  z-index: -2;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(9rem, 23vw, 22rem);
  line-height: 0.85;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1.4px rgba(46, 91, 255, 0.13);
  user-select: none;
  pointer-events: none;
  direction: ltr;
  letter-spacing: -0.04em;
}

.hero-layout {
  width: min(1240px, 100% - 32px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 32px;
  align-items: center;
}

/* Right Copy Column (Start in RTL) */
.hero-copy {
  position: relative;
  z-index: 4;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(250, 250, 251, 0.86);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-2);
  box-shadow: 0 4px 14px rgba(14, 17, 22, 0.04);
}

.chip-sq {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-title {
  margin: 0 0 18px;
  font-size: clamp(2.65rem, 5.1vw, 4.55rem);
  font-weight: 700;
  line-height: 1.13;
  letter-spacing: 0;
  word-spacing: 0.04em;
  color: var(--fg);
}

.hero-title em,
.sec-title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  font-size: 1.08em;
  padding-inline: 0.04em;
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 44ch;
  font-size: 1.04rem;
  line-height: 1.72;
  color: var(--ink-2);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.btn-blue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 11px 22px 11px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 600;
  box-shadow: 0 12px 26px -8px rgba(46, 91, 255, 0.55);
  transition: transform 0.24s var(--ease), background 0.24s ease, box-shadow 0.24s ease;
}

.btn-blue:hover {
  background: var(--accent-hi);
  transform: translateY(-2px);
  box-shadow: 0 16px 32px -8px rgba(46, 91, 255, 0.65);
}

.btn-blue .arr {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  display: inline-grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.9rem;
}

.btn-soft {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border-radius: 999px;
  background: rgba(250, 250, 251, 0.85);
  border: 1px solid var(--line-2);
  color: var(--fg);
  font-size: 0.92rem;
  font-weight: 600;
  transition: transform 0.22s var(--ease), border-color 0.22s ease, background 0.22s ease;
}

.btn-soft:hover {
  background: #ffffff;
  border-color: var(--fg);
  transform: translateY(-1px);
}

.review-row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.stars-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--block);
  border: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--fg);
  box-shadow: 0 4px 12px rgba(14, 17, 22, 0.05);
}

.stars-pill .s-blue {
  color: var(--accent);
}

.review-meta {
  display: flex;
  flex-direction: column;
  font-size: 0.82rem;
  line-height: 1.45;
}

.review-meta strong {
  color: var(--fg);
}

.review-meta span {
  color: var(--ink-2);
}

/* Left Interactive Stage: 3D Sphere + Reticle + Draggable Deal Desk */
.hero-stage {
  position: relative;
  min-height: 570px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.sphere-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 600px;
  height: 600px;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
}

.sphere-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: contrast(1.04) brightness(1.02);
  will-change: transform;
  animation: bsFloatSphere 11s ease-in-out infinite;
}

@keyframes bsFloatSphere {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-9px) rotate(1.6deg); }
}

.reticle-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.stage-telemetry {
  position: absolute;
  top: 8px;
  inset-inline: 8px;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  pointer-events: none;
  z-index: 2;
  direction: ltr;
}

.rt-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(14, 17, 22, 0.22);
  border-style: solid;
  pointer-events: none;
  z-index: 2;
}

.rt-tl { top: 28px; left: 8px; border-width: 1px 0 0 1px; }
.rt-tr { top: 28px; right: 8px; border-width: 1px 1px 0 0; }
.rt-bl { bottom: 10px; left: 8px; border-width: 0 0 1px 1px; }
.rt-br { bottom: 10px; right: 8px; border-width: 0 1px 1px 0; }

/* Ambient Drifting Pills over Sphere */
.drift-blk {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 9px;
  background: rgba(250, 250, 251, 0.9);
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px rgba(14, 17, 22, 0.08);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-2);
  z-index: 2;
  pointer-events: none;
}

.drift-blk i {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  display: inline-block;
}

.drift-1 { top: 22%; right: 8%; animation: bsBob 6.5s ease-in-out infinite; }
.drift-1 i { background: var(--mint); }
.drift-2 { bottom: 26%; right: 6%; animation: bsBob 7.4s ease-in-out infinite 1.2s; }
.drift-2 i { background: var(--accent); }

@keyframes bsBob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

/* Interactive Demo: Chips + Deal Desk App Mockup */
.demo-wrap {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 162px 344px;
  gap: 16px;
  align-items: center;
}

.chips-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blk-chip {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 13px;
  background: var(--block);
  border: 1px solid rgba(14, 17, 22, 0.11);
  box-shadow: 0 12px 28px rgba(14, 17, 22, 0.11);
  cursor: grab;
  text-align: start;
  transition: transform 0.24s var(--ease), border-color 0.24s ease, box-shadow 0.24s ease, opacity 0.25s ease;
}

.blk-chip:hover:not(.is-placed) {
  transform: translateY(-3px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 16px 32px rgba(46, 91, 255, 0.18);
}

.blk-chip:active {
  cursor: grabbing;
}

.blk-chip.is-placed {
  background: rgba(250, 250, 251, 0.42);
  border: 1.5px dashed rgba(46, 91, 255, 0.34);
  box-shadow: none;
  opacity: 0.65;
  cursor: pointer;
}

.chip-ico {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
}

.ico-chart { background: var(--accent); }
.ico-form { background: var(--mint-deep); }
.ico-table { background: var(--fg); }
.ico-btn { background: var(--accent); }

.chip-txt strong {
  display: block;
  font-size: 0.84rem;
  line-height: 1.25;
  color: var(--fg);
}

.chip-txt small {
  display: block;
  font-size: 0.7rem;
  color: var(--ink-3);
}

.chip-grip {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--ink-3);
  letter-spacing: -1px;
}

/* Deal Desk App Window (.mock) */
.mock-shell {
  position: relative;
}

.mock-remain {
  position: absolute;
  top: -36px;
  inset-inline-end: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--block);
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-2);
  box-shadow: 0 8px 18px rgba(14, 17, 22, 0.08);
}

.mock-remain .dot {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--accent);
}

.mock-remain.is-live .dot {
  border-radius: 999px;
  background: var(--mint);
}

.mock {
  border-radius: 18px;
  background: var(--block);
  border: 1px solid rgba(14, 17, 22, 0.12);
  box-shadow: 0 26px 64px -12px rgba(14, 17, 22, 0.22);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.mock.is-drag-over {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(46, 91, 255, 0.16), 0 26px 64px -12px rgba(14, 17, 22, 0.22);
}

.mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 14px;
  background: #F2F4F7;
  border-bottom: 1px solid var(--line);
}

.mock-dots {
  display: inline-flex;
  gap: 5px;
}

.mock-dots span {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: rgba(14, 17, 22, 0.18);
}

.mock-url {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-3);
  direction: ltr;
}

.mock-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--ink-2);
}

.mock-status .s-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--ink-3);
}

.mock-status.is-live {
  border-color: rgba(46, 216, 167, 0.55);
  background: rgba(46, 216, 167, 0.12);
  color: var(--mint-deep);
}

.mock-status.is-live .s-dot {
  background: var(--mint);
  box-shadow: 0 0 8px var(--mint);
}

.mock-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mock-app-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mock-app-title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
}

.mock-app-title i {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  background: var(--accent);
  display: inline-block;
}

.mock-count {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-3);
  padding: 2px 7px;
  border-radius: 6px;
  border: 1px solid var(--line);
  direction: ltr;
}

/* Mockup Slots */
.slot {
  border-radius: 11px;
  border: 1.5px dashed rgba(46, 91, 255, 0.26);
  background: rgba(46, 91, 255, 0.03);
  padding: 14px 12px;
  min-height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.28s var(--ease);
}

.slot.is-filled {
  border-style: solid;
  border-color: var(--line);
  background: #ffffff;
  padding: 11px 12px;
}

.slot-empty {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--accent);
  cursor: pointer;
}

.slot-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Chart Widget inside Mockup */
.m-chart-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.m-chart-lbl {
  font-size: 0.72rem;
  color: var(--ink-2);
}

.m-chart-val {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--fg);
  direction: ltr;
}

.m-chart-val span {
  font-size: 0.72rem;
  color: var(--mint-deep);
  margin-inline-start: 4px;
}

.m-bars {
  height: 44px;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 5px;
  align-items: end;
}

.m-bars b {
  display: block;
  border-radius: 3px 3px 1px 1px;
  background: var(--accent);
  transition: height 0.4s var(--ease);
}

.m-bars b:last-child {
  background: var(--mint);
}

/* Table Widget inside Mockup */
.m-table {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.m-trow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  padding: 4px 6px;
  border-radius: 6px;
  background: #F6F7F9;
}

.m-trow strong {
  font-weight: 600;
  color: var(--fg);
}

.m-trow span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--mint-deep);
  direction: ltr;
}

/* Form & Button Widgets inside Mockup */
.m-form-mini {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.m-form-mini input {
  width: 100%;
  padding: 6px 8px;
  border-radius: 7px;
  border: 1px solid var(--line-2);
  background: #F6F7F9;
  font-size: 0.74rem;
  outline: none;
}

.m-form-mini input:focus {
  border-color: var(--accent);
  background: #ffffff;
}

.m-action-btn {
  width: 100%;
  padding: 10px 10px;
  border-radius: 9px;
  border: none;
  background: var(--accent);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s var(--ease);
}

.m-action-btn:hover {
  background: var(--accent-hi);
  transform: translateY(-1px);
}

.mock-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 14px;
  border-top: 1px solid var(--line);
  background: #F6F7F9;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-3);
}

.mock-reset {
  border: none;
  background: transparent;
  color: var(--ink-2);
  font-size: 0.74rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 2px 4px;
}

.mock-reset:hover {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   TEAMS STRIP & STATS BAND
   -------------------------------------------------------------------------- */
.teams {
  background: rgba(250, 250, 251, 0.62);
  border-block: 1px solid var(--line);
  padding: 20px 0;
}

.teams-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
}

.teams-lbl {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.teams-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
}

.team-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-2);
}

.team-item i {
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--fg);
  display: inline-block;
}

.team-item:nth-child(even) i {
  background: var(--accent);
}

.stats {
  padding: 46px 0 36px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-box {
  padding-inline-start: 18px;
  border-inline-start: 2.5px solid var(--accent);
}

.stat-box:nth-child(even) {
  border-inline-start-color: var(--fg);
}

.stat-num {
  font-size: clamp(1.85rem, 3.1vw, 2.65rem);
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  color: var(--fg);
  direction: ltr;
  text-align: right;
}

.stat-cap {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   SHARED SECTION HEADERS
   -------------------------------------------------------------------------- */
.sec {
  padding: 96px 0;
}

.sec-tint {
  background: var(--sec-tint);
  border-block: 1px solid var(--line);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.sec-title {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.9vw, 3.25rem);
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0;
  color: var(--fg);
}

.sec-lead {
  margin: 0;
  max-width: 54ch;
  font-size: 1.02rem;
  color: var(--ink-2);
}

.sec-head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 36px;
}

/* --------------------------------------------------------------------------
   SECTION: WHAT YOU CAN BUILD (#build — Accordion + Sticky Live Stage)
   -------------------------------------------------------------------------- */
.build-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 32px;
  align-items: start;
}

.build-tabs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btab {
  position: relative;
  border-radius: 18px;
  background: rgba(250, 250, 251, 0.56);
  border: 1px solid var(--line);
  padding: 20px 22px;
  cursor: pointer;
  overflow: hidden;
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.btab.is-active {
  background: var(--block);
  border-color: rgba(46, 91, 255, 0.35);
  box-shadow: 0 16px 38px -12px rgba(14, 17, 22, 0.12);
}

.btab-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btab-num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--accent);
  font-weight: 600;
}

.btab-head h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 700;
}

.btab-collapse {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.36s var(--ease);
}

.btab.is-active .btab-collapse {
  grid-template-rows: 1fr;
}

.btab-inner {
  overflow: hidden;
}

.btab-desc {
  margin: 12px 0 14px;
  font-size: 0.92rem;
  color: var(--ink-2);
}

.btab-bullets {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 0.88rem;
  color: var(--fg);
}

.btab-bullets li::before {
  content: '✓';
  color: var(--mint-deep);
  font-weight: 700;
  margin-inline-end: 8px;
}

.btab-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.btab-chips span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--blue-t);
  color: var(--accent);
}

.btab-bar {
  position: absolute;
  bottom: 0;
  inset-inline: 0;
  height: 3px;
  background: rgba(14, 17, 22, 0.05);
}

.btab-bar i {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--accent);
}

.btab.is-active .btab-bar i {
  animation: bsTabProg 7.2s linear forwards;
}

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

/* Sticky Right Preview Stage */
.panels-stage {
  position: sticky;
  top: 96px;
  min-height: 490px;
  border-radius: 26px;
  background:
    linear-gradient(to right, rgba(14, 17, 22, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(14, 17, 22, 0.04) 1px, transparent 1px),
    #DFE3EA;
  background-size: 32px 32px;
  border: 1px solid var(--line);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.panel-view {
  display: none;
  width: 100%;
  animation: bsPanelIn 0.35s var(--ease);
}

.panel-view.is-active {
  display: block;
}

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

.ui-window {
  background: var(--block);
  border-radius: 18px;
  border: 1px solid rgba(14, 17, 22, 0.11);
  box-shadow: 0 24px 50px -14px rgba(14, 17, 22, 0.2);
  overflow: hidden;
}

.ui-win-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 16px;
  background: #F1F3F6;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-2);
}

.ui-ops-grid {
  display: grid;
  grid-template-columns: 120px 1fr;
  min-height: 360px;
}

.ui-sidebar {
  background: #F6F7F9;
  border-inline-end: 1px solid var(--line);
  padding: 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.78rem;
}

.ui-sidebar span {
  padding: 6px 9px;
  border-radius: 7px;
  color: var(--ink-2);
}

.ui-sidebar span.is-cur {
  background: var(--accent);
  color: #ffffff;
  font-weight: 600;
}

.ui-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ui-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.ui-kpi {
  padding: 10px 12px;
  border-radius: 10px;
  background: #F6F7F9;
  border: 1px solid var(--line);
}

.ui-kpi small {
  display: block;
  font-size: 0.7rem;
  color: var(--ink-3);
}

.ui-kpi strong {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--fg);
}

.ui-kpi.is-mint strong {
  color: var(--mint-deep);
}

.ui-orders {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ui-ord {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 11px;
  border-radius: 9px;
  background: #ffffff;
  border: 1px solid var(--line);
  font-size: 0.8rem;
}

.ui-pill-ok {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(46, 216, 167, 0.16);
  color: var(--mint-deep);
  font-size: 0.72rem;
  font-weight: 600;
}

.ui-pill-blue {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--blue-t);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
}

/* Portal Panel */
.portal-body {
  padding: 18px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.portal-card {
  padding: 14px;
  border-radius: 12px;
  background: #F6F7F9;
  border: 1px solid var(--line);
}

.portal-prog {
  height: 7px;
  border-radius: 999px;
  background: rgba(14, 17, 22, 0.08);
  overflow: hidden;
  margin: 8px 0 12px;
}

.portal-prog i {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
}

.chat-bubble {
  padding: 8px 10px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.chat-bubble.is-me {
  background: var(--accent);
  color: #ffffff;
  border-color: transparent;
}

/* Phone Mockup Panel */
.phone-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.phone-frame {
  width: 248px;
  border-radius: 34px;
  background: var(--fg);
  padding: 11px;
  box-shadow: 0 26px 54px -10px rgba(14, 17, 22, 0.34);
}

.phone-screen {
  border-radius: 24px;
  background: var(--block);
  padding: 14px;
  min-height: 390px;
}

.phone-notch {
  width: 78px;
  height: 16px;
  border-radius: 999px;
  background: var(--fg);
  margin: 0 auto 14px;
}

.phone-notif {
  padding: 9px 11px;
  border-radius: 11px;
  background: var(--fg);
  color: #ffffff;
  font-size: 0.74rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-notif i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mint);
  flex-shrink: 0;
}

.phone-task {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  font-size: 0.78rem;
  margin-bottom: 8px;
}

.phone-task b {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: var(--mint);
  color: #063b2b;
  display: inline-grid;
  place-items: center;
  font-size: 0.68rem;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   SECTION: TEMPLATES (#templates — Filterable 4x2 SVG Schematic Grid)
   -------------------------------------------------------------------------- */
.filter-pills {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fbtn {
  padding: 8px 17px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: rgba(250, 250, 251, 0.72);
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s var(--ease);
}

.fbtn:hover {
  border-color: var(--fg);
  color: var(--fg);
}

.fbtn[aria-pressed="true"] {
  background: var(--fg);
  border-color: var(--fg);
  color: #ffffff;
}

.tpl-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.tpl-card {
  border-radius: 18px;
  background: var(--block);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s var(--ease), border-color 0.28s ease, box-shadow 0.28s ease;
}

.tpl-card.is-hidden {
  display: none;
}

.tpl-card:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 91, 255, 0.4);
  box-shadow: 0 20px 42px -14px rgba(14, 17, 22, 0.16);
}

.tpl-thumb {
  aspect-ratio: 4 / 3;
  background: #ECEEF2;
  border-bottom: 1px solid var(--line);
  padding: 14px;
  display: grid;
  place-items: center;
}

.tpl-thumb svg {
  width: 100%;
  height: 100%;
}

.tpl-thumb .svg-lift {
  transition: transform 0.3s var(--ease);
}

.tpl-card:hover .tpl-thumb .svg-lift {
  transform: translateY(-3px);
}

.tpl-info {
  padding: 16px;
}

.tpl-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.tpl-cat {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent);
}

.tpl-blocks {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--ink-3);
}

.tpl-info h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
}

.tpl-info p {
  margin: 0;
  font-size: 0.84rem;
  color: var(--ink-2);
}

/* --------------------------------------------------------------------------
   SECTION: INTEGRATIONS (#integrations — Dark Code + 4x3 Mint Board)
   -------------------------------------------------------------------------- */
.integ-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 40px;
  align-items: center;
}

.integ-bullets {
  list-style: none;
  margin: 22px 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.94rem;
}

.integ-bullets li::before {
  content: '■';
  color: var(--mint);
  font-size: 0.72rem;
  margin-inline-end: 10px;
}

.snippet {
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--fg);
  color: #E6ECF5;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.7;
  direction: ltr;
  text-align: left;
  box-shadow: 0 20px 42px -12px rgba(14, 17, 22, 0.35);
  overflow-x: auto;
}

.snippet .k { color: #82A4FF; }
.snippet .s { color: var(--mint); }
.snippet .c { color: #7C8798; }

.integ-board {
  border-radius: 26px;
  background: var(--block);
  border: 1px solid var(--line);
  padding: 22px;
  box-shadow: 0 22px 48px -16px rgba(14, 17, 22, 0.12);
}

.board-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-2);
  direction: ltr;
}

.sync-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--mint-deep);
  font-weight: 600;
}

.sync-live i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
}

.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.itile {
  position: relative;
  padding: 16px 12px;
  border-radius: 14px;
  background: #F4F6F9;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.22s var(--ease), border-color 0.22s ease, background 0.22s ease;
}

.itile:hover {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: var(--accent);
}

.itile .led {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--mint);
  animation: bsLed 2.6s ease-in-out infinite;
}

.itile:nth-child(3n) .led { animation-delay: 0.6s; }
.itile:nth-child(4n) .led { animation-delay: 1.3s; }

@keyframes bsLed {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.75); }
}

.itile-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--fg);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
}

.itile:nth-child(odd) .itile-badge {
  background: var(--accent);
}

.itile strong {
  font-size: 0.84rem;
  color: var(--fg);
}

.itile small {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--ink-3);
}

/* --------------------------------------------------------------------------
   SECTION: PRICING (#pricing — Monthly/Annual + Cobalt Featured Card)
   -------------------------------------------------------------------------- */
.price-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 32px;
}

.price-head .sec-lead {
  margin-inline: auto;
}

.bill-toggle {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: var(--block);
  border: 1px solid var(--line);
  margin-top: 22px;
}

.bill-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--ink-2);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: all 0.22s var(--ease);
}

.bill-btn.is-active {
  background: var(--fg);
  color: #ffffff;
}

.save-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--mint);
  color: #053527;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pcard {
  border-radius: 22px;
  background: var(--block);
  border: 1px solid var(--line);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.pcard.is-featured {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 28px 60px -16px rgba(46, 91, 255, 0.55);
  transform: translateY(-6px);
}

.pcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.pcard-top h3 {
  margin: 0;
  font-size: 1.25rem;
}

.pop-badge {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--mint);
  color: #053527;
}

.pcard-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.pcard-price strong {
  font-family: var(--font-mono);
  font-size: 2.65rem;
  line-height: 1;
  direction: ltr;
}

.pcard-price span {
  font-size: 0.86rem;
  opacity: 0.72;
}

.pcard-desc {
  margin: 0 0 22px;
  font-size: 0.9rem;
  opacity: 0.8;
}

.pcard-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.9rem;
}

.pcard.is-featured .pcard-list {
  border-top-color: rgba(255, 255, 255, 0.22);
}

.pcard-list li::before {
  content: '✓';
  color: var(--mint-deep);
  font-weight: 700;
  margin-inline-end: 8px;
}

.pcard.is-featured .pcard-list li::before {
  color: var(--mint);
}

.pcard-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--fg);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.22s var(--ease), background 0.22s ease;
}

.pcard-cta:hover {
  transform: translateY(-1px);
  background: var(--accent);
}

.pcard.is-featured .pcard-cta {
  background: #ffffff;
  color: var(--fg);
}

.pcard.is-featured .pcard-cta:hover {
  background: var(--mint);
  color: #053527;
}

.price-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.price-note a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   CTA BANNER (#start — Electric Cobalt Card + Pulsing Grid)
   -------------------------------------------------------------------------- */
.cta-card {
  position: relative;
  border-radius: 28px;
  background: var(--accent);
  color: #ffffff;
  padding: clamp(36px, 5vw, 64px);
  overflow: hidden;
  box-shadow: 0 32px 70px -20px rgba(46, 91, 255, 0.52);
}

.cta-blocks {
  position: absolute;
  inset-block: 0;
  inset-inline-end: 0;
  width: 52%;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 8px;
  padding: 16px;
  pointer-events: none;
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.85), transparent);
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 0.85), transparent);
}

.cta-blocks i {
  display: block;
  aspect-ratio: 1;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.14);
}

.cta-blocks i.is-mint {
  background: rgba(46, 216, 167, 0.45);
}

.cta-inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
}

.cta-inner h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.16;
  color: #ffffff;
}

.cta-inner h2 em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--mint);
}

.cta-inner p {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1rem;
}

.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  transition: border-color 0.22s ease, box-shadow 0.22s ease;
}

.cta-form.is-error {
  border-color: #FF8E72;
  box-shadow: 0 0 0 3px rgba(255, 142, 114, 0.28);
}

.cta-form.is-ok {
  border-color: var(--mint);
  box-shadow: 0 0 0 3px rgba(46, 216, 167, 0.3);
}

.cta-form input {
  flex: 1;
  min-width: 200px;
  background: transparent;
  border: none;
  padding: 10px 18px;
  color: #ffffff;
  outline: none;
  font-size: 0.94rem;
}

.cta-form input::placeholder {
  color: rgba(255, 255, 255, 0.72);
}

.cta-form button {
  padding: 12px 24px;
  border-radius: 999px;
  border: none;
  background: var(--fg);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  transition: background 0.22s ease, transform 0.22s var(--ease);
}

.cta-form button:hover {
  background: var(--mint);
  color: #053527;
  transform: translateY(-1px);
}

.cta-msg {
  margin: 12px 8px 0;
  min-height: 22px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.foot {
  border-top: 1px solid var(--line);
  padding: 60px 0 32px;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.6fr;
  gap: 44px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.foot-desc {
  margin: 14px 0 0;
  max-width: 34ch;
  font-size: 0.9rem;
  color: var(--ink-2);
}

.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.foot-cols h4 {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.foot-cols ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.foot-cols a {
  font-size: 0.9rem;
  color: var(--ink-2);
  transition: color 0.2s ease;
}

.foot-cols a:hover {
  color: var(--accent);
}

.foot-legal {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--ink-2);
}

.sys-ok {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.ok-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--mint);
  box-shadow: 0 0 10px var(--mint);
}

/* --------------------------------------------------------------------------
   Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .demo-wrap {
    transform: scale(0.84);
    transform-origin: left center;
  }

  .build-grid,
  .integ-grid {
    grid-template-columns: 1fr;
  }

  .panels-stage {
    position: static;
  }

  .tpl-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .price-grid {
    grid-template-columns: 1fr;
  }

  .pcard.is-featured {
    transform: none;
  }
}

@media (max-width: 760px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-stage {
    justify-content: center;
    min-height: 480px;
    margin-top: 12px;
  }

  .nav-links,
  .brand-en {
    display: none;
  }

  .nav-pill {
    grid-template-columns: auto auto;
  }

  .hero {
    align-items: flex-start;
    padding: 108px 0 40px;
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .demo-wrap {
    transform: none;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 356px;
  }

  .chips-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .mock-remain {
    position: static;
    margin-bottom: 10px;
  }

  .sphere-wrap {
    width: 340px;
    height: 340px;
  }

  .drift-blk,
  .stage-telemetry,
  .rt-corner {
    display: none;
  }

  .stats-grid,
  .tile-grid,
  .tpl-grid,
  .foot-grid,
  .foot-cols,
  .ui-ops-grid,
  .portal-body {
    grid-template-columns: 1fr;
  }

  .tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-form {
    border-radius: 18px;
  }

  .cta-form button {
    width: 100%;
  }
}
