/* Orckai Enterprise Website — Dark Hero + Light Body */

/* ========== CSS VARIABLES ========== */
:root {
    /* Dark hero palette */
    --hero-bg: #0a0f1e;
    --hero-bg-2: #111827;
    --hero-text: #f1f5f9;
    --hero-text-muted: rgba(255, 255, 255, 0.6);
    --hero-border: rgba(255, 255, 255, 0.08);

    /* Light body palette */
    --color-primary: #4f46e5;
    --color-primary-light: #6366f1;
    --color-accent: #059669;
    --color-bg: #ffffff;
    --color-bg-alt: #f8fafc;
    --color-bg-muted: #f1f5f9;
    --color-text: #0f172a;
    --color-text-secondary: #334155;
    --color-text-muted: #64748b;
    --color-border: #e2e8f0;
    --color-border-light: #f1f5f9;

    /* Effects */
    --glow-primary: 0 0 30px rgba(79, 70, 229, 0.25);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-display: 'Space Grotesk', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* ========== GLOBAL RESET ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========== LAYOUT ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
section { padding: 120px 0; position: relative; }
.section-header { margin-bottom: 4rem; }
.section-header.centered { text-align: center; }
.section-tag {
    display: inline-block; font-size: 0.75rem; font-weight: 700;
    color: var(--color-primary); letter-spacing: 3px; text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.section-title {
    font-size: clamp(2.25rem, 4.5vw, 3.5rem); font-weight: 800; line-height: 1.15;
    font-family: var(--font-display); color: var(--color-text);
    letter-spacing: -0.02em;
}
.section-subtitle {
    font-size: 1.2rem; color: var(--color-text-muted); margin-top: 1.25rem;
    max-width: 560px; margin-left: auto; margin-right: auto; line-height: 1.6;
}

/* ========== NAVIGATION ========== */
.floating-nav {
    position: fixed; top: 0; left: 0; right: 0; width: 100%;
    z-index: 9999; transition: all 0.4s ease;
}
.nav-glass {
    padding: 0.875rem 2.5rem; display: flex; align-items: center;
    max-width: 100%; transition: all 0.4s ease;
    background: transparent;
}
.nav-brand { display: flex; align-items: center; margin-right: auto; gap: 0.6rem; text-decoration: none; }
.nav-logo-icon {
    height: 32px; width: 32px; object-fit: contain; transition: all 0.3s ease;
}
.nav-brand-text {
    font-family: var(--font-display); font-size: 1.35rem; font-weight: 700;
    color: var(--color-text); letter-spacing: -0.01em; transition: color 0.3s ease;
}
.nav-links {
    display: flex; align-items: center; gap: 2rem; position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-link {
    color: var(--color-text-secondary); text-decoration: none; font-weight: 500;
    transition: all 0.3s ease; padding: 0.5rem 0; font-size: 0.9rem;
    position: relative;
}
.nav-link:hover { color: var(--color-primary); }
.nav-link::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--color-primary-light); transition: width 0.3s ease;
}
.nav-link:hover::after { width: 100%; }

/* Nav dropdown */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}
.nav-dropdown > .nav-link { cursor: pointer; }
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%);
    min-width: 220px;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 0.5rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(8px);
    transition: all 0.2s ease;
    z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 0.85rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.15s ease;
}
.nav-dropdown-menu a:hover {
    background: rgba(79, 70, 229, 0.06);
    color: var(--color-primary);
}
.nav-dropdown-menu a i {
    width: 18px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-primary);
    opacity: 0.7;
}
.nav-dropdown-menu a:hover i { opacity: 1; }

.nav-actions { display: flex; gap: 0.75rem; margin-left: auto; }
.nav-btn {
    padding: 0.55rem 1.25rem; border: none; border-radius: 8px;
    font-weight: 600; cursor: pointer; transition: all 0.3s ease;
    font-size: 0.875rem; font-family: var(--font-body);
}
.nav-btn.ghost {
    background: transparent; color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
}
.nav-btn.ghost:hover { background: var(--color-bg-alt); color: var(--color-text); border-color: var(--color-text-muted); }
.nav-btn.primary {
    background: var(--color-primary); color: white;
}
.nav-btn.primary:hover { background: var(--color-primary-light); transform: translateY(-1px); }

/* Scrolled nav — white glass */
.floating-nav.scrolled .nav-glass {
    background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

/* Hamburger */
.nav-hamburger {
    display: none; flex-direction: column; gap: 5px; background: none;
    border: none; cursor: pointer; padding: 8px; z-index: 1001;
}
.nav-hamburger span {
    display: block; width: 22px; height: 2px; background: var(--color-text);
    border-radius: 2px; transition: all 0.3s ease;
}
.floating-nav.scrolled .nav-hamburger span { background: var(--color-text); }
.nav-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ========== HERO (LIGHT) ========== */
.hero-dark {
    min-height: 100vh; display: flex; align-items: center;
    background: var(--color-bg);
    position: relative; overflow: hidden;
    padding: 140px 2rem 100px;
}
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-orb {
    position: absolute; border-radius: 50%; opacity: 0.12;
}
.orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, #818cf8 0%, transparent 70%); top: -200px; left: -200px; }
.orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, #c084fc 0%, transparent 70%); bottom: -150px; right: -150px; }
.orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, #38bdf8 0%, transparent 70%); top: 40%; left: 60%; opacity: 0.06; }
@keyframes hero-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(60px, -60px) scale(1.05); }
    66% { transform: translate(-40px, 40px) scale(0.95); }
}
.hero-grid-lines {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 80px 80px;
}
.hero-split {
    display: grid; grid-template-columns: 1fr 1.1fr; gap: 5rem; align-items: center;
    max-width: 1200px; margin: 0 auto; width: 100%; position: relative; z-index: 1;
}
.hero-text { z-index: 1; }

/* Hero badge */
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.6rem;
    background: rgba(79, 70, 229, 0.06); border: 1px solid rgba(79, 70, 229, 0.15);
    padding: 0.5rem 1.25rem; border-radius: 50px; margin-bottom: 2rem;
}
.badge-dot {
    width: 8px; height: 8px; background: #22c55e; border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.4);
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.8); }
}
.badge-text { font-size: 0.8rem; font-weight: 600; color: var(--color-primary); letter-spacing: 0.5px; }

