/* =============================================================================
   FlowEngine Studio - Enterprise Product Website Design System
   Aesthetic: Ultra-Refined Dark Cybernetic Product OS (Stripe/Linear/Vercel Tier)
============================================================================= */

:root,
[data-theme="dark"] {
  /* Surface Layers (Deep Obsidian Slate Palette) */
  --bg-base: #07090E;
  --bg-surface: #0D111A;
  --bg-surface-elevated: #131926;
  --bg-surface-hover: #1A2234;
  --bg-glass: rgba(13, 17, 26, 0.85);
  --bg-input: #0A0D15;

  /* Precision Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.24);
  --border-cyan: rgba(0, 240, 255, 0.35);
  --border-emerald: rgba(16, 185, 129, 0.35);

  /* Enterprise Accents */
  --cyan-primary: #00F0FF;
  --cyan-subtle: rgba(0, 240, 255, 0.08);
  --cyan-glow: rgba(0, 240, 255, 0.2);
  
  --emerald-primary: #10B981;
  --emerald-subtle: rgba(16, 185, 129, 0.08);
  --emerald-glow: rgba(16, 185, 129, 0.2);

  --indigo-primary: #818CF8;
  --indigo-subtle: rgba(129, 140, 248, 0.08);

  --amber-primary: #F59E0B;
  --amber-subtle: rgba(245, 158, 11, 0.08);

  --rose-primary: #F43F5E;
  --rose-subtle: rgba(244, 63, 94, 0.08);

  /* Typography */
  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-dim: #475569;
  --text-inverse: #07090E;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', var(--font-sans);
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Radii & Elevation */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 6px 24px -2px rgba(0, 0, 0, 0.65);
  --shadow-lg: 0 16px 48px -4px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 25px var(--cyan-glow);

  --transition-fast: 0.14s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
  /* Surface Layers (Crisp Modern Light Slate & Pure White Palette) */
  --bg-base: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #F1F5F9;
  --bg-surface-hover: #E2E8F0;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --bg-input: #FFFFFF;

  /* Precision Borders */
  --border-subtle: rgba(15, 23, 42, 0.08);
  --border-medium: rgba(15, 23, 42, 0.14);
  --border-strong: rgba(15, 23, 42, 0.22);
  --border-cyan: rgba(2, 132, 199, 0.35);
  --border-emerald: rgba(5, 150, 105, 0.35);

  /* Enterprise Accents (Calibrated for crisp contrast on light backgrounds) */
  --cyan-primary: #0284C7;
  --cyan-subtle: rgba(2, 132, 199, 0.08);
  --cyan-glow: rgba(2, 132, 199, 0.14);
  
  --emerald-primary: #059669;
  --emerald-subtle: rgba(5, 150, 105, 0.08);
  --emerald-glow: rgba(5, 150, 105, 0.14);

  --indigo-primary: #4F46E5;
  --indigo-subtle: rgba(79, 70, 229, 0.08);

  --amber-primary: #D97706;
  --amber-subtle: rgba(217, 119, 6, 0.08);

  --rose-primary: #E11D48;
  --rose-subtle: rgba(225, 29, 72, 0.08);

  /* Typography */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-dim: #94A3B8;
  --text-inverse: #FFFFFF;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 16px -2px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 16px 36px -4px rgba(15, 23, 42, 0.10);
  --shadow-glow: 0 0 20px rgba(2, 132, 199, 0.12);
}

[data-theme="light"] .btn-primary {
  background: linear-gradient(135deg, #0284C7, #0369A1);
  color: #FFFFFF;
  box-shadow: 0 2px 10px rgba(2, 132, 199, 0.25);
}
[data-theme="light"] .btn-primary:hover {
  background: linear-gradient(135deg, #0369A1, #075985);
  box-shadow: 0 4px 18px rgba(2, 132, 199, 0.35);
}
[data-theme="light"] .gradient-text {
  background: linear-gradient(135deg, #0284C7 0%, #059669 50%, #4F46E5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
[data-theme="light"] .flow-canvas-container {
  background: #F1F5F9;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(2, 132, 199, 0.05) 0%, transparent 80%),
    linear-gradient(to right, rgba(15, 23, 42, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.06) 1px, transparent 1px);
}
[data-theme="light"] .dag-edge {
  stroke: rgba(15, 23, 42, 0.25);
}
[data-theme="light"] .node-header {
  background: rgba(15, 23, 42, 0.03);
}
[data-theme="light"] .badge-idle {
  background: rgba(15, 23, 42, 0.06);
  color: var(--text-secondary);
}
[data-theme="light"] .mcp-terminal-card,
[data-theme="light"] .ast-code-block,
[data-theme="light"] .json-viewer,
[data-theme="light"] .log-stream {
  background: #090D16;
  color: #E2E8F0;
  border-color: var(--border-subtle);
}
[data-theme="light"] .terminal-header {
  background: rgba(0, 0, 0, 0.3);
}
[data-theme="light"] .hero-stat,
[data-theme="light"] .stat-item {
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

/* Base Reset & Core Layout */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: auto;
  scroll-padding-top: 85px;
  overflow-x: clip;
  width: 100%;
  -webkit-text-size-adjust: 100%;
}

section[id], div[id] {
  scroll-margin-top: 85px;
}

/* Instant Navigation Section Flash Glow */
@keyframes sectionTargetGlow {
  0% {
    outline: 2px solid var(--cyan-primary);
    box-shadow: 0 0 30px var(--cyan-glow), inset 0 0 15px rgba(0, 240, 255, 0.08);
  }
  100% {
    outline: 2px solid transparent;
    box-shadow: none;
  }
}

.section-target-highlight {
  animation: sectionTargetGlow 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

body.product-page {
  width: 100%;
  min-height: 100vh;
  background-color: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

@supports not (overflow-x: clip) {
  html, body.product-page {
    overflow-x: hidden;
  }
}

/* Ambient Background Aura */
.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
  transition: opacity var(--transition-smooth);
}
.bg-glow-1 {
  top: -10%;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
}
.bg-glow-2 {
  top: 35%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--indigo-subtle) 0%, transparent 70%);
}
.bg-glow-3 {
  bottom: -10%;
  left: 15%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, var(--emerald-subtle) 0%, transparent 70%);
}

[data-theme="light"] .bg-glow {
  opacity: 0.4;
  filter: blur(160px);
}
[data-theme="light"] .bg-glow-1 {
  background: radial-gradient(circle, rgba(2, 132, 199, 0.12) 0%, transparent 70%);
}
[data-theme="light"] .bg-glow-2 {
  background: radial-gradient(circle, rgba(99, 102, 241, 0.09) 0%, transparent 70%);
}
[data-theme="light"] .bg-glow-3 {
  background: radial-gradient(circle, rgba(5, 150, 105, 0.09) 0%, transparent 70%);
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}
[data-theme="light"] .grid-overlay {
  background-image: 
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
}

#product-site-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow: visible;
}

/* =============================================================================
   TOP ANNOUNCEMENT BANNER
============================================================================= */
.top-announcement-bar {
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.45rem 1.5rem;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 99;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}
.announcement-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}
.announcement-badge {
  background: var(--amber-subtle);
  color: var(--amber-primary);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
}
.announcement-text {
  color: var(--text-secondary);
}
.announcement-link {
  color: var(--cyan-primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color var(--transition-fast);
}
.announcement-link:hover {
  text-decoration: underline;
  color: var(--cyan-primary);
}

/* =============================================================================
   NAVIGATION LOADER & FEEDBACK SYSTEM
============================================================================= */
.top-nav-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #00F0FF, #10B981, #818CF8);
  box-shadow: 0 0 10px #00F0FF, 0 0 4px #10B981;
  z-index: 99999;
  pointer-events: none;
  opacity: 0;
  transition: width 0.12s ease-out, opacity 0.1s ease;
}

[data-theme="light"] .top-nav-loader {
  background: linear-gradient(90deg, #0284C7, #059669, #4F46E5);
  box-shadow: 0 0 8px rgba(2, 132, 199, 0.45);
}

.top-nav-loader.loading {
  opacity: 1;
}

.top-nav-loader.complete {
  width: 100% !important;
  opacity: 0;
  transition: width 0.08s ease, opacity 0.15s ease 0.06s;
}

/* Floating Navigation Indicator Toast */
.nav-feedback-toast {
  position: fixed;
  top: 68px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-cyan);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35), 0 0 16px var(--cyan-glow);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.45rem;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.12s ease-out;
}

.nav-feedback-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.nav-feedback-spinner {
  width: 13px;
  height: 13px;
  border: 2px solid var(--border-cyan);
  border-top-color: var(--cyan-primary);
  border-radius: 50%;
  animation: spinNavLoader 0.6s linear infinite;
  flex-shrink: 0;
}

@keyframes spinNavLoader {
  to { transform: rotate(360deg); }
}

.nav-item:active,
.mobile-nav-item:active,
.nav-item.nav-clicked,
.mobile-nav-item.nav-clicked {
  transform: scale(0.95);
  opacity: 0.9;
}

/* =============================================================================
   STICKY SITE HEADER
============================================================================= */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0.75rem 2rem;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
  will-change: transform;
}
.site-header.is-scrolled {
  background: rgba(10, 15, 26, 0.94);
  border-bottom-color: var(--border-medium);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}
[data-theme="light"] .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--border-medium);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.brand-logo-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.12), rgba(16, 185, 129, 0.12));
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.brand-logo-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;
}
.brand-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}
.brand-accent {
  color: var(--cyan-primary);
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav-item {
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.38rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  white-space: nowrap;
}
.nav-item:hover {
  color: var(--text-primary);
  background: var(--bg-surface-hover);
  border-color: var(--border-subtle);
}
.nav-item.active {
  color: var(--cyan-primary);
  background: var(--cyan-subtle);
  border-color: var(--border-cyan);
  font-weight: 700;
  box-shadow: 0 0 12px var(--cyan-glow);
}
[data-theme="light"] .nav-item.active {
  color: var(--cyan-primary);
  background: var(--cyan-subtle);
  border-color: var(--border-cyan);
  box-shadow: 0 1px 4px rgba(2, 132, 199, 0.15);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Theme Switcher Button */
.btn-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}
.btn-theme-toggle:hover {
  color: var(--text-primary);
  background: var(--bg-surface-hover);
  border-color: var(--border-strong);
}
.theme-icon-sun, .theme-icon-moon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
[data-theme="dark"] .theme-icon-sun { display: none; }
[data-theme="dark"] .theme-icon-moon { display: inline-block; color: var(--amber-primary); }
[data-theme="light"] .theme-icon-sun { display: inline-block; color: var(--amber-primary); }
[data-theme="light"] .theme-icon-moon { display: none; }
:root:not([data-theme="light"]) .theme-icon-sun { display: none; }
:root:not([data-theme="light"]) .theme-icon-moon { display: inline-block; color: var(--amber-primary); }

.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  position: relative;
}
.mobile-nav-toggle .icon-close {
  display: none;
}
.mobile-nav-toggle.open .icon-hamburger {
  display: none;
}
.mobile-nav-toggle.open .icon-close {
  display: block;
}

