/* ==========================================================================
   AIM™ AI Management — Design System & Responsive Styles
   ========================================================================== */
:root {
  --bg-deep: #030814;
  --bg-navy: #08142b;
  --bg-elevated: rgba(11, 25, 54, 0.78);
  --bg-glass: rgba(10, 23, 50, 0.62);
  --bg-glass-hover: rgba(18, 42, 86, 0.82);

  --cyan: #25ccf7;
  --cyan-bright: #74ebff;
  --cyan-dim: rgba(37, 204, 247, 0.14);
  --wa-green: #25d366;
  --amber: #f5b942;
  --amber-dim: rgba(245, 185, 66, 0.14);

  --text-main: #f4f8ff;
  --text-secondary: #c8d8ee;
  --text-muted: #93a9c8;
  --text-on-cyan: #031a26;

  --border-glass: rgba(116, 235, 255, 0.16);
  --border-strong: rgba(116, 235, 255, 0.48);
  --ring-focus: #74ebff;

  --font-display: 'Space Grotesk', 'Noto Sans SC', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --font-body: 'DM Sans', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-glow: 0 18px 48px rgba(4, 12, 28, 0.55), 0 0 36px rgba(59, 196, 232, 0.08);
  --header-h: 64px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-deep);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: clip;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--ring-focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 999;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--cyan-bright);
  color: var(--text-on-cyan);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus {
  left: 16px;
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Scroll Telemetry Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 200;
  background: rgba(116, 235, 255, 0.08);
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0ea5e9, var(--cyan-bright));
  box-shadow: 0 0 10px var(--cyan-bright);
  transition: width 0.08s linear;
}

/* Ambient Background */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(14, 72, 146, 0.45), transparent 65%),
    radial-gradient(circle at 85% 20%, rgba(37, 204, 247, 0.12), transparent 45%),
    var(--bg-deep);
}

#neural-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.65;
}

.horizon-glow {
  position: absolute;
  left: 50%;
  top: 52%;
  transform: translateX(-50%);
  width: 120vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(116, 235, 255, 0.28), transparent);
  box-shadow: 0 0 40px 2px rgba(37, 204, 247, 0.16);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.34;
}

.orb-1 {
  width: 520px;
  height: 520px;
  top: -140px;
  right: -120px;
  background: radial-gradient(circle, rgba(59, 196, 232, 0.45), transparent 70%);
}

.orb-2 {
  width: 460px;
  height: 460px;
  bottom: 10%;
  left: -160px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.35), transparent 70%);
}

.grid-mesh {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(111, 216, 242, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(111, 216, 242, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, transparent 90%);
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 20px;
}

.section {
  padding-block: 72px;
  position: relative;
}

/* Glass Surface & Tech HUD Reticle */
.glass-panel {
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-glow), inset 0 1px 0 rgba(116, 235, 255, 0.08);
}

.hud-panel {
  position: relative;
}

.hud-panel::before,
.hud-panel::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  pointer-events: none;
  border-color: var(--cyan-bright);
  opacity: 0.8;
}

.hud-panel::before {
  top: -1px;
  left: -1px;
  border-top: 2px solid;
  border-left: 2px solid;
  border-top-left-radius: var(--radius-lg);
}

.hud-panel::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 2px solid;
  border-right: 2px solid;
  border-bottom-right-radius: var(--radius-lg);
}

.hud-telemetry-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  padding: 6px 10px;
  margin-bottom: 12px;
  border-radius: 10px;
  background: rgba(3, 8, 20, 0.72);
  border: 1px solid rgba(116, 235, 255, 0.14);
}

.mono-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.mono-tag.status-ok {
  color: var(--wa-green);
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  top: 0;
  z-index: 2;
  background: linear-gradient(90deg, transparent, rgba(116, 235, 255, 0.85), transparent);
  box-shadow: 0 0 16px rgba(116, 235, 255, 0.7);
  opacity: 0.55;
  pointer-events: none;
  animation: hudScan 5.5s ease-in-out infinite;
}

