/* ==========================================
   AGENTSPACE - Light Default + Robotics Mode Dual Theme
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Apple Signature Brand Palette */
    --brand-primary: #0071e3;
    --brand-primary-hover: #0077ed;
    --brand-accent: #0071e3;
    --brand-accent-hover: #0077ed;
    --brand-action: #2997ff;
    --brand-action-hover: #0071e3;
    --brand-text: #1d1d1f;
    --brand-logo: #0071e3;

    --bg-dark: #f5f5f7;
    --bg-surface: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-card-hover: #ffffff;
    
    --primary-blue: #0071e3;
    --primary-cyan: #2997ff;
    --accent-violet: #af52de;
    --accent-green: #34c759;
    --accent-glow: rgba(0, 113, 227, 0.15);
    
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --text-dim: #6e6e73;
    
    --border-color: rgba(0, 0, 0, 0.08);
    --border-glow: rgba(0, 113, 227, 0.3);
    
    --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif;
    --font-hud: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --font-tech: 'Plus Jakarta Sans', sans-serif;
    
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 28px;
    --radius-full: 980px;

    --transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

/* SVG & Icon Safeguards */
svg {
    max-width: 100%;
    max-height: 100%;
    vertical-align: middle;
}

.logo-img {
    height: 42px;
    width: auto;
    max-height: 48px;
    object-fit: contain;
    display: block;
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.02);
}

.logo-icon { width: 34px; height: 34px; flex-shrink: 0; }
.play-icon { width: 14px; height: 14px; margin-left: 2px; }
.arrow-icon { width: 18px; height: 18px; flex-shrink: 0; }
.badge-icon { width: 30px; height: 30px; border-radius: 6px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.badge-icon svg { width: 16px; height: 16px; }

.agent-icon-box { width: 56px; height: 56px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; background: rgba(37, 99, 235, 0.1); border: 1px solid rgba(37, 99, 235, 0.2); color: var(--primary-blue); }
.agent-icon-box svg { width: 28px; height: 28px; }

.tech-icon-wrapper { width: 50px; height: 50px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; margin: 0 auto 14px; flex-shrink: 0; background: rgba(2, 132, 199, 0.1); border: 1px solid rgba(2, 132, 199, 0.2); color: var(--primary-cyan); }
.tech-icon-wrapper svg { width: 26px; height: 26px; }

.subpage-hud-badge { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 2px; color: var(--primary-blue); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 12px; text-transform: uppercase; }
.subpage-hud-badge svg { width: 16px; height: 16px; }

.action-card-icon, .step-icon-box, .platform-icon { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.action-card-icon svg, .step-icon-box svg, .platform-icon svg { width: 24px; height: 24px; }
.agent-spec-item svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--primary-cyan); }

/* DEFAULT LIGHT THEME STYLING (Body & Containers) */
body {
    background-color: #f8fafc !important;
    color: #0f172a !important;
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background-image: 
        radial-gradient(ellipse 80% 55% at 50% -10%, rgba(0, 113, 227, 0.08) 0%, transparent 65%),
        radial-gradient(circle 650px at 12% 18%, rgba(37, 99, 235, 0.065) 0%, transparent 65%),
        radial-gradient(circle 700px at 88% 22%, rgba(14, 165, 233, 0.075) 0%, transparent 65%),
        radial-gradient(circle 800px at 50% 50%, rgba(139, 92, 246, 0.035) 0%, transparent 70%),
        radial-gradient(circle 750px at 18% 85%, rgba(59, 130, 246, 0.04) 0%, transparent 65%),
        radial-gradient(circle 750px at 85% 90%, rgba(14, 165, 233, 0.035) 0%, transparent 65%) !important;
    background-attachment: fixed;
}

/* Professional Modern Tech Blueprint Grid (Light Theme) */
body::before {
    display: block !important;
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: 
        linear-gradient(to right, rgba(15, 23, 42, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(15, 23, 42, 0.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 85% 75% at 50% 25%, #000 35%, transparent 90%);
    -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 25%, #000 35%, transparent 90%);
    pointer-events: none;
    z-index: -1;
}

.hud-status-bar {
    display: none !important; /* Hidden by default in light mode */
}

/* Light Theme Navigation Header */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 18px 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.98);
    border-bottom-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.logo-text { color: var(--brand-text); font-family: var(--font-hud); font-weight: 800; }
.nav-links a { color: #475569; font-weight: 600; }
.nav-links a:hover, .nav-links a.active { color: var(--brand-accent); }

/* Robotics Mode Toggle Button */
.robotics-mode-toggle {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-hover) 100%);
    color: #ffffff;
    border: none;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 1px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    white-space: nowrap;
}

/* ==========================================
   FIXED FLOATING QUICK SETTINGS DOCK (Sound & Mode)
   ========================================== */
.floating-control-dock {
    position: fixed;
    right: 24px;
    bottom: 32px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 7px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    border-radius: 9999px;
    box-shadow: 0 12px 35px rgba(3, 47, 104, 0.15), 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(226, 232, 240, 0.9);
    transition: var(--transition);
}

.floating-control-dock:hover {
    box-shadow: 0 16px 40px rgba(3, 47, 104, 0.22), 0 6px 16px rgba(0, 0, 0, 0.08);
}

.dock-btn {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 18px;
    border: 1px solid transparent;
    background: #f1f5f9;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

.dock-btn:hover {
    background: #e2e8f0;
    color: var(--brand-action);
    transform: scale(1.06);
}

.dock-btn.active {
    background: linear-gradient(135deg, var(--brand-action) 0%, var(--brand-primary) 100%);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(10, 91, 216, 0.35);
}

.dock-btn.active:hover {
    background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-accent-hover) 100%);
    box-shadow: 0 6px 20px rgba(255, 90, 22, 0.45);
}

.dock-icon {
    width: 22px;
    height: 22px;
    transition: transform 0.2s ease;
}

.dock-divider {
    width: 28px;
    height: 1px;
    background: rgba(203, 213, 225, 0.8);
    margin: 6px 0;
}

/* Floating Hover Tooltip (Left Side) */
.dock-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%) translateX(6px);
    background: var(--brand-primary);
    color: #ffffff;
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 0.82rem;
    white-space: nowrap;
    padding: 6px 14px;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(3, 47, 104, 0.25);
    z-index: 10000;
}

.dock-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent var(--brand-primary);
}

.dock-btn:hover .dock-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Robotics Mode Dark Dock Overrides */
body.robotics-mode .floating-control-dock {
    background: rgba(8, 13, 26, 0.92) !important;
    border-color: rgba(0, 240, 255, 0.35) !important;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3), 0 0 10px rgba(112, 0, 255, 0.2) !important;
}

body.robotics-mode .dock-btn {
    background: rgba(17, 30, 56, 0.85) !important;
    color: #00f0ff !important;
    border-color: rgba(0, 240, 255, 0.2) !important;
}

body.robotics-mode .dock-btn:hover {
    background: rgba(0, 240, 255, 0.2) !important;
    color: #ffffff !important;
    border-color: #00f0ff !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5) !important;
}

body.robotics-mode .dock-btn.active {
    background: linear-gradient(135deg, #00f0ff 0%, #7000ff 100%) !important;
    color: #030712 !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.7) !important;
}

body.robotics-mode .dock-divider {
    background: rgba(0, 240, 255, 0.25) !important;
}

body.robotics-mode .dock-tooltip {
    background: #080d1a !important;
    color: #00f0ff !important;
    border: 1px solid rgba(0, 240, 255, 0.4) !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3) !important;
}

body.robotics-mode .dock-tooltip::after {
    border-color: transparent transparent transparent #080d1a !important;
}
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    white-space: nowrap;
}

.robotics-mode-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.5);
}

/* ==========================================
   ROBOTICS DARK MODE OVERRIDES
   ========================================== */
body.robotics-mode {
    --bg-dark: #030712;
    --bg-surface: #080d1a;
    --bg-card: rgba(11, 20, 38, 0.88);
    --bg-card-hover: rgba(17, 30, 56, 0.95);
    
    --primary-blue: #00f0ff;
    --primary-cyan: #00d8ff;
    --accent-violet: #7000ff;
    --accent-green: #00ff9d;
    --accent-pink: #ff0055;
    
    --text-main: #ffffff;
    --text-muted: #cbd5e1;
    --text-dim: #94a3b8;
    
    --border-color: rgba(0, 240, 255, 0.25);
    --border-glow: rgba(0, 240, 255, 0.7);
    
    --font-main: 'Space Grotesk', sans-serif;
    background-color: #030712 !important;
    color: #ffffff !important;
    background-image: 
        radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 85% 40%, rgba(112, 0, 255, 0.1) 0%, transparent 45%),
        radial-gradient(circle at 15% 80%, rgba(0, 255, 157, 0.08) 0%, transparent 45%) !important;
}

body.robotics-mode::before {
    display: block !important;
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.04) 1px, transparent 1px) !important;
    background-size: 60px 60px !important;
    mask-image: none !important;
    -webkit-mask-image: none !important;
    pointer-events: none;
    z-index: -1;
}

body.robotics-mode .hud-status-bar,
body.robotics-mode .hud-status-container {
    display: none !important;
}

body.robotics-mode .navbar {
    top: 0 !important;
    background: rgba(5, 10, 22, 0.94) !important;
    border-bottom: 1px solid rgba(0, 240, 255, 0.35) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.85), 0 0 20px rgba(0, 240, 255, 0.2) !important;
}

body.robotics-mode .logo-text {
    color: #ffffff !important;
    text-shadow: 0 0 12px rgba(0, 240, 255, 0.6) !important;
}

body.robotics-mode .nav-links a {
    color: #cbd5e1 !important;
}

body.robotics-mode .nav-links a:hover,
body.robotics-mode .nav-links a.active {
    color: #00f0ff !important;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.6) !important;
}

body.robotics-mode .robotics-mode-toggle {
    background: linear-gradient(135deg, #00f0ff 0%, #7000ff 100%) !important;
    color: #030712 !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6) !important;
}

/* ALL BUTTONS IN ROBOTICS MODE GET ANGLED CLIPPED CORNERS */
body.robotics-mode .btn,
body.robotics-mode .btn-primary,
body.robotics-mode .btn-secondary,
body.robotics-mode .btn-sm,
body.robotics-mode .robotics-mode-toggle {
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px) !important;
    border-radius: 0 !important;
    font-family: var(--font-tech) !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-weight: 700 !important;
}

body.robotics-mode .btn-primary {
    background: linear-gradient(135deg, #00f0ff 0%, #2563eb 100%) !important;
    color: #030712 !important;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.5) !important;
}

body.robotics-mode .btn-primary:hover {
    background: linear-gradient(135deg, #00ff9d 0%, #00f0ff 100%) !important;
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.8) !important;
}

body.robotics-mode .btn-secondary {
    background: rgba(13, 24, 46, 0.85) !important;
    color: #00f0ff !important;
    border: 1px solid rgba(0, 240, 255, 0.35) !important;
}

body.robotics-mode .btn-secondary:hover {
    background: rgba(0, 240, 255, 0.15) !important;
    color: #ffffff !important;
}

/* Robotics Mode Card Overrides */
body.robotics-mode .card,
body.robotics-mode .hud-card,
body.robotics-mode .sol-card,
body.robotics-mode .agent-card,
body.robotics-mode .step-card,
body.robotics-mode .timeline-item,
body.robotics-mode .case-card,
body.robotics-mode .team-card,
body.robotics-mode .action-card,
body.robotics-mode .feature-card,
body.robotics-mode .agent-pod-card,
body.robotics-mode .tech-stack-card,
body.robotics-mode .configurator-card,
body.robotics-mode .sol-vertical-patti,
body.robotics-mode .sol-stage-text,
body.robotics-mode .sol-preview-box {
    background: rgba(11, 20, 38, 0.88) !important;
    border-color: rgba(0, 240, 255, 0.25) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}

body.robotics-mode h1, body.robotics-mode h2, body.robotics-mode h3, body.robotics-mode h4, body.robotics-mode h5, body.robotics-mode h6,
body.robotics-mode .section-title, body.robotics-mode .hero-title, body.robotics-mode .patti-title {
    color: #ffffff !important;
    font-family: var(--font-hud) !important;
}

body.robotics-mode p, body.robotics-mode .section-subtitle, body.robotics-mode .hero-description {
    color: #cbd5e1 !important;
}


/* ==========================================
   AGENTSPACE - Premium Light Theme AI Agency Stylesheet
   ========================================== */



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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

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

/* Layout Utilities */
.container,
.container-fluid {
    width: 100%;
    max-width: 100% !important;
    margin: 0 auto;
    padding: 0 clamp(16px, 3.5vw, 60px);
}

.section {
    padding: 100px 0;
    position: relative;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary-cyan);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    color: #0f172a;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 640px;
    margin-bottom: 48px;
}

.text-center { text-align: center; }
.section-subtitle.text-center { margin-left: auto; margin-right: auto; }

/* Text Gradient Glow */
.text-glow {
    background: linear-gradient(135deg, var(--brand-action) 0%, var(--brand-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    filter: drop-shadow(0 2px 10px rgba(255, 90, 22, 0.25));
}

.sub-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--brand-accent);
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brand-action) 0%, var(--brand-primary) 100%);
    color: #ffffff;
    box-shadow: 0 4px 18px rgba(3, 47, 104, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 90, 22, 0.45), 0 0 15px rgba(10, 91, 216, 0.3);
    background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-accent-hover) 100%);
}

.btn-secondary {
    background: #ffffff;
    color: var(--text-main);
    border: 1px solid rgba(203, 213, 225, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
}

.btn-secondary:hover {
    background: #f1f5f9;
    border-color: var(--primary-blue);
    color: #1e40af;
    transform: translateY(-2px);
}

.play-icon-wrapper {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.play-icon {
    width: 12px;
    height: 12px;
    margin-left: 2px;
}

.arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.btn:hover .arrow-icon {
    transform: translateX(4px);
}


/* ==========================================
   HEADER / NAVBAR
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.navbar.scrolled {
    padding: 14px 0;
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 1px;
    color: #0f172a;
}

.logo-icon {
    width: 32px;
    height: 32px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #0f172a;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-blue);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--primary-blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: #0f172a;
    transition: var(--transition);
}


/* ==========================================
   HERO SECTION WITH INTERACTIVE STACKED WORKFLOW
   ========================================== */
.hero-scroll-track {
    position: relative;
    height: auto;
    min-height: calc(100vh - 80px);
    padding: 40px 0 60px;
    display: flex;
    align-items: center;
}

.hero-scroll-track::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1360px;
    height: 100%;
    max-height: 680px;
    background: 
        radial-gradient(ellipse 65% 50% at 50% 25%, rgba(0, 113, 227, 0.065) 0%, transparent 70%),
        radial-gradient(circle 520px at 85% 30%, rgba(41, 151, 255, 0.06) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

body.robotics-mode .hero-scroll-track::before {
    display: none !important;
}

.hero-sticky-wrapper {
    position: relative;
    z-index: 1;
    top: 0;
    height: auto;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: visible;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 40px;
    align-items: center;
    width: 100%;
}

.hero-title {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 520px;
}

.hero-btns {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Hero Visual & Robot Wrapper */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.robot-wrapper {
    position: relative;
    width: 100%;
    max-width: 540px;
    min-height: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#constellationCanvas {
    display: none !important;
}

.glow-orb {
    position: absolute;
    width: 660px;
    height: 560px;
    max-width: 125%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 113, 227, 0.16) 0%, rgba(41, 151, 255, 0.1) 40%, rgba(175, 82, 222, 0.05) 60%, transparent 75%);
    filter: blur(50px);
    z-index: 1;
    pointer-events: none;
    animation: pulseGlow 7s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: scale(0.95); opacity: 0.7; }
    100% { transform: scale(1.06); opacity: 1; }
}

body.robotics-mode .glow-orb {
    background: radial-gradient(circle, rgba(0, 240, 255, 0.25) 0%, rgba(112, 0, 255, 0.15) 50%, transparent 70%) !important;
}

.cyber-ring {
    position: absolute;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    border: 1px solid rgba(37, 99, 235, 0.2);
    background: radial-gradient(circle, transparent 65%, rgba(37, 99, 235, 0.04) 100%);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.1);
    z-index: 1;
}

/* Floating Badges around Robot */
.floating-badge {
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 6px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: var(--radius-full);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08), 0 0 15px rgba(37, 99, 235, 0.15);
    font-size: 0.75rem;
    color: #0f172a;
    transition: var(--transition);
    animation: floatAnim 4s ease-in-out infinite alternate;
}

.floating-badge:hover {
    transform: scale(1.06) translateY(-4px);
    border-color: var(--primary-blue);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.25);
}

.badge-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-icon svg {
    width: 14px;
    height: 14px;
}

.insta-bg { background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); color: #fff; }
.wa-bg { background: #25D366; color: #fff; }
.blue-bg { background: rgba(37, 99, 235, 0.12); color: var(--primary-blue); border: 1px solid rgba(37, 99, 235, 0.3); }
.cyan-bg { background: rgba(2, 132, 199, 0.12); color: var(--primary-cyan); border: 1px solid var(--primary-cyan); }

.badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.badge-text strong {
    font-weight: 700;
    font-size: 0.75rem;
    color: #0f172a;
}

.badge-text span {
    font-size: 0.7rem;
    color: var(--text-muted);
}

/* Badge Absolute Positioning */
.badge-content   { top: 6%; left: 0%; animation-delay: 0s; }
.badge-insta     { top: 22%; left: -6%; animation-delay: 0.5s; }
.badge-whatsapp  { top: 40%; left: -8%; animation-delay: 1s; }
.badge-leads     { top: 58%; left: -2%; animation-delay: 1.5s; }

.badge-crm       { top: 6%; right: 0%; animation-delay: 0.3s; }
.badge-email     { top: 22%; right: -6%; animation-delay: 0.8s; }
.badge-sales     { top: 40%; right: -8%; animation-delay: 1.3s; }
.badge-analytics { top: 58%; right: -2%; animation-delay: 1.8s; }

@keyframes floatAnim {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-8px); }
}

/* ==========================================
   INTERACTIVE HERO SERVICE BUBBLES & WORKFLOW DEMO
   ========================================== */
.floating-badge {
    cursor: pointer;
    user-select: none;
}

.floating-badge:hover, .floating-badge:focus-visible {
    transform: scale(1.08) translateY(-4px);
    border-color: var(--brand-action);
    box-shadow: 0 12px 30px rgba(10, 91, 216, 0.25), 0 0 15px rgba(255, 90, 22, 0.2);
    outline: none;
}

.floating-badge.active-wf {
    border-color: var(--brand-accent) !important;
    background: #ffffff !important;
    box-shadow: 0 0 25px rgba(255, 90, 22, 0.45), 0 8px 24px rgba(3, 47, 104, 0.25) !important;
    animation: activeBadgePulse 1.8s ease-in-out infinite alternate !important;
}

@keyframes activeBadgePulse {
    0% { transform: scale(1.06) translateY(-4px); box-shadow: 0 0 18px rgba(255, 90, 22, 0.35); }
    100% { transform: scale(1.12) translateY(-6px); box-shadow: 0 0 28px rgba(255, 90, 22, 0.65), 0 0 12px rgba(10, 91, 216, 0.4); }
}

/* Hero Visual Robot Hide Transition */
.robot-img-sequence {
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.robot-img-sequence.demo-hidden {
    opacity: 0 !important;
    transform: scale(0.92) !important;
    pointer-events: none !important;
}

/* ==========================================
   ISOMETRIC 3D BRAND THEME FLOATING BOXES SHOWCASE
   ========================================== */
.hero-3d-boxes-stage {
    position: relative;
    width: 100%;
    max-width: 460px;
    height: 460px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 8;
    transform-style: preserve-3d;
}

.boxes-3d-viewport {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 1200px;
    perspective-origin: 65% 15%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: visible;
}

.boxes-3d-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

/* 3D Tilted Brand Blue Rounded Box Item */
.box-3d-item {
    position: absolute;
    left: 12px;
    right: 12px;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(3, 47, 104, 0.95) 0%, rgba(10, 91, 216, 0.92) 55%, rgba(2, 132, 199, 0.88) 100%);
    border: 1px solid rgba(147, 197, 253, 0.5);
    border-radius: 22px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 25px 50px -10px rgba(3, 47, 104, 0.55),
        0 0 35px rgba(10, 91, 216, 0.35),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1), 
                opacity 0.5s ease, 
                filter 0.5s ease, 
                box-shadow 0.5s ease;
    transform-origin: center top;
    will-change: transform, opacity, filter;
    transform-style: preserve-3d;
}

/* Box Entrance Animation from Above */
.box-3d-item.box-entering {
    animation: box3DDropIn 0.65s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes box3DDropIn {
    0% {
        opacity: 0;
        transform: translateY(-130px) rotateX(32deg) rotateY(-24deg) rotateZ(8deg) scale(1.1) translateZ(60px);
        filter: none;
    }
    100% {
        opacity: 1;
        filter: none;
    }
}

/* Box Header Title */
.box-3d-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.4s ease 0.15s, transform 0.4s ease 0.15s;
}

.box-3d-header.title-visible {
    opacity: 1;
    transform: translateY(0);
}

.box-3d-title {
    font-family: var(--font-tech, 'Orbitron', sans-serif);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.7);
}

.box-3d-badge {
    font-family: var(--font-mono, 'JetBrains Mono', monospace);
    font-size: 0.65rem;
    font-weight: 700;
    color: #00f0ff;
    background: rgba(0, 240, 255, 0.12);
    border: 1px solid rgba(0, 240, 255, 0.35);
    padding: 3px 10px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* Internal Nodes Container & Dynamic Flow */
.box-nodes-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 48px;
    padding: 4px 0;
}

/* SVG Flow Connection Line inside Box */
.box-flow-svg {
    position: absolute;
    top: 50%;
    left: 20%;
    right: 20%;
    width: 60%;
    height: 12px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
}

.box-flow-line {
    stroke: #00f0ff;
    stroke-width: 2.5;
    stroke-dasharray: 120;
    stroke-dashoffset: 120;
    filter: drop-shadow(0 0 8px #00f0ff);
    transition: stroke-dashoffset 0.6s ease;
}

.box-flow-line.line-drawn {
    stroke-dashoffset: 0;
}

/* Mini White/Light Node Pills inside Brand Box */
.mini-node-pill {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 1);
    border-radius: 14px;
    box-shadow: 0 6px 18px rgba(3, 47, 104, 0.25), 0 0 12px rgba(255, 255, 255, 0.4);
    opacity: 0;
    transform: scale(0.6) translateY(8px);
    transition: opacity 0.45s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.mini-node-pill.node-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.mini-node-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00f0ff;
    box-shadow: 0 0 10px #00f0ff;
}

.mini-node-dot.pink-dot,
.mini-node-dot.orange-dot { background: #ff5a16; box-shadow: 0 0 10px #ff5a16; }
.mini-node-dot.cyan-dot { background: #00f0ff; box-shadow: 0 0 10px #00f0ff; }
.mini-node-dot.green-dot { background: #10b981; box-shadow: 0 0 10px #10b981; }

.mini-node-label {
    font-family: var(--font-main);
    font-size: 0.78rem;
    font-weight: 800;
    color: #032f68;
    white-space: nowrap;
}

/* Front / Active Box Glow */
.box-3d-item.active-box {
    border-color: rgba(56, 189, 248, 0.8) !important;
    box-shadow: 
        0 30px 60px -10px rgba(3, 47, 104, 0.75),
        0 0 45px rgba(10, 91, 216, 0.55),
        inset 0 1px 3px rgba(255, 255, 255, 0.6) !important;
}

/* Robotics Mode Dark Cyan Glow Overrides */
body.robotics-mode .box-3d-item {
    background: linear-gradient(135deg, rgba(8, 13, 26, 0.96) 0%, rgba(3, 47, 104, 0.94) 50%, rgba(10, 91, 216, 0.90) 100%) !important;
    border-color: rgba(0, 240, 255, 0.4) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(0, 240, 255, 0.3) !important;
}

body.robotics-mode .box-3d-item.active-box {
    border-color: #00f0ff !important;
    box-shadow: 0 30px 70px rgba(0, 240, 255, 0.5), 0 0 45px rgba(0, 240, 255, 0.6) !important;
}

/* 3D Stack Viewport & Cards Container */
.stacked-cards-viewport {
    position: relative;
    width: 100%;
    max-width: 430px;
    height: 440px;
    perspective: 1000px;
    perspective-origin: 50% 10%;
    overflow: visible;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 10px;
}

.stacked-cards-track {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

/* Individual Physical Floating Rounded Card */
.stacked-card {
    position: absolute;
    left: 8px;
    right: 8px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 18px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 
        0 18px 45px -10px rgba(15, 23, 42, 0.12),
        0 4px 15px rgba(37, 99, 235, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), 
                opacity 0.5s ease, 
                filter 0.5s ease, 
                box-shadow 0.5s ease, 
                border-color 0.5s ease;
    transform-origin: center top;
    will-change: transform, opacity, filter;
}

/* Card Entry Animation */
.stacked-card.entering {
    animation: physicalCardDropIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes physicalCardDropIn {
    0% {
        opacity: 0;
        transform: translateY(-60px) scale(1.08) translateZ(50px) rotateX(-8deg);
        filter: none;
    }
    100% {
        opacity: 1;
        filter: none;
    }
}

/* Active Front Card Glow */
.stacked-card.active {
    background: rgba(255, 255, 255, 0.98) !important;
    border-color: rgba(37, 99, 235, 0.45) !important;
    box-shadow: 
        0 22px 50px -8px rgba(37, 99, 235, 0.28),
        0 0 25px rgba(0, 240, 255, 0.35),
        inset 0 0 15px rgba(37, 99, 235, 0.04) !important;
}

.stacked-card.completed {
    border-color: rgba(16, 185, 129, 0.4);
}

/* Card Left Info Group */
.stacked-card-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stacked-card-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: #2563eb;
    transition: var(--transition);
}

.stacked-card.active .stacked-card-icon {
    background: linear-gradient(135deg, #2563eb, #00f0ff);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
    border-color: transparent;
}

.stacked-card.completed .stacked-card-icon {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
}

.stacked-card-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stacked-card-step-num {
    font-family: var(--font-mono, monospace);
    font-size: 0.65rem;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.stacked-card-title {
    font-family: var(--font-main);
    font-size: 0.88rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}

.stacked-card.active .stacked-card-title {
    color: #2563eb;
}

/* Card Right Status Tag */
.stacked-card-status {
    font-family: var(--font-mono, monospace);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(241, 245, 249, 0.9);
    color: #64748b;
    border: 1px solid rgba(203, 213, 225, 0.8);
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.stacked-card.active .stacked-card-status {
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.2);
}

.stacked-card.completed .stacked-card-status {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
}

/* Glowing Connection Line Beam between stacked cards */
.stacked-connection-beam {
    position: absolute;
    left: 32px;
    width: 2px;
    background: linear-gradient(180deg, #00f0ff, #2563eb);
    box-shadow: 0 0 10px #00f0ff;
    z-index: 15;
    transition: top 0.4s ease, height 0.4s ease;
    border-radius: 2px;
}

.stacked-connection-beam::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: -3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00f0ff;
    box-shadow: 0 0 12px #00f0ff, 0 0 20px #2563eb;
    animation: beamGlowPulse 0.8s infinite alternate;
}

@keyframes beamGlowPulse {
    0% { transform: scale(0.8); opacity: 0.7; }
    100% { transform: scale(1.4); opacity: 1; }
}

/* Active Floating Badge Styling in Hero */
.floating-badge.active-wf {
    border-color: var(--brand-action, #ff5a16) !important;
    background: #ffffff !important;
    box-shadow: 0 0 25px rgba(255, 90, 22, 0.5), 0 8px 24px rgba(37, 99, 235, 0.25) !important;
    animation: activeBadgePulse 1.8s ease-in-out infinite alternate !important;
    transform: scale(1.1) translateY(-6px) !important;
}

@keyframes activeBadgePulse {
    0% { box-shadow: 0 0 18px rgba(255, 90, 22, 0.4); }
    100% { box-shadow: 0 0 30px rgba(255, 90, 22, 0.7), 0 0 14px rgba(0, 240, 255, 0.5); }
}

/* Robotics Mode Dark Theme Overrides */
body.robotics-mode .hero-stacked-workflow {
    background: rgba(11, 20, 38, 0.94) !important;
    border-color: rgba(0, 240, 255, 0.35) !important;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(0, 240, 255, 0.25) !important;
}

body.robotics-mode .stacked-wf-title {
    color: #ffffff !important;
}

body.robotics-mode .stacked-wf-header {
    border-bottom-color: rgba(0, 240, 255, 0.2) !important;
}

body.robotics-mode .stacked-card {
    background: rgba(15, 26, 48, 0.94) !important;
    border-color: rgba(0, 240, 255, 0.22) !important;
    color: #ffffff !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
}

body.robotics-mode .stacked-card-title {
    color: #ffffff !important;
}

body.robotics-mode .stacked-card-step-num {
    color: #94a3b8 !important;
}

body.robotics-mode .stacked-card.active {
    background: rgba(20, 38, 70, 0.98) !important;
    border-color: #00f0ff !important;
    box-shadow: 
        0 14px 40px rgba(0, 240, 255, 0.35),
        0 0 25px rgba(0, 240, 255, 0.5) !important;
}

body.robotics-mode .stacked-card.active .stacked-card-title {
    color: #00f0ff !important;
}

/* Workflow Container Card */
.wf-demo-card {
    width: 100%;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(10, 91, 216, 0.25);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(3, 47, 104, 0.15), 0 0 30px rgba(10, 91, 216, 0.12);
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.wf-demo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-action), var(--brand-accent), #00ff9d);
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
}

/* Header */
.wf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.wf-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wf-live-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    animation: blinkDot 1.2s infinite alternate;
}

@keyframes blinkDot {
    0% { opacity: 0.4; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.15); }
}

.wf-title-text {
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 0.92rem;
    letter-spacing: 0.8px;
    color: #0f172a;
    text-transform: uppercase;
}

.wf-subtitle-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: var(--brand-action);
    background: rgba(10, 91, 216, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(10, 91, 216, 0.2);
}

.wf-close-btn {
    background: rgba(241, 245, 249, 0.9);
    border: 1px solid rgba(203, 213, 225, 0.8);
    color: #64748b;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    transition: var(--transition);
}

.wf-close-btn:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    transform: rotate(90deg);
}

/* Nodes Grid & Connections */
.wf-canvas-area {
    position: relative;
    min-height: 210px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    align-content: center;
}

.wf-connector-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.wf-path-bg {
    stroke: rgba(203, 213, 225, 0.5);
    stroke-width: 2;
    fill: none;
    stroke-dasharray: 4, 4;
}

.wf-path-glow {
    stroke: var(--brand-action);
    stroke-width: 3;
    fill: none;
    stroke-dasharray: 12, 120;
    stroke-linecap: round;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wf-path-glow.active {
    opacity: 1;
    animation: flowPulse 1.4s linear infinite;
}

@keyframes flowPulse {
    0% { stroke-dashoffset: 128; }
    100% { stroke-dashoffset: 0; }
}

/* Node Item */
.wf-node {
    position: relative;
    z-index: 2;
    background: #ffffff;
    border: 1px solid rgba(203, 213, 225, 0.8);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.65;
    transform: translateY(4px);
}

.wf-node.node-active {
    opacity: 1;
    transform: translateY(0) scale(1.02);
    border-color: var(--brand-action);
    box-shadow: 0 8px 20px rgba(10, 91, 216, 0.2), 0 0 15px rgba(10, 91, 216, 0.15);
}

.wf-node.node-completed {
    opacity: 1;
    transform: translateY(0);
    border-color: #10b981;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.2);
}

.wf-node-icon-wrapper {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(10, 91, 216, 0.08);
    color: var(--brand-action);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.wf-node.node-active .wf-node-icon-wrapper {
    background: linear-gradient(135deg, var(--brand-action), var(--brand-accent));
    color: #ffffff;
    box-shadow: 0 0 12px rgba(255, 90, 22, 0.4);
}

.wf-node.node-completed .wf-node-icon-wrapper {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.4);
}

.wf-node-icon-wrapper svg {
    width: 16px;
    height: 16px;
}

.wf-node-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.wf-node-label {
    font-size: 0.76rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wf-node-sub {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wf-node-status-pill {
    margin-left: auto;
    font-size: 0.58rem;
    font-weight: 700;
    font-family: var(--font-mono);
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    background: #f1f5f9;
    color: #64748b;
    flex-shrink: 0;
}

.wf-node.node-active .wf-node-status-pill {
    background: rgba(255, 90, 22, 0.12);
    color: var(--brand-accent);
    border: 1px solid rgba(255, 90, 22, 0.3);
}

.wf-node.node-completed .wf-node-status-pill {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Live HUD Console Panel */
.wf-hud-panel {
    background: #0f172a;
    border-radius: var(--radius-md);
    padding: 12px 14px;
    color: #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid rgba(51, 65, 85, 0.8);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

.wf-hud-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.68rem;
}

.wf-hud-status {
    color: #38bdf8;
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
}

.wf-hud-timer {
    color: #94a3b8;
}

.wf-progress-track {
    width: 100%;
    height: 4px;
    background: #1e293b;
    border-radius: 2px;
    overflow: hidden;
}

.wf-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #38bdf8, #818cf8, #34d399);
    transition: width 0.3s ease;
}

.wf-terminal-stream {
    font-family: var(--font-mono);
    font-size: 0.66rem;
    line-height: 1.4;
    color: #a7f3d0;
    max-height: 52px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-right: 4px;
}

.wf-terminal-line {
    opacity: 0.9;
    word-break: break-all;
}

.wf-terminal-line.success {
    color: #34d399;
    font-weight: 700;
}

/* Robotics Mode Dark Theme Overrides for Workflow Overlay */
body.robotics-mode .wf-demo-card {
    background: rgba(11, 20, 38, 0.95) !important;
    border-color: rgba(0, 240, 255, 0.35) !important;
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.25), 0 0 15px rgba(112, 0, 255, 0.2) !important;
}

body.robotics-mode .wf-demo-card::before {
    background: linear-gradient(90deg, #00f0ff, #7000ff, #00ff9d) !important;
}

body.robotics-mode .wf-header {
    border-bottom-color: rgba(0, 240, 255, 0.2) !important;
}

body.robotics-mode .wf-title-text {
    color: #ffffff !important;
    font-family: var(--font-hud) !important;
}

body.robotics-mode .wf-subtitle-tag {
    background: rgba(0, 240, 255, 0.12) !important;
    color: #00f0ff !important;
    border-color: rgba(0, 240, 255, 0.3) !important;
}

body.robotics-mode .wf-close-btn {
    background: rgba(17, 30, 56, 0.85) !important;
    color: #00f0ff !important;
    border-color: rgba(0, 240, 255, 0.3) !important;
}

body.robotics-mode .wf-close-btn:hover {
    background: #ff0055 !important;
    color: #ffffff !important;
    border-color: #ff0055 !important;
}

body.robotics-mode .wf-node {
    background: rgba(17, 30, 56, 0.9) !important;
    border-color: rgba(0, 240, 255, 0.2) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4) !important;
}

body.robotics-mode .wf-node-label {
    color: #ffffff !important;
}

body.robotics-mode .wf-node-sub {
    color: #94a3b8 !important;
}

body.robotics-mode .wf-node.node-active {
    border-color: #00f0ff !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.5) !important;
}

body.robotics-mode .wf-node.node-completed {
    border-color: #00ff9d !important;
    box-shadow: 0 0 15px rgba(0, 255, 157, 0.4) !important;
}

body.robotics-mode .wf-node-icon-wrapper {
    background: rgba(0, 240, 255, 0.15) !important;
    color: #00f0ff !important;
}

body.robotics-mode .wf-node.node-active .wf-node-icon-wrapper {
    background: linear-gradient(135deg, #00f0ff, #7000ff) !important;
    color: #030712 !important;
}

body.robotics-mode .wf-node.node-completed .wf-node-icon-wrapper {
    background: #00ff9d !important;
    color: #030712 !important;
}

body.robotics-mode .wf-node-status-pill {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
}

body.robotics-mode .floating-badge.active-wf {
    border-color: #00f0ff !important;
    background: #080d1a !important;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.7), 0 0 15px rgba(112, 0, 255, 0.5) !important;
}

/* Workflow Pillar Bar Floating below Robot */
.workflow-pillar-bar {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 12;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: var(--radius-full);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08), 0 0 20px rgba(37, 99, 235, 0.15);
    white-space: nowrap;
}

.pill-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
}

.pill-item svg {
    width: 14px;
    height: 14px;
    stroke: var(--text-muted);
}

.pill-item.active {
    color: var(--primary-blue);
}

.pill-item.active svg {
    stroke: var(--primary-blue);
}

.pill-arrow {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* Scroll Indicator */
.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 60px;
    color: var(--text-dim);
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.mouse-icon {
    width: 20px;
    height: 32px;
    border: 2px solid var(--text-dim);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 3px;
    height: 6px;
    background: var(--primary-blue);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}


/* ==========================================
   LIVE STATS COUNTER BAR & LOGO BAR
   ========================================== */
.logo-bar {
    padding: 40px 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    background: rgba(241, 245, 249, 0.7);
}

.logo-bar-title {
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 600;
}

.logos-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
    opacity: 0.85;
}

.logo-item {
    font-size: 1.15rem;
    font-weight: 700;
    color: #334155;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.logo-item:hover {
    opacity: 1;
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.inline-logo {
    width: 16px;
    height: 16px;
}

.stats-bar {
    padding: 48px 0;
    background: rgba(241, 245, 249, 0.7);
    border-bottom: 1px solid #e2e8f0;
}

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

.stat-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.04);
    transition: var(--transition);
}

.stat-item:hover {
    border-color: var(--primary-blue);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.12);
}

.stat-num-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.stat-plus {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* ==========================================
   PROCESS SECTION & TERMINAL BOX
   ========================================== */
.process-section {
    position: relative;
    overflow: hidden;
}

.video-bg-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    filter: contrast(1.1) brightness(1.1);
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 50%, rgba(248, 250, 252, 0.75) 0%, rgba(248, 250, 252, 0.92) 100%);
    pointer-events: none;
}

.process-section .container {
    position: relative;
    z-index: 2;
}

.speech-bubble-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 32px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    position: relative;
}