/* Hero title */
.hero-title {
    font-size: clamp(2.5rem, 4.5vw, 3.75rem); font-weight: 800; line-height: 1.15;
    margin-bottom: 1.75rem; font-family: var(--font-display);
    color: var(--color-text); letter-spacing: -0.02em;
}
.title-line { display: block; }
.gradient-text {
    background: linear-gradient(135deg, #4f46e5, #7c3aed, #c026d3);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero description */
.hero-description {
    font-size: 1.125rem; color: var(--color-text-muted); line-height: 1.75;
    margin-bottom: 2.5rem; max-width: 500px;
}

/* Hero CTAs */
.hero-cta-group { display: flex; gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.cta-primary-dark, .cta-ghost-dark {
    padding: 0.875rem 1.75rem; border: none; border-radius: 10px;
    font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.3s ease;
    display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none;
    font-family: var(--font-body);
}
.cta-primary-dark {
    background: var(--color-primary); color: white;
}
.cta-primary-dark:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(79, 70, 229, 0.3); }
.cta-primary-dark.inverted {
    background: var(--color-primary); color: white;
}
.cta-primary-dark.inverted:hover { box-shadow: 0 8px 30px rgba(79, 70, 229, 0.3); transform: translateY(-2px); }
.cta-ghost-dark {
    background: transparent; color: var(--color-text-secondary);
    border: 1px solid var(--color-border);
}
.cta-ghost-dark:hover { background: var(--color-bg-alt); border-color: var(--color-text-muted); transform: translateY(-2px); }

/* Hero stats bar */
.hero-stats-bar {
    display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.hero-stat {
    display: flex; align-items: center; gap: 0.5rem;
    font-size: 0.85rem; color: var(--color-text-muted);
}
.hero-stat i { font-size: 0.75rem; color: var(--color-primary); opacity: 0.5; }
.hero-stat-divider {
    width: 1px; height: 16px; background: var(--color-border);
}

/* Hero mockup */
.hero-mockup { position: relative; z-index: 1; }

/* ========== BROWSER FRAME ========== */
.browser-frame {
    background: #ffffff; border-radius: 12px; overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-lg);
}
.browser-frame.dark {
    background: #1e293b; border-color: rgba(255,255,255,0.08);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255,255,255,0.05);
}
.browser-topbar {
    padding: 0.75rem 1rem; display: flex; align-items: center; gap: 1rem;
    border-bottom: 1px solid var(--color-border);
}
.browser-frame.dark .browser-topbar {
    background: #0f172a; border-bottom-color: rgba(255,255,255,0.06);
}
.browser-dots { display: flex; gap: 6px; }
.browser-dots span { width: 10px; height: 10px; border-radius: 50%; }
.browser-dots span:nth-child(1) { background: #ff5f57; }
.browser-dots span:nth-child(2) { background: #ffbd2e; }
.browser-dots span:nth-child(3) { background: #28ca42; }
.browser-url {
    flex: 1; border-radius: 6px; padding: 0.4rem 0.75rem;
    font-size: 0.75rem; font-family: var(--font-body);
    display: flex; align-items: center; gap: 0.5rem;
}
.browser-frame:not(.dark) .browser-url {
    background: white; border: 1px solid var(--color-border); color: var(--color-text-muted);
}
.browser-frame.dark .browser-url {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
}
.browser-url i { color: #22c55e; font-size: 0.65rem; }
.browser-content { padding: 0; min-height: 280px; }

/* ========== WORKFLOW EDITOR MOCKUP ========== */
.mockup-workflow-editor {
    display: grid; grid-template-columns: 200px 1fr; min-height: 320px;
}
.mock-sidebar { padding: 1.25rem; }
.browser-frame:not(.dark) .mock-sidebar {
    background: var(--color-bg-alt); border-right: 1px solid var(--color-border);
}
.browser-frame.dark .mock-sidebar {
    background: rgba(255,255,255,0.02); border-right: 1px solid rgba(255,255,255,0.06);
}
.mock-sidebar-title { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.75rem; }
.browser-frame:not(.dark) .mock-sidebar-title { color: var(--color-text); }
.browser-frame.dark .mock-sidebar-title { color: rgba(255,255,255,0.9); }
.mock-trigger-badge {
    font-size: 0.7rem; padding: 0.4rem 0.6rem; border-radius: 6px;
    display: flex; align-items: center; gap: 0.4rem;
}
.browser-frame:not(.dark) .mock-trigger-badge {
    color: var(--color-primary); background: rgba(79, 70, 229, 0.08);
}
.browser-frame.dark .mock-trigger-badge {
    color: #818cf8; background: rgba(79, 70, 229, 0.15);
}
.mock-steps { padding: 1.25rem; display: flex; flex-direction: column; gap: 0; }
.mock-step {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem;
    border-radius: 8px; transition: all 0.3s ease;
}
.browser-frame:not(.dark) .mock-step {
    background: var(--color-bg-alt); border: 1px solid var(--color-border-light);
}
.browser-frame.dark .mock-step {
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
}
.browser-frame:not(.dark) .mock-step.active { background: white; border-color: var(--color-border); box-shadow: var(--shadow-sm); }
.browser-frame.dark .mock-step.active { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.1); }
.browser-frame.dark .mock-step.running { background: rgba(79, 70, 229, 0.08); border-color: rgba(79, 70, 229, 0.2); }
.browser-frame:not(.dark) .mock-step.running { background: rgba(79, 70, 229, 0.04); border-color: rgba(79, 70, 229, 0.25); }
.mock-step.pending { opacity: 0.4; }
.mock-step-icon {
    width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; color: white; flex-shrink: 0;
}
.mock-step-icon.mcp { background: linear-gradient(135deg, #8b5cf6, #a78bfa); }
.mock-step-icon.code { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.mock-step-icon.agent { background: linear-gradient(135deg, #4f46e5, #818cf8); }
.mock-step-icon.action { background: linear-gradient(135deg, #10b981, #34d399); }
.mock-step-info { flex: 1; min-width: 0; }
.mock-step-type { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.5px; }
.browser-frame:not(.dark) .mock-step-type { color: var(--color-text-muted); }
.browser-frame.dark .mock-step-type { color: rgba(255,255,255,0.4); }
.mock-step-name { font-size: 0.8rem; font-weight: 500; }
.browser-frame:not(.dark) .mock-step-name { color: var(--color-text); }
.browser-frame.dark .mock-step-name { color: rgba(255,255,255,0.85); }
.mock-step-status { font-size: 0.75rem; flex-shrink: 0; }
.mock-step-status.done { color: #22c55e; }
.mock-step-status.running { color: var(--color-primary); }
.browser-frame.dark .mock-step-status.running { color: #818cf8; }
.mock-step-status.pending { color: var(--color-text-muted); font-size: 0.5rem; }
.mock-step-connector { width: 2px; height: 16px; margin-left: 2.25rem; }
.browser-frame:not(.dark) .mock-step-connector { background: var(--color-border); }
.browser-frame.dark .mock-step-connector { background: rgba(255,255,255,0.08); }
.spinner-sm {
    width: 14px; height: 14px; border: 2px solid rgba(79, 70, 229, 0.2);
    border-top-color: var(--color-primary); border-radius: 50%;
    animation: spin 1s linear infinite;
}
.browser-frame.dark .spinner-sm { border-color: rgba(129,140,248,0.2); border-top-color: #818cf8; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ========== STATS SECTION ========== */
.stats-section {
    padding: 80px 0; background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
}
.stats-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
}
.stat-item { text-align: center; padding: 1.5rem; }
.stat-number {
    font-size: 3.5rem; font-weight: 800; font-family: var(--font-display);
    color: var(--color-primary); letter-spacing: -0.03em; line-height: 1;
}
.stat-label {
    font-size: 1rem; font-weight: 700; color: var(--color-text);
    margin-top: 0.5rem; text-transform: uppercase; letter-spacing: 1px;
}
.stat-detail {
    font-size: 0.8rem; color: var(--color-text-muted); margin-top: 0.5rem;
    line-height: 1.5;
}

/* ========== HOW IT WORKS ========== */
.how-it-works-section { background: var(--color-bg-alt); }
.steps-row { display: flex; align-items: flex-start; justify-content: center; gap: 0; }
.step-card {
    background: white; border: 1px solid var(--color-border); border-radius: 16px;
    padding: 2.5rem 2rem; text-align: center; flex: 1; max-width: 340px;
    position: relative; transition: all 0.4s ease; box-shadow: var(--shadow-sm);
}
.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(79, 70, 229, 0.2);
}
.step-number {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    width: 28px; height: 28px; background: var(--color-primary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 700; color: white;
}
.step-icon-wrap {
    width: 56px; height: 56px; background: rgba(79, 70, 229, 0.06);
    border-radius: 14px; display: flex; align-items: center; justify-content: center;
    margin: 0.5rem auto 1.25rem; font-size: 1.25rem; color: var(--color-primary);
}
.step-card h3 { font-size: 1.35rem; margin-bottom: 0.75rem; font-family: var(--font-display); color: var(--color-text); }
.step-card p { color: var(--color-text-muted); line-height: 1.6; margin-bottom: 1.25rem; font-size: 0.95rem; }
.step-example {
    background: var(--color-bg-alt); border-radius: 8px; padding: 0.6rem 1rem;
    border: 1px solid var(--color-border);
}
.step-example code { font-family: var(--font-mono); font-size: 0.75rem; color: var(--color-primary); }
.step-connector-h {
    display: flex; align-items: center; justify-content: center; padding: 0 0.5rem;
    margin-top: 5rem; color: var(--color-text-muted);
}
.connector-line-h {
    width: 40px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
    position: absolute;
}
.step-connector-h i { position: relative; z-index: 1; font-size: 0.75rem; }

/* ========== PRODUCT SHOWCASE ========== */
.product-showcase-section { background: var(--color-bg); padding: 120px 0; }

/* Tier 1: Product Selector Cards */
.product-selector {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
    margin-bottom: 3rem;
}
.product-card-select {
    background: var(--color-bg-alt); border: 2px solid var(--color-border);
    border-radius: 16px; padding: 2rem 1.5rem; text-align: center;
    cursor: pointer; transition: all 0.3s ease; font-family: var(--font-body);
}
.product-card-select:hover {
    border-color: var(--color-primary); transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.1);
}
.product-card-select.active {
    border-color: var(--color-primary); background: white;
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.15);
}
.product-card-icon {
    width: 56px; height: 56px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(79, 70, 229, 0.05));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem; font-size: 1.4rem; color: var(--color-primary);
    transition: all 0.3s ease;
}
.product-card-select.active .product-card-icon {
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    color: white;
}
.product-card-select h3 {
    font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem;
    color: var(--color-text); font-family: var(--font-display);
}
.product-card-select p {
    font-size: 0.85rem; color: var(--color-text-muted); line-height: 1.5; margin: 0;
}

/* Tier 2: Product Detail Sections */
.product-detail-sections { position: relative; }
.product-detail { display: none; animation: panel-fade-in 0.4s ease; }
.product-detail.active { display: block; }
.product-tabs {
    display: flex; justify-content: center; gap: 0.375rem; margin-bottom: 3rem; flex-wrap: wrap;
    background: var(--color-bg-alt); border-radius: 14px; padding: 0.375rem;
    border: 1px solid var(--color-border); display: inline-flex; width: auto;
    margin-left: auto; margin-right: auto;
}
.section-header.centered .product-tabs { display: flex; }
.product-tab {
    padding: 0.65rem 1.25rem; background: transparent;
    border: none; border-radius: 10px;
    color: var(--color-text-muted); font-weight: 600; font-size: 0.85rem;
    cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 0.5rem;
    font-family: var(--font-body);
}
.product-tab:hover { color: var(--color-text); }
.product-tab.active {
    background: white; color: var(--color-primary); box-shadow: var(--shadow-sm);
}
.product-panels { position: relative; }
.product-panel { display: none; animation: panel-fade-in 0.4s ease; }
.product-panel.active { display: block; }
@keyframes panel-fade-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.panel-split {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center;
}
.panel-text h3 {
    font-size: 1.75rem; margin-bottom: 1rem; font-family: var(--font-display);
    color: var(--color-text); letter-spacing: -0.01em;
}
.panel-text > p {
    color: var(--color-text-muted); line-height: 1.7; margin-bottom: 1.5rem; font-size: 1rem;
}
.panel-features { list-style: none; padding: 0; margin-bottom: 1.5rem; }
.panel-features li {
    display: flex; align-items: flex-start; gap: 0.75rem; padding: 0.45rem 0;
    color: var(--color-text-secondary); font-size: 0.925rem;
}
.panel-features li i { color: var(--color-accent); margin-top: 0.2rem; flex-shrink: 0; font-size: 0.85rem; }
.panel-link {
    color: var(--color-primary); text-decoration: none; font-weight: 600;
    display: inline-flex; align-items: center; gap: 0.5rem; transition: gap 0.3s ease;
    font-size: 0.925rem;
}
.panel-link:hover { gap: 0.75rem; }
.panel-explore-btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1.75rem; margin-top: 0.5rem;
    background: var(--color-primary); color: white;
    border-radius: 10px; font-weight: 600; font-size: 0.925rem;
    text-decoration: none; transition: all 0.3s ease;
    font-family: var(--font-display);
}
.panel-explore-btn:hover {
    background: var(--color-primary-light); transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

/* Product panel mockups — keep light theme */
.mockup-workflow-list { padding: 1.25rem; }
.mock-wf-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.mock-wf-title { font-size: 0.95rem; font-weight: 600; color: var(--color-text); }
.mock-wf-badge { font-size: 0.65rem; font-weight: 600; padding: 0.25rem 0.75rem; border-radius: 20px; text-transform: uppercase; }
.mock-wf-badge.running { background: rgba(5, 150, 105, 0.1); color: #059669; }
.mock-wf-badge.scheduled { background: rgba(79, 70, 229, 0.08); color: var(--color-primary); }
.mock-wf-steps-mini { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.mock-mini-step {
    font-size: 0.7rem; padding: 0.3rem 0.6rem; background: var(--color-bg-alt);
    border-radius: 6px; color: var(--color-text-secondary); display: flex; align-items: center; gap: 0.3rem;
    border: 1px solid var(--color-border);
}
.mock-mini-step.mcp { background: rgba(139, 92, 246, 0.06); color: #7c3aed; border-color: rgba(139, 92, 246, 0.15); }
.mock-mini-step.agent { background: rgba(79, 70, 229, 0.06); color: var(--color-primary); border-color: rgba(79, 70, 229, 0.15); }
.mock-mini-step.code { background: rgba(245, 158, 11, 0.06); color: #d97706; border-color: rgba(245, 158, 11, 0.15); }
.mock-mini-arrow { color: var(--color-text-muted); font-size: 0.7rem; }
.mock-wf-meta { display: flex; gap: 1.5rem; font-size: 0.7rem; color: var(--color-text-muted); }
.mock-wf-meta i { margin-right: 0.3rem; }
.mock-wf-divider { height: 1px; background: var(--color-border); margin: 1rem 0; }

/* Agent chat mockup */
.mockup-agent-chat { display: flex; flex-direction: column; min-height: 350px; }
.mock-chat-header {
    display: flex; align-items: center; gap: 0.75rem; padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--color-border); background: var(--color-bg-alt);
}
.mock-chat-avatar {
    width: 36px; height: 36px; background: var(--color-primary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center; color: white; font-size: 0.9rem;
}
.mock-chat-name { font-size: 0.9rem; font-weight: 600; color: var(--color-text); }
.mock-chat-model { font-size: 0.7rem; color: var(--color-text-muted); }
.mock-chat-messages { flex: 1; padding: 1rem 1.25rem; display: flex; flex-direction: column; gap: 0.75rem; }
.mock-msg { padding: 0.75rem 1rem; border-radius: 12px; font-size: 0.85rem; line-height: 1.5; max-width: 85%; }
.mock-msg.user { background: rgba(79, 70, 229, 0.08); color: var(--color-text); align-self: flex-end; border-bottom-right-radius: 4px; }
.mock-msg.bot {
    background: var(--color-bg-alt); color: var(--color-text-secondary); align-self: flex-start;
    border-bottom-left-radius: 4px; border: 1px solid var(--color-border);
}
.mock-citation { margin-top: 0.5rem; font-size: 0.7rem; color: var(--color-primary); display: flex; align-items: center; gap: 0.4rem; }
.mock-tool-used { margin-top: 0.5rem; font-size: 0.7rem; color: #7c3aed; display: flex; align-items: center; gap: 0.4rem; }

/* MCP mockup */
.mockup-mcp { padding: 1.5rem; }
.mock-mcp-card { background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: 12px; padding: 1.25rem; }
.mock-mcp-header { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; }
.mock-mcp-icon {
    width: 40px; height: 40px; background: rgba(139, 92, 246, 0.08); border-radius: 10px;
    display: flex; align-items: center; justify-content: center; color: #7c3aed; font-size: 1rem;
}
.mock-mcp-name { font-size: 0.95rem; font-weight: 600; color: var(--color-text); }
.mock-mcp-status { font-size: 0.75rem; color: var(--color-text-muted); display: flex; align-items: center; gap: 0.4rem; }
.status-dot-green { width: 6px; height: 6px; background: #22c55e; border-radius: 50%; box-shadow: 0 0 6px rgba(34, 197, 94, 0.5); }
.mock-mcp-tools { margin-bottom: 1rem; }
.mock-mcp-tools-title { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--color-text-muted); margin-bottom: 0.5rem; }
.mock-mcp-tool {
    font-size: 0.8rem; color: var(--color-text-secondary); padding: 0.35rem 0;
    display: flex; align-items: center; gap: 0.5rem; border-bottom: 1px solid var(--color-border);
}
.mock-mcp-tool i { color: var(--color-text-muted); font-size: 0.7rem; width: 14px; text-align: center; }
.mock-mcp-footer { display: flex; gap: 0.5rem; }
.mock-mcp-tag {
    font-size: 0.65rem; padding: 0.2rem 0.6rem; background: white;
    border-radius: 4px; color: var(--color-text-muted); border: 1px solid var(--color-border);
}

/* Code step mockup */
.mockup-code-step { display: flex; flex-direction: column; }
.mock-code-prompt { padding: 1rem 1.25rem; background: var(--color-bg-alt); border-bottom: 1px solid var(--color-border); }
.mock-code-prompt-label { font-size: 0.75rem; color: var(--color-text-muted); margin-bottom: 0.5rem; display: flex; align-items: center; gap: 0.4rem; }
.mock-code-prompt-label i { color: #7c3aed; }
.mock-code-prompt-text {
    font-size: 0.85rem; color: var(--color-text-secondary); font-style: italic;
    background: white; padding: 0.5rem 0.75rem; border-radius: 6px;
    border: 1px solid var(--color-border); margin-bottom: 0.75rem;
}
.mock-code-generate-btn {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa); color: white; border: none;
    padding: 0.4rem 1rem; border-radius: 6px; font-size: 0.75rem; font-weight: 600;
    cursor: default; display: flex; align-items: center; gap: 0.4rem;
}
.mock-code-editor { padding: 1rem 1.25rem; font-family: var(--font-mono); font-size: 0.8rem; line-height: 1.7; background: var(--color-bg-alt); }
.mock-code-line { white-space: pre; color: var(--color-text-secondary); }
.code-comment { color: #94a3b8; }
.code-keyword { color: #7c3aed; }
.code-var { color: var(--color-primary); }
.code-fn { color: #d97706; }
.code-num { color: #dc2626; }
.code-prop { color: #059669; }

/* API mockup */
.browser-frame.dark .browser-topbar { background: #1e1e2e; border-bottom: 1px solid #313244; }
.browser-frame.dark .browser-url { background: #313244; color: #a6adc8; border: none; }
.browser-frame.dark .browser-url i { color: #a6adc8; }
.browser-frame.dark { background: #1e1e2e; border-color: #313244; }
.mockup-api { padding: 1.25rem; font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.8; background: #1e1e2e; min-height: 280px; display: flex; flex-direction: column; justify-content: center; }
.mockup-api .mock-code-line { white-space: pre; color: #cdd6f4; }
.mock-api-request { margin-bottom: 1rem; padding-bottom: 1rem; border-bottom: 1px solid #313244; }
.mock-api-response { margin-bottom: 1rem; }
.api-comment { color: #6c7086; }
.api-cmd { color: #89b4fa; }
.api-str { color: #a6e3a1; }
.api-path { color: #f9e2af; font-weight: 600; }
.api-key { color: #89b4fa; }
.api-bool { color: #fab387; }
.api-num { color: #fab387; }
.mock-api-methods { display: flex; align-items: center; gap: 0.5rem; padding-top: 0.75rem; border-top: 1px solid #313244; }
.api-badge {
    padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.7rem;
    font-weight: 700; font-family: var(--font-mono); letter-spacing: 0.03em;
}
.api-badge.get { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.api-badge.post { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.api-badge.put { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.api-badge.delete { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
.api-badge-label { color: #6c7086; font-size: 0.75rem; margin-left: 0.25rem; }

/* Widget mockup */
.mockup-widget-site { position: relative; min-height: 320px; background: var(--color-bg-alt); overflow: hidden; }
.mock-site-content { padding: 1rem; }
.mock-site-nav { height: 8px; background: var(--color-border); border-radius: 4px; margin-bottom: 1.5rem; width: 60%; }
.mock-site-hero { margin-bottom: 1.5rem; }
.mock-site-block { background: var(--color-border); border-radius: 6px; height: 16px; margin-bottom: 0.5rem; }
.mock-site-block.wide { width: 70%; height: 20px; }
.mock-site-block.medium { width: 50%; }
.mock-site-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
.mock-site-grid .mock-site-block { height: 50px; }
.mock-widget-popup {
    position: absolute; bottom: 12px; right: 12px; width: 260px;
    background: white; border-radius: 12px; box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    overflow: hidden; border: 1px solid var(--color-border);
}
.mock-widget-header {
    background: var(--color-primary); padding: 0.6rem 0.75rem; color: white;
    font-size: 0.75rem; font-weight: 600; display: flex; justify-content: space-between; align-items: center;
}
.mock-widget-dot { width: 6px; height: 6px; background: #34d399; border-radius: 50%; }
.mock-widget-body { padding: 0.6rem; display: flex; flex-direction: column; gap: 0.4rem; }
.mock-widget-msg { font-size: 0.7rem; padding: 0.4rem 0.6rem; border-radius: 8px; line-height: 1.4; color: var(--color-text); }
.mock-widget-msg.bot { background: var(--color-bg-alt); border: 1px solid var(--color-border); }
.mock-widget-msg.user { background: rgba(79, 70, 229, 0.08); align-self: flex-end; }
.mock-widget-cite { color: var(--color-primary); font-weight: 600; font-size: 0.6rem; }
.mock-widget-input {
    padding: 0.5rem 0.75rem; border-top: 1px solid var(--color-border);
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.7rem; color: #94a3b8;
}
.mock-widget-input i { color: var(--color-primary); }

/* KB mockup */
.mockup-kb { padding: 1.25rem; }
.mock-kb-header { margin-bottom: 1rem; }
.mock-kb-title { font-size: 1rem; font-weight: 600; color: var(--color-text); }
.mock-kb-stats { font-size: 0.75rem; color: var(--color-text-muted); }
.mock-kb-docs { margin-bottom: 1rem; }
.mock-kb-doc {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.5rem 0;
    border-bottom: 1px solid var(--color-border); font-size: 0.85rem; color: var(--color-text-secondary);
}
.mock-kb-doc i { font-size: 1rem; width: 18px; text-align: center; }
.mock-kb-doc span:first-of-type { flex: 1; }
.mock-kb-size { font-size: 0.7rem; color: var(--color-text-muted); }
.mock-kb-search {
    background: var(--color-bg-alt); border: 1px solid var(--color-border);
    border-radius: 8px; padding: 0.6rem 0.75rem; font-size: 0.8rem;
    color: var(--color-text-muted); display: flex; align-items: center; gap: 0.5rem;
}

/* ========== INTEGRATIONS ========== */
.integrations-section { background: var(--color-bg-alt); padding: 120px 0; }
.integrations-category { margin-bottom: 3rem; }
.integrations-category:last-child { margin-bottom: 0; }
.integrations-category-title {
    font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
    color: var(--color-text-muted); text-align: center; margin-bottom: 1.5rem;
}
.integrations-grid {
    display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem;
    max-width: 800px; margin: 0 auto;
}
.integration-item {
    display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
    padding: 1.25rem 0.75rem; background: white; border: 1px solid var(--color-border);
    border-radius: 12px; transition: all 0.3s ease;
    font-size: 0.8rem; font-weight: 600; color: var(--color-text-secondary);
}
.integration-item:hover {
    transform: translateY(-3px); box-shadow: var(--shadow-md);
    border-color: rgba(79, 70, 229, 0.2);
}
.integration-icon {
    width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; background: rgba(79, 70, 229, 0.06); color: var(--color-primary);
}
.integration-icon.db { background: rgba(5, 150, 105, 0.06); color: var(--color-accent); }
.integration-icon.tools { background: rgba(245, 158, 11, 0.06); color: #d97706; }

/* ========== USE CASES ========== */
.use-cases-section { background: var(--color-bg); padding: 120px 0; }
.use-cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.use-case-card {
    background: white; border: 1px solid var(--color-border); border-radius: 16px;
    padding: 2rem; transition: all 0.4s ease; box-shadow: var(--shadow-sm);
}
.use-case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(79, 70, 229, 0.15); }
.use-case-icon {
    width: 52px; height: 52px; background: rgba(79, 70, 229, 0.06);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    margin-bottom: 1.25rem; font-size: 1.25rem; color: var(--color-primary);
}
.use-case-card h3 { margin-bottom: 0.75rem; font-size: 1.2rem; color: var(--color-text); font-family: var(--font-display); }
.use-case-card p { color: var(--color-text-muted); margin-bottom: 1rem; line-height: 1.6; font-size: 0.9rem; }
.use-case-card ul { list-style: none; padding: 0; }
.use-case-card ul li {
    padding: 0.35rem 0; color: var(--color-text-secondary); position: relative;
    padding-left: 1.25rem; font-size: 0.85rem;
}
.use-case-card ul li::before { content: "\2713"; position: absolute; left: 0; color: var(--color-accent); font-weight: bold; }
.use-case-stack {
    display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1.25rem;
    padding-top: 1rem; border-top: 1px solid var(--color-border);
}
.stack-tag {
    font-size: 0.7rem; font-weight: 500; padding: 3px 10px; border-radius: 20px;
    background: var(--color-bg-alt); border: 1px solid var(--color-border);
    color: var(--color-text-muted);
}

/* ========== LIVE DEMO ========== */
.live-demo-section { background: var(--color-bg-alt); padding: 80px 0; }
.live-demo-content { display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: center; }
.live-demo-text .section-title { margin-bottom: 1.5rem; }
.live-demo-text > p { color: var(--color-text-muted); line-height: 1.7; margin-bottom: 2rem; font-size: 1rem; }
.live-demo-steps { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.demo-step { display: flex; align-items: center; gap: 1rem; color: var(--color-text-secondary); font-size: 0.95rem; }
.demo-step-num {
    width: 28px; height: 28px; background: var(--color-primary); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem; font-weight: 700; color: white; flex-shrink: 0;
}
.live-demo-note {
    font-size: 0.85rem; color: var(--color-text-muted); font-style: italic;
    padding: 1rem; background: white; border-radius: 8px;
    border-left: 3px solid var(--color-primary);
}
.live-demo-visual { display: flex; align-items: flex-end; justify-content: center; }
.demo-widget-arrow { text-align: center; }
.demo-arrow-label { display: block; font-size: 0.8rem; color: var(--color-primary); font-weight: 600; margin-top: 0.5rem; }

/* ========== ENTERPRISE READY ========== */
.enterprise-section { background: var(--color-bg-alt); padding: 120px 0; }
.enterprise-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.enterprise-card {
    background: white; border: 1px solid var(--color-border);
    border-radius: 16px; padding: 2rem; text-align: center; transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
}
.enterprise-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.enterprise-card-icon {
    width: 52px; height: 52px; background: rgba(5, 150, 105, 0.06);
    border-radius: 12px; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.25rem; font-size: 1.25rem; color: var(--color-accent);
}
.enterprise-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; color: var(--color-text); font-family: var(--font-display); }
.enterprise-card p { color: var(--color-text-muted); line-height: 1.6; font-size: 0.9rem; margin-bottom: 1rem; }
.enterprise-badges { display: flex; justify-content: center; gap: 0.5rem; flex-wrap: wrap; }
.enterprise-badge {
    font-size: 0.7rem; padding: 0.3rem 0.75rem; border-radius: 20px;
    background: rgba(5, 150, 105, 0.06); color: var(--color-accent);
    display: flex; align-items: center; gap: 0.35rem; font-weight: 600;
}
.enterprise-badge i { font-size: 0.6rem; }
.enterprise-banner {
    background: white; border: 1px solid var(--color-border);
    border-radius: 12px; padding: 1.5rem 2rem;
}
.enterprise-banner-items {
    display: flex; align-items: center; justify-content: center; gap: 2.5rem; flex-wrap: wrap;
}
.banner-item {
    display: flex; align-items: center; gap: 0.6rem;
    font-size: 0.9rem; font-weight: 600; color: var(--color-text-secondary);
}
.banner-item i { color: var(--color-accent); font-size: 1rem; }

/* ========== PRICING ========== */
.pricing-section { background: var(--color-bg); padding: 120px 0; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.pricing-spacer { display: block; }
.pricing-card {
    background: white; border: 1px solid var(--color-border); border-radius: 20px;
    padding: 2.5rem 2rem; position: relative; transition: all 0.4s ease;
    box-shadow: var(--shadow-sm);
}
.pricing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pricing-card.featured { border-color: var(--color-primary); border-width: 2px; box-shadow: 0 4px 20px rgba(79, 70, 229, 0.1); }
.pricing-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--color-primary); color: white; padding: 0.45rem 1.25rem;
    border-radius: 50px; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 1px;
}
.pricing-header { text-align: center; margin-bottom: 2rem; }
.pricing-header h3 { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--color-text); font-family: var(--font-display); }
.pricing-desc { font-size: 0.85rem; color: var(--color-text-muted); margin-bottom: 1rem; }
.pricing-price { display: flex; align-items: baseline; justify-content: center; gap: 0.25rem; }
.currency { font-size: 1.5rem; color: var(--color-text-muted); }
.amount { font-size: 3.5rem; font-weight: 800; color: var(--color-text); letter-spacing: -0.03em; }
.period { color: var(--color-text-muted); }
.pricing-features { margin-bottom: 2rem; }
.feature { display: flex; align-items: center; gap: 0.75rem; padding: 0.65rem 0; border-bottom: 1px solid var(--color-border); color: var(--color-text-secondary); font-size: 0.925rem; }
.feature i { color: var(--color-accent); font-size: 0.85rem; }
.pricing-btn {
    width: 100%; padding: 0.875rem; border: none; border-radius: 10px;
    background: var(--color-bg-alt); color: var(--color-text-secondary); font-weight: 600;
    cursor: pointer; transition: all 0.3s ease; font-size: 0.95rem;
    border: 1px solid var(--color-border); font-family: var(--font-body);
}
.pricing-btn:hover { background: var(--color-bg-muted); transform: translateY(-2px); }
.pricing-btn.primary { background: var(--color-primary); color: white; border-color: var(--color-primary); }
.pricing-btn.primary:hover { background: var(--color-primary-light); box-shadow: var(--glow-primary); }

/* ========== PRICING TEASER (homepage condensed) ========== */
.pricing-teaser .pricing-teaser-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem;
    max-width: 1100px; margin: 0 auto 2.5rem;
}
.pricing-teaser-card {
    background: white; border: 1px solid var(--color-border); border-radius: 16px;
    padding: 2rem 1.5rem; text-align: center; position: relative;
    transition: all 0.3s ease; box-shadow: var(--shadow-sm);
}
.pricing-teaser-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(79, 70, 229, 0.2); }
.pricing-teaser-card.featured {
    border-color: var(--color-primary); border-width: 2px;
    box-shadow: 0 4px 20px rgba(79, 70, 229, 0.1);
}
.pricing-teaser-card h3 {
    font-family: var(--font-display); font-size: 1.15rem;
    font-weight: 700; color: var(--color-text); margin-bottom: 1rem;
}
.pricing-teaser-price {
    display: flex; align-items: baseline; justify-content: center;
    gap: 0.2rem; margin-bottom: 0.75rem;
}
.teaser-currency { font-size: 1.1rem; color: var(--color-text-muted); font-weight: 600; }
.teaser-amount { font-size: 2.25rem; font-weight: 800; color: var(--color-text); letter-spacing: -0.02em; font-family: var(--font-display); }
.teaser-period { font-size: 0.85rem; color: var(--color-text-muted); }
.pricing-teaser-desc {
    font-size: 0.85rem; color: var(--color-text-muted);
    line-height: 1.5; margin: 0;
}
.pricing-teaser-cta {
    display: flex; justify-content: center; gap: 1rem;
    flex-wrap: wrap; margin-top: 0.5rem;
}
.pricing-teaser-cta .btn-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.95rem 2rem; background: var(--color-primary); color: white;
    border: none; border-radius: 12px; font-family: var(--font-display);
    font-size: 0.95rem; font-weight: 600; cursor: pointer;
    text-decoration: none; transition: all 0.3s ease;
}
.pricing-teaser-cta .btn-primary:hover {
    background: var(--color-primary-light); transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}
.pricing-teaser-cta .btn-ghost-light {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.95rem 2rem; background: transparent;
    color: var(--color-text-secondary); border: 1px solid var(--color-border);
    border-radius: 12px; font-family: var(--font-display);
    font-size: 0.95rem; font-weight: 600; cursor: pointer;
    text-decoration: none; transition: all 0.3s ease;
}
.pricing-teaser-cta .btn-ghost-light:hover {
    border-color: var(--color-primary); color: var(--color-primary);
    transform: translateY(-2px);
}

/* ========== FAQ ========== */
.faq-section { background: var(--color-bg-alt); padding: 120px 0; }
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--color-border); border-radius: 12px;
    margin-bottom: 0.75rem; background: white; overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item:hover { border-color: rgba(79, 70, 229, 0.2); }
.faq-item.active { border-color: rgba(79, 70, 229, 0.3); }
.faq-question {
    width: 100%; padding: 1.25rem 1.5rem; background: none; border: none;
    display: flex; justify-content: space-between; align-items: center;
    cursor: pointer; font-size: 1rem; font-weight: 600; color: var(--color-text);
    text-align: left; font-family: var(--font-body); transition: color 0.3s ease;
}
.faq-question:hover { color: var(--color-primary); }
.faq-question i {
    font-size: 0.75rem; color: var(--color-text-muted);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-answer {
    max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
}
.faq-item.active .faq-answer {
    max-height: 300px; padding: 0 1.5rem 1.25rem;
}
.faq-answer p {
    color: var(--color-text-muted); line-height: 1.7; font-size: 0.925rem;
}

/* ========== FINAL CTA (DARK) ========== */
.final-cta-section {
    background: linear-gradient(160deg, #0a0f1e 0%, #111827 60%, #0f172a 100%);
    color: white; padding: 120px 0; position: relative; overflow: hidden;
}
.final-cta-bg { position: absolute; inset: 0; overflow: hidden; }
.cta-orb {
    position: absolute; border-radius: 50%; opacity: 0.1;
}
.cta-orb-1 { width: 400px; height: 400px; background: radial-gradient(circle, #4f46e5 0%, transparent 70%); top: -100px; right: -100px; }
.cta-orb-2 { width: 300px; height: 300px; background: radial-gradient(circle, #7c3aed 0%, transparent 70%); bottom: -100px; left: -100px; }
.final-cta-content { text-align: center; max-width: 640px; margin: 0 auto; position: relative; z-index: 1; }
.final-cta-title {
    font-size: clamp(2.25rem, 4.5vw, 3.25rem); font-weight: 800;
    font-family: var(--font-display); margin-bottom: 1.25rem;
    color: white; letter-spacing: -0.02em;
}
.final-cta-subtitle { font-size: 1.15rem; color: rgba(255, 255, 255, 0.55); margin-bottom: 2.5rem; line-height: 1.6; }
.final-cta-buttons { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; }
.final-cta-contact { display: flex; justify-content: center; gap: 2rem; }
.final-cta-contact a {
    color: rgba(255, 255, 255, 0.45); text-decoration: none; font-size: 0.9rem;
    display: flex; align-items: center; gap: 0.5rem; transition: color 0.3s ease;
}
.final-cta-contact a:hover { color: rgba(255, 255, 255, 0.85); }
/* Override CTA buttons inside dark final CTA section */
.final-cta-section .cta-primary-dark.inverted {
    background: white; color: #0f172a;
}
.final-cta-section .cta-primary-dark.inverted:hover {
    box-shadow: 0 8px 30px rgba(255,255,255,0.2); transform: translateY(-2px);
}
.final-cta-section .cta-ghost-dark {
    background: transparent; color: rgba(255,255,255,0.85);
    border: 1px solid rgba(255,255,255,0.2);
}
.final-cta-section .cta-ghost-dark:hover {
    background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.35); transform: translateY(-2px);
}

/* ========== FOOTER ========== */
.modern-footer {
    background: #070b14; color: #e2e8f0; padding: 80px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}
.footer-content { display: grid; grid-template-columns: 1.5fr 3fr; gap: 4rem; margin-bottom: 3rem; }
.footer-brand-row {
    display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem;
}
.footer-logo-icon {
    height: 36px; width: 36px; object-fit: contain;
}
.footer-brand-text {
    font-family: var(--font-display); font-size: 1.5rem; font-weight: 700;
    color: #fff; letter-spacing: -0.01em;
}
.footer-brand p { color: rgba(255, 255, 255, 0.5); font-size: 1rem; }
.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.footer-column h4 {
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px;
    margin-bottom: 1.25rem; color: rgba(255, 255, 255, 0.85); font-weight: 700;
}
.footer-column a {
    display: block; color: rgba(255, 255, 255, 0.45); text-decoration: none;
    padding: 0.4rem 0; transition: color 0.3s ease; font-size: 0.9rem;
}
.footer-column a:hover { color: rgba(255, 255, 255, 0.85); }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-bottom p { color: rgba(255, 255, 255, 0.35); font-size: 0.85rem; }
.social-links { display: flex; gap: 0.75rem; }
.social-links a {
    width: 36px; height: 36px; background: rgba(255, 255, 255, 0.06); border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: rgba(255, 255, 255, 0.5); transition: all 0.3s ease; font-size: 0.85rem;
}
.social-links a:hover { background: rgba(255, 255, 255, 0.12); color: white; transform: translateY(-2px); }

/* ========== SCROLL ANIMATIONS ========== */
.reveal-card {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-card.visible {
    opacity: 1; transform: translateY(0);
}

/* Hero load animations */
body.loaded .hero-badge { animation: fade-up 0.7s ease-out 0.2s both; }
body.loaded .hero-title { animation: fade-up 0.7s ease-out 0.4s both; }
body.loaded .hero-description { animation: fade-up 0.7s ease-out 0.6s both; }
body.loaded .hero-cta-group { animation: fade-up 0.7s ease-out 0.8s both; }
body.loaded .hero-stats-bar { animation: fade-up 0.7s ease-out 1s both; }
body.loaded .hero-mockup { animation: fade-up 0.8s ease-out 0.6s both; }
@keyframes fade-up {
    from { opacity: 0; transform: translateY(25px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .hero-split { grid-template-columns: 1fr; gap: 3rem; }
    .hero-text { text-align: center; }
    .hero-description { max-width: 100%; margin-left: auto; margin-right: auto; }
    .hero-cta-group { justify-content: center; }
    .hero-stats-bar { justify-content: center; }
    .hero-mockup { max-width: 580px; margin: 0 auto; }
    .panel-split { grid-template-columns: 1fr; gap: 2rem; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .integrations-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
    .use-cases-grid { grid-template-columns: repeat(2, 1fr); }
    .enterprise-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
    .pricing-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
    .pricing-teaser .pricing-teaser-grid { grid-template-columns: repeat(2, 1fr); max-width: 600px; }
}

@media (max-width: 768px) {
    section { padding: 80px 0; }
    .container { padding: 0 1.25rem; }

    /* Nav mobile */
    .nav-glass { padding: 0.75rem 1.25rem; flex-wrap: wrap; }
    .nav-logo-icon { height: 28px; width: 28px; }
    .nav-hamburger { display: flex; }
    .nav-links {
        display: none; width: 100%; flex-direction: column; gap: 0.25rem;
        padding-top: 1rem; order: 10; position: static; left: auto; transform: none;
    }
    .nav-links.mobile-open { display: flex; }
    .nav-links { border-top: 1px solid var(--color-border); }
    .nav-dropdown { width: 100%; }
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        padding: 0 0 0 1rem;
        min-width: unset;
    }
    .nav-dropdown-menu a { padding: 0.4rem 0.5rem; font-size: 0.82rem; }
    .nav-actions { display: none; }
    .nav-actions.mobile-open { display: flex; width: 100%; order: 11; padding-top: 0.5rem; }
    /* Solid background when mobile menu is open */
    .floating-nav.menu-open .nav-glass {
        background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        padding-bottom: 1rem;
    }

    /* Hero mobile */
    .hero-dark { padding: 100px 1.25rem 60px; }
    .hero-title { font-size: clamp(2rem, 6vw, 2.75rem); }
    .hero-cta-group { flex-direction: column; width: 100%; }
    .cta-primary-dark, .cta-ghost-dark { width: 100%; justify-content: center; }
    .hero-stats-bar { flex-direction: column; gap: 0.75rem; }
    .hero-stat-divider { display: none; }

    /* Mockup mobile */
    .mockup-workflow-editor { grid-template-columns: 1fr; }
    .mock-sidebar { border-right: none; border-bottom: 1px solid var(--color-border); padding: 0.75rem; }
    .browser-frame.dark .mock-sidebar { border-bottom-color: rgba(255,255,255,0.06); }

    /* Steps mobile */
    .steps-row { flex-direction: column; align-items: center; gap: 1rem; }
    .step-connector-h { transform: rotate(90deg); margin: 0; padding: 0.5rem 0; }
    .step-card { max-width: 100%; }

    /* Product tabs mobile */
    .product-selector { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .product-card-select { padding: 1.25rem 1rem; }
    .product-card-icon { width: 44px; height: 44px; font-size: 1.1rem; margin-bottom: 0.75rem; }
    .product-card-select h3 { font-size: 0.95rem; }
    .product-card-select p { font-size: 0.78rem; }
    .product-tabs { gap: 0.25rem; padding: 0.25rem; }
    .product-tab { padding: 0.5rem 0.75rem; font-size: 0.8rem; }
    .product-tab span { display: none; }
    .product-tab i { font-size: 1rem; }

    /* Integrations mobile */
    .integrations-grid { grid-template-columns: repeat(3, 1fr); gap: 0.75rem; }

    /* Use cases mobile */
    .use-cases-grid { grid-template-columns: 1fr; }

    /* Live demo mobile */
    .live-demo-content { grid-template-columns: 1fr; }
    .live-demo-visual { display: none; }

    /* Stats mobile */
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .stat-number { font-size: 2.5rem; }

    /* Pricing mobile */
    .pricing-grid { grid-template-columns: 1fr; max-width: 380px; margin-left: auto; margin-right: auto; }
    .pricing-spacer { display: none; }
    .pricing-teaser .pricing-teaser-grid { grid-template-columns: 1fr; max-width: 380px; }
    .pricing-teaser-cta { flex-direction: column; align-items: center; }
    .pricing-teaser-cta .btn-primary, .pricing-teaser-cta .btn-ghost-light { width: 100%; max-width: 300px; justify-content: center; }

    /* Enterprise banner mobile */
    .enterprise-banner-items { gap: 1.5rem; }

    /* CTA mobile */
    .final-cta-buttons { flex-direction: column; align-items: center; }
    .final-cta-buttons .cta-primary-dark, .final-cta-buttons .cta-ghost-dark { width: 100%; max-width: 300px; justify-content: center; }
    .final-cta-contact { flex-direction: column; align-items: center; gap: 1rem; }

    /* Footer mobile */
    .footer-content { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: repeat(2, 1fr); }
    .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
}

@media (max-width: 480px) {
    .nav-glass { padding: 0.5rem 0.75rem; }
    .nav-logo { height: 26px; }
    .hero-dark { padding-top: 80px; }
    section { padding: 60px 0; }
    .integrations-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .footer-links { grid-template-columns: 1fr; text-align: center; }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal-card { opacity: 1; transform: none; }
}

/* ========== ENTERPRISE REFRESH ========== */
:root {
    --color-primary: #1d4ed8;
    --color-primary-light: #2563eb;
    --color-accent: #0f766e;
    --color-bg: #ffffff;
    --color-bg-alt: #f7f9fc;
    --color-bg-muted: #eef3f8;
    --color-text: #101828;
    --color-text-secondary: #344054;
    --color-text-muted: #667085;
    --color-border: #d9e2ec;
    --color-border-light: #e8eef5;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
    --shadow-md: 0 6px 18px rgba(16, 24, 40, 0.07);
    --shadow-lg: 0 16px 40px rgba(16, 24, 40, 0.09);
    --shadow-xl: 0 24px 64px rgba(16, 24, 40, 0.11);
    --glow-primary: 0 12px 28px rgba(29, 78, 216, 0.18);
}

body { background: #f7f9fc; }
section { padding: 96px 0; }
.section-title,
.hero-title,
.final-cta-title,
.nav-brand-text,
.footer-brand-text,
.panel-text h3,
.step-card h3,
.product-card-select h3,
.enterprise-card h3,
.pricing-card h3,
.pricing-teaser-card h3 {
    letter-spacing: 0;
}
.section-title { font-size: 2.75rem; line-height: 1.12; }
.section-subtitle { max-width: 720px; color: #5f6f86; }

.floating-nav .nav-glass {
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(16, 24, 40, 0.08);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}
.nav-link::after { display: none; }
.nav-link:hover { color: #1d4ed8; }
.nav-btn,
.cta-primary-dark,
.cta-ghost-dark,
.panel-explore-btn,
.pricing-btn,
.pricing-teaser-cta .btn-primary,
.pricing-teaser-cta .btn-ghost-light {
    border-radius: 7px;
}

.hero-dark {
    min-height: auto;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 62%, #f7f9fc 100%);
    padding: 130px 2rem 88px;
}
.hero-orb,
.cta-orb { display: none; }
.hero-grid-lines {
    background-image:
        linear-gradient(rgba(16, 24, 40, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 24, 40, 0.035) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,0.8), transparent 72%);
}
.hero-split { grid-template-columns: 0.95fr 1.05fr; gap: 4rem; }
.hero-badge {
    border-radius: 7px;
    background: #eef4ff;
    border-color: #c7d7fe;
}
.badge-dot { background: #0f766e; box-shadow: none; }
.badge-text { color: #1d4ed8; text-transform: uppercase; letter-spacing: 0.08em; }
.hero-title {
    font-size: clamp(2.45rem, 3.5vw, 3rem);
    line-height: 1.08;
    color: #0b1220;
    max-width: 820px;
}
.gradient-text {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: #1d4ed8;
}
.hero-description {
    max-width: 680px;
    color: #475467;
    font-size: 1.08rem;
}
.hero-mockup,
.hero-mockup .browser-frame {
    opacity: 1;
    transform: none;
}
.hero-mockup .browser-frame {
    background: #ffffff;
    border-color: #c9d6e5;
    box-shadow: 0 24px 70px rgba(16, 24, 40, 0.16);
}
.hero-mockup .browser-content {
    background: #ffffff;
}
.hero-mockup .mock-step.pending {
    opacity: 0.7;
}
.hero-stats-bar {
    padding: 0.85rem 1rem;
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}
.hero-stat { color: #344054; font-weight: 600; }
.hero-stat i { color: #0f766e; opacity: 1; }

.browser-frame,
.step-card,
.product-card-select,
.panel-mockup .browser-frame,
.integration-item,
.use-case-card,
.enterprise-card,
.enterprise-banner,
.pricing-card,
.pricing-teaser-card,
.faq-item,
.mock-mcp-card,
.mock-msg,
.mock-widget-popup {
    border-radius: 8px;
}
.browser-frame {
    border-color: #ccd6e3;
    box-shadow: 0 22px 60px rgba(16, 24, 40, 0.12);
}
.browser-topbar {
    background: #f8fafc;
}
.browser-dots span {
    background: #cbd5e1 !important;
}
.mock-step-icon.mcp,
.mock-step-icon.code,
.mock-step-icon.agent,
.mock-step-icon.action,
.product-card-select.active .product-card-icon {
    background: #1d4ed8;
}
.mock-step-icon.code { background: #0f766e; }
.mock-step-icon.action { background: #475467; }

.how-it-works-section,
.enterprise-section,
.faq-section,
.live-demo-section {
    background: #f7f9fc;
}
.product-showcase-section,
.pricing-section,
.stats-section {
    background: #ffffff;
}
.step-card,
.product-card-select,
.enterprise-card,
.pricing-card,
.pricing-teaser-card,
.faq-item {
    box-shadow: var(--shadow-sm);
}
.step-card:hover,
.product-card-select:hover,
.use-case-card:hover,
.enterprise-card:hover,
.pricing-card:hover,
.pricing-teaser-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.product-selector { gap: 1rem; }
.product-card-select {
    background: #ffffff;
    border: 1px solid #d9e2ec;
    text-align: left;
}
.product-card-select.active {
    border-color: #1d4ed8;
    box-shadow: inset 0 3px 0 #1d4ed8, var(--shadow-md);
}
.product-card-icon {
    margin-left: 0;
    border-radius: 8px;
    background: #eef4ff;
}
.product-tabs {
    background: #eef3f8;
    border-radius: 8px;
}
.product-tab,
.product-tab.active {
    border-radius: 6px;
}
.panel-explore-btn,
.cta-primary-dark,
.nav-btn.primary,
.pricing-btn.primary,
.pricing-teaser-cta .btn-primary {
    background: #1d4ed8;
}
.panel-explore-btn:hover,
.cta-primary-dark:hover,
.nav-btn.primary:hover,
.pricing-btn.primary:hover,
.pricing-teaser-cta .btn-primary:hover {
    background: #1e40af;
    box-shadow: var(--glow-primary);
}
.enterprise-badge,
.mock-wf-badge.running {
    background: #ecfdf5;
    color: #0f766e;
}
.final-cta-section {
    background: #101828;
}
.modern-footer {
    background: #0b1220;
}

@media (max-width: 1200px) {
    .hero-title { font-size: 2.85rem; }
}
@media (max-width: 768px) {
    .section-title { font-size: 2.1rem; }
    .hero-title { font-size: 2.55rem; }
    .hero-dark { padding: 112px 1.25rem 70px; }
    .hero-stats-bar { align-items: flex-start; }
}
@media (max-width: 480px) {
    .section-title { font-size: 1.85rem; }
    .hero-title { font-size: 2.15rem; }
}

body.loaded .hero-badge,
body.loaded .hero-title,
body.loaded .hero-description,
body.loaded .hero-cta-group,
body.loaded .hero-stats-bar,
body.loaded .hero-mockup {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
}

/* ============================================
   SOLUTIONS
   ============================================ */
.solution-hero {
    padding: 104px 0 88px;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border-bottom: 1px solid #e5edf5;
}

.solution-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
    gap: 4rem;
    align-items: center;
}

.solution-hero-copy h1 {
    margin: 1rem 0 1.25rem;
    color: #0b1220;
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 4vw, 4.35rem);
    line-height: 1.04;
    letter-spacing: 0;
}

.solution-hero .feature-hero-tag {
    color: #1d4ed8;
    background: #eef4ff;
    border: 1px solid #c7d7fe;
}

.solution-hero .btn-ghost {
    color: #1d4ed8;
    background: #ffffff;
    border: 1px solid #c7d7fe;
}

.solution-hero .btn-ghost:hover {
    background: #eef4ff;
}

.solution-hero-copy p {
    max-width: 720px;
    color: #475467;
    font-size: 1.12rem;
    line-height: 1.75;
}

.solution-panel {
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    box-shadow: 0 22px 60px rgba(16, 24, 40, 0.12);
    padding: 1.2rem;
}

.solution-hero-art {
    margin: 0;
    width: 100%;
    max-width: 560px;
    justify-self: end;
    background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
    border: 1px solid #d9e2ec;
    border-radius: 14px;
    box-shadow: 0 22px 60px rgba(16, 24, 40, 0.13);
    overflow: hidden;
}

.solution-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e5edf5;
    color: #344054;
    font-weight: 700;
}

.solution-panel-header strong {
    color: #0f766e;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    padding: 0.25rem 0.65rem;
    font-size: 0.78rem;
}

.solution-chat,
.solution-pipeline {
    display: grid;
    gap: 0.8rem;
}

.solution-msg,
.solution-pipeline div {
    border: 1px solid #e5edf5;
    border-radius: 8px;
    padding: 0.9rem 1rem;
    color: #344054;
    background: #f8fafc;
}

.solution-msg.ai {
    background: #eef4ff;
    border-color: #c7d7fe;
    color: #1e3a8a;
}

.solution-msg.meta {
    background: #ecfdf5;
    border-color: #bbf7d0;
    color: #0f766e;
    font-size: 0.88rem;
    font-weight: 700;
}

.solution-pipeline div {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
}

.solution-pipeline i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #1d4ed8;
    color: #ffffff;
}

.solution-band {
    background: #101828;
    padding: 1.3rem 0;
}

.solution-outcomes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.solution-outcomes div {
    border-left: 1px solid rgba(255,255,255,0.16);
    padding-left: 1rem;
}

.solution-outcomes strong,
.solution-outcomes span {
    display: block;
}

.solution-outcomes strong {
    color: #ffffff;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.solution-outcomes span {
    margin-top: 0.35rem;
    color: #cbd5e1;
}

.solution-flow {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.solution-flow > div,
.solution-note {
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    padding: 1.25rem;
}

.solution-flow span {
    display: inline-flex;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #1d4ed8;
    color: #ffffff;
    font-weight: 800;
}

.solution-flow strong {
    display: block;
    margin-top: 1rem;
    color: #0b1220;
    font-size: 1rem;
}

.solution-flow p,
.solution-note p {
    margin: 0.55rem 0 0;
    color: #667085;
    line-height: 1.65;
}

.solution-note {
    background: #f8fafc;
}

.solution-note h3 {
    color: #0b1220;
    margin-bottom: 0.5rem;
}

.solutions-section {
    background: #f7f9fc;
    padding: 82px 0;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.9rem;
}

.solution-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
}

.solution-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: #1d4ed8;
}

.solution-card-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #eef4ff;
    color: #1d4ed8;
    margin-bottom: 1rem;
}

.solution-card-visual {
    position: relative;
    height: 116px;
    background: linear-gradient(135deg, #f8fbff 0%, #eef4ff 100%);
    border-bottom: 1px solid #e5edf5;
    overflow: hidden;
}

.solution-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1rem;
}

.solution-pill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin: 0.15rem 0 0.85rem;
}

.solution-pill-list small {
    color: #1d4ed8;
    background: #eef4ff;
    border: 1px solid #c7d7fe;
    border-radius: 999px;
    padding: 0.2rem 0.45rem;
    font-size: 0.66rem;
    font-weight: 800;
}

.solution-card h3 {
    color: #0b1220;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.solution-card p {
    color: #667085;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.solution-card-body > span {
    margin-top: auto;
    color: #1d4ed8;
    font-weight: 700;
    font-size: 0.86rem;
}

.solution-card-kicker {
    color: #64748b;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.45rem;
}

.solution-product-visual {
    position: relative;
    min-height: 290px;
    padding: 1rem;
}

.solution-card-visual .mini-window,
.solution-card-visual .mini-panel,
.solution-product-visual .mini-window,
.solution-product-visual .mini-panel {
    position: absolute;
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.mini-window {
    left: 7%;
    top: 16%;
    width: 58%;
    height: 58%;
    padding: 0.55rem;
}

.mini-panel {
    right: 7%;
    top: 20%;
    width: 30%;
    height: 54%;
    padding: 0.55rem;
    background: #0f172a;
}

.mini-bar {
    display: flex;
    gap: 0.25rem;
    align-items: center;
    height: 12px;
    margin-bottom: 0.5rem;
}

.mini-bar span {
    width: 5px;
    height: 5px;
    border-radius: 999px;
    background: #cbd5e1;
}

.mini-line,
.mini-chip,
.mini-block {
    border-radius: 5px;
    background: #e2e8f0;
}

.mini-line {
    height: 8px;
    margin-bottom: 0.38rem;
}

.mini-line.wide { width: 82%; }
.mini-line.mid { width: 62%; }
.mini-line.short { width: 42%; }
.mini-line.blue { background: #bfdbfe; }
.mini-line.green { background: #bbf7d0; }
.mini-line.orange { background: #fed7aa; }

.mini-row {
    display: flex;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

.mini-chip {
    width: 40%;
    height: 16px;
}

.mini-panel .mini-line {
    background: rgba(255,255,255,0.85);
}

.mini-panel .mini-line:first-child {
    background: #2563eb;
}

.mini-node-row {
    position: absolute;
    left: 8%;
    right: 8%;
    top: 36%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mini-node-row::before {
    content: "";
    position: absolute;
    left: 12%;
    right: 12%;
    height: 2px;
    background: #93c5fd;
    z-index: 0;
}

.mini-node {
    position: relative;
    z-index: 1;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #ffffff;
    border: 1px solid #bfdbfe;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1d4ed8;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
}

.solution-product-visual .mini-window {
    left: 8%;
    top: 16%;
    width: 56%;
    height: 58%;
    padding: 0.9rem;
}

.solution-product-visual .mini-panel {
    right: 8%;
    top: 22%;
    width: 28%;
    height: 50%;
    padding: 0.9rem;
}

.solution-product-visual .mini-line {
    height: 12px;
    margin-bottom: 0.6rem;
}

.solution-product-visual .mini-chip {
    height: 28px;
}

.solution-product-visual .mini-node {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    font-size: 1.15rem;
}

.solution-product-visual .mini-node-row {
    top: 40%;
}

.visual-browser,
.visual-account,
.visual-action-card,
.visual-routing,
.visual-source-stack,
.visual-output-card,
.visual-log-row {
    position: absolute;
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.visual-browser {
    left: 7%;
    top: 12%;
    width: 58%;
    padding: 0.48rem;
}

.visual-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.42rem;
    font-size: 0.52rem;
    color: #64748b;
    font-weight: 800;
    text-transform: uppercase;
}

.visual-top strong {
    color: #0f766e;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    padding: 0.08rem 0.32rem;
    font-size: 0.48rem;
}

.visual-question,
.visual-answer {
    border-radius: 6px;
    padding: 0.34rem 0.42rem;
    font-size: 0.55rem;
    line-height: 1.25;
    font-weight: 700;
}

.visual-question {
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.visual-answer {
    margin-top: 0.32rem;
    background: #eef4ff;
    color: #1e3a8a;
    border: 1px solid #bfdbfe;
}

.visual-form-row,
.visual-tool-row {
    display: flex;
    gap: 0.3rem;
    margin-top: 0.35rem;
}

.visual-form-row span,
.visual-tool-row span {
    flex: 1;
    border-radius: 6px;
    padding: 0.24rem 0.3rem;
    font-size: 0.48rem;
    font-weight: 800;
    color: #0f766e;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
}

.visual-form-row span:last-child {
    color: #c2410c;
    background: #fff7ed;
    border-color: #fed7aa;
}

.visual-routing {
    right: 7%;
    top: 18%;
    width: 30%;
    padding: 0.44rem;
    background: #0f172a;
}

.visual-routing div {
    border-radius: 6px;
    padding: 0.27rem 0.35rem;
    background: #ffffff;
}

.visual-routing div + div {
    margin-top: 0.28rem;
}

.visual-routing strong,
.visual-routing span {
    display: block;
}

.visual-routing strong {
    color: #0f172a;
    font-size: 0.52rem;
}

.visual-routing span {
    margin-top: 0.05rem;
    color: #64748b;
    font-size: 0.45rem;
    font-weight: 700;
}

.visual-account {
    left: 7%;
    top: 18%;
    width: 38%;
    padding: 0.52rem;
}

.visual-label {
    color: #64748b;
    font-size: 0.5rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.visual-account strong,
.visual-account span,
.visual-account em {
    display: block;
}

.visual-account strong {
    margin-top: 0.18rem;
    color: #0f172a;
    font-size: 0.78rem;
}

.visual-account span {
    margin-top: 0.08rem;
    color: #64748b;
    font-size: 0.52rem;
    font-weight: 700;
}

.visual-account em {
    margin-top: 0.36rem;
    color: #0f766e;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    padding: 0.18rem 0.35rem;
    font-size: 0.48rem;
    font-style: normal;
    font-weight: 900;
    text-align: center;
}

.visual-action-card {
    right: 7%;
    top: 18%;
    width: 48%;
    padding: 0.52rem;
    background: #0f172a;
}

.visual-action-card .visual-question {
    background: #ffffff;
    border-color: transparent;
}

.visual-action-card .visual-answer {
    background: #eef4ff;
    border-color: transparent;
}

.visual-action-card .visual-tool-row span {
    color: #1d4ed8;
    background: #ffffff;
    border-color: transparent;
    text-align: center;
}

.solution-card-visual .visual-action-card {
    top: 14%;
    padding: 0.42rem;
}

.solution-card-visual .visual-action-card .visual-question,
.solution-card-visual .visual-action-card .visual-answer {
    padding: 0.28rem 0.35rem;
    font-size: 0.5rem;
}

.solution-card-visual .visual-action-card .visual-tool-row span {
    padding: 0.16rem 0.2rem;
    font-size: 0.42rem;
}

.visual-source-stack {
    left: 7%;
    top: 18%;
    width: 30%;
    padding: 0.42rem;
    background: #0f172a;
}

.visual-source-stack span {
    display: block;
    border-radius: 6px;
    padding: 0.26rem 0.35rem;
    background: #ffffff;
    color: #0f172a;
    font-size: 0.5rem;
    font-weight: 900;
}

.visual-source-stack span + span {
    margin-top: 0.28rem;
}

.visual-agent-node {
    position: absolute;
    left: 45%;
    top: 34%;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.1rem;
    color: #ffffff;
    background: #2563eb;
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.3);
}

.visual-agent-node::before,
.visual-agent-node::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 54px;
    height: 2px;
    background: #93c5fd;
}

.visual-agent-node::before {
    right: 100%;
}

.visual-agent-node::after {
    left: 100%;
}

.visual-agent-node span {
    font-size: 0.44rem;
    font-weight: 900;
    text-transform: uppercase;
}

.visual-output-card {
    right: 7%;
    top: 20%;
    width: 32%;
    padding: 0.5rem;
}

.visual-output-card strong,
.visual-output-card span,
.visual-output-card em {
    display: block;
}

.visual-output-card strong {
    color: #0f172a;
    font-size: 0.62rem;
}

.visual-output-card span {
    margin-top: 0.38rem;
    color: #b91c1c;
    background: #fee2e2;
    border-radius: 6px;
    padding: 0.22rem 0.32rem;
    font-size: 0.48rem;
    font-weight: 900;
}

.visual-output-card em {
    margin-top: 0.28rem;
    color: #0f766e;
    background: #ecfdf5;
    border-radius: 6px;
    padding: 0.22rem 0.32rem;
    font-size: 0.48rem;
    font-style: normal;
    font-weight: 900;
}

.visual-flow-row {
    position: absolute;
    left: 7%;
    right: 7%;
    top: 26%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.visual-flow-row::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    height: 2px;
    background: #93c5fd;
}

.visual-flow-row span {
    position: relative;
    z-index: 1;
    min-width: 48px;
    border-radius: 8px;
    padding: 0.4rem 0.34rem;
    color: #1d4ed8;
    background: #ffffff;
    border: 1px solid #bfdbfe;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
    font-size: 0.48rem;
    font-weight: 900;
    text-align: center;
}

.visual-log-row {
    left: 10%;
    right: 10%;
    bottom: 14%;
    padding: 0.45rem 0.6rem;
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    align-items: center;
    background: #0f172a;
}

.visual-log-row strong {
    color: #ffffff;
    font-size: 0.56rem;
}

.visual-log-row em {
    color: #bfdbfe;
    font-size: 0.5rem;
    font-style: normal;
    font-weight: 800;
}

.solution-product-visual .visual-browser,
.solution-product-visual .visual-account,
.solution-product-visual .visual-action-card,
.solution-product-visual .visual-routing,
.solution-product-visual .visual-source-stack,
.solution-product-visual .visual-output-card {
    padding: 0.85rem;
}

.solution-product-visual .visual-question,
.solution-product-visual .visual-answer {
    padding: 0.55rem 0.65rem;
    font-size: 0.82rem;
}

.solution-product-visual .visual-top,
.solution-product-visual .visual-label {
    font-size: 0.7rem;
}

.solution-product-visual .visual-top strong,
.solution-product-visual .visual-form-row span,
.solution-product-visual .visual-tool-row span,
.solution-product-visual .visual-account em,
.solution-product-visual .visual-source-stack span,
.solution-product-visual .visual-output-card span,
.solution-product-visual .visual-output-card em,
.solution-product-visual .visual-routing span {
    font-size: 0.68rem;
}

.solution-product-visual .visual-routing strong,
.solution-product-visual .visual-output-card strong {
    font-size: 0.85rem;
}

.solution-product-visual .visual-account strong {
    font-size: 1.2rem;
}

.solution-product-visual .visual-account span {
    font-size: 0.82rem;
}

.solution-product-visual .visual-agent-node {
    width: 68px;
    height: 68px;
    font-size: 1.25rem;
}

.solution-product-visual .visual-agent-node::before,
.solution-product-visual .visual-agent-node::after {
    width: 70px;
}

.solution-product-visual .visual-flow-row span {
    min-width: 76px;
    padding: 0.62rem 0.55rem;
    font-size: 0.72rem;
}

.solution-product-visual .visual-log-row {
    padding: 0.75rem 0.9rem;
}

.solution-product-visual .visual-log-row strong {
    font-size: 0.85rem;
}

.solution-product-visual .visual-log-row em {
    font-size: 0.76rem;
}

.scene-conversion { --scene-accent: #0f766e; --scene-accent-soft: #ecfdf5; --scene-accent-border: #99f6e4; }
.scene-portal { --scene-accent: #1d4ed8; --scene-accent-soft: #eef4ff; --scene-accent-border: #bfdbfe; }
.scene-agent { --scene-accent: #7c3aed; --scene-accent-soft: #f5f3ff; --scene-accent-border: #ddd6fe; }
.scene-workflow { --scene-accent: #b45309; --scene-accent-soft: #fff7ed; --scene-accent-border: #fed7aa; }

.solution-card-visual:has(.preview-shell) {
    height: 136px;
    padding: 0.6rem;
    background:
        radial-gradient(circle at 12% 18%, rgba(29, 78, 216, 0.1), transparent 26%),
        linear-gradient(135deg, #fbfdff 0%, #edf4ff 100%);
}

.preview-shell {
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #d7e2ef;
    border-radius: 9px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.solution-card-visual .preview-shell {
    min-height: 104px;
}

.solution-product-visual .preview-shell {
    position: absolute;
    inset: 1.15rem;
    height: auto;
    min-height: 250px;
    border-radius: 12px;
    box-shadow: 0 26px 70px rgba(15, 23, 42, 0.18);
}

.preview-nav {
    display: flex;
    align-items: center;
    gap: 0.24rem;
    padding: 0.34rem 0.46rem;
    color: #475467;
    background: #f8fafc;
    border-bottom: 1px solid #e5edf5;
}

.preview-nav span {
    width: 5px;
    height: 5px;
    flex: 0 0 5px;
    border-radius: 999px;
    background: #cbd5e1;
}

.preview-nav strong {
    min-width: 0;
    margin-left: 0.22rem;
    color: #0f172a;
    font-size: 0.52rem;
    font-weight: 850;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.preview-body {
    min-height: 0;
    padding: 0.42rem;
    display: grid;
    gap: 0.42rem;
    align-items: stretch;
}

.preview-split {
    grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
}

.preview-page,
.preview-assistant,
.account-card,
.action-panel,
.brief-card,
.workflow-audit {
    min-width: 0;
    border-radius: 7px;
    border: 1px solid #d9e2ec;
}

.preview-page {
    padding: 0.42rem;
    background: #f8fafc;
}

.preview-page strong,
.brief-card strong,
.workflow-audit b {
    display: block;
    color: #0f172a;
    font-size: 0.55rem;
    font-weight: 900;
}

.line {
    display: block;
    height: 5px;
    margin-top: 0.32rem;
    border-radius: 999px;
    background: #cbd5e1;
}

.line.wide { width: 88%; }
.line.mid { width: 64%; }

.source-chip,
.mini-metric-row span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    color: var(--scene-accent);
    background: var(--scene-accent-soft);
    border: 1px solid var(--scene-accent-border);
    font-size: 0.43rem;
    font-weight: 900;
}

.source-chip {
    margin-top: 0.42rem;
    padding: 0.16rem 0.3rem;
}

.preview-assistant,
.action-panel {
    padding: 0.42rem;
    color: #ffffff;
    background: #0f172a;
    border-color: #18243a;
}

.assistant-head {
    display: flex;
    align-items: center;
    gap: 0.24rem;
    margin-bottom: 0.34rem;
}

.assistant-head b {
    width: 10px;
    height: 10px;
    flex: 0 0 10px;
    border-radius: 4px;
    background: var(--scene-accent);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08);
}

.assistant-head span {
    color: #dbeafe;
    font-size: 0.48rem;
    font-weight: 850;
}

.preview-assistant p,
.action-panel p {
    margin: 0;
    padding: 0.28rem 0.34rem;
    color: #0f172a;
    background: #ffffff;
    border-radius: 5px;
    font-size: 0.48rem;
    line-height: 1.2;
    font-weight: 900;
}

.preview-assistant em,
.action-panel em,
.account-card em,
.brief-card em,
.brief-card small,
.workflow-audit span {
    display: block;
    font-style: normal;
    font-weight: 850;
}

.preview-assistant em,
.action-panel em {
    margin-top: 0.28rem;
    padding: 0.28rem 0.34rem;
    color: #1e3a8a;
    background: #dbeafe;
    border-radius: 5px;
    font-size: 0.45rem;
    line-height: 1.2;
}

.field-grid,
.tool-strip,
.mini-metric-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.26rem;
    margin-top: 0.3rem;
}

.field-grid span,
.tool-strip span {
    min-width: 0;
    border-radius: 5px;
    padding: 0.18rem 0.22rem;
    color: var(--scene-accent);
    background: #ffffff;
    font-size: 0.4rem;
    font-weight: 900;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-metric-row span {
    justify-content: center;
    padding: 0.18rem 0.28rem;
}

.preview-status {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.32rem;
    padding: 0.34rem 0.42rem;
    background: #f8fafc;
    border-top: 1px solid #e5edf5;
}

.preview-status span {
    min-width: 0;
    color: #344054;
    font-size: 0.43rem;
    font-weight: 850;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.preview-status span::before {
    content: "";
    display: inline-block;
    width: 5px;
    height: 5px;
    margin-right: 0.22rem;
    border-radius: 999px;
    background: var(--scene-accent);
    vertical-align: 0.05em;
}

.portal-grid {
    grid-template-columns: minmax(0, 0.74fr) minmax(0, 1.26fr);
}

.account-card {
    padding: 0.42rem;
    background: #f8fafc;
}

.account-card small {
    display: block;
    color: #64748b;
    font-size: 0.42rem;
    font-weight: 900;
    text-transform: uppercase;
}

.account-card strong {
    display: block;
    margin-top: 0.18rem;
    color: #0f172a;
    font-size: 0.66rem;
    font-weight: 950;
}

.account-card span,
.account-card em {
    margin-top: 0.16rem;
    color: #475467;
    font-size: 0.43rem;
    font-weight: 850;
}

.account-card em {
    padding: 0.16rem 0.24rem;
    color: var(--scene-accent);
    background: var(--scene-accent-soft);
    border: 1px solid var(--scene-accent-border);
    border-radius: 999px;
    text-align: center;
}

.tool-strip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.agent-grid {
    grid-template-columns: minmax(0, 0.78fr) 44px minmax(0, 1.02fr);
    align-items: center;
}

.source-stack {
    display: grid;
    gap: 0.24rem;
}

.source-stack span {
    min-width: 0;
    padding: 0.25rem 0.34rem;
    color: #ffffff;
    background: #0f172a;
    border-radius: 6px;
    font-size: 0.46rem;
    font-weight: 900;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.agent-core {
    position: relative;
    z-index: 1;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.08rem;
    width: 44px;
    height: 44px;
    color: #ffffff;
    background: var(--scene-accent);
    border-radius: 14px;
    box-shadow: 0 14px 30px rgba(124, 58, 237, 0.3);
}

.agent-core::before,
.agent-core::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 18px;
    height: 2px;
    background: var(--scene-accent-border);
}

.agent-core::before { right: 100%; }
.agent-core::after { left: 100%; }

.agent-core b,
.agent-core em {
    display: block;
    font-style: normal;
    font-size: 0.4rem;
    line-height: 1;
    font-weight: 950;
}

.agent-core em {
    color: rgba(255, 255, 255, 0.78);
}

.brief-card {
    padding: 0.42rem;
    background: #ffffff;
}

.brief-card span,
.brief-card em,
.brief-card small {
    margin-top: 0.26rem;
    border-radius: 5px;
    padding: 0.2rem 0.26rem;
    font-size: 0.43rem;
}

.brief-card span {
    display: block;
    color: #b91c1c;
    background: #fee2e2;
    font-weight: 900;
}

.brief-card em {
    color: #0f766e;
    background: #ecfdf5;
}

.brief-card small {
    color: var(--scene-accent);
    background: var(--scene-accent-soft);
}

.workflow-canvas {
    position: relative;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-content: center;
    gap: 0.34rem;
}

.workflow-canvas::before {
    content: "";
    position: absolute;
    left: 9%;
    right: 9%;
    top: 34%;
    height: 2px;
    background: var(--scene-accent-border);
}

.workflow-node {
    position: relative;
    z-index: 1;
    min-width: 0;
    padding: 0.35rem 0.3rem;
    color: #0f172a;
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 7px;
    box-shadow: 0 9px 20px rgba(15, 23, 42, 0.1);
    font-size: 0.44rem;
    font-weight: 950;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.workflow-node.ai { color: #1d4ed8; border-color: #bfdbfe; background: #eef4ff; }
.workflow-node.rule { color: #b45309; border-color: #fed7aa; background: #fff7ed; }
.workflow-node.approval,
.workflow-node.notify { color: #0f766e; border-color: #99f6e4; background: #ecfdf5; }

.workflow-audit {
    grid-column: 1 / -1;
    padding: 0.34rem 0.42rem;
    color: #ffffff;
    background: #0f172a;
    border-color: #18243a;
}

.workflow-audit b,
.workflow-audit span {
    color: #ffffff;
}

.workflow-audit span {
    margin-top: 0.08rem;
    color: #bfdbfe;
    font-size: 0.45rem;
}

.solution-product-visual:has(.preview-shell) {
    min-height: 360px;
}

.solution-product-visual .preview-nav {
    padding: 0.62rem 0.78rem;
}

.solution-product-visual .preview-nav span {
    width: 7px;
    height: 7px;
    flex-basis: 7px;
}

.solution-product-visual .preview-nav strong {
    font-size: 0.78rem;
}

.solution-product-visual .preview-body {
    padding: 0.85rem;
    gap: 0.85rem;
}

.solution-product-visual .preview-page,
.solution-product-visual .preview-assistant,
.solution-product-visual .account-card,
.solution-product-visual .action-panel,
.solution-product-visual .brief-card,
.solution-product-visual .workflow-audit {
    border-radius: 10px;
    padding: 0.85rem;
}

.solution-product-visual .preview-page strong,
.solution-product-visual .brief-card strong,
.solution-product-visual .workflow-audit b {
    font-size: 0.92rem;
}

.solution-product-visual .line {
    height: 8px;
    margin-top: 0.58rem;
}

.solution-product-visual .source-chip,
.solution-product-visual .mini-metric-row span,
.solution-product-visual .preview-status span,
.solution-product-visual .account-card small,
.solution-product-visual .account-card span,
.solution-product-visual .account-card em,
.solution-product-visual .source-stack span,
.solution-product-visual .brief-card span,
.solution-product-visual .brief-card em,
.solution-product-visual .brief-card small,
.solution-product-visual .workflow-audit span {
    font-size: 0.7rem;
}

.solution-product-visual .assistant-head span,
.solution-product-visual .preview-assistant p,
.solution-product-visual .preview-assistant em,
.solution-product-visual .action-panel p,
.solution-product-visual .action-panel em,
.solution-product-visual .field-grid span,
.solution-product-visual .tool-strip span,
.solution-product-visual .workflow-node {
    font-size: 0.72rem;
}

.solution-product-visual .assistant-head b {
    width: 16px;
    height: 16px;
    flex-basis: 16px;
    border-radius: 6px;
}

.solution-product-visual .account-card strong {
    font-size: 1.12rem;
}

.solution-product-visual .agent-grid {
    grid-template-columns: minmax(0, 0.86fr) 72px minmax(0, 1fr);
}

.solution-product-visual .agent-core {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    font-size: 1.15rem;
}

.solution-product-visual .agent-core::before,
.solution-product-visual .agent-core::after {
    width: 38px;
}

.solution-product-visual .agent-core b,
.solution-product-visual .agent-core em {
    font-size: 0.62rem;
}

.solution-product-visual .workflow-canvas {
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.solution-product-visual .workflow-canvas::before {
    top: 32%;
}

.solution-product-visual .workflow-node {
    padding: 0.58rem 0.5rem;
}

.solution-product-visual .preview-status {
    padding: 0.65rem 0.8rem;
}

.solution-stack {
    display: grid;
    gap: 0.75rem;
}

.solution-stack-row {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    align-items: center;
    gap: 0.85rem;
    border: 1px solid #e5edf5;
    border-radius: 8px;
    padding: 0.85rem;
    background: #f8fafc;
}

.solution-stack-row i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #ffffff;
    background: #1d4ed8;
}

.solution-stack-row strong,
.solution-stack-row span {
    display: block;
}

.solution-stack-row strong {
    color: #0b1220;
    font-size: 0.95rem;
}

.solution-stack-row span {
    color: #667085;
    font-size: 0.82rem;
    margin-top: 0.15rem;
}

.solution-stack-row em {
    color: #0f766e;
    background: #ecfdf5;
    border: 1px solid #bbf7d0;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
    font-size: 0.72rem;
    font-style: normal;
    font-weight: 800;
}

.solution-scenario {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1rem;
    align-items: stretch;
}

.solution-scenario-card {
    background: #0f172a;
    color: #ffffff;
    border-radius: 8px;
    padding: 1.5rem;
}

.solution-scenario-card h3 {
    color: #ffffff;
    margin-bottom: 0.75rem;
}

.solution-scenario-card p {
    color: #cbd5e1;
    line-height: 1.65;
}

.solution-capability-list {
    display: grid;
    gap: 0.65rem;
}

.solution-capability-list div {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 0.75rem;
    align-items: start;
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 8px;
    padding: 0.9rem;
}

.solution-capability-list i {
    color: #1d4ed8;
    margin-top: 0.18rem;
}

.solution-capability-list strong {
    display: block;
    color: #0b1220;
    margin-bottom: 0.2rem;
}

.solution-capability-list span {
    color: #667085;
    line-height: 1.5;
}

@media (max-width: 980px) {
    .solution-hero-grid,
    .solution-outcomes,
    .solution-flow,
    .solutions-grid,
    .solution-scenario {
        grid-template-columns: 1fr;
    }

    .solution-hero {
        padding: 88px 0 72px;
    }

    .solution-hero-art {
        justify-self: stretch;
        max-width: none;
    }
}

@media (min-width: 981px) and (max-width: 1180px) {
    .solutions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ============================================
   ENTERPRISE UI POLISH
   ============================================ */
.container {
    max-width: 1180px;
}

.floating-nav .nav-glass {
    min-height: 64px;
    padding: 0 2.5rem;
}

.nav-brand-text {
    font-size: 1.25rem;
}

.nav-link {
    font-size: 0.88rem;
}

.nav-btn {
    padding: 0.56rem 1.15rem;
    box-shadow: none;
}

.hero-dark {
    padding: 108px 2rem 64px;
    border-bottom: 1px solid #d9e2ec;
}

.hero-grid-lines {
    background-size: 64px 64px;
    opacity: 0.75;
}

.hero-split {
    grid-template-columns: minmax(0, 0.86fr) minmax(520px, 1fr);
    gap: 3rem;
}

.hero-badge {
    margin-bottom: 1.45rem;
    padding: 0.42rem 0.85rem;
}

.badge-text {
    font-size: 0.72rem;
}

.hero-title {
    max-width: 650px;
    margin-bottom: 1.25rem;
    font-size: clamp(2.35rem, 3.35vw, 3.05rem);
}

.hero-description {
    max-width: 620px;
    margin-bottom: 1.7rem;
    font-size: 1.02rem;
    line-height: 1.68;
}

.hero-cta-group {
    margin-bottom: 1.25rem;
}

.cta-primary-dark,
.cta-ghost-dark {
    min-height: 48px;
    padding: 0.75rem 1.35rem;
    border-radius: 7px;
}

.hero-stats-bar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem 1rem;
    max-width: 620px;
    padding: 0.85rem 1rem;
}

.hero-stat-divider {
    display: none;
}

.hero-stat {
    min-width: 0;
    font-size: 0.8rem;
}

.hero-stat span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-mockup .browser-frame {
    border-radius: 8px;
    box-shadow: 0 28px 80px rgba(16, 24, 40, 0.16);
}

.hero-mockup .browser-topbar {
    padding: 0.65rem 0.8rem;
}

.mockup-workflow-editor {
    grid-template-columns: 190px 1fr;
    min-height: 315px;
}

.hero-mockup .mock-sidebar {
    background: #0b1220;
    border-right: 1px solid #18243a;
}

.hero-mockup .mock-sidebar-title {
    color: #ffffff;
}

.hero-mockup .mock-trigger-badge {
    color: #bfdbfe;
    background: rgba(37, 99, 235, 0.18);
    border: 1px solid rgba(147, 197, 253, 0.2);
}

.hero-mockup .mock-steps {
    gap: 0.62rem;
    padding: 1.25rem;
    background: #ffffff;
}

.hero-mockup .mock-step {
    padding: 0.76rem;
    border-color: #d9e2ec;
    border-radius: 7px;
}

.hero-mockup .mock-step-connector {
    display: none;
}

.hero-mockup .mock-step-icon {
    width: 34px;
    height: 34px;
    border-radius: 7px;
}

#how-it-works,
#solutions,
#product {
    padding: 78px 0;
}

#how-it-works .section-header,
#solutions .section-header,
#product .section-header {
    max-width: 820px;
    margin-bottom: 2.2rem;
    text-align: left;
}

#how-it-works .section-subtitle,
#solutions .section-subtitle,
#product .section-subtitle {
    margin-left: 0;
    margin-right: 0;
}

#how-it-works .section-title,
#solutions .section-title,
#product .section-title {
    max-width: 900px;
    font-size: clamp(2rem, 3vw, 2.65rem);
    line-height: 1.12;
}

.section-tag {
    margin-bottom: 0.85rem;
    font-size: 0.68rem;
    letter-spacing: 0.18em;
}

.section-subtitle {
    margin-top: 0.85rem;
    font-size: 1.03rem;
    line-height: 1.58;
}

.steps-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.step-connector-h {
    display: none;
}

.step-card {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 1rem;
    max-width: none;
    padding: 1.25rem;
    text-align: left;
    border-radius: 8px;
    box-shadow: none;
}

.step-number {
    position: static;
    grid-row: 1 / span 3;
    width: 40px;
    height: 40px;
    transform: none;
    border-radius: 8px;
    background: #101828;
    font-size: 0.88rem;
}

.step-icon-wrap {
    display: none;
}

.step-card h3,
.step-card p,
.step-example {
    grid-column: 2;
}

.step-card h3 {
    margin: 0 0 0.45rem;
    font-size: 1.02rem;
    line-height: 1.3;
}

.step-card p {
    margin-bottom: 0.9rem;
    font-size: 0.9rem;
}

.step-example {
    padding: 0.48rem 0.65rem;
    border-radius: 6px;
    background: #f8fafc;
}

.step-example code {
    font-size: 0.68rem;
}

.solutions-section {
    background: #eef3f8;
    border-top: 1px solid #d9e2ec;
    border-bottom: 1px solid #d9e2ec;
}

.solutions-grid {
    gap: 0.9rem;
}

.solution-card {
    border-color: #cfd9e6;
    border-radius: 8px;
    box-shadow: none;
}

.solution-card:hover {
    border-color: #94a3b8;
    box-shadow: 0 12px 30px rgba(16, 24, 40, 0.1);
}

.solution-card-visual:has(.preview-shell) {
    height: 142px;
    padding: 0.62rem;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.6), transparent 55%),
        #e8eef7;
}

.solution-card-body {
    padding: 1rem;
}

.solution-card-kicker {
    color: #5f6f86;
    font-size: 0.62rem;
}

.solution-card h3 {
    font-size: 1.02rem;
    line-height: 1.25;
}

.solution-card p {
    font-size: 0.88rem;
}

.solution-pill-list {
    gap: 0.3rem;
    margin-top: 0;
}

.solution-pill-list small {
    border-radius: 5px;
    color: #344054;
    background: #f8fafc;
    border-color: #d9e2ec;
}

.solution-card-body > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.85rem;
    border-top: 1px solid #e5edf5;
}

.preview-shell {
    border-color: #cfd9e6;
    box-shadow: 0 14px 32px rgba(16, 24, 40, 0.12);
}

.preview-nav,
.preview-status {
    background: #f8fafc;
}

.product-showcase-section {
    border-bottom: 1px solid #e5edf5;
}

.product-selector {
    gap: 0;
    overflow: hidden;
    margin-bottom: 2.2rem;
    padding: 0.35rem;
    background: #ffffff;
    border: 1px solid #cfd9e6;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
}

.product-card-select {
    display: grid;
    grid-template-columns: 42px 1fr;
    column-gap: 0.85rem;
    align-items: start;
    min-height: 118px;
    padding: 1rem;
    border: 0;
    border-right: 1px solid #e5edf5;
    border-radius: 6px;
    background: transparent;
    box-shadow: none;
}

.product-card-select:last-child {
    border-right: 0;
}

.product-card-select:hover {
    transform: none;
    background: #f8fbff;
    box-shadow: none;
}

.product-card-select.active {
    border-color: transparent;
    background: #eef4ff;
    box-shadow: inset 0 0 0 1px #bfdbfe;
}

.product-card-icon {
    grid-row: 1 / span 2;
    width: 42px;
    height: 42px;
    margin: 0;
    border-radius: 8px;
    font-size: 1rem;
}

.product-card-select h3 {
    margin: 0 0 0.25rem;
    font-size: 0.98rem;
}

.product-card-select p {
    grid-column: 2;
    font-size: 0.8rem;
    line-height: 1.45;
}

.product-tabs {
    margin-bottom: 2rem;
}

.panel-split {
    gap: 2.75rem;
}

.panel-text h3 {
    font-size: 1.55rem;
}

.panel-text > p {
    font-size: 0.96rem;
}

.solution-hero {
    padding: 92px 0 64px;
    background: #f8fbff;
}

.solution-hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.82fr);
    gap: 3rem;
}

.solution-hero-copy h1 {
    font-size: clamp(2.35rem, 3.55vw, 3.55rem);
    line-height: 1.05;
}

.solution-hero-copy p {
    font-size: 1.04rem;
    line-height: 1.68;
}

.solution-product-visual:has(.preview-shell) {
    min-height: 340px;
}

.solution-band {
    padding: 1rem 0;
    background: #0b1220;
}

.solution-outcomes strong {
    font-size: 0.7rem;
}

.solution-outcomes span {
    font-size: 0.92rem;
}

@media (max-width: 1100px) {
    .hero-split,
    .solution-hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-mockup,
    .solution-hero-art {
        max-width: 720px;
        justify-self: stretch;
    }

    .product-selector,
    .solutions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .product-card-select:nth-child(2) {
        border-right: 0;
    }

    .product-card-select:nth-child(-n + 2) {
        border-bottom: 1px solid #e5edf5;
    }
}

@media (max-width: 768px) {
    #how-it-works,
    #solutions,
    #product {
        padding: 62px 0;
    }

    .floating-nav .nav-glass {
        padding: 0 1rem;
    }

    .hero-dark {
        padding: 96px 1.25rem 56px;
    }

    .hero-stats-bar,
    .steps-row,
    .product-selector,
    .solutions-grid,
    .solution-outcomes {
        grid-template-columns: 1fr;
    }

    .product-card-select,
    .product-card-select:nth-child(2),
    .product-card-select:nth-child(-n + 2) {
        border-right: 0;
        border-bottom: 1px solid #e5edf5;
    }

    .product-card-select:last-child {
        border-bottom: 0;
    }

    .solution-card-visual:has(.preview-shell) {
        height: 154px;
    }

    .mockup-workflow-editor {
        grid-template-columns: 1fr;
    }

    .hero-mockup .mock-sidebar {
        border-right: 0;
        border-bottom: 1px solid #18243a;
    }
}

/* ============================================ */
/* VIDEO SECTIONS                               */
/* ============================================ */
.video-section {
    background: #ffffff;
    padding: 72px 0;
    border-top: 1px solid #e6ecf3;
    border-bottom: 1px solid #e6ecf3;
}
.video-section.video-section-compact {
    padding: 56px 0;
}
.video-section .section-header {
    margin-bottom: 2.5rem;
}
.video-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}
.video-flex > .video-tile {
    flex: 0 1 320px;
    max-width: 340px;
}
.video-tile {
    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 14px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.video-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
}
.video-tile-frame {
    border-radius: 10px;
    overflow: hidden;
    background: #0f172a;
    border: 1px solid #e2e8f0;
}
.video-tile-frame video {
    width: 100%;
    display: block;
    /* Posters and sources are all 1280x720. Pinning the ratio keeps every tile
       the same height and avoids layout shift, since preload="none" means no
       video metadata arrives until play. */
    aspect-ratio: 16 / 9;
    object-fit: cover;
}
.video-tile-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin: 0;
}
.video-tile-desc {
    font-size: 0.88rem;
    color: #5f6f86;
    line-height: 1.5;
    margin: 0;
}
.video-tile-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    padding-top: 0.25rem;
    transition: color 0.2s ease;
}
.video-tile-link i {
    font-size: 0.75rem;
    transition: transform 0.2s ease;
}
.video-tile-link:hover {
    color: var(--color-primary-dark, #4338ca);
}
.video-tile-link:hover i {
    transform: translateX(3px);
}
@media (max-width: 900px) {
    .video-section { padding: 56px 0; }
    .video-section.video-section-compact { padding: 44px 0; }
    .video-flex > .video-tile { flex: 0 1 100%; max-width: 100%; }
}