@keyframes hudScan {
  0%, 100% { top: 4%; opacity: 0.25; }
  50% { top: 88%; opacity: 0.68; }
}

/* Typography & Section Headers */
.kicker,
.kicker-sm {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-bright);
  margin-bottom: 12px;
}

.kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--cyan-bright);
}

.section-head {
  max-width: 780px;
  margin-bottom: 36px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.section-sub {
  margin-top: 14px;
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--text-secondary);
  line-height: 1.7;
}

.text-gradient {
  background: linear-gradient(120deg, #ffffff 0%, var(--cyan-bright) 52%, #72e8d4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons & Pills */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}

.btn-sm {
  min-height: 44px;
  padding: 9px 16px;
  font-size: 14px;
  border-radius: 12px;
}

.btn-lg {
  min-height: 52px;
  padding: 14px 28px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--cyan-bright) 100%);
  color: var(--text-on-cyan);
  box-shadow: 0 8px 24px rgba(59, 196, 232, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(59, 196, 232, 0.42);
}

.btn-ghost {
  border: 1.5px solid var(--border-strong);
  color: var(--cyan-bright);
  background: rgba(59, 196, 232, 0.06);
}

.btn-ghost:hover {
  background: rgba(59, 196, 232, 0.16);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--border-strong);
  color: var(--cyan-bright);
  background: rgba(255, 255, 255, 0.03);
}

.btn-outline:hover {
  background: var(--cyan-dim);
}

.link-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  color: var(--cyan-bright);
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.link-pill:hover {
  background: var(--cyan);
  color: var(--text-on-cyan);
  transform: translateY(-1px);
}

.cta-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 26px;
}

.cta-row .btn-lg {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 46px;
  padding: 10px 11px;
  font-size: 13px;
  gap: 6px;
}

.cta-row .btn-lg .icon {
  width: 15px;
  height: 15px;
}

.cta-row.compact {
  margin-top: 22px;
}

.cta-row.center {
  justify-content: center;
}

/* Sticky Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  height: var(--header-h);
  background: rgba(5, 13, 29, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(148, 197, 235, 0.12);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.brand {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: 0;
  overflow: hidden;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid rgba(116, 235, 255, 0.38);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 16.5px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-full {
  display: none;
}

.brand-sep {
  color: var(--cyan-bright);
}

.brand-sub {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.brand-sub-full {
  display: none;
}

.brand-sub-short {
  display: block;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 22px;
}

.nav-desktop a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 4px;
  transition: color 0.18s ease;
}

.nav-desktop a:hover {
  color: var(--cyan-bright);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: rgba(10, 23, 50, 0.86);
  border: 1px solid rgba(116, 235, 255, 0.22);
}

.lang-btn {
  min-width: 40px;
  min-height: 34px;
  padding: 0 10px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.lang-btn.active {
  background: var(--cyan);
  color: var(--text-on-cyan);
}

.header-wa {
  display: none;
}

.menu-toggle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  border: 1px solid rgba(116, 235, 255, 0.24);
  background: rgba(10, 23, 50, 0.82);
  color: var(--cyan-bright);
}

.menu-toggle .menu-icon-close {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon-open {
  display: none;
}

.menu-toggle[aria-expanded="true"] .menu-icon-close {
  display: block;
}

.nav-mobile {
  position: absolute;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: rgba(4, 11, 26, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-strong);
  padding-block: 14px 20px;
  z-index: 119;
  box-shadow: 0 22px 46px rgba(0, 0, 0, 0.65);
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-nav-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border-glass);
}

.mobile-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.mobile-nav-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 12px;
  border-radius: 12px;
  background: rgba(15, 34, 72, 0.52);
  border: 1px solid var(--border-glass);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.mobile-nav-grid a:hover {
  background: rgba(37, 204, 247, 0.14);
  border-color: var(--border-strong);
  color: var(--cyan-bright);
}

.mobile-wa {
  margin-top: 2px;
}

/* ============ HERO ============ */
.hero {
  padding-top: 44px;
  padding-bottom: 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  background: rgba(59, 196, 232, 0.1);
  border: 1px solid rgba(111, 216, 242, 0.3);
  color: var(--cyan-bright);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wa-green);
  box-shadow: 0 0 0 4px rgba(37, 211, 102, 0.22);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.25); opacity: 0.7; }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.025em;
}