.user-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e40af;
    margin-bottom: 20px;
}

.user-pill svg {
    width: 14px;
    height: 14px;
    fill: var(--primary-blue);
}

.speech-quote {
    font-size: 1rem;
    color: #1e293b;
    line-height: 1.6;
    font-style: italic;
}

.process-terminal-box {
    margin-top: 24px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.terminal-header {
    background: #f1f5f9;
    padding: 8px 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #e2e8f0;
}

.term-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.term-dot.red { background: #ef4444; }
.term-dot.yellow { background: #f59e0b; }
.term-dot.green { background: #10b981; }

.term-title {
    font-size: 0.72rem;
    font-family: monospace;
    color: #475569;
    margin-left: 6px;
    font-weight: 600;
}

.terminal-body {
    background: #f8fafc;
    padding: 16px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.78rem;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.term-cyan   { color: #0284c7; font-weight: 600; }
.term-blue   { color: #2563eb; font-weight: 600; }
.term-purple { color: #7c3aed; font-weight: 600; }
.term-green  { color: #059669; font-weight: bold; }

.process-steps-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.step-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 8px;
}

.step-icon-box {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: var(--transition);
}

.step-icon-box svg {
    width: 24px;
    height: 24px;
}

.glow-blue {
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: var(--primary-blue);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.15);
}

.glow-cyan {
    background: rgba(2, 132, 199, 0.1);
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.15);
}

.glow-purple {
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.3);
    color: #7c3aed;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.15);
}

.step-card:hover .step-icon-box {
    transform: scale(1.1);
}

.step-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.step-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.step-connector {
    color: var(--text-dim);
    font-size: 1.2rem;
}


/* ==========================================
   AI AGENT SOLUTIONS - STICKY SCROLL FEATURE SHOWCASE
   ========================================== */
.solutions-scroll-section {
    padding-top: 80px;
    padding-bottom: 0;
}

.solutions-scroll-track {
    position: relative;
    height: 300vh; /* 3 viewports scroll distance for 5 interactive cards */
}

.solutions-sticky-wrapper {
    position: sticky;
    top: 70px;
    height: calc(100vh - 70px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.solutions-stage-wrapper {
    position: relative;
    width: 100%;
    min-height: 440px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.sol-step-stage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 380px;
    display: flex;
    align-items: center;
    gap: 36px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.sol-step-stage.step-left {
    transform: translateX(-50px) scale(0.96);
}

.sol-step-stage.step-right {
    transform: translateX(50px) scale(0.96);
}

.sol-step-stage.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0) scale(1);
    z-index: 5;
}

/* Vertical Patti Side Header Strip */
.sol-vertical-patti {
    width: 90px;
    height: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 24px 12px;
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06), inset 0 0 15px rgba(37, 99, 235, 0.04);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.patti-left {
    border-left: 3px solid var(--primary-blue);
    box-shadow: -10px 0 30px rgba(37, 99, 235, 0.1);
}

.patti-right {
    border-right: 3px solid var(--primary-blue);
    box-shadow: 10px 0 30px rgba(37, 99, 235, 0.1);
}

.patti-title-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex: 1;
    justify-content: center;
}

.patti-step-num {
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: 1px;
}

.patti-title {
    writing-mode: vertical-lr;
    transform: rotate(180deg);
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: #0f172a;
    text-transform: uppercase;
    margin: 0;
}

.patti-accent-bar {
    width: 24px;
    height: 3px;
    background: var(--primary-blue);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
}

/* Stage Content Adjacent to Vertical Patti */
.sol-stage-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.sol-stage-text {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 18px 24px;
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.sol-stage-text h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.sol-stage-text p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.sol-preview-box {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.sol-preview-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-blue);
    letter-spacing: 1px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
}

.sol-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-blue);
    box-shadow: 0 0 10px var(--primary-blue);
}

.sol-preview-body {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0;
}

.mock-card {
    width: 100%;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
}

/* Top Step Controller Pills Row */
.solutions-step-nav {
    margin: 0 auto 24px auto;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    z-index: 20;
    flex-wrap: wrap;
}

.step-nav-btn {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.step-nav-btn .nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--text-muted);
    transition: all 0.3s ease;
}

.step-nav-btn.active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.2);
}

.step-nav-btn.active .nav-dot {
    background: var(--primary-blue);
    box-shadow: 0 0 8px var(--primary-blue);
}

.mock-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.mock-text {
    font-size: 0.95rem;
    color: #0f172a;
    font-weight: 600;
    margin-bottom: 20px;
}

.mock-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

.mock-fill {
    height: 100%;
    width: 75%;
    border-radius: 3px;
    animation: barPulse 2s infinite alternate;
}

.blue-fill   { background: linear-gradient(90deg, #2563eb, #0284c7); }
.cyan-fill   { background: linear-gradient(90deg, #0284c7, #38bdf8); }
.purple-fill { background: linear-gradient(90deg, #7c3aed, #c084fc); }
.orange-fill { background: linear-gradient(90deg, #d97706, #fbbf24); }
.pink-fill   { background: linear-gradient(90deg, #db2777, #f472b6); }

@keyframes barPulse {
    0% { width: 40%; }
    100% { width: 88%; }
}


/* ==========================================
   AGENT SHOWCASE SECTION (3D ROBOTICS STYLE)
   ========================================== */
.showcase-section {
    padding: 100px 0;
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.agent-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.05);
}

.agent-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-blue);
    box-shadow: 0 20px 45px rgba(37, 99, 235, 0.18);
}

.agent-status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #0f172a;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.status-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.green-pulse  { background: #10b981; box-shadow: 0 0 8px #10b981; }
.cyan-pulse   { background: #0284c7; box-shadow: 0 0 8px #0284c7; }
.purple-pulse { background: #7c3aed; box-shadow: 0 0 8px #7c3aed; }
.orange-pulse { background: #d97706; box-shadow: 0 0 8px #d97706; }

.agent-img-box {
    width: 100%;
    height: 190px;
    overflow: hidden;
    position: relative;
}

.agent-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary-blue), transparent);
    box-shadow: 0 0 15px var(--primary-blue);
    z-index: 5;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.agent-card:hover .scan-line {
    opacity: 1;
    animation: scanAnim 2s ease-in-out infinite;
}

@keyframes scanAnim {
    0% { top: 0%; }
    50% { top: 95%; }
    100% { top: 0%; }
}

.agent-card-body {
    padding: 20px 16px;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.agent-card-body h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.agent-card-body p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

.agent-arrow-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: auto;
    margin-left: auto;
    transition: var(--transition);
}

.agent-arrow-btn svg {
    width: 14px;
    height: 14px;
}

.agent-card:hover .agent-arrow-btn {
    background: var(--primary-blue);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.4);
}

/* Custom Build Action Card */
.custom-build-card {
    background: linear-gradient(145deg, rgba(37, 99, 235, 0.06) 0%, #ffffff 100%);
    border: 1px dashed var(--primary-blue);
    padding: 24px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.custom-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.plus-icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.2);
}

.plus-icon-circle svg {
    width: 22px;
    height: 22px;
}

.custom-card-text {
    font-size: 0.85rem;
    color: #0f172a;
    line-height: 1.5;
}


/* ==========================================
   TIMELINE SECTION (3D ROBOTIC PIPELINE)
   ========================================== */
.timeline-wrapper {
    position: relative;
    margin-top: 60px;
}

.timeline-line {
    position: absolute;
    top: 24px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: rgba(37, 99, 235, 0.2);
    z-index: 1;
    overflow: hidden;
}

.laser-beam {
    width: 150px;
    height: 100%;
    background: linear-gradient(90deg, transparent, #2563eb, transparent);
    box-shadow: 0 0 15px #2563eb;
    animation: laserMove 4s linear infinite;
}

@keyframes laserMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(900%); }
}

.timeline-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.timeline-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 24px 16px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.04);
    transition: var(--transition);
}

.timeline-item:hover {
    transform: translateY(-6px);
    border-color: var(--primary-blue);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.15);
    background: #ffffff;
}

.step-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25);
    transition: var(--transition);
}

.glow-blue-ring   { border-color: #2563eb; color: #2563eb; box-shadow: 0 4px 15px rgba(37, 99, 235, 0.25); }
.glow-cyan-ring   { border-color: #0284c7; color: #0284c7; box-shadow: 0 4px 15px rgba(2, 132, 199, 0.25); }
.glow-purple-ring { border-color: #7c3aed; color: #7c3aed; box-shadow: 0 4px 15px rgba(124, 58, 237, 0.25); }
.glow-orange-ring { border-color: #d97706; color: #d97706; box-shadow: 0 4px 15px rgba(217, 119, 6, 0.25); }
.glow-pink-ring   { border-color: #db2777; color: #db2777; box-shadow: 0 4px 15px rgba(219, 39, 119, 0.25); }

.timeline-item h4 {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.timeline-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}


/* ==========================================
   CTA BANNER SECTION
   ========================================== */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(rgba(248, 250, 252, 0.88), rgba(248, 250, 252, 0.94)), url('assets/images/bg-last.png') center/cover no-repeat;
    overflow: hidden;
    background-attachment: fixed;
}

.cta-banner {
    position: relative;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    overflow: visible;
    box-shadow: none;
}

.cta-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 350px;
    background: radial-gradient(ellipse, rgba(37, 99, 235, 0.12) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.cta-content-wrapper {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 48px;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Left Column */
.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary-blue);
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.15);
}

.chip-icon {
    width: 14px;
    height: 14px;
    stroke: var(--primary-blue);
}

.cta-heading {
    font-size: 2.3rem;
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
    margin-bottom: 16px;
}

.cta-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* Benefit Pills Row */
.benefit-pills-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.benefit-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: #0f172a;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.benefit-pill svg {
    width: 13px;
    height: 13px;
    color: var(--primary-blue);
}

.cta-btns {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* Right Column (Glassmorphism Info Card) */
.cta-card-right {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    backdrop-filter: blur(16px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.cta-card-header {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary-blue);
    margin-bottom: 24px;
    line-height: 1.4;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
}

.cta-feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cta-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.cta-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.cta-icon-box svg {
    width: 18px;
    height: 18px;
}

.cta-feature-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2px;
}

.cta-feature-info p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.35;
}


/* ==========================================
   FOOTER
   ========================================== */
.footer {
    padding: 40px 0;
    border-top: 1px solid #e2e8f0;
    background: #f1f5f9;
}

.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px;
}

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

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    color: var(--text-muted);
    width: 20px;
    height: 20px;
    display: inline-flex;
}

.social-icons a:hover {
    color: var(--primary-blue);
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-dim);
}


/* ==========================================
   GLOBAL CORNER FLOATING AI ROBOT WIDGET (DISABLED / COMMENTED OUT)
   ========================================== */
.corner-robot-widget {
    display: none !important; /* Disabled bouncing agent.png widget */
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    pointer-events: none;
}

.corner-robot-avatar {
    position: relative;
    width: 115px;
    height: auto;
    cursor: pointer;
    pointer-events: auto;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.corner-robot-avatar:hover {
    transform: scale(1.08) translateY(-4px);
}

.bouncing-agent-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 8px 25px rgba(37, 99, 235, 0.35));
    animation: cornerRobotBounce 2.8s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
}

@keyframes cornerRobotBounce {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
    100% { transform: translateY(0px); }
}

/* Robot Speech Bubble */
.robot-speech-bubble {
    background: #ffffff;
    border: 1px solid var(--primary-blue);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    width: 280px;
    margin-bottom: 12px;
    backdrop-filter: blur(16px);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12), 0 0 20px rgba(37, 99, 235, 0.15);
    position: relative;
    opacity: 0;
    transform: translateY(15px) scale(0.9);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.robot-speech-bubble.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.speech-close {
    position: absolute;
    top: 4px;
    right: 10px;
    font-size: 1.1rem;
    color: var(--text-muted);
    cursor: pointer;
}

.speech-close:hover { color: #0f172a; }

.speech-text {
    font-size: 0.85rem;
    color: #0f172a;
    line-height: 1.45;
    font-weight: 500;
    margin-bottom: 12px;
}

.speech-actions {
    display: flex;
    gap: 8px;
}

.speech-btn {
    padding: 6px 14px;
    background: var(--primary-blue);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

.speech-btn-sec {
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
    border: 1px solid rgba(37, 99, 235, 0.3);
}


/* ==========================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-description { margin-left: auto; margin-right: auto; }
    .hero-btns { justify-content: center; }
    .hero-title { font-size: 2.8rem; }
    .hero-scroll-track { height: auto; }
    .hero-sticky-wrapper { position: relative; top: 0; height: auto; padding-top: 120px; padding-bottom: 60px; }
    
    .floating-badge { display: none; }
    .workflow-pillar-bar { position: relative; bottom: 0; left: 0; transform: none; margin-top: 20px; flex-wrap: wrap; justify-content: center; }
    
    .solutions-scroll-track { height: auto; }
    .solutions-sticky-wrapper { position: relative; top: 0; height: auto; padding: 40px 0; }
    .solutions-stage-wrapper { min-height: auto; gap: 24px; }
    .sol-step-stage { position: relative; opacity: 1; pointer-events: auto; transform: none !important; height: auto; flex-direction: column !important; gap: 16px; margin-bottom: 24px; }
    .sol-vertical-patti { width: 100%; height: auto; flex-direction: row; padding: 12px 20px; border-left: 3px solid var(--primary-blue) !important; border-right: 1px solid #e2e8f0 !important; }
    .patti-title-box { flex-direction: row; gap: 12px; }
    .patti-title { writing-mode: horizontal-tb; transform: none; font-size: 1.1rem; }
    .solutions-step-nav { display: none; }
    
    .integrations-wrapper { grid-template-columns: 1fr; }
    .agents-grid { grid-template-columns: repeat(3, 1fr); }
    .cta-content-wrapper { grid-template-columns: 1fr; text-align: center; }
    .cta-btns { justify-content: center; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #ffffff;
        padding: 24px;
        border-bottom: 1px solid #e2e8f0;
        box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
    }
    .mobile-toggle { display: flex; }
    
    .hero-title { font-size: 2.2rem; }
    .process-grid { grid-template-columns: 1fr; }
    .process-steps-row { flex-wrap: wrap; justify-content: center; }
    .action-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .agents-grid { grid-template-columns: repeat(2, 1fr); }
    .timeline-grid { grid-template-columns: 1fr; gap: 20px; }
    .timeline-line { display: none; }
    .integrations-wrapper { grid-template-columns: 1fr; }
    .footer-container { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .agents-grid { grid-template-columns: 1fr; }
    .action-cards-grid { grid-template-columns: 1fr; }
    .platforms-grid { grid-template-columns: 1fr 1fr; }
    .cta-heading { font-size: 1.7rem; }
}

/* ==========================================
   Holographic Crosshair & Spark Trail
   ========================================== */
.sci-cursor-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 0;
    pointer-events: none;
    z-index: 99999;
}

.sci-cursor-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #2563eb;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px #2563eb, 0 0 20px #2563eb, 0 0 30px #0284c7;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.sci-cursor-reticle {
    position: absolute;
    width: 42px;
    height: 42px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    pointer-events: none;
    transition: width 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                height 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275),
                border-color 0.25s ease;
}

.reticle-ring {
    position: absolute;
    inset: 0;
    border: 1.5px dashed rgba(37, 99, 235, 0.7);
    border-radius: 50%;
    animation: rotateReticle 10s linear infinite;
}

@keyframes rotateReticle {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.reticle-bracket {
    position: absolute;
    width: 9px;
    height: 9px;
    border-color: #2563eb;
    border-style: solid;
    transition: all 0.25s ease;
    filter: drop-shadow(0 0 4px #2563eb);
}

.bracket-tl {
    top: -2px;
    left: -2px;
    border-width: 2px 0 0 2px;
}

.bracket-tr {
    top: -2px;
    right: -2px;
    border-width: 2px 2px 0 0;
}

.bracket-bl {
    bottom: -2px;
    left: -2px;
    border-width: 0 0 2px 2px;
}

.bracket-br {
    bottom: -2px;
    right: -2px;
    border-width: 0 2px 2px 0;
}

.reticle-target-text {
    position: absolute;
    top: -24px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    font-family: monospace, monospace;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #ffffff;
    background: #2563eb;
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid #1d4ed8;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.25s ease;
    box-shadow: 0 0 14px rgba(37, 99, 235, 0.5);
}

/* Hover Lock State on interactive elements */
.sci-cursor-container.locked .sci-cursor-dot {
    background: #e11d48;
    box-shadow: 0 0 12px #e11d48, 0 0 25px #e11d48, 0 0 40px #e11d48;
}

.sci-cursor-container.locked .sci-cursor-reticle {
    width: 62px;
    height: 62px;
}

.sci-cursor-container.locked .reticle-ring {
    border-color: rgba(225, 29, 72, 0.95);
    border-style: solid;
    animation-duration: 2.5s;
    box-shadow: 0 0 15px rgba(225, 29, 72, 0.4);
}

.sci-cursor-container.locked .reticle-bracket {
    border-color: #e11d48;
    width: 14px;
    height: 14px;
    filter: drop-shadow(0 0 6px #e11d48);
}

.sci-cursor-container.locked .reticle-target-text {
    transform: translateX(-50%) scale(1);
    opacity: 1;
    background: #e11d48;
    border-color: #be123c;
    box-shadow: 0 0 14px rgba(225, 29, 72, 0.6);
}

/* Disable retro sci-fi crosshair cursor and restore natural mouse interaction */
.sci-cursor-container {
    display: none !important;
}

@media (min-width: 1025px) {
    body, a, button, input, textarea, select, .card-3d, .sol-card, .agent-card, .bouncing-agent-img {
        cursor: auto !important;
    }
    a, button, [role="button"], .prompt-chip, .sim-tab-btn, .channel-pill {
        cursor: pointer !important;
    }
}

/* ==========================================
   Preloader Overlay (Light Theme)
   ========================================== */
.preloader-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: #ffffff;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1),
                visibility 0.8s cubic-bezier(0.77, 0, 0.175, 1),
                transform 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}

.preloader-overlay.loaded {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.06);
    pointer-events: none;
}

.preloader-content {
    width: 90%;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.preloader-ai-core {
    position: relative;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.preloader-spin-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid transparent;
}

.preloader-spin-ring.ring-outer {
    border-top-color: #0284c7;
    border-right-color: #2563eb;
    animation: preloaderSpin 1.2s linear infinite;
    filter: drop-shadow(0 0 15px rgba(2, 132, 199, 0.5));
}

.preloader-spin-ring.ring-inner {
    inset: 12px;
    border-bottom-color: #00f0ff;
    border-left-color: #a855f7;
    animation: preloaderSpinRev 0.9s linear infinite;
    filter: drop-shadow(0 0 10px rgba(0, 240, 255, 0.5));
}

.preloader-core-icon {
    font-size: 2rem;
    animation: corePulse 1.4s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.9));
}

@keyframes preloaderSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes preloaderSpinRev {
    0% { transform: rotate(360deg); }
    100% { transform: rotate(0deg); }
}

@keyframes corePulse {
    0% { transform: scale(0.85); opacity: 0.7; }
    100% { transform: scale(1.18); opacity: 1; }
}

.preloader-text-box {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: #0f172a;
    text-transform: uppercase;
    margin-bottom: 24px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.preloader-typed-text {
    background: linear-gradient(135deg, #0f172a 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.preloader-cursor {
    color: #2563eb;
    animation: blinkCursor 0.6s infinite alternate;
    font-weight: 300;
    margin-left: 4px;
}

@keyframes blinkCursor {
    from { opacity: 1; }
    to { opacity: 0; }
}

.preloader-progress-box {
    width: 100%;
}

.preloader-progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 12px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.preloader-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2563eb, #0284c7, #e11d48);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.5);
    transition: width 0.04s linear;
}

.preloader-status {
    display: flex;
    justify-content: space-between;
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 1.5px;
    font-weight: 600;
}

.status-percent {
    color: var(--primary-blue);
    font-weight: 800;
}

@media (max-width: 600px) {
    .preloader-text-box { font-size: 1.4rem; letter-spacing: 2px; }
    .preloader-robot-img { height: 75px; }
    .preloader-robot-track { height: 90px; }
}

/* ==========================================
   Subpage Global Hero & Sci-Fi Component Styles
   ========================================== */

.subpage-hero {
    padding: 130px 0 60px 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.03) 0%, rgba(2, 132, 199, 0.05) 100%);
    border-bottom: 1px solid var(--border-color);
}

.subpage-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 991px) {
    .subpage-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.breadcrumb-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--primary-cyan);
    margin-bottom: 16px;
    text-transform: uppercase;
    background: rgba(2, 132, 199, 0.08);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(2, 132, 199, 0.2);
}

.breadcrumb-nav a {
    color: var(--text-muted);
}

.breadcrumb-nav a:hover {
    color: var(--primary-blue);
}

.subpage-hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    color: #0f172a;
}

.subpage-hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 620px;
    margin-bottom: 28px;
}

.subpage-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.subpage-robot-card {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.subpage-robot-img {
    max-height: 240px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(37, 99, 235, 0.3));
    animation: floatRobot 4s ease-in-out infinite;
}

@keyframes floatRobot {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(1deg); }
}

.subpage-hud-badge {
    position: absolute;
    bottom: -15px;
    background: #0f172a;
    color: #38bdf8;
    font-family: monospace;
    font-size: 0.8rem;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    border: 1px solid #0284c7;
    box-shadow: 0 0 15px rgba(2, 132, 199, 0.4);
    display: flex;
    align-items: center;
    gap: 8px;
}

.hud-pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

/* Category Tab Filter Bar (AI Agents Page) */
.filter-tab-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-tab-bar {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    background: var(--bg-surface);
    padding: 8px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.filter-btn {
    padding: 10px 22px;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    background: transparent;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.05);
}

.filter-btn.active {
    background: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

/* Enhanced Agent Cards Grid */
.agents-full-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 30px;
}

.agent-pod-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.agent-pod-card:hover {
    border-color: var(--border-glow);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    transform: translateY(-6px);
}

.agent-pod-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.agent-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(2, 132, 199, 0.15));
    border: 1px solid rgba(37, 99, 235, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
}

.agent-status-tag {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #16a34a;
    background: rgba(22, 163, 74, 0.1);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(22, 163, 74, 0.25);
}

.agent-pod-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #0f172a;
}

.agent-pod-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-grow: 1;
}

.agent-spec-list {
    list-style: none;
    margin-bottom: 24px;
    border-top: 1px dashed var(--border-color);
    padding-top: 16px;
}

.agent-spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: var(--text-main);
    margin-bottom: 8px;
    font-weight: 600;
}

.agent-spec-item svg {
    color: var(--primary-cyan);
    flex-shrink: 0;
}

/* ==========================================
   AI AGENTS PAGE ENHANCEMENTS & PREMIUM PRODUCT LIBRARY STYLES
   ========================================== */

/* 1. Subpage Hero Matrix Visual & Category Indicator Pills */
.subpage-robot-card {
    position: relative;
    overflow: visible !important;
}

.matrix-pills-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.matrix-pill {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(3, 47, 104, 0.15);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-primary);
    box-shadow: 0 4px 14px rgba(3, 47, 104, 0.1);
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: floatPill 4s ease-in-out infinite alternate;
}

.matrix-pill .pill-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand-accent);
    box-shadow: 0 0 8px var(--brand-accent);
    animation: pulseDot 1.6s infinite ease-in-out;
}

.matrix-pill.pill-sales { top: 12px; left: -14px; animation-delay: 0s; }
.matrix-pill.pill-support { top: 50px; right: -16px; animation-delay: 0.7s; }
.matrix-pill.pill-social { top: 120px; left: -22px; animation-delay: 1.4s; }
.matrix-pill.pill-workflow { bottom: 65px; right: -14px; animation-delay: 2.1s; }
.matrix-pill.pill-voice { bottom: 25px; left: 10px; animation-delay: 2.8s; }
.matrix-pill.pill-data { top: 10px; right: 20px; animation-delay: 0.4s; }

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

@keyframes pulseDot {
    0%, 100% { opacity: 0.4; transform: scale(0.85); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* 2. Responsive Agent Pod Cards Grid */
.agents-full-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 28px !important;
}

@media (max-width: 1023px) {
    .agents-full-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 767px) {
    .agents-full-grid {
        grid-template-columns: 1fr !important;
    }
}

/* 3. Card Visual Hierarchy & Status Tag */
.status-pulse-dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 8px #16a34a;
    margin-right: 5px;
    animation: pulseDot 1.5s infinite;
}

.agent-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.agent-pod-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0;
}

.agent-role-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-action);
    background: rgba(10, 91, 216, 0.08);
    border: 1px solid rgba(10, 91, 216, 0.2);
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.agent-integrations-section {
    margin-top: 16px;
    margin-bottom: 20px;
    padding-top: 14px;
    border-top: 1px dashed var(--border-color);
}

.agent-chips-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--text-dim);
    margin-bottom: 8px;
    text-transform: uppercase;
}

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

.integration-chip {
    display: inline-flex;
    align-items: center;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--brand-primary);
    background: rgba(3, 47, 104, 0.06);
    border: 1px solid rgba(3, 47, 104, 0.12);
    padding: 4px 10px;
    border-radius: 6px;
    transition: var(--transition);
}

.integration-chip:hover {
    background: rgba(10, 91, 216, 0.12);
    border-color: rgba(10, 91, 216, 0.3);
    transform: translateY(-1px);
}

.agent-card-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.agent-card-actions .btn {
    flex: 1;
    text-align: center;
    justify-content: center;
    padding: 10px 14px;
}

/* Card Filter Stagger Animation */
.agent-pod-card.filtering-in {
    animation: cardStaggerIn 0.4s ease forwards;
}

@keyframes cardStaggerIn {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 4. Compact "Idea to Deployment" Section */
.section-compact-pipeline {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.5) 0%, rgba(2, 132, 199, 0.03) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 70px 0;
}

.pipeline-flow-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.pipeline-connector-line {
    position: absolute;
    top: 50px;
    left: 8%;
    right: 8%;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-action) 0%, var(--brand-accent) 100%);
    border-radius: 2px;
    opacity: 0.35;
    z-index: 1;
}

.pipeline-steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    position: relative;
    z-index: 2;
}

.pipeline-step-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 22px 16px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.03);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pipeline-step-card:hover {
    transform: translateY(-5px);
    border-color: var(--brand-action);
    box-shadow: 0 12px 30px rgba(10, 91, 216, 0.12);
}

.pipeline-step-num {
    font-family: var(--font-hud);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--brand-accent);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.pipeline-step-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(10, 91, 216, 0.1), rgba(255, 90, 22, 0.1));
    border: 1px solid rgba(10, 91, 216, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-action);
    margin-bottom: 12px;
    transition: var(--transition);
}

.pipeline-step-card:hover .pipeline-step-icon {
    background: var(--brand-action);
    color: #ffffff;
    box-shadow: 0 0 15px rgba(10, 91, 216, 0.35);
}

.pipeline-step-title {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.pipeline-step-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.4;
}

@media (max-width: 850px) {
    .pipeline-connector-line {
        top: 24px;
        bottom: 24px;
        left: 28px;
        right: auto;
        width: 3px;
        height: auto;
    }

    .pipeline-steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pipeline-step-card {
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
        padding-left: 60px;
        position: relative;
    }

    .pipeline-step-icon {
        position: absolute;
        left: 8px;
        top: 18px;
        margin-bottom: 0;
    }

    .pipeline-step-num {
        margin-bottom: 2px;
    }
}

/* 5. Interactive Agent Details Modal */
.agent-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.agent-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.agent-modal-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 680px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.25);
    position: relative;
    transform: translateY(24px) scale(0.96);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

.agent-modal-overlay.active .agent-modal-container {
    transform: translateY(0) scale(1);
}

.agent-modal-close {
    position: absolute;
    top: 18px;
    right: 20px;
    background: rgba(15, 23, 42, 0.05);
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    color: var(--text-dim);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 5;
}

.agent-modal-close:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.agent-modal-header {
    padding: 28px 28px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 16px;
}

.agent-modal-icon {
    width: 54px;
    height: 54px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, rgba(10, 91, 216, 0.1), rgba(2, 132, 199, 0.15));
    border: 1px solid rgba(10, 91, 216, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-action);
    flex-shrink: 0;
}

.agent-modal-status {
    font-family: monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: #16a34a;
    margin-bottom: 4px;
}

.agent-modal-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 2px;
}

.agent-modal-role {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--brand-action);
}

.agent-modal-body {
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.modal-section-title {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--brand-primary);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.modal-section-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.modal-caps-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modal-cap-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

.modal-cap-item svg {
    color: #16a34a;
    flex-shrink: 0;
}

/* Workflow Step Diagram in Modal */
.modal-workflow-pipeline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    background: rgba(248, 250, 252, 0.8);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: var(--radius-md);
}

.wf-step-chip {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.wf-step-chip.active-step {
    border-color: var(--brand-action);
    color: var(--brand-action);
    box-shadow: 0 0 10px rgba(10, 91, 216, 0.2);
}

.wf-arrow {
    color: var(--brand-accent);
    font-weight: 800;
    font-size: 0.9rem;
}

@media (max-width: 600px) {
    .modal-workflow-pipeline {
        flex-direction: column;
        align-items: stretch;
    }

    .wf-arrow {
        text-align: center;
        transform: rotate(90deg);
        margin: 2px 0;
    }
}

.agent-modal-footer {
    padding: 20px 28px 28px;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

.modal-deploy-link {
    width: 100%;
    text-align: center;
    justify-content: center;
}

/* Robotics Mode Dark Theme Overrides for New Components */
body.robotics-mode .matrix-pill {
    background: rgba(11, 20, 38, 0.92) !important;
    border-color: rgba(0, 240, 255, 0.3) !important;
    color: #00f0ff !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2) !important;
}

body.robotics-mode .integration-chip {
    background: rgba(0, 240, 255, 0.1) !important;
    border-color: rgba(0, 240, 255, 0.25) !important;
    color: #00f0ff !important;
}

body.robotics-mode .agent-role-badge {
    background: rgba(0, 240, 255, 0.12) !important;
    border-color: rgba(0, 240, 255, 0.3) !important;
    color: #00f0ff !important;
}

body.robotics-mode .agent-pod-title {
    color: #ffffff !important;
}

body.robotics-mode .pipeline-step-card {
    background: rgba(11, 20, 38, 0.9) !important;
    border-color: rgba(0, 240, 255, 0.25) !important;
}

body.robotics-mode .pipeline-step-title {
    color: #ffffff !important;
}

body.robotics-mode .pipeline-step-desc {
    color: #cbd5e1 !important;
}

body.robotics-mode .agent-modal-container {
    background: #080d1a !important;
    border-color: rgba(0, 240, 255, 0.35) !important;
    color: #ffffff !important;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.25) !important;
}

body.robotics-mode .agent-modal-name {
    color: #ffffff !important;
}

body.robotics-mode .modal-section-title {
    color: #00f0ff !important;
}

body.robotics-mode .modal-section-text,
body.robotics-mode .modal-cap-item {
    color: #cbd5e1 !important;
}

body.robotics-mode .wf-step-chip {
    background: rgba(17, 30, 56, 0.9) !important;
    border-color: rgba(0, 240, 255, 0.25) !important;
    color: #ffffff !important;
}

/* ==========================================
   TARGETED SOLUTIONS PAGE ENHANCEMENT STYLES
   ========================================== */

/* Hero Capability Strip */
.hero-capability-strip {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--brand-primary);
    background: rgba(3, 47, 104, 0.05);
    border: 1px solid rgba(3, 47, 104, 0.12);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.hero-capability-strip span {
    color: var(--brand-action);
    font-weight: 700;
}

/* Compact ROI Section */
.section-compact-roi {
    padding: 60px 0 !important;
}

.roi-calculator-container {
    padding: 30px 36px !important;
}

.roi-output-subtext {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* Solutions For Your Business Grid */
.solutions-business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1023px) {
    .solutions-business-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.biz-sol-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
    position: relative;
}

.biz-sol-card:hover {
    transform: translateY(-5px);
    border-color: rgba(10, 91, 216, 0.35);
    box-shadow: 0 16px 36px rgba(10, 91, 216, 0.12), 0 0 20px rgba(112, 0, 255, 0.08);
}

.biz-sol-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.biz-sol-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(10, 91, 216, 0.08) !important;
    border: 1px solid rgba(10, 91, 216, 0.2) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-action) !important;
    flex-shrink: 0;
    box-shadow: none !important;
    transition: all 0.25s ease;
}

.biz-sol-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.biz-sol-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.biz-sol-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    width: fit-content;
}

.biz-sol-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Workflow Pipeline & Step Row Container */
.biz-wf-pipeline,
.sol-workflow-row {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 8px 10px;
    border-radius: 10px;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.wf-node,
.sol-wf-step {
    font-size: 0.7rem;
    font-weight: 700;
    color: #1e293b;
    background: #ffffff;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    white-space: nowrap;
    text-align: center;
    flex: 1 1 0px;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: all 0.25s ease;
}

.wf-arr,
.sol-wf-arrow {
    font-size: 0.75rem;
    font-weight: 800;
    color: #94a3b8;
    flex-shrink: 0;
    transition: color 0.25s ease;
}

/* Card Hover Animation Sequence */
.biz-sol-card:hover {
    transform: translateY(-4px);
    border-color: rgba(10, 91, 216, 0.35);
    box-shadow: 0 14px 30px rgba(10, 91, 216, 0.12), 0 0 15px rgba(112, 0, 255, 0.05);
}

.biz-sol-card:hover .biz-sol-icon {
    background: var(--brand-action) !important;
    color: #ffffff !important;
    box-shadow: 0 0 12px rgba(10, 91, 216, 0.35) !important;
}

.biz-sol-card:hover .biz-wf-pipeline {
    border-color: rgba(10, 91, 216, 0.25);
    background: rgba(241, 245, 249, 0.95);
}

.biz-sol-card:hover .wf-node:nth-of-type(1) {
    background: var(--brand-action);
    color: #ffffff;
    border-color: var(--brand-action);
    box-shadow: 0 0 8px rgba(10, 91, 216, 0.35);
    transition-delay: 0.05s;
}

.biz-sol-card:hover .wf-arr:nth-of-type(1) {
    color: var(--brand-action);
    transition-delay: 0.12s;
}

.biz-sol-card:hover .wf-node:nth-of-type(2) {
    background: var(--brand-action);
    color: #ffffff;
    border-color: var(--brand-action);
    box-shadow: 0 0 8px rgba(10, 91, 216, 0.35);
    transition-delay: 0.20s;
}

.biz-sol-card:hover .wf-arr:nth-of-type(2) {
    color: var(--brand-action);
    transition-delay: 0.27s;
}

.biz-sol-card:hover .wf-node:nth-of-type(3) {
    background: var(--brand-action);
    color: #ffffff;
    border-color: var(--brand-action);
    box-shadow: 0 0 8px rgba(10, 91, 216, 0.35);
    transition-delay: 0.35s;
}

.biz-sol-card:hover .wf-arr:nth-of-type(3) {
    color: var(--brand-action);
    transition-delay: 0.42s;
}

.biz-sol-card:hover .wf-node:nth-of-type(4) {
    background: var(--brand-action);
    color: #ffffff;
    border-color: var(--brand-action);
    box-shadow: 0 0 8px rgba(10, 91, 216, 0.35);
    transition-delay: 0.50s;
}

.biz-sol-card:hover .wf-arr:nth-of-type(4) {
    color: var(--brand-action);
    transition-delay: 0.57s;
}

.biz-sol-card:hover .wf-node:nth-of-type(5) {
    background: var(--brand-accent);
    color: #ffffff;
    border-color: var(--brand-accent);
    box-shadow: 0 0 10px rgba(255, 90, 22, 0.4);
    transition-delay: 0.65s;
}

/* Compact Connected Architecture Flow Section */
.section-arch-flow {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.6) 0%, rgba(10, 91, 216, 0.03) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
}

