/* Self-hosted Diagramm Font */
@font-face {
    font-family: 'Diagramm';
    src: url('./assets/fonts/Diagramm-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Self-hosted Lupina Font */
@font-face {
    font-family: 'Lupina';
    src: url('./assets/fonts/LupinademoRegular-X3ovd.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-sans: 'Diagramm', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Lupina', 'Diagramm', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Courier New', Courier, monospace;
    /* Dark theme colors */
    --color-bg: #0a0a0a;
    --color-bg-elevated: #141414;
    --color-bg-surface: #1a1a1a;
    --color-text: #ffffff;
    --color-text-muted: rgba(255, 255, 255, 0.6);
    --color-text-subtle: rgba(255, 255, 255, 0.4);
    --color-white: #ffffff;
    --color-hairline: rgba(255, 255, 255, 0.1);
    --color-hairline-hover: rgba(255, 255, 255, 0.2);
    --gutter: 80px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    background: var(--color-bg);
    color: var(--color-text);
    font-size: 17px;
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
    width: 100%;
}

/* Typography Scale */
h1, h2, h3 {
    font-family: var(--font-sans);
    font-weight: 400;
    line-height: 1.06;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Header/Navigation - Floating App Bar */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 0;
    box-shadow: none;
    border-bottom: 1px solid var(--color-hairline);
    padding: 0 20px;
}

/* Ultra-light container-width overlay - barely-there fade */
.header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    height: 40px;
    background: linear-gradient(180deg, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0) 100%);
    pointer-events: none;
    z-index: 0;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: padding 0.3s ease;
    position: relative;
    box-sizing: border-box;
    width: 100%;
}

.header[data-condensed] .header-content {
    padding-top: 16px;
    padding-bottom: 16px;
}

.logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
}

.logo {
    height: 32px;
    width: auto;
    display: block;
    transition: height 0.3s ease;
    margin: 0;
    padding: 0;
}

.header[data-condensed] .logo {
    height: 28px;
}

/* Header Navigation */
.header-nav {
    display: inline-flex;
    align-items: center;
    gap: 48px;
    position: relative;
    z-index: 1;
}

.nav-link {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--color-white);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.nav-link:hover {
    color: var(--color-white);
}

.nav-link:hover::after {
    transform: scaleX(1);
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
    display: inline-flex;
}

.nav-dropdown-trigger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-dropdown-trigger::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--color-white);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-trigger::after {
    transform: scaleX(1);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 16px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-hairline);
    padding: 12px 0;
    min-width: 160px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-link {
    display: block;
    padding: 10px 20px;
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    text-decoration: none;
    transition: all 0.15s ease;
}

.nav-dropdown-link:hover {
    color: var(--color-white);
    background-color: var(--color-bg-surface);
}

/* Mobile Menu Toggle - [+] Text */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    z-index: 1001;
    position: relative;
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 500;
    color: var(--color-white);
    transition: all 0.2s ease;
    line-height: 1;
}

.mobile-menu-toggle::before {
    content: '[+]';
    display: block;
}

.mobile-menu-toggle.active::before {
    content: '[×]';
}

/* Hide the hamburger lines */
.hamburger-line {
    display: none;
}

/* Mobile Navigation Menu */
.mobile-nav {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-bg);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
    overflow-x: hidden;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.mobile-nav-content {
    display: block;
    min-height: calc(100vh - 80px);
    padding: 40px 30px 60px 30px;
    width: 100%;
    box-sizing: border-box;
}

.mobile-nav-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin: 0 0 40px 0;
    padding: 0;
    display: block;
    text-indent: 0;
    position: relative;
    left: 0;
}

.mobile-nav-link {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-white);
    text-decoration: none;
    display: block;
    padding: 12px 0;
    margin: 0;
    text-align: left;
    text-indent: 0;
    position: relative;
    left: 0;
    transition: all 0.2s ease;
    line-height: 1.2;
}

.mobile-nav-link:active {
    color: var(--color-text-muted);
}

/* Micro Labels */
.hero-label,
.services-label,
.stats-label,
.how-label,
.cta-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin: 0 0 64px 0;
    padding: 0;
    text-align: left;
    cursor: default;
    position: relative;
    display: inline-block;
}

.services-label,
.how-label {
    padding: 0 12px;
}

.services-label::before,
.how-label::before {
    content: '[';
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

.services-label::after,
.how-label::after {
    content: ']';
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
}

.services-label:hover::before,
.how-label:hover::before {
    transform: translateX(-4px);
}

.services-label:hover::after,
.how-label:hover::after {
    transform: translateX(4px);
}

/* Hero Section - Dark Theme */
.hero {
    padding-top: 45px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.hero.hero-dark {
    background-color: #0a0a0a;
    min-height: 100vh;
    padding: 60px 0 100px;
}

/* Hero Grid Background - Hidden */
.hero-grid-bg {
    display: none;
}

.grid-floor {
    display: none;
}

.grid-wall {
    display: none;
}

/* New Hero Container - Stacked Layout */
.hero-container-new {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding-top: 20px;
}

.hero-content-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-dark .hero-label {
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
}

.hero-dark .hero-title {
    color: #ffffff;
    text-align: center;
    font-size: clamp(36px, 5vw, 64px);
    max-width: 800px;
}

.hero-dark .hero-subhead {
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    max-width: 560px;
}

.hero-dark .cta-button {
    background-color: #ffffff;
    color: #0a0a0a;
}

.hero-dark .cta-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateX(4px);
}

.hero-dark .cta-button .cta-icon path {
    stroke: #0a0a0a;
}

/* Demo Window Wrapper */
.hero-demo-wrapper {
    position: relative;
    width: calc(100% + 180px);
    margin-left: -90px;
    margin-right: -90px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Demo Frame with Background Image */
.hero-demo-frame {
    position: relative;
    background-image: url('assets/images/hero-demo-bg.png');
    background-size: cover;
    background-position: center;
    border-radius: 6px;
    padding: 32px;
    box-shadow:
        0 60px 140px -30px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

/* Demo Slider */
.demo-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
}

.demo-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(60px);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.demo-slide.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
}

.demo-slide.slide-out {
    opacity: 0;
    transform: translateX(-60px);
}

.demo-screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Feature Tabs - Unified Glassmorphic Component */
.demo-feature-tabs {
    position: relative;
    display: inline-flex;
    gap: 0;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 6px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    margin: 0 auto;
}

/* Sliding highlight background */
.tabs-highlight {
    position: absolute;
    top: 6px;
    left: 6px;
    height: calc(100% - 12px);
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Progress bar on highlight */
.tabs-highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 4px;
    right: 4px;
    height: 3px;
    width: 0%;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 3px;
}

.tabs-highlight.animating::after {
    animation: tabProgress 5s linear forwards;
}

@keyframes tabProgress {
    from { width: 0%; }
    to { width: 100%; }
}

.demo-tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    z-index: 1;
    transition: color 0.2s ease;
}

.demo-tab:hover {
    color: rgba(255, 255, 255, 0.8);
}

.demo-tab.active {
    color: #ffffff;
}

.demo-tab .tab-icon {
    width: 18px;
    height: 18px;
    stroke-width: 1.5;
}

.demo-tab span {
    white-space: nowrap;
}

/* Legacy Hero Styles - Keep for other pages */
.hero-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/images/backdrop.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.85;
}

.hero-backdrop::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to top, #ffffff 0%, transparent 100%);
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-container .hero-label {
    text-align: center;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 7vw, 92px);
    font-weight: 400;
    letter-spacing: -0.008em;
    line-height: 1.06;
    margin: 0 0 32px 0;
    padding: 0;
    max-width: 900px;
    text-align: center;
}

.hero-subhead {
    font-size: 18px;
    line-height: 1.5;
    color: var(--color-text-muted);
    max-width: 560px;
    margin: 0 0 48px 0;
    padding: 0;
    font-weight: 400;
    text-align: center;
}

/* Hero Product Demo */
.hero-product-demo {
    margin-top: 64px;
    width: 100%;
    max-width: 1200px;
    position: relative;
}

.product-demo-img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: block;
}

/* About Page */
.about-page {
    padding: 160px 0 120px 0;
    min-height: 70vh;
}

.about-page-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin: 0 0 64px 0;
    padding: 0;
    text-align: left;
}

.about-page-content {
    max-width: 900px;
}

.about-page-text {
    font-size: 24px;
    line-height: 1.65;
    color: var(--color-text);
    margin: 0 0 32px 0;
    padding: 0;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.about-page-text:last-child {
    margin-bottom: 0;
}

/* Pricing Page */
.pricing-page {
    padding: 100px 0 120px 0;
}

.pricing-header {
    margin-bottom: 64px;
}

.pricing-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin: 0 0 32px 0;
    padding: 0;
    text-align: left;
}

.pricing-title {
    font-size: 42px;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--color-text);
    margin: 0;
    padding: 0;
}

/* Billing Toggle */
.billing-toggle {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 80px;
    font-family: var(--font-mono);
}

.billing-btn {
    font-family: var(--font-mono);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: lowercase;
    padding: 0;
    background: none;
    border: none;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: color 0.2s ease;
}

.billing-btn:hover {
    color: var(--color-text);
}

.billing-btn.active {
    color: var(--color-text);
}

.billing-separator {
    font-size: 14px;
    color: var(--color-text-muted);
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
    max-width: 1200px;
}

.pricing-plan {
    border: 1px solid var(--color-hairline);
    padding: 48px;
    display: flex;
    flex-direction: column;
}

.plan-header {
    margin-bottom: 32px;
}

.plan-name {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin: 0 0 24px 0;
}

.plan-price {
    margin-bottom: 16px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.price-amount {
    font-family: var(--font-mono);
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.price-period {
    font-family: var(--font-mono);
    font-size: 16px;
    color: var(--color-text-muted);
    font-weight: 400;
}

.plan-description {
    font-size: 15px;
    color: var(--color-text-muted);
    line-height: 1.5;
}

.plan-divider {
    width: 100%;
    height: 1px;
    background-color: var(--color-hairline);
    margin-bottom: 32px;
}

/* Plan Features */
.plan-features {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 40px;
}

.feature-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-group-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.feature-item {
    font-family: var(--font-mono);
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text);
    font-weight: 400;
}

/* Plan CTA */
.plan-cta {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 18px 32px;
    background-color: var(--color-text);
    color: var(--color-white);
    border: 1px solid var(--color-text);
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.plan-cta:hover {
    background-color: #2a2a2a;
    border-color: #2a2a2a;
}

.plan-cta-secondary {
    background-color: transparent;
    color: var(--color-text);
    border: 1px solid var(--color-text);
}

.plan-cta-secondary:hover {
    background-color: var(--color-text);
    color: var(--color-white);
}

/* Enterprise CTA */
.enterprise-cta {
    margin-top: 48px;
    padding: 24px 32px;
    border: 1px solid var(--color-hairline);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 13px;
}

.enterprise-cta-text {
    color: var(--color-text-muted);
}

.enterprise-cta-link {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.15s ease;
}

.enterprise-cta-link:hover {
    opacity: 0.7;
}

/* Research Page */
.research-page {
    padding: 100px 0 120px 0;
}

.research-header {
    margin-bottom: 80px;
}

.research-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin: 0 0 32px 0;
    padding: 0 12px;
    text-align: left;
    cursor: default;
    position: relative;
    display: inline-block;
}

.research-label::before {
    content: '[';
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

.research-label::after {
    content: ']';
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
}

.research-label:hover::before {
    transform: translateX(-4px);
}

.research-label:hover::after {
    transform: translateX(4px);
}

.research-title {
    font-size: 42px;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--color-text);
    margin: 0;
    padding: 0;
    max-width: 800px;
}

/* Research Filters */
.research-filters {
    margin-bottom: 64px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--color-hairline);
}

.filter-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin: 0 0 20px 0;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.filter-btn {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 10px 20px;
    background-color: transparent;
    color: var(--color-text-muted);
    border: 1px solid var(--color-hairline);
    cursor: pointer;
    transition: all 0.2s ease;
    text-transform: capitalize;
}

.filter-btn:hover {
    background-color: #f5f5f5;
    border-color: #cccccc;
}

.filter-btn.active {
    background-color: var(--color-text);
    color: var(--color-white);
    border-color: var(--color-text);
}

/* Research Grid */
.research-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px 32px;
}

.research-card {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.research-card:hover {
    transform: translateY(-4px);
}

.research-card-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 24px;
    overflow: hidden;
    border-radius: 2px;
}

.research-card-placeholder {
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

.research-card:hover .research-card-placeholder {
    transform: scale(1.05);
}

.research-card-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.research-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.research-card-tag {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: capitalize;
    color: var(--color-text-muted);
    background-color: #f5f5f5;
    padding: 6px 12px;
    border-radius: 2px;
}

.research-card-date {
    font-size: 13px;
    color: var(--color-text-muted);
    font-weight: 400;
}

.research-card-title {
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1.3;
    color: var(--color-text);
    margin: 0;
    padding: 0;
}

.research-card-description {
    font-size: 15px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0;
    padding: 0;
    font-weight: 400;
}

/* Docs Page - Traditional Layout */
.docs-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    min-height: calc(100vh - 80px);
}

/* Docs Sidebar */
.docs-sidebar {
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
    border-right: 1px solid var(--color-hairline);
    padding: 40px 0;
    background: #fafafa;
}

.docs-sidebar-header {
    padding: 0 24px 24px;
    border-bottom: 1px solid var(--color-hairline);
    margin-bottom: 24px;
}

.docs-sidebar-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.docs-nav {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 0 24px;
}

.docs-nav-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.docs-nav-title {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 8px;
    padding: 0;
}

.docs-nav-link {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 400;
    color: var(--color-text-muted);
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.15s ease;
    margin-left: -12px;
}

.docs-nav-link:hover {
    color: var(--color-text);
    background: rgba(0, 0, 0, 0.04);
}

.docs-nav-link.active {
    color: var(--color-text);
    background: rgba(0, 0, 0, 0.06);
    font-weight: 500;
}

/* Docs Content */
.docs-content {
    padding: 48px 64px 120px;
    max-width: 800px;
}

.docs-section {
    margin-bottom: 64px;
    padding-bottom: 64px;
    border-bottom: 1px solid var(--color-hairline);
}

.docs-section:last-of-type {
    border-bottom: none;
}

.docs-section-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.docs-section-heading {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--color-text);
    margin: 0 0 24px 0;
}

h2.docs-section-heading {
    font-size: 26px;
    margin-top: 0;
}

.docs-paragraph {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin: 0 0 20px 0;
}

.docs-paragraph:last-child {
    margin-bottom: 0;
}

/* Docs Callout */
.docs-callout {
    background: #f5f5f5;
    border-left: 3px solid var(--color-text);
    padding: 20px 24px;
    margin: 32px 0;
}

.docs-callout-warning {
    border-left-color: #e6a700;
    background: #fffbeb;
}

.docs-callout-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text);
    margin-bottom: 8px;
}

.docs-callout-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text);
    margin: 0;
}

.docs-callout-text a {
    color: var(--color-text);
    text-decoration: underline;
}

/* Docs Steps */
.docs-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 32px;
}

.docs-step {
    display: flex;
    gap: 24px;
    padding: 24px 0;
    border-top: 1px solid var(--color-hairline);
}

.docs-step:last-child {
    border-bottom: 1px solid var(--color-hairline);
}

.docs-step-number {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: #999999;
    letter-spacing: 0.08em;
    flex-shrink: 0;
    padding-top: 2px;
}

.docs-step-content {
    flex: 1;
}

.docs-step-title {
    font-size: 16px;
    font-weight: 500;
    color: var(--color-text);
    margin: 0 0 6px 0;
}

.docs-step-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0;
}

/* Docs Code Blocks */
.docs-code-block {
    margin: 24px 0;
    border: 1px solid var(--color-hairline);
    border-radius: 4px;
    overflow: hidden;
}

.docs-code-header {
    background: #f5f5f5;
    padding: 10px 16px;
    border-bottom: 1px solid var(--color-hairline);
}

.docs-code-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--color-text-muted);
    text-transform: lowercase;
}

.docs-code {
    background: #1a1a1a;
    padding: 20px;
    margin: 0;
    overflow-x: auto;
}