.hero-lead {
  margin-top: 20px;
  font-size: clamp(15.5px, 1.45vw, 18.5px);
  color: var(--text-secondary);
  max-width: 610px;
  line-height: 1.72;
}

.hero-metrics {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid var(--border-glass);
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.metric-divider {
  display: none;
}

.metric-val {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--cyan-bright);
  font-variant-numeric: tabular-nums;
}

.metric-lbl {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Hero Interactive Stage */
.stage-card {
  padding: 18px;
}

.stage-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.stage-tabs {
  display: inline-flex;
  gap: 6px;
  background: rgba(5, 13, 29, 0.55);
  padding: 4px;
  border-radius: 12px;
  border: 1px solid var(--border-glass);
}

.stage-tab {
  min-height: 38px;
  padding: 6px 14px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-secondary);
  transition: background-color 0.18s ease, color 0.18s ease;
}

.stage-tab.active {
  background: var(--cyan);
  color: var(--text-on-cyan);
}

.stage-chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan-bright);
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(59, 196, 232, 0.1);
}

.visual-frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
  background: #061224;
}

.stage-hero-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  cursor: zoom-in;
  transition: transform 0.35s ease;
}

.visual-frame:hover .stage-hero-img {
  transform: scale(1.02);
}

.visual-caption-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(5, 13, 29, 0.9);
  border-top: 1px solid var(--border-glass);
}

.mini-avatar {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  flex-shrink: 0;
}

.visual-caption-bar strong {
  display: block;
  font-size: 13.5px;
  color: var(--text-main);
}

.visual-caption-bar span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

/* AI Simulator Pane */
.sim-box {
  border-radius: var(--radius-md);
  background: rgba(5, 13, 29, 0.86);
  border: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  min-height: 410px;
}

