/* Exact landing.html demo/reveal/animation rules; logo uses approved ADK asset. */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.06s; }
.reveal.d2 { transition-delay: 0.12s; }
.reveal.d3 { transition-delay: 0.18s; }
.reveal.d4 { transition-delay: 0.24s; }
.reveal.d5 { transition-delay: 0.3s; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.45; } }
@keyframes dotPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
@keyframes badgePulseBlue {
  0%, 100% { transform: scale(1); box-shadow: var(--landing-reference-79); }
  50% { transform: scale(1.12); box-shadow: var(--landing-reference-80); }
}
@keyframes badgePulseGreen {
  0%, 100% { transform: scale(1); box-shadow: var(--landing-reference-81); }
  50% { transform: scale(1.12); box-shadow: var(--landing-reference-82); }
}
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes glowPulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@keyframes rowIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
@keyframes rowGlow { 0% { background-color: var(--landing-reference-67); } 100% { background-color: transparent; } }
@keyframes growBar { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes drawLine { from { stroke-dashoffset: 1200; } to { stroke-dashoffset: 0; } }
@keyframes kpiBump { 0% { transform: scale(1); } 40% { transform: scale(1.06); color: var(--gold-bright); } 100% { transform: scale(1); } }
@keyframes pillChange { 0% { opacity: 1; } 40% { opacity: 0.35; } 100% { opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes chatPop { from { opacity: 0; transform: translateY(20px) scale(0.96); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes captchaCheck { from { transform: scale(0) rotate(-45deg); opacity: 0; } to { transform: scale(1) rotate(0); opacity: 1; } }
@keyframes shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }

@keyframes glowGreen { 0%, 100% { box-shadow: var(--landing-reference-83); } 50% { box-shadow: var(--landing-reference-84); } }
@keyframes glowAmber { 0%, 100% { box-shadow: var(--landing-reference-85); } 50% { box-shadow: var(--landing-reference-86); } }
@keyframes glowRed { 0%, 100% { box-shadow: var(--landing-reference-87); } 50% { box-shadow: var(--landing-reference-88); } }
@keyframes glowBlue { 0%, 100% { box-shadow: var(--landing-reference-89); } 50% { box-shadow: var(--landing-reference-90); } }

/* ===== Demo ===== */
.demo-wrap {
  position: relative;
  z-index: 2;
  perspective: 2400px;
  padding: 0 4px;
}
.demo-frame {
  max-width: 1240px;
  margin: 0 auto;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--landing-reference-69);
  overflow: hidden;
  box-shadow:
    var(--landing-reference-70);
  transform: rotateX(4deg);
  transform-origin: center top;
  transition: transform 0.9s var(--ease-out);
  animation: float 8s ease-in-out infinite;
  position: relative;
}
.demo-frame:hover {
  transform: rotateX(0deg);
  animation-play-state: paused;
}
.demo-example-note {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 5;
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-3);
  background: var(--landing-reference-91);
  padding: 4px 8px;
  border-radius: var(--landing-reference-7);
  border: 1px solid var(--border);
  pointer-events: none;
}
.demo-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  background: var(--landing-reference-71);
  border-bottom: 1px solid var(--border);
}
.demo-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.demo-dot.r { background: var(--landing-reference-72); }
.demo-dot.y { background: var(--landing-reference-73); }
.demo-dot.g { background: var(--landing-reference-74); }
.demo-url {
  flex: 1;
  text-align: center;
  font-size: 11px;
  color: var(--text-3);
  font-family: 'JetBrains Mono', monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.demo-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  background: var(--landing-reference-92);
  border: 1px solid var(--green-border);
  border-radius: var(--landing-reference-33);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.demo-live-pill::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 1.6s infinite;
}

.demo-body {
  display: grid;
  grid-template-columns: 258px 1fr;
  min-height: 720px;
  background: var(--bg);
  transition: background 0.3s;
}
.demo-side {
  background: var(--landing-reference-93);
  border-right: 1px solid var(--border);
  padding: 20px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  overflow: hidden;
}
.demo-side-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 10px 20px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.demo-side-logo {
  width: 26px;
  height: 26px;
  border-radius: var(--landing-reference-94);
  background: var(--landing-reference-95);
  border: 1px solid var(--border-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  flex-shrink: 0;
}
.demo-side-logo svg { width: 14px; height: 14px; }
.demo-side-title {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}
.demo-side-title small {
  display: block;
  font-size: 8px;
  font-weight: 550;
  color: var(--text-3);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-top: 2px;
  -webkit-text-fill-color: var(--text-3);
}
.demo-side-group { padding: 0; margin-bottom: 4px; }
.demo-side-label {
  font-size: 9.5px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 12px 10px 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.demo-side-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border), transparent);
}
.demo-side-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 11px;
  border-radius: var(--landing-reference-94);
  font-size: 12px;
  font-weight: 450;
  color: var(--text-2);
  position: relative;
  margin-bottom: 1px;
}
.demo-side-item.active {
  background: var(--landing-reference-96);
  color: var(--gold-bright);
  font-weight: 500;
}
.demo-side-item.active::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 16px;
  border-radius: var(--landing-reference-97);
  background: var(--gold);
  box-shadow: var(--landing-reference-98);
}
.demo-side-icon { width: 14px; height: 14px; flex-shrink: 0; opacity: 0.9; }
.demo-side-badge {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  font-weight: 500;
  padding: 2px 6px;
  border-radius: var(--landing-reference-5);
  background: var(--landing-reference-62);
  color: var(--text-2);
  margin-left: auto;
  line-height: 1.3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.demo-side-badge.badge-static { background: var(--landing-reference-62); color: var(--text-2); animation: none; }
.demo-side-badge.badge-pulse-blue { background: var(--landing-reference-99); color: var(--blue); animation: badgePulseBlue 2.4s ease-in-out infinite; transform-origin: center; }
.demo-side-badge.badge-pulse-green { background: var(--landing-reference-100); color: var(--green); animation: badgePulseGreen 2.6s ease-in-out infinite; transform-origin: center; }

.demo-main-area { display: flex; flex-direction: column; min-width: 0; }
.demo-topbar {
  height: 56px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  background: var(--landing-reference-75);
  gap: 16px;
  flex-shrink: 0;
}
.demo-topbar-left {
  font-size: 12.5px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.demo-topbar-left span { color: var(--text); font-weight: 500; }
.demo-topbar-right { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.demo-shop-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 11px;
  border-radius: var(--landing-reference-94);
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 11.5px;
  font-weight: 550;
  color: var(--text);
  white-space: nowrap;
}
.demo-shop-selector svg { width: 12px; height: 12px; opacity: 0.6; }
.demo-shop-count { color: var(--gold); font-family: 'JetBrains Mono', monospace; margin-left: 2px; }
.demo-status-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  background: var(--green-bg);
  border: 1px solid var(--green-border);
  border-radius: var(--landing-reference-33);
  font-size: 10.5px;
  font-weight: 600;
  color: var(--green);
  white-space: nowrap;
}
.demo-status-chip::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
.demo-live-indicator {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 4px 9px;
  background: var(--red-bg);
  border: 1px solid var(--red-border);
  border-radius: var(--landing-reference-33);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.demo-live-indicator::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  animation: pulse 1.4s infinite;
}

.demo-content {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow: hidden;
  flex: 1;
  min-height: 0;
}
.demo-page-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 4px;
}
.demo-page-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.demo-page-sub { font-size: 12px; color: var(--text-2); }