.docs-code code {
    font-family: var(--font-mono);
    font-size: 13px;
    line-height: 1.6;
    color: #e0e0e0;
}

/* Docs Pagination */
.docs-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 48px;
    margin-top: 48px;
    border-top: 1px solid var(--color-hairline);
}

.docs-pagination-next,
.docs-pagination-prev {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.docs-pagination-next {
    text-align: right;
    align-items: flex-end;
}

.docs-pagination-label {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.docs-pagination-title {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text);
    transition: color 0.15s ease;
}

.docs-pagination-next:hover .docs-pagination-title,
.docs-pagination-prev:hover .docs-pagination-title {
    color: var(--color-text-muted);
}

/* Coming Soon Page */
.coming-soon-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0;
}

.coming-soon-content {
    text-align: center;
    max-width: 500px;
}

.coming-soon-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.coming-soon-title {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 56px);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.1;
    color: var(--color-text);
    margin: 0 0 24px 0;
}

.coming-soon-text {
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0 0 40px 0;
}

.coming-soon-content .cta-button {
    display: inline-flex;
}

/* Legal Pages (Privacy, Terms, Security) */
.legal-page {
    padding: 100px 0 120px 0;
}

.legal-header {
    margin-bottom: 64px;
}

.legal-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin: 0 0 24px 0;
}

.legal-title {
    font-size: 42px;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.2;
    color: var(--color-text);
    margin: 0 0 16px 0;
}

.legal-date {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--color-text-muted);
}

.legal-content {
    max-width: 720px;
}

.legal-section {
    margin-bottom: 48px;
}

.legal-section:last-child {
    margin-bottom: 0;
}

.legal-section h2 {
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -0.01em;
    color: var(--color-text);
    margin: 0 0 16px 0;
}

.legal-section p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin: 0;
}

.legal-section a {
    color: var(--color-text);
    text-decoration: underline;
}

/* CTA Button */
.cta-button {
    background-color: var(--color-white);
    color: var(--color-bg);
    border: none;
    padding: 20px 32px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    font-family: var(--font-mono);
    text-decoration: none;
}

.cta-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateX(4px);
}

.cta-button .cta-icon path {
    stroke: var(--color-bg);
}

.cta-text {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cta-icon {
    width: 16px;
    height: 16px;
}

/* Features Page Hero */
.features-hero {
    padding: 140px 20px 60px;
    background-color: var(--color-bg);
    text-align: center;
}

.features-hero .container {
    max-width: 1400px;
}

.features-hero-label {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--color-text-subtle);
    margin-bottom: 24px;
}

.features-hero-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.features-hero-subtitle {
    font-size: 18px;
    color: var(--color-text-muted);
    margin: 0;
    max-width: 500px;
    margin: 0 auto;
}

/* Features Hero Responsive */
@media (max-width: 600px) {
    .features-hero {
        padding: 100px 20px 40px;
    }

    .features-hero-label {
        font-size: 11px;
        margin-bottom: 16px;
    }

    .features-hero-title {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .features-hero-subtitle {
        font-size: 15px;
        padding: 0 20px;
    }
}

/* Agent Showcase Section - Home Page */
.agent-showcase-section {
    padding: 100px 20px;
    background-color: var(--color-bg);
}

.agent-showcase-card {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px;
    background: #0f0f0f;
    border-radius: 6px;
    border: 1px solid var(--color-hairline);
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: center;
    min-height: 700px;
}

.agent-showcase-chat-wrapper {
    background: #161616;
    border-radius: 6px;
    padding: 60px;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.agent-showcase-chat {
    background: #0f0f0f;
    border-radius: 6px;
    border: 1px solid var(--color-hairline);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 580px;
    width: 420px;
    flex-shrink: 0;
    min-height: 0;
}

.agent-showcase-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-hairline);
}

.agent-showcase-logo-img {
    height: 18px;
    width: auto;
}

.agent-showcase-files {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--color-text-muted);
}

.agent-showcase-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-bottom: 1px solid var(--color-hairline);
    overflow-x: auto;
}

.agent-showcase-tab {
    padding: 6px 12px;
    font-size: 12px;
    color: var(--color-text-muted);
    border-radius: 4px;
    white-space: nowrap;
}

.agent-showcase-tab.active {
    background: var(--color-bg-elevated);
    color: var(--color-text);
}

.agent-showcase-tab-icons {
    margin-left: auto;
    display: flex;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 14px;
}

.agent-showcase-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    scroll-behavior: smooth;
    min-height: 0;
}

/* Agent Showcase Animation Sections */
.thinking-section,
.indexing-section,
.plan-section,
.summary-section {
    margin-bottom: 20px;
}

.thinking-section .message-label,
.indexing-section .message-label,
.plan-section .message-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.thinking-text {
    color: var(--color-text);
    font-size: 13px;
    line-height: 1.7;
}

.indexing-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.indexing-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--color-text-muted);
    padding: 6px 0;
    border-bottom: 1px solid var(--color-hairline);
    font-family: var(--font-mono);
}

.indexing-item.indexed .file-name {
    color: var(--color-text);
}

.indexing-item .file-size {
    font-size: 11px;
    opacity: 0.6;
}

.plan-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.plan-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: var(--color-text-muted);
    padding: 10px 0;
    border-bottom: 1px solid var(--color-hairline);
}

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

.plan-item .plan-status {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--color-text-muted);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    flex-shrink: 0;
    margin-top: 1px;
}

.plan-item .plan-content {
    flex: 1;
}

.plan-item .plan-title {
    color: var(--color-text-muted);
    margin-bottom: 2px;
}

.plan-item .plan-detail {
    font-size: 11px;
    color: var(--color-text-muted);
    opacity: 0.7;
    display: none;
}

.plan-item.active {
    color: var(--color-text);
}

.plan-item.active .plan-status {
    border-color: #89b4fa;
    background: rgba(137, 180, 250, 0.15);
}

.plan-item.active .plan-title {
    color: var(--color-text);
}

.plan-item.active .plan-detail {
    display: block;
    color: #89b4fa;
}

.plan-item.completed .plan-status {
    background: #a6e3a1;
    border-color: #a6e3a1;
    color: #0a0a0a;
}

.plan-item.completed .plan-title {
    color: var(--color-text);
    text-decoration: line-through;
    opacity: 0.6;
}

.summary-section {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--color-hairline);
}

.summary-text {
    font-size: 13px;
    line-height: 1.7;
    color: var(--color-text);
}

.agent-showcase-input {
    padding: 12px;
    background: #1a1a1a;
    margin: 12px;
    border-radius: 6px;
}

/* Deep Integrations Showcase Section */
.integrations-showcase-section {
    padding: 100px 20px;
    background-color: var(--color-bg);
}

.integrations-showcase-card {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px;
    background: #0f0f0f;
    border-radius: 6px;
    border: 1px solid var(--color-hairline);
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    align-items: center;
    min-height: 700px;
}

.integrations-showcase-info {
    padding: 20px 0;
}

.integrations-showcase-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.integrations-showcase-desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0 0 24px;
}

.integrations-showcase-link {
    font-size: 16px;
    color: #f38ba8;
    text-decoration: none;
    font-weight: 500;
}

.integrations-showcase-link:hover {
    text-decoration: underline;
}

.integrations-showcase-wrapper {
    background: #161616;
    border-radius: 6px;
    padding: 60px;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workflow-canvas {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 500px;
}

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

.connection-line {
    fill: none;
    stroke: #333;
    stroke-width: 2;
    stroke-linecap: round;
}

.workflow-node {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: grab;
    z-index: 2;
    transition: transform 0.15s ease;
}

.workflow-node:hover {
    transform: scale(1.05);
}

.workflow-node:active {
    cursor: grabbing;
}

.node-icon {
    width: 50px;
    height: 50px;
    border-radius: 6px;
    background: #252525;
    border: 1px solid #333;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.node-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

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

.trigger-icon {
    background: #2a1f1f;
    border-color: #f38ba8;
    color: #f38ba8;
}

.agent-node .node-icon {
    width: 60px;
    height: 60px;
    background: #1a1a2e;
    border-color: #89b4fa;
}

.agent-node .node-icon img {
    width: 32px;
    height: 32px;
}

.output-icon {
    background: #1f2a1f;
    border-color: #a6e3a1;
    color: #a6e3a1;
}

.node-label {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text);
    text-align: center;
    white-space: nowrap;
}

.node-subtitle {
    font-size: 9px;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: -4px;
}

/* Workspace Showcase Section */
.workspace-showcase-section {
    padding: 100px 20px;
    background-color: var(--color-bg);
}

.workspace-showcase-card {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px;
    background: #0f0f0f;
    border-radius: 6px;
    border: 1px solid var(--color-hairline);
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: center;
    min-height: 700px;
}

.workspace-showcase-info {
    padding: 20px 0;
}

.workspace-showcase-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.workspace-showcase-desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0 0 24px;
}

.workspace-showcase-link {
    font-size: 16px;
    color: #f38ba8;
    text-decoration: none;
    font-weight: 500;
}

.workspace-showcase-link:hover {
    text-decoration: underline;
}

.workspace-showcase-wrapper {
    background: #161616;
    border-radius: 6px;
    padding: 60px;
    min-height: 620px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.workspace-app {
    width: 100%;
    height: 400px;
    background: #0a0a0a;
    border-radius: 6px;
    border: 1px solid var(--color-hairline);
    display: grid;
    grid-template-columns: 160px 1fr 200px;
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
    position: relative;
}

/* Title Bar */
.workspace-titlebar {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
    background: #0d0d0d;
    border-bottom: 1px solid var(--color-hairline);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.titlebar-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.titlebar-back {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--color-text-muted);
    cursor: pointer;
}

.titlebar-back svg {
    width: 14px;
    height: 14px;
}

.titlebar-back:hover {
    color: var(--color-text);
}

.titlebar-divider {
    width: 1px;
    height: 14px;
    background: var(--color-hairline);
}

.titlebar-project {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text);
}

.titlebar-right {
    display: flex;
    align-items: center;
}