.mobile-nav-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1rem 1.25rem 1.5rem 1.25rem;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-medium);
  background: rgba(13, 19, 33, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5);
  animation: slideDown 0.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  max-height: calc(100dvh - 65px);
  max-height: calc(100vh - 65px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 1001;
}
[data-theme="light"] .mobile-nav-menu {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}
.mobile-nav-menu.open {
  display: flex;
}
.mobile-nav-item {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-xs);
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}
.mobile-nav-item:hover {
  color: var(--text-primary);
  background: var(--bg-surface-hover);
}
.mobile-nav-item.active {
  color: var(--cyan-primary);
  background: var(--cyan-subtle);
  border-color: var(--border-cyan);
  font-weight: 700;
}
.mobile-nav-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-sm { padding: 0.4rem 0.75rem; font-size: 0.78rem; }
.btn-md { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn-lg { padding: 0.75rem 1.5rem; font-size: 0.92rem; border-radius: var(--radius-md); }
.btn-primary {
  background: linear-gradient(135deg, #00F0FF, #00B4D8);
  color: #07090E;
  font-weight: 700;
  box-shadow: 0 2px 12px rgba(0, 240, 255, 0.25);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #26F4FF, #00C8EE);
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.4);
  transform: translateY(-1px);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: scale(0.97) !important;
  transition: transform 0.04s ease-out !important;
}
.btn-secondary {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}
.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-medium);
}
.btn-block { width: 100%; }
.btn-icon {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  padding: 0.3rem;
  border-radius: var(--radius-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-icon:hover { color: var(--text-primary); background: var(--bg-surface-hover); }

/* Typography */
.gradient-text {
  background: linear-gradient(135deg, #00F0FF 0%, #10B981 55%, #818CF8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.gradient-cyan { color: var(--cyan-primary); }
.gradient-emerald { color: var(--emerald-primary); }
.gradient-indigo { color: #818CF8; }
.gradient-amber { color: var(--amber-primary); }

/* =============================================================================
   SECTION 1: HERO
============================================================================= */
.hero-section {
  padding: 4.5rem 1.5rem 3.5rem 1.5rem;
  text-align: center;
  position: relative;
}
.hero-container {
  max-width: 1060px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.release-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}
.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan-primary);
  box-shadow: 0 0 8px var(--cyan-primary);
}
.pill-action {
  color: var(--cyan-primary);
  font-weight: 700;
}
.hero-headline {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 850;
  line-height: 1.1;
  letter-spacing: -0.035em;
  margin-bottom: 1.35rem;
}
.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 820px;
  margin-bottom: 2.25rem;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  width: 100%;
  margin-bottom: 3.5rem;
}
.stat-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: left;
  transition: all var(--transition-fast);
}
.stat-item:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}
.stat-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}
.stat-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.tech-stack-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}
.proof-title {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.proof-logos {
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
  justify-content: center;
}
.proof-pill {
  font-size: 0.74rem;
  font-weight: 600;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
}

/* =============================================================================
   SECTION 2: PRODUCT SANDBOX
============================================================================= */
.product-sandbox-section {
  padding: 4rem 1.5rem;
  position: relative;
}
.section-container-wide {
  max-width: 1240px;
  margin: 0 auto;
}
.sandbox-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.section-badge {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--cyan-primary);
  background: var(--cyan-subtle);
  border: 1px solid var(--border-cyan);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 0.5rem;
  letter-spacing: 0.06em;
}
.sandbox-main-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 0.35rem;
}
.sandbox-main-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  max-width: 600px;
}

.sandbox-nav-tabs {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.25rem;
  gap: 0.25rem;
}
.sandbox-tab {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.sandbox-tab svg { color: var(--text-muted); }
.sandbox-tab:hover { color: var(--text-primary); background: var(--bg-surface-hover); }
.sandbox-tab.active {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
}
.sandbox-tab.active svg { color: var(--cyan-primary); }
.tab-highlight-pill {
  font-size: 0.55rem;
  padding: 0.1rem 0.35rem;
  border-radius: var(--radius-xs);
  background: var(--emerald-subtle);
  border: 1px solid var(--border-emerald);
  color: var(--emerald-primary);
  font-weight: 800;
}

.product-app-frame {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  overflow: hidden;
}
.sandbox-panel {
  display: none;
  opacity: 0;
  transition: opacity var(--transition-smooth);
}
.sandbox-panel.active {
  display: block;
  opacity: 1;
}

/* =============================================================================
   MODULE 1: VISUAL DAG STYLING
============================================================================= */
.studio-sub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-subtle);
}
.sub-header-info {
  flex: 1;
  min-width: 0;
}
.sub-header-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
}
.sub-header-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 0.2rem;
}
.sub-header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.sub-header-buttons {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.route-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--bg-base);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.65rem;
  font-size: 0.74rem;
}
.route-method { color: var(--emerald-primary); font-weight: 700; font-family: var(--font-mono); }
.route-path { font-family: var(--font-mono); color: var(--text-primary); }
.route-status {
  font-size: 0.62rem;
  background: var(--emerald-subtle);
  color: var(--emerald-primary);
  padding: 0.1rem 0.35rem;
  border-radius: var(--radius-xs);
  font-weight: 700;
}

/* Dedicated Workflow Governance Strip */
.flow-governance-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.85rem;
  margin-bottom: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}
.gov-strip-left,
.gov-strip-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.flow-builder-layout {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.flow-canvas-container {
  position: relative;
  height: 440px;
  background: #090C13;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(20, 27, 40, 0.6) 0%, transparent 80%),
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 100% 100%, 24px 24px, 24px 24px;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.canvas-controls-toolbar {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.canvas-status-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  pointer-events: auto;
}
.canvas-zoom-group {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 0.15rem 0.45rem;
  pointer-events: auto;
}
.canvas-pill {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-surface);
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
}
.active-pill { color: var(--cyan-primary); border-color: var(--border-cyan); }
.canvas-zoom-group {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 0.15rem 0.45rem;
}
.tool-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-weight: bold;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
}
.tool-btn:hover { color: var(--text-primary); }
.zoom-level { font-size: 0.68rem; color: var(--text-muted); font-family: var(--font-mono); }

.canvas-svg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}
.dag-edge {
  fill: none;
  stroke: var(--border-strong);
  stroke-width: 2.5;
  stroke-dasharray: 4 4;
  transition: all var(--transition-smooth);
}
.dag-edge.edge-active {
  stroke: var(--cyan-primary);
  stroke-width: 3;
  stroke-dasharray: none;
  filter: drop-shadow(0 0 6px var(--cyan-primary));
}

.nodes-layer {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 0 1.5rem;
  z-index: 5;
}
.dag-node {
  position: relative;
  width: 190px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.dag-node:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
}
.dag-node.active-select {
  border-color: var(--cyan-primary);
  box-shadow: 0 0 16px var(--cyan-glow);
}
.dag-node.node-running {
  border-color: var(--amber-primary);
  box-shadow: 0 0 18px var(--amber-glow);
}
.dag-node.node-success {
  border-color: var(--emerald-primary);
  box-shadow: 0 0 18px var(--emerald-glow);
}

.node-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
}
.node-icon-box {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
}
.node-title-wrap { flex: 1; }
.node-kind {
  font-size: 0.5rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  display: block;
}
.node-title {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.node-status-badge {
  font-size: 0.55rem;
  font-weight: 800;
  padding: 0.12rem 0.35rem;
  border-radius: var(--radius-xs);
}
.badge-idle { background: var(--bg-surface-hover); color: var(--text-muted); }
.badge-running { background: var(--amber-primary); color: var(--text-inverse); }
.badge-success { background: var(--emerald-primary); color: var(--text-inverse); }

.node-body {
  padding: 0.6rem 0.65rem;
  font-size: 0.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.node-prop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-secondary);
}
.node-prop code {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  background: var(--bg-input);
  padding: 0.1rem 0.25rem;
  border-radius: var(--radius-xs);
  color: var(--cyan-primary);
  border: 1px solid var(--border-subtle);
}
.node-port {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan-primary);
  border: 2px solid var(--bg-surface);
  box-shadow: 0 0 4px var(--cyan-primary);
}
.port-left { left: -5px; }
.port-right { right: -5px; }

/* Inspector Bottom Panel */
.flow-inspector-panel {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 230px;
}
.inspector-tabs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.75rem;
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-subtle);
}
.insp-tab {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.insp-tab:hover { color: var(--text-primary); }
.insp-tab.active { color: var(--cyan-primary); background: var(--cyan-subtle); }
.pulse-mini {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--cyan-primary);
}
.inspector-content {
  flex: 1;
  overflow-y: auto;
  padding: 0.85rem;
}
.insp-pane { display: none; height: 100%; }
.insp-pane.active { display: block; }
.waterfall-list { display: flex; flex-direction: column; gap: 0.35rem; }
.waterfall-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 0.75rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  font-size: 0.75rem;
}
.wf-left { display: flex; align-items: center; gap: 0.5rem; }
.wf-step-num { font-family: var(--font-mono); color: var(--text-muted); font-size: 0.68rem; }
.wf-name { font-weight: 600; color: var(--text-primary); }
.wf-latency { font-family: var(--font-mono); color: var(--emerald-primary); font-weight: 600; font-size: 0.7rem; }
.empty-state-row { justify-content: center; color: var(--text-muted); font-size: 0.78rem; padding: 1.5rem; }
.json-viewer {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: #E2E8F0;
  background: #090D16;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 0.85rem;
  line-height: 1.5;
  white-space: pre-wrap;
}
.log-stream {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  background: #090D16;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 0.85rem;
}
.log-line { color: #94A3B8; }
.log-info { color: var(--cyan-primary); }

/* =============================================================================
   MODULE 2: PAGE DESIGNER STYLING
============================================================================= */
.designer-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.85rem;
  margin-bottom: 0.75rem;
}
.designer-left-meta { display: flex; align-items: center; gap: 1.25rem; }
.designer-title-group { display: flex; flex-direction: column; }
.designer-badge { font-size: 0.58rem; font-weight: 800; color: var(--emerald-primary); letter-spacing: 0.05em; }
.designer-page-name { font-family: var(--font-heading); font-size: 0.95rem; font-weight: 700; }
.designer-archetype-select-wrap { display: flex; align-items: center; gap: 0.45rem; font-size: 0.74rem; color: var(--text-secondary); }
.custom-select-sm {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.28rem 0.6rem;
  border-radius: var(--radius-xs);
  font-size: 0.74rem;
  font-weight: 600;
  cursor: pointer;
}

.viewport-toggle-group {
  display: flex;
  align-items: center;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 0.15rem;
}
.vp-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.32rem 0.7rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.vp-btn:hover { color: var(--text-primary); }
.vp-btn.active { background: var(--bg-surface); color: var(--text-primary); box-shadow: var(--shadow-sm); }
.vp-btn.active svg { color: var(--cyan-primary); }

.designer-right-actions { display: flex; align-items: center; gap: 0.55rem; }
.compiler-speed-badge {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  color: var(--emerald-primary);
  background: var(--emerald-subtle);
  border: 1px solid var(--border-emerald);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
}

