@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Syncopate:wght@700&display=swap');

/* --- Landing Page Styling System --- */
.landing-page {
  scroll-behavior: smooth;
  font-family: 'Inter', var(--font);
  background-color: #030712;
  color: #f3f4f6;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

/* Redefine headings on landing page to use Outfit & Syncopate */
.landing-page h1,
.landing-page h2,
.landing-page h3,
.landing-page h4,
.landing-page .brand {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.03em;
}

.landing-page {
  --glow-cyan: rgba(6, 182, 212, 0.18);
  --glow-blue: rgba(59, 130, 246, 0.18);
  --glow-purple: rgba(139, 92, 246, 0.14);
  --glow-gold: rgba(245, 166, 35, 0.18);
  --card-border: rgba(255, 255, 255, 0.05);
  --card-border-glow: rgba(245, 166, 35, 0.28);
  --glass-card: rgba(10, 15, 30, 0.45);
  --text-success: #10b981;
  --text-danger: #ef4444;
  --text-warning: #f59e0b;
}

[data-theme="light"] .landing-page {
  background-color: #f8fafc;
  color: #0f172a;
  --glow-cyan: rgba(6, 182, 212, 0.08);
  --glow-blue: rgba(59, 130, 246, 0.08);
  --glow-purple: rgba(139, 92, 246, 0.06);
  --glow-gold: rgba(245, 166, 35, 0.08);
  --card-border: rgba(15, 23, 42, 0.08);
  --card-border-glow: rgba(180, 83, 9, 0.2);
  --glass-card: rgba(255, 255, 255, 0.85);
  --text-success: #059669;
  --text-danger: #dc2626;
  --text-warning: #d97706;
}

/* --- Ambient Lights & Mesh --- */
.ambient-glow {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.7;
}

.ambient-hero-1 {
  top: -15%;
  left: 20%;
  width: 55vw;
  height: 55vh;
  background: radial-gradient(circle, var(--glow-gold) 0%, transparent 70%);
}

.ambient-hero-2 {
  top: 15%;
  right: 5%;
  width: 45vw;
  height: 45vh;
  background: radial-gradient(circle, var(--glow-blue) 0%, transparent 70%);
}

.ambient-section-1 {
  bottom: 25%;
  left: 3%;
  width: 48vw;
  height: 48vh;
  background: radial-gradient(circle, var(--glow-cyan) 0%, transparent 70%);
}

/* Tech Grid Pattern overlay */
.tech-grid-mask {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(var(--border-subtle) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 40%, transparent 100%);
  opacity: 0.8;
  z-index: 0;
}

/* Custom Scrollbar for Landing Page */
.landing-page::-webkit-scrollbar {
  width: 8px;
}
.landing-page::-webkit-scrollbar-track {
  background: transparent;
}
.landing-page::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 99px;
}
.landing-page::-webkit-scrollbar-thumb:hover {
  background: var(--gold-dark);
}

/* --- Frosted Nav --- */
.landing-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 4rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  background: var(--landing-nav-bg);
  box-shadow: var(--landing-nav-shadow);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-nav .brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text);
  text-decoration: none;
}

.hex-logo {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 900;
  color: #1a1200;
  box-shadow: 0 4px 16px var(--gold-glow);
}

.landing-nav-links {
  display: flex;
  gap: 2.25rem;
  margin-left: auto;
  margin-right: 3rem;
}

.landing-nav-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.25s ease;
  position: relative;
}

.landing-nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--gold);
  transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-nav-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.landing-nav-links a:hover::after {
  width: 100%;
}

.landing-nav-actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
}

/* Premium Buttons override */
.landing-page .btn {
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: none;
}

.landing-page .btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #1a1200;
  border: 1px solid var(--gold);
}

.landing-page .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px var(--gold-glow);
}

.landing-page .btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.landing-page .btn-ghost:hover {
  background: var(--overlay-surface);
  border-color: var(--border-accent);
}

/* --- Hero Section --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 9rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-split-wrap {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-split {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(2rem, 4vw, 5rem);
  align-items: center;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-copy .badge {
  background: var(--gold-dim);
  color: var(--gold-light);
  border: 1px solid var(--border-accent);
  padding: 0.38rem 1.15rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 1.75rem;
  border-radius: 4px;
  text-transform: uppercase;
  font-family: 'Outfit', sans-serif;
}

.hero-copy h1 {
  font-size: clamp(2.75rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1.5rem 0;
  color: var(--text);
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, var(--gold-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .hero-copy h1 {
  background: linear-gradient(135deg, #0f172a 0%, #334155 60%, var(--gold-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-copy .subtitle {
  font-size: 1.18rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2.75rem;
  max-width: 580px;
}

.hero-copy .subtitle strong {
  color: var(--gold-light);
  font-weight: 600;
}

.hero-highlights {
  list-style: none;
  padding: 0;
  margin: 0 0 3.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.hero-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.98rem;
}

.hero-highlights li::before {
  content: '✦';
  color: var(--gold-light);
  font-size: 1.1rem;
  line-height: 1.4;
  flex-shrink: 0;
}

.highlight-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.highlight-info strong {
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
}

.highlight-info .desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.hero-actions-left {
  display: flex;
  gap: 1.25rem;
  justify-content: flex-start;
}

/* English landing: headline + screenshot row, highlights band below */
.hero-en {
  min-height: auto;
  padding: 8.5rem 2rem 2.25rem;
}

.hero-en-inner {
  width: 100%;
  max-width: min(1440px, calc(100vw - 3rem));
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

.hero-en .hero-split {
  grid-template-columns: 1.1fr 1fr;
  align-items: start;
  gap: clamp(2rem, 3.5vw, 4rem);
}

.hero-en .hero-copy .subtitle {
  margin-bottom: 2.25rem;
  max-width: 540px;
}

.hero-en .hero-showcase-stack {
  align-self: start;
  transform: translateY(25%);
}

.hero-en-top-wrap,
.hero-en-highlights-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.hero-en .hero-highlights-band {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.75rem);
  width: 100%;
}

.hero-en .hero-highlights-band li {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: clamp(1.5rem, 2.5vw, 2rem) clamp(1.35rem, 2vw, 1.85rem);
  min-height: 148px;
  background: var(--glass-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  transition: border-color 0.25s, transform 0.25s;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22);
}

.hero-en .hero-highlights-band li:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}

.hero-en .hero-highlights-band li::before {
  content: none;
}

.hero-en .highlight-icon {
  color: var(--gold-light);
  font-size: 1.15rem;
  line-height: 1;
}

.hero-en .hero-highlights-band .highlight-info strong {
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.4;
}

.hero-en .hero-highlights-band .highlight-info .desc {
  font-size: clamp(0.88rem, 1.1vw, 0.95rem);
  line-height: 1.55;
}

@media (max-width: 1024px) {
  .hero-en-inner {
    max-width: 640px;
  }

  .hero-en .hero-highlights-band {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1400px) {
  .hero-en-inner {
    max-width: 1520px;
  }
}

/* --- Hero Interactive Mock Dashboard --- */
/* --- Hero Interactive Mock Dashboard --- */
.hero-showcase-stack {
  position: relative;
  width: 100%;
  perspective: 1200px;
}

/* 炫酷霓虹科技背光 */
.panel-back-glow {
  position: absolute;
  inset: 10% 5% 5% 5%;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.2) 0%, rgba(59, 130, 246, 0.12) 50%, transparent 100%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform: scale(0.9);
  opacity: 0.6;
}

.hero-showcase-stack:hover .panel-back-glow {
  transform: scale(1.05);
  opacity: 0.9;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.3) 0%, rgba(59, 130, 246, 0.22) 50%, transparent 100%);
  filter: blur(95px);
}

.hero-visual-panel {
  position: relative;
  background: var(--glass-card);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255,255,255,0.03);
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
  transform: rotateY(-3deg) rotateX(2deg);
  z-index: 2;
}

.hero-visual-panel:hover {
  transform: rotateY(0deg) rotateX(0deg) translateY(-6px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.75);
}

/* 炫酷流光边框特效 */
.visual-panel-glow-border {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.25), transparent, rgba(59, 130, 246, 0.25), transparent);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 10;
  transition: background 0.5s ease;
}

.hero-visual-panel:hover .visual-panel-glow-border {
  background: linear-gradient(90deg, var(--gold) 0%, #3b82f6 50%, var(--gold) 100%);
  background-size: 200% 200%;
  animation: borderGlowFlow 4s linear infinite;
}

@keyframes borderGlowFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero-visual-panel-head {
  padding: 0.9rem 1.5rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chrome-dots {
  display: flex;
  gap: 0.5rem;
}

.chrome-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.chrome-dots .close { background-color: #ef4444; }
.chrome-dots .minimize { background-color: #f59e0b; }
.chrome-dots .maximize { background-color: #10b981; }

.hero-visual-panel-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Premium Dashboard UI Image Showcase */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #030712;
}

.hero-dashboard-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-visual-panel:hover .hero-dashboard-img {
  transform: scale(1.025);
}

/* 高科技雷达扫描线特效 */
.scanner-ray {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background: linear-gradient(180deg, rgba(245, 166, 35, 0.35) 0%, transparent 100%);
  box-shadow: 0 -2px 10px rgba(245, 166, 35, 0.25);
  pointer-events: none;
  z-index: 8;
  animation: scannerScan 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes scannerScan {
  0% { top: 0%; opacity: 0; }
  5% { opacity: 0.85; }
  95% { opacity: 0.85; }
  100% { top: 100%; opacity: 0; }
}

/* Premium Floating Widget with 3D Float Effect */
.hero-floating-widget {
  position: absolute;
  bottom: 24px;
  left: 24px;
  width: 280px;
  background: rgba(10, 15, 30, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(245, 166, 35, 0.2);
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 15px rgba(245, 166, 35, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  animation: widgetFloat 4s ease-in-out infinite alternate;
  z-index: 9;
}

@keyframes widgetFloat {
  0% { transform: translateY(0) rotate(-0.5deg); }
  100% { transform: translateY(-8px) rotate(0.5deg); }
}

.widget-header {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.5rem;
  margin-bottom: 0.6rem;
}

.widget-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--text-success);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--text-success);
  animation: widgetPulse 1.5s infinite;
}

@keyframes widgetPulse {
  0% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.15); box-shadow: 0 0 14px var(--text-success); }
  100% { opacity: 0.4; transform: scale(0.9); }
}

.widget-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  font-family: var(--mono);
}

.widget-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.widget-event {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.event-label {
  color: var(--text-muted);
}

.event-val {
  color: var(--text);
  font-weight: 500;
}

.event-val.font-mono {
  font-family: var(--mono);
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
}

.badge-secure {
  background: rgba(16, 185, 129, 0.15);
  color: #10b981;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

[data-theme="light"] .badge-secure {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
  border-color: rgba(5, 150, 105, 0.2);
}

.widget-action {
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  color: var(--gold-light);
  background: var(--gold-dim);
  padding: 0.35rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(245, 166, 35, 0.15);
}

.pulse-beacon {
  width: 6px;
  height: 6px;
  background-color: var(--gold-light);
  border-radius: 50%;
  animation: beaconPulse 1.5s infinite;
}

@keyframes beaconPulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.6; }
}

[data-theme="light"] .hero-floating-widget {
  background: rgba(255, 255, 255, 0.8);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

/* --- Trust Banner --- */
.trust-banner {
  padding: 2.25rem 0;
  background: var(--landing-nav-bg);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
  z-index: 2;
}

.trust-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.trust-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-family: 'Outfit', sans-serif;
}

.trust-metrics {
  display: flex;
  gap: 4.5rem;
  flex-wrap: wrap;
}

.trust-metric-item {
  display: flex;
  flex-direction: column;
}

.trust-metric-item strong {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.1;
  font-family: 'Outfit', sans-serif;
}

.trust-metric-item span {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
}

/* --- Three-Way Comparison Grid --- */
.comparison-section {
  background: var(--landing-section-alt);
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}

.comparison-card {
  background: var(--glass-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.comparison-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
}

.comparison-card-accent {
  border-color: var(--border-accent);
  background: linear-gradient(145deg, var(--glass-card) 0%, rgba(245, 166, 35, 0.04) 100%);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), 0 0 15px var(--gold-glow);
}

.comparison-card-accent:hover {
  border-color: var(--card-border-glow);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.45), 0 0 25px var(--glow-gold);
}

.comparison-card h3 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0 0 0.35rem 0;
  color: var(--text);
}

.comparison-card .desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
}

.comparison-rows {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  flex: 1;
}

.comparison-row-item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding-bottom: 1.15rem;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-row-item:last-child {
  border-bottom: none;
}