.sim-top {
  padding: 12px 14px;
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sim-agent {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sim-agent img {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  object-fit: cover;
}

.sim-name {
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-status {
  font-size: 12px;
  color: var(--wa-green);
  transition: color 0.18s ease;
}

.sim-status.is-thinking {
  color: var(--cyan-bright);
}

.sim-reset-btn {
  min-height: 36px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-glass);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.sim-reset-btn:hover {
  border-color: var(--border-strong);
  color: var(--cyan-bright);
}

.msg-enter {
  animation: msgPop 0.22s ease-out;
}

@keyframes msgPop {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.msg-typing {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.typing-dots {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.typing-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-bright);
  animation: typingBounce 1s infinite ease-in-out;
}

.typing-dots span:nth-child(2) {
  animation-delay: 0.16s;
}

.typing-dots span:nth-child(3) {
  animation-delay: 0.32s;
}

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.4; }
  40% { transform: scale(1.15); opacity: 1; }
}

.typing-label {
  font-size: 12px;
  color: var(--text-muted);
}

.stream-caret {
  display: inline-block;
  width: 2px;
  height: 1em;
  margin-left: 3px;
  vertical-align: -2px;
  background: var(--cyan-bright);
  animation: caretBlink 0.75s step-end infinite;
}

@keyframes caretBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.demo-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: rgba(59, 196, 232, 0.16);
  border: 1px solid rgba(111, 216, 242, 0.35);
  color: var(--cyan-bright);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.sim-messages {
  flex: 1;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 260px;
  overflow-y: auto;
}

.msg {
  max-width: 88%;
  padding: 10px 13px;
  border-radius: 13px;
  font-size: 13.5px;
  line-height: 1.55;
}

.msg-bot {
  align-self: flex-start;
  background: rgba(20, 44, 92, 0.78);
  border: 1px solid rgba(111, 216, 242, 0.22);
  color: var(--text-main);
}

.msg-user {
  align-self: flex-end;
  background: rgba(37, 211, 102, 0.16);
  border: 1px solid rgba(37, 211, 102, 0.38);
  color: #eafff2;
}

.msg-meta {
  display: block;
  margin-top: 5px;
  font-size: 11px;
  color: var(--cyan-bright);
  font-weight: 600;
}

.sim-prompts {
  padding: 12px 14px;
  border-top: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sim-chip {
  width: 100%;
  min-height: 40px;
  text-align: left;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(59, 196, 232, 0.08);
  border: 1px solid rgba(111, 216, 242, 0.22);
  font-size: 13px;
  font-weight: 600;
  color: var(--cyan-bright);
  transition: background-color 0.16s ease, border-color 0.16s ease;
}

.sim-chip:hover {
  background: rgba(59, 196, 232, 0.2);
  border-color: var(--cyan-bright);
}

/* ============ ABOUT & 4 PILLARS ============ */
.about-bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.leader-panel {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.leader-visual img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  cursor: zoom-in;
}

.mini-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--cyan-dim);
  color: var(--cyan-bright);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 10px;
}

.leader-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.leader-info p {
  color: var(--text-secondary);
  font-size: 14.5px;
}

.leader-links {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.city-pill {
  font-size: 13px;
  color: var(--text-muted);
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
}

.pillars-panel {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.pillars-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
}

.pillars-top h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  margin-bottom: 6px;
}

.pillars-lead {
  font-size: 14.5px;
  color: var(--text-secondary);
}

.pillars-thumb {
  width: 108px;
  height: 108px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--border-strong);
  flex-shrink: 0;
  cursor: zoom-in;
  display: none;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.pillar-card {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(5, 13, 29, 0.56);
  border: 1px solid var(--border-glass);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.pillar-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.pillar-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--cyan-dim);
  color: var(--cyan-bright);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.pillar-icon svg {
  width: 20px;
  height: 20px;
}

.pillar-card h4 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}

.pillar-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.58;
}

/* ============ PAIN POINTS ============ */
.pain-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: stretch;
}

.pain-visual-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pain-visual-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  cursor: zoom-in;
}

.pain-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pain-tags span {
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-secondary);
}