.designer-workbench {
  display: grid;
  grid-template-columns: 230px 1fr 270px;
  gap: 0.75rem;
  height: 560px;
}
.designer-sidebar {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.sidebar-tab-header {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
}
.side-tab {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.5rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.side-tab:hover { color: var(--text-primary); }
.side-tab.active { color: var(--cyan-primary); border-bottom-color: var(--cyan-primary); background: var(--cyan-subtle); }
.side-tab-content { display: none; flex: 1; overflow-y: auto; padding: 0.75rem; }
.side-tab-content.active { display: block; }

.catalog-group { margin-bottom: 1rem; }
.catalog-group-title {
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 0.4rem;
}
.catalog-items-grid { display: grid; grid-template-columns: 1fr; gap: 0.3rem; }
.catalog-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.55rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 500;
  transition: all var(--transition-fast);
}
.catalog-item svg { color: var(--text-muted); }
.catalog-item:hover { background: var(--bg-surface-hover); border-color: var(--border-medium); transform: translateX(2px); }
.catalog-item:hover svg { color: var(--cyan-primary); }

.tree-container { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.72rem; }
.tree-node {
  padding: 0.32rem 0.45rem;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  color: var(--text-secondary);
}
.tree-node:hover { background: var(--bg-surface-hover); color: var(--text-primary); }
.tree-node.selected { background: var(--cyan-subtle); color: var(--cyan-primary); border: 1px solid var(--border-cyan); font-weight: 600; }

.designer-canvas-area {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: auto;
  padding: 1rem;
}
.device-viewport-frame {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: width 0.25s ease;
  overflow: hidden;
}
.desktop-viewport { width: 100%; max-width: 980px; height: 100%; }
.tablet-viewport { width: 720px; height: 95%; }
.mobile-viewport { width: 360px; height: 95%; }

.viewport-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.75rem;
  background: var(--bg-surface-hover);
  border-bottom: 1px solid var(--border-subtle);
}
.chrome-dots { display: flex; gap: 0.3rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; }
.dot.red { background: #EF4444; }
.dot.yellow { background: #F59E0B; }
.dot.green { background: #10B981; }
.chrome-address-bar {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted);
  background: var(--bg-input);
  padding: 0.12rem 0.85rem;
  border-radius: var(--radius-full);
}
.chrome-mode-pill { font-size: 0.6rem; font-weight: 700; color: var(--cyan-primary); }

.canvas-render-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.rendered-component { position: relative; cursor: pointer; transition: all var(--transition-fast); }
.rendered-component:hover { outline: 1px dashed rgba(0, 240, 255, 0.4); }
.rendered-component.comp-selected { outline: 2px solid var(--cyan-primary); box-shadow: 0 0 10px var(--cyan-glow); }

.canvas-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }
.canvas-stat-card { background: var(--bg-surface-elevated); border: 1px solid var(--border-subtle); border-radius: var(--radius-xs); padding: 0.95rem; }
.canvas-stat-header { display: flex; justify-content: space-between; align-items: center; font-size: 0.7rem; color: var(--text-muted); margin-bottom: 0.35rem; }
.canvas-stat-val { font-size: 1.45rem; font-weight: 800; font-family: var(--font-heading); color: var(--text-primary); letter-spacing: -0.02em; }
.canvas-stat-badge { font-size: 0.6rem; font-weight: 700; padding: 0.1rem 0.35rem; border-radius: var(--radius-xs); }
.badge-up { background: var(--emerald-subtle); color: var(--emerald-primary); border: 1px solid var(--border-emerald); }

.canvas-table-card { background: var(--bg-surface-elevated); border: 1px solid var(--border-subtle); border-radius: var(--radius-xs); overflow: hidden; }
.canvas-table-header { display: flex; justify-content: space-between; align-items: center; padding: 0.65rem 0.85rem; border-bottom: 1px solid var(--border-subtle); }
.canvas-table-title { font-size: 0.8rem; font-weight: 700; }
.canvas-mock-table { width: 100%; border-collapse: collapse; font-size: 0.72rem; text-align: left; }
.canvas-mock-table th { padding: 0.5rem 0.85rem; background: var(--bg-surface-hover); color: var(--text-muted); font-size: 0.65rem; text-transform: uppercase; font-weight: 700; }
.canvas-mock-table td { padding: 0.55rem 0.85rem; border-bottom: 1px solid var(--border-subtle); color: var(--text-secondary); }
.canvas-action-btn {
  background: var(--cyan-subtle);
  border: 1px solid var(--border-cyan);
  color: var(--cyan-primary);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.18rem 0.5rem;
  border-radius: var(--radius-xs);
  cursor: pointer;
}

.right-sidebar { display: flex; flex-direction: column; }
.inspector-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface-hover);
}
.insp-badge { font-size: 0.55rem; font-weight: 800; color: var(--cyan-primary); letter-spacing: 0.05em; display: block; }
.insp-selected-title { font-size: 0.8rem; font-weight: 700; }
.inspector-scroll-body { flex: 1; overflow-y: auto; padding: 0.75rem; }
.prop-section { margin-bottom: 1.1rem; border-bottom: 1px solid var(--border-subtle); padding-bottom: 0.85rem; }
.prop-section:last-child { border-bottom: none; }
.prop-section-header { font-size: 0.62rem; font-weight: 800; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.55rem; }
.binding-tip { font-size: 0.65rem; color: var(--cyan-primary); margin-bottom: 0.45rem; }
.binding-tip code { background: var(--cyan-subtle); padding: 0.1rem 0.25rem; border-radius: var(--radius-xs); }
.prop-row { display: flex; flex-direction: column; gap: 0.2rem; margin-bottom: 0.55rem; }
.prop-row label { font-size: 0.68rem; color: var(--text-secondary); font-weight: 600; }
.prop-input, .prop-select {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.35rem 0.5rem;
  border-radius: var(--radius-xs);
  font-size: 0.72rem;
}
.code-font { font-family: var(--font-mono); font-size: 0.7rem; }
.prop-row-dual { display: grid; grid-template-columns: 1fr 1fr; gap: 0.35rem; margin-bottom: 0.55rem; }
.checkbox-label { display: flex; align-items: center; gap: 0.4rem; font-size: 0.7rem; cursor: pointer; color: var(--text-secondary); }

.ast-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.ast-modal-overlay.active { display: flex; }
.ast-modal-card {
  width: 100%;
  max-width: 740px;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  max-height: 80vh;
}
.ast-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 0.75rem 1.1rem; border-bottom: 1px solid var(--border-subtle); }
.ast-header-title { display: flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 0.82rem; }
.tag-ast { font-size: 0.58rem; font-weight: 800; background: var(--indigo-primary); color: #fff; padding: 0.1rem 0.35rem; border-radius: var(--radius-xs); }
.ast-code-block { padding: 1.1rem; font-family: var(--font-mono); font-size: 0.7rem; color: #E2E8F0; background: #090D16; overflow: auto; line-height: 1.5; }

/* =============================================================================
   MODULE 3: MCP PLAYGROUND STYLING
============================================================================= */
.mcp-official-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.7rem;
  background: var(--indigo-subtle);
  border: 1px solid rgba(99, 102, 241, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  color: #818CF8;
  margin-bottom: 0.4rem;
}
.mcp-layout-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 1rem; }
.mcp-control-card { background: var(--bg-surface-elevated); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: 1.25rem; display: flex; flex-direction: column; }
.card-title { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; margin-bottom: 0.25rem; }
.card-desc { font-size: 0.78rem; color: var(--text-secondary); line-height: 1.45; margin-bottom: 1rem; }
.prompt-presets-list { display: flex; flex-direction: column; gap: 0.45rem; margin-bottom: 1rem; }
.preset-btn {
  text-align: left;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xs);
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 0.12rem;
  transition: all var(--transition-fast);
}
.preset-btn:hover { background: var(--bg-surface-hover); border-color: var(--border-medium); }
.preset-btn.active { background: var(--indigo-subtle); border-color: var(--indigo-primary); }
.preset-name { font-size: 0.76rem; font-weight: 700; color: var(--text-primary); }
.preset-meta { font-size: 0.65rem; font-family: var(--font-mono); color: var(--cyan-primary); }
.custom-prompt-input-group { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 1rem; }
.custom-prompt-input-group label { font-size: 0.7rem; font-weight: 600; color: var(--text-secondary); }
.prompt-textarea { background: var(--bg-input); border: 1px solid var(--border-subtle); border-radius: var(--radius-xs); padding: 0.55rem; font-family: var(--font-sans); font-size: 0.75rem; color: var(--text-primary); resize: vertical; }

.mcp-terminal-card {
  background: #05080E;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 480px;
}
.terminal-header { display: flex; align-items: center; justify-content: space-between; padding: 0.5rem 0.75rem; background: rgba(0, 0, 0, 0.4); border-bottom: 1px solid var(--border-subtle); }
.terminal-dots { display: flex; gap: 0.3rem; }
.terminal-title { font-family: var(--font-mono); font-size: 0.7rem; color: var(--text-muted); }
.terminal-badge { font-size: 0.55rem; font-weight: 800; color: var(--emerald-primary); background: var(--emerald-subtle); padding: 0.1rem 0.35rem; border-radius: var(--radius-xs); }
.terminal-body { flex: 1; overflow-y: auto; padding: 0.85rem; font-family: var(--font-mono); font-size: 0.72rem; line-height: 1.5; display: flex; flex-direction: column; gap: 0.28rem; }
.t-line { white-space: pre-wrap; word-break: break-all; }
.t-comment { color: var(--text-muted); }
.t-prompt { color: var(--emerald-primary); }
.t-tool-call { color: var(--cyan-primary); font-weight: 600; }
.t-success { color: var(--emerald-primary); }

/* =============================================================================
   MODULE 4: SCHEMA STUDIO STYLING
============================================================================= */
.erd-db-pill { font-size: 0.7rem; font-weight: 700; color: var(--emerald-primary); background: var(--emerald-subtle); border: 1px solid var(--border-emerald); padding: 0.25rem 0.7rem; border-radius: var(--radius-full); }
.erd-layout { display: flex; flex-direction: column; gap: 1rem; }
.erd-canvas-container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.85rem; padding: 1.25rem; background: var(--bg-surface-elevated); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); min-height: 340px; }
.erd-table-card { background: var(--bg-surface); border: 1px solid var(--border-medium); border-radius: var(--radius-xs); overflow: hidden; height: fit-content; }
.erd-table-header { display: flex; align-items: center; gap: 0.4rem; padding: 0.55rem 0.75rem; background: var(--bg-surface-hover); border-bottom: 1px solid var(--border-subtle); font-weight: 700; font-size: 0.78rem; }
.erd-columns { display: flex; flex-direction: column; font-family: var(--font-mono); font-size: 0.7rem; }
.erd-col { padding: 0.4rem 0.75rem; border-bottom: 1px solid var(--border-subtle); display: flex; align-items: center; gap: 0.4rem; }
.key-badge { font-size: 0.52rem; font-weight: 800; padding: 0.08rem 0.25rem; border-radius: var(--radius-xs); }
.pk .key-badge { background: var(--amber-primary); color: var(--text-inverse); }
.fk .key-badge { background: var(--cyan-primary); color: var(--text-inverse); }

.query-advisor-card { background: var(--bg-surface-elevated); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); padding: 1.1rem; }
.advisor-title { font-family: var(--font-heading); font-size: 0.98rem; font-weight: 700; margin-bottom: 0.55rem; }
.advisor-recommendation { background: var(--bg-input); border: 1px solid rgba(245, 158, 11, 0.3); border-radius: var(--radius-xs); padding: 0.75rem 0.95rem; font-size: 0.78rem; line-height: 1.5; }
.adv-badge { display: inline-block; font-size: 0.58rem; font-weight: 800; background: var(--amber-primary); color: var(--text-inverse); padding: 0.1rem 0.32rem; border-radius: var(--radius-xs); margin-bottom: 0.4rem; }
.advisor-recommendation code { display: block; margin-top: 0.55rem; font-family: var(--font-mono); font-size: 0.68rem; background: var(--bg-surface); border: 1px solid var(--border-subtle); padding: 0.45rem; border-radius: var(--radius-xs); color: var(--emerald-primary); }

/* =============================================================================
   SECTION 3: BENTO GRID PRODUCT FEATURES
============================================================================= */
.features-section { padding: 5rem 1.5rem; }
.section-container { max-width: 1160px; margin: 0 auto; width: 100%; }
.section-header { text-align: center; margin-bottom: 2.75rem; }
.section-pill {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--cyan-primary);
  background: var(--cyan-subtle);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-cyan);
  display: inline-block;
  margin-bottom: 0.65rem;
}
.section-title { font-family: var(--font-heading); font-size: 2.2rem; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 0.65rem; }
.section-subtitle { color: var(--text-secondary); font-size: 1rem; max-width: 620px; margin: 0 auto; line-height: 1.55; }