.comparison-row-item .label {
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.comparison-row-item .val {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.comparison-card-accent .comparison-row-item .val {
  color: var(--text-secondary);
}

.comparison-card-accent .comparison-row-item .val strong {
  color: var(--text);
}

.comparison-row-item .badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: bold;
  margin-top: 0.25rem;
}

.badge-status-no { color: var(--text-danger); }
.badge-status-warning { color: var(--text-warning); }
.badge-status-yes { color: var(--text-success); }

/* --- Core Sections Styling --- */
.landing-section {
  padding: 7.5rem 0;
  position: relative;
  z-index: 2;
}

.landing-section h2 {
  font-size: clamp(2.15rem, 4.5vw, 3rem);
  font-weight: 800;
  text-align: center;
  margin: 0 auto 1.25rem;
  letter-spacing: -0.03em;
  max-width: 800px;
  line-height: 1.2;
}

.landing-section .section-lead {
  font-size: 1.12rem;
  line-height: 1.7;
  color: var(--text-secondary);
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4rem;
}

.section-eyebrow {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-align: center;
  margin-bottom: 0.95rem;
  font-family: 'Outfit', sans-serif;
}

/* --- Industrial Scenarios --- */
.scenarios-grid {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.scenario-panel-row {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 5rem;
  align-items: center;
}

.scenario-panel-row:nth-child(even) {
  grid-template-columns: 1fr 1.05fr;
}

.scenario-panel-row:nth-child(even) .scenario-panel-copy {
  order: 2;
}

.scenario-panel-copy h3 {
  font-size: 1.85rem;
  font-weight: 700;
  margin: 0 0 1.15rem 0;
  color: var(--text);
}

.scenario-panel-copy .desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 2.25rem;
}

/* Comparative Table for Industrial Scenarios */
.scenario-metrics-table {
  background: var(--glass-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0,0,0,0.25);
  margin-bottom: 2.25rem;
}

.metric-row {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  padding: 1.15rem 1.35rem;
  border-bottom: 1px solid var(--border-subtle);
}

.metric-row:last-child {
  border-bottom: none;
}

.metric-label {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.metric-value {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.metric-value strong {
  color: var(--text);
}

/* Vertical Step list mapping the scenario process */
.scenario-step-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius);
  padding: 1.75rem;
  border: 1px solid var(--border-subtle);
}

.scenario-step-title {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
  font-family: 'Outfit', sans-serif;
}

.scenario-step-item {
  display: flex;
  gap: 1.15rem;
  align-items: flex-start;
}

.step-number {
  width: 22px;
  height: 22px;
  background: var(--gold-dim);
  border: 1px solid var(--border-accent);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  font-weight: bold;
  color: var(--gold-light);
  flex-shrink: 0;
  margin-top: 0.15rem;
  box-shadow: 0 0 10px rgba(245, 166, 35, 0.12);
}

.step-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-text strong {
  color: var(--text);
}

.scenario-panel-visual {
  position: relative;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
}

.scenario-panel-visual .landing-visual {
  width: 100%;
  height: 100%;
}

.scenario-panel-visual svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Flow diagram polish */
.landing-visual-flow {
  overflow: visible;
}

.landing-visual-svg .flow-node {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-visual:hover .flow-node-accent {
  transform: scale(1.03);
}

.landing-visual-svg .flow-path-animate {
  stroke-dasharray: 8 6;
  animation: lv-flow-dash 1.4s linear infinite;
}

.landing-visual-svg .flow-path-dashed {
  opacity: 0.85;
}

.landing-visual-svg .flow-delay-1 {
  animation-delay: 0.25s;
}

.landing-visual-svg .flow-delay-2 {
  animation-delay: 0.5s;
}

.landing-visual-svg .flow-orbit {
  transform-origin: 260px 198px;
  animation: lv-orbit-spin 48s linear infinite;
}

.landing-visual-svg .flow-spoke {
  animation: lv-spoke-pulse 3s ease-in-out infinite;
}

@keyframes lv-flow-dash {
  to {
    stroke-dashoffset: -28;
  }
}

@keyframes lv-orbit-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes lv-spoke-pulse {
  0%, 100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.65;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-visual-svg .flow-path-animate,
  .landing-visual-svg .flow-orbit,
  .landing-visual-svg .flow-spoke {
    animation: none;
  }
}

/* --- Bento Grid (Platform capabilities) --- */
.bento-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, minmax(240px, auto));
  gap: 1.75rem;
  align-items: stretch;
}

.bento-card {
  background: var(--glass-card);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 65%, rgba(245, 166, 35, 0.04) 100%);
  z-index: 0;
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: var(--card-border-glow);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.45), 0 0 20px var(--glow-gold);
}

.bento-card-double {
  grid-column: span 2;
}

.bento-card-content {
  position: relative;
  z-index: 1;
}

.bento-card h3 {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 0 0 0.65rem 0;
  color: var(--text);
}

.bento-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 1.75rem 0;
  max-width: 90%;
}

.bento-preview {
  position: relative;
  z-index: 1;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 10px 30px rgba(0,0,0,0.45);
}

.bento-preview svg {
  width: 100%;
  height: auto;
  display: block;
  min-height: 160px;
}

.bento-preview-img {
  min-height: 160px;
}

.bento-screenshot {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
}

.landing-screenshot-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-accent);
  background: var(--bg-card);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.landing-screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: top center;
}

/* --- Enterprise Security & Architecture Section --- */
.security-section {
  background: var(--landing-section-alt);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.security-topology-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.5rem;
  align-items: center;
}

.security-topology-visual {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  box-shadow: inset 0 10px 30px rgba(0,0,0,0.4);
}

.topo-node {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  padding: 1.25rem 1.65rem;
  border-radius: 10px;
  position: relative;
  transition: border-color 0.25s ease;
}

.topo-node:hover {
  border-color: rgba(255,255,255,0.15);
}

.topo-node-icon {
  width: 44px;
  height: 44px;
  background: var(--gold-dim);
  border: 1px solid var(--border-accent);
  border-radius: 6px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--gold-light);
  flex-shrink: 0;
  font-family: 'Syncopate', sans-serif;
  box-shadow: 0 0 12px var(--gold-glow);
}

.topo-node-info {
  display: flex;
  flex-direction: column;
}

.topo-node-title {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.topo-node-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.topo-node-arrow {
  position: absolute;
  left: calc(1.65rem + 22px);
  bottom: -22px;
  height: 22px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold-dark), transparent);
  z-index: 1;
}

.topo-node-arrow::after {
  content: '▼';
  position: absolute;
  bottom: -4px;
  left: -4.5px;
  font-size: 8px;
  color: var(--gold-dark);
}

.topo-node:last-child {
  border-color: var(--border-accent);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(245, 166, 35, 0.05) 100%);
  box-shadow: 0 0 15px rgba(245, 166, 35, 0.08);
}

.topo-node:last-child .topo-node-arrow {
  display: none;
}

.security-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.security-checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 1.35rem;
}

.security-checklist-item .icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  display: grid;
  place-items: center;
  color: #10b981;
  font-size: 0.8rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.security-checklist-item h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.35rem 0;
  color: var(--text);
}

.security-checklist-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

/* --- Enterprise Pricing & Plans --- */
.pricing-section {
  background: var(--bg-deep);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.25rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--glass-card);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.75rem;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.pricing-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,0.15);
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.45);
}

.pricing-card-featured {
  border-color: var(--border-accent);
  background: linear-gradient(155deg, var(--glass-card) 0%, rgba(245, 166, 35, 0.04) 100%);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3), 0 0 15px var(--gold-glow);
}

.pricing-card-featured:hover {
  border-color: var(--card-border-glow);
  box-shadow: 0 35px 80px rgba(0, 0, 0, 0.5), 0 0 25px var(--glow-gold);
}

.pricing-card-featured::before {
  content: 'RECOMMENDED';
  position: absolute;
  top: 24px;
  right: -32px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: #1a1200;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.25rem 2.5rem;
  transform: rotate(45deg);
  letter-spacing: 0.06em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  font-family: 'Outfit', sans-serif;
}

.pricing-header h3 {
  font-size: 1.55rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: var(--text);
}

.pricing-header p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 2.25rem 0;
  line-height: 1.5;
}

.pricing-price {
  margin-bottom: 2.75rem;
}

.pricing-price .amount {
  font-size: 3.15rem;
  font-weight: 800;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
}

