:root {
    /* Light theme colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e5e5e5;
    --bg-hover: #f0f0f0;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-tertiary: #888888;
    --border-color: #e5e5e5;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.08);
    --accent-primary: #000000;
    --accent-hover: #333333;
    --accent-color: #000000;
    --mega-menu-bg: rgba(255, 255, 255, 0.95);
    --modal-bg: rgba(0, 0, 0, 0.6);
    --card-bg: #f8f9fa;
    --primary-color: #007bff;
    --primary-hover: #0056b3;
    --accent-bg: #f8f9fa;
}

[data-theme="dark"] {
    /* Dark theme colors */
    --bg-primary: #0f0f0f;
    --bg-secondary: #1a1a1a;
    --bg-tertiary: #2a2a2a;
    --bg-hover: #262626;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-tertiary: #999999;
    --border-color: #333333;
    --shadow-light: rgba(255, 255, 255, 0.1);
    --shadow-medium: rgba(255, 255, 255, 0.05);
    --accent-primary: #ffffff;
    --accent-hover: #cccccc;
    --accent-color: #ffffff;
    --mega-menu-bg: rgba(26, 26, 26, 0.95);
    --modal-bg: rgba(0, 0, 0, 0.8);
    --card-bg: #1a1a1a;
    --primary-color: #007bff;
    --primary-hover: #0056b3;
    --accent-bg: #1a1a1a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px; /* Account for fixed header */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Universal smooth transitions for theme switching */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Specific transitions for elements that change during theme switching */
.navbar,
.hero-section,
.features-section,
.cta-section,
footer,
.card,
.btn,
button,
input,
textarea,
.theme-toggle {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
}

p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.header {
    background: var(--bg-primary);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    border-bottom: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Navigation Styles */
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    height: 64px;
}

/* Logo and waitlist button styling */
.header .logo {
    display: flex;
    align-items: center;
}

.header .logo img {
    height: 40px;
    width: auto;
}

.logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-left: 0;
}



.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0.25rem 0.5rem;
    gap: 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: transparent;
}

nav {
    display: flex;
    justify-content: center;
    flex: 1;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 0.35rem 0.9rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 0.95rem;
    line-height: 1.2;
}

.nav-link:hover,
.nav-item.active .nav-link {
    background: var(--bg-hover);
    color: var(--text-primary);
}

/* Mega Menu Styles */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--mega-menu-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    width: 600px;
    max-width: 90vw;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.mega-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-menu-content {
    display: none;
    padding: 0;
}

.mega-menu-content.active {
    display: block;
}

.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0;
    align-items: start;
    min-height: 200px;
}

/* Single section layout (like Pricing) */
.mega-menu-grid:has(.mega-menu-section:only-child) {
    grid-template-columns: 1fr;
    min-height: auto;
}

.mega-menu .mega-menu-section {
    padding: 2rem 1.5rem;
    border-right: 1px solid rgba(0, 0, 0, 0.12);
    vertical-align: top;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

[data-theme="dark"] .mega-menu {
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .mega-menu .mega-menu-section {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.mega-menu .mega-menu-section:last-child {
    border-right: none;
}

/* Single section styling */
.mega-menu .mega-menu-section:only-child {
    border-right: none;
    text-align: left;
    padding: 1.5rem;
}

.mega-menu .mega-menu-section h4 {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    margin-top: 0;
    line-height: 1.2;
}

.mega-menu .mega-menu-items {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
}

.mega-menu .mega-menu-item {
    display: block;
    padding: 0.75rem 0.875rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
}

.mega-menu .mega-menu-item:hover {
    background: var(--bg-hover);
}

.mega-menu .mega-menu-item h5 {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    margin-top: 0;
    line-height: 1.3;
}

.mega-menu .mega-menu-item p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin: 0;
    text-align: left;
}

.mega-menu .mega-menu-item:hover h5 {
    color: var(--text-primary);
}

.mega-menu .mega-menu-item:hover p {
    color: var(--text-secondary);
}

.mega-menu-item {
    border: 1px solid transparent;
}

/* Pricing card styles in mega menu */
.mega-menu .pricing-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.mega-menu .pricing-card:hover {
    background: var(--bg-hover);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

.mega-menu .pricing-card h5 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    text-align: center;
}

.mega-menu .pricing-card .price-period {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.mega-menu .pricing-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-align: center;
}

.mega-menu .pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
    text-align: left;
}

.mega-menu .pricing-features li {
    font-size: 0.75rem;
    color: var(--text-secondary);
    padding: 0.25rem 0;
    position: relative;
    padding-left: 1rem;
}

.mega-menu .pricing-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 600;
}

.mega-menu .pricing-btn {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
}

.mega-menu .pricing-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.mega-menu-section {
    position: relative;
}

.mega-menu-section::before {
    content: '';
    position: absolute;
    top: 1rem;
    right: 0;
    width: 1px;
    height: calc(100% - 2rem);
    background: var(--border-color);
}

.mega-menu-section:last-child::before {
    display: none;
}

.nav-actions {
    position: fixed;
    right: 1.5rem;
    top: 0.75rem;
    transform: none;
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Add gap between buttons */
}

.peek-btn {
    padding: 0.4rem 1rem; /* Reduced padding */
    font-size: 0.9rem; /* Reduced font size */
    background: rgba(255, 255, 255, 0.1); /* Translucent background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .peek-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.05);
}

.peek-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .peek-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.1);
}

.theme-toggle {
    background: transparent;
    border: none;
    border-radius: 6px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    position: relative;
    margin-right: 1rem;
    color: var(--text-secondary);
}

.theme-toggle:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    transform: scale(1.1);
}

.theme-icon {
    position: absolute;
    font-size: 1rem;
    transition: opacity 0.3s ease, transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.moon-icon {
    opacity: 0;
    transform: rotate(180deg) scale(0.5);
}

[data-theme="dark"] .sun-icon {
    opacity: 0;
    transform: rotate(-180deg) scale(0.5);
}

[data-theme="dark"] .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-toggle:focus {
    outline: none;
}

.signup-btn {
    background: #4F46E5;
    color: white;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.signup-btn:hover {
    background: #4338CA;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.signup-btn:active {
    transform: translateY(0);
}

.hero-content .signup-btn {
    padding: 0.65rem 2rem;
    font-size: 1.05rem;
    border-radius: 9999px;
    background: #4F46E5;
    color: white;
    border: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 500;
}

.hero-content .signup-btn:hover {
    background: #4338CA;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.hero-content .signup-btn:active {
    transform: translateY(0);
}

.main-content {
    padding-top: 4rem; /* Increased from 2rem */
    padding-bottom: 4rem;
}