.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.bento-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}
.bento-card:hover { border-color: var(--border-medium); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.bento-span-2 { grid-column: span 2; }
.bento-span-3 { grid-column: span 3; }
.bento-badge { font-size: 0.62rem; font-weight: 800; color: var(--cyan-primary); letter-spacing: 0.06em; margin-bottom: 0.65rem; }
.bento-title { font-family: var(--font-heading); font-size: 1.3rem; font-weight: 750; margin-bottom: 0.65rem; letter-spacing: -0.015em; }
.bento-desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1.25rem; flex: 1; }

.bento-preview-pill { display: flex; align-items: center; gap: 0.5rem; background: var(--bg-surface-elevated); border: 1px solid var(--border-subtle); padding: 0.4rem 0.75rem; border-radius: var(--radius-xs); font-family: var(--font-mono); font-size: 0.72rem; }
.bento-speed-stat { display: flex; flex-direction: column; background: var(--bg-surface-elevated); padding: 0.75rem; border-radius: var(--radius-xs); border: 1px solid var(--border-subtle); }
.speed-num { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 800; line-height: 1; }
.speed-label { font-size: 0.7rem; color: var(--text-muted); margin-top: 0.2rem; }
.mcp-chip-list { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.mcp-chip-list code { font-family: var(--font-mono); font-size: 0.68rem; background: var(--indigo-subtle); color: #818CF8; border: 1px solid rgba(99, 102, 241, 0.25); padding: 0.2rem 0.5rem; border-radius: var(--radius-xs); }
.dialect-pills-row { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.dialect-tag { font-size: 0.72rem; font-weight: 600; background: var(--bg-surface-elevated); border: 1px solid var(--border-subtle); padding: 0.25rem 0.65rem; border-radius: var(--radius-full); color: var(--text-primary); }

/* =============================================================================
   SECTION 4: BENEFITS & DEVELOPER PRODUCTIVITY
============================================================================= */
.benefits-section { padding: 4.5rem 1.5rem; }
.benefits-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.benefit-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}
.benefit-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.benefit-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-xs);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.benefit-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.benefit-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =============================================================================
   SECTION 5: ARCHITECTURE COMPARISON TABLE
============================================================================= */
.comparison-section { padding: 4.5rem 1.5rem; background: var(--bg-surface-elevated); border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); }
.comparison-table-card { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.product-matrix-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.85rem; }
.product-matrix-table th { padding: 1.1rem 1.5rem; background: var(--bg-surface-hover); border-bottom: 1px solid var(--border-subtle); font-size: 0.82rem; font-weight: 700; color: var(--text-primary); }
.product-matrix-table th.flowengine-col { background: var(--cyan-subtle); color: var(--cyan-primary); border-left: 1px solid var(--border-cyan); border-right: 1px solid var(--border-cyan); }
.table-subhead { font-size: 0.7rem; font-weight: 500; color: var(--text-muted); }
.product-matrix-table td { padding: 1rem 1.5rem; border-bottom: 1px solid var(--border-subtle); color: var(--text-secondary); line-height: 1.5; }
.product-matrix-table td.flowengine-col { background: var(--cyan-subtle); border-left: 1px solid var(--border-cyan); border-right: 1px solid var(--border-cyan); color: var(--text-primary); font-weight: 500; }
.highlight-val { color: var(--cyan-primary); font-weight: 700; }

/* =============================================================================
   SECTION 6: GET STARTED CTA BANNER
============================================================================= */
.product-cta-banner-section, .summit-cta-banner-section { padding: 4rem 1.5rem 5rem 1.5rem; }
.product-cta-card, .summit-cta-card {
  background: linear-gradient(135deg, var(--bg-surface-elevated), var(--bg-surface));
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-lg);
}
.product-pill, .summit-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.25rem 0.75rem;
  background: var(--emerald-subtle);
  border: 1px solid var(--border-emerald);
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--emerald-primary);
  margin-bottom: 0.75rem;
}
.product-cta-title, .summit-cta-title { font-family: var(--font-heading); font-size: 1.85rem; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.product-cta-desc, .summit-cta-desc { font-size: 0.92rem; color: var(--text-secondary); max-width: 600px; line-height: 1.55; }
.product-cta-right, .summit-cta-right { display: flex; flex-direction: column; gap: 0.75rem; min-width: 260px; }

/* =============================================================================
   SITE FOOTER
============================================================================= */
.site-footer {
  background: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-subtle);
  padding: 4rem 1.5rem 2rem 1.5rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
}
.footer-container { max-width: 1160px; margin: 0 auto; }
.footer-top-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
.footer-brand-col { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-brand-title { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 800; color: var(--text-primary); }
.footer-brand-desc { font-size: 0.8rem; color: var(--text-muted); line-height: 1.5; max-width: 340px; }
.footer-engine-status {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--emerald-primary);
  margin-top: 0.5rem;
}
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background-color: var(--emerald-primary); }

.footer-links-col { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col-title { font-family: var(--font-heading); font-size: 0.75rem; font-weight: 800; color: var(--text-primary); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.25rem; }
.footer-links-col a, .footer-text-btn {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: color var(--transition-fast);
}
.footer-links-col a:hover, .footer-text-btn:hover { color: var(--cyan-primary); }

.footer-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 1.5rem;
  font-size: 0.74rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-meta-tags { display: flex; gap: 1rem; }

/* =============================================================================
   PITCH DECK PRESENTATION OVERLAY
============================================================================= */
.deck-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg-base);
  color: var(--text-primary);
  flex-direction: column;
}
.deck-overlay.active { display: flex; }
.deck-top-bar { display: flex; align-items: center; justify-content: space-between; padding: 0.85rem 2rem; background: var(--bg-surface); border-bottom: 1px solid var(--border-subtle); color: var(--text-primary); }
.deck-brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 700; font-size: 0.9rem; }
.deck-progress { font-family: var(--font-mono); font-size: 0.8rem; color: var(--cyan-primary); font-weight: 600; }
.deck-close-btn { font-size: 1.15rem; color: var(--text-secondary); }
.deck-close-btn:hover { color: var(--text-primary); }
.deck-slides-wrapper { flex: 1; display: flex; align-items: center; justify-content: center; padding: 2.5rem; position: relative; overflow: hidden; }
.deck-slide { display: none; width: 100%; max-width: 1050px; }
.deck-slide.active { display: block; animation: slideFade 0.08s ease-out forwards; }
@keyframes slideFade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.deck-badge-large, .summit-badge-large { display: inline-block; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; color: var(--amber-primary); background: var(--amber-subtle); border: 1px solid rgba(245, 158, 11, 0.3); padding: 0.3rem 0.85rem; border-radius: var(--radius-full); margin-bottom: 1.25rem; }
.slide-category { font-size: 0.75rem; font-weight: 800; letter-spacing: 0.08em; color: var(--cyan-primary); text-transform: uppercase; margin-bottom: 0.65rem; }
.slide-headline { font-family: var(--font-heading); font-size: 3rem; font-weight: 850; line-height: 1.12; letter-spacing: -0.03em; margin-bottom: 0.85rem; color: var(--text-primary); }
.slide-subheadline { font-family: var(--font-heading); font-size: 1.85rem; font-weight: 750; margin-bottom: 1.25rem; }
.slide-lead { font-size: 1.15rem; color: var(--text-secondary); line-height: 1.6; max-width: 840px; margin-bottom: 1.75rem; }
.slide-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}
.deck-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 0.95rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-fast);
}
.deck-tag-chip:hover {
  border-color: var(--border-medium);
  transform: translateY(-1px);
}
.tag-chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
}
.tag-chip-icon.icon-cyan {
  background: rgba(0, 240, 255, 0.12);
  color: var(--cyan-primary);
  border: 1px solid rgba(0, 240, 255, 0.25);
}
.tag-chip-icon.icon-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: var(--emerald-primary);
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.tag-chip-icon.icon-indigo {
  background: rgba(99, 102, 241, 0.12);
  color: var(--indigo-primary);
  border: 1px solid rgba(99, 102, 241, 0.25);
}
.tag-chip-label {
  letter-spacing: -0.01em;
}
.slide-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.slide-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.slide-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-bottom: 1.75rem; }
.slide-card { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 1.75rem; }
.slide-card h3 { font-family: var(--font-heading); font-size: 1.15rem; font-weight: 750; margin-bottom: 0.65rem; color: var(--text-primary); }
.slide-card p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.5; }
.slide-bullets { margin-top: 0.85rem; padding-left: 1.15rem; color: var(--text-secondary); font-size: 0.85rem; line-height: 1.55; }
.card-num { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 800; color: var(--cyan-primary); margin-bottom: 0.45rem; }
.stat-box { background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 1.5rem; text-align: center; }
.stat-number { font-family: var(--font-heading); font-size: 2.35rem; font-weight: 850; margin-bottom: 0.3rem; letter-spacing: -0.02em; }
.stat-label { font-size: 0.78rem; font-weight: 600; color: var(--text-secondary); }
.enterprise-check-list { display: flex; justify-content: space-around; padding: 1rem; background: var(--bg-surface-elevated); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); font-weight: 600; font-size: 0.82rem; color: var(--emerald-primary); }
.mcp-flow-diagram { display: flex; align-items: center; justify-content: space-between; gap: 0.85rem; margin-top: 1.75rem; }
.mcp-step-box { flex: 1; background: var(--bg-surface); border: 1px solid var(--border-subtle); border-radius: var(--radius-md); padding: 1.25rem; text-align: center; }
.step-num { font-size: 0.68rem; font-weight: 800; color: var(--text-muted); text-transform: uppercase; }
.step-title { font-family: var(--font-mono); font-size: 0.88rem; font-weight: 700; color: var(--cyan-primary); margin: 0.35rem 0; }
.step-desc { font-size: 0.75rem; color: var(--text-secondary); }
.mcp-arrow { font-size: 1.25rem; color: var(--text-muted); }
.cta-card { background: var(--bg-surface); border: 1px solid var(--border-cyan); border-radius: var(--radius-lg); padding: 2rem; display: flex; align-items: center; justify-content: space-between; }
.cta-info { display: flex; flex-direction: column; gap: 0.45rem; font-size: 0.95rem; }

/* =============================================================================
   DECK SLIDE 8: CREATOR & LEAD ARCHITECT SHOWCASE
============================================================================= */
.deck-creator-card {
  background: linear-gradient(145deg, rgba(13, 17, 26, 0.95), rgba(7, 9, 14, 0.98));
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.85rem;
  box-shadow: 0 16px 40px -8px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 240, 255, 0.08);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(14px);
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