.titlebar-new-btn {
    font-size: 11px;
    padding: 5px 12px;
    background: #89b4fa;
    color: #0a0a0a;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

/* File Tree */
.workspace-filetree {
    background: #0d0d0d;
    border-right: 1px solid var(--color-hairline);
    padding: 8px 0;
    overflow-y: auto;
    grid-row: 2 / 3;
}

.filetree-section {
    margin-bottom: 4px;
}

.filetree-folder {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    cursor: pointer;
}

.folder-chevron {
    width: 12px;
    height: 12px;
    color: var(--color-text-muted);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.filetree-folder:not(.expanded) .folder-chevron {
    transform: rotate(-90deg);
}

.folder-icon-svg {
    width: 14px;
    height: 14px;
    color: #f9e2af;
    flex-shrink: 0;
}

.folder-name {
    font-size: 12px;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

.filetree-files {
    padding-left: 8px;
}

.filetree-folder:not(.expanded) + .filetree-files {
    display: none;
}

.filetree-file {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 24px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.filetree-file:hover {
    background: rgba(255,255,255,0.03);
}

.filetree-file.active {
    background: rgba(255,255,255,0.05);
}

.file-icon-svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: var(--color-text-muted);
}

.file-badge {
    margin-left: auto;
    font-size: 9px;
    color: var(--color-text);
    background: rgba(255,255,255,0.1);
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.file-name {
    font-size: 11px;
    color: var(--color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.filetree-file.active .file-name {
    color: var(--color-text);
}

/* Main Content */
.workspace-main {
    background: #111111;
    overflow: hidden;
    position: relative;
    grid-row: 2 / 3;
}

/* Split View */
.split-view {
    display: none;
    height: 100%;
    grid-template-columns: 1fr 1px 1fr;
}

.split-view.active {
    display: grid;
}

.split-pane {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.split-header {
    padding: 8px 12px;
    background: #0d0d0d;
    border-bottom: 1px solid var(--color-hairline);
}

.split-title {
    font-size: 10px;
    font-weight: 500;
    color: var(--color-text);
    font-family: var(--font-mono);
    display: block;
    margin-bottom: 6px;
}

.split-tabs {
    display: flex;
    gap: 0;
}

.split-tab {
    font-size: 9px;
    color: var(--color-text-muted);
    padding: 3px 8px;
    cursor: pointer;
    border-bottom: 1px solid transparent;
}

.split-tab.active {
    color: var(--color-text);
    border-bottom-color: var(--color-text-muted);
}

.split-content {
    flex: 1;
    overflow: auto;
    transition: transform 0.4s ease;
}

.split-content.scrolling {
    animation: scroll-content 1.5s ease-in-out;
}

@keyframes scroll-content {
    0% { transform: translateY(0); }
    30% { transform: translateY(-20px); }
    70% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

.split-divider {
    background: var(--color-hairline);
}

/* Mini Spreadsheet in split */
.spreadsheet-mini {
    padding: 0;
}

.spreadsheet-mini .spreadsheet-row {
    grid-template-columns: 24px repeat(3, 1fr);
}

.spreadsheet-mini .cell {
    padding: 6px 8px;
    font-size: 10px;
}

/* Mini PPTX in split */
.pptx-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: #0f0f0f;
}

.mini-slide {
    width: 100%;
    max-width: 160px;
    background: #1a1a1a;
    border-radius: 4px;
    padding: 12px;
    text-align: center;
}

.mini-slide-title {
    font-size: 10px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 10px;
}

.mini-chart {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 6px;
    height: 50px;
}

.mini-bar {
    width: 20px;
    background: #333;
    border-radius: 2px 2px 0 0;
}

.mini-bar.active {
    background: #89b4fa;
}

.workspace-view {
    display: none;
    height: 100%;
    flex-direction: column;
    animation: viewFadeIn 0.3s ease;
}

.workspace-view.active {
    display: flex;
}

/* Single File Header */
.single-file-header {
    padding: 8px 12px;
    background: #0d0d0d;
    border-bottom: 1px solid var(--color-hairline);
}

.single-file-title {
    font-size: 10px;
    font-weight: 500;
    color: var(--color-text);
    font-family: var(--font-mono);
    display: block;
    margin-bottom: 6px;
}

.single-file-tabs {
    display: flex;
    gap: 0;
}

.single-file-tab {
    font-size: 9px;
    color: var(--color-text-muted);
    padding: 3px 8px;
    cursor: pointer;
    border-bottom: 1px solid transparent;
}

.single-file-tab.active {
    color: var(--color-text);
    border-bottom-color: var(--color-text-muted);
}

/* Full Presentation View */
.pptx-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: #0f0f0f;
}

.slide-preview-full {
    width: 100%;
    max-width: 280px;
    background: #1a1a1a;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
}

.slide-title-full {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 16px;
}

.slide-chart-full {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
    height: 80px;
    margin-bottom: 12px;
}

.chart-bar-full {
    width: 32px;
    background: #333;
    border-radius: 3px 3px 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 4px;
}

.chart-bar-full span {
    font-size: 8px;
    color: var(--color-text-muted);
}

.chart-bar-full.active {
    background: #89b4fa;
}

.chart-bar-full.active span {
    color: #0a0a0a;
}

.slide-footer-full {
    font-size: 9px;
    color: var(--color-text-muted);
}

@keyframes viewFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.view-header {
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-hairline);
}

.view-title {
    font-size: 12px;
    font-weight: 500;
    color: var(--color-text);
    font-family: var(--font-mono);
}

/* Ribbon Editor */
.ribbon {
    background: #0d0d0d;
    border-bottom: 1px solid var(--color-hairline);
    padding: 0;
}

.ribbon-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--color-hairline);
    padding: 0 8px;
}

.ribbon-tab {
    font-size: 10px;
    color: var(--color-text-muted);
    padding: 6px 10px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.15s ease;
}

.ribbon-tab:hover {
    color: var(--color-text);
}

.ribbon-tab.active {
    color: var(--color-text);
    border-bottom-color: #89b4fa;
}

.excel-ribbon .ribbon-tab.active {
    border-bottom-color: #a6e3a1;
}

.word-ribbon .ribbon-tab.active {
    border-bottom-color: #89b4fa;
}

.pptx-ribbon .ribbon-tab.active {
    border-bottom-color: #fab387;
}

.ribbon-tools {
    display: flex;
    align-items: center;
    padding: 6px 12px;
    gap: 4px;
}

.ribbon-group {
    display: flex;
    align-items: center;
    gap: 2px;
}

.ribbon-btn {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.ribbon-btn:hover {
    background: rgba(255,255,255,0.08);
}

.ribbon-btn.active {
    background: rgba(255,255,255,0.1);
}

.ribbon-btn svg {
    width: 14px;
    height: 14px;
    color: var(--color-text-muted);
}

.ribbon-btn:hover svg,
.ribbon-btn.active svg {
    color: var(--color-text);
}

.ribbon-text {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

.ribbon-btn:hover .ribbon-text {
    color: var(--color-text);
}

.ribbon-divider {
    width: 1px;
    height: 20px;
    background: var(--color-hairline);
    margin: 0 8px;
}

/* Spreadsheet View */
.spreadsheet-content {
    padding: 0;
    flex: 1;
    overflow: auto;
}

.spreadsheet-row {
    display: grid;
    grid-template-columns: 30px repeat(4, 1fr);
    border-bottom: 1px solid var(--color-hairline);
}

.spreadsheet-row.header-row {
    background: #0d0d0d;
}

.cell {
    padding: 8px 12px;
    font-size: 11px;
    color: var(--color-text);
    border-right: 1px solid var(--color-hairline);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cell.cell-header {
    color: var(--color-text-muted);
    font-weight: 500;
    text-align: center;
}

.cell.cell-num {
    color: var(--color-text-muted);
    background: #0d0d0d;
    text-align: center;
}

.cell.num {
    text-align: right;
    font-family: var(--font-mono);
}

.cell.highlight {
    color: #a6e3a1;
}

/* Document View */
.document-content {
    padding: 20px;
    flex: 1;
}

.doc-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 12px;
}

.doc-para {
    font-size: 12px;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin: 0 0 12px;
}

.doc-highlight {
    color: #89b4fa;
    font-weight: 500;
}

.doc-list {
    font-size: 12px;
    color: var(--color-text-muted);
    margin: 0;
    padding-left: 20px;
}

.doc-list li {
    margin-bottom: 6px;
}

/* Presentation View */
.presentation-content {
    padding: 20px;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-preview {
    width: 100%;
    max-width: 280px;
    background: #1a1a1a;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
}

.slide-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 16px;
}

.slide-chart {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 12px;
    height: 100px;
    margin-bottom: 12px;
}

.chart-bar {
    width: 36px;
    background: #333;
    border-radius: 4px 4px 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 6px;
}

.chart-bar span {
    font-size: 9px;
    color: var(--color-text-muted);
}

.chart-bar.active {
    background: #89b4fa;
}

.chart-bar.active span {
    color: #0a0a0a;
}

.slide-footer {
    font-size: 10px;
    color: var(--color-text-muted);
}

/* Tasks View */
.tasks-content {
    padding: 16px;
    flex: 1;
}

.task-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 6px;
    background: #1a1a1a;
}

.task-check {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--color-text-muted);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.task-check svg {
    width: 12px;
    height: 12px;
    display: none;
}

.task-item.completed .task-check {
    background: #a6e3a1;
    border-color: #a6e3a1;
}

.task-item.completed .task-check svg {
    display: block;
    color: #0a0a0a;
}

.task-text {
    font-size: 12px;
    color: var(--color-text);
}

.task-item.completed .task-text {
    text-decoration: line-through;
    opacity: 0.6;
}

/* Notes View */
.notes-content {
    padding: 16px;
    flex: 1;
}

.note-date {
    font-size: 10px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.note-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}

.note-text {
    font-size: 12px;
    line-height: 1.8;
    color: var(--color-text-muted);
}

/* Projects View */
.projects-content {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.project-card {
    background: #1a1a1a;
    border-radius: 6px;
    padding: 14px;
}

.project-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-text);
    margin-bottom: 4px;
}

.project-meta {
    font-size: 10px;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.project-progress {
    height: 4px;
    background: #333;
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #89b4fa;
    border-radius: 2px;
}

/* Chat Panel */
.workspace-chat {
    background: #0d0d0d;
    border-left: 1px solid var(--color-hairline);
    display: flex;
    flex-direction: column;
    grid-row: 2 / 3;
    overflow: hidden;
    min-height: 0;
}

/* Chat Top Bar */
.chat-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-bottom: 1px solid var(--color-hairline);
}

.chat-logo-img {
    height: 16px;
    width: auto;
    opacity: 0.9;
}

.chat-file-count {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    color: var(--color-text-muted);
}

.chat-file-count svg {
    width: 12px;
    height: 12px;
}

/* Chat Tabs */
.chat-tabs {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 6px 8px;
    border-bottom: 1px solid var(--color-hairline);
}

.chat-tab {
    padding: 4px 10px;
    font-size: 10px;
    color: var(--color-text-muted);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px;
}

.chat-tab:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
}

.chat-tab.active {
    background: rgba(137, 180, 250, 0.12);
    color: #89b4fa;
}

/* Chat Messages */
.chat-messages {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
    min-height: 0;
}

.chat-message-content {
    font-size: 11px;
    line-height: 1.5;
    color: var(--color-text-muted);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-msg {
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1.5;
}

.chat-msg-label {
    display: block;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    opacity: 0.6;
}

.chat-msg-user {
    background: rgba(137, 180, 250, 0.1);
    color: var(--color-text);
    align-self: flex-end;
    max-width: 90%;
}

.chat-msg-user .chat-msg-label {
    color: #89b4fa;
}

.chat-msg-agent {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    align-self: flex-start;
    max-width: 90%;
}

.chat-msg-agent .chat-msg-label {
    color: #a6e3a1;
}

.chat-input-field.typing {
    border-color: rgba(137, 180, 250, 0.5);
    background: #1f1f1f;
}

/* Chat Input Container */
.chat-input-container {
    padding: 10px;
    border-top: 1px solid var(--color-hairline);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chat-input-field {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid var(--color-hairline);
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 11px;
    color: var(--color-text);
    outline: none;
    transition: border-color 0.15s ease;
}

.chat-input-field:focus {
    border-color: rgba(137, 180, 250, 0.5);
}

.chat-input-field::placeholder {
    color: var(--color-text-muted);
}

/* Chat Input Footer */
.chat-input-footer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.chat-model-select {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #1a1a1a;
    border: 1px solid var(--color-hairline);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.chat-model-select:hover {
    border-color: rgba(137, 180, 250, 0.3);
}

.model-name {
    font-size: 10px;
    color: var(--color-text);
    font-weight: 500;
}

.model-chevron {
    width: 10px;
    height: 10px;
    color: var(--color-text-muted);
}

/* Chat Send Button */
.chat-send-btn {
    width: 24px;
    height: 24px;
    background: #89b4fa;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    margin-left: auto;
    transition: all 0.15s ease;
}

.chat-send-btn:hover {
    background: #a6c8ff;
}

.chat-send-btn svg {
    width: 12px;
    height: 12px;
    color: #0a0a0a;
}

/* Command Bar */
.workspace-command-bar {
    grid-column: 1 / -1;
    grid-row: 3 / 4;
    background: #0d0d0d;
    border-top: 1px solid var(--color-hairline);
    padding: 8px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.command-prompt {
    font-size: 13px;
    color: #a6e3a1;
    font-family: var(--font-mono);
    font-weight: 500;
}

.command-text {
    font-size: 12px;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

.command-text .typed-cmd {
    color: #89b4fa;
}

/* Command Palette */
.command-palette {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    border: 1px solid var(--color-hairline);
    border-radius: 6px;
    padding: 8px;
    min-width: 280px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 10;
}

.command-palette.visible {
    opacity: 1;
    visibility: visible;
}

.palette-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s ease;
}

.palette-item:hover,
.palette-item.active {
    background: rgba(255,255,255,0.05);
}

.palette-cmd {
    font-size: 12px;
    font-family: var(--font-mono);
    color: #89b4fa;
    font-weight: 500;
    min-width: 24px;
}

.palette-label {
    font-size: 12px;
    color: var(--color-text-muted);
}

/* Workspace Showcase Responsive */
@media (max-width: 1024px) {
    .workspace-showcase-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
    }

    .workspace-showcase-wrapper {
        padding: 32px;
        min-height: auto;
    }

    .workspace-showcase-info {
        text-align: center;
        order: -1;
    }

    .workspace-app {
        grid-template-columns: 140px 1fr 180px;
        height: 380px;
    }
}

@media (max-width: 768px) {
    .workspace-showcase-section {
        padding: 50px 16px;
    }

    .workspace-showcase-card {
        padding: 20px;
        gap: 20px;
    }

    .workspace-showcase-wrapper {
        padding: 16px;
    }

    .workspace-app {
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr auto;
        height: auto;
        min-height: 340px;
    }

    .workspace-filetree {
        display: none;
    }

    .workspace-chat {
        display: none;
    }

    .workspace-main {
        height: auto;
        min-height: 280px;
    }

    .command-palette {
        min-width: 240px;
    }
}

@media (max-width: 600px) {
    .workspace-showcase-section {
        padding: 40px 12px;
    }

    .workspace-showcase-card {
        padding: 16px;
        gap: 16px;
    }

    .workspace-showcase-info {
        padding: 0;
        text-align: center;
    }

    .workspace-showcase-wrapper {
        padding: 0;
        background: transparent;
    }

    .workspace-showcase-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .workspace-showcase-desc {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .workspace-showcase-link {
        font-size: 13px;
    }

    .workspace-app {
        height: 280px;
        grid-template-columns: 1fr;
        grid-template-rows: auto 1fr auto;
        overflow: hidden;
    }

    .workspace-titlebar {
        padding: 6px 10px;
    }

    .titlebar-back {
        font-size: 10px;
    }

    .titlebar-project {
        font-size: 10px;
    }

    .titlebar-new-btn {
        font-size: 9px;
        padding: 3px 8px;
    }

    .workspace-filetree {
        display: none;
    }

    .workspace-chat {
        display: none;
    }

    .workspace-main {
        grid-column: 1 / -1;
        overflow: hidden;
    }

    .single-file-header {
        padding: 6px 10px;
    }

    .single-file-title {
        font-size: 10px;
    }

    .single-file-tab {
        font-size: 9px;
        padding: 3px 6px;
    }

    .single-file-tabs {
        gap: 4px;
    }

    .document-content {
        padding: 12px;
        overflow: hidden;
    }

    .doc-title {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .doc-para {
        font-size: 11px;
        line-height: 1.5;
        margin-bottom: 6px;
    }

    .doc-list {
        font-size: 11px;
    }

    .doc-list li {
        margin-bottom: 4px;
    }

    .spreadsheet-content {
        padding: 8px;
    }

    .spreadsheet-row {
        gap: 1px;
    }

    .cell {
        font-size: 9px;
        padding: 4px 6px;
    }

    .command-bar {
        padding: 6px 10px;
    }

    .command-prompt {
        font-size: 10px;
    }

    .command-text {
        font-size: 10px;
    }

    .command-palette {
        min-width: 180px;
        font-size: 10px;
    }

    .palette-item {
        padding: 6px 10px;
    }

    /* Features Workspace Card Mobile - Just reset grid to single column */
    .features-workspace-card {
        grid-template-columns: 1fr !important;
    }

    .features-workspace-card .workspace-showcase-info {
        order: -1;
    }

    .features-workspace-card .workspace-showcase-wrapper {
        padding: 0 !important;
        min-height: auto !important;
    }

    .features-workspace-card .workspace-app {
        grid-template-columns: 1fr !important;
    }

    .features-workspace-card .workspace-main {
        grid-column: 1 / -1 !important;
    }

    .features-workspace-card .workspace-command-bar {
        grid-column: 1 / -1 !important;
    }

    /* Disable animations on mobile to prevent jittering */
    .features-workspace-card .workspace-view {
        animation: none !important;
    }

    .features-workspace-card .cell {
        animation: none !important;
        transition: none !important;
    }

    .features-workspace-card .chart-bar-full {
        animation: none !important;
        transition: none !important;
    }

    .features-workspace-card .slide-title-full {
        animation: none !important;
        transition: none !important;
    }
}

/* Integrations Showcase Responsive */
@media (max-width: 1024px) {
    .integrations-showcase-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
    }

    .integrations-showcase-wrapper {
        padding: 32px;
        min-height: auto;
        overflow-x: auto;
    }

    .integrations-showcase-info {
        text-align: center;
        order: -1;
    }

    .workflow-canvas {
        min-width: 700px;
    }
}

@media (max-width: 768px) {
    .integrations-showcase-section {
        padding: 50px 16px;
    }

    .integrations-showcase-card {
        padding: 20px;
        gap: 20px;
    }

    .workflow-canvas {
        min-width: 550px;
        height: 320px;
    }
}

@media (max-width: 600px) {
    .integrations-showcase-section {
        padding: 40px 12px;
    }

    .integrations-showcase-card {
        padding: 16px;
        gap: 16px;
        overflow: visible;
    }

    .integrations-showcase-info {
        padding: 0;
        text-align: center;
    }

    .integrations-showcase-wrapper {
        padding: 0;
        background: transparent;
        overflow: visible;
    }

    .integrations-showcase-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .integrations-showcase-desc {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .integrations-showcase-link {
        font-size: 13px;
    }

    .workflow-canvas {
        min-width: 100%;
        width: 100%;
        height: 220px;
        position: relative;
    }

    /* Reposition nodes for mobile - compact 3-column layout */
    .workflow-node[data-node="slack"] {
        left: 5px !important;
        top: 5px !important;
    }

    .workflow-node[data-node="outlook"] {
        left: 5px !important;
        top: 75px !important;
    }

    .workflow-node[data-node="sharepoint"] {
        left: 5px !important;
        top: 145px !important;
    }

    .workflow-node[data-node="notion"] {
        display: none !important;
    }

    .workflow-node[data-node="agent"] {
        left: 50% !important;
        top: 75px !important;
        transform: translateX(-50%);
    }

    .workflow-node[data-node="teams"] {
        right: 5px !important;
        left: auto !important;
        top: 5px !important;
    }

    .workflow-node[data-node="hubspot"] {
        right: 5px !important;
        left: auto !important;
        top: 75px !important;
    }

    .workflow-node[data-node="salesforce"] {
        right: 5px !important;
        left: auto !important;
        top: 145px !important;
    }

    .workflow-node[data-node="drive"] {
        display: none !important;
    }

    .workflow-node {
        position: absolute;
    }

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

    .node-icon img {
        width: 18px;
        height: 18px;
    }

    .node-label {
        font-size: 8px;
        margin-top: 3px;
    }

    .agent-node .node-icon {
        width: 40px;
        height: 40px;
    }

    .agent-node .node-icon img {
        width: 22px;
        height: 22px;
    }

    .agent-node .node-label {
        font-size: 9px;
    }

    /* SVG connections will be redrawn by JS based on actual node positions */
    .workflow-connections {
        display: block;
    }
}

.agent-showcase-input .agent-input-field {
    background: transparent;
    border: none;
    padding: 8px 0;
    margin-bottom: 6px;
}

.agent-showcase-input .agent-input-field:focus {
    outline: none;
}

.agent-showcase-input .agent-input-meta {
    padding-top: 8px;
    border-top: 1px solid var(--color-hairline);
}

.agent-showcase-info {
    padding: 20px 0;
}

.agent-showcase-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.agent-showcase-desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0 0 24px;
}

.agent-showcase-link {
    font-size: 16px;
    color: #f38ba8;
    text-decoration: none;
    font-weight: 500;
}

.agent-showcase-link:hover {
    text-decoration: underline;
}

/* Agent Demo Section */
.agent-demo-section {
    padding: 80px 0;
    background-color: var(--color-bg);
}

.agent-demo-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 60px;
    align-items: center;
}

.agent-demo-chat {
    background: #0a0a0a;
    border-radius: 6px;
    border: 1px solid var(--color-hairline);
    overflow: hidden;
    max-height: 600px;
    display: flex;
    flex-direction: column;
}

.agent-demo-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-hairline);
}

.agent-demo-logo-img {
    height: 20px;
    width: auto;
}

.agent-demo-files {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--color-text-muted);
}

.agent-demo-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-bottom: 1px solid var(--color-hairline);
    overflow-x: auto;
}

.agent-demo-tab {
    padding: 6px 12px;
    font-size: 12px;
    color: var(--color-text-muted);
    border-radius: 4px;
    white-space: nowrap;
}

.agent-demo-tab.active {
    background: var(--color-bg-elevated);
    color: var(--color-text);
}

.agent-demo-tab-icons {
    margin-left: auto;
    display: flex;
    gap: 12px;
    color: var(--color-text-muted);
    font-size: 14px;
}

.agent-demo-messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    max-height: 400px;
}