.pain-data-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.chart-card {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.chart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.chart-head h3 {
  font-size: 18px;
  font-weight: 700;
}

.chart-badge {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: var(--cyan-dim);
  color: var(--cyan-bright);
}

.bar-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bar-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.bar-meta strong {
  font-family: var(--font-display);
  color: var(--text-main);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.bar-meta strong.accent-txt {
  color: var(--wa-green);
}

.bar-track {
  height: 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: var(--w, 50%);
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, #2185c5, var(--cyan-bright));
}

.bar-fill.warn {
  background: linear-gradient(90deg, #d97706, #f5b942);
}

.bar-fill.highlight {
  background: linear-gradient(90deg, var(--wa-green), var(--cyan-bright));
}

.data-sources {
  margin-top: auto;
  padding-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
}

.pain-mini-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.mini-stat {
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.mini-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--cyan-dim);
  color: var(--cyan-bright);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mini-stat-icon svg {
  width: 22px;
  height: 22px;
}

.mini-stat-v {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--cyan-bright);
  line-height: 1.1;
}

.mini-stat-l {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 3px;
}

/* ============ 7-STEP LOOP EXPLORER ============ */
.loop-shell {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.loop-steps {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 10px;
  padding-bottom: 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.loop-steps::-webkit-scrollbar {
  display: none;
}

.loop-btn {
  flex: 0 0 auto;
  min-width: 148px;
  max-width: 176px;
  scroll-snap-align: center;
  text-align: left;
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: rgba(5, 13, 29, 0.62);
  border: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 74px;
  transition: border-color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.loop-btn:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.loop-btn.active {
  background: linear-gradient(155deg, rgba(37, 204, 247, 0.24), rgba(14, 33, 72, 0.92));
  border-color: var(--cyan-bright);
  box-shadow: 0 0 22px rgba(37, 204, 247, 0.22);
}

.loop-num {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--cyan-bright);
}

.loop-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.loop-brief {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.35;
}

.loop-detail {
  padding: 15px;
  border-radius: var(--radius-md);
  background: rgba(5, 13, 29, 0.78);
  border: 1px solid rgba(116, 235, 255, 0.28);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.loop-detail-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--cyan-bright);
  margin-bottom: 6px;
}

.loop-detail-main h3 {
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 700;
  margin-bottom: 8px;
}

.loop-detail-main p {
  font-size: 14.5px;
  color: var(--text-secondary);
}

.loop-detail-flow {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}

.flow-pill {
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
}

.fp-lbl {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--cyan-bright);
  text-transform: uppercase;
}

.fp-val {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
}

.flow-sep {
  color: var(--cyan-bright);
  font-weight: 700;
  align-self: center;
  transform: rotate(90deg);
  line-height: 1;
}

.loop-proof-btn {
  margin-top: 4px;
  width: 100%;
}

.loop-mobile-controls {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border-glass);
}

.loop-nav-btn {
  min-height: 44px;
  padding: 8px 12px;
  border-radius: 11px;
  background: rgba(37, 204, 247, 0.1);
  border: 1px solid rgba(116, 235, 255, 0.3);
  color: var(--cyan-bright);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: background-color 0.18s ease;
}

.loop-nav-btn .icon {
  width: 15px;
  height: 15px;
}

.loop-nav-btn:hover {
  background: rgba(37, 204, 247, 0.22);
}

.loop-counter {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-secondary);
  text-align: center;
  white-space: nowrap;
}

.loop-signature {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(59, 196, 232, 0.18), rgba(14, 33, 72, 0.75));
  border: 1.5px solid var(--cyan);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  justify-content: space-between;
}

.sig-left {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex-wrap: wrap;
}

.sig-badge {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--cyan);
  color: var(--text-on-cyan);
  font-size: 12px;
  font-weight: 800;
}

.sig-left strong {
  display: block;
  font-family: var(--font-display);
  font-size: 18px;
}

.sig-left p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-top: 2px;
}

/* ============ DEMOS & CASES ============ */
.demo-featured {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.demo-featured-info h3 {
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  margin-bottom: 10px;
}

.demo-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--text-secondary);
}

.check-list .icon {
  color: var(--cyan-bright);
  margin-top: 3px;
}

.video-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.video-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(5, 13, 29, 0.72);
  border: 1px solid var(--border-glass);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.video-card:hover {
  transform: translateY(-3px);
  border-color: var(--cyan-bright);
}

.video-thumb {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #081529;
  overflow: hidden;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-thumb-custom {
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 30%, rgba(59, 196, 232, 0.22), #071327 75%);
}

.custom-poster {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--cyan-bright);
}

.poster-icon {
  width: 42px;
  height: 42px;
  opacity: 0.7;
}

.poster-flow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  opacity: 0.85;
}

.play-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(59, 196, 232, 0.92);
  color: var(--text-on-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease;
}

.play-circle svg {
  width: 20px;
  height: 20px;
}

.video-card:hover .play-circle {
  transform: translate(-50%, -50%) scale(1.1);
}

.video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(5, 13, 29, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 11px;
  font-weight: 700;
}

.video-meta {
  padding: 14px;
}

.video-meta h4 {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.video-meta p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Proof Cards */
.proof-pair {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

.proof-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.proof-img-wrap {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-strong);
  background: #061022;
  aspect-ratio: 16 / 9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.proof-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: zoom-in;
}

.zoom-pill {
  position: absolute;
  right: 10px;
  bottom: 10px;
  min-height: 36px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: rgba(5, 13, 29, 0.88);
  border: 1px solid var(--border-strong);
  color: var(--cyan-bright);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}

.proof-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--wa-green);
  margin-bottom: 6px;
}