[data-theme="light"] .deck-creator-card {
  background: linear-gradient(145deg, #FFFFFF, #F8FAFC);
  border: 1px solid rgba(2, 132, 199, 0.3);
  box-shadow: 0 14px 36px -6px rgba(15, 23, 42, 0.08), 0 0 24px rgba(2, 132, 199, 0.08);
}

.deck-creator-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, var(--cyan-glow) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

.deck-creator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.deck-creator-profile {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.deck-creator-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.deck-creator-avatar-ring {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  padding: 2.5px;
  background: linear-gradient(135deg, #00F0FF, #10B981, #818CF8);
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="light"] .deck-creator-avatar-ring {
  background: linear-gradient(135deg, #0284C7, #059669, #4F46E5);
  box-shadow: 0 0 16px rgba(2, 132, 199, 0.25);
}

.deck-creator-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--cyan-primary);
  letter-spacing: -0.04em;
  overflow: hidden;
}

.deck-creator-titles {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.deck-creator-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 850;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.deck-creator-role {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.deck-creator-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.deck-role-badge {
  font-size: 0.66rem;
  font-weight: 750;
  color: var(--cyan-primary);
  background: var(--cyan-subtle);
  border: 1px solid var(--border-cyan);
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.deck-tech-badge {
  font-size: 0.66rem;
  font-weight: 600;
  color: var(--emerald-primary);
  background: var(--emerald-subtle);
  border: 1px solid var(--border-emerald);
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
}

.deck-creator-links {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

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

.deck-pillar-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.85rem 0.95rem;
  transition: all var(--transition-fast);
  display: flex;
  flex-direction: column;
}

[data-theme="light"] .deck-pillar-card {
  background: #F8FAFC;
  border-color: rgba(15, 23, 42, 0.08);
}

.deck-pillar-card:hover {
  border-color: var(--border-cyan);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.deck-pillar-icon {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.45rem;
}

.deck-pillar-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 750;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  line-height: 1.25;
}

.deck-pillar-desc {
  font-size: 0.72rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.deck-creator-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.deck-footer-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.deck-creator-stamp {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.stamp-dot {
  color: var(--cyan-primary);
}
.deck-controls { display: flex; align-items: center; justify-content: space-between; padding: 1rem 2.5rem; background: var(--bg-surface); border-top: 1px solid var(--border-subtle); }
.deck-nav-btn { background: var(--bg-surface-elevated); border: 1px solid var(--border-medium); color: var(--text-primary); font-size: 0.82rem; font-weight: 600; padding: 0.5rem 1rem; border-radius: var(--radius-sm); cursor: pointer; }
.deck-nav-btn:hover { background: var(--bg-surface-hover); }
.deck-dots { display: flex; gap: 0.45rem; }
.deck-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--border-strong); cursor: pointer; transition: all var(--transition-fast); }
.deck-dot.active { background: var(--cyan-primary); box-shadow: 0 0 8px var(--cyan-glow); transform: scale(1.15); }

/* Lead Modal */
.lead-modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(8px); z-index: 2000; align-items: center; justify-content: center; padding: 2rem; }
.lead-modal-overlay.active { display: flex; }
.lead-modal-card { width: 100%; max-width: 480px; background: var(--bg-surface); border: 1px solid var(--border-medium); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.lead-modal-header { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--border-subtle); }
.lead-modal-header h3 { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; }
.lead-modal-body { padding: 1.5rem; }
.lead-modal-body p { font-size: 0.8rem; color: var(--text-secondary); margin-bottom: 1.1rem; line-height: 1.5; }
.form-row { display: flex; flex-direction: column; gap: 0.28rem; margin-bottom: 0.85rem; }
.form-row label { font-size: 0.72rem; font-weight: 600; color: var(--text-secondary); }

/* =============================================================================
   COMPREHENSIVE RESPONSIVE DESIGN SYSTEM
============================================================================= */

/* Medium Laptops & Desktops (1025px - 1240px) */
@media (min-width: 1025px) and (max-width: 1240px) {
  .site-header {
    padding: 0.65rem 1rem;
  }
  .header-inner {
    gap: 0.65rem;
  }
  .site-nav {
    gap: 0.18rem;
  }
  .nav-item {
    font-size: 0.74rem;
    padding: 0.32rem 0.48rem;
  }
  #btn-open-deck span {
    display: none;
  }
  .theme-toggle-label {
    display: none;
  }
}

/* 1. Tablet Devices (max-width: 1024px) - Portrait & Landscape iPads & Tablets */
@media (max-width: 1024px) {
  /* Header & Navigation */
  .site-header {
    padding: 0.65rem 1.25rem;
  }
  .header-inner {
    gap: 1rem;
  }
  .site-nav {
    display: none !important;
  }
  .mobile-nav-toggle {
    display: inline-flex !important;
  }
  #btn-open-deck span {
    display: none;
  }
  #btn-open-deck {
    padding: 0.45rem 0.65rem;
  }
  .theme-toggle-label {
    display: none;
  }
  .top-announcement-bar {
    padding: 0.4rem 1rem;
    font-size: 0.72rem;
  }
  .announcement-content {
    gap: 0.5rem;
    justify-content: center;
    text-align: center;
  }

  /* Hero Section */
  .hero-section {
    padding: 3.5rem 1.5rem 2.5rem 1.5rem;
  }
  .hero-headline {
    font-size: 2.75rem;
    line-height: 1.15;
  }
  .hero-description {
    font-size: 1.05rem;
    max-width: 680px;
    margin: 0 auto 1.75rem auto;
  }
  .hero-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 720px;
    margin: 0 auto;
  }
  .hero-cta-row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.85rem;
    width: auto;
  }
  .hero-cta-row .btn {
    width: auto;
    min-width: 170px;
  }

  /* Interactive Sandbox Tabs */
  .product-sandbox-section {
    padding: 3rem 1.25rem;
  }
  .sandbox-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .sandbox-nav-tabs {
    width: 100%;
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.35rem;
    padding: 0.3rem;
    scrollbar-width: none;
  }
  .sandbox-nav-tabs::-webkit-scrollbar {
    display: none;
  }
  .sandbox-tab {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 0.45rem 0.85rem;
    font-size: 0.76rem;
  }

  /* Module 1: Visual DAG Sub-header */
  .studio-sub-header {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
  }
  .sub-header-info {
    flex: 1 1 260px;
  }
  .sub-header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
  }
  .flow-canvas-container {
    height: 460px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nodes-layer {
    min-width: 1080px;
  }
  .canvas-svg-layer {
    min-width: 1080px;
  }
  .flow-inspector-panel {
    height: 260px;
  }

  /* Module 2: Page Designer Studio */
  .designer-workbench {
    grid-template-columns: 210px 1fr;
    gap: 0.75rem;
    height: auto;
    min-height: 520px;
  }
  .designer-sidebar {
    height: 520px;
  }
  .right-sidebar {
    grid-column: span 2;
    height: auto;
    max-height: 280px;
  }
  .designer-top-bar {
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  /* Module 3: AI Code Copilot Workbench */
  .copilot-workbench {
    grid-template-columns: 280px 1fr;
    gap: 1rem;
    min-height: 480px;
  }

  /* Module 4: Enterprise Report Studio */
  .report-studio-workbench {
    grid-template-columns: 280px 1fr;
    gap: 1rem;
    min-height: 500px;
  }

  /* Module 5: Agent Cockpit & MCP Terminal */
  .mcp-layout-grid {
    grid-template-columns: 280px 1fr;
    gap: 1rem;
  }
  .mcp-terminal-card {
    height: 420px;
  }
  .erd-canvas-container {
    grid-template-columns: repeat(2, 1fr);
    padding: 0.85rem;
  }

  /* Section 2: What We Built (Bento Grid) - Tablet 2-Column Layout */
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
  .bento-span-3 {
    grid-column: span 2;
  }
  .bento-span-2 {
    grid-column: span 2;
  }
  .bento-card {
    padding: 1.5rem;
  }

  /* Section 3: Benefits Grid - Tablet 2-Column Layout */
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
  .benefit-card {
    padding: 1.5rem;
  }

  /* Section 4: Architecture Comparison Table */
  .comparison-section {
    padding: 3.5rem 1.25rem;
  }
  .comparison-table-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .product-matrix-table {
    min-width: 680px;
  }
  .product-matrix-table th, .product-matrix-table td {
    padding: 0.85rem 1rem;
    font-size: 0.78rem;
  }

  /* Section 5: CTA Banner */
  .product-cta-banner-section {
    padding: 3rem 1.25rem 4rem 1.25rem;
  }
  .product-cta-card, .summit-cta-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2.25rem 2rem;
  }
  .product-cta-right {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    width: 100%;
  }

  /* Section 6: Designed by Syed Noor Mohseen */
  .creator-section {
    padding: 4rem 1.25rem;
  }
  .creator-spotlight-card {
    padding: 2.5rem 2rem;
  }
  .creator-header-grid {
    grid-template-columns: auto 1fr;
    gap: 1.5rem;
    align-items: center;
    text-align: left;
  }
  .creator-avatar-wrap {
    margin: 0;
  }
  .creator-contact-row {
    justify-content: flex-start;
    gap: 0.75rem;
  }
  .creator-achievements-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  /* Footer */
  .site-footer {
    padding: 3rem 1.5rem 2rem 1.5rem;
  }
  .footer-top-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .footer-bottom-row {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  /* Presentation Deck Overlay */
  .deck-top-bar {
    padding: 0.75rem 1.5rem;
  }
  .deck-slides-wrapper {
    padding: 1.75rem 1.5rem;
    align-items: center;
    overflow-y: auto;
  }
  .deck-slide {
    max-width: 900px;
  }
  .slide-headline {
    font-size: 2.35rem;
  }
  .slide-subheadline {
    font-size: 1.45rem;
  }
  .slide-lead {
    font-size: 1.05rem;
  }
  .slide-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .slide-grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.85rem;
  }
  .slide-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
  }
  .deck-creator-card {
    padding: 1.4rem 1.6rem;
  }
  .deck-creator-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  .deck-creator-pillars {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
  .deck-creator-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
}