.arch-flow-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.arch-flow-connector-line {
    position: absolute;
    top: 42px;
    left: 50px;
    right: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-action) 0%, var(--brand-accent) 100%);
    border-radius: 2px;
    opacity: 0.45;
    z-index: 1;
}

.arch-flow-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    gap: 10px;
}

.arch-step-node {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px 14px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.05);
    flex: 1;
    transition: var(--transition);
}

.arch-step-node:hover {
    transform: translateY(-5px);
    border-color: var(--brand-action);
    box-shadow: 0 12px 30px rgba(10, 91, 216, 0.18), 0 0 15px rgba(255, 90, 22, 0.1);
}

.arch-step-badge {
    font-family: var(--font-hud);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--brand-accent);
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.arch-step-name {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}

.arch-step-sub {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.arch-flow-arrow {
    font-weight: 800;
    color: var(--brand-action);
    font-size: 1.1rem;
    flex-shrink: 0;
}

@media (max-width: 850px) {
    .arch-flow-connector-line {
        display: none;
    }

    .arch-flow-steps {
        flex-direction: column;
        gap: 12px;
    }

    .arch-step-node {
        width: 100%;
    }

    .arch-flow-arrow {
        transform: rotate(90deg);
        margin: 2px 0;
    }
}

/* Balanced 2x2 Technical Grid */
.tech-pillars-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 28px !important;
}

@media (max-width: 767px) {
    .tech-pillars-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Robotics Mode Overrides for Solutions Components */
body.robotics-mode .hero-capability-strip {
    background: rgba(0, 240, 255, 0.1) !important;
    border-color: rgba(0, 240, 255, 0.25) !important;
    color: #00f0ff !important;
}

body.robotics-mode .hero-capability-strip span {
    color: #ffffff !important;
}

body.robotics-mode .biz-sol-card {
    background: rgba(11, 20, 38, 0.9) !important;
    border-color: rgba(0, 240, 255, 0.25) !important;
}

body.robotics-mode .biz-sol-title {
    color: #ffffff !important;
}

body.robotics-mode .biz-sol-desc {
    color: #cbd5e1 !important;
}

body.robotics-mode .biz-wf-pipeline {
    background: rgba(17, 30, 56, 0.8) !important;
    border-color: rgba(0, 240, 255, 0.2) !important;
}

body.robotics-mode .wf-node {
    background: #080d1a !important;
    border-color: rgba(0, 240, 255, 0.25) !important;
    color: #00f0ff !important;
}

body.robotics-mode .arch-step-node {
    background: rgba(11, 20, 38, 0.9) !important;
    border-color: rgba(0, 240, 255, 0.25) !important;
}

body.robotics-mode .arch-step-name {
    color: #ffffff !important;
}

body.robotics-mode .arch-step-sub {
    color: #cbd5e1 !important;
}

/* Interactive ROI Calculator (Solutions Page) */
.roi-calculator-container {
    background: var(--bg-surface);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.12);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

@media (max-width: 850px) {
    .roi-calculator-container {
        grid-template-columns: 1fr;
    }
}

.calc-control-group {
    margin-bottom: 24px;
}

.calc-label {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.calc-value {
    color: var(--primary-blue);
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 800;
}

.calc-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    outline: none;
    accent-color: var(--primary-blue);
    cursor: pointer;
}

.roi-output-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border: 1px solid #0284c7;
    border-radius: var(--radius-md);
    padding: 30px;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 10px 30px rgba(2, 132, 199, 0.3);
}

.roi-output-number {
    font-size: 3rem;
    font-weight: 900;
    color: #38bdf8;
    text-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
    margin: 10px 0;
}

.roi-metrics-trio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}

.roi-mini-metric {
    text-align: center;
}

.roi-mini-val {
    font-size: 1.2rem;
    font-weight: 800;
    color: #60a5fa;
}

.roi-mini-lbl {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
}

/* Case Study Metric Comparison Splitter */
.case-study-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
}

@media (max-width: 900px) {
    .case-study-card {
        grid-template-columns: 1fr;
    }
}

.case-study-content {
    padding: 40px;
}

.case-study-badge {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.1);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    display: inline-block;
    margin-bottom: 16px;
}

.case-study-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: #0f172a;
}

.case-study-metrics-grid {
    background: #0f172a;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #ffffff;
    border-left: 1px solid var(--border-glow);
}

.metric-comparison-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.metric-lbl {
    font-size: 0.9rem;
    color: #94a3b8;
}

.metric-before {
    color: #f43f5e;
    text-decoration: line-through;
    font-weight: 700;
    margin-right: 12px;
}

.metric-after {
    color: #4ade80;
    font-weight: 900;
    font-size: 1.2rem;
}

/* Tech Stack HUD Matrix (About Page) */
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.tech-stack-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 24px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.tech-stack-card:hover {
    border-color: var(--primary-cyan);
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.15);
    transform: translateY(-4px);
}

.tech-icon-wrapper {
    width: 50px;
    height: 50px;
    margin: 0 auto 14px auto;
    border-radius: 12px;
    background: rgba(2, 132, 199, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-cyan);
}

.tech-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.tech-category {
    font-size: 0.8rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* 4-Step Interactive Agent Builder (Contact Page) */
.configurator-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glow);
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(37, 99, 235, 0.15);
    overflow: hidden;
}

.configurator-nav-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #0f172a;
    border-bottom: 1px solid var(--border-glow);
}

@media (max-width: 700px) {
    .configurator-nav-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

.config-step-tab {
    padding: 16px;
    text-align: center;
    color: #64748b;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}

.config-step-tab.active {
    color: #38bdf8;
    border-bottom-color: #0284c7;
    background: rgba(2, 132, 199, 0.1);
}

.configurator-body {
    padding: 40px;
}

.config-step-content {
    display: none;
}

.config-step-content.active {
    display: block;
}

.option-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.config-option-card {
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.config-option-card:hover {
    border-color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.03);
}

.config-option-card.selected {
    border-color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.08);
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.2);
}

.config-option-title {
    font-weight: 800;
    font-size: 1.05rem;
    color: #0f172a;
    margin-bottom: 6px;
}

.config-option-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.config-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}




/* ==========================================
   100% COMPREHENSIVE DARK THEME OVERRIDES (body.robotics-mode)
   ========================================== */

/* Body & Sections */
body.robotics-mode,
body.robotics-mode section,
body.robotics-mode .hero-scroll-track,
body.robotics-mode .hero-sticky-wrapper,
body.robotics-mode .solutions-scroll-track,
body.robotics-mode .solutions-sticky-wrapper {
    background-color: #030712 !important;
    color: #ffffff !important;
}

/* Preloader Overlay */
body.robotics-mode .preloader-overlay {
    background: #030712 !important;
    color: #ffffff !important;
}

body.robotics-mode .preloader-content {
    background: rgba(11, 20, 38, 0.95) !important;
    border: 1px solid rgba(0, 240, 255, 0.4) !important;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.3) !important;
}

body.robotics-mode .preloader-text-box,
body.robotics-mode .preloader-typed-text {
    color: #00f0ff !important;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.6) !important;
}

body.robotics-mode .preloader-progress-bar {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(0, 240, 255, 0.3) !important;
}

/* Footer Section */
body.robotics-mode .footer,
body.robotics-mode footer {
    background: #030712 !important;
    border-top: 1px solid rgba(0, 240, 255, 0.25) !important;
    color: #ffffff !important;
}

body.robotics-mode .footer-title {
    color: #00f0ff !important;
}

body.robotics-mode .footer-links a,
body.robotics-mode .footer a {
    color: #cbd5e1 !important;
}

body.robotics-mode .footer-links a:hover,
body.robotics-mode .footer a:hover {
    color: #00f0ff !important;
}

body.robotics-mode .footer-desc,
body.robotics-mode .copyright,
body.robotics-mode .footer-bottom {
    color: #94a3b8 !important;
    border-top-color: rgba(0, 240, 255, 0.15) !important;
}

/* CTA Sections & Banners */
body.robotics-mode .cta-section {
    background: linear-gradient(rgba(3, 7, 18, 0.8), rgba(3, 7, 18, 0.88)), url('assets/images/bg-last.png') center/cover no-repeat !important;
    background-attachment: fixed !important;
    border-top: 1px solid rgba(0, 240, 255, 0.35) !important;
    border-bottom: 1px solid rgba(0, 240, 255, 0.35) !important;
    color: #ffffff !important;
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.2) !important;
}

body.robotics-mode .cta-banner,
body.robotics-mode .cta-banner-full,
body.robotics-mode .cta-card,
body.robotics-mode .cta-card-right,
body.robotics-mode .cta-container {
    background: rgba(11, 20, 38, 0.92) !important;
    border: 1px solid rgba(0, 240, 255, 0.35) !important;
    color: #ffffff !important;
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.2) !important;
}

/* Stat Cards & Metric Boxes */
body.robotics-mode .stat-card,
body.robotics-mode .stat-item,
body.robotics-mode .stat-box,
body.robotics-mode .metrics-box,
body.robotics-mode .metric-card,
body.robotics-mode .subpage-robot-card,
body.robotics-mode .floating-badge,
body.robotics-mode .workflow-pillar-bar,
body.robotics-mode .pill-item,
body.robotics-mode .mock-card,
body.robotics-mode .roi-output-box,
body.robotics-mode .case-study-metrics-grid {
    background: rgba(11, 20, 38, 0.9) !important;
    border: 1px solid rgba(0, 240, 255, 0.3) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 240, 255, 0.2) !important;
}

/* Category Filter Tabs (AI Agents Page) */
.filter-tab-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.filter-tab-bar {
    display: inline-flex;
    gap: 12px;
    padding: 8px;
    background: #ffffff;
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: var(--radius-full);
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    border: none;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover {
    color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.06);
}

.filter-btn.active {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

body.robotics-mode .filter-tab-bar {
    background: rgba(11, 20, 38, 0.9) !important;
    border: 1px solid rgba(0, 240, 255, 0.3) !important;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.2) !important;
    border-radius: 4px !important;
}

body.robotics-mode .filter-btn {
    color: #cbd5e1 !important;
    border-radius: 0 !important;
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px) !important;
}

body.robotics-mode .filter-btn:hover {
    color: #00f0ff !important;
    background: rgba(0, 240, 255, 0.12) !important;
}

body.robotics-mode .filter-btn.active {
    background: linear-gradient(135deg, #00f0ff 0%, #7000ff 100%) !important;
    color: #030712 !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6) !important;
    font-weight: 800 !important;
}

/* Agent Pod Cards Animation */
.agent-pod-card {
    transition: opacity 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

/* Floating Corner Robot Widget Speech Bubble */
body.robotics-mode .robot-speech-bubble {
    background: rgba(11, 20, 38, 0.95) !important;
    border: 1px solid rgba(0, 240, 255, 0.4) !important;
    color: #ffffff !important;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3) !important;
}

body.robotics-mode .speech-text {
    color: #cbd5e1 !important;
}



/* ==========================================
   ROBOTICS MODE VIDEO OVERLAY & SOLUTIONS STEP NAV FIXES
   ========================================== */

body.robotics-mode .video-bg-container {
    background: #030712 !important;
}

body.robotics-mode .video-overlay {
    background: radial-gradient(circle at 50% 50%, rgba(3, 7, 18, 0.75) 0%, rgba(3, 7, 18, 0.95) 100%) !important;
}

body.robotics-mode .process-section {
    background: #030712 !important;
}

body.robotics-mode .solutions-step-nav {
    background: rgba(11, 20, 38, 0.92) !important;
    border: 1px solid rgba(0, 240, 255, 0.35) !important;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.25) !important;
    border-radius: 4px !important;
    padding: 8px !important;
}

body.robotics-mode .step-nav-btn {
    background: transparent !important;
    color: #cbd5e1 !important;
    border: none !important;
    font-family: var(--font-tech) !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    padding: 8px 16px !important;
}

body.robotics-mode .step-nav-btn:hover {
    color: #00f0ff !important;
    background: rgba(0, 240, 255, 0.12) !important;
}

body.robotics-mode .step-nav-btn.active {
    background: linear-gradient(135deg, #00f0ff 0%, #7000ff 100%) !important;
    color: #030712 !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.6) !important;
    clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px) !important;
    border-radius: 0 !important;
    font-weight: 800 !important;
}

body.robotics-mode .step-nav-btn .nav-dot {
    background: #00f0ff !important;
    box-shadow: 0 0 8px #00f0ff !important;
}

body.robotics-mode .speech-bubble-card,
body.robotics-mode .process-step,
body.robotics-mode .cap-badge,
body.robotics-mode .margin-bottom-40 {
    background: rgba(11, 20, 38, 0.88) !important;
    border-color: rgba(0, 240, 255, 0.25) !important;
    color: #ffffff !important;
}

body.robotics-mode .speech-quote {
    color: #ffffff !important;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.4) !important;
}



/* ==========================================
   GENEROUS PADDING, SPACING & BREATHING ROOM REFINEMENTS
   ========================================== */

.section {
    /* padding: 125px 0 !important; */
    position: relative;
}

.container,
.container-fluid {
    padding: 0 clamp(16px, 3.5vw, 60px) !important;
    max-width: 100% !important;
    width: 100% !important;
}

.section-header {
    margin-bottom: 52px !important;
}

.section-title {
    margin-bottom: 22px !important;
    line-height: 1.25 !important;
}

.section-subtitle {
    margin-bottom: 56px !important;
    line-height: 1.7 !important;
}

/* Card Padding & Grid Spacing */
.card, .hud-card, .sol-card, .agent-card, .step-card, .timeline-item, .case-card, .team-card, .action-card, .feature-card, .agent-pod-card, .tech-stack-card, .case-study-content {
    padding: 38px 34px !important;
    border-radius: 18px !important;
}

.grid-2, .grid-3, .grid-4, .agents-grid, .agents-full-grid, .action-cards-grid, .tech-stack-grid {
    gap: 34px !important;
}

/* Hero Section Spacing */
.hero-scroll-track {
    padding-top: 110px !important;
}

.hero-sticky-wrapper {
    padding: 40px 0 !important;
}

.hero-content {
    padding-right: 20px;
}

.hero-title {
    margin-bottom: 28px !important;
}

.hero-description {
    margin-bottom: 42px !important;
}

.hero-btns {
    gap: 20px !important;
}

/* Contact Configurator Spacing */
.configurator-body {
    padding: 48px 40px !important;
}

.option-cards-grid {
    gap: 22px !important;
    margin-top: 28px !important;
}

.config-option-card {
    padding: 24px 20px !important;
}

.config-actions-bar {
    margin-top: 42px !important;
    padding-top: 24px !important;
}

.config-step-tab {
    padding: 18px 20px !important;
}

/* Footer Spacing */
.footer {
    padding: 95px 0 40px !important;
}

.footer-grid {
    gap: 52px !important;
    margin-bottom: 64px !important;
}

.footer-bottom {
    padding-top: 36px !important;
}



/* ==========================================
   AGENT CARD PADDING REDUCTION & TECH STACK SINGLE ROW LAYOUT
   ========================================== */

/* Reduced Padding for Agent Cards, 3D Cards & Orange Glow Cards */
.agent-card, 
.card-3d, 
.glow-orange-card, 
.glow-orange,
.agent-pod-card, 
.tech-stack-card, 
.step-card {
    padding: 24px 20px !important;
}

/* Frontier Machine Learning Stack 6-Card Single Row Layout */
.tech-stack-grid {
    display: grid !important;
    grid-template-columns: repeat(6, 1fr) !important;
    gap: 18px !important;
    width: 100% !important;
}

.tech-stack-card {
    padding: 22px 14px !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.tech-title {
    font-size: 0.95rem !important;
    font-weight: 800 !important;
    margin-bottom: 4px !important;
    line-height: 1.3 !important;
}

.tech-category {
    font-size: 0.68rem !important;
    letter-spacing: 0.5px !important;
}

@media (max-width: 1100px) {
    .tech-stack-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 700px) {
    .tech-stack-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .tech-stack-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==========================================
   INTERACTIVE AI AGENT SIMULATOR TERMINAL & ROI CALCULATOR
   ========================================== */

/* Sound Toggle Control Button */
.sound-toggle-btn {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.25);
    color: var(--primary-blue);
    padding: 7px 14px;
    border-radius: var(--radius-full);
    font-family: var(--font-tech);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    white-space: nowrap;
}

.sound-toggle-btn:hover {
    background: rgba(37, 99, 235, 0.15);
    transform: translateY(-1px);
}

body.robotics-mode .sound-toggle-btn {
    background: rgba(0, 240, 255, 0.1) !important;
    border-color: rgba(0, 240, 255, 0.35) !important;
    color: #00f0ff !important;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.2) !important;
}

/* Interactive AI Agent Simulator Section */
.simulator-section {
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.5) 0%, rgba(241, 245, 249, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

body.robotics-mode .simulator-section {
    background: #050a18 !important;
}

.sim-container {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto;
}

.sim-terminal-wrapper {
    background: #0f172a;
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.3);
    overflow: hidden;
    position: relative;
}

body.robotics-mode .sim-terminal-wrapper {
    background: #080d1a !important;
    border-color: rgba(0, 240, 255, 0.4) !important;
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.25) !important;
}

.sim-terminal-header {
    background: #1e293b;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(51, 65, 85, 0.8);
    flex-wrap: wrap;
    gap: 12px;
}

body.robotics-mode .sim-terminal-header {
    background: #0d1527 !important;
    border-bottom-color: rgba(0, 240, 255, 0.25) !important;
}

.sim-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.sim-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}
.sim-dot.red { background: #ef4444; }
.sim-dot.yellow { background: #f59e0b; }
.sim-dot.green { background: #10b981; }

.sim-tabs-bar {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.sim-tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    padding: 6px 14px;
    border-radius: 6px;
    font-family: var(--font-tech);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.sim-tab-btn:hover, .sim-tab-btn.active {
    background: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
}

body.robotics-mode .sim-tab-btn.active {
    background: #00f0ff !important;
    color: #030712 !important;
    border-color: #00f0ff !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.6) !important;
}

.sim-status-live {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #10b981;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.sim-terminal-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    min-height: 380px;
}

@media (max-width: 850px) {
    .sim-terminal-grid {
        grid-template-columns: 1fr;
    }
}

.sim-console-pane {
    padding: 24px;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: #e2e8f0;
    background: #090e1a;
    border-right: 1px solid rgba(51, 65, 85, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sim-console-logs {
    margin-bottom: 20px;
    line-height: 1.8;
}

.sim-log-line {
    margin-bottom: 8px;
    word-break: break-word;
}

.sim-log-line .timestamp { color: #64748b; margin-right: 8px; }
.sim-log-line .tag-blue { color: #38bdf8; font-weight: 700; }
.sim-log-line .tag-green { color: #4ade80; font-weight: 700; }
.sim-log-line .tag-cyan { color: #22d3ee; font-weight: 700; }
.sim-log-line .tag-yellow { color: #fbbf24; }

.sim-typewriter-cursor {
    display: inline-block;
    width: 8px;
    height: 16px;
    background: #38bdf8;
    margin-left: 4px;
    animation: simBlink 1s infinite;
}

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

.sim-metrics-pane {
    padding: 24px;
    background: #0f172a;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.sim-metric-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(51, 65, 85, 0.8);
    border-radius: 12px;
    padding: 16px;
}

.sim-metric-label {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: #94a3b8;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.sim-metric-val {
    font-family: var(--font-hud);
    font-size: 1.4rem;
    font-weight: 700;
    color: #38bdf8;
}

body.robotics-mode .sim-metric-val {
    color: #00f0ff !important;
}

.sim-progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}

.sim-progress-fill {
    height: 100%;
    width: 85%;
    background: linear-gradient(90deg, #2563eb 0%, #00f0ff 100%);
    transition: width 0.5s ease;
}

/* AI Automation ROI & Savings Calculator Section */
.roi-section {
    background: var(--bg-surface);
    position: relative;
}

.roi-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(203, 213, 225, 0.8);
    border-radius: 24px;
    padding: 44px;
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
}

body.robotics-mode .roi-card {
    background: rgba(11, 20, 38, 0.92) !important;
    border-color: rgba(0, 240, 255, 0.35) !important;
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.2) !important;
}

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

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

.roi-controls {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.roi-slider-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.roi-slider-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 0.95rem;
}

.roi-slider-val {
    font-family: var(--font-hud);
    color: var(--primary-blue);
    font-size: 1.1rem;
}

body.robotics-mode .roi-slider-val {
    color: #00f0ff !important;
}

.roi-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #e2e8f0;
    outline: none;
    transition: var(--transition);
}

body.robotics-mode .roi-slider {
    background: rgba(255, 255, 255, 0.15) !important;
}

.roi-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary-blue);
    cursor: pointer;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.5);
    transition: var(--transition);
}

body.robotics-mode .roi-slider::-webkit-slider-thumb {
    background: #00f0ff !important;
    box-shadow: 0 0 14px #00f0ff !important;
}

.roi-results-pane {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(2, 132, 199, 0.08) 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 18px;
    padding: 32px;
    text-align: center;
}

body.robotics-mode .roi-results-pane {
    background: rgba(8, 13, 26, 0.9) !important;
    border-color: rgba(0, 240, 255, 0.3) !important;
}

.roi-big-stat {
    margin-bottom: 24px;
}

.roi-big-number {
    font-family: var(--font-hud);
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--primary-blue);
    line-height: 1.1;
    margin-bottom: 4px;
}

body.robotics-mode .roi-big-number {
    color: #00f0ff !important;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.roi-big-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.roi-stats-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
}

.roi-mini-box {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(203, 213, 225, 0.8);
    padding: 16px;
    border-radius: 12px;
}

body.robotics-mode .roi-mini-box {
    background: rgba(15, 23, 42, 0.8) !important;
    border-color: rgba(0, 240, 255, 0.2) !important;
}

.roi-mini-num {
    font-family: var(--font-hud);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-main);
}

body.robotics-mode .roi-mini-num {
    color: #ffffff !important;
}

.roi-mini-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* SVG Hero Robotic Core Animation Component */
.robot-svg-core {
    width: 100%;
    max-width: 480px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(37, 99, 235, 0.25));
    transition: var(--transition);
}

body.robotics-mode .robot-svg-core {
    filter: drop-shadow(0 0 40px rgba(0, 240, 255, 0.4)) !important;
}

.svg-pulse-node {
    animation: svgNodePulse 2s infinite ease-in-out;
}

@keyframes svgNodePulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
}

.svg-scan-laser {
    animation: svgLaserScan 3s infinite linear;
}

@keyframes svgLaserScan {
    0% { transform: translateY(-40px); opacity: 0.3; }
    50% { transform: translateY(40px); opacity: 1; }
    100% { transform: translateY(-40px); opacity: 0.3; }
}

/* Mobile & Touch Responsive Enhancements */
@media (max-width: 768px) {
    .navbar .nav-actions {
        gap: 8px;
    }

    .robotics-mode-toggle {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
    }

    .sound-toggle-btn {
        padding: 6px 10px !important;
        font-size: 0.75rem !important;
    }

    .hero-title {
        font-size: clamp(2rem, 6vw, 3rem) !important;
    }

    .hero-btns {
        flex-direction: column !alignment;
        width: 100%;
    }

    .hero-btns .btn {
        width: 100%;
        justify-content: center;
    }

    .floating-badge {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        margin: 6px !important;
        display: inline-flex !important;
    }

    .robot-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .roi-card {
        padding: 24px 18px !important;
    }

    .sim-terminal-header {
        padding: 12px 16px !important;
    }
}

/* ==========================================
   ULTRA-RESPONSIVE BREAKPOINTS (320px & NARROW PHONES)
   ========================================== */

@media (max-width: 480px) {
    html, body {
        width: 100vw !important;
        overflow-x: hidden !important;
    }

    .container {
        padding: 0 14px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .section {
        padding: 50px 0 !important;
    }

    .navbar {
        padding: 10px 0 !important;
    }

    .nav-container {
        padding: 0 10px !important;
    }

    .logo-text {
        font-size: 0.95rem !important;
    }

    .logo-icon {
        width: 26px !important;
        height: 26px !important;
    }

    .nav-actions {
        gap: 6px !important;
    }

    .sound-toggle-btn, .robotics-mode-toggle {
        padding: 4px 8px !important;
        font-size: 0.68rem !important;
        letter-spacing: 0.2px !important;
    }

    .btn-sm {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
    }

    .hero-scroll-track {
        padding-top: 80px !important;
    }

    .hero-sticky-wrapper {
        padding: 30px 0 !important;
    }

    .hero-title {
        font-size: clamp(1.6rem, 7.5vw, 2.2rem) !important;
        line-height: 1.25 !important;
        margin-bottom: 16px !important;
    }

    .hero-description {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
        margin-bottom: 24px !important;
    }

    .hero-btns {
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .hero-btns .btn {
        width: 100% !important;
        padding: 12px 16px !important;
        font-size: 0.88rem !important;
        justify-content: center !important;
    }

    .floating-badge {
        font-size: 0.72rem !important;
        padding: 6px 10px !important;
        margin: 4px !important;
    }

    .workflow-pillar-bar {
        flex-direction: column !important;
        gap: 8px !important;
        padding: 12px !important;
        width: 100% !important;
    }

    .pill-arrow {
        transform: rotate(90deg) !important;
    }

    .section-title {
        font-size: clamp(1.5rem, 6.5vw, 2.1rem) !important;
    }

    .section-subtitle {
        font-size: 0.88rem !important;
        margin-bottom: 28px !important;
    }

    .card, .hud-card, .sol-card, .agent-card, .timeline-item, .case-card, .team-card, .action-card, .feature-card, .agent-pod-card, .tech-stack-card, .step-card, .roi-card {
        padding: 18px 14px !important;
        border-radius: 12px !important;
    }

    .sim-terminal-wrapper {
        border-radius: 12px !important;
    }

    .sim-terminal-header {
        padding: 10px 12px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 8px !important;
    }

    .sim-tabs-bar {
        width: 100% !important;
        display: flex !important;
        gap: 4px !important;
        overflow-x: auto !important;
        padding-bottom: 4px !important;
    }

    .sim-tab-btn {
        padding: 5px 10px !important;
        font-size: 0.72rem !important;
        white-space: nowrap !important;
    }

    .sim-console-pane, .sim-metrics-pane {
        padding: 14px !important;
    }

    .sim-console-logs {
        font-size: 0.78rem !important;
    }

    .roi-grid {
        gap: 20px !important;
    }

    .roi-big-number {
        font-size: 2.1rem !important;
    }

    .roi-stats-mini-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .corner-robot-widget {
        bottom: 12px !important;
        right: 12px !important;
    }

    .corner-robot-avatar {
        width: 44px !important;
        height: 44px !important;
    }

    .robot-speech-bubble {
        max-width: 230px !important;
        font-size: 0.78rem !important;
        padding: 10px 12px !important;
    }
}

/* ==========================================
   996px RESPONSIVE NAVBAR OFFCANVAS & HERO VISUAL HIDE
   ========================================== */

.offcanvas-actions {
    display: none;
}

@media (max-width: 996px) {
    .navbar {
        padding: 12px 0 !important;
    }

    /* 996px Compact Icon Toggle Switch for Robotics Mode */
    .robotics-mode-toggle .mode-text {
        display: none !important;
    }

    .robotics-mode-toggle {
        padding: 4px 10px !important;
        font-size: 1.15rem !important;
        border-radius: 20px !important;
        width: 44px !important;
        height: 32px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
        box-shadow: 0 0 10px rgba(37, 99, 235, 0.25) !important;
        clip-path: none !important;
    }

    body.robotics-mode .robotics-mode-toggle {
        background: linear-gradient(135deg, #00f0ff 0%, #7000ff 100%) !important;
        color: #030712 !important;
        box-shadow: 0 0 16px rgba(0, 240, 255, 0.75) !important;
        border-radius: 20px !important;
        clip-path: none !important;
    }

    .nav-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        position: relative !important;
    }

    .logo-text {
        font-size: 1rem !important;
    }

    .logo-icon {
        width: 28px !important;
        height: 28px !important;
    }

    /* Hide bar sound toggle, show in offcanvas */
    .nav-actions .sound-toggle-btn {
        display: none !important;
    }

    /* Off-Canvas Drawer Right Slide-in Menu (<996px) */
    .nav-links {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        width: 320px !important;
        max-width: 85vw !important;
        height: 100vh !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(25px) !important;
        -webkit-backdrop-filter: blur(25px) !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 20px !important;
        padding: 40px 24px !important;
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateX(100%) !important;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease !important;
        z-index: 99999 !important;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2) !important;
    }

    body.robotics-mode .nav-links {
        background: rgba(5, 10, 22, 0.98) !important;
        border-left: 1px solid rgba(0, 240, 255, 0.35) !important;
        box-shadow: -10px 0 40px rgba(0, 240, 255, 0.25) !important;
    }

    /* Mobile Open Drawer State */
    .nav-links.mobile-open {
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: translateX(0) !important;
        display: flex !important;
    }

    .nav-links a {
        font-size: 1.15rem !important;
        font-weight: 700 !important;
        color: #0f172a !important;
        letter-spacing: 1px !important;
        text-transform: uppercase !important;
        padding: 8px 16px !important;
        width: 100% !important;
        text-align: center !important;
    }

    body.robotics-mode .nav-links a {
        color: #ffffff !important;
    }

    body.robotics-mode .nav-links a:hover,
    body.robotics-mode .nav-links a.active {
        color: #00f0ff !important;
        text-shadow: 0 0 12px rgba(0, 240, 255, 0.8) !important;
    }

    .offcanvas-actions {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 12px !important;
        margin-top: 16px !important;
        padding-top: 16px !important;
        border-top: 1px solid rgba(203, 213, 225, 0.8) !important;
        width: 100% !important;
    }

    body.robotics-mode .offcanvas-actions {
        border-top-color: rgba(0, 240, 255, 0.25) !important;
    }

    /* Show Mobile Hamburger Toggle */
    .mobile-toggle {
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        padding: 8px !important;
        z-index: 100000 !important;
    }

    .mobile-toggle span {
        display: block !important;
        width: 24px !important;
        height: 2px !important;
        background: #0f172a !important;
        border-radius: 2px !important;
        transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease !important;
    }

    body.robotics-mode .mobile-toggle span {
        background: #00f0ff !important;
        box-shadow: 0 0 6px #00f0ff !important;
    }

    /* Transform Hamburger to X when active */
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg) !important;
    }
    .mobile-toggle.active span:nth-child(2) {
        opacity: 0 !important;
    }
    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg) !important;
    }

    .nav-actions {
        gap: 8px !important;
    }

    /* Responsive Hero Visual Display (<996px) */
    .hero-visual {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 360px !important;
        margin: 24px auto 0 !important;
    }

    .robot-img-sequence {
        width: 100% !important;
        min-height: 260px !important;
    }

    .seq-img {
        max-height: 260px !important;
        object-fit: contain !important;
    }

    .hero-grid {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }

    .hero-content {
        padding-right: 0 !important;
        margin: 0 auto !important;
        width: 100% !important;
    }

    .hero-scroll-track {
        height: auto !important;
        padding-top: 100px !important;
        padding-bottom: 50px !important;
    }

    .hero-sticky-wrapper {
        position: relative !important;
        top: auto !important;
        height: auto !important;
        padding: 20px 0 !important;
    }
}

@media (max-width: 640px) {
    .navbar .btn-primary {
        padding: 6px 12px !important;
        font-size: 0.78rem !important;
    }

    .robotics-mode-toggle {
        padding: 5px 10px !important;
        font-size: 0.72rem !important;
    }

    .sound-toggle-btn {
        padding: 5px 8px !important;
        font-size: 0.72rem !important;
    }
}

@media (max-width: 420px) {
    .sound-toggle-btn {
        display: none !important;
    }

    .logo-text {
        font-size: 0.88rem !important;
        letter-spacing: 0.5px !important;
    }
}

/* ==========================================
   100% COMPREHENSIVE RESPONSIVE AUDIT FOR ALL SECTIONS & FOOTER
   ========================================== */

/* Footer Mobile Responsiveness */
@media (max-width: 850px) {
    .footer {
        padding: 50px 0 30px !important;
    }

    .footer-container {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 28px !important;
    }

    .footer-links {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 14px 20px !important;
    }

    .footer-links a {
        font-size: 0.9rem !important;
    }

    .footer-right {
        flex-direction: column !important;
        align-items: center !important;
        gap: 14px !important;
    }

    .social-icons {
        justify-content: center !important;
        gap: 20px !important;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 40px 0 24px !important;
    }

    .footer-container {
        gap: 20px !important;
    }

    .footer-links {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px 16px !important;
        width: 100% !important;
        text-align: center !important;
    }

    .footer-links a {
        font-size: 0.85rem !important;
        padding: 4px 0 !important;
    }

    .copyright {
        font-size: 0.75rem !important;
    }
}

/* Solutions Section Mobile Stage Fallback */
@media (max-width: 900px) {
    .solutions-scroll-track {
        height: auto !important;
        padding: 40px 0 !important;
    }

    .solutions-sticky-wrapper {
        position: relative !important;
        top: auto !important;
        height: auto !important;
        padding: 0 !important;
    }

    .solutions-stage-wrapper {
        min-height: auto !important;
        gap: 24px !important;
    }

    .sol-step-stage {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        height: auto !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
        flex-direction: column !important;
        gap: 16px !important;
        width: 100% !important;
    }

    .sol-vertical-patti {
        width: 100% !important;
        height: auto !important;
        flex-direction: row !important;
        padding: 14px 20px !important;
        border-left: none !important;
        border-right: none !important;
        border-top: 3px solid var(--primary-blue) !important;
        border-radius: 14px !important;
        justify-content: space-between !important;
    }

    .patti-title-box {
        flex-direction: row !important;
        gap: 12px !important;
        align-items: center !important;
    }

    .patti-title {
        writing-mode: horizontal-tb !important;
        transform: none !important;
        font-size: 1.1rem !important;
    }

    .sol-stage-content {
        width: 100% !important;
    }
}