.proof-body h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 8px;
}

.proof-body p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.proof-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* 3 Custom Systems */
.systems-block {
  margin-bottom: 24px;
}

.sub-head {
  margin-bottom: 16px;
}

.sub-head h3 {
  font-size: 20px;
  font-weight: 700;
}

.sub-head p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.systems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.sys-card {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sys-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sys-num {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--cyan-bright);
}

.sys-card h4 {
  font-size: 17.5px;
  font-weight: 700;
}

.sys-card p {
  font-size: 14px;
  color: var(--text-secondary);
  flex: 1;
}

.sys-card .link-pill {
  align-self: flex-start;
}

/* RM99 Landing Page Spotlight */
.lp-spotlight {
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: center;
  border-color: rgba(245, 185, 66, 0.28);
}

.lp-visual img {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px solid rgba(245, 185, 66, 0.35);
  cursor: zoom-in;
}

.amber-pill {
  display: inline-block;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--amber-dim);
  border: 1px solid rgba(245, 185, 66, 0.38);
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.lp-content h3 {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 700;
  margin-bottom: 10px;
}

.lp-content p {
  font-size: 14.5px;
  color: var(--text-secondary);
}

.lp-note {
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(245, 185, 66, 0.08);
  border: 1px solid rgba(245, 185, 66, 0.24);
  font-size: 13px;
  color: #f9dfb0;
  line-height: 1.55;
}

.lp-creatives {
  margin-top: 18px;
}

.creatives-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 10px;
}

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

.creative-thumb {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  padding: 6px;
  border-radius: 12px;
  background: rgba(5, 13, 29, 0.65);
  border: 1px solid var(--border-glass);
  transition: border-color 0.18s ease, transform 0.18s ease;
}

.creative-thumb:hover {
  border-color: var(--cyan-bright);
  transform: translateY(-2px);
}

.creative-thumb img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
}

.creative-thumb span {
  font-size: 11.5px;
  color: var(--text-secondary);
  font-weight: 600;
}