.pricing-price .period {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-left: 0.25rem;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 3.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.pricing-features li::before {
  content: '✓';
  color: var(--gold-light);
  font-weight: bold;
}

.pricing-action {
  width: 100%;
}

/* --- Interactive CTA Section --- */
.cta-section {
  padding: 9rem 0;
  position: relative;
  background: radial-gradient(circle at 50% 0%, var(--glow-gold) 0%, transparent 60%);
  border-top: 1px solid var(--border-subtle);
}

.cta-card {
  background: var(--glass-card);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 5rem;
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cta-card h2 {
  font-size: 2.75rem;
  font-weight: 800;
  margin: 0 0 1.15rem 0;
  color: var(--text);
}

.cta-card p {
  font-size: 1.18rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 660px;
  margin: 0 auto 3rem;
}

.cta-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}

.cta-actions .btn {
  padding: 0.95rem 2.85rem;
  font-size: 1.05rem;
}

/* --- Enterprise Footer --- */
.landing-footer {
  background: var(--overlay-footer);
  padding: 5rem 4rem 3.5rem;
  border-top: 1px solid var(--border-subtle);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.15rem;
}

.footer-brand .brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.footer-links-group h4 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-links-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-group a {
  font-size: 0.88rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links-group a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* --- Responsive Adaptations --- */
@media (max-width: 1024px) {
  .hero-en .hero-showcase-stack {
    transform: none;
  }

  .landing-nav {
    padding: 1rem 2rem;
  }

  .hero-split {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .hero-copy {
    align-items: center;
    text-align: center;
  }

  .hero-actions-left {
    justify-content: center;
  }

  .hero-highlights {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-highlights li {
    text-align: left;
  }

  .comparison-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin: 3rem auto 0;
  }

  .bento-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .bento-card-double {
    grid-column: span 1;
  }

  .security-topology-wrap {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .landing-nav {
    padding: 1rem 1.5rem;
  }

  .landing-nav-links {
    display: none;
  }

  .trust-wrap {
    justify-content: center;
    text-align: center;
  }

  .trust-metrics {
    justify-content: center;
    gap: 2rem;
  }

  .scenario-panel-row,
  .scenario-panel-row:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .scenario-panel-row:nth-child(even) .scenario-panel-copy {
    order: 0;
  }

  .cta-card {
    padding: 3rem 1.5rem;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* === Landing v4 comprehensive sections === */
.pain-section { border-bottom: 1px solid var(--border-subtle); }
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.pain-card {
  background: var(--glass-card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: border-color 0.25s, transform 0.25s;
}
.pain-card:hover { border-color: var(--border-accent); transform: translateY(-3px); }
.pain-icon {
  font-family: 'Syncopate', 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.12em;
  opacity: 0.85;
}
.pain-card h3 { font-size: 1.1rem; margin: 0.75rem 0 0.5rem; }
.pain-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin: 0; }

.arch-section { background: var(--landing-section-alt); border-bottom: 1px solid var(--border-subtle); }
.arch-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.how-steps { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.how-step {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 1.25rem;
  background: rgba(0,0,0,0.15);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}
.how-num {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gold-dim); border: 1px solid var(--border-accent);
  display: grid; place-items: center;
  font-size: 0.8rem; font-weight: 700; color: var(--gold-light); flex-shrink: 0;
}
.how-step strong { display: block; font-size: 0.95rem; margin-bottom: 0.2rem; }
.how-step span { font-size: 0.82rem; color: var(--text-muted); }
.how-works-wrap { margin-top: 3rem; }
.landing-visual-wide { min-height: 200px; }

.capability-section { border-bottom: 1px solid var(--border-subtle); }
.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.capability-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background: var(--glass-card);
}
.cap-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-light);
  background: var(--gold-dim);
  border: 1px solid var(--border-accent);
  padding: 0.2rem 0.55rem;
  border-radius: 99px;
  margin-bottom: 0.65rem;
}
.capability-card h4 { margin: 0 0 0.4rem; font-size: 1rem; }
.capability-card p { margin: 0; font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; }

.capability-grid-with-shots .capability-card-shot {
  margin-top: 1rem;
}

.capability-grid-with-shots .capability-card-shot.landing-screenshot-frame {
  border-radius: var(--radius);
  box-shadow: none;
}

.business-screenshots-section {
  border-bottom: 1px solid var(--border-subtle);
}

.business-screenshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.business-screenshot-card {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background: var(--glass-card);
}

.business-screenshot-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.business-screenshot-card p {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.docs-inline-screenshot {
  margin-top: 1.25rem;
  max-width: 920px;
}

.scenario-panel-visual .landing-screenshot-frame {
  border: none;
  box-shadow: none;
  border-radius: 0;
}

@media (max-width: 960px) {
  .business-screenshot-grid { grid-template-columns: 1fr; }
}

.persona-section { background: var(--landing-section-alt); border-bottom: 1px solid var(--border-subtle); }
.persona-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.persona-card {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background: var(--glass-card);
}
.persona-card-accent { border-color: var(--border-accent); background: linear-gradient(145deg, var(--glass-card), rgba(245,166,35,0.05)); }
.persona-card h3 { margin: 0 0 0.75rem; font-size: 1.15rem; }
.persona-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; margin: 0 0 1rem; }
.persona-card ul { margin: 0; padding-left: 1.1rem; font-size: 0.85rem; color: var(--text-secondary); line-height: 1.7; }

.deploy-section { border-bottom: 1px solid var(--border-subtle); }
.deploy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.deploy-card {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  background: var(--glass-card);
}
.deploy-card h3 { margin: 1rem 0 0.35rem; font-size: 1.05rem; }
.deploy-card p { margin: 0; font-size: 0.85rem; color: var(--text-muted); }
.landing-visual-sm { min-height: 140px; }
.landing-visual-sm svg { max-height: 140px; }

.faq-section { border-bottom: 1px solid var(--border-subtle); }
.faq-wrap { max-width: 820px; }
.faq-list { margin: 2rem 0 0; }
.faq-item {
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--border-subtle);
}
.faq-item dt { font-weight: 700; font-size: 1rem; margin-bottom: 0.5rem; color: var(--text); }
.faq-item dd { margin: 0; font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

.landing-visual-arch svg { min-height: 320px; }

@media (max-width: 1024px) {
  .pain-grid { grid-template-columns: repeat(2, 1fr); }
  .arch-split { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); }
  .persona-grid { grid-template-columns: 1fr; }
  .deploy-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pain-grid { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: 1fr; }
}

/* --- Multi-page landing v3: Manus-style nav & task-first hero --- */
.landing-nav-mega {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-trigger,
.nav-top-link {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.15s, background 0.15s;
}

.nav-dropdown-trigger:hover,
.nav-top-link:hover,
.nav-top-link.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .nav-dropdown-trigger:hover,
[data-theme="light"] .nav-top-link:hover,
[data-theme="light"] .nav-top-link.is-active {
  background: rgba(15, 23, 42, 0.06);
}

.nav-chevron {
  font-size: 0.7rem;
  opacity: 0.7;
}

.nav-dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  min-width: 240px;
  padding: 0.5rem;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: var(--glass-card);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  z-index: 120;
}

.nav-dropdown.is-open .nav-dropdown-panel {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.nav-dropdown-panel a {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: background 0.15s;
}

.nav-dropdown-panel a span {
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
}

.nav-dropdown-panel a:hover {
  background: rgba(245, 166, 35, 0.12);
}

.nav-dropdown-all {
  margin-top: 0.25rem;
  border-top: 1px solid var(--border-subtle);
  padding-top: 0.65rem !important;
  color: var(--accent, #f5a623) !important;
}

.landing-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text);
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  cursor: pointer;
}

.hero-task-first {
  min-height: auto;
  padding: 5.5rem 0 3rem;
}

.hero-task-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-task-copy h1 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.12;
  margin: 0.75rem 0 1rem;
}

.hero-tagline {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent, #f5a623);
  margin: 0 0 1.25rem;
}

.task-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.task-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.task-chip:hover {
  border-color: rgba(245, 166, 35, 0.45);
  background: rgba(245, 166, 35, 0.1);
  transform: translateY(-1px);
}

.task-chip-more {
  border-style: dashed;
  opacity: 0.85;
}

.hero-actions-dual {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hero-showcase-compact {
  max-width: 520px;
  margin-left: auto;
}

.dual-path-section {
  padding-top: 2rem;
}

.dual-path-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.dual-path-card {
  padding: 1.75rem;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  background: var(--glass-card);
}

.dual-path-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.15rem;
}

.dual-path-card p {
  margin: 0 0 1.25rem;
  color: var(--text-muted);
  line-height: 1.6;
  font-size: 0.92rem;
}

.dual-path-enterprise {
  border-color: rgba(245, 166, 35, 0.25);
}

.explore-links-section {
  padding: 2rem 0 3rem;
}

.explore-links-title {
  text-align: center;
  font-size: 1.35rem;
  margin: 0 0 1.25rem;
}

.explore-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}

.explore-link-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 88px;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  text-align: center;
  transition: border-color 0.15s, background 0.15s;
}

.explore-link-card:hover {
  border-color: rgba(245, 166, 35, 0.35);
  background: rgba(245, 166, 35, 0.08);
}

.footer-subtitle {
  color: var(--text-muted);
  font-size: 0.82rem;
}

@media (max-width: 1024px) {
  .hero-task-wrap {
    grid-template-columns: 1fr;
  }
  .hero-showcase-compact {
    max-width: none;
    margin: 0;
  }
  .explore-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .landing-nav-toggle {
    display: inline-flex;
  }
  .landing-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1rem 1rem;
    background: var(--glass-card);
    border-bottom: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px);
  }
  .landing-nav-links.is-mobile-open {
    display: flex;
  }
  .landing-nav-mega {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .nav-dropdown-panel {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 0.5rem;
    background: transparent;
  }
  .nav-dropdown.is-open .nav-dropdown-panel {
    display: flex;
  }
}

@media (max-width: 640px) {
  .dual-path-grid {
    grid-template-columns: 1fr;
  }
  .explore-links-grid {
    grid-template-columns: 1fr;
  }
  .landing-nav-actions .btn-ghost:not(:last-of-type) {
    display: none;
  }
}

/* --- Home: full-width light product demo --- */
.landing-page-home .ambient-glow {
  opacity: 0.35;
}

.landing-page-home .ambient-hero-1 {
  background: radial-gradient(circle, rgba(59, 130, 246, 0.18) 0%, transparent 65%);
}

.landing-page-home .ambient-hero-2 {
  background: radial-gradient(circle, rgba(245, 166, 35, 0.14) 0%, transparent 60%);
}

.hero-showcase-full {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(640px, 88vh, 980px);
  padding: 4rem 0 2.5rem;
  overflow: hidden;
}

.hero-showcase-full-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(255, 255, 255, 0.98), transparent 58%),
    radial-gradient(ellipse 70% 50% at 85% 20%, rgba(191, 219, 254, 0.35), transparent 50%),
    radial-gradient(ellipse 60% 45% at 15% 30%, rgba(254, 243, 199, 0.28), transparent 50%),
    linear-gradient(165deg, #e8f0ff 0%, #f8fafc 40%, #fff7ed 100%);
  z-index: 0;
}

[data-theme="dark"] .hero-showcase-full-bg {
  background:
    radial-gradient(ellipse 90% 70% at 50% -10%, rgba(30, 58, 95, 0.5), transparent 55%),
    linear-gradient(165deg, #0f172a 0%, #111827 50%, #1a1208 100%);
}

.landing-page-home .hero-showcase-full > .landing-container {
  max-width: min(1520px, calc(100vw - 2rem));
  padding-left: 1.25rem;
  padding-right: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  width: 100%;
}

.hero-showcase-full-inner {
  position: relative;
  z-index: 1;
  max-width: none;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
}

.hero-demo-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 1.75rem;
  padding-top: 0.5rem;
}

.hero-demo-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.35);
  background: rgba(255, 251, 235, 0.9);
  color: #b45309;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
}

.hero-demo-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  line-height: 1.12;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.hero-demo-subtitle {
  margin: 0 0 0.45rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.6;
  color: #475569;
}

.hero-demo-tagline {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: #ea580c;
}

[data-theme="dark"] .hero-demo-title {
  color: #f8fafc;
}

[data-theme="dark"] .hero-demo-subtitle {
  color: #94a3b8;
}

.hero-project-demo-light {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  flex: 1;
}

.hpd-stage {
  border-radius: 24px;
  border: 1px solid rgba(15, 23, 42, 0.07);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  box-shadow:
    0 8px 16px rgba(15, 23, 42, 0.04),
    0 32px 80px rgba(15, 23, 42, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  overflow: hidden;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: clamp(520px, 62vh, 680px);
}

[data-theme="dark"] .hpd-stage {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(255, 255, 255, 0.08);
}

.hpd-viewport {
  position: relative;
  flex: 1;
  min-height: clamp(480px, 58vh, 640px);
  width: 100%;
}

.hpd-scene {
  position: absolute;
  inset: 0;
  padding: 1.75rem 2.5rem;
  opacity: 0;
  transform: translateY(12px) scale(0.985);
  transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
}

.hpd-scene.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.hpd-scene-title {
  margin: 0 0 1.25rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  text-align: center;
}

.hpd-scene-title-left {
  text-align: left;
  max-width: min(1200px, 100%);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

[data-theme="dark"] .hpd-scene-title {
  color: #f1f5f9;
}

/* —— Create (real UI mock) —— */
.hpd-create-card {
  max-width: min(1040px, 100%);
  width: 100%;
  margin: 0 auto;
}

.hpd-create-name-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
}

[data-theme="dark"] .hpd-create-name-wrap {
  background: #1e293b;
  border-color: #334155;
}

.hpd-folder-icon {
  font-size: 1.1rem;
  line-height: 1;
  margin-top: 0.15rem;
}

.hpd-create-name-field,
.hpd-prompt-field {
  position: relative;
  flex: 1;
  min-height: 1.5rem;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #0f172a;
}

[data-theme="dark"] .hpd-create-name-field,
[data-theme="dark"] .hpd-prompt-field {
  color: #e2e8f0;
}

.hpd-field-ph {
  color: #94a3b8;
}

.hpd-create-name-field.has-text .hpd-field-ph,
.hpd-prompt-field.has-text .hpd-field-ph {
  display: none;
}

.hpd-path-preview {
  margin: 0.45rem 0 0.85rem;
  font-size: 0.75rem;
  color: #64748b;
}

.hpd-path-preview strong {
  color: #334155;
}

.hpd-prompt-card {
  position: relative;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.07);
  overflow: visible;
}

[data-theme="dark"] .hpd-prompt-card {
  background: #1e293b;
  border-color: #334155;
}

.hpd-prompt-field {
  min-height: 6.5rem;
  padding: 1rem 1.15rem 0.65rem;
}

.hpd-composer-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem 0.55rem;
  border-top: 1px solid #f1f5f9;
  overflow: visible;
  z-index: 5;
}

.hpd-mount-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.hpd-mount-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.38rem 0.72rem;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  font-size: 0.78rem;
  color: #475569;
  cursor: default;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.2s;
}

.hpd-mount-btn.is-highlight {
  border-color: #f59e0b;
  background: #fff7ed;
  color: #b45309;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
  transform: translateY(-1px);
}

.hpd-badge {
  display: inline-flex;
  min-width: 1rem;
  height: 1rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #f59e0b;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 0 0.25rem;
}

.hpd-launch {
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 999px;
  background: #fdba74;
  color: #fff;
  font-size: 1.15rem;
  opacity: 0.55;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}

.hpd-launch:not(:disabled) {
  opacity: 1;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}

.hpd-launch.is-pulse {
  animation: hpdLaunchPulse 0.55s ease-in-out 2;
}

@keyframes hpdLaunchPulse {
  50% { transform: scale(1.08); box-shadow: 0 6px 22px rgba(234, 88, 12, 0.5); }
}

.hpd-mount-panel {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateX(-50%) translateY(6px) scale(0.96);
  width: min(360px, calc(100vw - 2.5rem));
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  box-shadow:
    0 4px 8px rgba(15, 23, 42, 0.04),
    0 20px 48px rgba(15, 23, 42, 0.14);
  opacity: 0;
  transition: opacity 0.28s ease, transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 30;
  overflow: hidden;
}

.hpd-mount-panel.is-open {
  opacity: 1;
  transform: translateX(-50%) translateY(0) scale(1);
  pointer-events: auto;
}

.hpd-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.78rem;
  font-weight: 700;
  color: #0f172a;
  background: #f8fafc;
}

.hpd-panel-ok {
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: #f59e0b;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}

.hpd-panel-list {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.45rem;
  max-height: 180px;
  overflow: auto;
}

.hpd-panel-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.5rem 0.55rem;
  border-radius: 8px;
  font-size: 0.74rem;
  color: #334155;
  transition: background 0.2s;
}