.agent-message {
    font-size: 13px;
    line-height: 1.6;
    color: var(--color-text);
}

.message-section {
    margin-bottom: 20px;
}

.message-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-text);
}

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

.changes-section {
    margin-top: 16px;
}

.changes-list {
    color: var(--color-text-muted);
}

.change-item {
    margin-bottom: 12px;
}

.change-item-title {
    color: var(--color-text);
    margin-bottom: 4px;
}

.change-item-title::before {
    content: "✓ ";
    color: #a6e3a1;
}

.change-item-desc {
    font-size: 12px;
    color: var(--color-text-muted);
    padding-left: 18px;
}

.agent-demo-input {
    padding: 12px 16px;
    border-top: 1px solid var(--color-hairline);
}

.agent-input-field {
    width: 100%;
    padding: 12px 16px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-hairline);
    border-radius: 6px;
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 8px;
}

.agent-input-meta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.agent-model-select {
    font-size: 12px;
    color: var(--color-text-muted);
    padding: 4px 8px;
    background: var(--color-bg-elevated);
    border-radius: 4px;
}

.agent-live-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--color-text-muted);
    padding: 4px 8px;
    background: var(--color-bg-elevated);
    border-radius: 4px;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #f38ba8;
    border-radius: 50%;
    animation: livePulse 2s infinite;
}

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

.agent-demo-info {
    padding: 40px 0;
}

.agent-demo-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.agent-demo-desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0 0 24px;
}

.agent-demo-link {
    font-size: 16px;
    color: #f38ba8;
    text-decoration: none;
    font-weight: 500;
}

.agent-demo-link:hover {
    text-decoration: underline;
}

/* ===== Features Page Agent Showcase ===== */
.features-agent-section {
    padding: 100px 20px;
    background-color: var(--color-bg);
}

.features-agent-card {
    max-width: 1400px;
    margin: 0 auto;
    padding: 48px;
    background: #0f0f0f;
    border-radius: 6px;
    border: 1px solid var(--color-hairline);
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 48px;
    align-items: center;
    min-height: 700px;
}

.features-agent-wrapper {
    background: #161616;
    border-radius: 6px;
    padding: 60px;
    min-height: 620px;
    position: relative;
}

/* Features Agent Editor Window - Horizontal rectangle upper left */
.features-agent-editor {
    background: #0a0a0a;
    border-radius: 6px;
    border: 1px solid var(--color-hairline);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 100%;
    height: 420px;
}

/* Features Agent Chat Window - Overlays bottom right */
.features-agent-chat {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 260px;
    height: 400px;
    background: #0a0a0a;
    border-radius: 6px;
    border: 1px solid var(--color-hairline);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.fac-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid var(--color-hairline);
}

.fac-logo {
    height: 16px;
    width: auto;
    opacity: 0.9;
}

.fac-file-count {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    color: var(--color-text-muted);
}

.fac-file-count svg {
    width: 12px;
    height: 12px;
}

.fac-tabs {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 6px 8px;
    border-bottom: 1px solid var(--color-hairline);
}

.fac-tab {
    padding: 4px 10px;
    font-size: 10px;
    color: var(--color-text-muted);
    border-radius: 4px;
    cursor: pointer;
}

.fac-tab.active {
    background: rgba(137, 180, 250, 0.12);
    color: #89b4fa;
}

.fac-messages {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
    min-height: 0;
}

.fac-messages-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fac-msg {
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 11px;
    line-height: 1.5;
}

.fac-msg-label {
    display: block;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
    opacity: 0.6;
}

.fac-msg-user {
    background: rgba(137, 180, 250, 0.1);
    color: var(--color-text);
    align-self: flex-end;
    max-width: 90%;
}

.fac-msg-user .fac-msg-label {
    color: #89b4fa;
}

.fac-msg-agent {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text-muted);
    align-self: flex-start;
    max-width: 90%;
}

.fac-msg-agent .fac-msg-label {
    color: #a6e3a1;
}

.fac-input {
    padding: 10px;
    border-top: 1px solid var(--color-hairline);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.fac-input-field {
    width: 100%;
    background: #1a1a1a;
    border: 1px solid var(--color-hairline);
    border-radius: 6px;
    padding: 10px 12px;
    font-size: 11px;
    color: var(--color-text);
    outline: none;
}

.fac-input-field::placeholder {
    color: var(--color-text-muted);
}

.fac-input-field.typing {
    border-color: rgba(137, 180, 250, 0.5);
}

.fac-input-footer {
    display: flex;
    align-items: center;
    gap: 8px;
}

.fac-model-select {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #1a1a1a;
    border: 1px solid var(--color-hairline);
    border-radius: 4px;
    font-size: 10px;
    color: var(--color-text);
}

.fac-model-select svg {
    width: 10px;
    height: 10px;
    color: var(--color-text-muted);
}

.fac-send-btn {
    width: 24px;
    height: 24px;
    background: #89b4fa;
    border: none;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-left: auto;
}

.fac-send-btn svg {
    width: 12px;
    height: 12px;
    color: #0a0a0a;
}

.fae-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--color-hairline);
    background: #0d0d0d;
}

.fae-dots {
    display: flex;
    gap: 6px;
}

.fae-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #333;
}

.fae-dots span:nth-child(1) { background: #ff5f57; }
.fae-dots span:nth-child(2) { background: #ffbd2e; }
.fae-dots span:nth-child(3) { background: #28ca42; }

.fae-tabs {
    display: flex;
    gap: 4px;
    flex: 1;
}

.fae-tab {
    padding: 4px 10px;
    font-size: 10px;
    color: var(--color-text-muted);
    background: transparent;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-mono);
}

.fae-tab.active {
    background: rgba(137, 180, 250, 0.12);
    color: #89b4fa;
}

.fae-content {
    flex: 1;
    position: relative;
}

.fae-pane {
    display: none;
    flex-direction: column;
    height: 100%;
}

.fae-pane.active {
    display: flex;
}

/* Ribbon */
.fae-ribbon {
    display: flex;
    gap: 0;
    padding: 6px 12px;
    border-bottom: 1px solid var(--color-hairline);
    background: #0d0d0d;
}

.fae-ribbon-tab {
    padding: 4px 12px;
    font-size: 10px;
    color: var(--color-text-muted);
    cursor: pointer;
}

.fae-ribbon-tab.active {
    color: var(--color-text);
    border-bottom: 2px solid #89b4fa;
}

/* Excel View */
.fae-excel-grid {
    padding: 8px;
}

.fae-excel-row {
    display: grid;
    grid-template-columns: 30px repeat(4, 1fr);
    border-bottom: 1px solid var(--color-hairline);
}

.fae-excel-row.fae-excel-header {
    background: #0d0d0d;
}

.fae-cell {
    padding: 6px 8px;
    font-size: 10px;
    color: var(--color-text-muted);
    border-right: 1px solid var(--color-hairline);
    font-family: var(--font-mono);
}

.fae-cell:last-child {
    border-right: none;
}

.fae-row-num {
    background: #0d0d0d;
    text-align: center;
    color: var(--color-text-muted);
}

.fae-num {
    text-align: right;
    color: var(--color-text);
}

.fae-highlight {
    background: rgba(166, 227, 161, 0.1);
    color: #a6e3a1;
}

.fae-cell.editing {
    background: rgba(137, 180, 250, 0.15);
    color: #89b4fa;
    animation: cell-pulse 0.5s ease;
}

@keyframes cell-pulse {
    0%, 100% { background: rgba(137, 180, 250, 0.15); }
    50% { background: rgba(137, 180, 250, 0.3); }
}

/* PowerPoint View */
.fae-slide {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.fae-slide-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    text-align: center;
}

.fae-slide-chart {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    height: 160px;
    padding: 20px;
    background: #161616;
    border-radius: 6px;
    width: 100%;
    max-width: 400px;
    justify-content: center;
}

.fae-bar {
    width: 40px;
    background: #89b4fa;
    border-radius: 4px 4px 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 6px;
    transition: height 0.4s ease, background 0.3s ease;
}

.fae-bar span {
    font-size: 9px;
    color: #0a0a0a;
    font-weight: 600;
}

.fae-bar-highlight {
    background: #a6e3a1;
}

.fae-bar.editing {
    background: #f9e2af;
}

.fae-slide-footer {
    font-size: 10px;
    color: var(--color-text-muted);
    text-align: center;
}

/* Word View */
.fae-doc {
    padding: 20px;
}

.fae-doc-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
}

.fae-doc-para {
    font-size: 11px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.fae-doc-highlight {
    background: rgba(166, 227, 161, 0.15);
    color: #a6e3a1;
    padding: 1px 4px;
    border-radius: 2px;
}

.fae-doc-list {
    margin: 0;
    padding-left: 20px;
}

.fae-doc-list li {
    font-size: 11px;
    color: var(--color-text-muted);
    margin-bottom: 4px;
}

.fae-doc-list li.editing {
    color: #89b4fa;
}

/* Features Agent Info */
.features-agent-info {
    padding: 20px 0;
    order: -1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.features-agent-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 16px;
    letter-spacing: -0.02em;
}

.features-agent-desc {
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin: 0;
}

/* Feature Cards */
.features-agent-cards {
    max-width: 1400px;
    margin: 100px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.fac-card {
    background: #0f0f0f;
    border: 1px solid var(--color-hairline);
    border-radius: 6px;
    padding: 32px;
}

.fac-card-icon {
    width: 40px;
    height: 40px;
    background: rgba(137, 180, 250, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.fac-card-icon svg {
    width: 20px;
    height: 20px;
    color: #89b4fa;
}

.fac-card-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 8px;
}

.fac-card-desc {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin: 0;
}

/* Agent Sections Responsive */
@media (max-width: 1024px) {
    .agent-showcase-card,
    .features-agent-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
    }

    .agent-showcase-chat-wrapper,
    .features-agent-wrapper {
        padding: 32px;
        min-height: auto;
    }

    .agent-showcase-chat {
        max-width: 100%;
    }

    .agent-showcase-info,
    .features-agent-info {
        text-align: center;
        order: -1;
    }

    .agent-demo-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .agent-demo-chat {
        max-width: 100%;
    }

    .agent-demo-info {
        text-align: center;
    }
}

@media (max-width: 600px) {
    .agent-showcase-section,
    .agent-demo-section,
    .features-agent-section {
        padding: 60px 12px;
    }

    .agent-showcase-card,
    .features-agent-card {
        padding: 16px;
        gap: 24px;
        min-height: auto;
    }

    .agent-showcase-chat-wrapper,
    .features-agent-wrapper {
        padding: 16px;
        min-height: auto;
    }

    .agent-demo-container {
        padding: 0 16px;
    }

    .agent-showcase-title,
    .agent-demo-title,
    .features-agent-title {
        font-size: 24px;
    }

    .agent-showcase-desc,
    .agent-demo-desc,
    .features-agent-desc {
        font-size: 15px;
    }

    .agent-code {
        font-size: 11px;
    }

    /* Features Agent Editor */
    .features-agent-editor {
        height: 300px;
    }

    .features-agent-chat {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        height: 280px;
        margin-top: 16px;
    }

    .fae-header {
        padding: 8px 12px;
    }

    .fae-tab {
        font-size: 10px;
        padding: 4px 8px;
    }

    .fae-excel-grid {
        font-size: 10px;
    }

    .fae-cell {
        padding: 4px 6px;
    }

    .fae-slide-title {
        font-size: 14px;
    }

    .fae-slide-chart {
        height: 120px;
    }

    .fae-bar {
        width: 30px;
    }
}

/* Features Section - Three Cards */
.features-section {
    padding: 100px 20px;
    background-color: var(--color-bg);
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.feature-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-hairline);
    border-radius: 6px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    overflow: hidden;
}

.feature-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
    letter-spacing: -0.01em;
}

.feature-card-desc {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin: 0;
}

.feature-card-visual {
    margin-top: auto;
    border-radius: 4px;
    overflow: hidden;
    height: 180px;
    width: 100%;
    flex-shrink: 0;
}

/* Workflow Visual - First Card */
.workflow-visual {
    background: var(--color-bg-surface);
    border: 1px solid var(--color-hairline);
    padding: 24px;
    height: 100%;
    box-sizing: border-box;
}

.workflow-prompt {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-hairline);
    border-radius: 4px;
    padding: 12px 16px;
    font-size: 13px;
    color: var(--color-text);
    margin-bottom: 20px;
}

.workflow-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.workflow-step {
    font-size: 13px;
    color: var(--color-text-muted);
    opacity: 0;
    transform: translateY(6px);
    animation: workflowStepIn 0.3s ease forwards;
}

.workflow-step:nth-child(1) { animation-delay: 0.3s; }
.workflow-step:nth-child(2) { animation-delay: 0.8s; }
.workflow-step:nth-child(3) { animation-delay: 1.3s; }
.workflow-step:nth-child(4) { animation-delay: 1.8s; }
.workflow-step:nth-child(5) { animation-delay: 2.3s; }
.workflow-step:nth-child(6) { animation-delay: 2.8s; }
.workflow-step:nth-child(7) { animation-delay: 3.3s; }
.workflow-step:nth-child(8) { animation-delay: 3.8s; }

@keyframes workflowStepIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-action {
    color: #b48ead;
    margin-right: 8px;
    font-weight: 500;
}

.workflow-step.completed {
    color: #a3be8c;
}

.workflow-step.completed .step-action {
    color: #a3be8c;
}

/* Models Visual - Second Card */
.models-visual {
    background: linear-gradient(145deg, #8b7355 0%, #6b5a47 100%);
    padding: 16px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.models-list {
    background: var(--color-bg-surface);
    border: 1px solid var(--color-hairline);
    border-radius: 4px;
    padding: 8px 0;
    width: 100%;
}

.model-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    font-size: 14px;
    color: var(--color-text);
    transition: background 0.15s ease;
}

.model-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.model-name {
    font-weight: 500;
}

.model-tag {
    font-size: 11px;
    color: var(--color-text-subtle);
    font-weight: 400;
}

/* Code Visual - Third Card */
.code-visual {
    background: var(--color-bg);
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.code-window {
    background: var(--color-bg-surface);
    border: 1px solid var(--color-hairline);
    border-radius: 4px;
    overflow: hidden;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.code-window-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-hairline);
}

.code-dots {
    display: flex;
    gap: 6px;
}

.code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-text-subtle);
}

.code-dot:first-child {
    background: #ff5f56;
}

.code-dot:nth-child(2) {
    background: #ffbd2e;
}

.code-dot:nth-child(3) {
    background: #27ca40;
}

.code-tabs {
    display: flex;
    gap: 4px;
}

.code-tab {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 4px;
    color: var(--color-text-muted);
    background: transparent;
}

.code-tab.active {
    background: var(--color-bg-surface);
    color: var(--color-text);
}

.code-content {
    padding: 16px;
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.7;
    flex: 1;
}

.code-line {
    white-space: nowrap;
}

.code-comment {
    color: #6a9955;
}

.code-var {
    color: #9cdcfe;
}

.code-num {
    color: #b5cea8;
}

.code-func {
    color: #dcdcaa;
}

.code-prompt {
    background: rgba(80, 150, 180, 0.15);
    border-top: 1px solid rgba(80, 150, 180, 0.3);
    padding: 12px 16px;
}

.code-prompt-text {
    font-size: 12px;
    color: var(--color-text);
    line-height: 1.5;
    display: block;
    margin-bottom: 8px;
}

.code-prompt-meta {
    display: flex;
    gap: 8px;
}

.code-agent,
.code-model {
    font-size: 10px;
    padding: 3px 8px;
    border-radius: 4px;
    background: var(--color-bg-elevated);
    color: var(--color-text-muted);
}