/* Contact Configurator Wizard Mobile Polish */
@media (max-width: 768px) {
    .configurator-body {
        padding: 24px 16px !important;
    }

    .config-step-tab {
        padding: 10px 14px !important;
        font-size: 0.8rem !important;
    }

    .option-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .config-option-card {
        padding: 18px 14px !important;
    }

    .config-actions-bar {
        flex-direction: column-reverse !important;
        gap: 12px !important;
    }

    .config-actions-bar .btn {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* Case Studies, Subpage Hero & Team Grids Mobile Polish */
@media (max-width: 768px) {
    .subpage-hero {
        padding: 100px 0 40px !important;
    }

    .subpage-hero-grid {
        grid-template-columns: 1fr !important;
        text-align: center !important;
    }

    .subpage-hero-content {
        margin: 0 auto !important;
    }

    .grid-2, .grid-3, .grid-4, .action-cards-grid, .team-grid, .case-studies-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

/* ==========================================
   RESPONSIVE TRUSTED LOGOS, STATS & DARK ROBOT VISIBILITY ENHANCEMENTS
   ========================================== */

/* 1. Trusted By Forward Thinking Businesses Responsive Scroll */
@media (max-width: 996px) {
    .logo-bar {
        padding: 24px 0 !important;
        overflow: hidden !important;
    }

    .logos-wrapper {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        padding: 12px 6px !important;
        gap: 28px !important;
    }

    .logos-wrapper::-webkit-scrollbar {
        display: none !important;
    }

    .logo-item {
        flex-shrink: 0 !important;
        scroll-snap-align: start !important;
        font-size: 1rem !important;
        white-space: nowrap !important;
    }
}

/* 2. Below Section Boxes Responsive Grid Polish (Stats, Process & Simulator) */
@media (max-width: 996px) {
    .stats-bar {
        padding: 32px 0 !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px !important;
    }
}

@media (max-width: 550px) {
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .stat-item {
        padding: 18px 14px !important;
    }

    .stat-number {
        font-size: 2rem !important;
    }
}

@media (max-width: 850px) {
    .process-steps-row {
        flex-direction: column !important;
        align-items: center !important;
        gap: 16px !important;
    }

    .step-connector {
        transform: rotate(90deg) !important;
        margin: 4px 0 !important;
        font-size: 1.5rem !important;
    }

    .step-card {
        width: 100% !important;
        max-width: 320px !important;
    }
}

/* 3. Live AI Simulator Clock Badge Styling */
.sim-live-time {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    margin-left: 6px;
    letter-spacing: 0.5px;
    display: inline-block;
}

body.robotics-mode .sim-live-time {
    color: #00f0ff !important;
    background: rgba(0, 240, 255, 0.15) !important;
    border-color: rgba(0, 240, 255, 0.45) !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.35) !important;
}

/* 4. Dark Theme Robot Visual Visibility Enhancements */
body.robotics-mode .seq-img {
    filter: drop-shadow(0 0 35px rgba(0, 240, 255, 0.65)) brightness(1.08) !important;
}

body.robotics-mode .subpage-robot-img {
    filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.55)) !important;
}

body.robotics-mode .bouncing-agent-img,
body.robotics-mode .corner-robot-avatar img {
    filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.75)) !important;
}

body.robotics-mode::after {
    content: '';
    position: fixed;
    bottom: 0;
    right: 0;
    width: 420px;
    height: 420px;
    background: url('assets/images/agent.png') no-repeat bottom right / contain;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
}

/* ==========================================
   HIGH-CONTRAST PREMIUM LIGHT THEME CARD UI ENHANCEMENTS
   ========================================== */

/* Universal Card Base Styling in Light Theme */
.card,
.hud-card,
.sol-card,
.agent-card,
.step-card,
.timeline-item,
.case-card,
.case-study-card,
.team-card,
.action-card,
.feature-card,
.agent-pod-card,
.tech-stack-card,
.configurator-card,
.portfolio-card-item,
.stat-item,
.speech-bubble-card,
.sol-stage-text,
.sol-preview-box {
    background: #ffffff !important;
    border: 1px solid #cbd5e1 !important;
    border-top: 3px solid #2563eb !important;
    border-radius: 16px !important;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04), 0 0 0 1px rgba(203, 213, 225, 0.5) !important;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease !important;
    position: relative !important;
}

/* Card Hover State - High Visibility Glow & Lift */
.card:hover,
.hud-card:hover,
.sol-card:hover,
.agent-card:hover,
.step-card:hover,
.timeline-item:hover,
.case-card:hover,
.case-study-card:hover,
.team-card:hover,
.action-card:hover,
.feature-card:hover,
.agent-pod-card:hover,
.tech-stack-card:hover,
.configurator-card:hover,
.portfolio-card-item:hover,
.stat-item:hover,
.speech-bubble-card:hover {
    transform: translateY(-6px) !important;
    border-color: #2563eb !important;
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.22), 0 8px 16px -4px rgba(37, 99, 235, 0.12), 0 0 0 1px #2563eb !important;
}

/* High Contrast Typography inside Light Theme Cards */
.card h1, .card h2, .card h3, .card h4, .card h5, .card h6,
.portfolio-card-item h3, .stat-item .stat-number, .agent-card h3, .step-card h4, .case-study-title {
    color: #0f172a !important;
    font-weight: 800 !important;
    letter-spacing: -0.3px !important;
}

.card p, .portfolio-card-item p, .stat-label, .step-desc, .case-study-content p {
    color: #334155 !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
}

/* Inner Mini-Cards & Stat Display Boxes (.mock-card) */
.mock-card {
    background: #f1f5f9 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 12px !important;
    box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.03) !important;
}

/* User Pill & Tech Badges in Light Theme Cards */
.user-pill, .badge-icon {
    background: rgba(37, 99, 235, 0.1) !important;
    border: 1px solid rgba(37, 99, 235, 0.35) !important;
    color: #1d4ed8 !important;
    font-weight: 700 !important;
}

/* Robotics Dark Mode Overrides (Preserve High Contrast Dark Theme) */
body.robotics-mode .card,
body.robotics-mode .hud-card,
body.robotics-mode .sol-card,
body.robotics-mode .agent-card,
body.robotics-mode .step-card,
body.robotics-mode .timeline-item,
body.robotics-mode .case-card,
body.robotics-mode .case-study-card,
body.robotics-mode .team-card,
body.robotics-mode .action-card,
body.robotics-mode .feature-card,
body.robotics-mode .agent-pod-card,
body.robotics-mode .tech-stack-card,
body.robotics-mode .configurator-card,
body.robotics-mode .portfolio-card-item,
body.robotics-mode .stat-item,
body.robotics-mode .speech-bubble-card,
body.robotics-mode .sol-vertical-patti,
body.robotics-mode .sol-stage-text,
body.robotics-mode .sol-preview-box {
    background: rgba(11, 20, 38, 0.94) !important;
    border: 1px solid rgba(0, 240, 255, 0.35) !important;
    border-top: 3px solid #00f0ff !important;
    color: #ffffff !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 240, 255, 0.2) !important;
}

body.robotics-mode .card:hover,
body.robotics-mode .portfolio-card-item:hover,
body.robotics-mode .stat-item:hover,
body.robotics-mode .agent-card:hover,
body.robotics-mode .step-card:hover {
    border-color: #00f0ff !important;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.45) !important;
}

body.robotics-mode .mock-card {
    background: rgba(5, 12, 26, 0.9) !important;
    border: 1px solid rgba(0, 240, 255, 0.25) !important;
}

body.robotics-mode .card p, 
body.robotics-mode .portfolio-card-item p, 
body.robotics-mode .stat-label, 
body.robotics-mode .step-desc {
    color: #cbd5e1 !important;
}

/* ==========================================
   FUTURISTIC SCI-FI ROADMAP TIMELINE STYLING
   ========================================== */
.roadmap-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.roadmap-timeline-wrapper {
    position: relative;
    max-width: 1050px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* Central Laser Beam Line & Dynamic Fill Track */
.roadmap-laser-line {
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    background: rgba(226, 232, 240, 0.6);
    border-radius: 2px;
    z-index: 1;
    overflow: hidden;
}

.roadmap-laser-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, #2563eb 0%, #0284c7 35%, #7c3aed 70%, #10b981 100%);
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.8), 0 0 20px #00f0ff;
    border-radius: 2px;
    transition: height 0.25s ease-out;
}

.laser-pulse-glow {
    position: absolute;
    top: 0;
    left: -3px;
    width: 10px;
    height: 60px;
    background: linear-gradient(180deg, transparent, #ffffff, transparent);
    box-shadow: 0 0 20px #00f0ff;
    border-radius: 5px;
    animation: laserScanDown 4s linear infinite;
    z-index: 3;
}

@keyframes laserScanDown {
    0% { top: 0%; opacity: 0.2; }
    50% { opacity: 1; }
    100% { top: 92%; opacity: 0.2; }
}

/* Step Items Container & Scroll Reveal Animations */
.roadmap-step-item {
    position: relative;
    display: flex;
    width: 100%;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.75s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.75s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* Left & Right Step Positioning (>850px) */
.roadmap-step-item.step-left {
    justify-content: flex-start;
    transform: translateX(-70px) translateY(30px);
}

.roadmap-step-item.step-right {
    justify-content: flex-end;
    transform: translateX(70px) translateY(30px);
}

.roadmap-step-item.step-left .roadmap-card {
    width: 44%;
    margin-right: auto;
}

.roadmap-step-item.step-right .roadmap-card {
    width: 44%;
    margin-left: auto;
}

/* Active Revealed State on Scroll */
.roadmap-step-item.revealed {
    opacity: 1 !important;
    transform: translateX(0) translateY(0) !important;
}

.roadmap-step-item .node-circle {
    transform: scale(0);
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.roadmap-step-item.revealed .node-circle {
    transform: scale(1) !important;
}

/* Central Node Badge */
.roadmap-node-badge {
    position: absolute;
    left: 50%;
    top: 24px;
    transform: translateX(-50%);
    z-index: 10;
}

.node-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #ffffff;
    border: 3px solid #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.3);
    transition: all 0.35s ease;
}

.node-num {
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 900;
    color: #0f172a;
}

.glow-blue-node   { border-color: #2563eb; box-shadow: 0 0 20px rgba(37, 99, 235, 0.4); }
.glow-cyan-node   { border-color: #0284c7; box-shadow: 0 0 20px rgba(2, 132, 199, 0.4); }
.glow-purple-node { border-color: #7c3aed; box-shadow: 0 0 20px rgba(124, 58, 237, 0.4); }
.glow-yellow-node { border-color: #d97706; box-shadow: 0 0 20px rgba(217, 119, 6, 0.4); }
.glow-green-node  { border-color: #10b981; box-shadow: 0 0 20px rgba(16, 185, 129, 0.4); }

.roadmap-step-item:hover .node-circle {
    transform: scale(1.15);
}

/* Roadmap Card Design */
.roadmap-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-top: 3px solid #2563eb;
    border-radius: 16px;
    padding: 24px 22px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(203, 213, 225, 0.5);
    transition: all 0.35s ease;
}

.roadmap-step-item:hover .roadmap-card {
    transform: translateY(-6px);
    border-color: #2563eb;
    box-shadow: 0 20px 40px -10px rgba(37, 99, 235, 0.2), 0 0 20px rgba(37, 99, 235, 0.1);
}

.roadmap-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.roadmap-phase-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 4px 10px;
    border-radius: 12px;
}

.tag-blue   { background: rgba(37, 99, 235, 0.1); color: #2563eb; border: 1px solid rgba(37, 99, 235, 0.3); }
.tag-cyan   { background: rgba(2, 132, 199, 0.1); color: #0284c7; border: 1px solid rgba(2, 132, 199, 0.3); }
.tag-purple { background: rgba(124, 58, 237, 0.1); color: #7c3aed; border: 1px solid rgba(124, 58, 237, 0.3); }
.tag-yellow { background: rgba(217, 119, 6, 0.1); color: #d97706; border: 1px solid rgba(217, 119, 6, 0.3); }
.tag-green  { background: rgba(16, 185, 129, 0.1); color: #059669; border: 1px solid rgba(16, 185, 129, 0.3); }

.roadmap-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.roadmap-icon-box svg {
    width: 18px;
    height: 18px;
}

.roadmap-step-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.roadmap-step-desc {
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 16px;
}

.roadmap-tech-deliverables {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.roadmap-pill {
    font-size: 0.7rem;
    font-weight: 700;
    color: #1e40af;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    padding: 3px 10px;
    border-radius: 12px;
}

/* Dark Theme Overrides for Sci-Fi Roadmap */
body.robotics-mode .roadmap-card {
    background: rgba(11, 20, 38, 0.94) !important;
    border: 1px solid rgba(0, 240, 255, 0.35) !important;
    border-top: 3px solid #00f0ff !important;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(0, 240, 255, 0.2) !important;
}

body.robotics-mode .node-circle {
    background: #080d1a !important;
    border-color: #00f0ff !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6) !important;
}

body.robotics-mode .node-num {
    color: #00f0ff !important;
}

body.robotics-mode .roadmap-step-title {
    color: #ffffff !important;
}

body.robotics-mode .roadmap-step-desc {
    color: #cbd5e1 !important;
}

body.robotics-mode .roadmap-pill {
    background: rgba(5, 12, 26, 0.9) !important;
    border-color: rgba(0, 240, 255, 0.3) !important;
    color: #00f0ff !important;
}

/* Responsive Roadmap Layout (<850px) */
@media (max-width: 850px) {
    .roadmap-laser-line {
        left: 24px;
        transform: none;
    }

    .roadmap-node-badge {
        left: 24px;
        transform: translateX(-50%);
        top: 18px;
    }

    .node-circle {
        width: 44px;
        height: 44px;
    }

    .node-num {
        font-size: 1rem;
    }

    .roadmap-step-item.step-left .roadmap-card,
    .roadmap-step-item.step-right .roadmap-card {
        width: calc(100% - 60px) !important;
        margin-left: 60px !important;
        margin-right: 0 !important;
    }
}

/* ==========================================
   COMPREHENSIVE RESPONSIVE AUDIT & LAYOUT POLISH
   ========================================== */

/* 1. Subpage Hero Headings & Subtitles Fluid Typography */
.subpage-hero-title {
    font-size: clamp(1.8rem, 5vw, 3rem);
}

@media (max-width: 768px) {
    .subpage-hero-title {
        font-size: clamp(1.5rem, 6.5vw, 2.2rem) !important;
        margin-bottom: 14px !important;
    }
    .subpage-hero-desc {
        font-size: 0.92rem !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-bottom: 20px !important;
    }
}

/* 2. AI Agents Page Full Grid & Pod Card Layout */
.agents-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.agent-pod-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.agent-status-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 800;
    color: #059669;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.5px;
}

body.robotics-mode .agent-status-tag {
    color: #00ff9d !important;
    background: rgba(0, 255, 157, 0.15) !important;
    border-color: rgba(0, 255, 157, 0.45) !important;
}

.agent-pod-title {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: #0f172a;
}

.agent-pod-desc {
    font-size: 0.88rem;
    color: #334155;
    line-height: 1.6;
    margin-bottom: 16px;
}

.agent-spec-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.agent-spec-item {
    font-size: 0.82rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

body.robotics-mode .agent-pod-title { color: #ffffff !important; }
body.robotics-mode .agent-pod-desc { color: #cbd5e1 !important; }
body.robotics-mode .agent-spec-item { color: #94a3b8 !important; }

@media (max-width: 1024px) {
    .agents-full-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
}

@media (max-width: 640px) {
    .agents-full-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
}

/* 3. Configurator Option Cards & Form Grid */
.option-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 20px;
    margin-bottom: 24px;
}

.config-option-card {
    background: #ffffff;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    padding: 18px 16px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.config-option-card:hover {
    border-color: #2563eb;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.config-option-card.selected {
    border-color: #2563eb;
    background: rgba(37, 99, 235, 0.06);
    box-shadow: 0 0 0 1px #2563eb, 0 8px 24px rgba(37, 99, 235, 0.2);
}

.config-option-title {
    font-family: var(--font-tech);
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 6px;
}

.config-option-desc {
    font-size: 0.85rem;
    color: #334155;
    line-height: 1.5;
}

body.robotics-mode .config-option-card {
    background: rgba(11, 20, 38, 0.9) !important;
    border-color: rgba(0, 240, 255, 0.3) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6) !important;
}

body.robotics-mode .config-option-card:hover {
    border-color: #00f0ff !important;
    box-shadow: 0 8px 20px rgba(0, 240, 255, 0.3) !important;
}

body.robotics-mode .config-option-card.selected {
    border-color: #00f0ff !important;
    background: rgba(0, 240, 255, 0.12) !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4) !important;
}

body.robotics-mode .config-option-title { color: #ffffff !important; }
body.robotics-mode .config-option-desc { color: #cbd5e1 !important; }

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

@media (max-width: 640px) {
    .option-cards-grid,
    .form-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* 4. Case Studies Mobile Padding & Metrics Layout */
@media (max-width: 768px) {
    .case-study-content,
    .case-study-metrics-grid {
        padding: 24px 18px !important;
    }

    .case-study-metrics-grid {
        border-left: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    }

    .case-study-title {
        font-size: 1.35rem !important;
    }

    .metric-comparison-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 6px !important;
        padding: 12px 0 !important;
    }
}

/* 5. Mobile Category Filter Touch Bar & Architecture Modal Scroll */
@media (max-width: 768px) {
    .filter-tab-wrapper {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        padding-bottom: 8px !important;
        justify-content: flex-start !important;
    }

    .filter-tab-bar {
        flex-wrap: nowrap !important;
        white-space: nowrap !important;
        border-radius: var(--radius-md) !important;
    }

    .filter-btn {
        padding: 8px 16px !important;
        font-size: 0.82rem !important;
        white-space: nowrap !important;
    }
}

#archModalContent {
    max-height: 88vh !important;
    overflow-y: auto !important;
}

/* 6. Sci-Fi Laser Roadmap Mobile Polish (<480px) */
@media (max-width: 480px) {
    .roadmap-laser-line {
        left: 18px !important;
    }

    .roadmap-node-badge {
        left: 18px !important;
        top: 16px !important;
    }

    .node-circle {
        width: 38px !important;
        height: 38px !important;
    }

    .node-num {
        font-size: 0.9rem !important;
    }

    .roadmap-step-item.step-left .roadmap-card,
    .roadmap-step-item.step-right .roadmap-card {
        width: calc(100% - 46px) !important;
        margin-left: 46px !important;
        padding: 16px 12px !important;
    }
}

/* ==========================================
   INTERACTIVE VISUAL WORKFLOW GENERATOR
   ========================================== */
.workflow-studio-section {
    position: relative;
    padding: 90px 0;
    z-index: 10;
}

.workflow-studio-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 32px;
    align-items: start;
}

/* Left Controls Card */
.workflow-controls-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.studio-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.studio-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--primary-blue);
    box-shadow: 0 0 10px var(--primary-blue);
}

.studio-dot.green-pulse {
    background: #10b981;
    box-shadow: 0 0 12px #10b981;
    animation: pulseGlow 1.5s infinite alternate;
}

.studio-header-title {
    font-family: var(--font-hud);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-main);
    text-transform: uppercase;
}

.studio-group {
    margin-bottom: 20px;
}

.studio-label {
    display: block;
    font-family: var(--font-tech);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* 3-Step Visitor Guide Ribbon */
.wf-guide-ribbon {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: rgba(37, 99, 235, 0.04);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: var(--radius-lg);
    padding: 16px 28px;
    margin-bottom: 32px;
    backdrop-filter: blur(12px);
    flex-wrap: wrap;
}

body.robotics-mode .wf-guide-ribbon {
    background: rgba(0, 240, 255, 0.04);
    border-color: rgba(0, 240, 255, 0.2);
}

.wf-guide-step {
    display: flex;
    align-items: center;
    gap: 12px;
}

.guide-num-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #ffffff;
    font-family: var(--font-hud);
    font-size: 0.9rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 12px rgba(37, 99, 235, 0.4);
    flex-shrink: 0;
}

.wf-guide-step.active-pulse .guide-num-badge {
    background: #10b981;
    box-shadow: 0 0 15px #10b981;
    animation: pulseGlow 1.5s infinite alternate;
}

.guide-step-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.guide-step-text strong {
    font-family: var(--font-hud);
    font-size: 0.84rem;
    letter-spacing: 1px;
    color: var(--text-main);
}

.guide-step-text span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.wf-guide-arrow {
    font-size: 1.2rem;
    color: var(--primary-cyan);
    opacity: 0.6;
}

/* Preset Cards Showcase */
.workflow-preset-chips {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.preset-chip {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    color: var(--text-main);
    padding: 12px 14px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
    width: 100%;
}

.preset-chip .chip-icon {
    font-size: 1.4rem;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.preset-chip .chip-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.preset-chip .chip-title {
    font-family: var(--font-tech);
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-main);
    transition: color 0.2s ease;
}

.preset-chip .chip-desc {
    font-size: 0.76rem;
    color: var(--text-muted);
    font-family: var(--font-main);
    transition: color 0.2s ease;
}

/* Clean Hover State: ONLY Blue Border / Focus Outline, NO sky blue background tint */
.preset-chip:hover {
    border-color: var(--primary-blue) !important;
    outline: 2px solid rgba(37, 99, 235, 0.5);
    outline-offset: -1px;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.25);
    transform: translateX(4px);
}

.preset-chip:hover .chip-title {
    color: var(--primary-blue) !important;
}

/* High-Visibility ACTIVE State for Preset Cards */
.preset-chip.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.16), rgba(37, 99, 235, 0.06)) !important;
    border: 2px solid var(--primary-blue) !important;
    border-left: 6px solid var(--primary-blue) !important;
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.35) !important;
    transform: translateX(6px);
}

.preset-chip.active .chip-title {
    color: var(--primary-blue) !important;
    font-weight: 800 !important;
    font-size: 0.94rem !important;
}

.preset-chip.active .chip-desc {
    color: var(--text-main) !important;
    font-weight: 600 !important;
    opacity: 0.98;
}

.preset-chip.active .chip-icon {
    transform: scale(1.25);
    filter: drop-shadow(0 0 8px rgba(37, 99, 235, 0.6));
}

body.robotics-mode .preset-chip {
    background: rgba(15, 23, 42, 0.8) !important;
    border-color: rgba(0, 240, 255, 0.2) !important;
}

body.robotics-mode .preset-chip:hover {
    border-color: #00f0ff !important;
    outline: 2px solid rgba(0, 240, 255, 0.6);
    outline-offset: -1px;
    /* box-shadow: 0 0 20px rgba(0, 240, 255, 0.3) !important; */
    transform: translateX(4px);
}

body.robotics-mode .preset-chip:hover .chip-title {
    color: #00f0ff !important;
}

/* Dark Mode Active State */
body.robotics-mode .preset-chip.active {
    /* background: linear-gradient(135deg, rgba(0, 240, 255, 0.2), rgba(15, 23, 42, 0.95)) !important; */
    border: 2px solid #00f0ff !important;
    border-left: 6px solid #00f0ff !important;
    /* box-shadow: 0 0 32px rgba(0, 240, 255, 0.45) !important; */
}

body.robotics-mode .preset-chip.active .chip-title {
    color: #00f0ff !important;
    font-weight: 800 !important;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
}

body.robotics-mode .preset-chip.active .chip-desc {
    color: #ffffff !important;
    font-weight: 600 !important;
}

/* Pulsing Live Simulation Button & Headers */
.btn-simulate-pulse {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    color: #ffffff !important;
    border-color: #10b981 !important;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
    animation: btnPulseGlow 2s infinite ease-in-out;
    font-weight: 700 !important;
}

.btn-simulate-pulse:hover {
    background: linear-gradient(135deg, #059669, #047857) !important;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.7) !important;
    transform: translateY(-2px);
}

@keyframes btnPulseGlow {
    0% { box-shadow: 0 0 10px rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 25px rgba(16, 185, 129, 0.8); }
    100% { box-shadow: 0 0 10px rgba(16, 185, 129, 0.4); }
}

.header-titles-box {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.canvas-sub-tag {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 1px;
    color: #10b981;
    font-weight: 700;
}

/* Form inputs & selects */
.studio-select,
.studio-input {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 0.9rem;
    color: var(--text-main);
    font-family: var(--font-main);
    outline: none;
    transition: var(--transition);
}

.studio-select:hover,
.studio-input:hover {
    border-color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.02);
}

body.robotics-mode .studio-select:hover,
body.robotics-mode .studio-input:hover {
    border-color: #00f0ff !important;
    background: rgba(0, 240, 255, 0.04) !important;
}

.studio-select:focus,
.studio-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.studio-toggles-row {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(0, 0, 0, 0.02);
    padding: 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.studio-toggle-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-main);
    cursor: pointer;
    transition: color 0.2s ease;
}

.studio-toggle-label:hover {
    color: var(--primary-blue);
}

body.robotics-mode .studio-toggle-label:hover {
    color: #00f0ff;
}

.studio-toggle-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: var(--primary-blue);
    cursor: pointer;
}

.studio-input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#btnGenerateWf {
    width: 100%;
    justify-content: center;
    padding: 14px;
    font-size: 0.92rem;
    letter-spacing: 1px;
}

/* Right Visual Canvas Card */
.workflow-canvas-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(12px);
    position: relative;
    min-height: 540px;
    display: flex;
    flex-direction: column;
}

.canvas-header {
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.canvas-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.canvas-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-canvas-action {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.25);
    color: var(--primary-blue);
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-tech);
    cursor: pointer;
    transition: var(--transition);
}

.btn-canvas-action:hover {
    background: var(--primary-blue) !important;
    color: #ffffff !important;
    border-color: var(--primary-blue) !important;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4) !important;
    transform: translateY(-2px);
}

body.robotics-mode .btn-canvas-action:hover {
    background: #00f0ff !important;
    color: #050b14 !important;
    border-color: #00f0ff !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6) !important;
}

/* Metrics Bar */
.wf-metrics-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    background: rgba(37, 99, 235, 0.04);
    border: 1px solid rgba(37, 99, 235, 0.12);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 28px;
}

.wf-metric-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.metric-lbl {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    letter-spacing: 1px;
    color: var(--text-dim);
}

.metric-val {
    font-family: var(--font-hud);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
}

.text-cyan { color: var(--primary-cyan) !important; }
.text-green { color: var(--accent-green) !important; }
.text-violet { color: var(--accent-violet) !important; }

/* Dynamic Flow Diagram Container */
.wf-diagram-container {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
}

.wf-nodes-list {
    display: flex;
    flex-direction: column;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.wf-node-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-glow);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.wf-node-card.active-sim {
    border-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.06) !important;
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.3) !important;
}

.wf-node-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.wf-node-step-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    flex-shrink: 0;
}

.wf-node-info h4 {
    font-family: var(--font-tech);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.wf-node-info p {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin: 0;
}

.wf-node-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.wf-node-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-dim);
    border: 1px solid var(--border-color);
}

.wf-node-tag.tag-trigger { background: rgba(0, 240, 255, 0.1); color: #00f0ff; border-color: rgba(0, 240, 255, 0.3); }
.wf-node-tag.tag-ai { background: rgba(139, 92, 246, 0.1); color: #a78bfa; border-color: rgba(139, 92, 246, 0.3); }
.wf-node-tag.tag-shield { background: rgba(16, 185, 129, 0.1); color: #10b981; border-color: rgba(16, 185, 129, 0.3); }
.wf-node-tag.tag-human { background: rgba(245, 158, 11, 0.1); color: #f59e0b; border-color: rgba(245, 158, 11, 0.3); }
.wf-node-tag.tag-action { background: rgba(59, 130, 246, 0.1); color: #60a5fa; border-color: rgba(59, 130, 246, 0.3); }

/* Dynamic Flow Diagram Container */
.wf-diagram-container {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
}

.wf-nodes-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    z-index: 2;
}

.wf-node-card-wrapper {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: relative;
}

.wf-node-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
}

.wf-node-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
}

.wf-node-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wf-node-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--transition);
}

.wf-node-icon-box svg {
    width: 22px;
    height: 22px;
}

/* Node Type Color Variants */
.node-type-trigger .wf-node-icon-box { background: rgba(0, 240, 255, 0.12); color: #00f0ff; border: 1px solid rgba(0, 240, 255, 0.3); box-shadow: 0 0 15px rgba(0, 240, 255, 0.15); }
.node-type-ai .wf-node-icon-box { background: rgba(139, 92, 246, 0.12); color: #8b5cf6; border: 1px solid rgba(139, 92, 246, 0.3); box-shadow: 0 0 15px rgba(139, 92, 246, 0.15); }
.node-type-shield .wf-node-icon-box { background: rgba(16, 185, 129, 0.12); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); box-shadow: 0 0 15px rgba(16, 185, 129, 0.15); }
.node-type-human .wf-node-icon-box { background: rgba(245, 158, 11, 0.12); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.3); box-shadow: 0 0 15px rgba(245, 158, 11, 0.15); }
.node-type-action .wf-node-icon-box { background: rgba(59, 130, 246, 0.12); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.3); box-shadow: 0 0 15px rgba(59, 130, 246, 0.15); }

.wf-node-step-badge {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: var(--primary-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    margin-right: 6px;
}

.wf-node-payload-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    overflow-x: auto;
    flex-wrap: wrap;
}

.payload-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.payload-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.payload-pill.in { background: rgba(59, 130, 246, 0.12); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.25); }
.payload-pill.out { background: rgba(16, 185, 129, 0.12); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.25); }

.payload-val {
    color: var(--text-muted);
    font-size: 0.76rem;
}

/* Connector Line Between Steps */
.wf-node-connector {
    height: 24px;
    width: 2px;
    margin: 0 auto;
    background: linear-gradient(to bottom, var(--primary-blue), #00f0ff);
    position: relative;
    opacity: 0.7;
}

.wf-connector-pulse {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00f0ff;
    box-shadow: 0 0 10px #00f0ff;
    left: -3px;
    top: 0;
    animation: flowPulse 1.8s infinite ease-in-out;
}

@keyframes flowPulse {
    0% { top: 0%; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Clean Hover State: Focus Blue Outline/Border ONLY, NO background tint */
.wf-node-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-blue) !important;
    outline: 2px solid rgba(37, 99, 235, 0.4);
    outline-offset: -1px;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.2) !important;
}

.wf-node-card:hover .wf-node-info h4 {
    color: var(--primary-blue) !important;
}

body.robotics-mode .wf-node-card:hover {
    border-color: #00f0ff !important;
    outline: 2px solid rgba(0, 240, 255, 0.5);
    outline-offset: -1px;
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.3) !important;
}

body.robotics-mode .wf-node-card:hover .wf-node-info h4 {
    color: #00f0ff !important;
}

.wf-node-card.active-sim {
    border-color: #10b981 !important;
    background: rgba(16, 185, 129, 0.08) !important;
    box-shadow: 0 0 28px rgba(16, 185, 129, 0.35) !important;
    transform: scale(1.015);
}

.wf-node-info h4 {
    font-family: var(--font-tech);
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.wf-node-info p {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin: 0;
}

.wf-node-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.wf-node-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-dim);
    border: 1px solid var(--border-color);
}

/* Simulation Console Drawer */
.wf-simulation-log {
    margin-top: 20px;
    background: #090d16;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-md);
    padding: 16px;
    color: #10b981;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.sim-log-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    padding-bottom: 8px;
    margin-bottom: 12px;
}

.log-indicator {
    font-weight: 700;
    letter-spacing: 1px;
}

.sim-close-btn {
    cursor: pointer;
    font-size: 1.2rem;
    color: #64748b;
    transition: var(--transition);
}