/* 2. Mobile Phones & Phablets (max-width: 767px) */
@media (max-width: 767px) {
  .site-header {
    padding: 0.65rem 1rem;
  }
  .top-announcement-bar {
    padding: 0.4rem 0.75rem;
    font-size: 0.7rem;
  }
  .hero-section {
    padding: 3rem 1rem 2.5rem 1rem;
  }
  .hero-headline {
    font-size: 2.15rem;
  }
  .hero-description {
    font-size: 0.98rem;
  }
  .hero-stats-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .hero-cta-row {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }
  .hero-cta-row .btn {
    width: 100%;
    justify-content: center;
  }

  /* Interactive Sandbox Header & Tabs */
  .product-sandbox-section {
    padding: 2.5rem 0.85rem;
  }
  .sandbox-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .sandbox-nav-tabs {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0.2rem;
    justify-content: flex-start;
  }
  .sandbox-tab {
    white-space: nowrap;
    padding: 0.4rem 0.65rem;
    font-size: 0.72rem;
    flex-shrink: 0;
  }

  /* Module 1: Sub-header Responsive Layout */
  .studio-sub-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
  }
  .sub-header-info {
    width: 100%;
  }
  .sub-header-title {
    font-size: 1.05rem;
    line-height: 1.35;
  }
  .sub-header-desc {
    font-size: 0.78rem;
    line-height: 1.45;
  }
  .sub-header-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }
  .route-badge {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.45rem 0.75rem;
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    box-sizing: border-box;
  }
  .route-path {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.72rem;
    max-width: calc(100% - 150px);
  }
  .route-method {
    font-size: 0.72rem;
    font-weight: 800;
  }
  .route-status {
    font-size: 0.62rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .sub-header-buttons {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  .sub-header-buttons .btn {
    flex: 1 1 50%;
    justify-content: center;
    padding: 0.55rem 0.75rem;
    font-size: 0.78rem;
    white-space: nowrap;
  }

  .flow-governance-strip {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.65rem;
  }
  .gov-strip-left,
  .gov-strip-right {
    width: 100%;
    justify-content: space-between;
  }
  .gov-strip-right .btn,
  .gov-strip-left .pill-action-btn {
    flex: 1 1 auto;
    justify-content: center;
    font-size: 0.72rem;
  }

  /* Module 1: Flow Canvas Horizontal Scroll */
  .flow-canvas-container {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    height: 420px;
  }
  .flow-canvas-container::-webkit-scrollbar {
    height: 5px;
  }
  .flow-canvas-container::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: var(--radius-full);
  }
  .flow-inspector-panel {
    height: 260px;
  }

  /* Module 2: Page Designer */
  .designer-workbench {
    grid-template-columns: 1fr;
    height: auto;
  }
  .designer-sidebar {
    height: 320px;
  }
  .right-sidebar {
    grid-column: span 1;
    height: auto;
    max-height: 400px;
  }
  .designer-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
  .designer-left-meta {
    width: 100%;
    justify-content: space-between;
  }
  .viewport-toggle-group {
    width: 100%;
    justify-content: space-around;
  }
  .designer-right-actions {
    width: 100%;
    justify-content: flex-end;
  }
  .device-viewport-frame {
    width: 100% !important;
    max-width: 100% !important;
  }
  .desktop-viewport, .tablet-viewport, .mobile-viewport {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 420px;
  }
  .canvas-stat-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  /* Module 3: MCP Agent & Copilot & Reports */
  .copilot-workbench, .report-studio-workbench, .mcp-layout-grid {
    grid-template-columns: 1fr;
  }
  .mcp-control-card {
    padding: 1rem;
  }
  .mcp-terminal-card {
    height: 380px;
  }

  /* Module 4: Schema Studio */
  .erd-canvas-container {
    grid-template-columns: 1fr;
    padding: 0.85rem;
    min-height: auto;
  }

  /* Features & Benefits */
  .features-section, .benefits-section {
    padding: 3rem 1rem;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .bento-grid, .benefits-grid {
    grid-template-columns: 1fr;
  }
  .bento-span-3, .bento-span-2 {
    grid-column: span 1;
  }
  .bento-card, .benefit-card {
    padding: 1.25rem;
  }

  /* Comparison Matrix Horizontal Scroll */
  .comparison-section {
    padding: 3rem 1rem;
  }
  .comparison-table-card {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .product-matrix-table {
    min-width: 640px;
  }
  .product-matrix-table th, .product-matrix-table td {
    padding: 0.75rem 0.85rem;
    font-size: 0.75rem;
  }

  /* CTA Banner */
  .product-cta-banner-section {
    padding: 2.5rem 1rem 3.5rem 1rem;
  }
  .product-cta-card {
    padding: 1.5rem;
  }
  .product-cta-title {
    font-size: 1.45rem;
  }
  .product-cta-right {
    width: 100%;
  }
  .product-cta-right .btn {
    width: 100%;
    justify-content: center;
  }

  /* Creator Spotlight Section */
  .creator-section {
    padding: 3rem 1rem;
  }
  .creator-spotlight-card {
    padding: 2rem 1.25rem;
  }
  .creator-header-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .creator-avatar-wrap {
    margin: 0 auto;
  }
  .creator-contact-row {
    justify-content: center;
  }
  .creator-achievements-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .site-footer {
    padding: 2.5rem 1rem 1.5rem 1rem;
  }
  .footer-top-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }
  .footer-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  /* Presentation Deck Overlay */
  .deck-top-bar {
    padding: 0.65rem 1rem;
  }
  .deck-slides-wrapper {
    padding: 1rem;
    align-items: flex-start;
    overflow-y: auto;
  }
  .slide-headline {
    font-size: 1.85rem;
  }
  .slide-subheadline {
    font-size: 1.25rem;
  }
  .slide-lead {
    font-size: 0.95rem;
  }
  .slide-tags {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    width: 100%;
    margin-top: 1.15rem;
  }
  .deck-tag-chip {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-sm);
    background: var(--bg-surface-elevated);
    border: 1px solid var(--border-medium);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    font-size: 0.8rem;
  }
  .tag-chip-icon {
    width: 26px;
    height: 26px;
  }
  .slide-grid-4, .slide-grid-3, .slide-grid-2 {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .mcp-flow-diagram {
    flex-direction: column;
    gap: 0.5rem;
  }
  .mcp-arrow {
    transform: rotate(90deg);
  }
  .deck-controls {
    padding: 0.75rem 1rem;
  }
  .cta-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
  }
  .deck-creator-card {
    padding: 1.25rem;
  }
  .deck-creator-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .deck-creator-pillars {
    grid-template-columns: 1fr;
  }
  .deck-creator-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
}

/* 3. Small Mobile Phones & iPhone 13 Pro (max-width: 480px) */
@media (max-width: 480px) {
  /* Header & Navigation */
  .site-header {
    padding: 0.5rem 0.65rem;
  }
  .header-inner {
    gap: 0.5rem;
  }
  .site-brand {
    gap: 0.45rem;
    flex-shrink: 0;
  }
  .brand-name {
    font-size: 0.88rem;
    white-space: nowrap;
  }
  .brand-logo-icon {
    width: 26px;
    height: 26px;
  }
  .brand-logo-img {
    width: 20px;
    height: 20px;
  }
  .header-actions {
    gap: 0.35rem;
  }
  .btn-live-cloud {
    padding: 0.32rem 0.55rem;
    font-size: 0.72rem;
    gap: 0.35rem;
  }
  .live-dot-pulse {
    width: 6px;
    height: 6px;
  }
  .btn-theme-toggle {
    padding: 0.35rem 0.5rem;
  }
  .theme-toggle-label {
    display: none;
  }
  /* Hide desktop briefing deck button in phone header to fit iPhone 390px width */
  #btn-open-deck {
    display: none !important;
  }
  .mobile-nav-toggle {
    padding: 0.35rem 0.55rem;
  }

  /* Top Announcement Bar */
  .top-announcement-bar {
    padding: 0.35rem 0.65rem;
    font-size: 0.68rem;
  }
  .announcement-content {
    gap: 0.35rem;
    justify-content: center;
    text-align: center;
  }
  .announcement-badge {
    font-size: 0.58rem;
    padding: 0.1rem 0.4rem;
  }
  .announcement-text {
    word-break: break-word;
    overflow-wrap: anywhere;
  }
  .announcement-link {
    font-size: 0.68rem;
    white-space: nowrap;
  }

  /* Hero Section */
  .hero-section {
    padding: 2.25rem 0.75rem 1.75rem 0.75rem;
  }
  .release-pill {
    padding: 0.32rem 0.65rem;
    font-size: 0.68rem;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    line-height: 1.4;
    border-radius: var(--radius-md);
    gap: 0.35rem;
  }
  .pill-sep {
    display: none;
  }
  .hero-headline {
    font-size: 1.75rem;
    line-height: 1.18;
    letter-spacing: -0.025em;
    word-break: break-word;
  }
  .hero-description {
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 1.35rem;
  }
  .hero-cta-row .btn {
    padding: 0.65rem 0.85rem;
    font-size: 0.82rem;
  }
  .hero-stats-grid {
    gap: 0.65rem;
  }
  .stat-item {
    padding: 0.85rem;
  }
  .stat-num {
    font-size: 1.85rem;
  }
  .stat-title {
    font-size: 0.8rem;
  }
  .stat-desc {
    font-size: 0.7rem;
  }

  /* Sandbox Container & Tabs */
  .product-sandbox-section {
    padding: 2rem 0.5rem;
  }
  .product-app-frame {
    padding: 0.75rem;
    border-radius: var(--radius-md);
  }
  .sandbox-header {
    gap: 0.65rem;
  }
  .sandbox-title {
    font-size: 1.25rem;
  }
  .sandbox-desc {
    font-size: 0.78rem;
  }
  .sandbox-nav-tabs {
    padding: 0.2rem;
    gap: 0.25rem;
  }
  .sandbox-tab {
    padding: 0.35rem 0.55rem;
    font-size: 0.68rem;
    gap: 0.3rem;
  }

  /* Module 1: Visual DAG */
  .studio-sub-header {
    gap: 0.65rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.65rem;
  }
  .sub-header-title {
    font-size: 0.95rem;
    line-height: 1.3;
  }
  .sub-header-desc {
    font-size: 0.72rem;
  }
  .route-badge {
    padding: 0.35rem 0.5rem;
    gap: 0.35rem;
    width: 100%;
    box-sizing: border-box;
  }
  .route-path {
    font-size: 0.65rem;
    max-width: calc(100% - 110px);
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .route-method {
    font-size: 0.68rem;
  }
  .sub-header-buttons {
    width: 100%;
    gap: 0.4rem;
  }
  .sub-header-buttons .btn {
    padding: 0.45rem 0.6rem;
    font-size: 0.74rem;
  }
  .flow-canvas-container {
    height: 360px;
  }

  /* Module 2: Page Designer */
  .designer-workbench {
    gap: 0.5rem;
  }
  .designer-sidebar {
    height: 260px;
  }
  .right-sidebar {
    max-height: 280px;
  }
  .designer-top-bar {
    gap: 0.5rem;
  }
  .viewport-toggle-group {
    width: 100%;
    justify-content: space-between;
  }
  .vp-btn {
    padding: 0.3rem 0.5rem;
    font-size: 0.68rem;
  }
  .canvas-stat-grid {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }
  .canvas-stat-card {
    padding: 0.65rem;
  }
  .canvas-stat-val {
    font-size: 1.25rem;
  }

  /* Module 3: AI Code Copilot */
  .copilot-workbench {
    gap: 0.65rem;
  }
  .copilot-control-card, .copilot-code-card {
    padding: 0.75rem;
  }
  .copilot-scenario-btn {
    padding: 0.6rem;
  }
  .copilot-code-preview {
    padding: 0.65rem;
    font-size: 0.72rem;
    word-break: break-all;
    max-height: 260px;
  }

  /* Module 4: Report Studio */
  .report-studio-workbench {
    gap: 0.65rem;
  }
  .report-control-card {
    padding: 0.75rem;
  }
  .report-preview-sheet-wrap {
    padding: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .report-sheet {
    padding: 0.85rem 0.65rem;
    min-width: 320px;
    width: 100%;
    box-sizing: border-box;
  }
  .report-items-table {
    font-size: 0.68rem;
    min-width: 330px;
  }
  .report-items-table th, .report-items-table td {
    padding: 0.45rem 0.45rem;
  }
  .report-summary-row {
    margin-top: 1rem;
  }
  .total-amount {
    font-size: 1.35rem;
  }

  /* Module 5: Agent Cockpit */
  .mcp-layout-grid {
    gap: 0.65rem;
  }
  .mcp-control-card {
    padding: 0.75rem;
  }
  .mcp-terminal-card {
    height: 350px;
  }
  .terminal-title {
    max-width: 135px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 0.64rem;
  }
  .terminal-body {
    padding: 0.65rem;
    font-size: 0.68rem;
  }
  .erd-canvas-container {
    padding: 0.5rem;
  }

  /* Sections 2 & 3: Bento & Benefits */
  .section-title {
    font-size: 1.45rem;
    line-height: 1.25;
  }
  .section-subtitle {
    font-size: 0.85rem;
  }
  .bento-card, .benefit-card {
    padding: 1rem;
  }
  .bento-title, .benefit-title {
    font-size: 1.05rem;
  }
  .bento-desc, .benefit-desc {
    font-size: 0.8rem;
  }

  /* Section 4: Architecture Comparison */
  .comparison-section {
    padding: 2rem 0.5rem;
  }
  .comparison-table-card {
    border-radius: var(--radius-sm);
  }
  .product-matrix-table {
    min-width: 520px;
    font-size: 0.68rem;
  }
  .product-matrix-table th, .product-matrix-table td {
    padding: 0.55rem 0.55rem;
  }

  /* Section 5: CTA Card */
  .product-cta-banner-section {
    padding: 2rem 0.5rem 3rem 0.5rem;
  }
  .product-cta-card {
    padding: 1.25rem 0.85rem;
  }
  .product-cta-title {
    font-size: 1.25rem;
  }
  .product-cta-desc {
    font-size: 0.82rem;
  }
  .product-cta-right {
    width: 100%;
  }
  .product-cta-right .btn {
    width: 100%;
    justify-content: center;
  }

  /* Section 6: Creator Spotlight */
  .creator-section {
    padding: 2rem 0.5rem;
  }
  .creator-spotlight-card {
    padding: 1.25rem 0.85rem;
    border-radius: var(--radius-md);
  }
  .creator-avatar-ring {
    width: 68px;
    height: 68px;
  }
  .creator-avatar-inner {
    font-size: 1.35rem;
  }
  .creator-name {
    font-size: 1.25rem;
    line-height: 1.2;
    word-break: break-word;
  }
  .creator-role {
    font-size: 0.82rem;
  }
  .creator-contact-row {
    flex-direction: column;
    width: 100%;
    gap: 0.45rem;
  }
  .creator-contact-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.76rem;
    padding: 0.45rem 0.75rem;
  }
  .creator-narrative {
    font-size: 0.82rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
  }
  .creator-achievement-item {
    padding: 0.85rem;
  }

  /* Footer */
  .site-footer {
    padding: 2rem 0.75rem 1.5rem 0.75rem;
  }
  .footer-copyright {
    font-size: 0.72rem;
  }
  .footer-meta-tags {
    font-size: 0.65rem;
    gap: 0.35rem;
  }

  /* Presentation Deck Overlay */
  .deck-top-bar {
    padding: 0.55rem 0.75rem;
  }
  .deck-brand {
    font-size: 0.78rem;
  }
  .deck-progress {
    font-size: 0.7rem;
  }
  .deck-slides-wrapper {
    padding: 0.75rem 0.5rem;
  }
  .slide-headline {
    font-size: 1.55rem;
    line-height: 1.2;
  }
  .slide-subheadline {
    font-size: 1.05rem;
  }
  .slide-lead {
    font-size: 0.84rem;
    margin-bottom: 1rem;
  }
  .stat-box {
    padding: 0.85rem;
  }
  .stat-number {
    font-size: 1.65rem;
  }
  .stat-label {
    font-size: 0.72rem;
  }
  .enterprise-check-list {
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.75rem;
    font-size: 0.74rem;
  }
  .deck-creator-card {
    padding: 0.85rem;
    gap: 0.75rem;
  }
  .deck-creator-profile {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.65rem;
  }
  .deck-creator-avatar-ring {
    width: 48px;
    height: 48px;
  }
  .deck-creator-avatar-inner {
    font-size: 0.95rem;
  }
  .deck-creator-name {
    font-size: 1.1rem;
  }
  .deck-creator-role {
    font-size: 0.76rem;
  }
  .deck-creator-badges {
    flex-wrap: wrap;
    gap: 0.3rem;
  }
  .deck-role-badge, .deck-tech-badge {
    font-size: 0.62rem;
    padding: 0.12rem 0.4rem;
  }
  .deck-creator-links {
    flex-direction: column;
    width: 100%;
    gap: 0.4rem;
  }
  .deck-creator-links .creator-contact-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.76rem;
    padding: 0.45rem;
  }
  .deck-creator-pillars {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
  .deck-pillar-card {
    padding: 0.65rem 0.75rem;
  }
  .deck-pillar-title {
    font-size: 0.78rem;
  }
  .deck-pillar-desc {
    font-size: 0.68rem;
  }
  .deck-creator-footer {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
  }
  .deck-footer-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.45rem;
  }
  .deck-footer-actions .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.78rem;
    padding: 0.5rem;
  }
  .deck-creator-stamp {
    font-size: 0.68rem;
    justify-content: center;
    text-align: center;
  }
  .deck-controls {
    padding: 0.65rem 0.75rem;
  }

  /* Modals */
  .lead-modal-overlay {
    padding: 0.65rem;
  }
  .lead-modal-card {
    max-width: 100%;
  }
}