.hpd-panel-item.is-checked {
  background: #fff7ed;
}

.hpd-panel-check {
  width: 1rem;
  height: 1rem;
  border-radius: 4px;
  border: 2px solid #cbd5e1;
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}

.hpd-panel-item.is-checked .hpd-panel-check {
  border-color: #f59e0b;
  background: #f59e0b;
}

.hpd-panel-item.is-checked .hpd-panel-check::after {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.05rem;
  width: 0.28rem;
  height: 0.5rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.hpd-model-panel {
  max-width: min(1040px, 100%);
  width: 100%;
  margin: 1.15rem auto 0;
  padding: 0.9rem 1.1rem;
  border-radius: 14px;
  background: rgba(241, 245, 249, 0.85);
  border: 1px solid #e2e8f0;
}

.hpd-model-head {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.35rem;
}

.hpd-model-label {
  font-size: 0.72rem;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.hpd-model-select {
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #fff;
  font-size: 0.78rem;
  color: #334155;
}

.hpd-caret {
  display: inline-block;
  width: 1px;
  height: 0.9em;
  margin-left: 1px;
  vertical-align: text-bottom;
  background: #f59e0b;
  opacity: 0;
  animation: hpdCaretBlink 0.9s step-end infinite;
}

@keyframes hpdCaretBlink {
  50% { opacity: 0; }
}

/* —— Run scroll (light workspace) —— */
.hpd-run-shell {
  max-width: min(1100px, 100%);
  width: 100%;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.hpd-run-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.82rem;
  font-weight: 600;
  color: #334155;
  background: linear-gradient(180deg, #fafafa, #f8fafc);
}

.hpd-run-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.45);
  animation: hpdRunDot 1.2s ease-in-out infinite;
}

@keyframes hpdRunDot {
  50% { opacity: 0.45; transform: scale(0.85); }
}

.hpd-run-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1rem 1.25rem;
  background: #fff;
  scroll-behavior: smooth;
}

.hpd-run-msgs {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.72rem;
  line-height: 1.55;
  color: #334155;
}

.hpd-run-msgs li {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.35s, transform 0.35s;
  padding: 0.4rem 0.55rem;
  border-radius: 8px;
  background: #f8fafc;
  border-left: 3px solid transparent;
  word-break: break-word;
}