.sim-close-btn:hover { color: #ffffff; }

.sim-log-content {
    max-height: 160px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.log-line {
    line-height: 1.4;
    word-break: break-word;
}

.log-line .timestamp { color: #64748b; margin-right: 8px; }
.log-line .highlight { color: #00f0ff; font-weight: bold; }

/* ==========================================
   DEDICATED WORKFLOW STUDIO PAGE STYLES
   ========================================== */
.studio-hero-section {
    position: relative;
    z-index: 10;
}

.studio-workspace-section {
    position: relative;
    z-index: 10;
}

/* ==========================================
   REDESIGNED STUDIO WORKSPACE & AUTOMATION TABS
   ========================================== */
.studio-tabs-bar {
    background: #ffffff;
    border: 1px solid rgba(3, 47, 104, 0.12);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    margin-bottom: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.studio-tabs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.studio-tabs-title {
    font-family: var(--font-tech);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.studio-nav-tabs {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.studio-tab-btn {
    background: #f8fafc;
    border: 1px solid rgba(3, 47, 104, 0.12);
    border-radius: var(--radius-md);
    padding: 14px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-dim);
    position: relative;
    overflow: hidden;
}

.studio-tab-btn:hover {
    background: #ffffff;
    border-color: rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.12);
    color: var(--brand-primary);
}

.studio-tab-btn.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(139, 92, 246, 0.08));
    border-color: #2563eb;
    color: #1e3a8a;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
    transform: translateY(-2px);
}

.studio-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    right: 20%;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #8b5cf6);
    border-radius: 3px 3px 0 0;
}

.tab-icon-box {
    font-size: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Tab Panes & Smooth Fade Slide Transition */
.studio-tab-pane {
    display: none;
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.studio-tab-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    animation: tabSlideFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

/* System Header Banner Card */
.workflow-system-banner {
    background: #ffffff;
    border: 1px solid rgba(3, 47, 104, 0.1);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    align-items: center;
}

.banner-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.banner-headline {
    font-family: var(--font-main);
    font-size: 1.85rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 10px;
}

.gradient-text-purple {
    background: linear-gradient(135deg, #2563eb, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner-desc {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    max-width: 680px;
}

.goal-card-box {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.goal-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.goal-icon-badge {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

.goal-title {
    font-family: var(--font-main);
    font-weight: 700;
    font-size: 1rem;
    color: #0f172a;
}

.goal-flow-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.5;
    background: #ffffff;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

/* Numbered Step Cards Row (1 to 5) */
.numbered-steps-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 28px;
    position: relative;
}

.numbered-step-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid rgba(3, 47, 104, 0.1);
    border-radius: var(--radius-md);
    padding: 14px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    min-height: 250px;
}

.numbered-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.3);
}

/* Card Thumbnail Images Header */
.card-img-wrapper {
    position: relative;
    width: 100%;
    height: 110px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 12px;
    background: #0f172a;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.card-step-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0.88;
}

.numbered-step-card:hover .card-step-img {
    transform: scale(1.08);
    opacity: 1;
}

.card-img-wrapper .step-num-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
}

.card-img-wrapper .step-icon-bg {
    position: absolute;
    bottom: 8px;
    right: 8px;
    z-index: 2;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.step-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.step-num-badge {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.82rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.3);
}

.step-icon-bg {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon-bg.theme-blue { background: #eff6ff; color: #2563eb; }
.step-icon-bg.theme-purple { background: #f5f3ff; color: #8b5cf6; }
.step-icon-bg.theme-green { background: #ecfdf5; color: #10b981; }
.step-icon-bg.theme-orange { background: #fff7ed; color: #f59e0b; }
.step-icon-bg.theme-teal { background: #ecfeff; color: #06b6d4; }

.step-card-title {
    font-family: var(--font-main);
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.step-card-desc {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.45;
    margin-bottom: 16px;
    flex-grow: 1;
}

.step-pills-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.pill-item {
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 6px 8px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pill-item svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
}

.step-arrow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 20px;
    animation: pulseArrow 2s infinite ease-in-out;
}

@keyframes pulseArrow {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(3px); }
}

/* How It Works Diagram Container */
.how-it-works-wrapper {
    background: #ffffff;
    border: 1px solid rgba(3, 47, 104, 0.1);
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    margin-bottom: 28px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.section-tag-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    background: #f1f5f9;
    padding: 8px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.how-nodes-row {
    display: flex;
    align-items: stretch;
    gap: 12px;
}

.how-node-card {
    flex: 1;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius-md);
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.how-node-card:hover {
    background: #ffffff;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
}

.how-node-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(0, 0, 0, 0.08);
}

.how-node-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.how-node-title {
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
}

.how-node-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.how-node-list li {
    font-size: 0.78rem;
    color: #475569;
    display: flex;
    align-items: flex-start;
    gap: 6px;
    line-height: 1.4;
}

.how-node-list li::before {
    content: '•';
    color: #2563eb;
    font-weight: bold;
}

.how-chips-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.how-chip {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Highlighted Outcome Card (End Node 6) */
.how-node-card.outcome-node {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border: 1px solid #10b981;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
}

.how-node-card.outcome-node .how-node-title {
    color: #065f46;
}

.outcome-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #10b981;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

.outcome-text {
    font-size: 0.82rem;
    font-weight: 600;
    color: #047857;
    text-align: center;
    line-height: 1.45;
}

/* Key Benefits Section */
.key-benefits-wrapper {
    background: #ffffff;
    border: 1px solid rgba(3, 47, 104, 0.1);
    border-radius: var(--radius-lg);
    padding: 20px 28px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    display: flex;
    align-items: center;
    gap: 24px;
}

.benefits-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    white-space: nowrap;
    padding-right: 20px;
    border-right: 1px solid rgba(0, 0, 0, 0.1);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    flex-grow: 1;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-text-box h5 {
    font-family: var(--font-main);
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.benefit-text-box p {
    font-size: 0.74rem;
    color: #64748b;
    margin: 0;
    line-height: 1.3;
}

/* ==========================================
   INTERACTIVE ARCHITECTURE GUIDE RIBBON
   ========================================== */
.wf-guide-ribbon {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #ffffff;
    border: 1px solid rgba(3, 47, 104, 0.12);
    border-radius: var(--radius-lg);
    padding: 18px 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(12px);
    margin-top: 10px;
}

.wf-guide-step {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.wf-guide-step:hover {
    background: #ffffff;
    border-color: rgba(37, 99, 235, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
}

.wf-guide-step.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(139, 92, 246, 0.06));
    border-color: rgba(37, 99, 235, 0.5);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.15);
}

.guide-num-badge {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.guide-step-text strong {
    display: block;
    font-family: var(--font-main);
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.guide-step-text span {
    display: block;
    font-size: 0.74rem;
    color: #475569;
    line-height: 1.3;
}

.wf-guide-arrow {
    color: #94a3b8;
    font-size: 1.1rem;
    flex-shrink: 0;
    animation: pulseArrow 2s infinite ease-in-out;
}

/* Robotics Mode Dark Theme Compatibility & Contrast Fixes */
body.robotics-mode .wf-guide-ribbon,
body.robotics-mode .studio-tabs-bar,
body.robotics-mode .workflow-system-banner,
body.robotics-mode .numbered-step-card,
body.robotics-mode .how-it-works-wrapper,
body.robotics-mode .key-benefits-wrapper {
    background: rgba(15, 23, 42, 0.95) !important;
    border-color: rgba(56, 189, 248, 0.25) !important;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(37, 99, 235, 0.12) !important;
}

body.robotics-mode .wf-guide-step {
    background: rgba(30, 41, 59, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body.robotics-mode .wf-guide-step:hover {
    background: rgba(30, 41, 59, 1) !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
}

body.robotics-mode .studio-tab-btn {
    background: rgba(30, 41, 59, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #cbd5e1 !important;
}

body.robotics-mode .studio-tab-btn:hover {
    background: rgba(30, 41, 59, 1) !important;
    color: #38bdf8 !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
}

body.robotics-mode .studio-tab-btn.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.25), rgba(139, 92, 246, 0.2)) !important;
    border-color: #38bdf8 !important;
    color: #f8fafc !important;
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.25) !important;
}

body.robotics-mode .banner-headline,
body.robotics-mode .step-card-title,
body.robotics-mode .how-node-title,
body.robotics-mode .goal-title,
body.robotics-mode .section-tag-box,
body.robotics-mode .benefits-tag,
body.robotics-mode .benefit-text-box h5,
body.robotics-mode .guide-step-text strong,
body.robotics-mode .studio-tabs-title {
    color: #f8fafc !important;
}

body.robotics-mode .banner-desc,
body.robotics-mode .step-card-desc,
body.robotics-mode .how-node-list li,
body.robotics-mode .benefit-text-box p,
body.robotics-mode .guide-step-text span {
    color: #cbd5e1 !important;
}

body.robotics-mode .pill-item,
body.robotics-mode .how-node-card,
body.robotics-mode .how-chip,
body.robotics-mode .goal-card-box,
body.robotics-mode .goal-flow-text {
    background: rgba(30, 41, 59, 0.9) !important;
    color: #f1f5f9 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
}

body.robotics-mode .pill-item:hover {
    background: rgba(51, 65, 85, 0.9) !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
    color: #38bdf8 !important;
}

body.robotics-mode .step-icon-bg.theme-blue {
    background: rgba(37, 99, 235, 0.2) !important;
    color: #60a5fa !important;
    border-color: rgba(96, 165, 250, 0.3) !important;
}

body.robotics-mode .step-icon-bg.theme-purple {
    background: rgba(139, 92, 246, 0.2) !important;
    color: #c084fc !important;
    border-color: rgba(192, 132, 252, 0.3) !important;
}

body.robotics-mode .step-icon-bg.theme-green {
    background: rgba(16, 185, 129, 0.2) !important;
    color: #34d399 !important;
    border-color: rgba(52, 211, 153, 0.3) !important;
}

body.robotics-mode .step-icon-bg.theme-orange {
    background: rgba(245, 158, 11, 0.2) !important;
    color: #fbbf24 !important;
    border-color: rgba(251, 191, 36, 0.3) !important;
}

body.robotics-mode .step-icon-bg.theme-teal {
    background: rgba(6, 182, 212, 0.2) !important;
    color: #22d3ee !important;
    border-color: rgba(34, 211, 238, 0.3) !important;
}

@media (max-width: 1200px) {
    .studio-nav-tabs {
        grid-template-columns: repeat(3, 1fr);
    }
    .numbered-steps-container {
        flex-wrap: wrap;
    }
    .numbered-step-card {
        min-width: 220px;
    }
    .step-arrow-connector {
        display: none;
    }
    .how-nodes-row {
        flex-wrap: wrap;
    }
    .how-node-card {
        min-width: 200px;
    }
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .studio-nav-tabs {
        grid-template-columns: 1fr;
    }
    .workflow-system-banner {
        grid-template-columns: 1fr;
    }
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    .key-benefits-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .benefits-tag {
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding-bottom: 10px;
        width: 100%;
    }
}

.studio-workflow-selector-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 32px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(12px);
}

.selector-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.selector-title {
    font-family: var(--font-tech);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-main);
}

.studio-presets-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.studio-canvas-full {
    width: 100%;
    margin-bottom: 32px;
}

.studio-cta-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(0, 240, 255, 0.04));
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    backdrop-filter: blur(12px);
}

/* ==========================================
   INTERACTIVE WORKFLOW STAGE TABS & DEMO PANELS
   ========================================== */
.wf-stage-tabs-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 24px;
}

.wf-stage-tab {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.wf-stage-tab .stage-badge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 1px;
}

.wf-stage-tab .stage-title {
    font-family: var(--font-tech);
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-main);
}

.wf-stage-tab:hover {
    border-color: var(--primary-blue);
    transform: translateY(-2px);
}

.wf-stage-tab.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(37, 99, 235, 0.05)) !important;
    border: 2px solid var(--primary-blue) !important;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.wf-stage-tab.active .stage-badge,
.wf-stage-tab.active .stage-title {
    color: var(--primary-blue) !important;
}

/* Stage Display Panel */
.wf-stage-display-panel {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    animation: fadeInStage 0.3s ease-in-out;
}

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

.wf-stage-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 10px;
}

.wf-stage-header-title {
    font-family: var(--font-tech);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 10px;
}

.wf-stage-badge-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-blue);
    border: 1px solid rgba(37, 99, 235, 0.25);
}

/* Stage 1: Prompt & Controls */
.prompt-preset-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    margin-bottom: 16px;
}

.prompt-tag-btn {
    background: rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.78rem;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition);
}

.prompt-tag-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.05);
}

.stage-param-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.param-pill {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 6px 12px;
    font-size: 0.8rem;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 6px;
}

.param-pill strong {
    color: var(--primary-blue);
}

/* Stage 2: Searching Ideas Cards */
.ideas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 16px;
    margin-bottom: 20px;
}

.idea-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 12px;
    transition: var(--transition);
    cursor: pointer;
}

.idea-card:hover, .idea-card.selected {
    border-color: #10b981;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.2);
    transform: translateY(-3px);
}

.idea-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.idea-score-badge {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    padding: 3px 8px;
    border-radius: 12px;
}

.idea-card-title {
    font-family: var(--font-tech);
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.35;
}

.idea-card-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.btn-select-idea {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #10b981;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    width: 100%;
    transition: var(--transition);
}

.idea-card.selected .btn-select-idea {
    background: #10b981;
    color: #ffffff;
}

/* Stage 3: Human Approval Gate */
.approval-editor-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 16px;
}

.approval-editor-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.approval-status-pill {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.approval-status-pill.pending {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.approval-status-pill.approved {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.approval-textarea {
    width: 100%;
    min-height: 120px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 12px;
    font-family: var(--font-main);
    font-size: 0.88rem;
    color: var(--text-main);
    line-height: 1.55;
    resize: vertical;
    outline: none;
}

.approval-textarea:focus {
    border-color: var(--primary-blue);
}

.approval-actions-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

/* Stage 4: Live Social & Platform Mockups */
.platform-switcher-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.platform-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
}

.platform-btn.active {
    background: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

/* Social Card Mockup UI */
.social-post-mockup {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    color: #f8fafc;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.social-post-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.social-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary-cyan);
    object-fit: cover;
}

.social-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.social-author-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-verified {
    color: #38bdf8;
    font-size: 0.9rem;
}

.social-handle {
    font-size: 0.78rem;
    color: #94a3b8;
}

.social-post-body {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #e2e8f0;
    white-space: pre-wrap;
    margin-bottom: 16px;
}

.social-post-media-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(16, 185, 129, 0.15));
    border: 1px dashed rgba(56, 189, 248, 0.3);
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin-bottom: 16px;
    font-size: 0.85rem;
    color: #38bdf8;
}

.social-post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.8rem;
    color: #94a3b8;
}

.wf-diagram-header {
    padding-bottom: 8px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.wf-diagram-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-dim);
}

/* Robotics / Dark Mode Compatibility Overrides */
body.robotics-mode .workflow-controls-card,
body.robotics-mode .workflow-canvas-card {
    background: rgba(10, 15, 30, 0.85) !important;
    border-color: rgba(0, 240, 255, 0.25) !important;
    box-shadow: 0 20px 50px rgba(0, 240, 255, 0.08) !important;
}

body.robotics-mode .wf-stage-tab.active {
    border-color: #00f0ff !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.35) !important;
}

body.robotics-mode .wf-stage-tab.active .stage-title,
body.robotics-mode .wf-stage-tab.active .stage-badge {
    color: #00f0ff !important;
}

body.robotics-mode .studio-header-title {
    color: #00f0ff !important;
}

body.robotics-mode .preset-chip {
    background: rgba(0, 240, 255, 0.08) !important;
    border-color: rgba(0, 240, 255, 0.25) !important;
    color: #e2e8f0 !important;
}

body.robotics-mode .studio-select,
body.robotics-mode .studio-input,
body.robotics-mode .approval-textarea {
    background: rgba(5, 11, 20, 0.9) !important;
    border-color: rgba(0, 240, 255, 0.2) !important;
    color: #f1f5f9 !important;
}

body.robotics-mode .wf-node-card {
    background: rgba(15, 23, 42, 0.8) !important;
    border-color: rgba(0, 240, 255, 0.2) !important;
}

body.robotics-mode .wf-node-info h4 {
    color: #f8fafc !important;
}

body.robotics-mode .wf-node-info p {
    color: #94a3b8 !important;
}

body.robotics-mode .wf-metrics-bar {
    background: rgba(0, 240, 255, 0.04) !important;
    border-color: rgba(0, 240, 255, 0.2) !important;
}

/* Mobile Responsive Adjustments */
@media (max-width: 992px) {
    .workflow-studio-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .wf-metrics-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .wf-stage-tabs-nav {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 576px) {
    .workflow-controls-card,
    .workflow-canvas-card {
        padding: 20px 16px;
    }

    .wf-stage-tabs-nav {
        grid-template-columns: 1fr;
    }
    
    .wf-metrics-bar {
        grid-template-columns: 1fr;
    }
    
    .wf-node-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .wf-node-right {
        align-self: flex-end;
    }
}

/* ==========================================
   PORTFOLIO PAGE OVERHAUL & REDESIGN STYLES
   ========================================== */

/* 1. Portfolio Hero Telemetry Banner */
.portfolio-hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 36px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(12px);
}

.portfolio-stat-box {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 16px;
    border-right: 1px solid var(--border-color);
}

.portfolio-stat-box:last-child {
    border-right: none;
}

.stat-label-text {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    letter-spacing: 1.5px;
    color: var(--text-dim);
    text-transform: uppercase;
}

.stat-num-val {
    font-family: var(--font-hud);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-blue);
    line-height: 1.1;
}

.stat-sub-detail {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* 2. Portfolio Filter & Live Search Toolbar */
.portfolio-toolbar-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.portfolio-filter-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.portfolio-search-box {
    position: relative;
    width: 320px;
    max-width: 100%;
}

.portfolio-search-input {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 12px 20px 12px 46px;
    font-size: 0.88rem;
    color: var(--text-main);
    font-family: var(--font-main);
    outline: none;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.02);
}

.portfolio-search-input:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 4px var(--accent-glow);
}

.portfolio-search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: var(--text-dim);
    pointer-events: none;
}

/* 3. Upgraded Portfolio Build Cards */
.portfolio-build-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(12px);
    overflow: hidden;
}

.portfolio-build-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-cyan));
    opacity: 0.7;
}

.portfolio-build-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-glow);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.card-code-badge {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    letter-spacing: 1px;
}

.card-status-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 600;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 3px 10px;
    border-radius: var(--radius-full);
}

.portfolio-img-container {
    background: rgba(37, 99, 235, 0.03);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.portfolio-img-container img {
    max-height: 140px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(37, 99, 235, 0.18));
    transition: var(--transition);
}

.portfolio-build-card:hover .portfolio-img-container img {
    transform: scale(1.05);
}

.card-title-heading {
    font-family: var(--font-tech);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    line-height: 1.3;
}

.card-description-text {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 18px;
    flex: 1;
}

/* Tech Tag Pills */
.card-tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.tech-tag-pill {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(0, 0, 0, 0.04);
    color: var(--text-dim);
    border: 1px solid var(--border-color);
}

/* Micro Telemetry Metrics Bar inside Card */
.card-telemetry-box {
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    gap: 8px;
    margin-bottom: 20px;
}

.t-metric-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.t-metric-val {
    font-family: var(--font-hud);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--primary-blue);
}

.t-metric-lbl {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: var(--text-dim);
    text-transform: uppercase;
}

/* Card Bottom Buttons */
.card-action-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.btn-arch-spec {
    width: 100%;
    justify-content: center;
    font-family: var(--font-tech);
    font-size: 0.88rem;
    font-weight: 700;
    padding: 12px;
}

/* Robotics Mode Overrides for Portfolio */
body.robotics-mode .portfolio-hero-stats {
    background: rgba(10, 15, 30, 0.85) !important;
    border-color: rgba(0, 240, 255, 0.25) !important;
}

body.robotics-mode .portfolio-stat-box {
    border-right-color: rgba(0, 240, 255, 0.2) !important;
}

body.robotics-mode .stat-num-val {
    color: #00f0ff !important;
}

body.robotics-mode .portfolio-search-input {
    background: rgba(5, 11, 20, 0.9) !important;
    border-color: rgba(0, 240, 255, 0.25) !important;
    color: #f1f5f9 !important;
}

body.robotics-mode .portfolio-build-card {
    background: rgba(10, 15, 30, 0.85) !important;
    border-color: rgba(0, 240, 255, 0.2) !important;
}

body.robotics-mode .portfolio-img-container {
    background: rgba(0, 240, 255, 0.04) !important;
    border-color: rgba(0, 240, 255, 0.15) !important;
}

body.robotics-mode .card-title-heading {
    color: #f8fafc !important;
}

body.robotics-mode .card-description-text {
    color: #94a3b8 !important;
}

body.robotics-mode .card-telemetry-box {
    background: rgba(0, 240, 255, 0.04) !important;
    border-color: rgba(0, 240, 255, 0.18) !important;
}

body.robotics-mode .t-metric-val {
    color: #00f0ff !important;
}

/* Mobile Responsive Adjustments for Portfolio */
@media (max-width: 992px) {
    .portfolio-hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .portfolio-stat-box:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 640px) {
    .portfolio-hero-stats {
        grid-template-columns: 1fr;
    }
    
    .portfolio-stat-box {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 12px;
    }
    
    .portfolio-stat-box:last-child {
        border-bottom: none;
    }
    
    .portfolio-search-box {
        width: 100%;
    }
    
    .card-telemetry-box {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Auto-Play Workflow Engine Controls & HUD Banner */
.autoplay-hud-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.18), rgba(16, 185, 129, 0.12));
    border: 1px solid rgba(0, 240, 255, 0.4);
    border-radius: var(--radius-md);
    padding: 12px 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.15);
    animation: fadeIn 0.4s ease;
}

.autoplay-hud-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hud-live-dot.red-pulse {
    width: 10px;
    height: 10px;
    background: #ef4444;
    border-radius: 50%;
    box-shadow: 0 0 10px #ef4444;
    animation: redPulse 1.2s infinite;
}

@keyframes redPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.6; }
}

.autoplay-status-text {
    font-family: var(--font-tech);
    font-size: 0.88rem;
    font-weight: 700;
    color: #00f0ff;
    letter-spacing: 0.5px;
}

.autoplay-progress-track {
    flex: 1;
    max-width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.autoplay-progress-bar {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #00f0ff, #10b981);
    box-shadow: 0 0 10px #00f0ff;
    transition: width 0.4s ease;
}

.autoplay-stop-btn {
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #fca5a5;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
}

.autoplay-stop-btn:hover {
    background: #ef4444;
    color: #ffffff;
}

.btn-autoplay-active {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    border-color: #ef4444 !important;
    color: #ffffff !important;
    animation: autoPlayPulse 1.5s infinite;
}

@keyframes autoPlayPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(239, 68, 68, 0.5); }
    50% { box-shadow: 0 0 25px rgba(239, 68, 68, 0.9); }
}

/* Studio Hero Studio Canvas & CTA Split Banner Upgrades */
.studio-hero-canvas-wrapper {
    margin-top: 35px;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25), 0 0 30px rgba(37, 99, 235, 0.2);
    border: 1px solid rgba(56, 189, 248, 0.3);
    background: rgba(15, 23, 42, 0.6);
}

.studio-hero-canvas-img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.studio-hero-canvas-wrapper:hover .studio-hero-canvas-img {
    transform: scale(1.02);
}

.studio-cta-box {
    /* background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.95)); */
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 0 25px rgba(56, 189, 248, 0.15);
}

.studio-cta-inner {
    display: flex;
    align-items: center;
    gap: 30px;
    justify-content: space-between;
}

.cta-content {
    flex: 1;
    text-align: left;
}

.cta-badge {
    display: inline-block;
    font-family: var(--font-tech);
    font-size: 0.78rem;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.cta-img-box {
    flex: 0 0 420px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.cta-banner-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.cta-img-box:hover .cta-banner-img {
    transform: scale(1.05);
}

.how-it-works-banner {
    width: 100%;
    margin-bottom: 20px;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.how-it-works-banner-img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    display: block;
}

@media (max-width: 992px) {
    .studio-cta-inner {
        flex-direction: column;
        text-align: center;
    }
    .cta-content {
        text-align: center;
    }
    .cta-img-box {
        width: 100%;
        flex: 1 1 100%;
    }
}

/* Studio Hero Section - High Visibility Fixed Background Canvas */
.studio-hero-section {
    position: relative;
    background-image: linear-gradient(180deg, rgba(15, 23, 42, 0.22) 0%, rgba(15, 23, 42, 0.48) 100%), url('assets/images/hero-studio-canvas.jpg');
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 85px 0 70px;
    border-bottom: 1px solid rgba(56, 189, 248, 0.4);
    box-shadow: inset 0 -40px 80px rgba(15, 23, 42, 0.65);
}

.studio-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 40%, rgba(56, 189, 248, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.studio-hero-section .hero-title {
    color: #ffffff;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.95), 0 0 15px rgba(0, 0, 0, 0.8);
    font-weight: 800;
}

.studio-hero-section .hero-subtitle {
    color: #f1f5f9 !important;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.95), 0 0 10px rgba(0, 0, 0, 0.8);
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 16px 24px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.studio-hero-section .cap-badge {
    background: rgba(15, 23, 42, 0.65) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(56, 189, 248, 0.5) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(56, 189, 248, 0.25) !important;
}

.studio-hero-section .wf-guide-ribbon {
    background: rgba(15, 23, 42, 0.55) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.45) !important;
}

@media (max-width: 768px) {
    .studio-hero-section {
        background-attachment: scroll;
    }
}

/* ==========================================
   Interactive SaaS Workflow Camera Viewport & Timeline Scrubber
   ========================================== */

/* ==========================================
   Interactive SaaS Workflow Viewport & Timeline Scrubber
   ========================================== */

/* --- NORMAL / LIGHT MODE (DEFAULT) --- */

/* Studio Tabs Bar */
.studio-tabs-bar {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.studio-tabs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.studio-tabs-title {
    font-family: var(--font-tech, 'JetBrains Mono', monospace);
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.studio-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.green-pulse {
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e;
    animation: greenPulseAnim 1.8s infinite alternate;
}

@keyframes greenPulseAnim {
    from { opacity: 0.5; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1.2); }
}

.studio-nav-tabs {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.studio-tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    padding: 10px 18px;
    border-radius: 10px;
    font-family: var(--font-body, 'Space Grotesk', sans-serif);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.25s ease;
}

.studio-tab-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

.studio-tab-btn.active {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-color: #2563eb;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.tab-icon-box {
    font-size: 1rem;
}

/* Interactive Walkthrough Section Container */
.interactive-walkthrough-section {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
    margin-bottom: 35px;
    position: relative;
}

/* Window Header Bar */
.demo-window-header {
    background: #f8fafc;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e2e8f0;
}

.window-controls {
    display: flex;
    gap: 8px;
}

.window-controls .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.window-controls .dot.red { background: #ff5f56; }
.window-controls .dot.yellow { background: #ffbd2e; }
.window-controls .dot.green { background: #27c93f; }

.window-title-bar {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: var(--font-tech, 'JetBrains Mono', monospace);
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f172a;
}

.hud-status-live {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.35);
    color: #16a34a;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.pulse-green {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 6px #22c55e;
    animation: greenPulse 1.5s infinite;
}

@keyframes greenPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.demo-btn-top {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #2563eb;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-family: var(--font-tech, 'JetBrains Mono', monospace);
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.demo-btn-top:hover {
    background: rgba(37, 99, 235, 0.08);
    border-color: #2563eb;
    color: #1d4ed8;
}

/* Walkthrough Viewport & Canvas Stage */
.walkthrough-viewport {
    height: 520px;
    width: 100%;
    position: relative;
    overflow: hidden;
    background: #f8fafc;
}

.canvas-grid-bg {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(37, 99, 235, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.08) 1px, transparent 1px),
        radial-gradient(rgba(37, 99, 235, 0.15) 1.2px, transparent 1.2px);
    background-size: 32px 32px, 32px 32px, 16px 16px;
    pointer-events: none;
    z-index: 1;
}

.canvas-stage {
    position: absolute;
    width: 1000px;
    height: 520px;
    top: 0;
    left: 0;
    transform-origin: 0 0;
    transition: transform 0.75s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
}

/* SVG Connections & Lines */
.canvas-connections-svg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.connection-line {
    fill: none;
    stroke: #2563eb;
    stroke-width: 2.8;
    stroke-dasharray: 7, 7;
    animation: dashMove 18s linear infinite;
    filter: drop-shadow(0 2px 4px rgba(37, 99, 235, 0.25));
}

@keyframes dashMove {
    to { stroke-dashoffset: -100; }
}

.flow-pulse-dot {
    fill: #2563eb;
    r: 5;
    filter: drop-shadow(0 0 8px #2563eb);
}

/* Workflow Canvas Nodes */
.canvas-nodes-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.wf-node {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 12px 18px;
    border-radius: 14px;
    cursor: pointer;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease, opacity 0.4s ease;
    user-select: none;
    z-index: 5;
}

.wf-node:hover {
    border-color: #2563eb;
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.2);
}

.wf-node.active-focus {
    transform: scale(1.08) !important;
    border-color: #2563eb !important;
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.35), 0 10px 25px rgba(0, 0, 0, 0.1) !important;
    background: #ffffff !important;
    z-index: 25 !important;
}

.wf-node.active-focus::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 18px;
    border: 2px solid #2563eb;
    box-shadow: 0 0 14px rgba(37, 99, 235, 0.4);
    animation: activeGlowPulse 1.8s infinite ease-in-out;
    pointer-events: none;
}

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

.node-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.node-icon-wrapper svg {
    width: 22px;
    height: 22px;
}

.agent-theme { background: linear-gradient(135deg, #2563eb, #7c3aed); color: #fff; }
.slack-theme { background: linear-gradient(135deg, #4a154b, #e01e5a); color: #fff; }
.gmail-theme { background: linear-gradient(135deg, #ea4335, #c5221f); color: #fff; }
.search-theme { background: linear-gradient(135deg, #0284c7, #06b6d4); color: #fff; }

.router-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d97706, #f59e0b);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.sparkle-badge {
    position: absolute;
    top: -4px;
    left: -4px;
    font-size: 10px;
    color: #fef08a;
}

.plus-btn {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: #475569;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.node-label-box {
    display: flex;
    flex-direction: column;
}

.node-name {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a !important;
    display: flex;
    align-items: center;
    gap: 6px;
    text-shadow: none;
}

.node-sub {
    font-size: 0.78rem;
    font-weight: 500;
    color: #64748b !important;
}

.badge-mini {
    font-size: 0.65rem;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.3);
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.badge-num {
    font-size: 0.65rem;
    background: #f1f5f9;
    color: #334155;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 700;
}

.branch-tag {
    position: absolute;
    font-size: 0.68rem;
    font-family: var(--font-tech, 'JetBrains Mono', monospace);
    color: #d97706;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
}

.tag-1st { top: -20px; right: -10px; }
.tag-2nd { bottom: -20px; right: -10px; }

/* Canvas Dim Overlay & Inactive Node Dimming - Disabled blur & dimming for crystal clear playback */
.canvas-dim-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    opacity: 0 !important;
    pointer-events: none;
    display: none !important;
    z-index: 8;
}

.walkthrough-viewport.wf-canvas-dimmed .canvas-dim-overlay {
    opacity: 0 !important;
    display: none !important;
}

.walkthrough-viewport.wf-canvas-dimmed .wf-node:not(.active-focus) {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
}

/* Floating Callout Tooltip (Light Mode Box) */
.wf-callout-tooltip {
    position: absolute;
    z-index: 30;
    background: #ffffff;
    border: 1.5px solid #2563eb;
    border-radius: 14px;
    padding: 16px 20px;
    max-width: 340px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12), 0 0 20px rgba(37, 99, 235, 0.15);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, top 0.6s cubic-bezier(0.25, 1, 0.5, 1), left 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    opacity: 1;
    pointer-events: none;
}

.wf-callout-tooltip.hidden {
    opacity: 0;
    transform: scale(0.9) translateY(10px);
}

.callout-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.callout-step-tag {
    font-family: var(--font-tech, 'JetBrains Mono', monospace);
    font-size: 0.75rem;
    font-weight: 800;
    color: #2563eb;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.callout-text {
    font-size: 0.92rem;
    font-weight: 600;
    color: #0f172a !important;
    line-height: 1.5;
    margin: 0;
    opacity: 1 !important;
    text-shadow: none;
}

/* Callout Pointer Arrow Light Mode */
.callout-arrow {
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

.wf-callout-tooltip.arrow-top .callout-arrow {
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 10px 9px 0 9px;
    border-color: #ffffff transparent transparent transparent;
}

.wf-callout-tooltip.arrow-bottom .callout-arrow {
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 9px 10px 9px;
    border-color: transparent transparent #ffffff transparent;
}

.wf-callout-tooltip.arrow-left .callout-arrow {
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 9px 0 9px 10px;
    border-color: transparent transparent transparent #ffffff;
}

.wf-callout-tooltip.arrow-right .callout-arrow {
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    border-width: 9px 10px 9px 0;
    border-color: transparent #ffffff transparent transparent;
}

/* Demo Scrubber Timeline Bar Light Mode */
.demo-timeline-bar {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.timeline-controls-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-btn {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-family: var(--font-body, 'Space Grotesk', sans-serif);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.timeline-btn:hover {
    background: rgba(37, 99, 235, 0.08);
    border-color: #2563eb;
    color: #1d4ed8;
}

.timeline-btn.play-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: #2563eb;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.timeline-btn.play-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
}

.timeline-segments-track {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 600px;
}

.timeline-segment-pill {
    flex: 1;
    height: 10px;
    background: #e2e8f0;
    border: 1px solid #cbd5e1;
    border-radius: 5px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.25s ease;
}

.timeline-segment-pill:hover {
    border-color: #2563eb;
    transform: translateY(-1px);
}

.timeline-segment-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    border-radius: 5px;
    transition: width 0.3s ease;
}

.timeline-segment-pill.active .timeline-segment-fill {
    width: 100%;
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.4);
}

.timeline-segment-pill.completed .timeline-segment-fill {
    width: 100%;
    background: #2563eb;
}

.timeline-controls-right {
    display: flex;
    align-items: center;
}

.step-indicator {
    font-family: var(--font-tech, 'JetBrains Mono', monospace);
    font-size: 0.8rem;
    font-weight: 700;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.25);
    padding: 5px 12px;
    border-radius: 20px;
}


/* --- ROBOTICS MODE DARK THEME (ENABLED WHEN body.robotics-mode ACTIVE) --- */

body.robotics-mode .studio-tabs-bar {
    background: #0f172a;
    border-color: rgba(56, 189, 248, 0.25);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.robotics-mode .studio-tabs-title {
    color: #38bdf8;
}

body.robotics-mode .studio-tab-btn {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
}

body.robotics-mode .studio-tab-btn:hover {
    background: rgba(37, 99, 235, 0.15);
    color: #f8fafc;
    border-color: rgba(56, 189, 248, 0.4);
}

body.robotics-mode .studio-tab-btn.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.3) 0%, rgba(147, 51, 234, 0.3) 100%);
    border-color: #38bdf8;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.25);
}

body.robotics-mode .interactive-walkthrough-section {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 41, 59, 0.92) 100%);
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45), 0 0 35px rgba(56, 189, 248, 0.2);
}

body.robotics-mode .demo-window-header {
    background: rgba(15, 23, 42, 0.95);
    border-bottom-color: rgba(56, 189, 248, 0.25);
}

body.robotics-mode .window-title-bar {
    color: #f1f5f9;
}

body.robotics-mode .demo-btn-top {
    background: rgba(30, 41, 59, 0.85);
    border-color: rgba(56, 189, 248, 0.3);
    color: #38bdf8;
}

body.robotics-mode .demo-btn-top:hover {
    background: rgba(56, 189, 248, 0.25);
    border-color: #38bdf8;
    color: #ffffff;
}

body.robotics-mode .walkthrough-viewport {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.94) 0%, rgba(30, 41, 59, 0.96) 100%);
}

body.robotics-mode .canvas-grid-bg {
    background-image: 
        linear-gradient(rgba(56, 189, 248, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.08) 1px, transparent 1px),
        radial-gradient(rgba(56, 189, 248, 0.16) 1.2px, transparent 1.2px);
    background-size: 32px 32px, 32px 32px, 16px 16px;
}

body.robotics-mode .connection-line {
    stroke: #38bdf8;
    stroke-width: 3;
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.8));
}

body.robotics-mode .flow-pulse-dot {
    fill: #60a5fa;
    filter: drop-shadow(0 0 12px #38bdf8);
}

body.robotics-mode .wf-node {
    background: rgba(22, 30, 48, 0.96);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

body.robotics-mode .wf-node.active-focus {
    background: rgba(28, 38, 62, 0.98) !important;
    border-color: #38bdf8 !important;
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.7), 0 12px 35px rgba(0, 0, 0, 0.7) !important;
}

body.robotics-mode .node-name {
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

body.robotics-mode .node-sub {
    color: #cbd5e1 !important;
}

body.robotics-mode .badge-mini {
    background: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.4);
}

body.robotics-mode .badge-num {
    background: rgba(255, 255, 255, 0.18);
    color: #f1f5f9;
}

body.robotics-mode .branch-tag {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.4);
}

body.robotics-mode .canvas-dim-overlay {
    display: none !important;
    opacity: 0 !important;
}

body.robotics-mode .walkthrough-viewport.wf-canvas-dimmed .wf-node:not(.active-focus) {
    opacity: 1 !important;
    filter: none !important;
}

body.robotics-mode .wf-callout-tooltip {
    background: linear-gradient(135deg, rgba(24, 18, 44, 0.97) 0%, rgba(16, 10, 32, 0.98) 100%);
    border-color: rgba(168, 85, 247, 0.65);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.8), 0 0 25px rgba(168, 85, 247, 0.35);
}

body.robotics-mode .callout-step-tag {
    color: #e9d5ff;
    text-shadow: 0 0 10px rgba(192, 132, 252, 0.5);
}

body.robotics-mode .callout-text {
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

body.robotics-mode .wf-callout-tooltip.arrow-top .callout-arrow {
    border-color: rgba(16, 10, 32, 0.98) transparent transparent transparent;
}
body.robotics-mode .wf-callout-tooltip.arrow-bottom .callout-arrow {
    border-color: transparent transparent rgba(24, 18, 44, 0.97) transparent;
}
body.robotics-mode .wf-callout-tooltip.arrow-left .callout-arrow {
    border-color: transparent transparent transparent rgba(16, 10, 32, 0.98);
}
body.robotics-mode .wf-callout-tooltip.arrow-right .callout-arrow {
    border-color: transparent rgba(24, 18, 44, 0.97) transparent transparent;
}

body.robotics-mode .demo-timeline-bar {
    background: #0f172a;
    border-top-color: rgba(255, 255, 255, 0.1);
}

body.robotics-mode .timeline-btn {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
}

body.robotics-mode .timeline-segment-pill {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 255, 255, 0.08);
}

body.robotics-mode .step-indicator {
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.25);
    color: #38bdf8;
}

.timeline-controls-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.timeline-btn {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-family: var(--font-body, 'Space Grotesk', sans-serif);
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.timeline-btn:hover {
    background: rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.4);
    color: #ffffff;
}

.timeline-btn.play-btn {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    border-color: #38bdf8;
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

.timeline-btn.play-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.5);
}

.timeline-segments-track {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    max-width: 600px;
}

.timeline-segment-pill {
    flex: 1;
    height: 10px;
    background: rgba(30, 41, 59, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 5px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.25s ease;
}

.timeline-segment-pill:hover {
    border-color: rgba(56, 189, 248, 0.5);
    transform: translateY(-1px);
}

.timeline-segment-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #38bdf8, #a855f7);
    border-radius: 5px;
    transition: width 0.3s ease;
}

.timeline-segment-pill.active .timeline-segment-fill {
    width: 100%;
    box-shadow: 0 0 10px #38bdf8;
}

.timeline-segment-pill.completed .timeline-segment-fill {
    width: 100%;
    background: #38bdf8;
}

.timeline-controls-right {
    display: flex;
    align-items: center;
}

.step-indicator {
    font-family: var(--font-tech, 'JetBrains Mono', monospace);
    font-size: 0.8rem;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.25);
    padding: 5px 12px;
    border-radius: 20px;
}

/* Responsive Scrubber & Viewport Adaptations */
@media (max-width: 768px) {
    .demo-timeline-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .timeline-controls-left {
        justify-content: center;
    }
    .timeline-segments-track {
        max-width: 100%;
    }
    .timeline-controls-right {
        justify-content: center;
    }
    .walkthrough-viewport {
        height: 440px;
    }
}

/* ==========================================
   ENHANCED PREMIUM 3D STACKED HERO AUTOMATION STAGE (POINT 1)
   ========================================== */
.hero-3d-boxes-stage {
    position: relative;
    width: 100%;
    height: 520px;
    perspective: 1400px;
    perspective-origin: 50% 15%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 24px;
}

.boxes-3d-viewport {
    width: 100%;
    max-width: 560px;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.boxes-3d-track {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
}

.box-3d-item {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 247, 250, 0.95) 100%);
    border: 1.5px solid rgba(147, 51, 234, 0.4);
    border-radius: 24px;
    padding: 24px 28px;
    box-shadow: 
        0 25px 50px -15px rgba(147, 51, 234, 0.3),
        0 15px 30px -10px rgba(37, 99, 235, 0.25),
        inset 0 1px 2px rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    transform-style: preserve-3d;
    backface-visibility: hidden;
    opacity: 0;
    transition: transform 0.65s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