/* Homepage Hero Styles */
.hero {
    flex: 1; /* Changed from min-height: 100vh */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 2rem;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
    max-width: 1400px;
    margin: 0 auto;
    gap: 4rem;
    box-sizing: border-box;
}

.hero-content {
    flex: 1;
    max-width: 600px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-title h1 {
    margin-bottom: 0;
}

.hero-title img {
    vertical-align: middle;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    /* margin-bottom: 1.5rem; */
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-content .cta-button {
    display: inline-block;
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 1rem 0.75rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(235, 229, 229, 0.1);
}

.hero-content .cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Org Chart Styles */
.org-chart-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 600px;
    margin: 0;
    transform: scale(0.9);
}

.chart-row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.agent-box {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 2rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.human-box {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-color: #667eea;
    font-size: 1.1rem;
    min-width: 120px;
}

.maya-box {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-hover));
    color: var(--bg-primary);
    border-color: var(--accent-primary);
    font-size: 1.2rem;
    min-width: 150px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.mini-agents-row {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
}

.mini-agent {
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    font-size: 0.9rem;
    min-width: 100px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.mini-agent:hover,
.mini-agent.active {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.connection-vertical {
    width: 3px;
    height: 3rem;
    background: linear-gradient(to bottom, var(--border-color), var(--text-secondary), var(--border-color));
    border-radius: 2px;
    position: relative;
}

.connection-vertical::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.connection-branches {
    position: absolute;
    top: -3rem;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3rem;
    pointer-events: none;
}

.connection-branches::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--text-secondary), transparent);
    border-radius: 2px;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

/* Responsive Design for Homepage */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
        margin-bottom: 3rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .org-chart-container {
        display: none;
    }
    
    .mini-agents-row {
        gap: 1rem;
    }
    
    .mini-agent {
        font-size: 0.8rem;
        min-width: 80px;
        padding: 0.5rem 0.75rem;
    }
    
    .connection-vertical {
        height: 2rem;
    }
    
    .connection-branches {
        top: -2rem;
        height: 2rem;
    }
}

.pricing-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

.pricing-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.toggle-container {
    display: inline-flex;
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 0.25rem;
}

.toggle-btn {
    padding: 0.5rem 1.5rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.toggle-btn.active {
    background: var(--bg-primary);
    color: var(--text-primary);
    box-shadow: 0 2px 4px var(--shadow-light);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto 0;
    align-items: stretch;
    margin-top: -0.5rem; /* Adjusted to move cards slightly further down */
}

.pricing-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: capitalize;
    margin-bottom: 0.5rem;
}