/* =============================================================================
   NEW SUBSYSTEMS & CREATOR SECTION (FLOWENGINE STUDIO v1.2 ENTERPRISE)
============================================================================= */

/* AI Code Copilot Workbench */
.copilot-workbench {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 1.25rem;
  min-height: 520px;
}
.copilot-control-card, .copilot-code-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}
.copilot-scenario-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
}
.copilot-scenario-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-primary);
}
.copilot-scenario-btn:hover {
  border-color: var(--cyan-primary);
  background: var(--bg-surface-hover);
}
.copilot-scenario-btn.active {
  border-color: var(--cyan-primary);
  background: rgba(0, 240, 255, 0.06);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
}
.copilot-scenario-name {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  color: var(--text-primary);
}
.copilot-scenario-desc {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}
.copilot-editor-wrap {
  flex: 1;
  background: #090D16;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}
.editor-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.85rem;
  background: rgba(0, 0, 0, 0.35);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.72rem;
  color: var(--text-muted);
}
.editor-lang-tag {
  background: var(--indigo-subtle);
  color: var(--indigo-primary);
  border: 1px solid rgba(129, 140, 248, 0.25);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-xs);
  font-weight: 700;
  font-size: 0.65rem;
}
.copilot-code-preview {
  flex: 1;
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.55;
  color: #E2E8F0;
  overflow-y: auto;
  white-space: pre-wrap;
  margin: 0;
}
.copilot-output-pane {
  background: #090D16;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  max-height: 160px;
  overflow-y: auto;
}
.output-pane-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* Report Studio Workbench */
.report-studio-workbench {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 1.25rem;
  min-height: 540px;
}
.report-control-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}
.report-template-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem 0;
}
.report-template-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-primary);
}
.report-template-btn:hover {
  border-color: var(--emerald-primary);
  background: var(--bg-surface-hover);
}
.report-template-btn.active {
  border-color: var(--emerald-primary);
  background: rgba(16, 185, 129, 0.06);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.15);
}
.report-contract-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--emerald-subtle);
  border: 1px solid var(--border-emerald);
  color: var(--emerald-primary);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-xs);
  font-size: 0.7rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.report-preview-sheet-wrap {
  background: #0B0F19;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  overflow-y: auto;
  max-height: 560px;
}
[data-theme="light"] .report-preview-sheet-wrap {
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.report-sheet {
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  max-width: 760px;
  margin: 0 auto;
}
.report-sheet-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 2px solid var(--border-subtle);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}
.report-sheet-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.report-sheet-title {
  font-size: 1.35rem;
  font-weight: 800;
  font-family: var(--font-heading);
}
.report-meta-box {
  text-align: right;
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.report-meta-box strong {
  color: var(--text-primary);
}
.report-items-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  margin: 1.25rem 0;
}
.report-items-table th {
  background: var(--bg-surface-elevated);
  text-align: left;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--border-medium);
  color: var(--text-secondary);
  font-weight: 600;
}
.report-items-table td {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
}
.report-summary-row {
  display: flex;
  justify-content: flex-end;
  gap: 2rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-medium);
}
.report-calc-box {
  text-align: right;
  font-size: 0.8rem;
}
.report-calc-box .total-amount {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--emerald-primary);
  margin-top: 0.35rem;
}
.report-seal-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-xs);
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  font-size: 0.7rem;
  color: var(--emerald-primary);
}

/* =============================================================================
   SECTION: DESIGNED AND DEVELOPED BY SYED NOOR MOHSEEN
============================================================================= */
.creator-section {
  padding: 5.5rem 1.5rem;
  position: relative;
  overflow: hidden;
}
.creator-card-container {
  max-width: 1080px;
  margin: 0 auto;
}
.creator-spotlight-card {
  background: linear-gradient(145deg, rgba(13, 17, 26, 0.95), rgba(7, 9, 14, 0.98));
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 60px -10px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 240, 255, 0.12);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
}
[data-theme="light"] .creator-spotlight-card {
  background: linear-gradient(145deg, #FFFFFF, #F8FAFC);
  border-color: rgba(2, 132, 199, 0.3);
  box-shadow: 0 20px 50px -10px rgba(15, 23, 42, 0.12), 0 0 25px rgba(2, 132, 199, 0.1);
}
.creator-corner-glow {
  position: absolute;
  top: -120px;
  right: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.18) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}
.creator-corner-glow-left {
  position: absolute;
  bottom: -120px;
  left: -120px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}
.creator-header-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
  border-bottom: 1px solid var(--border-medium);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}
.creator-avatar-wrap {
  position: relative;
}
.creator-avatar-ring {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #00F0FF, #10B981, #818CF8);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
}
.creator-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--bg-surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--cyan-primary);
  letter-spacing: -0.05em;
  overflow: hidden;
}
.creator-avatar-inner img,
.deck-creator-avatar-inner img,
.creator-avatar-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  border-radius: 50%;
  display: block;
}
.creator-status-pip {
  position: absolute;
  bottom: 2px;
  right: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #10B981;
  border: 3px solid var(--bg-surface);
  box-shadow: 0 0 10px #10B981;
}
.creator-meta-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.creator-super-title {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--cyan-primary);
  text-transform: uppercase;
}
.creator-name {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  line-height: 1.15;
}
.creator-role {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.creator-contact-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-top: 0.75rem;
}
.creator-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: all var(--transition-fast);
  cursor: pointer;
}
.creator-btn-linkedin {
  background: #0A66C2;
  color: #FFFFFF;
  border: 1px solid #0A66C2;
  box-shadow: 0 2px 10px rgba(10, 102, 194, 0.3);
}
.creator-btn-linkedin:hover {
  background: #084e96;
  border-color: #084e96;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(10, 102, 194, 0.45);
}
.creator-btn-email {
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}
.creator-btn-email:hover {
  background: var(--bg-surface-hover);
  border-color: var(--cyan-primary);
  color: var(--cyan-primary);
  transform: translateY(-1px);
}
.creator-btn-copy {
  background: transparent;
  color: var(--text-secondary);
  border: 1px dashed var(--border-medium);
}
.creator-btn-copy:hover {
  background: var(--bg-surface-hover);
  color: var(--text-primary);
  border-color: var(--border-strong);
}

.creator-narrative {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}
.creator-narrative strong {
  color: var(--text-primary);
}

.creator-achievements-title {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.creator-achievements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.creator-achievement-item {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}
.creator-achievement-item:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.creator-achievement-icon {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}
.icon-bg-cyan { background: var(--cyan-subtle); color: var(--cyan-primary); border: 1px solid var(--border-cyan); }
.icon-bg-emerald { background: var(--emerald-subtle); color: var(--emerald-primary); border: 1px solid var(--border-emerald); }
.icon-bg-indigo { background: var(--indigo-subtle); color: var(--indigo-primary); border: 1px solid rgba(129, 140, 248, 0.3); }
.icon-bg-amber { background: var(--amber-subtle); color: var(--amber-primary); border: 1px solid rgba(245, 158, 11, 0.3); }
.icon-bg-rose { background: var(--rose-subtle); color: var(--rose-primary); border: 1px solid rgba(244, 63, 94, 0.3); }

.creator-achievement-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.35rem;
  font-family: var(--font-heading);
}
.creator-achievement-desc {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 767px) {
  .copilot-workbench, .report-studio-workbench {
    grid-template-columns: 1fr;
  }
  .creator-header-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .creator-avatar-wrap {
    margin: 0 auto;
  }
  .creator-contact-row {
    justify-content: center;
  }
  .creator-achievements-grid {
    grid-template-columns: 1fr;
  }
}

/* =============================================================================
   LIVE INTERACTION CLOUD BUTTON & AI FLOW ENGINE AGENT COCKPIT
============================================================================= */

/* Live Interaction Cloud CTA Button */
.btn-live-cloud {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(16, 185, 129, 0.2));
  border: 1px solid var(--cyan-primary);
  color: #FFFFFF !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
  text-decoration: none;
  transition: all var(--transition-fast);
}
.btn-live-cloud:hover {
  background: linear-gradient(135deg, #00F0FF, #10B981);
  color: #07090E !important;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
  transform: translateY(-1px);
}
.live-dot-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: pulseDotLive 1.8s infinite;
}
@keyframes pulseDotLive {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Agent Cockpit Mission Control Header */
.cockpit-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(13, 17, 26, 0.95);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  padding: 0.65rem 1rem;
  margin-bottom: 1.25rem;
  gap: 1rem;
  flex-wrap: wrap;
}
.cockpit-pills-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}
.cockpit-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  color: var(--text-primary);
}
.cockpit-stats-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.cockpit-telemetry-tag {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.4);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-xs);
  border: 1px solid var(--border-subtle);
}