body.robotics-mode .box-3d-item {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96) 0%, rgba(30, 27, 75, 0.92) 100%);
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 
        0 25px 60px -10px rgba(168, 85, 247, 0.45),
        0 0 35px rgba(0, 240, 255, 0.25),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.box-3d-item.box-entering {
    animation: boxDropFromAbove 0.78s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes boxDropFromAbove {
    0% {
        opacity: 0;
        transform: translateY(-180px) rotateX(32deg) rotateY(-22deg) scale(0.82) translateZ(-80px);
    }
    70% {
        opacity: 1;
        transform: translateY(10px) rotateX(22deg) rotateY(-15deg) scale(1.03) translateZ(0px);
    }
    100% {
        opacity: 1;
        transform: translateY(0px) rotateX(24deg) rotateY(-18deg) scale(1) translateZ(0px);
    }
}

.box-3d-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}

.box-3d-header.title-visible {
    opacity: 1;
    transform: translateY(0);
}

.box-3d-title {
    font-family: var(--font-hud);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--brand-text);
    background: linear-gradient(90deg, #6366f1, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.robotics-mode .box-3d-title {
    background: linear-gradient(90deg, #38bdf8, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.box-3d-badge {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.18), rgba(59, 130, 246, 0.18));
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #9333ea;
}

body.robotics-mode .box-3d-badge {
    color: #c084fc;
    border-color: rgba(192, 132, 252, 0.5);
}

.box-nodes-container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
}

.box-flow-svg {
    position: absolute;
    left: 20%;
    top: 50%;
    width: 60%;
    height: 14px;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 1;
}

.box-flow-line {
    stroke: #c084fc;
    stroke-width: 3.5;
    stroke-linecap: round;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    transition: stroke-dashoffset 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.box-flow-line.line-drawn {
    stroke-dashoffset: 0;
}

.mini-node-pill {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 10px 16px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(203, 213, 225, 0.9);
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
    opacity: 0;
    transform: scale(0.85) translateY(8px);
    transition: opacity 0.38s ease, transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}

body.robotics-mode .mini-node-pill {
    background: rgba(15, 23, 42, 0.92);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.mini-node-pill.node-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.mini-node-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    flex-shrink: 0;
}

.cyan-dot { background: #06b6d4; box-shadow: 0 0 10px #06b6d4; }
.pink-dot { background: #ec4899; box-shadow: 0 0 10px #ec4899; }
.green-dot { background: #10b981; box-shadow: 0 0 10px #10b981; }

.mini-node-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-text);
}

body.robotics-mode .mini-node-label {
    color: #f1f5f9;
}

/* ==========================================
   CONNECTED VISUAL PIPELINE (POINT 2)
   ========================================== */
.process-pipeline-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    margin-top: 36px;
}

.visual-pipeline-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1140px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.92));
    border: 1.5px solid rgba(37, 99, 235, 0.25);
    border-radius: var(--radius-lg);
    padding: 38px 32px;
    box-shadow: 0 15px 40px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
}

body.robotics-mode .visual-pipeline-track {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.96), rgba(30, 27, 75, 0.9));
    border-color: rgba(0, 240, 255, 0.35);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}

.video-overlay {
    background: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.35) 0%, rgba(15, 23, 42, 0.8) 100%) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.pipeline-step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.pipeline-step-node.active .pipeline-node-icon {
    transform: scale(1.12);
    box-shadow: 0 0 25px rgba(37, 99, 235, 0.4);
    border-color: var(--brand-action);
}

.pipeline-node-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: #ffffff;
    border: 1.5px solid rgba(203, 213, 225, 0.8);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

body.robotics-mode .pipeline-node-icon {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 255, 255, 0.15);
}

.pipeline-node-icon svg {
    width: 28px;
    height: 28px;
}

.pipeline-node-title {
    font-family: var(--font-hud);
    font-size: 0.84rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--brand-text);
    margin-bottom: 3px;
}

body.robotics-mode .pipeline-node-title {
    color: #ffffff;
}

.pipeline-node-sub {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.pipeline-connector-flow {
    flex: 1;
    height: 4px;
    background: rgba(203, 213, 225, 0.6);
    position: relative;
    margin: 0 10px;
    top: -20px;
    border-radius: 4px;
    overflow: hidden;
}

body.robotics-mode .pipeline-connector-flow {
    background: rgba(255, 255, 255, 0.12);
}

.connector-line-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #3b82f6, #a855f7);
    transform: translateX(-100%);
    animation: flowPulseLine 2.2s infinite linear;
}

.glowing-particle {
    position: absolute;
    top: -4px;
    left: 0;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #00f0ff;
    box-shadow: 0 0 12px #00f0ff, 0 0 24px #00f0ff;
    animation: moveParticle 2.2s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================
   TEST DRIVE LIVE SIMULATOR (POINT 3)
   ========================================== */
.sim-terminal-wrapper {
    max-width: 1140px !important;
    padding: 24px !important;
}

/* ==========================================
   AI CAPABILITY WORKSPACE (POINT 4)
   ========================================== */
.cap-workspace-stage {
    min-height: 400px !important;
    padding: 40px !important;
}

/* ==========================================
   AI AGENT CARDS HOVER ELEVATION (POINT 5)
   ========================================== */
.agent-card {
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease !important;
}

.agent-card:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.18) !important;
}

.agent-card:hover .agent-img-box img {
    transform: scale(1.08) !important;
    transition: transform 0.4s ease !important;
}

.agent-card .agent-img-box img {
    transition: transform 0.4s ease;
}

/* ==========================================
   ROI CALCULATOR VISUAL HIGHLIGHT (POINT 7)
   ========================================== */
.roi-big-number {
    font-size: 3.4rem !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #2563eb, #9333ea) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    transition: all 0.3s ease;
}

body.robotics-mode .roi-big-number {
    background: linear-gradient(135deg, #00f0ff, #c084fc) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* ==========================================
   FINAL CTA TEXT CONTRAST (POINT 8)
   ========================================== */
.cta-heading {
    color: #ffffff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.cta-sub {
    color: rgba(255, 255, 255, 0.9) !important;
}

.pipeline-step-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 2;
    transition: transform 0.3s ease;
}

.pipeline-step-node:hover {
    transform: translateY(-4px);
}

.pipeline-node-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: all 0.3s ease;
}

.pipeline-node-icon svg {
    width: 26px;
    height: 26px;
}

.pipeline-node-title {
    font-family: var(--font-hud);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--brand-text);
    margin-bottom: 2px;
}

body.robotics-mode .pipeline-node-title {
    color: #ffffff;
}

.pipeline-node-sub {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.pipeline-connector-flow {
    flex: 1;
    height: 3px;
    background: rgba(203, 213, 225, 0.6);
    position: relative;
    margin: 0 8px;
    top: -18px;
    border-radius: 4px;
    overflow: hidden;
}

body.robotics-mode .pipeline-connector-flow {
    background: rgba(255, 255, 255, 0.1);
}

.connector-line-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, #3b82f6, #a855f7);
    transform: translateX(-100%);
    animation: flowPulseLine 2.5s infinite linear;
}

.glowing-particle {
    position: absolute;
    top: -4px;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00f0ff;
    box-shadow: 0 0 10px #00f0ff, 0 0 20px #00f0ff;
    animation: moveParticle 2.5s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes flowPulseLine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes moveParticle {
    0% { left: 0%; opacity: 0; }
    20% { opacity: 1; }
    80% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.node-final-agent .pipeline-node-icon.final-pulse {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(168, 85, 247, 0.2));
    border: 1px solid rgba(236, 72, 153, 0.4);
    color: #ec4899;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.35);
    animation: agentGlowPulse 2s infinite ease-in-out;
}

@keyframes agentGlowPulse {
    0%, 100% { box-shadow: 0 0 15px rgba(236, 72, 153, 0.3); transform: scale(1); }
    50% { box-shadow: 0 0 28px rgba(236, 72, 153, 0.6); transform: scale(1.06); }
}

/* ==========================================
   AI CAPABILITY SHOWCASE SPLIT LAYOUT (SECTION 5)
   ========================================== */
.capabilities-showcase-section {
    padding: 80px 0;
}

.cap-showcase-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    align-items: stretch;
    margin-top: 36px;
}

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

.cap-tab-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border-radius: var(--radius-md);
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    cursor: pointer;
    text-align: left;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

body.robotics-mode .cap-tab-btn {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

.cap-tab-btn:hover {
    transform: translateX(4px);
    border-color: var(--brand-action);
}

.cap-tab-btn.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(168, 85, 247, 0.08));
    border-color: var(--brand-action);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.12);
}

body.robotics-mode .cap-tab-btn.active {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.12), rgba(168, 85, 247, 0.15));
    border-color: #00f0ff;
    box-shadow: 0 6px 24px rgba(0, 240, 255, 0.2);
}

.cap-tab-num {
    font-family: var(--font-hud);
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--brand-action);
}

body.robotics-mode .cap-tab-num {
    color: #00f0ff;
}

.cap-tab-text {
    display: flex;
    flex-direction: column;
}

.cap-tab-text strong {
    font-family: var(--font-hud);
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--brand-text);
}

body.robotics-mode .cap-tab-text strong {
    color: #ffffff;
}

.cap-tab-text span {
    font-size: 0.78rem;
    color: var(--text-dim);
}

.cap-tab-indicator {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: transparent;
    transition: background 0.3s ease;
}

.cap-tab-btn.active .cap-tab-indicator {
    background: linear-gradient(180deg, #3b82f6, #a855f7);
}

.cap-workspace-stage {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 380px;
    position: relative;
    overflow: hidden;
}

body.robotics-mode .cap-workspace-stage {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.cap-flow-display {
    display: flex;
    flex-direction: column;
    gap: 28px;
    animation: capFadeIn 0.45s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.cap-flow-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    padding-bottom: 16px;
}

body.robotics-mode .cap-flow-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.cap-flow-title {
    font-family: var(--font-hud);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-text);
}

body.robotics-mode .cap-flow-title {
    color: #ffffff;
}

.cap-flow-nodes-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
    position: relative;
}

.cap-node-card {
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(203, 213, 225, 0.8);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 120px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    opacity: 0;
    transform: scale(0.9) translateY(8px);
    animation: nodeEnter 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

body.robotics-mode .cap-node-card {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 255, 255, 0.12);
}

@keyframes nodeEnter {
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.cap-node-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.cap-node-label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--brand-text);
}

body.robotics-mode .cap-node-label {
    color: #ffffff;
}

.cap-arrow-sep {
    color: var(--brand-action);
    font-weight: 800;
    font-size: 1.1rem;
    opacity: 0.6;
}

body.robotics-mode .cap-arrow-sep {
    color: #00f0ff;
}

.cap-execution-preview {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(168, 85, 247, 0.05));
    border: 1px dashed rgba(37, 99, 235, 0.25);
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

body.robotics-mode .cap-execution-preview {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.08), rgba(168, 85, 247, 0.08));
    border-color: rgba(0, 240, 255, 0.3);
}

.agent-tools-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.tool-chip {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--brand-primary);
    transition: all 0.25s ease;
}

body.robotics-mode .tool-chip {
    background: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.25);
    color: #38bdf8;
}

.agent-card:hover .tool-chip {
    background: rgba(37, 99, 235, 0.15);
    transform: translateY(-1px);
}

/* Responsive Adaptations & Visibility Correction */
@media (max-width: 900px) {
    .cap-showcase-layout {
        grid-template-columns: 1fr;
    }
    .cap-tabs-vertical {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 8px;
    }
    .cap-tab-btn {
        min-width: 140px;
    }
    .cap-flow-nodes-row {
        flex-direction: column;
        align-items: stretch;
    }
    .cap-arrow-sep {
        text-align: center;
        transform: rotate(90deg);
    }
    .visual-pipeline-track {
        flex-direction: column;
        gap: 20px;
    }
    .pipeline-connector-flow {
        width: 3px;
        height: 30px;
        top: 0;
        margin: 4px 0;
    }
}

/* ==========================================
   VISIBILITY & CONTRAST CORRECTIONS (LIGHT MODE MODE 1)
   ========================================== */

/* 1. Revert Section 3 ("One Business") background to clean light theme */
.process-section {
    background-color: #f8fafc !important;
    color: #0f172a !important;
    position: relative;
}

.video-bg-container {
    opacity: 1 !important; /* Low opacity watermark behind content */
    filter: grayscale(100%) opacity(0.3) !important;
    pointer-events: none;
}

.video-overlay {
    background: transparent !important; /* Remove dark navy overlay */
    backdrop-filter: none !important;
}

.process-section .section-title,
.process-section .section-label,
.process-section .section-subtitle {
    color: #0f172a !important;
    text-shadow: none !important;
}

.speech-bubble-card {
    background: #ffffff !important;
    border: 1px solid rgba(37, 99, 235, 0.2) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
}

.speech-quote {
    color: #1e293b !important;
    font-size: 1.15rem !important;
    font-weight: 600 !important;
}

/* 2. Global High-Contrast Text Priorities */
h1, h2, h3, h4, h5, h6, .section-title {
    color: #0f172a !important; /* High contrast dark navy */
}

body:not(.robotics-mode) .section-subtitle,
body:not(.robotics-mode) p {
    color: #334155 !important; /* Dark slate body text */
}

body:not(.robotics-mode) .text-muted {
    color: #475569 !important;
}

/* 3. Simulator Section Surround Light Background */
.simulator-section {
    background-color: #f8fafc !important;
}

.simulator-section .section-title,
.simulator-section .section-subtitle {
    color: #0f172a !important;
}