/* ============ GROWTH OS & PHILOSOPHY ============ */
.growth-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.steps-vertical {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.v-step {
  padding: 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.v-idx {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--cyan);
  color: var(--text-on-cyan);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.v-step h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 4px;
}

.v-step p {
  font-size: 14px;
  color: var(--text-secondary);
}

.quote-box {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 3px solid var(--cyan-bright);
  font-size: 14.5px;
  color: var(--text-main);
  line-height: 1.65;
}

.philosophy-card {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.philosophy-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  cursor: zoom-in;
}

.phil-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.phil-pill {
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(59, 196, 232, 0.1);
  border: 1px solid rgba(111, 216, 242, 0.24);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  color: var(--cyan-bright);
}

/* ============ WORKFLOW MATRIX (MANUAL VS AI) ============ */
.matrix-shell {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.matrix-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.matrix-tab {
  min-height: 46px;
  padding: 10px 14px;
  border-radius: 12px;
  background: rgba(5, 13, 29, 0.6);
  border: 1px solid var(--border-glass);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-secondary);
  text-align: center;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.matrix-tab:hover {
  border-color: var(--border-strong);
  color: var(--text-main);
}

.matrix-tab.active {
  background: linear-gradient(135deg, rgba(37, 204, 247, 0.24), rgba(14, 33, 72, 0.92));
  border-color: var(--cyan-bright);
  color: var(--cyan-bright);
  box-shadow: 0 0 18px rgba(37, 204, 247, 0.18);
}

.matrix-compare {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}

.matrix-col {
  padding: 20px;
  border-radius: var(--radius-md);
  background: rgba(5, 13, 29, 0.78);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.matrix-before {
  border: 1px solid rgba(245, 185, 66, 0.28);
}

.matrix-after {
  border: 1px solid rgba(116, 235, 255, 0.44);
  background: linear-gradient(160deg, rgba(14, 36, 76, 0.78), rgba(5, 13, 29, 0.88));
}

.matrix-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.mx-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.mx-badge.warn {
  background: var(--amber-dim);
  color: var(--amber);
  border: 1px solid rgba(245, 185, 66, 0.35);
}

.mx-badge.ok {
  background: var(--cyan-dim);
  color: var(--cyan-bright);
  border: 1px solid rgba(116, 235, 255, 0.38);
}

.mx-status {
  font-size: 12px;
  font-weight: 700;
}

.mx-status.warn {
  color: #f6ca73;
}

.mx-status.ok {
  color: var(--wa-green);
}

.mx-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mx-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.mx-step {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-muted);
  flex-shrink: 0;
  margin-top: 2px;
}

.matrix-after .mx-step {
  background: var(--cyan-dim);
  color: var(--cyan-bright);
}

.matrix-after .mx-list li {
  color: var(--text-main);
}

.matrix-divider {
  display: flex;
  align-items: center;
  justify-content: center;
}

.mx-core-node {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(37, 204, 247, 0.14);
  border: 1px solid var(--border-strong);
  color: var(--cyan-bright);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 0 20px rgba(37, 204, 247, 0.22);
}

.matrix-footer {
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: rgba(5, 13, 29, 0.65);
  border: 1px solid var(--border-glass);
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
  justify-content: space-between;
}

.mx-insight-lbl {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--cyan-bright);
  margin-bottom: 4px;
}

.matrix-insight p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ============ FAQ ============ */
.faq-container {
  max-width: 900px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  min-height: 58px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.faq-chevron {
  transition: transform 0.2s ease;
  color: var(--cyan-bright);
}

.faq-q[aria-expanded="true"] .faq-chevron {
  transform: rotate(180deg);
}

.faq-a {
  padding: 0 20px 18px;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ============ FINAL CTA & FOOTER ============ */
.cta-final-section {
  padding-top: 32px;
  padding-bottom: 84px;
}

.cta-banner {
  padding: 36px 24px;
  text-align: center;
  background: linear-gradient(145deg, rgba(16, 40, 86, 0.85), rgba(7, 17, 38, 0.92));
  border-color: var(--border-strong);
}

.cta-banner-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  margin-bottom: 22px;
}

.cta-banner-brand img {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  object-fit: cover;
}

.cta-banner-brand strong {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
}

.cta-banner-brand span {
  font-size: 12.5px;
  color: var(--text-muted);
}

.cta-banner-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 42px);
  line-height: 1.18;
  font-weight: 800;
}

.cta-banner-sub {
  margin: 14px auto 0;
  max-width: 620px;
  font-size: 15.5px;
  color: var(--text-secondary);
}

.site-footer {
  border-top: 1px solid rgba(148, 197, 235, 0.14);
  padding-block: 28px 92px;
  background: rgba(4, 10, 22, 0.85);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.credit {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-main);
}

.footer-cities {
  font-size: 12.5px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 18px;
}

.footer-links a {
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan-bright);
  padding: 6px 0;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* Floating WhatsApp Dock */
.floating-wa {
  position: fixed;
  right: 18px;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 11px 18px;
  border-radius: var(--radius-pill);
  background: var(--wa-green);
  color: #032210;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.floating-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(37, 211, 102, 0.5);
}

/* Lightbox Modal */
.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 8, 18, 0.92);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: 960px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.lb-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: calc(100% - 104px);
}

.lb-figure img {
  max-height: 78vh;
  width: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
}

.lb-figure figcaption {
  font-size: 14px;
  color: var(--text-secondary);
  text-align: center;
}

.lb-close,
.lb-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 34, 72, 0.88);
  border: 1px solid var(--border-strong);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.lb-close {
  position: fixed;
  top: 18px;
  right: 18px;
}