.pricing-card .tagline {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.price-container {
    margin-bottom: 1.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
}

.price .period {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.features-list {
    list-style: none;
    margin: 0;
    padding: 0;
    flex-grow: 1;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.features-list li::before {
    content: '●';
    color: var(--text-primary);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.cta-button {
    display: block;
    width: 100%;
    padding: 0.75rem;
    margin-top: 1.5rem;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.cta-button:hover {
    transform: translateY(-2px);
    border-color: var(--text-secondary);
}

.pricing-card:hover .cta-button {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
}

.card-footer-text {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    text-align: center;
    margin-top: 1rem;
    line-height: 1.4;
}

.pricing-card.highlight {
    border-color: var(--accent-primary);
    border-width: 2px;
    padding: calc(1.5rem - 1px);
}

/* Mobile Navigation */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 10001;
}

.hamburger-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    position: relative;
    transition: background 0.2s ease-out;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: transform 0.2s ease-out;
}

.hamburger-icon::before {
    top: -7px;
}

.hamburger-icon::after {
    top: 7px;
}

.mobile-nav-toggle.open .hamburger-icon {
    background: transparent;
}

.mobile-nav-toggle.open .hamburger-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.mobile-nav-toggle.open .hamburger-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

.mobile-nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mobile-nav-menu.open {
    transform: translateX(0);
}

.mobile-nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    padding: 0.75rem 0;
    border-bottom: 1px solid transparent;
    transition: all 0.2s ease;
}

.mobile-nav-menu a:hover {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
}

.mobile-nav-menu .signup-btn {
    background: #4F46E5;
    color: white;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    text-align: center;
    margin-top: 1rem;
}

.mobile-nav-menu .signup-btn:hover {
    background: #4338CA;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(79, 70, 229, 0.3);
}

.mobile-nav-menu .signup-btn:active {
    transform: translateY(0);
}

/* Universal transition fix for smooth theme switching */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease !important;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: var(--modal-bg);
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
}

.modal-container {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(-20px);
    transition: transform 0.3s ease-out;
}

.modal-overlay.open .modal-container {
    transform: translateY(0);
}

.modal-header {
    display: none;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.modal-close:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.modal-content {
    padding: 1rem 2rem 2rem;
}

.modal-content > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.form-group input {
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
    width: 100%;
    padding-right: 50px; /* Make space for icon */
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--shadow-light);
}

.form-group input::placeholder {
    color: var(--text-tertiary);
}

.error-message {
    color: #e74c3c;
    font-size: 0.85rem;
    display: none;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.submit-btn-icon {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.submit-btn-icon:hover:not(:disabled) {
    background: var(--accent-hover);
    transform: translateY(-50%) scale(1.05);
}

.submit-btn-icon:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-icon,
.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.submit-btn {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.submit-btn:hover:not(:disabled) {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.submit-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-loader {
    display: flex;
    align-items: center;
    justify-content: center;
}

.success-message {
    text-align: center;
    padding: 2rem 0;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #27ae60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1rem;
    font-weight: bold;
}

.success-message h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem;
}

.success-message p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

[data-theme="dark"] .pricing-card {
    background: var(--bg-secondary);
}

[data-theme="dark"] .features-list li,
[data-theme="dark"] .pricing-card h3,
[data-theme="dark"] .pricing-card .tagline,
[data-theme="dark"] .pricing-card .price,
[data-theme="dark"] .pricing-card .price .period,
[data-theme="dark"] .card-footer-text
 {
    color: var(--text-primary);
}

/* Page Layout Styles */
.product-page-container,
.docs-page-container,
.blog-page-container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    gap: 2rem;
}

/* Sidebar Styles */
.product-sidebar,
.docs-sidebar,
.blog-sidebar,
.agents-sidebar {
    background: transparent;
    border-radius: 0;
    padding: 1.5rem 0;
    height: fit-content;
    position: sticky;
    top: 100px;
    border: none;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.product-sidebar::-webkit-scrollbar,
.docs-sidebar::-webkit-scrollbar,
.blog-sidebar::-webkit-scrollbar,
.agents-sidebar::-webkit-scrollbar {
    width: 6px;
}

.product-sidebar::-webkit-scrollbar-track,
.docs-sidebar::-webkit-scrollbar-track,
.blog-sidebar::-webkit-scrollbar-track,
.agents-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.product-sidebar::-webkit-scrollbar-thumb,
.docs-sidebar::-webkit-scrollbar-thumb,
.blog-sidebar::-webkit-scrollbar-thumb,
.agents-sidebar::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.product-sidebar::-webkit-scrollbar-thumb:hover,
.docs-sidebar::-webkit-scrollbar-thumb:hover,
.blog-sidebar::-webkit-scrollbar-thumb:hover,
.agents-sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}

/* Scrollbar appears only when hovering over sidebar or scrolling */
.product-sidebar:hover::-webkit-scrollbar-thumb,
.docs-sidebar:hover::-webkit-scrollbar-thumb,
.blog-sidebar:hover::-webkit-scrollbar-thumb,
.agents-sidebar:hover::-webkit-scrollbar-thumb,
.product-sidebar.scrolling::-webkit-scrollbar-thumb,
.docs-sidebar.scrolling::-webkit-scrollbar-thumb,
.blog-sidebar.scrolling::-webkit-scrollbar-thumb,
.agents-sidebar.scrolling::-webkit-scrollbar-thumb {
    background: #d0d0d0;
}

[data-theme="dark"] .product-sidebar:hover::-webkit-scrollbar-thumb,
[data-theme="dark"] .docs-sidebar:hover::-webkit-scrollbar-thumb,
[data-theme="dark"] .blog-sidebar:hover::-webkit-scrollbar-thumb,
[data-theme="dark"] .agents-sidebar:hover::-webkit-scrollbar-thumb,
[data-theme="dark"] .product-sidebar.scrolling::-webkit-scrollbar-thumb,
[data-theme="dark"] .docs-sidebar.scrolling::-webkit-scrollbar-thumb,
[data-theme="dark"] .blog-sidebar.scrolling::-webkit-scrollbar-thumb,
[data-theme="dark"] .agents-sidebar.scrolling::-webkit-scrollbar-thumb {
    background: #4a4a4a;
}

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

.sidebar-header h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.sidebar-nav h4 {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 1.5rem 0 0.5rem 0;
}

.sidebar-nav h4:first-child {
    margin-top: 0;
}

.sidebar-nav ul {
    list-style: none;
    margin: 0 0 1rem 0;
    padding: 0;
}

.sidebar-nav li {
    margin: 0;
}

.sidebar-nav a {
    display: block;
    padding: 0.5rem 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.sidebar-nav a:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.sidebar-nav a.active {
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    border-left: 2px solid var(--accent-primary);
    padding-left: calc(0.75rem - 2px);
}

/* Docs Layout - CSS Grid for sidebar pages */
.docs-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 6rem 2rem 2rem 2rem;
    min-height: calc(100vh - 64px);
    flex-grow: 1;
}

/* Main Content Areas */
.product-main-content,
.docs-main-content,
.docs-main,
.blog-main-content {
    flex: 1;
    min-width: 0;
}

/* Product Page Styles */
.product-main-content .hero {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 3rem;
    margin-bottom: 4rem;
    padding: 2rem 0;
}

@media (max-width: 900px) {
    .product-main-content .hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
}

.product-main-content .hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.product-main-content .hero .subheadline {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.product-main-content .hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.product-main-content .primary-cta,
.product-main-content .secondary-cta {
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    display: inline-block;
}

.product-main-content .primary-cta {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.product-main-content .primary-cta:hover {
    background: var(--accent-hover);
}

.product-main-content .secondary-cta {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.product-main-content .secondary-cta:hover {
    background: var(--bg-tertiary);
}

.product-main-content .hero-visual {
    margin-top: 2rem;
}

/* New Product Page Styles */
.product-hero {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 5rem;
    padding: 3rem 0;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.product-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    line-height: 1.2;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.feature-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.highlight-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.highlight-content h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.highlight-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

.btn-primary,
.btn-secondary {
    padding: 0.875rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: var(--accent-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
    transform: translateY(-1px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.hero-visual {
    max-width: 900px;
    margin: 0 auto;
}

.dashboard-preview {
    background: var(--bg-secondary);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px var(--shadow-medium);
}

.dashboard-preview img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.product-section {
    margin-bottom: 5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.feature-card {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px var(--shadow-light);
    border-color: var(--accent-primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.agent-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.agent-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-light);
}

.agent-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.agent-card h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.agent-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.agent-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.agent-examples span {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 500;
}

.workflow-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.step-content h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.integration-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    text-align: center;
}

.integration-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--shadow-light);
}

.integration-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.integration-card h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.integration-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: var(--bg-secondary);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--shadow-light);
}

.faq-item h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.faq-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.cta-section {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 4rem 2rem;
    text-align: center;
    border: 1px solid var(--border-color);
    margin-top: 3rem;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.cta-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Responsive Design Updates */
@media (max-width: 768px) {
    .product-hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .agents-grid {
        grid-template-columns: 1fr;
    }
    
    .workflow-steps {
        grid-template-columns: 1fr;
    }
    
    .integrations-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section {
        padding: 3rem 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .product-hero {
        padding: 2rem 0;
    }
    
    .product-hero h1 {
        font-size: 1.8rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .feature-card,
    .agent-card,
    .integration-card,
    .faq-item {
        padding: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
} 

/* Responsive mega menu */
@media (max-width: 768px) {
    .mega-menu {
        width: 90vw;
        max-width: 400px;
    }
    
    .mega-menu-grid {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .mega-menu .mega-menu-section {
        padding: 1.5rem 1rem;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .mega-menu .mega-menu-section:last-child {
        border-bottom: none;
    }
    
    .mega-menu .mega-menu-section::before {
        display: none;
    }
}

/* Docs Page Styles */
.docs-main-content section {
    margin-bottom: 3rem;
}

.docs-main-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.docs-main-content h2 {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 4rem 0 2rem; /* Increased vertical margin */
}

.docs-main-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.docs-main-content pre {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.5rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.docs-main-content code {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: 'Monaco', 'Menlo', 'Consolas', monospace;
    font-size: 0.9rem;
}

.docs-main-content pre code {
    background: none;
    padding: 0;
}

/* Blog Page Styles */
.blog-header {
    margin-bottom: 2rem;
}

.blog-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-primary);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Blog Post Page Styles */
.blog-post-main {
    padding-top: 5rem;
    min-height: 100vh;
    background: var(--bg-primary);
}

.blog-post-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem;
}

.blog-article {
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.blog-post-header {
    padding: 3rem;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.blog-post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-category {
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
}

.blog-date {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.blog-post-title {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin: 1rem 0;
    line-height: 1.2;
}

.blog-post-excerpt {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 1rem 0 2rem;
}

.blog-post-author {
    color: var(--text-secondary);
    font-size: 1rem;
}

.blog-post-author strong {
    color: var(--text-primary);
}

.blog-post-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-content {
    padding: 3rem;
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 1.1rem;
}

.blog-post-content h2 {
    font-size: 2rem;
    margin: 2rem 0 1rem;
    color: var(--text-primary);
}

.blog-post-content h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--text-primary);
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content ul,
.blog-post-content ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.blog-post-content li {
    margin-bottom: 0.75rem;
}

.blog-post-content a {
    color: var(--accent-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.blog-post-content a:hover {
    border-bottom-color: var(--accent-primary);
}

.blog-post-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

.blog-post-content em {
    font-style: italic;
    color: var(--text-secondary);
}

.blog-post-footer {
    padding: 3rem;
    border-top: 1px solid var(--border-color);
}

.share-section {
    margin-bottom: 3rem;
}

.share-section h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.share-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.share-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.share-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.share-button.twitter:hover {
    background: #1DA1F2;
    color: white;
    border-color: #1DA1F2;
}

.share-button.linkedin:hover {
    background: #0077B5;
    color: white;
    border-color: #0077B5;
}

.share-button.copy {
    cursor: pointer;
}

.share-button.copy:hover {
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-color: var(--accent-primary);
}

.related-posts {
    margin-top: 3rem;
}

.related-posts h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.related-post-card {
    background: var(--bg-primary);
    padding: 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
}

.related-post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.related-post-card h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.related-post-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.related-post-card .read-more {
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.blog-cta {
    background: var(--bg-primary);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
}

.blog-cta h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.blog-cta p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.blog-cta .cta-button {
    display: inline-block;
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 0.75rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.blog-cta .cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.loading-spinner {
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
}

.error-message {
    text-align: center;
    padding: 3rem;
}

.error-message h2 {
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.error-message p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.error-message .btn-primary {
    display: inline-block;
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
}

.post-card {
    background: var(--bg-secondary);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid var(--border-color);
    display: block;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-light);
}

.post-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-card h3 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 1.5rem 1.5rem 0.5rem 1.5rem;
    line-height: 1.4;
}

.post-card-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0 1.5rem 1.5rem 1.5rem;
}

@media (max-width: 992px) {
    .nav-menu,
    .nav-actions {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
    }
}

/* Responsive Design for Content Pages */
@media (max-width: 768px) {
    .product-page-container,
    .docs-page-container,
    .blog-page-container {
        flex-direction: column;
        padding: 1rem;
    }
    
    .product-sidebar,
    .docs-sidebar,
    .blog-sidebar,
    .agents-sidebar {
        flex: none;
        position: static;
        margin-bottom: 2rem;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.docs-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.docs-container h1,
.docs-container h2,
.docs-container h3,
.docs-container h4 {
    color: var(--text-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.docs-container h1 {
    font-size: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.docs-container h2 {
    font-size: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.docs-container h3 {
    font-size: 1.5rem;
}

.docs-container p,
.docs-container li {
    line-height: 1.6;
    color: var(--text-secondary);
}

.docs-container a {
    color: var(--primary-color);
    text-decoration: none;
}

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

.docs-container table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.docs-container th,
.docs-container td {
    border: 1px solid var(--border-color);
    padding: 0.75rem;
    text-align: left;
}

.docs-container th {
    background-color: var(--background-secondary);
}

.docs-container pre {
    background-color: var(--background-secondary);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.docs-container code {
    font-family: var(--font-mono);
    background-color: var(--background-secondary);
    padding: 0.2em 0.4em;
    border-radius: 4px;
    font-size: 0.9em;
}

.docs-container pre code {
    background-color: transparent;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
}

.docs-container ol,
.docs-container ul {
    padding-left: 2rem;
    margin-bottom: 1rem;
}

.docs-container section {
    margin-bottom: 4rem; /* Increased bottom margin */
} 

/* Docs Layout - Cloudflare Style */
.docs-layout {
    display: grid;
    grid-template-columns: 280px 1fr 200px;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem 2rem 2rem; /* Adjusted top padding for fixed header */
    min-height: calc(100vh - 80px);
}

/* Left Sidebar */
.docs-sidebar {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 1.5rem 0;
    position: sticky;
    top: 80px;
    height: calc(100vh - 100px);
    overflow-y: auto;
}

.sidebar-header {
    padding: 0 0 1rem 0;
    border-bottom: 1px solid var(--border-color);
    background: transparent;
    margin-bottom: 1rem;
}

.sidebar-header h3 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}


.docs-sidebar .sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nav-section {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-section:last-child {
    border-bottom: none;
}

.nav-section h4 {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 0.75rem 0;
    padding: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-section li {
    margin: 0;
}

.nav-section a {
    display: block;
    padding: 0.5rem 0;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
    margin-left: -1.5rem;
    padding-left: 1.5rem;
}

.nav-section a:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    border-left-color: var(--accent-primary);
    border-radius: 4px;
    margin-right: -1.5rem;
    padding-right: 1.5rem;
}

.nav-section a.active {
    background: transparent;
    color: var(--text-primary);
    border-left-color: var(--accent-primary);
    font-weight: 600;
    border-radius: 8px;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Main Content */
.docs-main {
    min-width: 0;
    padding: 0 2rem;
}

.docs-content {
    max-width: 800px;
}

.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.docs-section {
    margin-bottom: 3rem;
    padding: 1rem 0;
}

.docs-section h2 {
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.docs-section h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    line-height: 1.4;
}

.docs-section p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.page-header h1 {
    color: var(--text-primary);
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.page-description {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0 0 1rem 0;
}

.availability-badge {
    display: inline-block;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.section-divider {
    border: none;
    height: 1px;
    background: var(--border-color);
    margin: 3rem 0;
}

/* Content Sections */
.docs-content section {
    margin-bottom: 4rem; /* Increased bottom margin */
}

.docs-content h2 {
    color: var(--text-primary);
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.docs-content h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 600;
    margin: 3.5rem 0 1.5rem; /* Increased vertical margin */
    line-height: 1.4;
}

.docs-content h4 {
    color: var(--text-primary);
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
    line-height: 1.4;
}

.docs-content p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.docs-content ul {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.docs-content li {
    margin-bottom: 0.5rem;
}

/* Feature Items */
.feature-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

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

.feature-item h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.feature-link {
    color: var(--accent-primary);
    text-decoration: none;
    font-weight: 500;
    display: inline-block;
    margin-top: 0.5rem;
}

.feature-link:hover {
    text-decoration: underline;
}

/* Related Products */
.related-product {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.related-product:last-child {
    border-bottom: none;
}

.related-product h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

/* Code Examples */
.code-example {
    margin: 1.5rem 0;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.code-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.code-example pre {
    background: var(--bg-tertiary);
    margin: 0;
    padding: 1rem;
    overflow-x: auto;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-primary);
}

.code-example code {
    background: none;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
}

/* Step Items */
.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

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

.step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.step-content h3 {
    color: var(--text-primary);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Architecture Diagram */
.architecture-diagram {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 3rem;
    margin: 2rem 0;
    text-align: center;
}

.diagram-placeholder {
    color: var(--text-secondary);
    font-style: italic;
}

/* Agent Types */
.agent-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.agent-type {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.5rem;
}

.agent-type h4 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.agent-type p {
    margin: 0;
    font-size: 0.9rem;
}

/* Memory Tiers */
.memory-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.memory-tier {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.5rem;
    text-align: center;
}

.memory-tier h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.memory-tier p {
    margin: 0;
    font-size: 0.9rem;
}

/* Routing Flow */
.routing-flow {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.flow-step {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1.5rem;
    text-align: center;
}

.flow-step h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.flow-step p {
    margin: 0;
    font-size: 0.9rem;
}

/* API Endpoints */
.api-endpoint {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1rem;
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.endpoint-method {
    background: var(--accent-primary);
    color: var(--bg-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    flex-shrink: 0;
}

.endpoint-path {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
    font-weight: 500;
    flex-shrink: 0;
}

.endpoint-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex: 1;
}

/* Right Sidebar (TOC) */
.docs-toc {
    background: transparent;
    border-left: none;
    padding: 0;
    position: sticky;
    top: 100px;
    height: fit-content;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.toc-header {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    background: transparent;
}

.toc-header h4 {
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.toc-nav {
    padding: 1rem 0;
}

.toc-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.toc-nav li {
    margin: 0;
}

.toc-nav a {
    display: block;
    padding: 0.25rem 0;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    border-left: 2px solid transparent;
}

.toc-nav a:hover {
    background: transparent;
    color: var(--text-primary);
    border-left-color: var(--border-color);
}

.toc-nav a.active {
    background: transparent;
    color: var(--accent-primary);
    border-left-color: var(--accent-primary);
    font-weight: 600;
}

/* Architecture Grid */
.architecture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.architecture-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
}

.architecture-card h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.component-table {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.component-row {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 6px;
}

.component-name {
    font-weight: 600;
    color: var(--text-primary);
}

.component-desc {
    color: var(--text-secondary);
    line-height: 1.5;
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.flow-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-tertiary);
    border-radius: 6px;
}

.step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.step-content h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Setup Steps */
.setup-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.setup-step {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
}

.step-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.step-header h3 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1.25rem;
}

.code-block {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
}

.code-block pre {
    margin: 0;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--text-primary);
    overflow-x: auto;
}

.code-block code {
    background: none;
    padding: 0;
    border-radius: 0;
    font-size: inherit;
}

/* Concepts Grid */
.concepts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.concept-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.concept-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.concept-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.concept-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.concept-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: left;
}

/* API Sections */
.api-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.api-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
}

.api-section h3 {
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.api-endpoint {
    background: var(--bg-tertiary);
    border-radius: 6px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.endpoint-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.method {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.method.post {
    background: #10b981;
    color: white;
}

.method.get {
    background: #3b82f6;
    color: white;
}

.endpoint {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    background: var(--bg-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.api-endpoint p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* Development Guide */
.dev-guide-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.guide-section {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
}

.guide-section h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.guide-section p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.code-example {
    margin-top: 1.5rem;
}

.code-example h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.requirement-card {
    background: var(--bg-tertiary);
    border-radius: 6px;
    padding: 1.5rem;
}

.requirement-card h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.requirement-card p {
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}

.requirement-card code {
    background: var(--bg-primary);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.8rem;
}

/* Memory Tiers */
.memory-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.tier-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.tier-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.tier-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tier-icon {
    font-size: 2rem;
}

.tier-header h3 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1.25rem;
}

.tier-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.tier-content ul {
    color: var(--text-secondary);
    padding-left: 1.5rem;
}

.tier-content li {
    margin-bottom: 0.5rem;
}

/* Security Grid */
.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.security-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.security-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.security-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.security-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.security-card ul {
    color: var(--text-secondary);
    text-align: left;
    padding-left: 1.5rem;
}

.security-card li {
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

/* Extensibility */
.extensibility-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.extension-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
}

.extension-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.extension-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.integration-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.integration-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border-radius: 6px;
}

.integration-name {
    font-weight: 600;
    color: var(--text-primary);
}

.integration-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.faq-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.faq-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.faq-card h3 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.faq-card code {
    background: var(--bg-tertiary);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9rem;
}

/* Contribution Steps */
.contribution-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.contrib-step {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    gap: 2rem;
}

.contrib-step .step-number {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: var(--accent-primary);
    color: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

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

.contrib-step .step-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.contrib-step .step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Responsive Design for Docs */
@media (max-width: 1200px) {
    .docs-layout {
        grid-template-columns: 250px 1fr 180px;
    }
    
    .docs-main {
        padding: 0 1rem;
    }
}

@media (max-width: 992px) {
    .docs-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 6rem 1rem 1rem 1rem;
    }
    
    .docs-sidebar,
    .docs-toc {
        position: static;
        max-height: none;
        order: 2;
    }
    
    .docs-main {
        padding: 0 1rem;
        order: 1;
    }
    
    .docs-toc {
        order: 3;
    }
    
    .nav-section {
        display: block;
    }
    
    .nav-section:first-child {
        display: block;
    }
    
    .toc-nav {
        max-height: 200px;
        overflow-y: auto;
    }
}

@media (max-width: 768px) {
    .docs-layout {
        padding: 0.5rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .docs-content h2 {
        font-size: 1.5rem;
    }
    
    .docs-content h3 {
        font-size: 1.25rem;
    }
    
    .agent-types,
    .memory-tiers,
    .routing-flow {
        grid-template-columns: 1fr;
    }
    
    .step-item {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-number {
        align-self: flex-start;
    }
    
    .api-endpoint {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .docs-toc {
        display: none;
    }
} 

.product-main-content h2 {
    margin-bottom: 1.5rem; 
}

.product-main-content p {
    line-height: 1.7; 
    margin-bottom: 2rem; 
}

/* Logo Section */
.logo-section {
    min-height: 100vh;
    background: var(--bg-primary);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.centered-logo {
    height: 200px;
    width: auto;
    object-fit: contain;
}

/* Footer Styles */
.site-footer {
    padding: 1rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--bg-primary);
    width: 100%;
}

.footer-nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.footer-copy {
    color: var(--text-tertiary);
    font-size: 0.8rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .footer-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
}


.footer-nav a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-nav a:hover {
    color: var(--text-primary);
}

.disabled-link {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    cursor: not-allowed;
    opacity: 0.5;
    position: relative;
}

.disabled-link:hover {
    color: var(--text-tertiary);
}

.footer-copy {
    color: var(--text-tertiary);
    font-size: 0.8rem;
    margin-left: 1rem;
}

/* About Page Styles */
.about-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.hero-section {
    text-align: center;
    margin-bottom: 4rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.founder-section {
    margin-bottom: 4rem;
}

.founder-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.founder-text h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.mission-section, .values-section {
    margin-bottom: 4rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.value-card {
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.value-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* Careers Page Styles */
.careers-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.careers-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.careers-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.ceo-letter {
    margin-bottom: 4rem;
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.letter-content h2 {
    margin-bottom: 2rem;
    color: var(--accent-color);
}

.letter-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.signature {
    margin-top: 2rem;
    font-style: italic;
}

.open-positions {
    margin-bottom: 4rem;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.position-card {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.position-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-light);
}

.position-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.position-header h3 {
    color: var(--accent-color);
    margin: 0;
}

.position-type {
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.position-location {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.position-description {
    margin-bottom: 1.5rem;
}

.position-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.skill-tag {
    background: var(--bg-hover);
    color: var(--text-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    border: 1px solid var(--border-color);
}

.apply-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    width: 100%;
}

.apply-btn:hover {
    background: var(--accent-hover);
}

.culture-section {
    margin-bottom: 4rem;
}

.culture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.culture-item {
    text-align: center;
    padding: 2rem;
}

.culture-item h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

/* Agents Page Styles */
.agents-layout {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem 2rem 2rem; /* Adjusted top padding for fixed header */
}

.agents-sidebar {
    width: 250px;
    flex-shrink: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 1.5rem 0;
    height: fit-content;
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.agents-sidebar .sidebar-nav {
    position: static;
}

.agents-main-content {
    flex: 1;
    min-width: 0;
}

.agents-overview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.agent-overview-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
}

.agent-overview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.agent-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.agent-overview-card h3 {
    color: var(--text-primary);
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.agent-overview-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.card-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

/* Benefits List */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.benefits-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    line-height: 1.6;
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Info Box */
.info-box {
    background: var(--accent-bg, #f8f9fa);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid var(--primary-color);
}

.info-box h4 {
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-box p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Dark mode adjustments */
[data-theme="dark"] .info-box {
    background: var(--card-bg);
    border-color: var(--border-color);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .agents-overview-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin: 2rem 0;
    }
    
    .agent-overview-card {
        padding: 1.5rem;
    }
    
    .agent-icon {
        font-size: 2rem;
    }
}

/* API Page Styles */
.api-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.api-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.api-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-top: 1rem;
}

.api-version {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.version-badge, .status-badge {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
}

.version-badge {
    background: var(--accent-color);
    color: white;
}

.status-badge {
    background: #10b981;
    color: white;
}

.api-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
}

.feature-item h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.setup-steps {
    margin: 2rem 0;
}

.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.step-number {
    background: var(--accent-color);
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h3 {
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.step-content code {
    background: var(--bg-primary);
    padding: 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    display: block;
    margin-top: 0.5rem;
    border: 1px solid var(--border-color);
}

.endpoint-group {
    margin-bottom: 3rem;
}

.endpoint-group h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.endpoint {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-bottom: 1rem;
}

.endpoint-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.method {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

.method.get {
    background: #10b981;
}

.method.post {
    background: #3b82f6;
}

.method.put {
    background: #f59e0b;
}

.method.delete {
    background: #ef4444;
}

.path {
    font-family: 'Courier New', monospace;
    background: var(--bg-primary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.webhook-events ul {
    margin-top: 1rem;
}

.webhook-events code {
    background: var(--bg-secondary);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    color: var(--accent-color);
}

.sdk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.sdk-item {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.sdk-item h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.sdk-item code {
    background: var(--bg-primary);
    padding: 0.5rem;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    display: block;
    margin: 1rem 0;
    border: 1px solid var(--border-color);
}

.limits-table {
    margin: 2rem 0;
}

.limit-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-bottom: none;
}

.limit-row:first-child {
    border-radius: 8px 8px 0 0;
}

.limit-row:last-child {
    border-radius: 0 0 8px 8px;
    border-bottom: 1px solid var(--border-color);
}

.plan {
    font-weight: 500;
    color: var(--accent-color);
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.support-item {
    text-align: center;
    padding: 1.5rem;
}

.support-item h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* Legal Pages Styles */
.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.legal-layout {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.legal-sidebar {
    width: 250px;
    flex-shrink: 0;
}

.legal-sidebar .sidebar-nav {
    position: sticky;
    top: 2rem;
    height: calc(100vh - 4rem);
    overflow-y: auto;
}

.legal-main-content {
    flex: 1;
    min-width: 0;
    max-width: 800px;
}

.legal-container h1,
.legal-main-content h1 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.last-updated {
    text-align: center;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 3rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: var(--accent-color);
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.legal-section h3 {
    color: var(--text-primary);
    margin: 2rem 0 1rem 0;
}

.legal-section ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.legal-section li {
    margin-bottom: 0.5rem;
}

.contact-info {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    margin-top: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .agents-layout {
        flex-direction: column;
    }
    
    .agents-sidebar {
        width: 100%;
        order: 2;
        position: static;
        margin-bottom: 2rem;
    }
    
    .agents-main-content {
        order: 1;
    }
    
    .legal-layout {
        flex-direction: column;
    }
    
    .legal-sidebar {
        width: 100%;
        order: 2;
    }
    
    .legal-main-content {
        order: 1;
    }
    
    .founder-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .positions-grid {
        grid-template-columns: 1fr;
    }
    
    .api-features,
    .culture-grid,
    .values-grid,
    .sdk-grid,
    .support-options {
        grid-template-columns: 1fr;
    }
    
    .step {
        flex-direction: column;
        gap: 1rem;
    }
    
    .endpoint-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

.pricing-page-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 5.5rem 1rem 1.5rem; /* Slightly reduce top padding to move content up */
    box-sizing: border-box;
}

.pricing-header {
    text-align: center;
    margin-bottom: 1rem;
}

.pricing-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.toggle-container {
    margin-top: 1.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    width: 100%;
    margin-top: 2rem;
}

.pricing-card {
    flex: 1;
    padding: 1.5rem;
    transform: scale(1);
    display: flex;
    flex-direction: column;
}



.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.pricing-card .tagline {
    font-size: 0.9rem;
    min-height: auto;
    margin-bottom: 1rem;
}

.price-container {
    margin: 1rem 0;
}

.price {
    font-size: 2.5rem;
}

.features-list {
    font-size: 0.95rem;
    min-height: auto;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 0.5rem;
}

.cta-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.card-footer-text {
    font-size: 0.75rem;
    min-height: auto;
    line-height: 1.3;
}
/* Accessibility: Focus visible styles */
.theme-toggle:focus-visible {
    outline: 2px solid var(--primary-color, #1a1a1a);
    outline-offset: 2px;
}

.form-group input:focus-visible {
    outline: 2px solid var(--primary-color, #1a1a1a);
    outline-offset: 2px;
}

/* Remove outline only for mouse users */
.theme-toggle:focus:not(:focus-visible) {
    outline: none;
}

.form-group input:focus:not(:focus-visible) {
    outline: none;
}

/* Responsive Design for Docs Layout */
@media (max-width: 992px) {
    .docs-layout {
        grid-template-columns: 1fr;
        padding: 5rem 1rem 1rem 1rem;
        gap: 2rem;
    }
    
    .docs-sidebar {
        position: static;
        max-height: none;
        height: auto;
        order: 2;
    }
    
    .docs-main {
        order: 1;
    }
}

/* Add this at the end of the file */

/* Mobile styles for pricing page */
@media (max-width: 768px) {
    .pricing-page-container {
        justify-content: flex-start;
        align-items: stretch;
        padding: 5.5rem 1rem 2rem;
    }
    .pricing-grid {
        flex-direction: column;
        gap: 1.5rem;
    }
    .pricing-card {
        transform: none;
    }
    .pricing-header p {
        white-space: normal;
    }
}

#maya-logo-container {
    width: 50px;
    height: 50px;
    cursor: pointer;
}

#maya-logo-container canvas {
    width: 100% !important;
    height: 100% !important;
}

/* Table Styles */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.9rem;
}

table th,
table td {
    border: 1px solid var(--border-color);
    padding: 0.75rem 1rem;
    text-align: left;
}

table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
}

table tr:nth-child(even) {
    background: var(--bg-secondary);
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .scroll-to-top {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.05);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .scroll-to-top:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 12px 48px rgba(255, 255, 255, 0.1);
}

@media (max-width: 480px) {
    .modal-container {
        width: calc(100% - 2rem);
        max-width: none;
        padding: 1.25rem;
        border-radius: 12px;
        max-height: 90vh;
        overflow-y: auto;
        box-shadow: 0 12px 24px rgba(0,0,0,0.18);
    }

    .modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

    .modal-content {
        padding: 0.5rem 0.25rem 1rem;
    }

    .modal-content > p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }

    .form-group label {
        font-size: 0.85rem;
    }

    .form-group input {
        height: 48px;
        font-size: 1rem;
        padding-right: 56px;
    }

    .form-group input:focus {
        box-shadow: 0 0 0 2px var(--shadow-light);
    }

    .submit-btn-icon {
        width: 40px;
        height: 40px;
        right: 6px;
    }
}

@keyframes rotating-gradient {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ------------------- */
/* NEURAL SHOWCASE CSS */
/* ------------------- */

.dashboard-body {
    background-color: #f7f8fa;
    color: #1a1a1a;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
}

.dashboard-container {
    display: flex;
    height: 100vh;
}

.sidebar {
    width: 260px;
    background-color: #ffffff;
    border-right: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem;
    transition: width 0.3s ease;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.sidebar-header .logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: #1a1a1a;
}

.sidebar-header .logo-text {
    font-size: 1.5rem;
    font-weight: 600;
}

.sidebar-toggle {
    background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    cursor: pointer;
    color: #6b7280;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

.sidebar-toggle:hover {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 100%);
    border-color: #6366f1;
    color: #6366f1;
    transform: translateX(-2px);
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.1);
}

.sidebar-toggle:active {
    transform: translateX(-1px) scale(0.98);
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav .nav-item a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    text-decoration: none;
    color: #4b5563;
    font-weight: 500;
    transition: all 0.2s ease;
}

.sidebar-nav .nav-item a:hover {
    background-color: #f3f4f6;
    color: #1a1a1a;
}

.sidebar-nav .nav-item.active a {
    background-color: #eef2ff;
    color: #4f46e5;
}

.sidebar-nav .nav-item svg {
    width: 20px;
    height: 20px;
}

.sidebar-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.fleet-status {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    padding: 0.875rem 1.25rem;
    border-radius: 20px;
    color: #065f46;
    font-size: 0.875rem;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
}

.fleet-status:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.fleet-status .status-dot {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #10b981 0%, #22c55e 100%);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
    }
    50% {
        box-shadow: 0 0 12px rgba(34, 197, 94, 0.8);
    }
}

.main-dashboard-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dashboard-header {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1.5rem 2rem;
    position: relative;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    width: 600px;
    color: #9ca3af;
}

.search-bar input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1rem;
}

.search-bar svg {
    width: 20px;
    height: 20px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: absolute;
    right: 2rem;
}

.header-icon-btn {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fb 100%);
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    color: #4b5563;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.header-icon-btn:hover {
    background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
    border-color: #6366f1;
    color: #6366f1;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.12);
}

.header-icon-btn:active {
    transform: translateY(-1px) scale(0.98);
}

.header-icon-btn.power-btn {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid rgba(252, 165, 165, 0.4);
    color: #dc2626;
}

.header-icon-btn.power-btn:hover {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-color: #fca5a5;
    color: #dc2626;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.15);
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: #dc2626;
    color: white;
    font-size: 0.75rem;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dashboard-view {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    overflow-y: auto;
}

.chat-view {
    width: 100%;
    max-width: 700px;
    text-align: center;
}

.chat-view h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.chat-input-container {
    position: relative;
    margin-bottom: 1.5rem;
}

.chat-input-container input {
    width: 100%;
    height: 60px;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 0 1.5rem;
    font-size: 1rem;
    outline: none;
    padding-right: 180px;
}

.chat-input-actions {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    gap: 0.5rem;
}

.chat-input-actions button {
    background-color: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #4b5563;
}

.suggested-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.suggested-actions button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    color: #4b5563;
}

.suggested-actions button svg {
    width: 16px;
    height: 16px;
}

/* Invite Code Link Styles */
.invite-code-link {
    text-align: center;
    margin-top: 1rem;
}

.invite-code-link a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.invite-code-link a:hover {
    color: var(--primary);
    opacity: 1;
    text-decoration: underline;
}

/* Invite Code Modal Styles */
.invite-code-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    width: 100%;
    margin-top: 1rem;
    pointer-events: auto;
}

.invite-code-inputs {
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1rem;
    pointer-events: auto;
}

.invite-code-form .form-group {
    width: 100%;
    align-items: center;
}

.code-input {
    width: 3rem;
    height: 3.5rem;
    text-align: center;
    font-size: 1.5rem !important;
    font-weight: 600;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-primary) !important;
    color: var(--text-primary) !important;
    transition: all 0.3s ease;
    outline: none;
    caret-color: #667eea;
    -webkit-text-fill-color: var(--text-primary) !important;
    pointer-events: auto !important;
    user-select: auto !important;
    -webkit-user-select: auto !important;
    -moz-user-select: auto !important;
    cursor: text;
    opacity: 1 !important;
    -webkit-opacity: 1 !important;
}

/* Override browser autofill styles */
.code-input:-webkit-autofill,
.code-input:-webkit-autofill:hover,
.code-input:-webkit-autofill:focus,
.code-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px var(--bg-primary) inset !important;
    -webkit-text-fill-color: var(--text-primary) !important;
    caret-color: #667eea !important;
}

.code-input:focus {
    border-color: #667eea;
    background: var(--bg-hover) !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.2);
    transform: scale(1.05);
}

.code-input:valid {
    border-color: #667eea;
}

#inviteCodeModal .modal-content h3 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

#inviteCodeModal .modal-content > p {
    text-align: center;
}

#inviteCodeModal .primary-button {
    width: 100%;
    max-width: 300px;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

#inviteCodeModal .primary-button:hover:not(:disabled) {
    background: #5568d3;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.35);
}

#inviteCodeModal .primary-button:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

#inviteCodeModal .primary-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

@media (max-width: 480px) {
    .code-input {
        width: 2.5rem;
        height: 3rem;
        font-size: 1.25rem;
        gap: 0.5rem;
    }

    .invite-code-inputs {
        gap: 0.5rem;
    }

    #inviteCodeModal .modal-content h3 {
        font-size: 1.25rem;
    }
}