.hpd-run-msgs li.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hpd-run-msgs .hpd-run-user { border-left-color: #64748b; background: #f1f5f9; }
.hpd-run-msgs .hpd-run-plan {
  border-left-color: #8b5cf6;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.08), #faf5ff);
}
.hpd-run-msgs .hpd-run-tool { border-left-color: #0ea5e9; background: #f0f9ff; }
.hpd-run-msgs .hpd-run-data { border-left-color: #10b981; background: #ecfdf5; }
.hpd-run-msgs .hpd-run-sub { border-left-color: #f59e0b; background: #fffbeb; }
.hpd-run-msgs .hpd-run-at { border-left-color: #3b82f6; background: #eff6ff; }
.hpd-run-msgs .hpd-run-ok {
  border-left-color: #059669;
  background: #ecfdf5;
  font-weight: 600;
  color: #065f46;
}

.hpd-run-shell-wide {
  max-width: min(1180px, 100%);
  flex: 1;
  min-height: clamp(360px, 48vh, 480px);
}

.hpd-scene-run {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.hpd-run-body {
  display: flex;
  flex: 1;
  min-height: 0;
}

.hpd-run-tree {
  width: clamp(168px, 22%, 240px);
  flex-shrink: 0;
  border-right: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 0.65rem 0.45rem;
  overflow: auto;
}

.hpd-tree-head {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  padding: 0.25rem 0.45rem 0.5rem;
}

.hpd-tree-root,
.hpd-tree-root ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hpd-tree-root ul {
  padding-left: 0.85rem;
  border-left: 1px dashed rgba(100, 116, 139, 0.35);
  margin-left: 0.35rem;
}

.hpd-tree-label,
.hpd-tree-file span {
  display: block;
  padding: 0.22rem 0.45rem;
  border-radius: 5px;
  font-family: var(--mono, ui-monospace, monospace);
  font-size: 0.66rem;
  line-height: 1.45;
  color: #64748b;
  transition: background 0.25s, color 0.25s;
}

.hpd-tree-file.is-active span {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  box-shadow: inset 2px 0 0 #f59e0b;
}

.hpd-run-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.hpd-run-top {
  flex-wrap: wrap;
  gap: 0.65rem;
}

.hpd-run-agents-live {
  margin-left: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.hpd-agent-pill {
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  opacity: 0.38;
  transition: opacity 0.28s, transform 0.28s, box-shadow 0.28s;
}

.hpd-agent-pill.is-live {
  opacity: 1;
  transform: translateY(-1px) scale(1.04);
}

.pill-orch {
  background: rgba(139, 92, 246, 0.12);
  color: #6d28d9;
  border-color: rgba(139, 92, 246, 0.35);
}

.pill-orch.is-live {
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.28);
}

.pill-data {
  background: rgba(16, 185, 129, 0.1);
  color: #047857;
  border-color: rgba(16, 185, 129, 0.35);
}

.pill-data.is-live {
  box-shadow: 0 0 14px rgba(16, 185, 129, 0.28);
}

.pill-doc {
  background: rgba(14, 165, 233, 0.1);
  color: #0369a1;
  border-color: rgba(14, 165, 233, 0.35);
}

.pill-doc.is-live {
  box-shadow: 0 0 14px rgba(14, 165, 233, 0.28);
}

.pill-verify {
  background: rgba(245, 158, 11, 0.12);
  color: #b45309;
  border-color: rgba(245, 158, 11, 0.35);
}

.pill-verify.is-live {
  box-shadow: 0 0 14px rgba(245, 158, 11, 0.28);
}

.hpd-run-msgs li.hpd-run-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  text-align: left;
  padding: 0.45rem 0.55rem 0.45rem 0.4rem;
}

.hpd-run-tag {
  flex-shrink: 0;
  min-width: 5.75rem;
  padding: 0.12rem 0.42rem;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-align: left;
  line-height: 1.35;
}

.tag-user { background: rgba(100, 116, 139, 0.15); color: #475569; }
.tag-plan { background: rgba(139, 92, 246, 0.16); color: #6d28d9; }
.tag-orch { background: rgba(139, 92, 246, 0.12); color: #7c3aed; }
.tag-data { background: rgba(16, 185, 129, 0.12); color: #047857; }
.tag-doc { background: rgba(14, 165, 233, 0.12); color: #0369a1; }
.tag-verify { background: rgba(245, 158, 11, 0.14); color: #b45309; }

.hpd-run-text {
  flex: 1;
  text-align: left;
  min-width: 0;
}

/* —— Deliverables —— */
.hpd-scene-deliver {
  width: 100%;
}

.hpd-deliver-stage {
  position: relative;
  max-width: min(1200px, 100%);
  width: 100%;
  margin: 0 auto;
}

/* 弹窗锚定到 hpd-viewport（演示画布），与各 scene 同级，避免被 scene opacity 裁切 */
.hpd-deliver-float {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.1rem;
  box-sizing: border-box;
  overflow: hidden;
  pointer-events: none;
  z-index: 50;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.hpd-deliver-float.is-show:not(.is-out) {
  opacity: 1;
  visibility: visible;
}

.hpd-deliver-float.is-out {
  opacity: 0;
  visibility: visible;
  transition: opacity 0.55s ease, visibility 0s linear 0.55s;
}

.hpd-deliver-float::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.hpd-deliver-float.is-show:not(.is-out)::before {
  opacity: 1;
}

[data-theme="dark"] .hpd-deliver-float::before {
  background: rgba(15, 23, 42, 0.82);
}

.hpd-float-card {
  position: absolute;
  left: 50%;
  top: 50%;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.12);
  transform-origin: center center;
  transition:
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.82s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.65s ease;
  filter: blur(10px);
  will-change: transform, opacity;
  z-index: 2;
  width: auto;
  height: auto;
  max-width: 92%;
  max-height: 86%;
}

.hpd-float-card[data-preview="word"] {
  aspect-ratio: 210 / 297;
  height: min(86%, 520px);
  width: auto;
  max-width: 92%;
  max-height: 86%;
}

.hpd-float-card[data-preview="excel"] {
  aspect-ratio: 5 / 3.2;
  height: min(78%, 460px);
  width: auto;
  max-width: 94%;
  max-height: 78%;
}

.hpd-float-card[data-preview="ppt"] {
  aspect-ratio: 16 / 9;
  height: min(82%, 480px);
  width: auto;
  max-width: 94%;
  max-height: 82%;
}

.hpd-float-card[data-preview="web"] {
  aspect-ratio: 16 / 10;
  height: min(80%, 470px);
  width: auto;
  max-width: 94%;
  max-height: 80%;
}

.hpd-float-card.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  filter: blur(0);
}

.hpd-float-card.is-out {
  opacity: 0;
  transform: translate(-50%, -50%) scale(1.06);
  filter: blur(4px);
}

.hpd-float-frame {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #fff;
  box-shadow:
    0 12px 28px rgba(15, 23, 42, 0.08),
    0 40px 90px rgba(15, 23, 42, 0.18);
}

.hpd-float-chrome {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(180deg, #f8fafc, #f1f5f9);
  border-bottom: 1px solid #e2e8f0;
  font-style: normal;
}

.hpd-float-chrome em {
  margin-left: auto;
  font-size: 0.68rem;
  font-weight: 600;
  color: #64748b;
  font-style: normal;
}

.hpd-float-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #cbd5e1;
}

.hpd-float-chrome-browser {
  gap: 0.5rem;
}

.hpd-browser-url {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-size: 0.62rem;
  color: #64748b;
}

.hpd-browser-url i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #22c55e;
}

.hpd-float-art {
  flex: 1;
  min-height: 0;
  overflow: auto;
  background: #fff;
}

/* Word / PDF page */
.hpd-doc-stack {
  position: relative;
  height: 100%;
  padding: clamp(0.85rem, 2vw, 1.35rem);
  background: linear-gradient(180deg, #eff6ff 0%, #f8fafc 100%);
  box-sizing: border-box;
}

.hpd-doc-page-back {
  position: absolute;
  left: clamp(1rem, 3vw, 1.85rem);
  right: clamp(1rem, 3vw, 1.85rem);
  top: 0.75rem;
  height: 82%;
  border-radius: 8px;
  background: #e2e8f0;
  transform: rotate(-1.5deg);
  opacity: 0.55;
}

.hpd-doc-page-main {
  position: relative;
  height: 100%;
  padding: clamp(0.75rem, 1.8vw, 1.15rem);
  border-radius: 10px;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.12);
  overflow: auto;
  box-sizing: border-box;
}

.hpd-doc-toolbar {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid #f1f5f9;
}

.hpd-doc-toolbar i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 4px;
  background: #f1f5f9;
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 800;
  color: #475569;
}

.hpd-doc-toolbar span {
  margin-left: 0.25rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.62rem;
  font-weight: 600;
}

.hpd-doc-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.55rem;
  flex-wrap: wrap;
}

.hpd-doc-meta > span:last-child {
  font-size: 0.62rem;
  color: #94a3b8;
}

.hpd-doc-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: #dbeafe;
  color: #1d4ed8;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.hpd-doc-page-main h4 {
  margin: 0 0 0.35rem;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  color: #1e3a8a;
  letter-spacing: -0.02em;
}

.hpd-doc-page-main h5 {
  margin: 0.75rem 0 0.45rem;
  font-size: clamp(0.78rem, 1.6vw, 0.92rem);
  color: #1e40af;
}

.hpd-doc-sub {
  margin: 0 0 0.75rem;
  font-size: clamp(0.72rem, 1.4vw, 0.88rem);
  color: #64748b;
}

.hpd-doc-kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.75rem;
}

.hpd-doc-kpi-grid div {
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.hpd-doc-kpi-grid small {
  display: block;
  font-size: 0.58rem;
  color: #64748b;
}

.hpd-doc-kpi-grid strong {
  display: block;
  font-size: clamp(0.82rem, 1.8vw, 1rem);
  color: #0f172a;
  margin: 0.1rem 0;
}

.hpd-doc-kpi-grid em {
  font-style: normal;
  font-size: 0.62rem;
  color: #059669;
  font-weight: 700;
}

.hpd-doc-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(0.62rem, 1.2vw, 0.76rem);
  margin-bottom: 0.35rem;
}

.hpd-doc-mini-table th,
.hpd-doc-mini-table td {
  padding: 0.35rem 0.45rem;
  border: 1px solid #e5e7eb;
  text-align: left;
}

.hpd-doc-mini-table th {
  background: #eff6ff;
  color: #1e40af;
}

.hpd-art-lines i {
  display: block;
  height: clamp(6px, 0.8vw, 8px);
  margin-bottom: 0.38rem;
  border-radius: 4px;
  background: #e2e8f0;
}

.hpd-art-lines i:nth-child(1) { width: 96%; }
.hpd-art-lines i:nth-child(2) { width: 88%; }
.hpd-art-lines i:nth-child(3) { width: 74%; }
.hpd-art-lines i:nth-child(4) { width: 62%; }
.hpd-art-lines i:nth-child(5) { width: 48%; }

/* Excel */
.hpd-float-art-excel {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 0;
  background: #ecfdf5;
}

.hpd-xls-formula {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.55rem;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.68rem;
}

.hpd-xls-formula span {
  padding: 0.1rem 0.35rem;
  border-radius: 3px;
  background: #f0fdf4;
  color: #047857;
  font-weight: 700;
}

.hpd-xls-formula code {
  color: #334155;
  font-family: var(--mono, ui-monospace, monospace);
}

.hpd-xls-wrap {
  flex: 1;
  overflow: auto;
}

.hpd-sheet-tabs {
  display: flex;
  gap: 0.15rem;
  padding: 0.4rem 0.55rem 0;
  border-bottom: 1px solid #bbf7d0;
  background: #ecfdf5;
}

.hpd-sheet-tabs span {
  padding: 0.28rem 0.6rem;
  border-radius: 6px 6px 0 0;
  font-size: 0.65rem;
  color: #047857;
}

.hpd-sheet-tabs span.is-active {
  background: #fff;
  font-weight: 700;
}

.hpd-float-art-excel table {
  width: 100%;
  border-collapse: collapse;
  font-size: clamp(0.68rem, 1.3vw, 0.84rem);
  background: #fff;
}

.hpd-float-art-excel th,
.hpd-float-art-excel td {
  padding: clamp(0.35rem, 1vw, 0.55rem) clamp(0.4rem, 1vw, 0.65rem);
  border: 1px solid #e5e7eb;
  text-align: left;
  white-space: nowrap;
}

.hpd-float-art-excel td:first-child {
  color: #94a3b8;
  background: #f8fafc;
  text-align: center;
  width: 2rem;
}

.hpd-float-art-excel th {
  background: #f0fdf4;
  color: #065f46;
  font-weight: 700;
}

.hpd-float-art-excel .hpd-up {
  color: #059669;
  font-weight: 700;
}

.hpd-spark {
  display: inline-block;
  width: 3.5rem;
  height: 0.65rem;
  border-radius: 999px;
  background: linear-gradient(90deg, #bbf7d0 20%, #34d399 55%, #059669 100%);
}

.hpd-spark.flat {
  background: linear-gradient(90deg, #e2e8f0 30%, #94a3b8 70%);
}

/* PPT deck */
.hpd-float-art-ppt {
  display: flex;
  height: 100%;
  min-height: 0;
  background: #1e293b;
}

.hpd-ppt-thumbs {
  width: clamp(3.5rem, 8vw, 5rem);
  padding: 0.55rem 0.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  border-right: 1px solid #334155;
  background: #0f172a;
  overflow: auto;
}

.hpd-ppt-thumbs i {
  display: block;
  height: clamp(1.5rem, 3.5vw, 2.25rem);
  border-radius: 4px;
  border: 1px solid #475569;
  background: #334155;
  flex-shrink: 0;
}

.hpd-ppt-thumbs i.is-active {
  border-color: #fb923c;
  box-shadow: 0 0 0 2px rgba(251, 146, 60, 0.35);
  background: linear-gradient(135deg, #431407, #7c2d12);
}

.hpd-ppt-stage {
  flex: 1;
  padding: clamp(0.65rem, 1.5vw, 1rem);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, rgba(251, 146, 60, 0.15), transparent 55%), #111827;
  min-width: 0;
}

.hpd-art-ppt-slide {
  width: 100%;
  height: 100%;
  max-width: none;
  padding: clamp(0.75rem, 1.8vw, 1.15rem);
  border-radius: 10px;
  background: linear-gradient(145deg, #fff7ed, #fff);
  border: 1px solid rgba(251, 146, 60, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.hpd-art-ppt-accent {
  width: 38%;
  height: clamp(4px, 0.6vw, 6px);
  border-radius: 999px;
  background: linear-gradient(90deg, #ea580c, #fbbf24);
  margin-bottom: 0.75rem;
}

.hpd-art-ppt-slide h4 {
  margin: 0 0 0.55rem;
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  color: #9a3412;
  letter-spacing: -0.02em;
}

.hpd-ppt-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.65rem;
}

.hpd-ppt-kpis div {
  padding: 0.4rem 0.45rem;
  border-radius: 8px;
  background: rgba(255, 237, 213, 0.65);
  border: 1px solid #fed7aa;
}

.hpd-ppt-kpis small {
  display: block;
  font-size: 0.58rem;
  color: #9a3412;
}

.hpd-ppt-kpis strong {
  font-size: clamp(0.78rem, 1.6vw, 0.95rem);
  color: #c2410c;
}

.hpd-art-ppt-slide ul {
  margin: 0 0 0.65rem;
  padding-left: 1.1rem;
  font-size: clamp(0.68rem, 1.3vw, 0.82rem);
  color: #475569;
  line-height: 1.5;
}

.hpd-art-ppt-chart {
  display: flex;
  align-items: flex-end;
  gap: clamp(0.35rem, 1vw, 0.55rem);
  flex: 1;
  min-height: clamp(4rem, 12vh, 6.5rem);
  padding: 0.45rem 0.55rem 0.25rem;
  border-radius: 10px;
  background: linear-gradient(180deg, #fff7ed, #ffedd5);
}

.hpd-ppt-bar {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 0.25rem;
}

.hpd-ppt-bar label {
  font-size: clamp(0.52rem, 1vw, 0.62rem);
  color: #9a3412;
  text-align: center;
}

.hpd-ppt-bar b {
  display: block;
  width: 100%;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, #fdba74, #ea580c);
  min-height: 18%;
}

.hpd-ppt-foot {
  margin-top: 0.55rem;
  font-size: 0.58rem;
  color: #94a3b8;
  text-align: right;
}

/* Web preview */
.hpd-float-art-web {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #0f172a;
}

.hpd-web-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
  font-size: 0.72rem;
  font-weight: 700;
}

.hpd-web-nav small {
  font-weight: 500;
  color: #94a3b8;
  font-size: 0.62rem;
}

.hpd-art-web-body {
  flex: 1;
  padding: clamp(1rem, 2.5vw, 1.75rem) clamp(0.85rem, 2vw, 1.25rem);
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(124, 58, 237, 0.35), transparent 60%),
    linear-gradient(180deg, #1e1b4b 0%, #0f172a 100%);
}

.hpd-art-web-body small {
  display: block;
  font-size: clamp(0.55rem, 1vw, 0.65rem);
  letter-spacing: 0.14em;
  color: #c4b5fd;
  margin-bottom: 0.4rem;
}

.hpd-art-web-body h4 {
  margin: 0 0 0.35rem;
  font-size: clamp(1rem, 2.4vw, 1.35rem);
  color: #f5f3ff;
  letter-spacing: -0.02em;
}

.hpd-art-web-body p {
  margin: 0 0 0.85rem;
  font-size: clamp(0.72rem, 1.4vw, 0.88rem);
  color: #c4b5fd;
  line-height: 1.5;
}

.hpd-web-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-bottom: 0.85rem;
}

.hpd-web-stats div {
  padding: 0.45rem 0.35rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hpd-web-stats strong {
  display: block;
  font-size: clamp(0.85rem, 1.8vw, 1.05rem);
  color: #f5f3ff;
}

.hpd-web-stats span {
  font-size: 0.58rem;
  color: #a5b4fc;
}

.hpd-art-web-btn {
  display: inline-block;
  padding: 0.55rem 1.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #8b5cf6, #6d28d9);
  color: #fff;
  font-size: clamp(0.68rem, 1.2vw, 0.78rem);
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(109, 40, 217, 0.45);
  margin-bottom: 0.85rem;
}

.hpd-web-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  text-align: left;
}

.hpd-web-features article {
  padding: 0.55rem 0.5rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.hpd-web-features b {
  display: block;
  font-size: clamp(0.68rem, 1.2vw, 0.78rem);
  color: #e9d5ff;
  margin-bottom: 0.15rem;
}

.hpd-web-features span {
  font-size: 0.58rem;
  color: #a5b4fc;
  line-height: 1.35;
}

.hpd-web-foot {
  padding: 0.45rem 0.85rem;
  text-align: center;
  font-size: 0.58rem;
  color: #64748b;
  background: rgba(0, 0, 0, 0.25);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hpd-deliver-layout {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-width: min(1200px, 100%);
  margin: 0 auto;
}

.hpd-deliver-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

.hpd-artifact {
  padding: 1.15rem 0.85rem;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
  text-align: center;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s, border-color 0.45s;
  transform: scale(0.92);
  opacity: 0.72;
}

.hpd-artifact.is-spotlight {
  transform: scale(1.08);
  opacity: 1;
  border-color: #fbbf24;
  box-shadow: 0 20px 50px rgba(245, 158, 11, 0.2);
  z-index: 2;
}

.hpd-artifact strong {
  display: block;
  font-size: 0.92rem;
  margin: 0.45rem 0 0.2rem;
  color: #0f172a;
}

.hpd-artifact span {
  display: block;
  font-size: 0.74rem;
  color: #64748b;
  line-height: 1.4;
}

.hpd-artifact-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

.hpd-artifact-word { background: #2563eb; }
.hpd-artifact-excel { background: #059669; }
.hpd-artifact-ppt { background: #ea580c; }
.hpd-artifact-web { background: #7c3aed; font-size: 1rem; }

.hpd-deliver-preview {
  position: relative;
  min-height: 220px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  padding: 0.85rem 1rem 1rem;
  overflow: hidden;
}

.hpd-preview-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.65rem;
}

.hpd-preview-pane {
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 2.25rem;
  bottom: 1rem;
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.45s ease, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.hpd-preview-pane.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.hpd-mock-word {
  height: 100%;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  padding: 0.65rem 0.85rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.hpd-mock-word-toolbar {
  display: flex;
  gap: 0.25rem;
  margin-bottom: 0.55rem;
}

.hpd-mock-word-toolbar i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #cbd5e1;
}

.hpd-mock-word h4 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  color: #1e40af;
}

.hpd-mock-word-sub {
  margin: 0 0 0.55rem;
  font-size: 0.72rem;
  color: #64748b;
}

.hpd-mock-word-lines span {
  display: block;
  height: 6px;
  margin-bottom: 0.35rem;
  border-radius: 3px;
  background: #e2e8f0;
}

.hpd-mock-word-lines span:nth-child(1) { width: 95%; }
.hpd-mock-word-lines span:nth-child(2) { width: 88%; }
.hpd-mock-word-lines span:nth-child(3) { width: 72%; }
.hpd-mock-word-lines span:nth-child(4) { width: 60%; }

.hpd-mock-excel {
  height: 100%;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.hpd-mock-excel-tabs {
  display: flex;
  gap: 0.15rem;
  padding: 0.35rem 0.5rem 0;
  background: #ecfdf5;
  border-bottom: 1px solid #d1fae5;
}

.hpd-mock-excel-tabs span {
  padding: 0.25rem 0.55rem;
  font-size: 0.65rem;
  border-radius: 6px 6px 0 0;
  color: #047857;
}

.hpd-mock-excel-tabs span.is-active {
  background: #fff;
  font-weight: 700;
}

.hpd-mock-excel table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.72rem;
}

.hpd-mock-excel th,
.hpd-mock-excel td {
  padding: 0.4rem 0.55rem;
  border: 1px solid #e5e7eb;
  text-align: left;
}

.hpd-mock-excel th {
  background: #f0fdf4;
  color: #065f46;
  font-weight: 700;
}

.hpd-mock-excel .hpd-up {
  color: #059669;
  font-weight: 700;
}

.hpd-mock-ppt {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hpd-mock-ppt-slide {
  flex: 1;
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  padding: 0.75rem 1rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.hpd-mock-ppt-bar {
  height: 4px;
  width: 40%;
  border-radius: 999px;
  background: #ea580c;
  margin-bottom: 0.65rem;
}

.hpd-mock-ppt-slide h4 {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
  color: #c2410c;
}

.hpd-mock-ppt-slide ul {
  margin: 0 0 0.55rem;
  padding-left: 1.1rem;
  font-size: 0.72rem;
  color: #475569;
  line-height: 1.45;
}

.hpd-mock-ppt-chart {
  height: 3.5rem;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffedd5 30%, #fed7aa 30%, #fdba74 55%, #fb923c 55%);
}

.hpd-mock-ppt-dots {
  display: flex;
  gap: 0.35rem;
}

.hpd-mock-ppt-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
}

.hpd-mock-ppt-dots i.is-active {
  background: #ea580c;
  width: 16px;
  border-radius: 999px;
}

.hpd-mock-web {
  height: 100%;
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.hpd-mock-web-bar {
  display: flex;
  gap: 0.25rem;
  padding: 0.45rem 0.55rem;
  background: #f1f5f9;
  border-bottom: 1px solid #e2e8f0;
}

.hpd-mock-web-bar span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #cbd5e1;
}

.hpd-mock-web-hero {
  padding: 0.85rem;
  text-align: center;
  background: linear-gradient(180deg, #ede9fe, #fff);
}

.hpd-mock-web-hero small {
  display: block;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  color: #7c3aed;
  margin-bottom: 0.25rem;
}

.hpd-mock-web-hero h4 {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
}

.hpd-mock-web-hero button {
  border: none;
  border-radius: 999px;
  padding: 0.28rem 0.65rem;
  background: #7c3aed;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
}

.hpd-mock-web-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
  padding: 0.55rem;
}

.hpd-mock-web-grid span {
  height: 2rem;
  border-radius: 6px;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
}

/* —— @ colleague —— */
.hpd-at-workspace {
  max-width: min(1100px, 100%);
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.07);
}

.hpd-at-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1rem;
  border-bottom: 1px solid #f1f5f9;
  background: #f8fafc;
  font-size: 0.78rem;
}

.hpd-at-project {
  font-weight: 700;
  color: #0f172a;
}

.hpd-at-status {
  color: #059669;
  font-weight: 600;
}

.hpd-at-layout {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 0;
}

.hpd-at-chat {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1rem 1.1rem;
  border-right: 1px solid #f1f5f9;
  min-height: 260px;
}

.hpd-at-msg {
  display: grid;
  grid-template-columns: 2rem 1fr;
  grid-template-rows: auto auto;
  gap: 0.15rem 0.55rem;
  align-items: start;
}

.hpd-at-meta {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
}

.hpd-at-meta strong {
  color: #0f172a;
}

.hpd-at-meta time {
  color: #94a3b8;
}

.hpd-at-bubble {
  grid-column: 2;
  padding: 0.65rem 0.85rem;
  border-radius: 14px;
  background: #f1f5f9;
  font-size: 0.82rem;
  line-height: 1.55;
  color: #334155;
}

.hpd-at-msg-user .hpd-at-bubble {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

.hpd-mention {
  font-style: normal;
  font-weight: 700;
  color: #2563eb;
  background: rgba(37, 99, 235, 0.1);
  padding: 0.05rem 0.25rem;
  border-radius: 4px;
}

.hpd-at-typing {
  grid-column: 2;
  margin-left: 2.55rem;
  font-size: 0.72rem;
  color: #94a3b8;
  opacity: 0;
  transition: opacity 0.3s;
}

.hpd-at-typing.is-visible {
  opacity: 1;
}

.hpd-at-msg-peer {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.45s, transform 0.45s;
}

.hpd-at-msg-peer.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hpd-at-composer {
  margin-top: auto;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  font-size: 0.74rem;
  color: #94a3b8;
}

.hpd-at-avatar {
  grid-row: 1 / span 2;
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: #3b82f6;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hpd-at-avatar-peer {
  background: #f59e0b;
}

.hpd-at-sidebar {
  padding: 1rem 0.85rem;
  background: #fafafa;
}

.hpd-at-person {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 0.85rem;
}

.hpd-at-person strong {
  display: block;
  font-size: 0.78rem;
}

.hpd-at-person span {
  font-size: 0.68rem;
  color: #64748b;
}

.hpd-at-sidebar-card {
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid #fde68a;
  background: #fffbeb;
  font-size: 0.72rem;
}

.hpd-at-sidebar-card span {
  display: block;
  color: #92400e;
  margin-bottom: 0.2rem;
}

.hpd-at-sidebar-card strong {
  color: #78350f;
}

/* —— Phone notify —— */
.hpd-phone {
  width: min(260px, 88vw);
  max-width: 100%;
  margin: 0 auto;
  padding: 0.5rem 0.5rem 0.35rem;
  border-radius: 36px;
  border: 3px solid #1e293b;
  background: linear-gradient(180deg, #1e293b, #0f172a);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.35);
  overflow: hidden;
}

.hpd-phone-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem 0.15rem;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 600;
  min-width: 0;
}

.hpd-phone-status > span:first-child {
  flex-shrink: 0;
}

.hpd-phone-signal {
  font-size: 0.62rem;
  opacity: 0.85;
}

.hpd-phone-lock-date {
  text-align: center;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.64rem;
  margin-bottom: 0.65rem;
  padding: 0 0.5rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hpd-phone-screen {
  border-radius: 24px;
  min-height: 340px;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.35), rgba(15, 23, 42, 0.9)), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='1' fill='rgba(255,255,255,0.08)'/%3E%3C/svg%3E");
  padding: 0.85rem 0.55rem;
  overflow: hidden;
}

.hpd-phone-home-bar {
  width: 36%;
  height: 4px;
  margin: 0.45rem auto 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.hpd-notify-stack {
  padding-top: 0.5rem;
}

.hpd-notify-card {
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(-20px) scale(0.94);
  transition: opacity 0.55s, transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.hpd-notify-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hpd-notify-row {
  display: flex;
  gap: 0.55rem;
  padding: 0.65rem 0.65rem;
  min-width: 0;
}

.hpd-notify-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hpd-notify-body {
  flex: 1;
  min-width: 0;
}

.hpd-notify-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.15rem;
}

.hpd-notify-top strong {
  font-size: 0.68rem;
  color: #64748b;
}

.hpd-notify-top time {
  font-size: 0.62rem;
  color: #94a3b8;
}

.hpd-notify-title {
  font-size: 0.74rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.2rem;
  word-break: break-word;
}

.hpd-notify-body p {
  margin: 0 0 0.4rem;
  font-size: 0.68rem;
  line-height: 1.4;
  color: #475569;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.hpd-notify-actions {
  display: flex;
  gap: 0.5rem;
}

.hpd-notify-actions span {
  flex: 1;
  text-align: center;
  padding: 0.35rem;
  border-radius: 8px;
  background: #f1f5f9;
  font-size: 0.68rem;
  font-weight: 600;
  color: #334155;
}

/* —— Enterprise hook —— */
.hpd-scene-hook {
  padding: 1.5rem 2rem;
}

.hpd-hook-banner {
  width: 100%;
  max-width: min(1080px, 100%);
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 28px;
  text-align: center;
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(255, 251, 235, 0.95), transparent 62%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 247, 237, 0.92) 100%);
  border: 1px solid rgba(245, 158, 11, 0.28);
  box-shadow:
    0 4px 12px rgba(245, 158, 11, 0.06),
    0 32px 90px rgba(245, 158, 11, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  transition: opacity 0.85s ease, transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
}

.hpd-hook-banner.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.hpd-hook-eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #b45309;
}

.hpd-hook-title {
  margin: 0 0 1.75rem;
  font-size: clamp(1.65rem, 3.8vw, 2.35rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.hpd-hook-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
  text-align: left;
}

.hpd-hook-card {
  padding: 1.65rem 1.45rem;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.92);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.45s;
}

.hpd-hook-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hpd-hook-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-bottom: 0.85rem;
  border-radius: 12px;
  font-size: 1rem;
  background: rgba(245, 158, 11, 0.12);
  color: #ea580c;
}

.hpd-hook-card h4 {
  margin: 0 0 0.55rem;
  font-size: 1.08rem;
  font-weight: 800;
  color: #0f172a;
}

.hpd-hook-card p {
  margin: 0 0 1.25rem;
  font-size: 0.92rem;
  line-height: 1.65;
  color: #475569;
}

.hpd-hook-personal.is-visible {
  transition-delay: 0.08s;
}

.hpd-hook-enterprise {
  border-color: rgba(245, 158, 11, 0.42);
  background: linear-gradient(165deg, rgba(255, 251, 235, 0.95), rgba(255, 255, 255, 0.98));
}

.hpd-hook-enterprise.is-visible {
  transition-delay: 0.22s;
  box-shadow: 0 16px 48px rgba(245, 158, 11, 0.12);
}

.hpd-hook-btn {
  display: inline-block;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid #cbd5e1;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  color: #334155;
  transition: transform 0.2s, box-shadow 0.2s;
}

.hpd-hook-btn-primary {
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 24px rgba(234, 88, 12, 0.28);
}

/* —— Hero demo dark theme —— */
[data-theme="dark"] .hero-demo-badge {
  background: rgba(120, 53, 15, 0.35);
  border-color: rgba(245, 158, 11, 0.35);
  color: #fcd34d;
}

[data-theme="dark"] .hero-demo-tagline {
  color: #fb923c;
}

[data-theme="dark"] .hpd-composer-bar {
  border-top-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .hpd-mount-btn {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

[data-theme="dark"] .hpd-mount-btn.is-highlight {
  background: rgba(120, 53, 15, 0.35);
  border-color: #f59e0b;
  color: #fcd34d;
}

[data-theme="dark"] .hpd-mount-panel,
[data-theme="dark"] .hpd-panel-head {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}

[data-theme="dark"] .hpd-panel-item {
  color: #cbd5e1;
}

[data-theme="dark"] .hpd-panel-item.is-checked {
  background: rgba(120, 53, 15, 0.25);
}

[data-theme="dark"] .hpd-model-panel {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .hpd-model-head,
[data-theme="dark"] .hpd-model-select {
  color: #e2e8f0;
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .hpd-artifact {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .hpd-artifact strong {
  color: #f1f5f9;
}

[data-theme="dark"] .hpd-artifact span {
  color: #94a3b8;
}

[data-theme="dark"] .hpd-artifact.is-spotlight {
  border-color: #f59e0b;
  box-shadow: 0 20px 50px rgba(245, 158, 11, 0.15);
}

[data-theme="dark"] .hpd-float-frame {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45);
}

[data-theme="dark"] .hpd-float-chrome {
  background: linear-gradient(180deg, #334155, #1e293b);
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .hpd-float-chrome em {
  color: #94a3b8;
}

[data-theme="dark"] .hpd-browser-url {
  background: #0f172a;
  border-color: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
}

[data-theme="dark"] .hpd-doc-stack {
  background: linear-gradient(180deg, #1e3a5f 0%, #0f172a 100%);
}

[data-theme="dark"] .hpd-doc-page-main {
  background: #f8fafc;
}

[data-theme="dark"] .hpd-hook-banner {
  background:
    radial-gradient(ellipse 90% 70% at 50% 0%, rgba(120, 53, 15, 0.45), transparent 62%),
    linear-gradient(165deg, rgba(15, 23, 42, 0.95) 0%, rgba(30, 20, 10, 0.92) 100%);
  border-color: rgba(245, 158, 11, 0.22);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .hpd-hook-eyebrow {
  color: #fcd34d;
}

[data-theme="dark"] .hpd-hook-title {
  color: #f8fafc;
}

[data-theme="dark"] .hpd-hook-card {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .hpd-hook-card h4 {
  color: #f1f5f9;
}

[data-theme="dark"] .hpd-hook-card p {
  color: #94a3b8;
}

[data-theme="dark"] .hpd-hook-enterprise {
  background: linear-gradient(165deg, rgba(120, 53, 15, 0.35), rgba(15, 23, 42, 0.85));
  border-color: rgba(245, 158, 11, 0.3);
}

[data-theme="dark"] .hpd-step {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(255, 255, 255, 0.08);
  color: #94a3b8;
}

[data-theme="dark"] .hpd-step.is-active {
  background: rgba(120, 53, 15, 0.3);
  border-color: rgba(245, 158, 11, 0.4);
  color: #fcd34d;
}

[data-theme="dark"] .hpd-at-workspace,
[data-theme="dark"] .hpd-at-composer {
  background: rgba(15, 23, 42, 0.65);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .hpd-at-bubble {
  background: rgba(30, 41, 59, 0.85);
  color: #e2e8f0;
}

[data-theme="dark"] .hpd-path-preview {
  color: #94a3b8;
}

[data-theme="dark"] .hpd-run-shell {
  background: rgba(15, 23, 42, 0.75);
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .hpd-run-top {
  background: rgba(30, 41, 59, 0.85);
  border-bottom-color: rgba(255, 255, 255, 0.06);
  color: #e2e8f0;
}

[data-theme="dark"] .hpd-run-scroll {
  background: rgba(15, 23, 42, 0.55);
}

[data-theme="dark"] .hpd-run-tree {
  background: rgba(15, 23, 42, 0.65);
  border-right-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .hpd-tree-label,
[data-theme="dark"] .hpd-tree-file span {
  color: #94a3b8;
}

[data-theme="dark"] .hpd-tree-file.is-active span {
  color: #fcd34d;
}

[data-theme="dark"] .hpd-run-msgs {
  color: #cbd5e1;
}

[data-theme="dark"] .hpd-run-msgs li {
  background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .hpd-run-msgs .hpd-run-plan {
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.15), rgba(15, 23, 42, 0.4));
}

[data-theme="dark"] .hpd-run-msgs .hpd-run-ok {
  color: #6ee7b7;
}

[data-theme="dark"] .pill-orch { color: #ddd6fe; }
[data-theme="dark"] .pill-data { color: #a7f3d0; }
[data-theme="dark"] .pill-doc { color: #bae6fd; }
[data-theme="dark"] .pill-verify { color: #fde68a; }

[data-theme="dark"] .tag-user { color: #cbd5e1; }
[data-theme="dark"] .tag-plan { color: #ddd6fe; }
[data-theme="dark"] .tag-orch { color: #ddd6fe; }
[data-theme="dark"] .tag-data { color: #a7f3d0; }
[data-theme="dark"] .tag-doc { color: #bae6fd; }
[data-theme="dark"] .tag-verify { color: #fde68a; }

/* —— Progress steps —— */
.hpd-progress {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 0.65rem;
}

.hpd-step {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  color: #64748b;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}

.hpd-step i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #cbd5e1;
}

.hpd-step.is-active {
  border-color: #fbbf24;
  background: #fffbeb;
  color: #b45309;
  font-weight: 600;
}

.hpd-step.is-active i {
  background: #f59e0b;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.5);
}

@media (max-width: 900px) {
  .hpd-deliver-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hpd-run-body {
    flex-direction: column;
  }
  .hpd-run-tree {
    width: 100%;
    max-height: 120px;
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }

  [data-theme="dark"] .hpd-run-tree {
    border-bottom-color: rgba(255, 255, 255, 0.06);
  }
  .hpd-run-agents-live {
    margin-left: 0;
    width: 100%;
  }
  .hpd-at-layout {
    grid-template-columns: 1fr;
  }
  .hpd-at-chat {
    border-right: none;
    border-bottom: 1px solid #f1f5f9;
  }
  .hpd-hook-grid {
    grid-template-columns: 1fr;
  }
}

/* —— Static sub-page intro —— */
.landing-page-intro {
  padding: 5.5rem 0 2.5rem;
  border-bottom: 1px solid var(--border-subtle);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.95), transparent);
}

.landing-page-intro-title {
  margin: 0.5rem 0 0.75rem;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #0f172a;
}

.landing-page-intro-lead {
  max-width: 720px;
}

[data-theme="dark"] .landing-page-intro-title {
  color: #f8fafc;
}

[data-theme="dark"] .landing-page-intro {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.6), transparent);
}

/* —— Usage docs —— */
.landing-docs-intro {
  padding-top: 5rem;
}

.docs-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
  font-size: 0.82rem;
  color: #64748b;
}

.docs-breadcrumb a {
  color: #2563eb;
  text-decoration: none;
}

.docs-breadcrumb a:hover {
  text-decoration: underline;
}

.docs-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.docs-manual-section {
  padding-top: 0;
  padding-bottom: 3rem;
}

.docs-manual-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
  max-width: 1080px;
}

.docs-manual {
  max-width: 780px;
}

.docs-sidebar-heading {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.docs-tree-group + .docs-tree-group {
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
}

.docs-tree-group-title {
  margin: 0 0 0.45rem;
  padding: 0 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
}

.docs-tree ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.docs-tree li + li {
  margin-top: 0.12rem;
}

.docs-tree a {
  display: block;
  padding: 0.4rem 0.55rem 0.4rem 0.85rem;
  border-left: 2px solid transparent;
  border-radius: 0 8px 8px 0;
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
  line-height: 1.35;
}

.docs-tree a.is-active,
.docs-tree a:hover {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
  border-left-color: #2563eb;
}

.docs-article-section {
  scroll-margin-top: 5.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.docs-article-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.docs-article-section h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  color: #0f172a;
}

.docs-article-section h3 {
  margin: 1.5rem 0 0.65rem;
  font-size: 1.05rem;
  color: #334155;
}

.docs-article-section-manager h2 {
  color: #1e40af;
}

[data-theme="dark"] .docs-article-section h2 {
  color: #f8fafc;
}

[data-theme="dark"] .docs-article-section-manager h2 {
  color: #93c5fd;
}

[data-theme="dark"] .docs-tree a {
  color: #cbd5e1;
}

.docs-manual-lead {
  margin: 0 0 1rem;
  color: #64748b;
  line-height: 1.65;
}

.docs-feature-map {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  margin-top: 1rem;
}

.docs-feature-map article {
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--glass-card, #fff);
}

.docs-feature-map h4 {
  margin: 0 0 0.35rem;
  font-size: 0.92rem;
}

.docs-feature-map p {
  margin: 0;
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.55;
}

[data-theme="dark"] .docs-feature-map article {
  background: rgba(15, 23, 42, 0.85);
  border-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .docs-feature-map {
    grid-template-columns: 1fr;
  }
}

/* Detailed manager resources */
.docs-resources-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1.5rem;
}

.docs-resource-item {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.5rem;
  border-radius: 12px;
  background: var(--glass-card, #fff);
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .docs-resource-item {
  background: rgba(15, 23, 42, 0.55);
  border-color: rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.docs-resource-item:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent, rgba(245, 166, 35, 0.25));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .docs-resource-item:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.docs-resource-content h3 {
  margin: 0 0 0.5rem 0 !important;
  font-size: 1.15rem !important;
  font-weight: 700;
  color: #1e40af;
}

[data-theme="dark"] .docs-resource-content h3 {
  color: #93c5fd;
}

.docs-resource-lead {
  margin: 0 0 0.75rem 0;
  font-size: 0.92rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.5;
}

[data-theme="dark"] .docs-resource-lead {
  color: #e2e8f0;
}

.docs-resource-desc-detail {
  margin: 0;
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.6;
}

[data-theme="dark"] .docs-resource-desc-detail {
  color: #94a3b8;
}

.docs-screenshot-wrap {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: #f1f5f9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .docs-screenshot-wrap {
  border-color: rgba(255, 255, 255, 0.08);
  background: #0f172a;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.docs-screenshot-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-screenshot-zoomable {
  cursor: zoom-in;
}

.landing-screenshot-frame {
  position: relative;
}

.landing-screenshot-zoom-hint {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.72rem;
  color: #e2e8f0;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.landing-screenshot-frame:hover .landing-screenshot-zoom-hint,
.landing-screenshot-frame:focus-within .landing-screenshot-zoom-hint {
  opacity: 1;
  transform: translateY(0);
}

.landing-screenshot-lightbox {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 1.5rem;
}

.landing-screenshot-lightbox.hidden {
  display: none;
}

.landing-screenshot-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(2, 6, 23, 0.88);
  cursor: zoom-out;
}

.landing-screenshot-lightbox-panel {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: min(96vw, 1440px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.landing-screenshot-lightbox-panel img {
  width: 100%;
  max-height: calc(92vh - 3rem);
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  background: #0f172a;
}

.landing-screenshot-lightbox-panel figcaption {
  text-align: center;
  color: #cbd5e1;
  font-size: 0.92rem;
}

.landing-screenshot-lightbox-close {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  color: #f8fafc;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

body.landing-screenshot-lightbox-open {
  overflow: hidden;
}

.docs-resource-item:hover .docs-screenshot-wrap {
  border-color: rgba(245, 166, 35, 0.25);
}

.docs-resource-item:hover .docs-screenshot-wrap img {
  transform: scale(1.012);
}

.docs-hub-card {
  display: block;
  padding: 1.35rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--card-border, rgba(15, 23, 42, 0.08));
  background: var(--glass-card, #fff);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.docs-hub-card:hover {
  border-color: rgba(37, 99, 235, 0.25);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.docs-hub-icon {
  font-size: 1.35rem;
  display: block;
  margin-bottom: 0.5rem;
}

.docs-hub-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
}

.docs-hub-card p {
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
}

.docs-article-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 2rem;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 5.5rem;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid var(--border-subtle);
  background: var(--glass-card);
}

.docs-sidebar h2 {
  margin: 0 0 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #64748b;
}

.docs-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.docs-sidebar li + li {
  margin-top: 0.25rem;
}

.docs-sidebar a {
  display: block;
  padding: 0.42rem 0.55rem;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #334155;
  text-decoration: none;
}

.docs-sidebar a.is-active,
.docs-sidebar a:hover {
  background: rgba(37, 99, 235, 0.08);
  color: #2563eb;
}

.docs-article h2 {
  margin: 1.75rem 0 0.75rem;
  font-size: 1.15rem;
}

.docs-article h2:first-child {
  margin-top: 0;
}

.docs-article p {
  color: #475569;
  line-height: 1.65;
}

.docs-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: docstep;
}

.docs-steps li {
  counter-increment: docstep;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.15rem 0.65rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.docs-steps li::before {
  content: counter(docstep);
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: #eff6ff;
  color: #2563eb;
  font-size: 0.78rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  grid-row: span 2;
}

.docs-steps li strong {
  display: block;
  color: #0f172a;
}

.docs-steps li span {
  grid-column: 2;
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.55;
}

.docs-tips {
  margin: 0.5rem 0 0;
  padding-left: 1.15rem;
  color: #475569;
  line-height: 1.65;
}

.docs-tips li + li {
  margin-top: 0.35rem;
}

.nav-dropdown.is-active > .nav-dropdown-trigger {
  color: #2563eb;
}

@media (max-width: 900px) {
  .docs-hub-grid,
  .docs-article-layout,
  .docs-manual-layout {
    grid-template-columns: 1fr;
  }
  .docs-sidebar {
    position: static;
  }
}

/* —— Business page premium demo —— */
.hero-showcase-subpage {
  min-height: clamp(620px, 86vh, 960px);
  padding-top: 4.5rem;
}

.landing-page-business .hero-showcase-full > .landing-container {
  max-width: min(1520px, calc(100vw - 2rem));
}

.landing-page-business .hero-project-demo {
  flex: 1;
  min-height: 0;
}

.hpd-biz-browser-pane {
  position: relative;
  width: 42%;
  min-width: 260px;
  border-right: 1px solid #f1f5f9;
  background: #fafafa;
  display: flex;
  flex-direction: column;
}

.hpd-biz-browser-form {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.hpd-biz-browser-form h4 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
}

.hpd-biz-browser-form label {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.78rem;
}

.hpd-biz-browser-form label span {
  color: #64748b;
}

.hpd-biz-browser-form label em {
  font-style: normal;
  font-weight: 700;
  color: #0f172a;
}

.hpd-biz-form-submit {
  margin-top: 0.35rem;
  align-self: flex-start;
  border: none;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  opacity: 0.45;
  transition: opacity 0.35s ease, box-shadow 0.35s ease;
}

.hpd-biz-browser-pane.is-step-5 .hpd-biz-form-submit,
.hpd-biz-form-submit.is-pulse {
  opacity: 1;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.hpd-biz-browser-pane.is-submitted .hpd-biz-form-submit {
  background: #059669;
}

.hpd-biz-pa-cursor {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ea580c;
  box-shadow: 0 0 0 4px rgba(234, 88, 12, 0.25);
  left: 72%;
  top: 58%;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.35s ease, transform 0.35s ease, left 0.5s ease, top 0.5s ease;
  pointer-events: none;
}

.hpd-biz-pa-cursor.is-visible {
  opacity: 1;
  transform: scale(1);
}

.hpd-biz-pa-cursor.is-click {
  transform: scale(0.85);
}

.hpd-biz-browser-pane.is-step-3 .hpd-biz-pa-cursor { left: 68%; top: 42%; }
.hpd-biz-browser-pane.is-step-4 .hpd-biz-pa-cursor { left: 28%; top: 78%; }

.hpd-biz-admin {
  display: flex;
  max-width: min(1100px, 100%);
  width: 100%;
  margin: 0 auto;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  min-height: 320px;
}

.hpd-biz-admin-nav {
  width: 168px;
  padding: 0.85rem 0.5rem;
  border-right: 1px solid #f1f5f9;
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.hpd-biz-admin-nav span {
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  cursor: default;
  transition: background 0.25s ease, color 0.25s ease;
}

.hpd-biz-admin-nav span.is-active {
  background: #fff;
  color: #2563eb;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.hpd-biz-admin-main {
  flex: 1;
  padding: 1rem 1.15rem;
}

.hpd-biz-admin-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
}

.hpd-biz-admin-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #059669;
  background: rgba(5, 150, 105, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}

.hpd-biz-admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
}

.hpd-biz-admin-table th,
.hpd-biz-admin-table td {
  padding: 0.55rem 0.45rem;
  text-align: left;
  border-bottom: 1px solid #f1f5f9;
}

.hpd-biz-admin-row.is-highlight {
  background: rgba(37, 99, 235, 0.06);
}

.hpd-biz-status {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
}

.hpd-biz-status.ok {
  background: rgba(5, 150, 105, 0.12);
  color: #047857;
}

.hpd-biz-status.pending {
  background: rgba(245, 158, 11, 0.14);
  color: #b45309;
}

.hpd-biz-approve-btn {
  border: 1px solid #2563eb;
  background: #fff;
  color: #2563eb;
  border-radius: 6px;
  padding: 0.25rem 0.55rem;
  font-size: 0.72rem;
  font-weight: 700;
  transition: background 0.25s ease, color 0.25s ease;
}

.hpd-biz-approve-btn.is-pulse {
  background: #2563eb;
  color: #fff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.2);
}

.hpd-biz-approve-btn.is-done {
  background: #059669;
  border-color: #059669;
  color: #fff;
}

.hpd-biz-policy-shell {
  max-width: min(900px, 100%);
}

.hpd-biz-approval-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(248, 250, 252, 0.82);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 40;
  pointer-events: none;
}

.hpd-biz-approval-overlay.is-show {
  opacity: 1;
  visibility: visible;
}

.hpd-biz-approval-modal {
  width: min(420px, 92%);
  padding: 1.15rem 1.25rem;
  border-radius: 18px;
  border: 1px solid #fecaca;
  background: #fff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.15);
  transform: translateY(12px) scale(0.96);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.hpd-biz-approval-overlay.is-show .hpd-biz-approval-modal {
  transform: translateY(0) scale(1);
}

.hpd-biz-approval-modal.is-approved {
  border-color: #bbf7d0;
}

.hpd-biz-approval-modal header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.hpd-biz-approval-icon {
  font-size: 1.1rem;
}

.hpd-biz-approval-meta {
  margin: 0.65rem 0;
  font-size: 0.78rem;
  color: #64748b;
}

.hpd-biz-approval-meta code {
  margin-left: 0.35rem;
  padding: 0.12rem 0.35rem;
  border-radius: 4px;
  background: #f1f5f9;
  color: #0f172a;
}

.hpd-biz-approval-mention {
  font-size: 0.82rem;
  margin-bottom: 0.85rem;
}

.hpd-biz-approval-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
}

.hpd-biz-approval-actions button {
  border-radius: 8px;
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  border: 1px solid #e2e8f0;
  background: #fff;
}

.hpd-biz-approval-actions .is-allow {
  background: #059669;
  border-color: #059669;
  color: #fff;
}

.hpd-biz-approval-actions .is-allow.is-pulse {
  box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.25);
}

.hpd-biz-audit {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1rem;
  max-width: min(1100px, 100%);
  width: 100%;
  margin: 0 auto;
}

.hpd-biz-cdp,
.hpd-biz-audit-log {
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.hpd-biz-cdp header,
.hpd-biz-audit-log header {
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.78rem;
  font-weight: 700;
  color: #334155;
}

.hpd-biz-cdp-steps {
  list-style: none;
  margin: 0;
  padding: 0.75rem;
}

.hpd-biz-cdp-steps li {
  position: relative;
  padding: 0.45rem 0.45rem 0.45rem 1.5rem;
  font-size: 0.76rem;
  color: #64748b;
  border-radius: 8px;
  transition: background 0.3s ease, color 0.3s ease;
}

.hpd-biz-cdp-steps li::before {
  content: "";
  position: absolute;
  left: 0.45rem;
  top: 0.72rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #cbd5e1;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.hpd-biz-cdp-steps li.is-active {
  background: rgba(37, 99, 235, 0.06);
  color: #0f172a;
  font-weight: 600;
}

.hpd-biz-cdp-steps li.is-active::before {
  background: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.15);
}

.hpd-biz-audit-lines {
  list-style: none;
  margin: 0;
  padding: 0.75rem;
}

.hpd-biz-audit-lines li {
  padding: 0.45rem 0.55rem;
  margin-bottom: 0.35rem;
  border-radius: 8px;
  background: #f8fafc;
  font-size: 0.74rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color: #334155;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.hpd-biz-audit-lines li.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hpd-biz-sso {
  max-width: min(900px, 100%);
  margin: 0 auto 1rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  border: 1px solid rgba(5, 150, 105, 0.2);
  background: linear-gradient(135deg, #f0fdf4, #eff6ff);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.hpd-biz-sso.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hpd-biz-sso-badge {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  background: #059669;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.hpd-biz-sso-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.65rem;
}

.hpd-biz-sso-chips i {
  font-style: normal;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.hpd-biz-deploy-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  max-width: min(1100px, 100%);
  margin: 0 auto;
}

.hpd-biz-deploy-card {
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.35s ease;
}

.hpd-biz-deploy-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hpd-biz-deploy-card.is-featured.is-visible {
  border-color: rgba(245, 158, 11, 0.35);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.12);
}

.hpd-biz-deploy-card span {
  font-size: 1.25rem;
}

.hpd-biz-hook-banner {
  max-width: min(820px, 100%);
  margin: 0 auto;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.hpd-biz-hook-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.hpd-biz-hook-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  text-align: left;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hpd-biz-hook-list li {
  padding: 0.45rem 0;
  font-size: 0.92rem;
  color: #475569;
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.hpd-biz-hook-list li.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.hpd-biz-hook-list li::before {
  content: "✓";
  color: #059669;
  font-weight: 800;
  margin-right: 0.5rem;
}

.hpd-biz-hook-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  margin-top: 1.25rem;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.hpd-biz-hook-actions.is-visible {
  opacity: 1;
}

[data-theme="dark"] .hpd-biz-admin,
[data-theme="dark"] .hpd-biz-cdp,
[data-theme="dark"] .hpd-biz-audit-log,
[data-theme="dark"] .hpd-biz-deploy-card,
[data-theme="dark"] .hpd-biz-browser-form label,
[data-theme="dark"] .hpd-biz-approval-modal {
  background: rgba(15, 23, 42, 0.88);
  border-color: rgba(255, 255, 255, 0.08);
}

@media (max-width: 900px) {
  .hpd-biz-audit,
  .hpd-biz-deploy-cards {
    grid-template-columns: 1fr;
  }
  .hpd-biz-admin {
    flex-direction: column;
  }
  .hpd-biz-admin-nav {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .hpd-run-body {
    flex-direction: column;
  }
  .hpd-biz-browser-pane {
    width: 100%;
    min-height: 220px;
  }
}
@media (max-width: 900px) {
  .hpd-biz-split,
  .hpd-biz-govern-grid,
  .hpd-trust-runtime-grid,
  .hpd-trust-deploy-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero-showcase-full {
    padding-top: 4.5rem;
    min-height: auto;
  }
  .hero-showcase-subpage {
    min-height: auto;
    padding-top: 4.5rem;
  }
  .hpd-viewport {
    min-height: 420px;
  }
  .hpd-scene {
    padding: 1rem;
  }
  .hpd-mount-row {
    max-width: calc(100% - 2.75rem);
  }
  .hpd-progress {
    gap: 0.25rem;
  }
  .hpd-step-label {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hpd-scene,
  .hpd-run-msgs li,
  .hpd-artifact,
  .hpd-float-card,
  .hpd-hook-banner,
  .hpd-hook-card,
  .hpd-notify-card,
  .hpd-at-msg-peer,
  .hpd-run-dot,
  .hpd-caret,
  .hpd-launch.is-pulse {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Landing home: project entry hero --- */
.landing-home-hero {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 4.5rem);
  display: flex;
  align-items: center;
  padding: 4.5rem 0 3rem;
}

.landing-home-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.landing-home-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold-light, #f5a623);
  border: 1px solid var(--card-border-glow);
  background: rgba(245, 166, 35, 0.08);
  margin-bottom: 1rem;
}

.landing-home-title {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15;
  margin: 0 0 0.75rem;
  font-weight: 700;
}

.landing-home-lead {
  margin: 0 auto 2rem;
  max-width: 36rem;
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(243, 244, 246, 0.78);
}

[data-theme="light"] .landing-home-lead {
  color: rgba(15, 23, 42, 0.72);
}

.landing-home-composer-box {
  position: relative;
  text-align: left;
  border-radius: 18px;
  border: 1px solid var(--card-border-glow);
  background: var(--glass-card);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.landing-home-prompt {
  width: 100%;
  min-height: 120px;
  border: 0;
  resize: vertical;
  padding: 1.15rem 4rem 1.15rem 1.15rem;
  font: inherit;
  font-size: 1rem;
  line-height: 1.55;
  background: transparent;
  color: inherit;
  box-sizing: border-box;
}

.landing-home-prompt:focus {
  outline: none;
}

.landing-home-prompt.is-shake {
  animation: landing-home-shake 0.35s ease;
}

@keyframes landing-home-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

.landing-home-submit {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 700;
  color: #111;
  background: linear-gradient(135deg, #f5a623, #ffcc66);
  box-shadow: 0 8px 24px rgba(245, 166, 35, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.landing-home-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(245, 166, 35, 0.45);
}

.landing-home-hint {
  margin: 0.65rem 0 0;
  font-size: 0.82rem;
  text-align: center;
}

.landing-home-types {
  margin-top: 1.75rem;
}

.landing-home-types-label {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.65rem;
  color: rgba(243, 244, 246, 0.55);
}

[data-theme="light"] .landing-home-types-label {
  color: rgba(15, 23, 42, 0.55);
}

.landing-home-type-rail {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.landing-home-type-chip {
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.landing-home-type-chip:hover {
  border-color: var(--card-border-glow);
}

.landing-home-type-chip.active {
  border-color: rgba(245, 166, 35, 0.55);
  background: rgba(245, 166, 35, 0.12);
  color: var(--gold-light, #f5a623);
}

.landing-home-enterprise {
  position: relative;
  z-index: 1;
  padding: 0 0 4rem;
}

.landing-home-enterprise-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
  padding: 2rem 2.25rem;
  border-radius: 20px;
  border: 1px solid var(--card-border);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(245, 166, 35, 0.06));
}

.landing-home-enterprise-card h2 {
  margin: 0.35rem 0 0.75rem;
  font-size: 1.5rem;
}

.landing-home-enterprise-card p {
  margin: 0;
  line-height: 1.65;
  color: rgba(243, 244, 246, 0.75);
}

[data-theme="light"] .landing-home-enterprise-card p {
  color: rgba(15, 23, 42, 0.72);
}

.landing-home-enterprise-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.landing-home-enterprise-points {
  margin: 0;
  padding-left: 1.1rem;
  line-height: 1.8;
  color: rgba(243, 244, 246, 0.8);
}

[data-theme="light"] .landing-home-enterprise-points {
  color: rgba(15, 23, 42, 0.78);
}

.business-value-section {
  padding-top: 3rem;
}

.business-value-head {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 2.5rem;
}

.business-value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.business-value-card {
  padding: 1.35rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--card-border);
  background: var(--glass-card);
  transition: border-color 0.2s, transform 0.2s;
}

.business-value-card:hover {
  border-color: var(--card-border-glow);
  transform: translateY(-2px);
}

.business-value-icon {
  font-size: 1.35rem;
  display: block;
  margin-bottom: 0.65rem;
}

.business-value-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

.business-value-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(243, 244, 246, 0.72);
}

[data-theme="light"] .business-value-card p {
  color: rgba(15, 23, 42, 0.68);
}

.business-outcomes-section {
  padding-top: 1rem;
  padding-bottom: 3rem;
}

.business-outcomes-head {
  text-align: center;
  margin-bottom: 1.75rem;
}

.business-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.business-outcome-card {
  padding: 1.1rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--card-border);
  background: rgba(255, 255, 255, 0.03);
}

.business-outcome-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-light, #f5a623);
  margin-bottom: 0.5rem;
}

.business-outcome-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .landing-home-enterprise-card {
    grid-template-columns: 1fr;
  }
  .business-value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .business-outcomes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .landing-home-hero {
    min-height: auto;
    padding-top: 5rem;
  }
  .business-value-grid,
  .business-outcomes-grid {
    grid-template-columns: 1fr;
  }
}