/* 4. Responsive Mobile Cards & Pipeline Stacks */
@media (max-width: 768px) {
    .visual-pipeline-track {
        flex-direction: column !important;
        gap: 16px !important;
        padding: 24px 16px !important;
    }

    .pipeline-connector-flow {
        width: 3px !important;
        height: 24px !important;
        top: 0 !important;
        margin: 2px auto !important;
    }

    .cap-showcase-layout {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .cap-tabs-vertical {
        flex-direction: row !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        padding-bottom: 8px !important;
        -webkit-overflow-scrolling: touch;
    }

    .cap-tab-btn {
        min-width: 130px !important;
        scroll-snap-align: start !important;
        padding: 12px 14px !important;
    }

    .cap-workspace-stage {
        padding: 20px 16px !important;
        min-height: auto !important;
    }

    .cap-flow-nodes-row {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 10px !important;
    }

    .cap-arrow-sep {
        text-align: center !important;
        transform: rotate(90deg) !important;
        margin: 2px 0 !important;
    }

    .agents-grid {
        display: flex !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory !important;
        gap: 16px !important;
        padding-bottom: 16px !important;
        -webkit-overflow-scrolling: touch;
    }

    .agent-card {
        flex: 0 0 85vw !important;
        scroll-snap-align: center !important;
    }

    .timeline-grid {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .timeline-line {
        left: 28px !important;
        transform: none !important;
    }
}

/* ==========================================
   SOLUTIONS FOR YOUR BUSINESS SECTION
   ========================================== */
.solutions-business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 1024px) {
    .solutions-business-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.biz-sol-card {
    background: #ffffff;
    border: 1px solid rgba(203, 213, 225, 0.8);
    border-radius: 14px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.biz-sol-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(10, 91, 216, 0.12);
    border-color: rgba(10, 91, 216, 0.35);
}

.biz-sol-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.biz-sol-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(10, 91, 216, 0.08);
    color: var(--brand-action, #0a5bd8);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.biz-sol-card:hover .biz-sol-icon {
    background: var(--brand-action, #0a5bd8);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(10, 91, 216, 0.3);
}

.biz-sol-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.biz-sol-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a !important;
    margin: 0;
    line-height: 1.2;
}

.biz-sol-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--brand-action, #0a5bd8);
    background: rgba(10, 91, 216, 0.08);
    padding: 3px 8px;
    border-radius: 12px;
    border: 1px solid rgba(10, 91, 216, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.status-pulse-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
    display: inline-block;
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.biz-sol-desc {
    font-size: 0.88rem;
    line-height: 1.55;
    color: #475569 !important;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* CLEAN HORIZONTAL MINI WORKFLOW CONTAINER - NO BACKGROUND BAR */
.sol-workflow-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    padding-top: 12px;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.sol-workflow-row::-webkit-scrollbar {
    display: none;
}

/* INDIVIDUAL WORKFLOW STEP CHIP */
.sol-wf-step {
    height: 30px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(10, 91, 216, 0.18);
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    flex-shrink: 0;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

/* STEP CONNECTOR ARROW */
.sol-wf-arrow {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 1px;
    transition: color 0.3s ease;
}

/* ACTIVE / ANIMATED STEP STATES */
.sol-wf-step.wf-active {
    border-color: var(--brand-action, #0a5bd8) !important;
    color: var(--brand-action, #0a5bd8) !important;
    background: rgba(10, 91, 216, 0.07) !important;
    box-shadow: 0 2px 8px rgba(10, 91, 216, 0.2) !important;
}

.sol-wf-arrow.wf-active {
    color: var(--brand-action, #0a5bd8) !important;
}

.sol-wf-step.wf-completed {
    border-color: #10b981 !important;
    color: #065f46 !important;
    background: rgba(16, 185, 129, 0.08) !important;
}

/* HOVER SEQUENTIAL ACTIVATION STAGGER */
.biz-sol-card:hover .sol-wf-step:nth-of-type(1) { transition-delay: 0.05s; border-color: var(--brand-action, #0a5bd8); color: var(--brand-action, #0a5bd8); background: rgba(10, 91, 216, 0.07); box-shadow: 0 2px 8px rgba(10, 91, 216, 0.2); }
.biz-sol-card:hover .sol-wf-arrow:nth-of-type(2) { transition-delay: 0.15s; color: var(--brand-action, #0a5bd8); }
.biz-sol-card:hover .sol-wf-step:nth-of-type(3) { transition-delay: 0.25s; border-color: var(--brand-action, #0a5bd8); color: var(--brand-action, #0a5bd8); background: rgba(10, 91, 216, 0.07); box-shadow: 0 2px 8px rgba(10, 91, 216, 0.2); }
.biz-sol-card:hover .sol-wf-arrow:nth-of-type(4) { transition-delay: 0.35s; color: var(--brand-action, #0a5bd8); }
.biz-sol-card:hover .sol-wf-step:nth-of-type(5) { transition-delay: 0.45s; border-color: var(--brand-action, #0a5bd8); color: var(--brand-action, #0a5bd8); background: rgba(10, 91, 216, 0.07); box-shadow: 0 2px 8px rgba(10, 91, 216, 0.2); }
.biz-sol-card:hover .sol-wf-arrow:nth-of-type(6) { transition-delay: 0.55s; color: var(--brand-action, #0a5bd8); }
.biz-sol-card:hover .sol-wf-step:nth-of-type(7) { transition-delay: 0.65s; border-color: var(--brand-action, #0a5bd8); color: var(--brand-action, #0a5bd8); background: rgba(10, 91, 216, 0.07); box-shadow: 0 2px 8px rgba(10, 91, 216, 0.2); }
.biz-sol-card:hover .sol-wf-arrow:nth-of-type(8) { transition-delay: 0.75s; color: var(--brand-action, #0a5bd8); }
.biz-sol-card:hover .sol-wf-step:nth-of-type(9) { transition-delay: 0.85s; border-color: var(--brand-action, #0a5bd8); color: var(--brand-action, #0a5bd8); background: rgba(10, 91, 216, 0.07); box-shadow: 0 2px 8px rgba(10, 91, 216, 0.2); }

/* Robotics Mode Overrides */
body.robotics-mode .biz-sol-card {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(0, 240, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

body.robotics-mode .biz-sol-card:hover {
    border-color: #00f0ff;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.25);
}

body.robotics-mode .biz-sol-title {
    color: #ffffff !important;
}

body.robotics-mode .biz-sol-desc {
    color: #94a3b8 !important;
}

body.robotics-mode .biz-sol-icon {
    background: rgba(0, 240, 255, 0.12);
    color: #00f0ff;
}

body.robotics-mode .biz-sol-card:hover .biz-sol-icon {
    background: #00f0ff;
    color: #030712;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
}

body.robotics-mode .sol-wf-step {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(0, 240, 255, 0.3);
    color: #e2e8f0;
}

body.robotics-mode .biz-sol-card:hover .sol-wf-step {
    border-color: #00f0ff;
    color: #00f0ff;
    background: rgba(0, 240, 255, 0.12);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

body.robotics-mode .sol-wf-arrow {
    color: #64748b;
}

body.robotics-mode .biz-sol-card:hover .sol-wf-arrow {
    color: #00f0ff;
}

/* ==========================================
   PORTFOLIO PAGE REFINEMENTS & MICRO-UI VISUALS
   ========================================== */

/* Featured Deployment / Behind The Build Spotlight */
.featured-deployment-section {
    margin-bottom: 40px;
}

.featured-build-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(10, 91, 216, 0.2);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: 0 12px 35px rgba(3, 47, 104, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.featured-build-card:hover {
    border-color: var(--brand-action);
    box-shadow: 0 16px 45px rgba(10, 91, 216, 0.15);
}

.featured-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

.featured-badge {
    background: rgba(10, 91, 216, 0.1);
    color: var(--brand-action);
    border: 1px solid rgba(10, 91, 216, 0.25);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.featured-grid-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: center;
}

@media (max-width: 991px) {
    .featured-grid-container {
        grid-template-columns: 1fr;
    }
}

.featured-content-col h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--brand-text);
    margin-bottom: 12px;
    line-height: 1.3;
}

.featured-challenge-text {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 24px;
    line-height: 1.6;
}

.workflow-diagram-container {
    background: rgba(241, 245, 249, 0.7);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-bottom: 24px;
}

.workflow-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 12px;
    display: block;
    font-weight: 700;
}

.workflow-steps-flex {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.workflow-steps-flex::-webkit-scrollbar {
    display: none;
}

.wf-node {
    background: #ffffff;
    border: 1px solid rgba(10, 91, 216, 0.2);
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.04);
}

.wf-node-arrow {
    color: var(--brand-action);
    font-weight: 800;
    font-size: 0.85rem;
}

.featured-metrics-col {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-md);
    padding: 24px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.featured-stat-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px dashed rgba(226, 232, 240, 0.9);
}

.f-stat-num {
    font-family: var(--font-hud);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-action);
    display: block;
}

.f-stat-lbl {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    color: #64748b;
    text-transform: uppercase;
}

/* Context-Specific Micro-UI Cards for Portfolio Items */
.card-micro-ui {
    width: 100%;
    height: 155px;
    background: linear-gradient(135deg, rgba(241, 245, 249, 0.9) 0%, rgba(226, 232, 240, 0.6) 100%);
    border-radius: var(--radius-md);
    border: 1px solid rgba(203, 213, 225, 0.8);
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: var(--transition);
}

.portfolio-build-card:hover .card-micro-ui {
    border-color: rgba(10, 91, 216, 0.35);
    background: linear-gradient(135deg, rgba(238, 242, 255, 0.95) 0%, rgba(224, 231, 255, 0.7) 100%);
}

/* Micro UI Elements */
.ui-mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: #475569;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(203, 213, 225, 0.6);
}

.ui-chat-bubble {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.3);
    border-radius: 8px 8px 8px 2px;
    padding: 6px 10px;
    font-size: 0.74rem;
    color: #1e293b;
    margin-bottom: 6px;
    max-width: 90%;
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.ui-chat-reply {
    background: rgba(10, 91, 216, 0.08);
    border: 1px solid rgba(10, 91, 216, 0.25);
    border-radius: 8px 8px 2px 8px;
    padding: 6px 10px;
    font-size: 0.74rem;
    color: var(--brand-action);
    margin-left: auto;
    max-width: 90%;
    font-weight: 600;
}

.ui-score-badge {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 8px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.ui-table-grid {
    width: 100%;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    border-collapse: collapse;
}

.ui-table-grid td {
    padding: 4px 6px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    color: #334155;
}

.ui-pill-success {
    background: rgba(22, 163, 74, 0.12);
    color: #16a34a;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.65rem;
}

/* Empty Search Results Message */
.portfolio-empty-state {
    text-align: center;
    padding: 48px 20px;
    background: #ffffff;
    border: 1px dashed rgba(203, 213, 225, 0.9);
    border-radius: var(--radius-md);
    margin-top: 24px;
}

.portfolio-empty-icon {
    font-size: 2.2rem;
    margin-bottom: 12px;
    display: block;
}

.portfolio-empty-text {
    font-size: 1rem;
    color: #475569;
    margin-bottom: 16px;
}

/* Robotics Mode Overrides for Portfolio */
body.robotics-mode .featured-build-card {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(0, 240, 255, 0.3);
}

body.robotics-mode .featured-build-card:hover {
    border-color: #00f0ff;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
}

body.robotics-mode .featured-content-col h3 {
    color: #ffffff;
}

body.robotics-mode .featured-challenge-text {
    color: #94a3b8;
}

body.robotics-mode .workflow-diagram-container {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(0, 240, 255, 0.2);
}

body.robotics-mode .wf-node {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(0, 240, 255, 0.4);
    color: #e2e8f0;
}

body.robotics-mode .wf-node-arrow {
    color: #00f0ff;
}

body.robotics-mode .featured-metrics-col {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(0, 240, 255, 0.25);
}

body.robotics-mode .f-stat-num {
    color: #00f0ff;
}

body.robotics-mode .card-micro-ui {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(0, 240, 255, 0.25);
}

body.robotics-mode .ui-chat-bubble {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(0, 240, 255, 0.2);
    color: #e2e8f0;
}

body.robotics-mode .ui-chat-reply {
    background: rgba(0, 240, 255, 0.12);
    border-color: #00f0ff;
    color: #00f0ff;
}

body.robotics-mode .ui-score-badge {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(0, 240, 255, 0.2);
    color: #e2e8f0;
}

body.robotics-mode .ui-mockup-header {
    color: #94a3b8;
    border-bottom-color: rgba(0, 240, 255, 0.2);
}

body.robotics-mode .ui-table-grid td {
    color: #cbd5e1;
    border-bottom-color: rgba(0, 240, 255, 0.15);
}

body.robotics-mode .portfolio-empty-state {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(0, 240, 255, 0.3);
    color: #94a3b8;
}

/* ==========================================
   AGENCY PORTFOLIO REDESIGN (1240px CONSTRAINED CONTAINER & 3-COL GRID)
   ========================================== */

/* Max-Width Layout Containers */
.portfolio-container-contained {
    margin: 0 auto;
    padding: 0 clamp(16px, 3.5vw, 60px) !important;
    box-sizing: border-box;
}

.portfolio-cta-contained {
    max-width: 1150px;
    margin: 0 auto;
    padding-left: 24px;
    padding-right: 24px;
    box-sizing: border-box;
}

/* Controlled 2-Column Hero Layout (55% Left / 45% Right) */
.subpage-hero-grid.portfolio-hero-contained {
    margin: 0 auto;
    display: grid;
    grid-template-columns: 55% 45%;
    gap: 36px;
    align-items: center;
}

@media (max-width: 991px) {
    .subpage-hero-grid.portfolio-hero-contained {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* 3-Column Portfolio Case Study Grid */
.portfolio-3col-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
    margin-top: 32px;
}

@media (max-width: 991px) {
    .portfolio-3col-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .portfolio-3col-grid {
        grid-template-columns: 1fr;
    }
}

/* Compact Case Study Card Styling */
.portfolio-case-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
    position: relative;
    overflow: hidden;
}

.portfolio-case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(10, 91, 216, 0.12), 0 2px 6px rgba(0, 0, 0, 0.04);
    border-color: rgba(10, 91, 216, 0.35);
}

.case-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.case-card-visual {
    width: 100%;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 14px;
    position: relative;
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: linear-gradient(135deg, rgba(241, 245, 249, 0.9) 0%, rgba(226, 232, 240, 0.6) 100%);
}

.case-card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-case-card:hover .case-card-visual img {
    transform: scale(1.06);
}

.portfolio-case-card:hover .card-micro-ui {
    transform: scale(1.02);
}

.case-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-text);
    margin-bottom: 8px;
    line-height: 1.35;
}

.case-card-desc {
    font-size: 0.85rem;
    color: #475569;
    line-height: 1.5;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.case-card-footer {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed rgba(226, 232, 240, 0.9);
}

/* Robotics Mode Overrides for 3-Col Portfolio */
body.robotics-mode .portfolio-case-card {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(0, 240, 255, 0.25);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

body.robotics-mode .portfolio-case-card:hover {
    border-color: #00f0ff;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.25);
}

body.robotics-mode .case-card-title {
    color: #ffffff;
}

body.robotics-mode .case-card-desc {
    color: #94a3b8;
}

body.robotics-mode .case-card-footer {
    border-top-color: rgba(0, 240, 255, 0.18);
}

/* ==========================================
   PREMIUM CASE STUDY DETAIL MODAL STYLES
   ========================================== */

/* Overlay Backdrop */
.arch-modal-overlay {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 18, 35, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
    box-sizing: border-box;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.arch-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Modal Content Container */
.arch-modal-container {
    max-width: 1150px;
    width: calc(100% - 32px);
    max-height: 88vh;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 24px 60px rgba(8, 18, 35, 0.35), 0 4px 16px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    box-sizing: border-box;
    transform: translateY(16px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.arch-modal-overlay.active .arch-modal-container {
    transform: translateY(0);
}

/* Custom Scrollbar for Modal */
.arch-modal-container::-webkit-scrollbar {
    width: 6px;
}
.arch-modal-container::-webkit-scrollbar-track {
    background: rgba(241, 245, 249, 0.6);
    border-radius: 8px;
}
.arch-modal-container::-webkit-scrollbar-thumb {
    background: rgba(203, 213, 225, 0.8);
    border-radius: 8px;
}
.arch-modal-container::-webkit-scrollbar-thumb:hover {
    background: var(--brand-action);
}

/* Modal Header Elements */
.modal-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.modal-category-badge {
    display: inline-block;
    background: rgba(10, 91, 216, 0.08);
    color: var(--brand-action);
    border: 1px solid rgba(10, 91, 216, 0.22);
    padding: 4px 12px;
    border-radius: 9999px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.modal-main-title {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--brand-text);
    margin-bottom: 8px;
    line-height: 1.3;
}

.modal-subtitle-text {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
    max-width: 850px;
}

.modal-close-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 1px solid rgba(203, 213, 225, 0.8);
    color: #475569;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
}

.modal-close-btn:hover {
    background: var(--brand-action);
    color: #ffffff;
    border-color: var(--brand-action);
    transform: rotate(90deg);
}

/* Hero Visual Panel */
.modal-hero-visual {
    width: 100%;
    height: 240px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    position: relative;
    border: 1px solid rgba(10, 91, 216, 0.2);
    box-shadow: 0 8px 30px rgba(10, 91, 216, 0.1);
    background: linear-gradient(135deg, rgba(238, 242, 255, 0.95) 0%, rgba(224, 231, 255, 0.7) 100%);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Metric Cards Grid */
.modal-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .modal-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.modal-metric-card {
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 14px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.02);
}

.modal-metric-val {
    font-family: var(--font-hud);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--brand-action);
    display: block;
    margin-bottom: 4px;
}

.modal-metric-lbl {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: #64748b;
    text-transform: uppercase;
}

/* Modal Section Titles */
.modal-section-title {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--brand-action);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Horizontal Workflow Diagram */
.modal-workflow-box {
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 32px;
}

.modal-workflow-steps {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 6px;
}

.modal-workflow-steps::-webkit-scrollbar {
    display: none;
}

.modal-wf-node {
    background: #ffffff;
    border: 1px solid rgba(10, 91, 216, 0.22);
    border-radius: 10px;
    padding: 8px 14px;
    font-size: 0.82rem;
    font-weight: 700;
    color: #1e293b;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.modal-wf-arrow {
    color: var(--brand-action);
    font-size: 0.9rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* Integrations Chips */
.modal-integrations-box {
    margin-bottom: 32px;
}

.modal-chips-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.modal-tech-pill {
    background: rgba(241, 245, 249, 0.9);
    border: 1px solid rgba(203, 213, 225, 0.8);
    color: #334155;
    padding: 6px 14px;
    border-radius: 8px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 600;
}

/* 2-Column Specs Grid */
.modal-specs-box {
    margin-bottom: 32px;
}

.modal-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

@media (max-width: 768px) {
    .modal-specs-grid {
        grid-template-columns: 1fr;
    }
}

.modal-spec-card {
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modal-spec-label {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--brand-action);
    text-transform: uppercase;
}

.modal-spec-val {
    font-size: 0.88rem;
    color: #1e293b;
    font-weight: 600;
}

/* Business Impact Comparison */
.modal-impact-box {
    margin-bottom: 32px;
}

.modal-impact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (max-width: 640px) {
    .modal-impact-grid {
        grid-template-columns: 1fr;
    }
}

.modal-impact-card {
    border-radius: 14px;
    padding: 18px;
}

.modal-impact-card.before {
    background: rgba(254, 242, 242, 0.8);
    border: 1px solid rgba(252, 165, 165, 0.6);
}

.modal-impact-card.after {
    background: rgba(240, 253, 244, 0.8);
    border: 1px solid rgba(134, 239, 172, 0.6);
}

.impact-card-title {
    font-size: 0.85rem;
    font-weight: 800;
    font-family: var(--font-mono);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.modal-impact-card.before .impact-card-title { color: #dc2626; }
.modal-impact-card.after .impact-card-title { color: #16a34a; }

.impact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.impact-list li {
    font-size: 0.84rem;
    color: #334155;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Modal Action CTA Row */
.modal-cta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid rgba(226, 232, 240, 0.9);
}

@media (max-width: 640px) {
    .modal-cta-row {
        flex-direction: column;
    }
    .modal-cta-row .btn {
        width: 100%;
    }
}

/* Robotics Mode Overrides for Case Study Modal */
body.robotics-mode .arch-modal-overlay {
    background: rgba(3, 7, 18, 0.85) !important;
}

body.robotics-mode .arch-modal-container {
    background: rgba(15, 23, 42, 0.95);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
}

body.robotics-mode .modal-header-row {
    border-bottom-color: rgba(0, 240, 255, 0.2);
}

body.robotics-mode .modal-category-badge {
    background: rgba(0, 240, 255, 0.12);
    color: #00f0ff;
    border-color: rgba(0, 240, 255, 0.3);
}

body.robotics-mode .modal-main-title {
    color: #ffffff;
}

body.robotics-mode .modal-subtitle-text {
    color: #94a3b8;
}

body.robotics-mode .modal-close-btn {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(0, 240, 255, 0.3);
    color: #e2e8f0;
}

body.robotics-mode .modal-close-btn:hover {
    background: #00f0ff;
    color: #030712;
}

body.robotics-mode .modal-hero-visual {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(0, 240, 255, 0.3);
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.15);
}

body.robotics-mode .modal-metric-card,
body.robotics-mode .modal-workflow-box,
body.robotics-mode .modal-spec-card {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(0, 240, 255, 0.2);
}

body.robotics-mode .modal-metric-val,
body.robotics-mode .modal-section-title,
body.robotics-mode .modal-wf-arrow,
body.robotics-mode .modal-spec-label {
    color: #00f0ff;
}

body.robotics-mode .modal-wf-node {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(0, 240, 255, 0.3);
    color: #e2e8f0;
}

body.robotics-mode .modal-tech-pill {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(0, 240, 255, 0.25);
    color: #cbd5e1;
}

body.robotics-mode .modal-spec-val {
    color: #f8fafc;
}

body.robotics-mode .modal-impact-card.before {
    background: rgba(127, 29, 29, 0.25);
    border-color: rgba(239, 68, 68, 0.4);
}

body.robotics-mode .modal-impact-card.after {
    background: rgba(6, 78, 59, 0.25);
    border-color: rgba(16, 185, 129, 0.4);
}

body.robotics-mode .modal-impact-card.before .impact-card-title { color: #fca5a5; }
body.robotics-mode .modal-impact-card.after .impact-card-title { color: #6ee7b7; }
body.robotics-mode .impact-list li { color: #cbd5e1; }

body.robotics-mode .modal-cta-row {
    border-top-color: rgba(0, 240, 255, 0.2);
}

/* ==========================================
   CASE STUDIES PAGE REFINEMENTS
   ========================================== */

/* Category Filter Bar */
.cs-filter-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 36px;
}

.cs-filter-bar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-full);
    padding: 6px;
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.03);
    overflow-x: auto;
    max-width: 100%;
    scrollbar-width: none;
}

.cs-filter-bar::-webkit-scrollbar {
    display: none;
}

.cs-filter-btn {
    background: transparent;
    border: none;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    font-family: var(--font-tech);
    font-size: 0.88rem;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.cs-filter-btn:hover {
    color: var(--brand-action);
    background: rgba(10, 91, 216, 0.05);
}

.cs-filter-btn.active {
    background: var(--brand-action);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(10, 91, 216, 0.25);
}

/* Case Study 2-Column Card Styles */
.case-study-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin-bottom: 28px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: center;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-study-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(10, 91, 216, 0.12);
    border-color: rgba(10, 91, 216, 0.3);
}

@media (max-width: 991px) {
    .case-study-card {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }
}

.cs-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.cs-num-badge {
    font-family: var(--font-mono);
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--brand-action);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.cs-dot-sep {
    color: #cbd5e1;
    font-size: 0.8rem;
}

.case-study-badge {
    display: inline-block;
    background: rgba(10, 91, 216, 0.08);
    color: var(--brand-action);
    border: 1px solid rgba(10, 91, 216, 0.2);
    padding: 3px 10px;
    border-radius: 9999px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.case-study-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand-text);
    margin-bottom: 16px;
    line-height: 1.35;
}

.cs-section-label {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--brand-action);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 4px;
    display: block;
}

.cs-challenge-text, .cs-solution-text {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 14px;
}

.cs-tech-line {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-action);
    letter-spacing: 0.5px;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px dashed rgba(226, 232, 240, 0.9);
}

/* Dark Metrics Panel Styling */
.case-study-metrics-grid {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(30, 41, 59, 0.8);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.metric-comparison-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(51, 65, 85, 0.6);
}

.metric-comparison-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(51, 65, 85, 0.4);
}

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

.metric-lbl {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 500;
}

.metric-vals-flex {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.metric-before {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    font-weight: 700;
    color: #fca5a5;
    background: rgba(239, 68, 68, 0.15);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.metric-arrow {
    color: #00f0ff;
    font-weight: 800;
    font-size: 0.85rem;
}

.metric-after {
    font-family: var(--font-mono);
    font-size: 0.88rem;
    font-weight: 700;
    color: #4ade80;
    background: rgba(16, 185, 129, 0.15);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Robotics Mode Overrides for Case Studies */
body.robotics-mode .cs-filter-bar {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(0, 240, 255, 0.25);
}

body.robotics-mode .cs-filter-btn {
    color: #94a3b8;
}

body.robotics-mode .cs-filter-btn:hover {
    color: #00f0ff;
    background: rgba(0, 240, 255, 0.1);
}

body.robotics-mode .cs-filter-btn.active {
    background: #00f0ff;
    color: #030712;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

body.robotics-mode .case-study-card {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(0, 240, 255, 0.25);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

body.robotics-mode .case-study-card:hover {
    border-color: #00f0ff;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.25);
}

body.robotics-mode .case-study-title {
    color: #ffffff;
}

body.robotics-mode .cs-challenge-text,
body.robotics-mode .cs-solution-text {
    color: #94a3b8;
}

body.robotics-mode .cs-num-badge,
body.robotics-mode .cs-section-label,
body.robotics-mode .cs-tech-line {
    color: #00f0ff;
}

body.robotics-mode .case-study-badge {
    background: rgba(0, 240, 255, 0.12);
    color: #00f0ff;
    border-color: rgba(0, 240, 255, 0.3);
}

/* ==========================================
   ABOUT US PAGE REFINEMENTS
   ========================================== */

/* Company Overview & Principles Grid */
.about-company-desc {
    max-width: 780px;
    margin: 0 auto 40px auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-muted);
    text-align: center;
}

.about-principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.principle-card {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.03);
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.principle-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px rgba(10, 91, 216, 0.08);
    border-color: rgba(10, 91, 216, 0.25);
}

.principle-badge {
    display: inline-block;
    align-self: flex-start;
    background: rgba(10, 91, 216, 0.08);
    color: var(--brand-action);
    border: 1px solid rgba(10, 91, 216, 0.2);
    padding: 4px 12px;
    border-radius: 9999px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.principle-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-text);
    margin-bottom: 10px;
}

.principle-desc {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* Engineering Team Equal Height & Layout Normalization */
#team .agents-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

#team .agent-pod-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    align-items: center;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.03);
}

#team .agent-pod-card .agent-avatar-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 18px;
    border: 3px solid var(--brand-action);
    box-shadow: 0 0 20px rgba(10, 91, 216, 0.2);
    flex-shrink: 0;
}

#team .agent-pod-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--brand-text);
    margin-bottom: 4px;
}

#team .agent-role-badge {
    font-family: var(--font-mono);
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--brand-action);
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

#team .agent-pod-desc {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.55;
    margin: 0;
}

/* Final About CTA Section */
.about-cta-box {
    background: linear-gradient(135deg, rgba(3, 47, 104, 0.04) 0%, rgba(10, 91, 216, 0.08) 100%);
    border: 1px solid rgba(10, 91, 216, 0.15);
    border-radius: var(--radius-lg);
    padding: 56px 36px;
    text-align: center;
}

.about-cta-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-text);
    margin-bottom: 12px;
}

.about-cta-desc {
    max-width: 600px;
    margin: 0 auto 28px auto;
    font-size: 1rem;
    color: #475569;
    line-height: 1.6;
}

/* Responsive Overrides for About Us */
@media (max-width: 991px) {
    .about-principles-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    #team .agents-full-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .about-cta-box {
        padding: 40px 20px;
    }
    .about-cta-title {
        font-size: 1.6rem;
    }
}

/* Robotics Mode Overrides for About Us */
body.robotics-mode .principle-card {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(0, 240, 255, 0.25);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

body.robotics-mode .principle-badge {
    background: rgba(0, 240, 255, 0.12);
    color: #00f0ff;
    border-color: rgba(0, 240, 255, 0.3);
}

body.robotics-mode .principle-title {
    color: #ffffff;
}

body.robotics-mode .principle-desc,
body.robotics-mode .about-company-desc {
    color: #94a3b8;
}

body.robotics-mode #team .agent-pod-card {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(0, 240, 255, 0.25);
}

body.robotics-mode #team .agent-pod-title {
    color: #ffffff;
}

body.robotics-mode #team .agent-role-badge {
    color: #00f0ff;
}

body.robotics-mode #team .agent-pod-desc {
    color: #94a3b8;
}

body.robotics-mode .about-cta-box {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(0, 240, 255, 0.3);
}

body.robotics-mode .about-cta-title {
    color: #ffffff;
}

body.robotics-mode .about-cta-desc {
    color: #94a3b8;
}

/* Hero Container Overlay Card */
.studio-hero-card {
    background: radial-gradient(circle at 50% 0%, rgba(10, 91, 216, 0.06) 0%, rgba(255, 255, 255, 0.95) 75%);
    border: 1px solid rgba(10, 91, 216, 0.12);
    border-radius: var(--radius-lg);
    padding: 48px 32px 36px 32px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.04);
    margin-bottom: 24px;
}

.studio-hero-section .hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-text);
    line-height: 1.25;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

/* Subordinate 4-Step Guide Ribbon */
.wf-guide-ribbon {
    opacity: 0.92;
    border-color: rgba(226, 232, 240, 0.8);
    background: rgba(248, 250, 252, 0.8);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
}

.wf-guide-step .guide-step-text strong {
    font-size: 0.82rem;
    color: #334155;
}

/* 5-Stage Numbered Steps Progression (Clean Card Layout) */
.numbered-steps-container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    margin-bottom: 40px;
}

.numbered-step-card {
    flex: 1;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.numbered-step-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(10, 91, 216, 0.08);
    border-color: rgba(10, 91, 216, 0.3);
}

.numbered-step-card .card-img-wrapper {
    position: relative;
    width: 100%;
    height: 120px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 16px;
}

.numbered-step-card .card-step-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.numbered-step-card .step-num-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--brand-action);
    color: #ffffff;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.step-action-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding: 5px 12px;
    border-radius: var(--radius-full);
    background: rgba(10, 91, 216, 0.06);
    border: 1px solid rgba(10, 91, 216, 0.15);
    color: var(--brand-action);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.step-arrow-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    font-size: 1.1rem;
    font-weight: 700;
    flex-shrink: 0;
}

/* Process-Oriented How-It-Works Flow */
.how-it-works-wrapper {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    margin-bottom: 40px;
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.03);
}

.how-nodes-row {
    display: flex;
    align-items: stretch;
    gap: 14px;
    margin-top: 24px;
    overflow-x: auto;
    padding-bottom: 8px;
}

.how-node-card {
    flex: 1;
    min-width: 150px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
}

.how-node-card.outcome-node {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(10, 91, 216, 0.08) 100%);
    border-color: rgba(16, 185, 129, 0.25);
}

.how-node-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.how-node-title {
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--brand-text);
}

.how-node-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.how-node-list li {
    font-size: 0.8rem;
    color: #475569;
    padding-left: 12px;
    position: relative;
    margin-bottom: 6px;
}

.how-node-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--brand-action);
}

/* Light Key Benefits Summary Grid */
.key-benefits-wrapper {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
    margin-bottom: 48px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-top: 18px;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #f8fafc;
    border-radius: var(--radius-md);
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.benefit-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(10, 91, 216, 0.08);
    color: var(--brand-action);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.benefit-text-box h5 {
    font-size: 0.88rem;
    font-weight: 800;
    color: var(--brand-text);
    margin-bottom: 2px;
}

.benefit-text-box p {
    font-size: 0.76rem;
    color: #64748b;
    margin: 0;
}

/* Premium Final CTA Container */
.studio-cta-box {
    background: linear-gradient(135deg, rgba(3, 47, 104, 0.04) 0%, rgba(10, 91, 216, 0.08) 100%);
    border: 1px solid rgba(10, 91, 216, 0.18);
    border-radius: var(--radius-lg);
    padding: 48px;
    margin-top: 48px;
    box-shadow: 0 12px 35px rgba(15, 23, 42, 0.04);
}

.studio-cta-inner {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 36px;
    align-items: center;
}

.studio-cta-box .cta-banner-img {
    border-radius: var(--radius-md);
    box-shadow: 0 8px 25px rgba(15, 23, 42, 0.1);
    max-height: 240px;
    width: 100%;
    object-fit: cover;
}

/* Responsive Overrides */
@media (max-width: 991px) {
    .studio-hero-section .hero-title {
        font-size: 2rem;
    }
    .numbered-steps-container {
        flex-direction: column;
        gap: 20px;
    }
    .step-arrow-connector {
        transform: rotate(90deg);
        margin: 4px 0;
    }
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .studio-cta-inner {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
}

/* Robotics Mode Overrides for Workflow Studio */
body.robotics-mode .studio-hero-card {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(0, 240, 255, 0.25);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

body.robotics-mode .numbered-step-card,
body.robotics-mode .how-it-works-wrapper,
body.robotics-mode .key-benefits-wrapper,
body.robotics-mode .how-node-card {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(0, 240, 255, 0.25);
}

body.robotics-mode .step-action-tag {
    background: rgba(0, 240, 255, 0.12);
    color: #00f0ff;
    border-color: rgba(0, 240, 255, 0.3);
}

body.robotics-mode .step-arrow-connector {
    color: #00f0ff;
}

body.robotics-mode .benefit-item {
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(0, 240, 255, 0.2);
}

body.robotics-mode .benefit-text-box h5,
body.robotics-mode .how-node-title {
    color: #ffffff;
}

body.robotics-mode .benefit-text-box p,
body.robotics-mode .how-node-list li {
    color: #94a3b8;
}

body.robotics-mode .studio-cta-box {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(0, 240, 255, 0.3);
}

/* ==========================================
   REALISTIC HOME PAGE DUAL-THEME STYLING
   ========================================== */

/* ------------------------------------------
   1. DEFAULT LIGHT THEME STYLES
   ------------------------------------------ */
.realistic-hero-card {
    position: relative;
    width: 100%;
    max-width: 580px;
    margin: 0 auto;
}

.realistic-chat-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08), 0 1px 3px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(16px);
    overflow: hidden;
    transition: all 0.3s ease;
}

.chat-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.agent-avatar-status {
    display: flex;
    align-items: center;
    gap: 12px;
}

.agent-avatar-img {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #032f68, #0a5bd8);
    padding: 2px;
}

.agent-avatar-img img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.online-dot {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 12px;
    height: 12px;
    background: #16a34a;
    border: 2px solid #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(22, 163, 74, 0.6);
}

.agent-avatar-info {
    display: flex;
    flex-direction: column;
}

.agent-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: #0f172a;
}

.agent-status-text {
    font-size: 0.76rem;
    color: #16a34a;
    font-weight: 600;
}

.header-channel-badges {
    display: flex;
    gap: 6px;
}

.channel-pill {
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 600;
    border-radius: 12px;
    background: #e2e8f0;
    color: #334155;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.channel-pill.active {
    background: #dbeafe;
    color: #1d4ed8;
    border-color: #93c5fd;
}

/* Chat Card Body */
.chat-card-body {
    padding: 20px;
    min-height: 290px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    background: #ffffff;
}

.chat-timestamp {
    text-align: center;
    font-size: 0.72rem;
    color: #64748b;
    margin-bottom: 4px;
    font-weight: 500;
}

.msg-bubble {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 0.88rem;
    line-height: 1.45;
    animation: fadeInMsg 0.35s ease forwards;
}

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

.user-msg {
    align-self: flex-end;
    background: linear-gradient(135deg, #032f68, #0a5bd8);
    color: #ffffff;
    border-bottom-right-radius: 4px;
    box-shadow: 0 4px 14px rgba(3, 47, 104, 0.2);
}

.ai-msg {
    align-self: flex-start;
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 4px;
}

.msg-sender {
    font-size: 0.72rem;
    font-weight: 700;
    margin-bottom: 4px;
    opacity: 0.9;
}

.user-msg .msg-sender { color: #93c5fd; }
.ai-msg .msg-sender { color: #0284c7; }

.ai-action-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid #e2e8f0;
}

.action-tag {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 6px;
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}

/* Chat Card Prompts */
.chat-card-prompts {
    padding: 14px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    position: relative;
    z-index: 30;
}

.prompt-chip-label {
    display: block;
    font-size: 0.74rem;
    color: #475569;
    margin-bottom: 8px;
    font-weight: 600;
}

.prompt-chips-wrapper {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    position: relative;
    z-index: 35;
}

.prompt-chip {
    padding: 6px 14px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 40;
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.prompt-chip:hover {
    border-color: #0284c7;
    color: #032f68;
    background: #f0f9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.15);
}

.prompt-chip:active {
    transform: translateY(0);
}

.prompt-chip.active {
    background: var(--brand-action);
    border-color: var(--brand-action);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(10, 91, 216, 0.3);
}

/* Floating Live Badges */
.hero-live-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.1);
    z-index: 10;
}

.badge-left {
    bottom: 50px;
    left: -25px;
}

.prompt-chip.chip-clicked-pulse {
    animation: chipPulseGlow 0.4s ease forwards;
}

@keyframes chipPulseGlow {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(10, 91, 216, 0.4); }
    50% { transform: scale(1.04); box-shadow: 0 0 15px 4px rgba(10, 91, 216, 0.25); }
    100% { transform: scale(1); box-shadow: 0 4px 14px rgba(10, 91, 216, 0.3); }
}

.badge-right {
    top: 20px;
    right: -20px;
}

.hero-live-badge .badge-icon {
    font-size: 1.2rem;
}

.hero-live-badge .badge-content-text {
    display: flex;
    flex-direction: column;
}

.hero-live-badge strong {
    font-size: 0.82rem;
    color: #0f172a;
}

.hero-live-badge span {
    font-size: 0.72rem;
    color: #64748b;
}

@media (max-width: 768px) {
    .hero-live-badge { display: none; }
}

/* Live Activity Ticker Bar */
.live-activity-bar {
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 12px 0;
    overflow: hidden;
}

.activity-bar-inner {
    display: flex;
    align-items: center;
    gap: 20px;
}

.activity-title {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    font-size: 0.78rem;
    color: #032f68;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.status-pulse-dot {
    width: 8px;
    height: 8px;
    background: #16a34a;
    border-radius: 50%;
    box-shadow: 0 0 10px #16a34a;
    animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.activity-ticker-wrapper {
    overflow: hidden;
    width: 100%;
}

.activity-ticker-track {
    display: flex;
    gap: 30px;
    white-space: nowrap;
    animation: marqueeTicker 28s linear infinite;
}

.activity-ticker-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeTicker {
    0% { transform: translateX(0%); }
    100% { transform: translateX(-50%); }
}

.activity-item {
    font-size: 0.82rem;
    color: #334155;
    background: #ffffff;
    padding: 4px 14px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
}

.activity-item strong {
    color: #0f172a;
}

/* Realistic Simulator Workspace */
.realistic-sim-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.sim-title-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #475569;
    margin-left: 8px;
}

.sim-realistic-content {
    padding: 30px;
    min-height: 420px;
    background: #f8fafc;
}

.sim-chat-view {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sim-channel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 18px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
}

.sim-channel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #0f172a;
}

.sim-messages-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    max-height: 320px;
    overflow-y: auto;
    padding-right: 6px;
}

.sim-user-bubble {
    align-self: flex-end;
    background: #032f68;
    color: #ffffff;
    padding: 12px 18px;
    border-radius: 16px;
    border-bottom-right-radius: 4px;
    max-width: 75%;
    font-size: 0.92rem;
    box-shadow: 0 4px 15px rgba(3, 47, 104, 0.2);
}

.sim-ai-bubble {
    align-self: flex-start;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    padding: 14px 20px;
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    max-width: 80%;
    font-size: 0.92rem;
    line-height: 1.5;
}

.sim-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.sim-action-card {
    background: #e0f2fe;
    border: 1px solid #bae6fd;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 0.78rem;
    color: #0369a1;
    font-weight: 600;
}

.sim-input-row {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.sim-text-input {
    flex: 1;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 12px 16px;
    color: #0f172a;
    font-size: 0.9rem;
    outline: none;
}

.sim-text-input:focus {
    border-color: #0284c7;
    box-shadow: 0 0 10px rgba(2, 132, 199, 0.2);
}

.sim-send-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #032f68, #0a5bd8);
    color: #ffffff;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.sim-send-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(3, 47, 104, 0.3);
}

/* Comparison Section */
.comparison-section {
    padding: 80px 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .comparison-grid { grid-template-columns: 1fr; }
}

.comparison-card {
    padding: 36px 30px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    position: relative;
    transition: all 0.3s ease;
}

.old-way-card {
    border-color: #fca5a5;
    background: #fef2f2;
}

.ai-way-card {
    border-color: #86efac;
    background: #f0fdf4;
    box-shadow: 0 10px 30px rgba(22, 163, 74, 0.08);
}

.comp-badge {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    margin-bottom: 24px;
}

.old-badge {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fca5a5;
}

.ai-badge {
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}

.comp-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.comp-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: #334155;
    line-height: 1.5;
}

.old-way-card .comp-list li strong { color: #991b1b; }
.ai-way-card .comp-list li strong { color: #166534; }

.comp-icon {
    font-size: 1.1rem;
    line-height: 1;
    margin-top: 2px;
}


/* ------------------------------------------
   2. ROBOTICS MODE (DARK THEME) OVERRIDES
   ------------------------------------------ */
body.robotics-mode .realistic-chat-card {
    background: rgba(11, 20, 38, 0.92) !important;
    border: 1px solid rgba(0, 240, 255, 0.25) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 240, 255, 0.15) !important;
}

body.robotics-mode .chat-card-header {
    background: rgba(15, 23, 42, 0.9) !important;
    border-bottom: 1px solid rgba(0, 240, 255, 0.15) !important;
}

body.robotics-mode .agent-name {
    color: #ffffff !important;
}

body.robotics-mode .agent-status-text {
    color: #00ff9d !important;
}

body.robotics-mode .channel-pill {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #94a3b8 !important;
}

body.robotics-mode .channel-pill.active {
    background: rgba(0, 240, 255, 0.2) !important;
    color: #00f0ff !important;
    border-color: rgba(0, 240, 255, 0.4) !important;
}

body.robotics-mode .chat-card-body {
    background: rgba(11, 20, 38, 0.95) !important;
}

body.robotics-mode .user-msg {
    background: linear-gradient(135deg, #2563eb, #00f0ff) !important;
    color: #ffffff !important;
}

body.robotics-mode .ai-msg {
    background: rgba(30, 41, 59, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #f8fafc !important;
}

body.robotics-mode .ai-msg .msg-sender {
    color: #00f0ff !important;
}

body.robotics-mode .action-tag {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #34d399 !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

body.robotics-mode .chat-card-prompts {
    background: rgba(10, 15, 30, 0.95) !important;
    border-top: 1px solid rgba(0, 240, 255, 0.15) !important;
}

body.robotics-mode .prompt-chip-label {
    color: #94a3b8 !important;
}

body.robotics-mode .prompt-chip {
    background: rgba(30, 41, 59, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.12) !important;
    color: #cbd5e1 !important;
}

body.robotics-mode .prompt-chip:hover {
    border-color: #00f0ff !important;
    color: #ffffff !important;
}

body.robotics-mode .prompt-chip.active {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.4), rgba(0, 240, 255, 0.3)) !important;
    border-color: #00f0ff !important;
    color: #ffffff !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3) !important;
}

body.robotics-mode .hero-live-badge {
    background: rgba(15, 23, 42, 0.9) !important;
    border: 1px solid rgba(0, 240, 255, 0.25) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
}

body.robotics-mode .hero-live-badge strong {
    color: #ffffff !important;
}

body.robotics-mode .hero-live-badge span {
    color: #94a3b8 !important;
}

body.robotics-mode .live-activity-bar {
    background: rgba(15, 23, 42, 0.95) !important;
    border-top: 1px solid rgba(0, 240, 255, 0.2) !important;
    border-bottom: 1px solid rgba(0, 240, 255, 0.2) !important;
}

body.robotics-mode .activity-title {
    color: #00f0ff !important;
}

body.robotics-mode .activity-item {
    background: rgba(30, 41, 59, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #cbd5e1 !important;
}

body.robotics-mode .activity-item strong {
    color: #ffffff !important;
}

body.robotics-mode .realistic-sim-wrapper {
    background: rgba(11, 20, 38, 0.95) !important;
    border: 1px solid rgba(0, 240, 255, 0.25) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6) !important;
}

body.robotics-mode .sim-title-label {
    color: #94a3b8 !important;
}

body.robotics-mode .sim-realistic-content {
    background: rgba(10, 15, 30, 0.6) !important;
}

body.robotics-mode .sim-channel-header {
    background: rgba(30, 41, 59, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.robotics-mode .sim-channel-title {
    color: #ffffff !important;
}

body.robotics-mode .sim-user-bubble {
    background: #2563eb !important;
    color: #ffffff !important;
}

body.robotics-mode .sim-ai-bubble {
    background: rgba(30, 41, 59, 0.9) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

body.robotics-mode .sim-action-card {
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(0, 240, 255, 0.2) !important;
    color: #00f0ff !important;
}

body.robotics-mode .sim-text-input {
    background: rgba(30, 41, 59, 0.8) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #ffffff !important;
}

body.robotics-mode .sim-send-btn {
    background: linear-gradient(135deg, #2563eb, #00f0ff) !important;
    color: #ffffff !important;
}

body.robotics-mode .comparison-card {
    background: rgba(15, 23, 42, 0.7) !important;
}

body.robotics-mode .old-way-card {
    border-color: rgba(239, 68, 68, 0.3) !important;
    background: rgba(239, 68, 68, 0.05) !important;
}

body.robotics-mode .ai-way-card {
    border-color: rgba(16, 185, 129, 0.4) !important;
    background: rgba(16, 185, 129, 0.08) !important;
}

body.robotics-mode .sim-ai-bubble .msg-sender {
    color: #00f0ff !important;
}

.sim-ai-bubble .msg-sender {
    color: #0284c7;
}

body.robotics-mode .comp-list li {
    color: #cbd5e1 !important;
}

body.robotics-mode .old-way-card .comp-list li strong { color: #f87171 !important; }
body.robotics-mode .ai-way-card .comp-list li strong { color: #34d399 !important; }

/* ==========================================
   🍏 APPLE DESIGN SYSTEM (MINIMALIST & BENTO)
   ========================================== */

/* Apple Clean Typography & Spacing */
body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'SF Pro Display', sans-serif !important;
    letter-spacing: -0.01em;
}

.hero-title {
    font-size: clamp(2.4rem, 5.2vw, 4.4rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.06 !important;
    color: #1d1d1f !important;
}

body.robotics-mode .hero-title {
    color: #f5f5f7 !important;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3.4rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.025em !important;
    line-height: 1.12 !important;
    color: #1d1d1f !important;
}

body.robotics-mode .section-title {
    color: #f5f5f7 !important;
}

.section-subtitle {
    font-size: 1.15rem !important;
    color: #86868b !important;
    line-height: 1.5 !important;
    font-weight: 400 !important;
}

.text-glow {
    background: linear-gradient(135deg, #0071e3 0%, #2997ff 50%, #af52de 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: none !important;
}

.sub-tag, .cap-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 980px;
    background: rgba(0, 113, 227, 0.08);
    color: #0071e3;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid rgba(0, 113, 227, 0.18);
    text-transform: uppercase;
}

body.robotics-mode .sub-tag, body.robotics-mode .cap-badge {
    background: rgba(0, 240, 255, 0.12);
    color: #00f0ff;
    border-color: rgba(0, 240, 255, 0.25);
}

/* Apple Pill Buttons */
.btn {
    border-radius: 980px !important;
    font-weight: 600 !important;
    padding: 14px 28px !important;
    font-size: 0.95rem !important;
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.btn-primary {
    background: #0071e3 !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 4px 18px rgba(0, 113, 227, 0.25) !important;
}

.btn-primary:hover {
    background: #0077ed !important;
    transform: scale(1.02) translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(0, 113, 227, 0.35) !important;
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.04) !important;
    color: #0071e3 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
}

.btn-secondary:hover {
    background: rgba(0, 113, 227, 0.08) !important;
    transform: scale(1.02) translateY(-2px) !important;
}

body.robotics-mode .btn-secondary {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #00f0ff !important;
    border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Apple Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
}

body.robotics-mode .navbar {
    background: rgba(22, 22, 23, 0.85) !important;
    border-bottom-color: rgba(255, 255, 255, 0.12) !important;
}

.nav-links a {
    color: #1d1d1f !important;
    font-weight: 500 !important;
    font-size: 0.92rem !important;
    transition: color 0.2s ease !important;
}

.nav-links a:hover, .nav-links a.active {
    color: #0071e3 !important;
}

body.robotics-mode .nav-links a {
    color: #f5f5f7 !important;
}

body.robotics-mode .nav-links a:hover, body.robotics-mode .nav-links a.active {
    color: #00f0ff !important;
}

/* Apple Hero Chat Frame */
.realistic-chat-card {
    border-radius: 28px !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08), 0 0 40px rgba(0, 113, 227, 0.1) !important;
    backdrop-filter: blur(24px) !important;
}

.chat-card-header {
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
    padding: 18px 24px !important;
}

.user-msg {
    background: #0071e3 !important;
    color: #ffffff !important;
    border-radius: 20px !important;
    border-bottom-right-radius: 4px !important;
}

.ai-msg {
    background: #e9e9eb !important;
    color: #1d1d1f !important;
    border-radius: 20px !important;
    border-bottom-left-radius: 4px !important;
    border: none !important;
}

body.robotics-mode .ai-msg {
    background: #2c2c2e !important;
    color: #f5f5f7 !important;
}

.prompt-chip {
    border-radius: 980px !important;
    padding: 8px 16px !important;
    font-weight: 500 !important;
}

.prompt-chip.active {
    background: #0071e3 !important;
    color: #ffffff !important;
    border-color: #0071e3 !important;
    box-shadow: 0 4px 14px rgba(0, 113, 227, 0.3) !important;
}

/* 🍏 APPLE BENTO GRID LAYOUT (AI Agents Showcase) */
.agents-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 24px !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

@media (max-width: 992px) {
    .agents-grid {
        grid-template-columns: 1fr !important;
    }
}

.agent-card {
    border-radius: 28px !important;
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04) !important;
    backdrop-filter: blur(20px) !important;
    padding: 32px !important;
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

.agent-card:hover {
    transform: translateY(-6px) scale(1.01) !important;
    box-shadow: 0 20px 45px rgba(0, 113, 227, 0.12), 0 0 1px rgba(0, 0, 0, 0.1) !important;
    border-color: rgba(0, 113, 227, 0.3) !important;
}

.agent-img-box {
    width: 100%;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.agent-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.agent-card:hover .agent-img-box img {
    transform: scale(1.05);
}

/* Bento Card Grid Spans */
@media (min-width: 993px) {
    .agents-grid .agent-card:nth-child(1) { grid-column: span 2; }
    .agents-grid .agent-card:nth-child(2) { grid-column: span 1; }
    .agents-grid .agent-card:nth-child(3) { grid-column: span 1; }
    .agents-grid .agent-card:nth-child(4) { grid-column: span 2; }
    .agents-grid .agent-card:nth-child(5) { grid-column: span 3; }
}

body.robotics-mode .agent-card {
    background: rgba(22, 22, 23, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5) !important;
}

body.robotics-mode .agent-card:hover {
    border-color: rgba(0, 240, 255, 0.4) !important;
    box-shadow: 0 20px 50px rgba(0, 240, 255, 0.2) !important;
}

.agent-card-body h3 {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em !important;
    color: #1d1d1f !important;
    margin-bottom: 10px !important;
}

body.robotics-mode .agent-card-body h3 {
    color: #ffffff !important;
}

.agent-card-body p {
    font-size: 0.98rem !important;
    color: #86868b !important;
    line-height: 1.5 !important;
    margin-bottom: 20px !important;
}

.tool-chip {
    padding: 6px 14px !important;
    border-radius: 980px !important;
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    color: #1d1d1f !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
}

body.robotics-mode .tool-chip {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #f5f5f7 !important;
}

/* Apple CTA Section */
.cta-banner {
    border-radius: 36px !important;
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.4) !important;
    padding: 60px 40px !important;
}

.cta-heading {
    font-size: clamp(2.2rem, 4vw, 3.6rem) !important;
    font-weight: 800 !important;
    letter-spacing: -0.03em !important;
    line-height: 1.1 !important;
    color: #ffffff !important;
}

.cta-sub {
    color: #a1a1a6 !important;
    font-size: 1.2rem !important;
}

/* Simulator & Workflow Studio Side-by-Side Header Grid */
.sim-header-split-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
    align-items: center;
}

@media (max-width: 992px) {
    .sim-header-split-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.sim-header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.studio-mini-cta-card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 113, 227, 0.2);
    border-radius: 24px;
    padding: 24px 28px;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 113, 227, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.studio-mini-cta-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(0, 113, 227, 0.16);
    border-color: rgba(0, 113, 227, 0.4);
}

.studio-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 10px 0 6px;
    color: #1d1d1f;
    letter-spacing: -0.02em;
}

.studio-card-desc {
    font-size: 0.88rem;
    color: #86868b;
    margin-bottom: 16px;
    line-height: 1.45;
}

.studio-btn-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

body.robotics-mode .studio-mini-cta-card {
    background: rgba(22, 22, 23, 0.85) !important;
    border-color: rgba(0, 240, 255, 0.25) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5) !important;
}

body.robotics-mode .studio-card-title {
    color: #ffffff !important;
}

body.robotics-mode .studio-card-desc {
    color: #cbd5e1 !important;
}

/* ==========================================
   2-COLUMN WORKSPACE GRID (SIMULATOR + SIDEBAR)
   ========================================== */
.sim-main-2col-grid {
    display: grid;
    grid-template-columns: 1.22fr 0.78fr;
    gap: 28px;
    align-items: stretch;
}

@media (max-width: 992px) {
    .sim-main-2col-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.sim-left-col {
    display: flex;
    flex-direction: column;
}

.sim-right-col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.margin-bottom-24 {
    margin-bottom: 24px;
}

.margin-bottom-20 {
    margin-bottom: 20px;
}

.margin-top-12 {
    margin-top: 12px;
}

.text-left {
    text-align: left !important;
}

/* Vertical Command Center Side Panel */
.sim-vertical-side-panel {
    background: #ffffff;
    border: 1px solid rgba(0, 113, 227, 0.15);
    border-radius: 24px;
    padding: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex: 1;
}

.side-panel-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #0071e3;
    letter-spacing: 0.5px;
    font-weight: 700;
}

/* Side Metrics Grid */
.side-panel-metrics {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.side-metric-box {
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
}

.side-metric-box .metric-val {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2px;
}

.side-metric-box .metric-lbl {
    font-size: 0.72rem;
    color: #86868b;
    font-weight: 600;
}

/* Real-Time Action Log Stream */
.side-panel-logs {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.log-title {
    font-size: 0.74rem;
    font-weight: 700;
    color: #86868b;
    letter-spacing: 0.5px;
}

.log-stream-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.side-log-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 10px;
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.04);
    font-size: 0.78rem;
    color: #1d1d1f;
}

.log-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
}

.log-badge.green { background: #dcfce7; color: #15803d; }
.log-badge.blue { background: #e0f2fe; color: #0369a1; }
.log-badge.purple { background: #f3e8ff; color: #7e22ce; }
.log-badge.orange { background: #ffedd5; color: #c2410c; }

/* Side Panel Presets */
.side-panel-presets {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.preset-title {
    font-size: 0.74rem;
    font-weight: 700;
    color: #86868b;
}

.preset-pills-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.side-preset-btn {
    padding: 8px 14px;
    border-radius: 980px;
    background: #f5f5f7;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #1d1d1f;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
}

.side-preset-btn:hover {
    background: #0071e3;
    color: #ffffff;
    border-color: #0071e3;
    transform: translateX(3px);
}

/* Robotics Mode Overrides for Vertical Side Panel */
body.robotics-mode .sim-vertical-side-panel {
    background: rgba(22, 22, 23, 0.85) !important;
    border-color: rgba(0, 240, 255, 0.25) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5) !important;
}

body.robotics-mode .side-panel-header {
    color: #00f0ff !important;
}

body.robotics-mode .side-metric-box {
    background: rgba(30, 41, 59, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body.robotics-mode .side-metric-box .metric-lbl,
body.robotics-mode .log-title,
body.robotics-mode .preset-title {
    color: #cbd5e1 !important;
}

body.robotics-mode .side-log-item {
    background: rgba(30, 41, 59, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #f5f5f7 !important;
}

body.robotics-mode .side-preset-btn {
    background: rgba(30, 41, 59, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #f5f5f7 !important;
}

body.robotics-mode .side-preset-btn:hover {
    background: #00f0ff !important;
    color: #030712 !important;
    border-color: #00f0ff !important;
}

/* ==========================================
   APPLE BENTO STAGE & SEGMENTED CONTROL STYLES (#ai-solutions)
   ========================================== */

/* 1. Apple-Style Segmented Control Filter Pills Bar */
.cap-segmented-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 4px 0;
}

.cap-segmented-wrapper::-webkit-scrollbar {
    display: none;
}

.cap-segmented-bar {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-full);
    padding: 6px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    max-width: 100%;
}

.cap-seg-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.cap-seg-icon {
    font-size: 1.15rem;
    transition: transform 0.3s ease;
}

.cap-seg-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    line-height: 1.1;
}

.cap-seg-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 0.5px;
}

.cap-seg-sub {
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-dim);
}

.cap-seg-btn:hover {
    background: rgba(10, 91, 216, 0.05);
    color: var(--brand-action);
}

.cap-seg-btn:hover .cap-seg-icon {
    transform: scale(1.15);
}

.cap-seg-btn.active {
    background: var(--bg-surface);
    border-color: rgba(10, 91, 216, 0.25);
    box-shadow: 0 4px 14px rgba(10, 91, 216, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.cap-seg-btn.active .cap-seg-title {
    color: var(--brand-action);
}

.cap-seg-btn.active .cap-seg-sub {
    color: var(--brand-accent);
}

/* 2. Bento Card Stage Grid Layout */
.cap-bento-stage {
    position: relative;
    width: 100%;
}

.cap-bento-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 28px;
    align-items: stretch;
    animation: bentoFadeIn 0.4s ease forwards;
}

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

@media (max-width: 991px) {
    .cap-bento-grid {
        grid-template-columns: 1fr;
    }
}

/* 3. Left Panel (Details, Metrics & Pipeline) */
.cap-bento-left {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.bento-left-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cap-badge.mini-badge {
    padding: 3px 10px;
    font-size: 0.68rem;
    align-self: flex-start;
}

.bento-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
    line-height: 1.25;
}

.bento-summary {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
}

/* Metrics Mini-Grid */
.bento-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.bento-mini-metric {
    background: rgba(248, 250, 252, 0.9);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px 12px;
    text-align: center;
}

.bento-mini-metric .metric-val {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--brand-action);
    line-height: 1.1;
    margin-bottom: 2px;
}

.bento-mini-metric .metric-lbl {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Horizontal Pipeline Step Track */
.bento-pipeline-box {
    background: rgba(248, 250, 252, 0.9);
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 18px;
}

.bento-pipe-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.2px;
    color: var(--text-dim);
    margin-bottom: 12px;
    text-transform: uppercase;
}

.bento-pipe-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    overflow-x: auto;
}

.bento-pipe-step {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
    flex-shrink: 0;
}

.pipe-node-icon {
    font-size: 1.1rem;
}

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

.pipe-node-info strong {
    font-size: 0.78rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
}

.pipe-node-info span {
    font-size: 0.66rem;
    color: var(--text-muted);
}

.pipe-node-arr {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--brand-accent);
    flex-shrink: 0;
}

/* Bento Features List */
.bento-features-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: auto;
}

.bento-feat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
}

.feat-check {
    font-size: 0.85rem;
}

/* 4. Right Panel (Interactive Mockup Window) */
.cap-bento-right {
    display: flex;
    flex-direction: column;
}

/* Default Light Theme - Crisp Clean Apple Light Mockup */
.bento-mockup-wrapper {
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.mockup-top-bar {
    background: #f1f5f9;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.mockup-header-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--brand-action);
    text-transform: uppercase;
}

.mockup-stage-body {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.8) 100%);
}

/* Inner Social Mockup Styling (Light Mode) */
.cap-social-mock-card {
    width: 100%;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: var(--radius-md);
    padding: 16px;
    color: #0f172a;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.social-mock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.social-mock-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-avatar-mini {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2563eb, #7000ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #ffffff;
}

.badge-mini {
    display: block;
    font-size: 0.68rem;
    color: #64748b;
}

.mock-caption-txt {
    font-size: 0.88rem;
    color: #1e293b;
    line-height: 1.45;
    margin-bottom: 10px;
}

.mock-hashtags-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 14px;
}

.mock-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-action);
    background: rgba(10, 91, 216, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
}