.lb-close svg,
.lb-nav svg {
  width: 20px;
  height: 20px;
}

/* Scroll Reveal (Progressive Enhancement) */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints (Mobile-first: 360/390/430 -> 768 -> 1024 -> 1366/1920)
   ========================================================================== */
@media (min-width: 640px) {
  :root {
    --header-h: 74px;
  }

  .header-inner {
    gap: 16px;
  }

  .brand {
    gap: 12px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 11px;
  }

  .brand-full {
    display: inline;
  }

  .brand-sub {
    font-size: 11.5px;
  }

  .brand-sub-full {
    display: block;
  }

  .brand-sub-short {
    display: none;
  }

  .lang-btn {
    min-width: 44px;
    min-height: 36px;
    padding: 0 12px;
    font-size: 13px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .cta-row {
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
  }

  .cta-row .btn-lg {
    flex: 0 0 auto;
    min-height: 52px;
    padding: 14px 28px;
    font-size: 16px;
    gap: 9px;
  }

  .cta-row .btn-lg .icon {
    width: 18px;
    height: 18px;
  }

  .hero-metrics {
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
  }

  .metric-divider {
    display: block;
    width: 1px;
    height: 38px;
    background: var(--border-glass);
  }

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

  .pillars-thumb {
    display: block;
  }

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

  .phil-points {
    grid-template-columns: repeat(3, 1fr);
  }

  .matrix-tabs {
    grid-template-columns: repeat(4, 1fr);
  }

  .matrix-footer {
    flex-direction: row;
    align-items: center;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 768px) {
  .container {
    padding-inline: 28px;
  }

  .section {
    padding-block: 86px;
  }

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

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

  .systems-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .loop-shell {
    padding: 22px;
    gap: 20px;
  }

  .loop-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: visible;
    padding-bottom: 0;
  }

  .loop-btn {
    min-width: 0;
    max-width: none;
    min-height: 88px;
    padding: 14px;
  }

  .loop-name {
    font-size: 15px;
  }

  .loop-brief {
    font-size: 12.5px;
  }

  .loop-detail {
    padding: 22px;
    gap: 18px;
  }

  .loop-detail-flow {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
  }

  .flow-sep {
    transform: none;
  }

  .loop-proof-btn {
    margin-top: 0;
    width: auto;
  }

  .loop-mobile-controls {
    display: none;
  }

  .loop-signature {
    flex-direction: row;
    align-items: center;
  }

  .section-head-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .site-footer {
    padding-bottom: 88px;
  }
}

@media (min-width: 1024px) {
  .nav-desktop {
    display: flex;
  }

  .header-wa {
    display: inline-flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    padding-top: 64px;
    padding-bottom: 84px;
  }

  .hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 44px;
  }

  .about-bento {
    grid-template-columns: 0.9fr 1.35fr;
  }

  .pain-grid {
    grid-template-columns: 0.9fr 1.25fr;
  }

  .loop-steps {
    grid-template-columns: repeat(7, 1fr);
  }

  .loop-detail {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .loop-detail-main {
    max-width: 580px;
  }

  .demo-featured {
    grid-template-columns: 1fr 1.08fr;
    align-items: center;
    padding: 32px;
  }

  .lp-spotlight {
    grid-template-columns: 0.95fr 1.25fr;
    padding: 32px;
  }

  .matrix-shell {
    padding: 28px;
  }

  .matrix-compare {
    grid-template-columns: 1fr auto 1fr;
    gap: 18px;
  }

  .growth-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
  }
}

@media (max-width: 420px) {
  .floating-wa-label {
    display: none;
  }

  .floating-wa {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
  }

  .lb-figure {
    max-width: 100%;
  }

  .lb-nav {
    position: fixed;
    bottom: 20px;
  }

  .lb-prev {
    left: 24px;
  }

  .lb-next {
    right: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .pulse-dot,
  .scan-line {
    animation: none;
  }

  .scan-line {
    display: none;
  }

  .js-ready .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}