/* Agent Cockpit Execution Stages */
.cockpit-stages-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.cockpit-stage-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.cockpit-stage-card.stage-done {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.05);
}
.cockpit-stage-card.stage-active {
  border-color: rgba(0, 240, 255, 0.45);
  background: rgba(0, 240, 255, 0.06);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.15);
}
.stage-num-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-primary);
}
.stage-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
}
.stage-sub-info {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* Figma Ingestion Banner */
.cockpit-figma-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.35);
  color: #C084FC;
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-xs);
  font-size: 0.68rem;
  font-weight: 700;
}

/* Agent Cockpit Bento Card & Badges */
.bento-agent-cockpit {
  border-color: rgba(168, 85, 247, 0.4);
  background: linear-gradient(145deg, rgba(13, 17, 26, 0.95), rgba(26, 16, 37, 0.5));
}
.bento-badge-purple {
  color: #C084FC;
}
.dialect-tag-purple {
  color: #C084FC;
  border-color: rgba(168, 85, 247, 0.4);
}

/* ---------------------------------------------------------------------------
   Light Mode Overrides for AI Flow Engine Agent Cockpit & Missions
   --------------------------------------------------------------------------- */
[data-theme="light"] .bento-agent-cockpit {
  background: linear-gradient(145deg, #FFFFFF, #FAF5FF);
  border-color: rgba(147, 51, 234, 0.32);
  box-shadow: 0 4px 20px -2px rgba(147, 51, 234, 0.08), 0 1px 3px rgba(15, 23, 42, 0.05);
}
[data-theme="light"] .bento-agent-cockpit:hover {
  border-color: rgba(147, 51, 234, 0.5);
  box-shadow: 0 12px 30px -4px rgba(147, 51, 234, 0.15);
}
[data-theme="light"] .bento-badge-purple {
  color: #7E22CE;
}
[data-theme="light"] .dialect-tag-purple {
  color: #7E22CE;
  border-color: rgba(147, 51, 234, 0.35);
  background: rgba(147, 51, 234, 0.06);
}
[data-theme="light"] .cockpit-figma-badge {
  background: rgba(147, 51, 234, 0.1);
  border-color: rgba(147, 51, 234, 0.32);
  color: #7E22CE;
}
[data-theme="light"] .cockpit-top-bar {
  background: #FFFFFF;
  border-color: var(--border-medium);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}
[data-theme="light"] .cockpit-pill {
  background: #F8FAFC;
  border-color: var(--border-subtle);
  color: var(--text-primary);
}
[data-theme="light"] .cockpit-telemetry-tag {
  background: #F1F5F9;
  border-color: var(--border-subtle);
  color: var(--text-secondary);
}
[data-theme="light"] .cockpit-stage-card {
  background: #FFFFFF;
  border-color: var(--border-subtle);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
[data-theme="light"] .cockpit-stage-card.stage-done {
  background: rgba(5, 150, 105, 0.06);
  border-color: rgba(5, 150, 105, 0.3);
}
[data-theme="light"] .cockpit-stage-card.stage-active {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.45);
  box-shadow: 0 0 14px rgba(2, 132, 199, 0.12);
}

/* =============================================================================
   WORKFLOW IDEMPOTENCY, VERSIONING & ROLLBACK, AND LOW-CODE STYLES
============================================================================= */
.pill-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  cursor: pointer;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: all var(--transition-fast);
}
.pill-action-btn:hover {
  border-color: var(--border-medium);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.pill-idempotency {
  border-color: rgba(0, 240, 255, 0.3);
  background: rgba(0, 240, 255, 0.06);
}
.pill-idempotency:hover {
  border-color: rgba(0, 240, 255, 0.6);
  background: rgba(0, 240, 255, 0.12);
}
.pill-version {
  border-color: rgba(245, 158, 11, 0.3);
  background: rgba(245, 158, 11, 0.06);
}
.pill-version:hover {
  border-color: rgba(245, 158, 11, 0.6);
  background: rgba(245, 158, 11, 0.12);
}
.pill-label {
  color: var(--text-secondary);
  font-weight: 500;
}
.pill-val {
  font-weight: 700;
  font-family: var(--font-mono);
  font-size: 0.7rem;
}
.pill-idempotency .pill-val { color: var(--cyan-primary); }
.pill-version .pill-val { color: var(--amber-primary); }
.pill-mini-badge {
  font-size: 0.6rem;
  padding: 0.05rem 0.3rem;
  background: rgba(0, 240, 255, 0.2);
  color: var(--cyan-primary);
  border-radius: var(--radius-xs);
  font-weight: 700;
}
.pill-arrow {
  font-size: 0.65rem;
  color: var(--text-secondary);
}

.pulse-dot-cyan {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan-primary);
  box-shadow: 0 0 8px var(--cyan-primary);
  animation: pulse-dot-anim 2s infinite;
}
.pulse-dot-amber {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber-primary);
  box-shadow: 0 0 8px var(--amber-primary);
  animation: pulse-dot-anim 2s infinite;
}
@keyframes pulse-dot-anim {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* Modals for Idempotency and Version History */
.app-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.82);
  backdrop-filter: blur(10px);
  z-index: 2500;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.app-modal-overlay.active {
  display: flex;
}
.app-modal-card {
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 240, 255, 0.08);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modal-pop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modal-pop {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.app-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
}
.app-modal-title-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.app-modal-badge {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-xs);
  text-transform: uppercase;
}
.badge-cyan {
  background: rgba(0, 240, 255, 0.15);
  color: var(--cyan-primary);
  border: 1px solid rgba(0, 240, 255, 0.35);
}
.badge-amber {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-primary);
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.badge-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: var(--emerald-primary);
  border: 1px solid rgba(16, 185, 129, 0.35);
}
.app-modal-header h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
}
.app-modal-close-btn {
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  width: 28px;
  height: 28px;
  border-radius: var(--radius-xs);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.app-modal-close-btn:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
  background: var(--bg-surface);
}
.app-modal-body {
  padding: 1.4rem;
  overflow-y: auto;
  line-height: 1.55;
  color: var(--text-secondary);
  font-size: 0.82rem;
}
.app-modal-lead {
  font-size: 0.85rem;
  color: var(--text-primary);
  margin-bottom: 1.1rem;
}

/* Version History Timeline */
.version-history-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.version-card {
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-md);
  padding: 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}
.version-card:hover {
  border-color: var(--border-medium);
}
.version-card.active-version {
  border-color: rgba(0, 240, 255, 0.5);
  background: rgba(0, 240, 255, 0.03);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.08);
}
.version-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.version-title-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.version-tag {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-primary);
}
.version-status-pill {
  font-size: 0.62rem;
  font-weight: 700;
  padding: 0.12rem 0.45rem;
  border-radius: var(--radius-full);
}
.status-live {
  background: rgba(16, 185, 129, 0.18);
  color: var(--emerald-primary);
  border: 1px solid rgba(16, 185, 129, 0.4);
}
.status-checkpoint {
  background: rgba(245, 158, 11, 0.15);
  color: var(--amber-primary);
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.status-archived {
  background: rgba(148, 163, 184, 0.12);
  color: #94A3B8;
  border: 1px solid rgba(148, 163, 184, 0.25);
}
.version-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.version-changes {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
}
.version-diff-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.2rem;
}
.diff-tag {
  font-size: 0.65rem;
  font-family: var(--font-mono);
  padding: 0.1rem 0.35rem;
  border-radius: var(--radius-xs);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
}
.diff-tag-added {
  color: #34D399;
  border-color: rgba(52, 211, 153, 0.3);
}

/* Callout Boxes */
.modal-callout-box {
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: 1rem;
}
.modal-callout-icon {
  font-size: 1.1rem;
  line-height: 1;
}
.modal-callout-content h4 {
  font-size: 0.78rem;
  font-weight: 700;
  color: #A5B4FC;
  margin: 0 0 0.25rem 0;
}
.modal-callout-content p {
  font-size: 0.73rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.45;
}

/* Idempotency Visualizer */
.idempotency-visual-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.6rem;
  margin: 1.1rem 0;
}
.idemp-step-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  position: relative;
}
.idemp-step-num {
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--cyan-primary);
  font-family: var(--font-mono);
}
.idemp-step-card h5 {
  font-size: 0.74rem;
  font-weight: 700;
  margin: 0;
  color: var(--text-primary);
}
.idemp-step-card p {
  font-size: 0.67rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin: 0;
}

.idemp-sim-panel {
  background: #090D16;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  margin: 1rem 0;
}
.idemp-sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}
.idemp-sim-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.idemp-log-display {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  background: #06090F;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xs);
  padding: 0.75rem;
  color: #E2E8F0;
  line-height: 1.5;
  max-height: 160px;
  overflow-y: auto;
}
.log-line-idemp-match {
  color: #00F0FF;
  font-weight: 700;
}
.log-line-idemp-ok {
  color: #34D399;
}

/* Low-Code Non-Developer Section Styles */
.lowcode-section-wrap {
  margin-top: 3.5rem;
  border-top: 1px dashed var(--border-subtle);
  padding-top: 3rem;
}
.lowcode-banner-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem auto;
}
.lowcode-benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.lowcode-benefit-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}
.lowcode-benefit-card:hover {
  border-color: var(--border-medium);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.lowcode-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lowcode-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-subtle);
}
.icon-cyan { stroke: #00F0FF; }
.icon-emerald { stroke: #10B981; }
.icon-amber { stroke: #F59E0B; }
.icon-indigo { stroke: #818CF8; }
.icon-rose { stroke: #F43F5E; }
.icon-purple { stroke: #A855F7; }

.lowcode-pill-tag {
  font-size: 0.6rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.12rem 0.4rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}
.pill-emerald {
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.pill-amber {
  background: rgba(245, 158, 11, 0.12);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.pill-cyan {
  background: rgba(0, 240, 255, 0.12);
  color: #00F0FF;
  border: 1px solid rgba(0, 240, 255, 0.3);
}
.pill-indigo {
  background: rgba(99, 102, 241, 0.12);
  color: #818CF8;
  border: 1px solid rgba(99, 102, 241, 0.3);
}

.lowcode-card-title {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.01em;
}
.lowcode-card-desc {
  font-size: 0.81rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 0;
}
.lowcode-card-footer {
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.lowcode-card-footer strong {
  color: var(--text-primary);
}

/* Responsive adjustments for low-code grid and visual flow */
@media (max-width: 1024px) {
  .lowcode-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .idempotency-visual-flow {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .lowcode-benefits-grid {
    grid-template-columns: 1fr;
  }
  .idempotency-visual-flow {
    grid-template-columns: 1fr;
  }
  .app-modal-card {
    max-height: 94vh;
  }
}

/* Light Theme Overrides */
[data-theme="light"] .pill-action-btn {
  background: #F8FAFC;
  border-color: #E2E8F0;
  color: #0F172A;
}
[data-theme="light"] .app-modal-overlay {
  background: rgba(15, 23, 42, 0.65);
}
[data-theme="light"] .app-modal-card {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}
[data-theme="light"] .app-modal-header {
  background: #F8FAFC;
  border-color: #E2E8F0;
}
[data-theme="light"] .version-card {
  background: #F8FAFC;
  border-color: #E2E8F0;
}
[data-theme="light"] .version-card.active-version {
  background: rgba(2, 132, 199, 0.05);
  border-color: rgba(2, 132, 199, 0.4);
}
[data-theme="light"] .idemp-step-card {
  background: #F8FAFC;
  border-color: #E2E8F0;
}
[data-theme="light"] .idemp-sim-panel {
  background: #F1F5F9;
  border-color: #CBD5E1;
}
[data-theme="light"] .idemp-log-display {
  background: #0F172A;
  color: #F8FAFC;
}
[data-theme="light"] .lowcode-benefit-card {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}
[data-theme="light"] .lowcode-icon-wrap {
  background: #F8FAFC;
  border-color: #E2E8F0;
}
[data-theme="light"] .flow-governance-strip {
  background: #FFFFFF;
  border-color: #E2E8F0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.05);
}