.mock-visual-box {
    background: #f8fafc;
    border: 1px dashed rgba(10, 91, 216, 0.25);
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 14px;
}

.visual-placeholder {
    display: flex;
    align-items: center;
    gap: 12px;
}

.visual-icon {
    font-size: 1.8rem;
}

.visual-placeholder strong {
    display: block;
    font-size: 0.85rem;
    color: #0f172a;
}

.visual-placeholder p {
    font-size: 0.72rem;
    color: #64748b;
    margin: 0;
}

.social-mock-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mock-stats {
    font-size: 0.78rem;
    color: #475569;
    font-weight: 600;
}

.mock-btn-action {
    width: 100%;
    padding: 9px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(10, 91, 216, 0.3);
    background: rgba(10, 91, 216, 0.08);
    color: var(--brand-action);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
}

.mock-btn-action:hover {
    background: var(--brand-action);
    color: #ffffff;
}

/* Inner Workflow Execution Trace Styling (Light Mode) */
.cap-wf-mock-card {
    width: 100%;
}

.wf-mock-status-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #475569;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.wf-node-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.wf-node-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 8px;
    padding: 10px 14px;
}

.wf-node-badge {
    font-size: 0.72rem;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 4px;
}

.wf-node-badge.green { background: rgba(34, 197, 94, 0.15); color: #15803d; }
.wf-node-badge.cyan { background: rgba(2, 132, 199, 0.15); color: #0369a1; }
.wf-node-badge.purple { background: rgba(147, 51, 234, 0.15); color: #7e22ce; }
.wf-node-badge.orange { background: rgba(234, 88, 12, 0.15); color: #c2410c; }

.wf-node-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.wf-node-info strong {
    font-size: 0.82rem;
    color: #0f172a;
}

.wf-node-sub {
    font-size: 0.7rem;
    color: #64748b;
}

.wf-check {
    font-size: 0.72rem;
    font-weight: 700;
    color: #16a34a;
}

/* Inner BI Dashboard Mockup Styling (Light Mode) */
.cap-bi-mock-card {
    width: 100%;
}

.bi-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.bi-badge {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--brand-action);
    letter-spacing: 1px;
}

.bi-card-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    margin: 2px 0 0 0;
}

.bi-trend-pill {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #15803d;
    font-weight: 800;
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.bi-chart-container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    height: 120px;
    padding: 10px 16px 0;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    margin-bottom: 16px;
}

.chart-bar-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}

.chart-bar-fill {
    width: 100%;
    max-width: 32px;
    background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%);
    border-radius: 4px 4px 0 0;
    transition: height 0.6s ease;
}

.chart-bar-group.active-bar .chart-bar-fill {
    background: linear-gradient(180deg, #16a34a 0%, #15803d 100%);
    box-shadow: 0 0 10px rgba(22, 163, 74, 0.3);
}

.chart-lbl {
    font-size: 0.68rem;
    color: #64748b;
    margin-top: 6px;
    font-weight: 700;
}

.bi-insight-box {
    display: flex;
    gap: 10px;
    background: #f8fafc;
    border-left: 3px solid var(--brand-action);
    padding: 12px;
    border-radius: 0 8px 8px 0;
    font-size: 0.8rem;
    color: #334155;
}

.bi-insight-box strong {
    color: #0f172a;
    display: block;
    margin-bottom: 2px;
}

.bi-insight-box p {
    margin: 0;
    line-height: 1.35;
    font-size: 0.78rem;
}

/* Inner Lead Card Mockup Styling (Light Mode) */
.cap-lead-mock-card {
    width: 100%;
}

.lead-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.lead-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #ef4444);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lead-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.lead-info strong {
    font-size: 0.95rem;
    color: #0f172a;
}

.lead-info span {
    font-size: 0.75rem;
    color: #64748b;
}

.lead-score-pill {
    background: rgba(249, 115, 22, 0.12);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: #c2410c;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.lead-metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.lead-m-item {
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.9);
    padding: 8px 10px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
}

.lead-m-item span {
    font-size: 0.66rem;
    color: #64748b;
    text-transform: uppercase;
}

.lead-m-item strong {
    font-size: 0.8rem;
    color: var(--brand-action);
    margin-top: 2px;
}

.lead-action-box {
    background: #f8fafc;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lead-status-line {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #1e293b;
}

.crm-badge-strip {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    font-size: 0.7rem;
    font-weight: 700;
    color: #15803d;
}

/* Inner Customer Support Mockup Styling (Light Mode) */
.cap-support-mock-card {
    width: 100%;
}

.support-chat-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(226, 232, 240, 0.9);
    margin-bottom: 14px;
}

.agent-avatar-mini {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #0284c7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #ffffff;
}

.support-chat-header strong {
    display: block;
    font-size: 0.88rem;
    color: #0f172a;
}

.online-tag {
    font-size: 0.68rem;
    color: #16a34a;
    font-weight: 600;
}

.csat-pill {
    margin-left: auto;
    font-size: 0.72rem;
    font-weight: 800;
    color: #b45309;
    background: rgba(245, 158, 11, 0.12);
    padding: 3px 8px;
    border-radius: 4px;
}

.support-chat-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 14px;
}

.chat-bubble {
    max-width: 88%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.82rem;
    line-height: 1.4;
    position: relative;
}

.customer-bubble {
    align-self: flex-start;
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.ai-bubble {
    align-self: flex-end;
    background: rgba(10, 91, 216, 0.08);
    border: 1px solid rgba(10, 91, 216, 0.2);
    color: #0f172a;
}

.chat-bubble p {
    margin: 0;
}

.bubble-time {
    display: block;
    font-size: 0.65rem;
    color: #64748b;
    margin-top: 4px;
}

.track-link-pill {
    margin-top: 6px;
    padding: 4px 8px;
    background: rgba(10, 91, 216, 0.06);
    border-radius: 4px;
    font-size: 0.72rem;
    color: var(--brand-action);
}

.track-link-pill a {
    color: var(--brand-action);
    font-weight: 700;
}

.support-chat-footer {
    text-align: center;
}

.resolved-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #15803d;
    background: rgba(34, 197, 94, 0.12);
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

/* ==========================================
   ROBOTICS MODE DARK THEME OVERRIDES FOR BENTO STAGE
   ========================================== */
body.robotics-mode .cap-segmented-bar {
    background: rgba(11, 20, 38, 0.92) !important;
    border-color: rgba(0, 240, 255, 0.35) !important;
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.25) !important;
}

body.robotics-mode .cap-seg-title {
    color: #ffffff !important;
}

body.robotics-mode .cap-seg-sub {
    color: #94a3b8 !important;
}

body.robotics-mode .cap-seg-btn.active {
    background: rgba(0, 240, 255, 0.15) !important;
    border-color: rgba(0, 240, 255, 0.4) !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3) !important;
}

body.robotics-mode .cap-seg-btn.active .cap-seg-title {
    color: #00f0ff !important;
}

body.robotics-mode .cap-seg-btn.active .cap-seg-sub {
    color: #ffffff !important;
}

body.robotics-mode .cap-bento-left {
    background: rgba(11, 20, 38, 0.9) !important;
    border-color: rgba(0, 240, 255, 0.25) !important;
    color: #ffffff !important;
}

body.robotics-mode .bento-title {
    color: #ffffff !important;
}

body.robotics-mode .bento-summary {
    color: #cbd5e1 !important;
}

body.robotics-mode .bento-mini-metric,
body.robotics-mode .bento-pipeline-box {
    background: rgba(17, 30, 56, 0.8) !important;
    border-color: rgba(0, 240, 255, 0.2) !important;
}

body.robotics-mode .bento-mini-metric .metric-val {
    color: #00f0ff !important;
}

body.robotics-mode .pipe-node-info strong {
    color: #ffffff !important;
}

body.robotics-mode .bento-feat-item {
    color: #e2e8f0 !important;
}

body.robotics-mode .bento-mockup-wrapper {
    background: #080d1a !important;
    border-color: rgba(0, 240, 255, 0.3) !important;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2) !important;
}

body.robotics-mode .mockup-top-bar {
    background: #0f172a !important;
    border-bottom-color: rgba(0, 240, 255, 0.2) !important;
}

body.robotics-mode .mockup-header-title {
    color: #00f0ff !important;
}

body.robotics-mode .mockup-stage-body {
    background: radial-gradient(circle at 50% 30%, rgba(11, 20, 38, 0.9) 0%, #030712 100%) !important;
}

body.robotics-mode .cap-social-mock-card,
body.robotics-mode .cap-wf-mock-card,
body.robotics-mode .cap-bi-mock-card,
body.robotics-mode .cap-lead-mock-card,
body.robotics-mode .cap-support-mock-card {
    background: rgba(11, 20, 38, 0.95) !important;
    border-color: rgba(0, 240, 255, 0.25) !important;
    color: #ffffff !important;
}

body.robotics-mode .mock-caption-txt {
    color: #e2e8f0 !important;
}

body.robotics-mode .mock-visual-box,
body.robotics-mode .wf-node-item,
body.robotics-mode .bi-chart-container,
body.robotics-mode .bi-insight-box,
body.robotics-mode .lead-m-item,
body.robotics-mode .lead-action-box,
body.robotics-mode .customer-bubble {
    background: rgba(17, 30, 56, 0.8) !important;
    border-color: rgba(0, 240, 255, 0.2) !important;
    color: #f8fafc !important;
}

body.robotics-mode .visual-placeholder strong,
body.robotics-mode .wf-node-info strong,
body.robotics-mode .bi-card-title,
body.robotics-mode .lead-info strong,
body.robotics-mode .support-chat-header strong,
body.robotics-mode .bi-insight-box strong {
    color: #ffffff !important;
}

body.robotics-mode .ai-bubble {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.15), rgba(112, 0, 255, 0.2)) !important;
    border-color: rgba(0, 240, 255, 0.35) !important;
    color: #ffffff !important;
}

/* ==========================================
   APPLE BENTO MISSION CARDS SECTION
   ========================================== */
.mission-bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
}

@media (max-width: 1023px) {
    .mission-bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .mission-bento-grid {
        grid-template-columns: 1fr;
    }
}

.mission-bento-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 28px 24px 24px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    position: relative;
    overflow: hidden;
}

.mission-bento-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb 0%, #0284c7 50%, #7c3aed 100%);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.mission-bento-card:hover {
    transform: translateY(-6px);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.12), 0 0 20px rgba(2, 132, 199, 0.06);
}

.mission-bento-card:hover::before {
    opacity: 1;
}

.mission-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.mission-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.mission-bento-card:hover .mission-icon-box {
    transform: scale(1.08) rotate(-3deg);
    background: #2563eb;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.3);
}

.mission-title-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.mission-card-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    margin: 0;
}

.mission-tag-pill {
    display: inline-flex;
    align-items: center;
    font-size: 0.65rem;
    font-weight: 700;
    color: #2563eb;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    width: fit-content;
}

.mission-card-desc {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 24px;
}

/* Custom Bottom Feature Widgets */
.mission-widget {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    margin-top: auto;
}

.widget-header-mini {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    font-weight: 800;
    color: #64748b;
    letter-spacing: 0.8px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.pulse-dot-green {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    display: inline-block;
    animation: pulseGlow 1.8s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

/* Widget 1: Progress Track */
.widget-progress-track {
    width: 100%;
    height: 6px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.widget-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb 0%, #0284c7 100%);
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.4);
}

.widget-chips-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.w-chip {
    font-size: 0.72rem;
    font-weight: 700;
    color: #475569;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 3px 8px;
    border-radius: 6px;
}

.w-chip.active-glow {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

/* Widget 2: App Grid */
.widget-app-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.app-chip {
    font-size: 0.72rem;
    font-weight: 700;
    color: #1e293b;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    padding: 4px 10px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    transition: all 0.2s ease;
}

.app-chip:hover {
    border-color: #2563eb;
    color: #2563eb;
    transform: translateY(-1px);
}

/* Widget 3: Telemetry List */
.widget-metrics-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.impact-metric-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    padding-bottom: 4px;
    border-bottom: 1px dashed #e2e8f0;
}

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

.impact-metric-row .lbl {
    color: #475569;
    font-weight: 500;
}

.impact-metric-row .val {
    font-weight: 800;
    font-size: 0.72rem;
}

.impact-metric-row .val.green { color: #059669; }
.impact-metric-row .val.blue { color: #2563eb; }
.impact-metric-row .val.cyan { color: #0284c7; }

/* Dark Mode Overrides */
body.robotics-mode .mission-bento-card {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

body.robotics-mode .mission-card-title {
    color: #f8fafc;
}

body.robotics-mode .mission-card-desc {
    color: #94a3b8;
}

body.robotics-mode .mission-tag-pill {
    background: rgba(0, 240, 255, 0.12);
    border-color: rgba(0, 240, 255, 0.3);
    color: #00f0ff;
}

body.robotics-mode .mission-widget {
    background: rgba(8, 13, 26, 0.9);
    border-color: rgba(255, 255, 255, 0.1);
}

body.robotics-mode .widget-header-mini {
    color: #94a3b8;
}

body.robotics-mode .w-chip,
body.robotics-mode .app-chip {
    background: #0f172a;
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.15);
}

body.robotics-mode .w-chip.active-glow {
    background: #00f0ff;
    color: #080d1a;
    border-color: #00f0ff;
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.5);
}

body.robotics-mode .impact-metric-row {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

body.robotics-mode .impact-metric-row .lbl {
    color: #94a3b8;
}

body.robotics-mode .impact-metric-row .val.green { color: #10b981; }
body.robotics-mode .impact-metric-row .val.blue { color: #38bdf8; }
body.robotics-mode .impact-metric-row .val.cyan { color: #00f0ff; }

/* ==========================================================================
   FACTONIX AI SAAS HIGH-END COMPONENTS (DUAL THEME SUPPORT)
   ========================================================================== */

/* 1. Hero Integrated Channels Row */
.hero-channels-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 22px 0 26px;
}

/* Light Mode (Default) */
.hero-channel-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 30px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    font-size: 0.82rem;
    font-weight: 600;
    color: #1e293b;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-channel-item:hover {
    transform: translateY(-2px);
    border-color: #0284c7;
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.15);
    color: #0284c7;
}

.hero-channel-item .channel-icon {
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-trust-subtext {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Dark Mode Overrides */
body.robotics-mode .hero-channel-item {
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(255, 255, 255, 0.12);
    color: #f1f5f9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

body.robotics-mode .hero-channel-item:hover {
    border-color: rgba(0, 240, 255, 0.5);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.25);
    color: #ffffff;
}

body.robotics-mode .hero-trust-subtext {
    color: #94a3b8;
}

/* 2. High-Impact 5-Metric Telemetry Cards Section */
.hero-trust-metrics {
    padding: 45px 0;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    z-index: 5;
}

.hero-metrics-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.hero-metric-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 18px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
}

.hero-metric-card:hover {
    transform: translateY(-4px);
    border-color: #0284c7;
    box-shadow: 0 12px 30px rgba(2, 132, 199, 0.12);
}

.hero-metric-card strong {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #0f172a 0%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
}

.hero-metric-card span {
    display: block;
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.hero-metric-card p {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

/* Dark Mode Overrides for Metrics */
body.robotics-mode .hero-trust-metrics {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.5) 0%, rgba(2, 6, 23, 0.9) 100%);
    border-color: rgba(255, 255, 255, 0.08);
}

body.robotics-mode .hero-metric-card {
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

body.robotics-mode .hero-metric-card:hover {
    border-color: rgba(0, 240, 255, 0.4);
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 12px 35px rgba(0, 240, 255, 0.15);
}

body.robotics-mode .hero-metric-card strong {
    background: linear-gradient(135deg, #ffffff 0%, #00f0ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.robotics-mode .hero-metric-card span {
    color: #f8fafc;
}

body.robotics-mode .hero-metric-card p {
    color: #94a3b8;
}

/* 3. Three-Phase Neural Pipeline Section */
.three-step-section {
    padding: 90px 0;
    background: #ffffff;
    position: relative;
}

.how-steps-wrap {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 20px;
    margin-top: 50px;
}

.how-step {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 32px 26px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.how-step:hover {
    transform: translateY(-6px);
    border-color: #0284c7;
    box-shadow: 0 20px 45px rgba(2, 132, 199, 0.12);
    background: #ffffff;
}

.how-step-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 14px;
}

.how-step-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.how-step-title {
    font-size: 1.18rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.35;
}

.how-step-desc {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 20px;
}

.how-step-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.how-step-tag {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.how-step-divider {
    font-size: 1.8rem;
    font-weight: 900;
    color: #0284c7;
    text-align: center;
}

/* Dark Mode Overrides for 3-Step Pipeline */
body.robotics-mode .three-step-section {
    background: rgba(11, 15, 25, 0.6);
}

body.robotics-mode .how-step {
    background: rgba(15, 23, 42, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

body.robotics-mode .how-step:hover {
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 20px 45px rgba(0, 240, 255, 0.15);
    background: rgba(15, 23, 42, 0.9);
}

body.robotics-mode .how-step-title {
    color: #ffffff;
}

body.robotics-mode .how-step-desc {
    color: #94a3b8;
}

body.robotics-mode .how-step-divider {
    color: rgba(0, 240, 255, 0.4);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
    .hero-metrics-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .how-steps-wrap {
        grid-template-columns: 1fr;
    }
    .how-step-divider {
        transform: rotate(90deg);
        margin: -10px 0;
    }
}

@media (max-width: 640px) {
    .hero-metrics-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-channels-row {
        justify-content: center;
    }
    .hero-metric-card strong {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-metrics-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Executive Comparison Matrix Section (#comparison)
   ========================================================================== */
.comparison-section {
    padding: 70px 0;
    position: relative;
}

.comp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: stretch;
}

.comp-card {
    border-radius: 24px;
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Legacy Card Styling */
.comp-legacy-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.03);
}

.comp-legacy-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

/* AI Card Styling (Elevated Featured Card) */
.comp-ai-card {
    background: #ffffff;
    border: 2px solid rgba(2, 132, 199, 0.4);
    box-shadow: 0 15px 40px rgba(2, 132, 199, 0.12);
}

.comp-ai-card:hover {
    border-color: #0284c7;
    transform: translateY(-4px);
    box-shadow: 0 25px 50px rgba(2, 132, 199, 0.2);
}

/* Header & Tags */
.comp-card-header {
    margin-bottom: 24px;
}

.comp-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.tag-legacy {
    background: rgba(239, 68, 68, 0.08);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.tag-legacy .dot-red {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ef4444;
}

.tag-ai {
    background: rgba(2, 132, 199, 0.1);
    color: #0284c7;
    border: 1px solid rgba(2, 132, 199, 0.25);
}

.comp-card-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
}

.comp-card-sub {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Metric Summary Bar inside cards */
.comp-metric-summary {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 16px;
    margin-bottom: 28px;
}

.summary-legacy {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
}

.summary-ai {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.06), rgba(37, 99, 235, 0.06));
    border: 1px solid rgba(2, 132, 199, 0.18);
}

.metric-block {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.metric-num {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2px;
}

.metric-num.text-red {
    color: #ef4444;
}

.metric-label {
    font-size: 0.76rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* Feature Items List */
.comp-features-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
    flex-grow: 1;
}

.comp-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.feature-icon {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}

.red-icon {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.25);
}

.green-icon {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.feature-details strong {
    display: block;
    font-size: 0.94rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.feature-details p {
    font-size: 0.86rem;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

.comp-card-footer {
    margin-top: auto;
    padding-top: 10px;
}

.comp-card-footer .btn-block {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Robotics Mode (Dark Theme) Overrides for Comparison Matrix */
body.robotics-mode .comp-legacy-card {
    background: rgba(15, 23, 42, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
}

body.robotics-mode .comp-legacy-card:hover {
    border-color: rgba(255, 255, 255, 0.18);
}

body.robotics-mode .comp-ai-card {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.15);
}

body.robotics-mode .comp-ai-card:hover {
    border-color: rgba(0, 240, 255, 0.8);
    box-shadow: 0 0 45px rgba(0, 240, 255, 0.25);
}

body.robotics-mode .tag-legacy {
    background: rgba(239, 68, 68, 0.15);
    color: #ff6b6b;
    border-color: rgba(239, 68, 68, 0.3);
}

body.robotics-mode .tag-ai {
    background: rgba(0, 240, 255, 0.12);
    color: #00f0ff;
    border-color: rgba(0, 240, 255, 0.3);
}

body.robotics-mode .comp-card-header h3 {
    color: #ffffff;
}

body.robotics-mode .comp-card-sub {
    color: #94a3b8;
}

body.robotics-mode .summary-legacy {
    background: rgba(11, 19, 36, 0.8);
    border-color: rgba(255, 255, 255, 0.08);
}

body.robotics-mode .summary-ai {
    background: rgba(0, 240, 255, 0.08);
    border-color: rgba(0, 240, 255, 0.2);
}

body.robotics-mode .metric-label {
    color: #94a3b8;
}

body.robotics-mode .feature-details strong {
    color: #f8fafc;
}

body.robotics-mode .feature-details p {
    color: #94a3b8;
}

/* Mobile Responsive Adjustments for Comparison Section */
@media (max-width: 992px) {
    .comp-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

@media (max-width: 640px) {
    .comp-card {
        padding: 24px 20px;
    }
    .comp-metric-summary {
        flex-direction: column;
        gap: 12px;
    }
}

/* ==========================================================================
   Autonomous Neural Pipeline Section (#neural-pipeline)
   ========================================================================== */
.three-step-section {
    padding: 75px 0;
    position: relative;
    background: var(--bg-primary);
}

.neural-pipeline-container {
    position: relative;
}

/* Connecting Glowing Flow Line (Desktop) */
.neural-flow-line-track {
    position: absolute;
    top: 140px;
    left: 15%;
    right: 15%;
    height: 3px;
    background: linear-gradient(90deg, 
        rgba(16, 185, 129, 0.3), 
        rgba(0, 240, 255, 0.5), 
        rgba(168, 85, 247, 0.3));
    z-index: 1;
    border-radius: 2px;
}

.flow-pulse-particle {
    position: absolute;
    top: -3px;
    width: 24px;
    height: 9px;
    border-radius: 10px;
    background: #00f0ff;
    box-shadow: 0 0 12px #00f0ff, 0 0 20px #00f0ff;
    animation: flowMove 3s infinite linear;
}

.flow-pulse-particle.particle-2 {
    animation-delay: 1.5s;
}

@keyframes flowMove {
    0% { left: 0%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* 3-Column Grid */
.neural-pipeline-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
    z-index: 2;
}

/* Card Base */
.neural-phase-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
    position: relative;
}

.neural-phase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(2, 132, 199, 0.15);
}

.phase-ingestion:hover { border-color: rgba(16, 185, 129, 0.5); }
.phase-reasoning:hover { border-color: rgba(0, 240, 255, 0.5); }
.phase-execution:hover { border-color: rgba(168, 85, 247, 0.5); }

/* Card Top Header */
.phase-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.phase-num-tag {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
}

.tag-emerald { background: rgba(16, 185, 129, 0.1); color: #10b981; }
.tag-cyan { background: rgba(2, 132, 199, 0.1); color: #0284c7; }
.tag-purple { background: rgba(168, 85, 247, 0.1); color: #a855f7; }

.phase-status-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: #64748b;
    font-family: var(--font-mono, monospace);
}

/* Icon Hub */
.phase-icon-hub {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    font-size: 1.6rem;
}

.hub-emerald { background: rgba(16, 185, 129, 0.12); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.25); }
.hub-cyan { background: rgba(2, 132, 199, 0.12); color: #0284c7; border: 1px solid rgba(2, 132, 199, 0.25); }
.hub-purple { background: rgba(168, 85, 247, 0.12); color: #a855f7; border: 1px solid rgba(168, 85, 247, 0.25); }

.hub-pulse-ring {
    position: absolute;
    inset: -4px;
    border-radius: 22px;
    border: 1px solid currentColor;
    opacity: 0.3;
    animation: hubPulse 2.5s infinite ease-in-out;
}

@keyframes hubPulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.08); opacity: 0.7; }
}

/* Card Body Content */
.phase-content h3 {
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 2px;
}

.phase-tagline {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #0284c7;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.phase-content p {
    font-size: 0.88rem;
    color: #475569;
    line-height: 1.55;
    margin-bottom: 18px;
}

/* Telemetry Badge inside phase */
.phase-telemetry-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: var(--font-mono, monospace);
    margin-bottom: 18px;
}

.pill-emerald { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.pill-cyan { background: #f0f9ff; color: #075985; border: 1px solid #bae6fd; }
.pill-purple { background: #faf5ff; color: #6b21a8; border: 1px solid #e9d5ff; }

/* Bullets Checklist */
.phase-bullets-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.phase-bullets-list li {
    font-size: 0.83rem;
    color: #334155;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.4;
    font-weight: 500;
}

.check-bullet {
    font-weight: 800;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.check-bullet.emerald { color: #10b981; }
.check-bullet.cyan { color: #0284c7; }
.check-bullet.purple { color: #a855f7; }

/* Tech Chips */
.phase-tools-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

.p-chip {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
}

/* Robotics Mode (Dark Theme) Overrides for Neural Pipeline */
body.robotics-mode .three-step-section {
    background: transparent;
}

body.robotics-mode .neural-flow-line-track {
    background: linear-gradient(90deg, 
        rgba(16, 185, 129, 0.4), 
        rgba(0, 240, 255, 0.8), 
        rgba(168, 85, 247, 0.4));
}

body.robotics-mode .neural-phase-card {
    background: rgba(15, 23, 42, 0.85);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

body.robotics-mode .neural-phase-card:hover {
    box-shadow: 0 0 35px rgba(0, 240, 255, 0.25);
}

body.robotics-mode .tag-emerald { background: rgba(16, 185, 129, 0.15); color: #34d399; }
body.robotics-mode .tag-cyan { background: rgba(0, 240, 255, 0.15); color: #00f0ff; }
body.robotics-mode .tag-purple { background: rgba(168, 85, 247, 0.15); color: #c084fc; }

body.robotics-mode .hub-cyan { background: rgba(0, 240, 255, 0.15); color: #00f0ff; border-color: rgba(0, 240, 255, 0.3); }

body.robotics-mode .phase-content h3 { color: #ffffff; }
body.robotics-mode .phase-tagline { color: #00f0ff; }
body.robotics-mode .phase-content p { color: #94a3b8; }

body.robotics-mode .pill-emerald { background: rgba(16, 185, 129, 0.15); color: #34d399; border-color: rgba(16, 185, 129, 0.3); }
body.robotics-mode .pill-cyan { background: rgba(0, 240, 255, 0.15); color: #00f0ff; border-color: rgba(0, 240, 255, 0.3); }
body.robotics-mode .pill-purple { background: rgba(168, 85, 247, 0.15); color: #c084fc; border-color: rgba(168, 85, 247, 0.3); }

body.robotics-mode .phase-bullets-list li { color: #cbd5e1; }
body.robotics-mode .phase-tools-row { border-top-color: rgba(255, 255, 255, 0.08); }

body.robotics-mode .p-chip {
    background: rgba(15, 23, 42, 0.9);
    color: #94a3b8;
    border-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Responsive Adjustments for Neural Pipeline */
@media (max-width: 992px) {
    .neural-pipeline-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .neural-flow-line-track {
        display: none;
    }
}

@media (max-width: 640px) {
    .neural-phase-card {
        padding: 24px 18px;
    }
}

/* ==========================================
   CONTEXT-AWARE CONTACT PAGE & CONFIGURATOR ENHANCEMENTS
   ========================================== */
.service-context-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 32px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(2, 132, 199, 0.05) 100%);
    border-bottom: 1px solid rgba(37, 99, 235, 0.25);
    transition: all 0.3s ease;
}

.service-context-banner.context-active-highlight {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(16, 185, 129, 0.06) 100%);
    border-bottom: 2px solid #2563eb;
}

.service-context-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-context-badge-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.service-context-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.14);
    border: 1px solid rgba(37, 99, 235, 0.35);
    color: #1d4ed8;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.context-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: pulseGlowDot 1.8s infinite ease-in-out;
}

@keyframes pulseGlowDot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.65; }
}

.service-context-code {
    font-family: monospace;
    font-size: 0.75rem;
    font-weight: 700;
    color: #0284c7;
    background: rgba(2, 132, 199, 0.08);
    padding: 3px 8px;
    border-radius: 6px;
}

.service-context-title-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.service-context-prefix {
    font-size: 0.92rem;
    font-weight: 600;
    color: #475569;
}

.service-context-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
}

.service-context-desc {
    font-size: 0.85rem;
    color: #475569;
    margin: 0;
}

.step-header-flex {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.step-active-indicator {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: #1d4ed8;
    font-size: 0.8rem;
    font-weight: 800;
    white-space: nowrap;
}

.option-card-badge {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    background: #f1f5f9;
    color: #475569;
    margin-bottom: 8px;
    transition: all 0.25s ease;
}

.config-option-card.selected .option-card-badge {
    background: #2563eb;
    color: #ffffff;
}

.config-form-always-visible {
    display: block !important;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px dashed rgba(203, 213, 225, 0.85);
}

.contact-form-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.form-ready-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #059669;
    font-size: 0.78rem;
    font-weight: 800;
}

.form-enquiry-context-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.07) 0%, rgba(15, 23, 42, 0.02) 100%);
    border: 1.5px solid rgba(37, 99, 235, 0.35);
    border-left: 5px solid #2563eb;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 22px;
}

.form-enquiry-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.form-enquiry-kicker {
    display: block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #2563eb;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.form-enquiry-service-name {
    font-size: 1.12rem;
    font-weight: 800;
    color: #0f172a;
}

.form-enquiry-status-chip {
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 6px;
    background: #2563eb;
    color: #ffffff;
    letter-spacing: 0.6px;
}

.form-blueprint-summary-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blueprint-pill {
    font-size: 0.78rem;
    padding: 5px 11px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    color: #334155;
}

.blueprint-pill strong {
    color: #0f172a;
}

/* Dark Mode (body.robotics-mode) Support for Context-Aware Contact Elements */
body.robotics-mode .service-context-banner {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1) 0%, rgba(15, 23, 42, 0.9) 100%) !important;
    border-bottom: 1px solid rgba(0, 240, 255, 0.3) !important;
}

body.robotics-mode .service-context-pill,
body.robotics-mode .step-active-indicator {
    background: rgba(0, 240, 255, 0.15) !important;
    border-color: rgba(0, 240, 255, 0.4) !important;
    color: #00f0ff !important;
}

body.robotics-mode .service-context-name,
body.robotics-mode .form-enquiry-service-name {
    color: #ffffff !important;
}

body.robotics-mode .service-context-prefix,
body.robotics-mode .service-context-desc {
    color: #cbd5e1 !important;
}

body.robotics-mode .option-card-badge {
    background: rgba(15, 23, 42, 0.9) !important;
    color: #94a3b8 !important;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

body.robotics-mode .config-option-card.selected .option-card-badge {
    background: #00f0ff !important;
    color: #030712 !important;
}

body.robotics-mode .config-form-always-visible {
    border-top-color: rgba(0, 240, 255, 0.25) !important;
}

body.robotics-mode .form-enquiry-context-box {
    background: rgba(11, 20, 38, 0.9) !important;
    border-color: rgba(0, 240, 255, 0.4) !important;
    border-left-color: #00f0ff !important;
}

body.robotics-mode .form-enquiry-kicker {
    color: #00f0ff !important;
}

body.robotics-mode .blueprint-pill {
    background: rgba(5, 12, 26, 0.9) !important;
    border-color: rgba(0, 240, 255, 0.25) !important;
    color: #cbd5e1 !important;
}

body.robotics-mode .blueprint-pill strong {
    color: #00f0ff !important;
}

body.robotics-mode #configServiceSelect {
    background: rgba(11, 20, 38, 0.95) !important;
    border-color: #00f0ff !important;
    color: #ffffff !important;
}

@media (max-width: 768px) {
    .service-context-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 20px;
    }
    .service-context-right,
    .service-context-right .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================
   Contact Form Checkbox & Validation Styles
   ========================================== */
.form-checkbox-row {
    margin: 4px 0 18px 0;
}

.custom-checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm, 10px);
    border: 1px solid rgba(203, 213, 225, 0.9);
    background: rgba(248, 250, 252, 0.85);
    cursor: pointer;
    user-select: none;
    transition: all 0.25s ease;
}

.custom-checkbox-label:hover {
    border-color: rgba(37, 99, 235, 0.45);
    background: rgba(239, 246, 255, 0.6);
}

.form-checkbox-input {
    width: 18px;
    height: 18px;
    accent-color: #2563eb;
    cursor: pointer;
    flex-shrink: 0;
    margin: 0;
}

.checkbox-custom-box {
    display: none;
}

.checkbox-label-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: 0.9rem;
    color: #0f172a;
}

.checkbox-label-text strong {
    font-weight: 700;
    color: #0f172a;
}

.checkbox-sub-text {
    font-size: 0.78rem;
    color: #64748b;
}

.form-error-hint {
    display: block;
    min-height: 0;
    font-size: 0.78rem;
    font-weight: 600;
    color: #dc2626;
    margin-top: 4px;
}

.input-invalid {
    border-color: #ef4444 !important;
    background-color: rgba(254, 242, 242, 0.65) !important;
}

.form-validation-alert {
    padding: 12px 16px;
    margin-bottom: 16px;
    border-radius: 10px;
    border: 1px solid rgba(239, 68, 68, 0.4);
    background: rgba(254, 242, 242, 0.95);
    color: #b91c1c;
    font-size: 0.88rem;
    font-weight: 600;
}

body.robotics-mode .custom-checkbox-label {
    background: rgba(11, 20, 38, 0.85) !important;
    border-color: rgba(0, 240, 255, 0.3) !important;
}

body.robotics-mode .custom-checkbox-label:hover {
    border-color: #00f0ff !important;
    background: rgba(15, 29, 54, 0.95) !important;
}

body.robotics-mode .checkbox-label-text,
body.robotics-mode .checkbox-label-text strong {
    color: #f8fafc !important;
}

body.robotics-mode .checkbox-sub-text {
    color: #94a3b8 !important;
}

body.robotics-mode .form-validation-alert {
    background: rgba(69, 10, 10, 0.85) !important;
    border-color: rgba(248, 113, 113, 0.5) !important;
    color: #fecaca !important;
}