/* Error Detection Visual - Third Card */
.error-visual {
    background: linear-gradient(145deg, #4a3f5c 0%, #2d2640 100%);
    border-radius: 4px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.error-demo {
    position: relative;
    width: 100%;
    background: var(--color-bg-surface);
    border-radius: 4px;
    border: 1px solid var(--color-hairline);
    overflow: hidden;
}

.error-phase {
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.error-phase.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
}

/* Shared Bar Header */
.error-sheet-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-hairline);
}

.error-sheet-name {
    font-size: 11px;
    font-weight: 500;
    color: var(--color-text);
}

.error-scan-status {
    font-size: 10px;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

.error-scan-status.done {
    color: #4ade80;
}

/* Spreadsheet Table */
.error-sheet-table {
    display: flex;
    flex-direction: column;
}

.error-sheet-row {
    display: grid;
    grid-template-columns: 20px repeat(4, 1fr);
    border-bottom: 1px solid var(--color-hairline);
}

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

.error-sheet-header {
    background: var(--color-bg-elevated);
}

.error-col-num {
    background: var(--color-bg-elevated);
}

.error-col-letter {
    font-size: 10px;
    color: var(--color-text-subtle);
    text-align: center;
    padding: 8px 10px;
    border-left: 1px solid var(--color-hairline);
}

.error-row-num {
    font-size: 9px;
    color: var(--color-text-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-bg-elevated);
    border-right: 1px solid var(--color-hairline);
}

.error-cell {
    font-size: 10px;
    font-family: var(--font-mono);
    color: var(--color-text-muted);
    padding: 12px 14px;
    border-left: 1px solid var(--color-hairline);
    transition: all 0.3s ease;
    background: transparent;
}

.error-cell-head {
    font-weight: 600;
    color: var(--color-text);
    font-family: var(--font-sans);
    background: rgba(255, 255, 255, 0.02);
}

.error-cell.error-cell-dup {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    animation: error-pulse-yellow 0.5s ease;
}

.error-cell.error-cell-ref {
    background: rgba(248, 113, 113, 0.1);
    color: #f87171;
    animation: error-pulse-red 0.5s ease;
}

.error-cell.error-cell-calc {
    background: rgba(168, 85, 247, 0.1);
    color: #a855f7;
    animation: error-pulse-purple 0.5s ease;
}

@keyframes error-pulse-yellow {
    0%, 100% { box-shadow: inset 0 0 0 0 rgba(251, 191, 36, 0); }
    50% { box-shadow: inset 0 0 12px 0 rgba(251, 191, 36, 0.3); }
}

@keyframes error-pulse-red {
    0%, 100% { box-shadow: inset 0 0 0 0 rgba(248, 113, 113, 0); }
    50% { box-shadow: inset 0 0 12px 0 rgba(248, 113, 113, 0.3); }
}

@keyframes error-pulse-purple {
    0%, 100% { box-shadow: inset 0 0 0 0 rgba(168, 85, 247, 0); }
    50% { box-shadow: inset 0 0 12px 0 rgba(168, 85, 247, 0.3); }
}

/* Error Flags Footer */
.error-flags {
    display: flex;
    gap: 8px;
    padding: 10px 14px;
    border-top: 1px solid var(--color-hairline);
    background: var(--color-bg-elevated);
}

.error-flag {
    font-size: 10px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 4px;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.25s ease;
}

.error-flag.visible {
    opacity: 1;
    transform: translateY(0);
}

.flag-dup {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.flag-ref {
    background: rgba(248, 113, 113, 0.15);
    color: #f87171;
}

.flag-calc {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}

.flag-align {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

.flag-data {
    background: rgba(248, 113, 113, 0.15);
    color: #f87171;
}

.flag-good {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
}

/* PowerPoint Phase */
.error-pptx-canvas {
    padding: 12px;
    background: #383838;
}

.error-pptx-slide {
    background: #ffffff;
    border-radius: 3px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    padding: 12px 14px;
}

.error-pptx-title {
    font-size: 11px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    padding-bottom: 6px;
    border-bottom: 2px solid #3b82f6;
    transition: all 0.3s ease;
}

.error-pptx-content {
    display: flex;
    gap: 16px;
}

.error-pptx-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding-bottom: 16px;
    height: 90px;
}

.error-pptx-bar {
    width: 28px;
    background: linear-gradient(to top, #3b82f6, #60a5fa);
    border-radius: 2px 2px 0 0;
    position: relative;
    transition: all 0.3s ease;
}

.error-pptx-bar span {
    position: absolute;
    bottom: -14px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 8px;
    color: #64748b;
}

.error-pptx-bar.flagged {
    background: linear-gradient(to top, #dc2626, #f87171);
    animation: error-pulse-red 0.5s ease;
}

.error-pptx-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.error-pptx-text {
    font-size: 9px;
    color: #334155;
    padding: 6px 10px;
    background: #f8fafc;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.error-pptx-text.flagged-data {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

.error-pptx-text.flagged-format {
    background: rgba(251, 191, 36, 0.1);
    color: #d97706;
    transform: translateX(5px);
}

.error-pptx-footer {
    font-size: 7px;
    color: #94a3b8;
    text-align: right;
    margin-top: 6px;
}

.flag-format {
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
}

/* Feature card sections that sit below showcase sections */
.agent-features,
.integration-features {
    padding-top: 48px;
    padding-bottom: 100px;
}

/* Advanced Query Visual */
.query-visual {
    background: linear-gradient(145deg, #1e3a5f 0%, #152a45 100%);
    border-radius: 4px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 8px 12px 12px 12px;
}

.query-demo {
    width: 100%;
    margin: 0 auto;
    position: relative;
    background: var(--color-bg-surface);
    border-radius: 6px;
    border: 1px solid var(--color-hairline);
    overflow: hidden;
}

.query-phase {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.query-phase.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

.query-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-hairline);
}

.query-logo {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.query-logo-sec {
    width: 20px;
    height: 14px;
    font-size: 6px;
    font-weight: 700;
    background: #002868;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.query-source {
    font-size: 10px;
    font-weight: 600;
    color: var(--color-text);
}

.query-status {
    margin-left: auto;
    font-size: 9px;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

.query-status.done {
    color: #4ade80;
}

.query-prompt {
    padding: 6px 12px;
    font-size: 9px;
    color: var(--color-text-muted);
    font-style: italic;
    border-bottom: 1px solid var(--color-hairline);
    background: rgba(255, 255, 255, 0.02);
}

.query-output-fixed {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Query File Appearance */
.query-file {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: rgba(59, 130, 246, 0.08);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 4px;
    opacity: 0;
    transform: translateY(-6px);
    transition: all 0.3s ease;
}

.query-file.visible {
    opacity: 1;
    transform: translateY(0);
}

.query-file-icon {
    width: 14px;
    height: 14px;
    color: #60a5fa;
}

.query-file-icon svg {
    width: 100%;
    height: 100%;
}

.query-file-name {
    font-size: 9px;
    font-family: var(--font-mono);
    color: #60a5fa;
}

.query-file-pdf {
    background: rgba(239, 68, 68, 0.08);
    border-color: rgba(239, 68, 68, 0.2);
}

.query-file-pdf .query-file-icon {
    color: #f87171;
}

.query-file-pdf .query-file-name {
    color: #f87171;
}

.query-file-multi {
    background: rgba(139, 92, 246, 0.08);
    border-color: rgba(139, 92, 246, 0.2);
}

.query-file-multi .query-file-icon {
    color: #a78bfa;
}

.query-file-multi .query-file-name {
    color: #a78bfa;
}

/* Query Data Table */
.query-data {
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(-6px);
    transition: all 0.3s ease;
}

.query-data.visible {
    opacity: 1;
    transform: translateY(0);
}

.query-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 5px 8px;
    font-size: 9px;
    font-family: var(--font-mono);
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-hairline);
}

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

.status-good {
    color: #4ade80;
}

.status-warning {
    color: #fbbf24;
}

/* Beat Visual - Never Miss a Beat */
.beat-visual {
    background: linear-gradient(145deg, #2a3a4f 0%, #1a2535 100%);
    border-radius: 4px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 8px 12px 12px 12px;
}

.beat-demo {
    width: 100%;
    margin: 0 auto;
    position: relative;
    background: var(--color-bg-surface);
    border-radius: 6px;
    border: 1px solid var(--color-hairline);
    overflow: hidden;
}

.beat-phase {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.beat-phase.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

.beat-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-hairline);
}

.beat-logo {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.beat-source {
    font-size: 10px;
    font-weight: 600;
    color: var(--color-text);
}

.beat-status {
    margin-left: auto;
    font-size: 9px;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

.beat-status.done {
    color: #4ade80;
}

.beat-context {
    padding: 5px 12px;
    font-size: 8px;
    border-bottom: 1px solid var(--color-hairline);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    gap: 6px;
}

.beat-context-label {
    color: var(--color-text-muted);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.beat-context-text {
    color: var(--color-text);
    font-style: italic;
}

.beat-content {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateY(-6px);
    transition: all 0.3s ease;
}

.beat-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Email Draft Styles */
.beat-email {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.beat-email-to,
.beat-email-subject {
    font-size: 8px;
    font-family: var(--font-mono);
    color: var(--color-text-muted);
}

.beat-email-to span,
.beat-email-subject span {
    color: var(--color-text);
}

.beat-email-subject {
    font-weight: 600;
    color: var(--color-text);
}

.beat-email-body {
    font-size: 9px;
    color: var(--color-text);
    margin-top: 4px;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    border-left: 2px solid rgba(59, 130, 246, 0.4);
    line-height: 1.4;
}

/* Teams Message Styles */
.beat-message {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.beat-message-channel {
    font-size: 8px;
    font-family: var(--font-mono);
    color: #60a5fa;
    font-weight: 600;
}

.beat-message-body {
    font-size: 9px;
    color: var(--color-text);
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    border-left: 2px solid rgba(139, 92, 246, 0.4);
    line-height: 1.4;
}

/* Reminder Styles */
.beat-reminder {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.beat-reminder-title {
    font-size: 10px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 2px;
}

.beat-reminder-item {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    font-family: var(--font-mono);
    color: var(--color-text-muted);
    padding: 5px 0;
    border-bottom: 1px solid var(--color-hairline);
}

.beat-reminder-item:last-child {
    border-bottom: none;
}

.beat-reminder-item span:last-child {
    color: var(--color-text);
}

/* Action Buttons */
.beat-actions {
    display: flex;
    gap: 8px;
    margin-top: 4px;
    opacity: 0;
    transform: translateY(-4px);
    transition: all 0.3s ease 0.2s;
}

.beat-actions.visible {
    opacity: 1;
    transform: translateY(0);
}

.beat-btn {
    padding: 6px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.beat-btn svg {
    width: 12px;
    height: 12px;
}

.beat-btn-approve {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.beat-btn-approve:hover {
    background: rgba(74, 222, 128, 0.25);
}

.beat-btn-revise {
    background: rgba(251, 191, 36, 0.1);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.beat-btn-revise:hover {
    background: rgba(251, 191, 36, 0.2);
}

.beat-btn-decline {
    background: rgba(239, 68, 68, 0.1);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.beat-btn-decline:hover {
    background: rgba(239, 68, 68, 0.2);
}

/* Governance Visual - Intelligent Governance */
.governance-visual {
    background: linear-gradient(145deg, #1a3d3d 0%, #122a2a 100%);
    border-radius: 4px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 8px 12px 12px 12px;
}

.governance-demo {
    width: 100%;
    margin: 0 auto;
    position: relative;
    background: var(--color-bg-surface);
    border-radius: 6px;
    border: 1px solid var(--color-hairline);
    overflow: hidden;
}

.governance-phase {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.governance-phase.active {
    opacity: 1;
    position: relative;
    pointer-events: auto;
}

.governance-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-hairline);
}

.governance-logo {
    width: 14px;
    height: 14px;
    object-fit: contain;
}

.governance-source {
    font-size: 10px;
    font-weight: 600;
    color: var(--color-text);
}

.governance-status {
    margin-left: auto;
    font-size: 9px;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

.governance-status.done {
    color: #4ade80;
}

/* Systems Row */
.governance-systems {
    display: flex;
    gap: 8px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--color-hairline);
}

.governance-system {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 4px;
    border: 1px solid var(--color-hairline);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.governance-system.scanning {
    opacity: 1;
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(59, 130, 246, 0.05);
}

.governance-system.scanned {
    opacity: 1;
    border-color: rgba(74, 222, 128, 0.4);
}

.governance-system-logo {
    width: 12px;
    height: 12px;
    object-fit: contain;
}

.governance-system-name {
    font-size: 8px;
    font-family: var(--font-mono);
    color: var(--color-text-muted);
}

.governance-system-status {
    margin-left: auto;
    font-size: 8px;
    color: #4ade80;
}

/* Issues List */
.governance-issues {
    padding: 8px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.governance-issue {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 8px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.governance-issue.visible {
    opacity: 1;
    transform: translateX(0);
}

.issue-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
}

.issue-warning {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.issue-error {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    font-size: 8px;
}

.issue-text {
    font-size: 9px;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

/* Actions List */
.governance-actions {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.governance-action {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    border-left: 2px solid var(--color-hairline);
    opacity: 0.5;
    transition: all 0.3s ease;
}

.governance-action.active {
    opacity: 1;
    border-left-color: #60a5fa;
    background: rgba(59, 130, 246, 0.05);
}

.governance-action.completed {
    opacity: 1;
    border-left-color: #4ade80;
}

.action-status {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 1px solid var(--color-hairline);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    transition: all 0.3s ease;
}

.governance-action.active .action-status {
    border-color: #60a5fa;
    background: rgba(59, 130, 246, 0.2);
}

.governance-action.completed .action-status {
    border-color: #4ade80;
    background: rgba(74, 222, 128, 0.2);
    color: #4ade80;
}

.governance-action.completed .action-status::after {
    content: '✓';
}

.action-text {
    font-size: 9px;
    color: var(--color-text-muted);
    font-family: var(--font-mono);
}

.governance-action.active .action-text,
.governance-action.completed .action-text {
    color: var(--color-text);
}

/* Summary */
.governance-summary {
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.governance-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    font-family: var(--font-mono);
    color: var(--color-text-muted);
    padding: 4px 0;
    border-bottom: 1px solid var(--color-hairline);
}

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

.governance-summary-row span:last-child {
    color: var(--color-text);
}

/* Features Page Workspace Section - Flipped Layout */
.features-workspace-card {
    grid-template-columns: 1.4fr 1fr;
}

.features-workspace-card .workspace-showcase-wrapper {
    order: 0;
}

.features-workspace-card .workspace-showcase-info {
    order: 1;
}

.features-workspace-card .workspace-showcase-wrapper {
    padding: 60px;
    min-height: 620px;
}

.features-workspace-card .workspace-app {
    width: 100%;
    height: 420px;
    background: #0a0a0a;
    border-radius: 6px;
    border: 1px solid var(--color-hairline);
    display: grid;
    grid-template-columns: 130px 1fr 180px;
    grid-template-rows: auto 1fr auto;
    overflow: hidden;
    position: relative;
}

.features-workspace-card .workspace-titlebar {
    grid-column: 1 / -1;
    grid-row: 1;
}

.features-workspace-card .workspace-filetree {
    grid-row: 2;
    grid-column: 1;
}

.features-workspace-card .filetree-folder {
    padding: 4px 8px;
    font-size: 9px;
}

.features-workspace-card .folder-chevron {
    width: 10px;
    height: 10px;
}

.features-workspace-card .folder-icon-svg {
    width: 11px;
    height: 11px;
}

.features-workspace-card .folder-name {
    font-size: 9px;
}

.features-workspace-card .filetree-file {
    padding: 4px 8px 4px 24px;
    font-size: 9px;
}

.features-workspace-card .file-icon-svg {
    width: 11px;
    height: 11px;
}

.features-workspace-card .file-name {
    font-size: 9px;
}

.features-workspace-card .file-badge {
    font-size: 8px;
    padding: 1px 4px;
}

/* Visual editing effects */
.features-workspace-card .cell.editing {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.5);
    animation: cellPulse 0.5s ease;
}

.features-workspace-card .cell.updated {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    transition: all 0.3s ease;
}

@keyframes cellPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.features-workspace-card .chart-bar-full.updating {
    animation: barGrow 0.6s ease forwards;
}

@keyframes barGrow {
    0% { opacity: 0.5; }
    50% { opacity: 1; transform: scaleY(1.05); }
    100% { opacity: 1; transform: scaleY(1); }
}

.features-workspace-card .slide-title-full.editing {
    background: rgba(59, 130, 246, 0.1);
    border-radius: 4px;
    padding: 4px 8px;
    transition: all 0.3s ease;
}

.features-workspace-card .workspace-main {
    grid-row: 2;
    grid-column: 2;
}

.features-workspace-card .workspace-chat {
    grid-row: 2;
    grid-column: 3;
}

.features-workspace-card .workspace-command-bar {
    grid-column: 1 / -1;
    grid-row: 3;
}

/* Features Section Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 28px;
    }

    .feature-card-visual {
        height: 200px;
    }
}

@media (max-width: 600px) {
    .features-section {
        padding: 60px 12px;
    }

    .agent-features,
    .integration-features {
        padding-top: 0;
        padding-bottom: 60px;
    }

    .features-grid {
        gap: 16px;
    }

    .feature-card {
        padding: 20px;
    }

    .feature-card-title {
        font-size: 16px;
    }

    .feature-card-desc {
        font-size: 13px;
        line-height: 1.5;
    }

    .feature-card-visual {
        height: 280px;
        min-height: 280px;
        max-height: 280px;
        overflow: hidden;
    }

    /* Workflow Visual Mobile */
    .workflow-visual {
        padding: 12px;
        height: 100%;
    }

    .workflow-prompt {
        font-size: 11px;
        padding: 10px 12px;
        margin-bottom: 10px;
    }

    .workflow-step {
        font-size: 10px;
        padding: 5px 8px;
    }

    /* Query Demo Mobile */
    .query-visual {
        padding: 8px;
        height: 100%;
    }

    .query-demo {
        padding: 10px;
        overflow: hidden;
    }

    .query-header {
        font-size: 10px;
        padding: 6px 8px;
    }

    .query-prompt {
        font-size: 9px;
        padding: 6px 8px;
        margin: 6px 0;
    }

    .query-sources {
        font-size: 8px;
        padding: 4px 8px;
        margin-bottom: 6px;
    }

    .query-row {
        font-size: 9px;
        padding: 4px 8px;
    }

    .query-label {
        font-size: 9px;
    }

    .query-value {
        font-size: 9px;
    }

    /* Beat Demo Mobile */
    .beat-visual {
        padding: 8px;
        height: 100%;
    }

    .beat-demo {
        padding: 10px;
        overflow: hidden;
    }

    .beat-header {
        font-size: 10px;
        padding: 6px 8px;
    }

    .beat-source {
        font-size: 8px;
        padding: 4px 8px;
    }

    .beat-alert-title {
        font-size: 11px;
        margin: 8px 0 6px;
        padding: 0 8px;
    }

    .beat-detail-row {
        font-size: 9px;
        padding: 4px 8px;
    }

    .beat-actions {
        padding: 8px;
        gap: 6px;
    }

    .beat-action-btn {
        width: 28px;
        height: 28px;
    }

    /* Governance Demo Mobile */
    .governance-visual {
        padding: 8px;
        height: 100%;
    }

    .governance-demo {
        overflow: hidden;
    }

    .governance-header {
        font-size: 10px;
        padding: 6px 8px;
    }

    .governance-systems {
        gap: 4px;
        padding: 6px 8px;
        flex-wrap: wrap;
    }

    .governance-system {
        font-size: 8px;
        padding: 4px 6px;
    }

    .governance-action {
        font-size: 9px;
        padding: 4px 8px;
    }

    .governance-summary {
        padding: 8px;
    }

    .governance-summary-row {
        font-size: 9px;
        padding: 3px 0;
    }

    .governance-status {
        font-size: 9px;
    }
}

/* ===== FEATURES PAGE MOBILE OPTIMIZATION ===== */

/* Features Hero Mobile */
@media (max-width: 768px) {
    .features-hero {
        padding: 100px 16px 60px;
    }

    .features-hero-title {
        font-size: 32px;
    }

    .features-hero-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 600px) {
    .features-hero {
        padding: 80px 12px 40px;
    }

    .features-hero-label {
        font-size: 10px;
        margin-bottom: 16px;
    }

    .features-hero-title {
        font-size: 26px;
        margin-bottom: 16px;
    }

    .features-hero-subtitle {
        font-size: 14px;
    }
}

/* Features Agent Section Mobile */
@media (max-width: 768px) {
    .features-agent-section {
        padding: 50px 16px;
    }

    .features-agent-card {
        padding: 20px;
        gap: 20px;
    }

    .features-agent-wrapper {
        flex-direction: column;
        gap: 16px;
        padding: 16px;
    }

    .features-agent-editor {
        width: 100%;
        height: 280px;
    }

    .features-agent-chat {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        height: 260px;
    }

    .features-agent-info {
        text-align: center;
        order: -1;
    }
}

@media (max-width: 600px) {
    .features-agent-section {
        padding: 40px 12px;
    }

    .features-agent-card {
        padding: 12px;
        gap: 12px;
        overflow: hidden;
    }

    .features-agent-info {
        padding: 0;
        text-align: center;
    }

    .features-agent-wrapper {
        padding: 0;
        background: transparent;
        gap: 8px;
        flex-direction: column;
        overflow: hidden;
    }

    /* Hide the chat on mobile, show only editor */
    .features-agent-chat {
        display: none;
    }

    .features-agent-editor {
        width: 100%;
        height: 280px;
        min-height: 280px;
        max-height: 280px;
        border-radius: 6px;
        overflow: hidden;
    }

    .features-agent-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .features-agent-desc {
        font-size: 13px;
        margin-bottom: 8px;
        line-height: 1.5;
    }

    /* FAE Editor Styles - Make it the focus */
    .fae-header {
        padding: 6px 10px;
    }

    .fae-dots .dot {
        width: 8px;
        height: 8px;
    }

    .fae-tabs {
        gap: 4px;
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .fae-tab {
        font-size: 9px;
        padding: 3px 8px;
        white-space: nowrap;
    }

    .fae-content {
        padding: 0;
        flex: 1;
        overflow: hidden;
    }

    .fae-excel-header {
        padding: 8px 10px;
    }

    .fae-excel-tabs {
        gap: 12px;
    }

    .fae-excel-tab {
        font-size: 10px;
        padding-bottom: 6px;
    }

    .fae-excel-grid {
        font-size: 10px;
    }

    .fae-row {
        grid-template-columns: 28px repeat(4, 1fr);
    }

    .fae-cell {
        font-size: 10px;
        padding: 8px 6px;
    }

    .fae-slide-content {
        padding: 12px;
    }

    .fae-slide-title {
        font-size: 12px;
    }

    .fae-slide-chart {
        height: 100px;
    }

    .fae-bar {
        width: 24px;
    }

    .fae-bar-label {
        font-size: 8px;
    }
}

/* Capabilities Section Mobile */
@media (max-width: 768px) {
    .capabilities-section {
        padding: 50px 16px;
    }

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

    .capability-card {
        padding: 24px;
    }
}

@media (max-width: 600px) {
    .capabilities-section {
        padding: 40px 12px;
    }

    .capabilities-grid {
        gap: 16px;
    }

    .capability-card {
        padding: 16px;
    }

    .capability-title {
        font-size: 16px;
    }

    .capability-desc {
        font-size: 13px;
    }

    .capability-visual {
        height: auto;
        min-height: 160px;
    }

    /* Office Tabs Mobile */
    .office-tabs {
        padding: 6px;
        gap: 4px;
    }

    .office-tab {
        font-size: 9px;
        padding: 5px 8px;
        gap: 4px;
    }

    .office-tab svg {
        width: 12px;
        height: 12px;
    }

    .office-content {
        height: 140px;
    }

    .office-pane {
        padding: 10px;
    }

    /* Excel Grid Mobile */
    .excel-grid {
        font-size: 9px;
    }

    .excel-row {
        grid-template-columns: 24px repeat(4, 1fr);
    }

    .excel-cell {
        padding: 5px 6px;
    }

    /* PPTX Mobile */
    .pptx-slide {
        padding: 12px;
    }

    .pptx-title {
        font-size: 12px;
        margin-bottom: 10px;
    }

    .pptx-bar {
        width: 24px;
    }

    .pptx-bar span {
        font-size: 8px;
    }

    .pptx-footer {
        font-size: 9px;
        margin-top: 8px;
    }

    /* Word Doc Mobile */
    .word-doc {
        padding: 12px;
    }

    .word-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .word-para {
        font-size: 10px;
        margin-bottom: 8px;
    }

    .word-list-item {
        font-size: 10px;
    }

    /* Actions Visual Mobile */
    .actions-visual {
        padding: 10px;
    }

    .action-item {
        padding: 10px;
        font-size: 11px;
    }

    .action-icon {
        font-size: 14px;
    }

    /* Keyboard Visual Mobile */
    .keyboard-visual {
        padding: 10px;
    }

    .keyboard-demo {
        flex-direction: column;
        gap: 10px;
    }

    .keyboard-nav-list {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 6px;
    }

    .nav-item {
        padding: 6px 10px;
        font-size: 10px;
        gap: 6px;
    }

    .nav-item-key {
        font-size: 9px;
        padding: 2px 4px;
    }

    .keyboard-preview {
        flex: 1;
    }

    .preview-panel {
        display: none;
    }
}

/* Capabilities Section - Three Cards */
.capabilities-section {
    padding: 48px 20px 100px;
    background-color: var(--color-bg);
}

.capabilities-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.capability-card {
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-hairline);
    border-radius: 6px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
    overflow: hidden;
}

.capability-card-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
    letter-spacing: -0.01em;
}

.capability-card-desc {
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin: 0;
}

.capability-card-visual {
    margin-top: auto;
    border-radius: 4px;
    overflow: hidden;
    height: 260px;
    width: 100%;
    flex-shrink: 0;
    background: var(--color-bg-surface);
    border: 1px solid var(--color-hairline);
}

/* Office Visual - First Card */
.office-visual {
    background: var(--color-bg);
    padding: 0;
}

.office-window {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.office-window-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-hairline);
}

.office-dots {
    display: flex;
    gap: 6px;
}

.office-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-text-subtle);
}

.office-dot:first-child { background: #ff5f56; }
.office-dot:nth-child(2) { background: #ffbd2e; }
.office-dot:nth-child(3) { background: #27ca40; }

.office-tabs {
    display: flex;
    gap: 2px;
    flex: 1;
    overflow-x: auto;
}

.office-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    border: none;
    border-radius: 4px;
    font-size: 11px;
    color: var(--color-text-muted);
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.office-tab:hover {
    background: rgba(255, 255, 255, 0.05);
}

.office-tab.active {
    background: var(--color-bg-surface);
    color: var(--color-text);
}

.office-tab-icon {
    width: 14px;
    height: 14px;
}

.office-tab[data-office="excel"] .office-tab-icon { color: #217346; }
.office-tab[data-office="pptx"] .office-tab-icon { color: #d24726; }
.office-tab[data-office="word"] .office-tab-icon { color: #2b579a; }

.office-tab-close {
    font-size: 14px;
    opacity: 0.5;
    margin-left: 4px;
}

.office-content {
    flex: 1;
    position: relative;
    background: var(--color-bg-surface);
}

.office-pane {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease;
}

.office-pane.active {
    opacity: 1;
    visibility: visible;
}

/* Excel Pane */
.excel-grid {
    font-family: var(--font-mono);
    font-size: 11px;
}

.excel-row {
    display: grid;
    grid-template-columns: 30px repeat(4, 1fr);
    border-bottom: 1px solid var(--color-hairline);
}

.excel-row.excel-header {
    background: var(--color-bg-elevated);
    font-weight: 600;
    color: var(--color-text-muted);
}

.excel-cell {
    padding: 8px 10px;
    border-right: 1px solid var(--color-hairline);
    overflow: hidden;
    text-overflow: ellipsis;
}

.excel-cell.excel-row-num {
    background: var(--color-bg-elevated);
    color: var(--color-text-muted);
    text-align: center;
}

.excel-cell.excel-num {
    text-align: right;
    color: var(--color-text);
}

.excel-cell.highlight {
    background: rgba(33, 115, 70, 0.2);
    color: #4ade80;
}

/* PPTX Pane */
.pptx-slide {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 4px;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.pptx-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 16px;
}

.pptx-chart {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    gap: 12px;
    padding: 10px 0;
}

.pptx-bar {
    width: 40px;
    background: linear-gradient(180deg, #4f46e5 0%, #7c3aed 100%);
    border-radius: 4px 4px 0 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8px;
    transition: height 0.3s ease;
}

.pptx-bar.highlight {
    background: linear-gradient(180deg, #10b981 0%, #059669 100%);
}

.pptx-bar span {
    font-size: 10px;
    color: white;
    font-weight: 500;
}

.pptx-footer {
    font-size: 11px;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 12px;
}

/* Word Pane */
.word-doc {
    background: var(--color-bg-elevated);
    border-radius: 4px;
    padding: 20px;
    height: 100%;
}

.word-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-hairline);
}

.word-para {
    font-size: 12px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.word-highlight {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    padding: 1px 4px;
    border-radius: 2px;
}

.word-list {
    margin-top: 8px;
}

.word-list-item {
    font-size: 12px;
    color: var(--color-text-muted);
    padding: 4px 0;
}

/* Word Document Full View */
.word-content {
    padding: 16px;
    height: 100%;
}

.word-doc-full {
    background: var(--color-bg-elevated);
    border-radius: 4px;
    padding: 20px;
    height: 100%;
}

.word-title-full {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-hairline);
}

.word-para-full {
    font-size: 11px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}

.word-highlight {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
    padding: 1px 4px;
    border-radius: 2px;
}

.word-list-full {
    margin-top: 8px;
}

.word-list-item-full {
    font-size: 11px;
    color: var(--color-text-muted);
    padding: 3px 0;
}

/* Actions Visual - Second Card */
.actions-visual {
    background: var(--color-bg);
    padding: 0;
}

.actions-window {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.actions-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-hairline);
}

.actions-dots {
    display: flex;
    gap: 6px;
}

.actions-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--color-text-subtle);
}

.actions-dot:first-child { background: #ff5f56; }
.actions-dot:nth-child(2) { background: #ffbd2e; }
.actions-dot:nth-child(3) { background: #27ca40; }

.actions-title {
    font-size: 12px;
    color: var(--color-text-muted);
}

.actions-content {
    flex: 1;
    padding: 16px;
    background: var(--color-bg-surface);
}

.actions-input {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-hairline);
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 12px;
}

.actions-input-icon {
    color: var(--color-text-muted);
    font-size: 14px;
}

.actions-input-text {
    flex: 1;
    font-size: 13px;
    color: var(--color-text);
}

.actions-cursor {
    width: 2px;
    height: 16px;
    background: var(--color-text);
    animation: cursorBlink 1s infinite;
}

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

.actions-suggestions {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 4px;
    font-size: 13px;
    color: var(--color-text-muted);
    transition: all 0.15s ease;
    cursor: pointer;
}

.action-item:hover,
.action-item.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
}

.action-icon {
    font-size: 16px;
}

/* Keyboard Visual - Third Card */
.keyboard-visual {
    background: var(--color-bg);
    padding: 20px;
}

.keyboard-demo {
    display: flex;
    gap: 20px;
    height: 100%;
}

.keyboard-nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 0 0 auto;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--color-bg-surface);
    border: 1px solid var(--color-hairline);
    border-radius: 4px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.nav-item:hover,
.nav-item.active {
    background: var(--color-bg-elevated);
    border-color: rgba(255, 255, 255, 0.2);
}

.nav-item.active {
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.3);
}

.nav-shortcut {
    display: flex;
    gap: 4px;
}

.nav-shortcut kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: var(--color-bg);
    border: 1px solid var(--color-hairline);
    border-radius: 4px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--color-text-muted);
}

.nav-label {
    font-size: 13px;
    color: var(--color-text);
}

.keyboard-preview {
    flex: 1;
}

.preview-window {
    background: var(--color-bg-surface);
    border: 1px solid var(--color-hairline);
    border-radius: 4px;
    height: 100%;
    overflow: hidden;
}

.preview-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--color-bg-elevated);
    border-bottom: 1px solid var(--color-hairline);
}

.preview-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--color-text);
}

.preview-status {
    font-size: 11px;
    padding: 3px 8px;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border-radius: 4px;
}

.preview-content {
    padding: 12px;
}

.preview-item {
    padding: 10px 12px;
    font-size: 13px;
    color: var(--color-text-muted);
    border-radius: 4px;
    transition: all 0.15s ease;
}

.preview-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
}

/* Capabilities Section Responsive */
@media (max-width: 1024px) {
    .capabilities-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .capability-card {
        padding: 28px;
    }

    .capability-card-visual {
        height: 240px;
    }

    .keyboard-demo {
        flex-direction: column;
    }

    .keyboard-nav-list {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .capabilities-section {
        padding: 60px 12px;
    }

    .capabilities-grid {
        gap: 16px;
    }

    .capability-card {
        padding: 20px;
    }

    .capability-card-title {
        font-size: 16px;
    }

    .capability-card-desc {
        font-size: 13px;
        line-height: 1.5;
    }

    .capability-card-visual {
        height: 180px;
    }

    /* Model Selector Mobile */
    .model-selector-demo {
        padding: 12px;
    }

    .model-option {
        padding: 10px 12px;
        font-size: 12px;
    }

    .model-name {
        font-size: 12px;
    }

    .model-provider {
        font-size: 10px;
    }

    /* Actions Grid Mobile */
    .actions-visual {
        padding: 12px;
    }

    .action-item {
        padding: 10px;
        font-size: 11px;
    }

    /* Keyboard Demo Mobile */
    .keyboard-visual {
        padding: 12px;
    }

    .nav-item {
        padding: 8px 10px;
        font-size: 11px;
    }

    .preview-panel {
        display: none;
    }

    .office-tabs {
        gap: 0;
    }

    .office-tab {
        padding: 6px 8px;
        font-size: 10px;
    }

    .office-tab-icon {
        width: 12px;
        height: 12px;
    }

    .office-tab-close {
        display: none;
    }
}

/* Before/After Comparison Section */
.comparison-section {
    padding: 120px 20px;
    background-color: var(--color-bg);
    overflow: hidden;
}

.comparison-section .container {
    max-width: 1400px;
}

.comparison-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin: 0 0 32px 0;
    text-align: left;
}

.comparison-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.1;
    color: var(--color-text);
    margin: 0 0 16px 0;
    text-align: left;
}

.comparison-subtitle {
    font-size: 17px;
    line-height: 1.5;
    color: var(--color-text-muted);
    margin: 0 0 64px 0;
    text-align: left;
}

.comparison-slider-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.comparison-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 6px;
    overflow: hidden;
    box-shadow:
        0 60px 140px -30px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    cursor: ew-resize;
}

/* Comparison Panels */
.comparison-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.comparison-before {
    z-index: 1;
    clip-path: inset(0 50% 0 0);
    will-change: clip-path;
}

.comparison-after {
    z-index: 0;
}

.comparison-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.comparison-before .comparison-bg {
    filter: grayscale(30%) brightness(0.85);
}

.comparison-after .comparison-bg {
    filter: saturate(1.1) brightness(1.05);
}

.comparison-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.comparison-ui-frame {
    position: relative;
    width: 92%;
    max-width: 1100px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow:
        0 25px 80px -20px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1);
}

.comparison-ui-screenshot {
    width: 100%;
    height: auto;
    display: block;
}

.comparison-panel-label {
    position: absolute;
    top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.comparison-before .comparison-panel-label {
    left: 24px;
}

.comparison-after .comparison-panel-label {
    right: 24px;
}

.label-text {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-white);
}

.label-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

/* Teams Notification in Comparison Panels */
.teams-notification {
    position: absolute;
    bottom: 32px;
    width: 300px;
    max-width: 300px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: notificationSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both;
}

.comparison-before .teams-notification {
    left: 32px;
    animation-name: notificationSlideInLeft;
}

.comparison-after .teams-notification {
    right: 32px;
}

.teams-notification-img {
    width: 100%;
    height: auto;
    display: block;
}

@keyframes notificationSlideIn {
    from {
        opacity: 0;
        transform: translateX(20px) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

@keyframes notificationSlideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px) translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateX(0) translateY(0);
    }
}

/* Slider Handle */
.comparison-slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    will-change: left;
}

.slider-line {
    flex: 1;
    width: 2px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.slider-grip {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.3),
        0 0 0 4px rgba(255, 255, 255, 0.2);
    cursor: ew-resize;
    pointer-events: auto;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s ease;
}

.slider-grip:hover {
    transform: scale(1.1);
    box-shadow:
        0 6px 30px rgba(0, 0, 0, 0.4),
        0 0 0 6px rgba(255, 255, 255, 0.25);
}

.slider-grip:active {
    transform: scale(1.05);
}

.grip-arrows {
    width: 28px;
    height: 28px;
    color: #0a0a0a;
}

/* Responsive - Comparison Section */
@media (max-width: 1024px) {
    .comparison-section {
        padding: 100px 0;
    }

    .comparison-container {
        border-radius: 6px;
    }

    .comparison-content {
        padding: 20px;
    }

    .comparison-ui-frame {
        width: 94%;
    }

    .comparison-panel-label {
        top: 20px;
        padding: 10px 20px;
    }

    .comparison-before .comparison-panel-label {
        left: 20px;
    }

    .comparison-after .comparison-panel-label {
        right: 20px;
    }

    .slider-grip {
        width: 48px;
        height: 48px;
    }

    .grip-arrows {
        width: 24px;
        height: 24px;
    }

    .teams-notification {
        bottom: 20px;
        width: 280px;
        max-width: 280px;
    }

    .comparison-before .teams-notification {
        left: 20px;
    }

    .comparison-after .teams-notification {
        right: 20px;
    }
}

@media (max-width: 768px) {
    .comparison-section {
        padding: 50px 0;
    }

    .comparison-subtitle {
        margin-bottom: 32px;
    }

    .comparison-slider-wrapper {
        padding: 0 16px;
    }

    .comparison-container {
        aspect-ratio: 4 / 3;
        border-radius: 6px;
    }

    .comparison-content {
        padding: 16px;
    }

    .comparison-ui-frame {
        width: 95%;
        border-radius: 6px;
    }

    .comparison-panel-label {
        top: 12px;
        padding: 8px 16px;
        border-radius: 6px;
    }

    .comparison-before .comparison-panel-label {
        left: 12px;
    }

    .comparison-after .comparison-panel-label {
        right: 12px;
    }

    .label-text {
        font-size: 11px;
    }

    .label-desc {
        font-size: 11px;
    }

    .slider-grip {
        width: 44px;
        height: 44px;
    }

    .grip-arrows {
        width: 20px;
        height: 20px;
    }

    .teams-notification {
        bottom: 12px;
        width: 220px;
        max-width: 220px;
        border-radius: 6px;
    }

    .comparison-before .teams-notification {
        left: 12px;
    }

    .comparison-after .teams-notification {
        right: 12px;
    }
}

@media (max-width: 600px) {
    .comparison-section {
        padding: 40px 0;
    }

    .comparison-title {
        font-size: 24px;
    }

    .comparison-subtitle {
        font-size: 14px;
        margin-bottom: 24px;
    }

    .comparison-container {
        aspect-ratio: 16 / 10;
    }

    .comparison-bg {
        background-position: center center;
        background-size: cover;
    }

    .comparison-ui-frame {
        width: 90%;
        max-width: 280px;
    }

    .comparison-content {
        padding: 12px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .comparison-panel-label {
        top: 8px;
        padding: 5px 10px;
        gap: 2px;
    }

    .comparison-before .comparison-panel-label {
        left: 8px;
    }

    .comparison-after .comparison-panel-label {
        right: 8px;
    }

    .label-text {
        font-size: 10px;
    }

    .label-desc {
        display: none;
    }

    .slider-grip {
        width: 36px;
        height: 36px;
    }

    .grip-arrows {
        width: 16px;
        height: 16px;
    }

    .teams-notification {
        bottom: 8px;
        width: 120px;
        max-width: 120px;
        border-radius: 4px;
    }

    .teams-notification-img {
        width: 100%;
        height: auto;
    }

    .comparison-before .teams-notification {
        left: 8px;
    }

    .comparison-after .teams-notification {
        right: 8px;
    }
}

/* Section Divider */
.section-divider {
    height: 1px;
    border: none;
    background-color: var(--color-hairline);
    margin: 56px auto;
    padding: 0;
    max-width: 1400px;
    width: calc(100% - 40px);
}

@media (max-width: 1200px) {
    .section-divider {
        max-width: 1400px;
        width: calc(100% - 40px);
    }
}

@media (max-width: 900px) {
    .section-divider {
        margin: 48px auto;
        width: calc(100% - 32px);
    }
}

@media (max-width: 600px) {
    .section-divider {
        margin: 40px auto;
        width: calc(100% - 24px);
    }
}

/* Services Section */
.services {
    padding: 128px 0;
    background-color: var(--color-bg);
    background: var(--color-bg);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 120px;
    margin-top: 0;
}

.services-intro {
    padding-right: 40px;
}

.services-title {
    font-family: var(--font-display);
    font-size: 32px;
    margin-bottom: 32px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.services-description {
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* Service List - Accordion */
.services-list {
    border-top: 1px solid var(--color-hairline);
}

.service-item {
    border-bottom: 1px solid var(--color-hairline);
    transition: border-color 0.2s ease-out;
}

.service-item:hover {
    border-bottom-color: var(--color-hairline-hover);
}

.service-item:hover + .service-item {
    border-top-color: var(--color-hairline-hover);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 0;
    min-height: 56px;
    cursor: pointer;
    transition: all 0.18s ease-out;
    position: relative;
}

.service-item:hover .service-header {
    padding-left: 16px;
    background-color: rgba(255, 255, 255, 0.03);
    transform: translateY(-1px);
}

.service-item.active .service-header {
    background-color: var(--color-bg-surface);
    padding-left: 16px;
    padding-right: 16px;
}

.service-name {
    font-size: 20px;
    font-weight: 400;
    letter-spacing: -0.01em;
    transition: color 0.18s ease-out;
}

.service-item.active .service-name {
    color: var(--color-text);
}

.service-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--color-text-muted);
    display: inline-block;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    text-align: center;
    line-height: 24px;
    transition: color 0.3s ease, transform 0.3s ease;
    font-family: var(--font-mono);
}

.service-icon::before {
    content: '+';
}

.service-item:hover .service-icon {
    color: var(--color-text);
}

.service-item.active .service-icon {
    color: var(--color-text);
    transform: rotate(180deg);
}

.service-item.active .service-icon::before {
    content: '×';
}

/* Accordion Content */
.service-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.service-item.active .service-content {
    max-height: 600px;
}

.service-content-inner {
    padding: 0 0 40px 0;
}

/* Service Chip */
.service-chip {
    display: none;
}

/* Service Paragraph */
.service-paragraph {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 28px;
    max-width: 560px;
}

/* Service Sublist */
.service-sublist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-subitem {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 14px 0;
    border-top: 1px solid var(--color-hairline);
}

.service-subitem:last-child {
    border-bottom: 1px solid var(--color-hairline);
}

.service-subnumber {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    color: var(--color-text-subtle);
    flex-shrink: 0;
    letter-spacing: 0.02em;
    cursor: default;
    position: relative;
    display: inline-block;
    padding: 0 8px;
}

.service-subnumber::before {
    content: '[';
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

.service-subnumber::after {
    content: ']';
    position: absolute;
    right: 0;
    transition: transform 0.3s ease;
}

.service-subnumber:hover::before {
    transform: translateX(-2px);
}

.service-subnumber:hover::after {
    transform: translateX(2px);
}

.service-subtext {
    font-size: 15px;
    color: var(--color-text-muted);
    font-weight: 400;
    line-height: 1.5;
}

/* Stats Section */
.stats {
    padding: 128px 0;
    background-color: var(--color-bg);
    background: var(--color-bg);
}

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

.stat-item {
    text-align: left;
}

.stat-value {
    font-size: 72px;
    font-weight: 400;
    letter-spacing: -0.015em;
    line-height: 1;
    margin-bottom: 16px;
}

.stat-description {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    padding: 100px 20px;
    background-color: var(--color-bg);
}

.faq-section .container {
    max-width: 1400px;
}

.faq-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 24px;
    text-align: left;
}

.faq-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -0.01em;
    line-height: 1.15;
    margin-bottom: 48px;
    text-align: center;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    border-top: 1px solid var(--color-hairline);
    text-align: left;
}

.faq-item {
    border-bottom: 1px solid var(--color-hairline);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 18px;
    font-weight: 400;
    color: var(--color-text);
    transition: all 0.18s ease-out;
}

.faq-question:hover {
    padding-left: 16px;
    background-color: rgba(255, 255, 255, 0.03);
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--color-text-muted);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    text-align: center;
    line-height: 24px;
    transition: color 0.3s ease, transform 0.3s ease;
    font-family: var(--font-mono);
}

.faq-icon::before {
    content: '+';
}

.faq-question:hover .faq-icon {
    color: var(--color-text);
}

.faq-item.active .faq-icon {
    color: var(--color-text);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 0 24px 0;
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-muted);
    max-width: 560px;
}

.faq-closing {
    margin-top: 48px;
    font-size: 17px;
    color: var(--color-text-muted);
    font-style: italic;
    text-align: center;
}

/* Integrations Section */
.integrations {
    padding: 0 20px 80px;
    background-color: var(--color-bg);
    background: var(--color-bg);
}

.integrations .container {
    max-width: 1400px;
}

.integrations-label {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin: 0;
    padding: 0;
    text-align: left;
}

.integrations-more {
    font-family: var(--font-mono);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 48px;
}

/* Logo Marquee / Conveyor Belt */
.logo-marquee {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 48px;
    padding: 40px 0;
}

.logo-marquee-track {
    display: flex;
    width: fit-content;
    animation: marquee 40s linear infinite;
    will-change: transform;
}

/* Fade edges */
.logo-marquee::before,
.logo-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 200px;
    z-index: 2;
    pointer-events: none;
}

.logo-marquee::before {
    left: 0;
    background: linear-gradient(90deg, var(--color-bg) 0%, transparent 100%);
}

.logo-marquee::after {
    right: 0;
    background: linear-gradient(270deg, var(--color-bg) 0%, transparent 100%);
}

.logo-marquee-content {
    display: flex;
    align-items: center;
    gap: 100px;
    padding: 0 50px;
    flex-shrink: 0;
}

.marquee-logo {
    height: 48px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    flex-shrink: 0;
    /* Light filter for dark theme */
    filter: grayscale(100%) brightness(1.5) invert(1);
    opacity: 0.4;
    transition: all 0.3s ease;
}

.marquee-logo:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Pause animation on hover */
.logo-marquee:hover .logo-marquee-track {
    animation-play-state: paused;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .logo-marquee-track {
        animation: none;
    }
}

/* How It Works Section */
.how-it-works {
    padding: 128px 0;
    background-color: var(--color-bg);
    background: var(--color-bg);
}

.how-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 120px;
    margin-top: 0;
}

.how-intro {
    padding-right: 40px;
}

.how-title {
    font-family: var(--font-display);
    font-size: 32px;
    margin-bottom: 32px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.how-description {
    font-size: 17px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* Steps */
.how-steps {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.step-item {
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.step-number {
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 600;
    color: var(--color-text-subtle);
    letter-spacing: 0.08em;
    flex-shrink: 0;
    padding-top: 4px;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.step-description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* Final CTA Section */
.final-cta {
    padding: 160px 20px;
    background-color: var(--color-bg);
    background: var(--color-bg);
    text-align: left;
}

.final-cta .container {
    max-width: 1400px;
}

.cta-content {
    max-width: 800px;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 400;
    letter-spacing: -0.008em;
    line-height: 1.08;
    margin-bottom: 64px;
}

/* Footer */
.footer {
    padding: 96px 0 60px;
    background-color: var(--color-bg);
    background: var(--color-bg);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 100px;
    margin: 0 0 80px 0;
    padding: 0;
    align-items: start;
    width: 100%;
}

.footer-logo {
    font-family: var(--font-mono);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-logo-img {
    height: 120px;
    width: auto;
    display: block;
    object-fit: contain;
    opacity: 0.6;
}

.footer-tagline {
    display: none;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
}

.footer-column-title {
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.16em;
    margin-bottom: 24px;
    color: var(--color-text);
}

.footer-link {
    display: block;
    font-size: 15px;
    color: var(--color-text-muted);
    text-decoration: none;
    margin-bottom: 16px;
    transition: color 0.15s ease;
}

.footer-link:hover {
    color: var(--color-text);
}

.footer-bottom {
    padding: 40px 0 0 0;
    margin: 0;
    border-top: 1px solid var(--color-hairline);
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.footer-copyright {
    font-size: 13px;
    color: var(--color-text-subtle);
    letter-spacing: 0.01em;
}

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

.footer-legal-link {
    font-family: var(--font-mono);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-subtle);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-legal-link:hover {
    color: var(--color-white);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 30px;
    }

    .hero {
        padding-top: 40px;
        padding-bottom: 80px;
        min-height: auto;
    }

    /* Dark Hero Responsive - 1200px */
    .hero.hero-dark {
        padding: 60px 0 80px;
    }

    .hero-container-new {
        gap: 60px;
    }

    .hero-product-demo {
        margin-top: 56px;
        max-width: 100%;
    }

    .research-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 28px;
    }

    .docs-layout {
        grid-template-columns: 240px 1fr;
    }

    .docs-sidebar {
        padding: 32px 0;
    }

    .docs-nav {
        padding: 0 20px;
    }

    .docs-content {
        padding: 40px 48px 100px;
    }

    .services-grid,
    .how-grid {
        gap: 80px;
    }

}

@media (max-width: 1024px) {
    .hero {
        padding-top: 35px;
        padding-bottom: 70px;
        min-height: 85vh;
    }

    /* Dark Hero - Tablet */
    .hero-container-new {
        gap: 32px;
        padding-top: 10px;
    }

    .hero-demo-wrapper {
        width: calc(100% + 60px);
        margin-left: -30px;
        margin-right: -30px;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 35px;
        padding-bottom: 70px;
        min-height: 85vh;
    }

    /* Dark Hero - Mobile adjustments */
    .hero.hero-dark {
        padding: 40px 0 60px;
    }

    .hero-container-new {
        gap: 40px;
    }

    .demo-feature-tabs {
        padding: 4px;
        border-radius: 6px;
    }

    .tabs-highlight {
        top: 4px;
        height: calc(100% - 8px);
        border-radius: 4px;
    }

    .demo-tab {
        padding: 10px 12px;
        font-size: 11px;
    }

    .demo-tab span {
        display: none;
    }

    .demo-tab .tab-icon {
        width: 20px;
        height: 20px;
    }

    .hero-dark .hero-title {
        font-size: clamp(28px, 7vw, 48px);
    }

    .hero-demo-wrapper {
        width: calc(100% + 32px);
        margin-left: -16px;
        margin-right: -16px;
    }

    .hero-demo-frame {
        padding: 12px;
        border-radius: 6px;
    }

    .demo-slider {
        border-radius: 4px;
    }

    .demo-screenshot {
        border-radius: 4px;
    }
}

@media (max-width: 900px) {
    :root {
        --gutter: 40px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .research-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .logo {
        height: 28px;
    }
    
    
    .header-content {
        padding: 20px 0;
    }

    .header[data-condensed] .header-content {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .header-nav {
        gap: 32px;
    }
    
    .hero {
        padding-top: 35px;
        padding-bottom: 60px;
        min-height: 85vh;
    }
    
    .services-grid,
    .how-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .services-intro,
    .how-intro {
        padding-right: 0;
    }
    
    .integrations {
        padding: 0 0 60px;
    }
    
    .integrations-label {
        margin-bottom: 0;
    }
    
    .logo-marquee {
        margin-top: 40px;
        padding: 32px 0;
    }
    
    .integrations-more {
        margin-top: 32px;
    }
    
    .logo-marquee-content {
        gap: 70px;
    }
    
    .marquee-logo {
        height: 40px;
        max-width: 130px;
    }
    
    .logo-marquee::before,
    .logo-marquee::after {
        width: 120px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .footer-links {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .docs-layout {
        grid-template-columns: 1fr;
    }
    
    .docs-sidebar {
        position: relative;
        top: 0;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--color-hairline);
        padding: 24px 0;
    }
    
    .docs-sidebar-header {
        padding: 0 20px 16px;
    }
    
    .docs-nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px;
        padding: 0 20px;
    }
    
    .docs-nav-section {
        min-width: 140px;
    }
    
    .docs-content {
        padding: 40px 30px 80px;
    }
    
    /* How Section Tablet */
    .how-grid {
        gap: 60px;
    }
    
    .how-steps {
        gap: 48px;
    }
    
    .step-title {
        font-size: 20px;
    }
    
    /* Pricing Tablet */
    .pricing-grid {
        gap: 32px;
    }
    
    .enterprise-cta {
        margin-top: 40px;
    }
    
    /* Coming Soon Tablet */
    .coming-soon-page {
        padding: 100px 0;
    }
    
    /* Legal Pages Tablet */
    .legal-page {
        padding: 80px 0 100px;
    }
    
    .legal-title {
        font-size: 36px;
    }
}

@media (max-width: 600px) {
    :root {
        --gutter: 24px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .logo {
        height: 24px;
    }
    
    
    .header {
        background: rgba(10, 10, 10, 0.95);
    }

    .header-content {
        padding: 18px 0;
    }

    .header[data-condensed] .header-content {
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .header-nav {
        display: none;
    }

    .nav-dropdown {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-nav {
        display: block;
        top: 60px;
    }
    
    .mobile-nav-content {
        padding: 30px 20px 40px 20px;
        gap: 0;
        min-height: calc(100vh - 60px);
    }
    
    .mobile-nav-link {
        font-size: 16px;
        padding: 10px 0;
        margin: 0;
    }
    
    .mobile-nav-label {
        margin-bottom: 32px;
        margin-left: 0;
        padding: 0;
    }
    
    .footer-logo-img {
        height: 80px;
    }
    
    .hero {
        padding-top: 40px;
        padding-bottom: 60px;
        min-height: auto;
    }

    /* Dark Hero - Small mobile */
    .hero.hero-dark {
        padding: 30px 0 50px;
    }

    .hero-dark .hero-title {
        font-size: clamp(28px, 8vw, 40px);
    }

    .hero-dark .hero-subhead {
        font-size: 15px;
    }

    .demo-window-chrome {
        padding: 10px 12px;
    }

    .demo-window-dots .dot {
        width: 8px;
        height: 8px;
    }

    .demo-window-title {
        font-size: 11px;
    }

    .demo-feature-tabs {
        justify-content: center;
    }

    .hero-product-demo {
        margin-top: 40px;
    }

    .product-demo-img {
        border-radius: 6px;
    }

    .hero-subhead {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .about-page {
        padding: 100px 0 80px 0;
    }
    
    .about-page-text {
        font-size: 18px;
        line-height: 1.7;
    }
    
    .research-page {
        padding: 80px 0 80px 0;
    }
    
    .research-title {
        font-size: 28px;
    }
    
    .research-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .research-card-title {
        font-size: 20px;
    }
    
    .docs-sidebar {
        display: none;
    }
    
    .docs-content {
        padding: 32px 16px 60px;
    }
    
    .docs-section-heading {
        font-size: 26px;
    }
    
    h2.docs-section-heading {
        font-size: 22px;
    }
    
    .docs-section {
        margin-bottom: 48px;
        padding-bottom: 48px;
    }
    
    .docs-step {
        flex-direction: column;
        gap: 12px;
    }
    
    .pricing-page {
        padding: 80px 0 80px 0;
    }
    
    .pricing-title {
        font-size: 28px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .pricing-plan {
        padding: 32px 24px;
    }
    
    .price-amount {
        font-size: 36px;
    }
    
    .footer {
        padding: 80px 0 40px;
    }
    
    .hero-label,
    .services-label,
    .stats-label,
    .how-label,
    .cta-label {
        margin-bottom: 40px;
    }
    
    .hero-title {
        margin-bottom: 32px;
    }
    
    .hero-subhead {
        font-size: 18px;
        margin-bottom: 48px;
    }
    
    .services,
    .how-it-works {
        padding: 80px 0;
    }
    
    .integrations {
        padding: 0 0 48px;
    }
    
    .integrations-label {
        margin-bottom: 0;
    }
    
    .logo-marquee {
        margin-top: 32px;
        padding: 24px 0;
    }
    
    .integrations-more {
        margin-top: 24px;
        font-size: 12px;
    }
    
    .logo-marquee-track {
        animation-duration: 25s;
    }
    
    .logo-marquee-content {
        gap: 48px;
        padding: 0 24px;
    }
    
    .marquee-logo {
        height: 32px;
        max-width: 100px;
    }
    
    .logo-marquee::before,
    .logo-marquee::after {
        width: 60px;
    }
    
    .final-cta {
        padding: 100px 0;
    }
    
    .footer {
        padding: 80px 0 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .footer-legal-links {
        gap: 24px;
    }
    
    .service-item:hover .service-header {
        padding-left: 8px;
    }
    
    .service-name {
        font-size: 17px;
    }
    
    .service-paragraph {
        max-width: 100%;
    }
    
    /* Services Section Mobile */
    .services-title {
        font-size: 26px;
        margin-bottom: 24px;
    }
    
    .services-description {
        font-size: 15px;
    }
    
    .service-header {
        padding: 20px 0;
    }
    
    .service-content-inner {
        padding: 0 0 32px 0;
    }
    
    .service-subitem {
        padding: 12px 0;
        gap: 12px;
    }
    
    .service-subtext {
        font-size: 14px;
    }
    
    /* How Section Mobile */
    .how-title {
        font-size: 26px;
        margin-bottom: 24px;
    }
    
    .how-description {
        font-size: 15px;
    }
    
    .how-steps {
        gap: 40px;
    }
    
    .step-item {
        gap: 20px;
    }
    
    .step-title {
        font-size: 18px;
        margin-bottom: 8px;
    }
    
    .step-description {
        font-size: 14px;
    }
    
    /* CTA Section Mobile */
    .cta-title {
        margin-bottom: 40px;
    }
    
    /* Pricing Mobile */
    .billing-toggle {
        margin-bottom: 48px;
    }
    
    .feature-item {
        font-size: 13px;
        line-height: 1.5;
    }
    
    .enterprise-cta {
        margin-top: 32px;
        padding: 20px 24px;
        flex-direction: column;
        gap: 8px;
        text-align: center;
        width: 100%;
        box-sizing: border-box;
    }
    
    /* Coming Soon Mobile */
    .coming-soon-page {
        padding: 80px 0;
        min-height: calc(100vh - 160px);
    }
    
    .coming-soon-title {
        font-size: 32px;
    }
    
    .coming-soon-text {
        font-size: 15px;
        margin-bottom: 32px;
    }
    
    /* Legal Pages Mobile */
    .legal-page {
        padding: 80px 0;
    }
    
    .legal-title {
        font-size: 28px;
    }
    
    .legal-section {
        margin-bottom: 36px;
    }
    
    .legal-section h2 {
        font-size: 18px;
    }
    
    .legal-section p {
        font-size: 15px;
    }
    
    /* About Page Mobile */
    .about-page {
        padding: 80px 0 60px 0;
    }

    .about-page-label {
        margin-bottom: 32px;
    }
}

/* ===== HOME PAGE MOBILE OPTIMIZATION ===== */

/* Agent Showcase Mobile - 1024px */
@media (max-width: 1024px) {
    .agent-showcase-section {
        padding: 80px 20px;
    }

    .agent-showcase-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 32px;
        min-height: auto;
    }

    .agent-showcase-info {
        text-align: center;
        order: -1;
    }

    .agent-showcase-chat-wrapper {
        padding: 32px;
        min-height: auto;
    }

    .agent-showcase-chat {
        width: 100%;
        max-width: 420px;
        margin: 0 auto;
        height: 500px;
    }
}

/* Agent Showcase Mobile - 768px */
@media (max-width: 768px) {
    .agent-showcase-section {
        padding: 50px 16px;
    }

    .agent-showcase-card {
        padding: 20px;
        gap: 20px;
    }

    .agent-showcase-title {
        font-size: 24px;
    }

    .agent-showcase-desc {
        font-size: 15px;
    }

    .agent-showcase-chat-wrapper {
        padding: 16px;
    }

    .agent-showcase-chat {
        height: 400px;
    }
}

/* Agent Showcase Mobile - 600px */
@media (max-width: 600px) {
    .agent-showcase-section {
        padding: 40px 12px;
    }

    .agent-showcase-card {
        padding: 16px;
        gap: 16px;
    }

    .agent-showcase-info {
        padding: 0;
        text-align: center;
    }

    .agent-showcase-title {
        font-size: 22px;
        margin-bottom: 10px;
    }

    .agent-showcase-desc {
        font-size: 14px;
        margin-bottom: 12px;
        line-height: 1.5;
    }

    .agent-showcase-link {
        font-size: 13px;
    }

    .agent-showcase-chat-wrapper {
        padding: 0;
        background: transparent;
    }

    .agent-showcase-chat {
        height: 280px;
        width: 100%;
        max-width: 100%;
    }

    .agent-showcase-header {
        padding: 6px 10px;
    }

    .agent-showcase-logo-img {
        height: 12px;
    }

    .agent-showcase-tabs {
        padding: 4px 10px;
        gap: 4px;
    }

    .agent-showcase-tab {
        padding: 3px 6px;
        font-size: 9px;
    }

    .agent-showcase-messages {
        padding: 8px;
    }

    .thinking-text {
        font-size: 10px;
        line-height: 1.5;
    }

    .plan-item {
        font-size: 10px;
        padding: 5px 0;
        gap: 6px;
    }

    .plan-item .plan-status {
        width: 12px;
        height: 12px;
        font-size: 8px;
    }

    .indexing-item {
        font-size: 9px;
        padding: 3px 0;
    }

    .agent-showcase-input {
        padding: 6px;
        margin: 6px;
    }

    .agent-input-field {
        font-size: 12px;
    }

    .agent-input-meta {
        font-size: 10px;
    }

    .message-label {
        font-size: 9px;
        margin-bottom: 6px;
    }
}

/* FAQ Section Mobile */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 16px;
    }

    .faq-title {
        font-size: 26px;
        margin-bottom: 32px;
    }

    .faq-list {
        max-width: 100%;
    }

    .faq-question {
        padding: 18px 0;
        font-size: 15px;
    }

    .faq-answer p {
        font-size: 14px;
    }

    .faq-closing {
        margin-top: 32px;
        font-size: 14px;
    }
}

@media (max-width: 600px) {
    .faq-section {
        padding: 40px 12px;
    }

    .faq-label {
        font-size: 10px;
        margin-bottom: 16px;
    }

    .faq-title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .faq-question {
        padding: 14px 0;
        font-size: 14px;
    }

    .faq-question:hover {
        padding-left: 8px;
    }

    .faq-icon {
        font-size: 18px;
        width: 18px;
        height: 18px;
    }

    .faq-answer p {
        font-size: 13px;
        padding-bottom: 14px;
    }

    .faq-closing {
        margin-top: 24px;
        font-size: 13px;
    }
}

/* CTA Section Mobile */
@media (max-width: 768px) {
    .final-cta {
        padding: 60px 16px;
    }

    .cta-title {
        font-size: 26px;
    }
}

@media (max-width: 600px) {
    .final-cta {
        padding: 40px 12px;
    }

    .cta-label {
        font-size: 10px;
        margin-bottom: 16px;
    }

    .cta-title {
        font-size: 22px;
        margin-bottom: 24px;
    }

    .cta-button {
        padding: 12px 24px;
        font-size: 12px;
    }
}

/* Integrations Marquee Section Mobile */
@media (max-width: 600px) {
    .integrations {
        padding: 0 0 32px;
    }

    .integrations-label {
        font-size: 10px;
    }

    .logo-marquee {
        margin-top: 20px;
        padding: 16px 0;
    }

    .logo-marquee-content {
        gap: 32px;
    }

    .marquee-logo {
        height: 24px;
        max-width: 80px;
    }

    .integrations-more {
        margin-top: 16px;
        font-size: 11px;
    }
}