.demo-kpis {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.demo-kpi {
  padding: 18px 20px;
  border-radius: var(--landing-reference-101);
  border: 1px solid var(--border);
  background: var(--landing-reference-49);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.demo-kpi-label {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
}
.demo-kpi-value {
  font-size: 22px;
  font-weight: 600;
  font-family: 'JetBrains Mono', monospace;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
  transition: transform 0.3s, color 0.3s;
}
.demo-kpi-value.gold { color: var(--gold-bright); }
.demo-kpi-value.green { color: var(--green); }
.demo-kpi-value.bump { animation: kpiBump 0.6s var(--ease-out); }
.demo-kpi-sub { font-size: 10.5px; color: var(--text-3); margin-top: 2px; }
.demo-kpi-sub .warn { color: var(--amber); }
.demo-kpi-stale {
  display: none;
  align-items: center;
  gap: 4px;
  font-size: 9.5px;
  color: var(--amber);
  margin-top: 4px;
  padding: 2px 6px;
  border-radius: var(--landing-reference-102);
  background: var(--amber-bg);
  border: 1px solid var(--amber-border);
  width: fit-content;
}
.demo-kpi-stale.show { display: inline-flex; }
.demo-kpi-stale::before { content: '⚠'; }

.demo-period-tabs { display: flex; gap: 3px; margin-top: 10px; flex-wrap: wrap; }
.demo-period-tab {
  padding: 8px 12px;
  min-height: 36px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--landing-reference-7);
  color: var(--text-3);
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: all 0.15s var(--ease);
  white-space: nowrap;
  font-family: inherit;
}
.demo-period-tab:hover { color: var(--text); border-color: var(--border-strong); }
.demo-period-tab.active {
  background: var(--landing-reference-103);
  color: var(--gold-bright);
  border-color: var(--border-gold);
}

.demo-layout-2 { display: grid; grid-template-columns: 1fr; gap: 16px; }
.demo-layout-2.two { grid-template-columns: 1.55fr 1fr; }
.demo-panel {
  padding: 18px 20px;
  border-radius: var(--landing-reference-101);
  border: 1px solid var(--border);
  background: var(--landing-reference-52);
  display: flex;
  flex-direction: column;
  min-width: 0;
}

