/* EzBot Page Specific Styles */
body {
    background-color: #0f172a;
    color: #e2e8f0;
    overflow-x: hidden;
}

/* --- Hero Section with Animated Background --- */
.ezbot-hero {
    background: radial-gradient(circle at 50% 0%, #1e293b 0%, #0f172a 100%);
    padding: 9rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    opacity: 0.35;
    animation: float 20s infinite ease-in-out;
    pointer-events: none;
    z-index: 0;
}

.hero-orb.one {
    top: -150px;
    left: -100px;
    width: 600px;
    height: 600px;
    background: #3b82f6;
    animation-delay: -2s;
}

.hero-orb.two {
    bottom: -150px;
    right: -100px;
    width: 700px;
    height: 700px;
    background: #14b8a6;
    animation-delay: -8s;
    opacity: 0.25;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(40px, 30px) rotate(5deg);
    }

    66% {
        transform: translate(-30px, 10px) rotate(-5deg);
    }
}

.ezbot-hero-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.ezbot-hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
}

.hero-personas-wrapper {
    margin-top: 4rem;
}

.hero-personas-wrapper .ezbot-hero-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.ezbot-hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #e2e8f0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(59, 130, 246, 0.2);
}

.ezbot-hero p.subtitle {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Hero Visual Mockup */
.ezbot-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-mockup-container {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.hero-chat-window {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.95) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(139, 92, 246, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.chat-header {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(139, 92, 246, 0.1);
}

.chat-avatar {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.chat-avatar svg {
    width: 24px;
    height: 24px;
    color: white;
}

.chat-title {
    flex: 1;
}

.chat-name {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.chat-status {
    font-size: 0.8rem;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-status::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.chat-messages {
    padding: 1.5rem;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    display: flex;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message.bot {
    justify-content: flex-start;
}

.message-bubble {
    max-width: 75%;
    padding: 0.875rem 1.125rem;
    border-radius: 12px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.chat-message.user .message-bubble {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-message.bot .message-bubble {
    background: rgba(15, 23, 42, 0.8);
    color: #e2e8f0;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-bottom-left-radius: 4px;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    margin-bottom: 0.5rem;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background: #8b5cf6;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

.hero-data-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.95) 0%, rgba(5, 150, 105, 0.95) 100%);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.4);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border: 1px solid rgba(16, 185, 129, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-text {
    display: flex;
    flex-direction: column;
}

.badge-label {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.badge-value {
    font-size: 1rem;
    color: white;
    font-weight: 700;
}

@keyframes typing {

    0%,
    60%,
    100% {
        transform: translateY(0);
        opacity: 0.7;
    }

    30% {
        transform: translateY(-8px);
        opacity: 1;
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* --- Sticky Sub-Nav --- */
.sub-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1100;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.75rem 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(-100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.sub-nav.visible {
    transform: translateY(0);
}

.sub-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.sub-nav a {
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.sub-nav a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.08);
}

.sub-nav a.active {
    color: white;
    background: rgba(255, 255, 255, 0.12);
    font-weight: 600;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

/* --- Persona Nav Cards (Hero) --- */
.persona-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 950px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.persona-nav-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.persona-nav-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.persona-nav-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
}

.persona-nav-card:hover::before {
    opacity: 1;
}

.persona-nav-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.persona-nav-icon.biomed {
    background: linear-gradient(135deg, #14b8a6, #0d9488);
}

.persona-nav-icon.hospital {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.persona-nav-icon.vendor {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.persona-nav-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.persona-nav-text {
    z-index: 1;
}

.persona-nav-text h3 {
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.persona-nav-text p {
    color: #cbd5e1;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
    opacity: 0.9;
}

/* --- Sections Styling --- */
.persona-section {
    padding: 8rem 0;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.persona-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: linear-gradient(to bottom, transparent, black 10%, black 90%, transparent);
    pointer-events: none;
    z-index: 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
    position: relative;
    z-index: 1;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.section-header h2 {
    font-size: 2.75rem;
    margin-bottom: 1.25rem;
    color: white;
    font-weight: 800;
}

.section-header p {
    color: #94a3b8;
    max-width: 650px;
    margin: 0 auto;
    font-size: 1.15rem;
    line-height: 1.6;
}

/* --- Glassmorphism Feature Cards --- */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.feature-box {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 2.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.feature-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
}

.feature-box:hover::after {
    opacity: 1;
}

.feature-box:hover {
    transform: translateY(-6px);
    background: rgba(30, 41, 59, 0.7);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 40px 60px -20px rgba(0, 0, 0, 0.5);
}

.feature-box-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-box-icon svg {
    width: 28px;
    height: 28px;
}

.feature-box h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
}

.feature-box p {
    color: #cbd5e1;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
    flex-grow: 1;
}

/* --- Terminal / Chat UI --- */
.terminal-window {
    background: #0f172a;
    border-radius: 14px;
    border: 1px solid #334155;
    margin-top: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    font-family: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;
    z-index: 2;
}

.terminal-header {
    background: #1e293b;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-bottom: 1px solid #334155;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-btn.red {
    background: #ef4444;
}

.terminal-btn.yellow {
    background: #f59e0b;
}

.terminal-btn.green {
    background: #10b981;
}

.terminal-title {
    color: #64748b;
    font-size: 0.8rem;
    margin-left: 0.75rem;
    font-weight: 500;
}

.terminal-content {
    padding: 1.5rem;
    font-size: 0.9rem;
    color: #e2e8f0;
    line-height: 1.6;
}

.chat-bubble {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 3px solid transparent;
}

.chat-bubble.user {
    border-left-color: #60a5fa;
}

.chat-bubble.ai {
    border-left-color: #4ade80;
    background: rgba(74, 222, 128, 0.05);
}

.chat-label {
    font-size: 0.75rem;
    color: #94a3b8;
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.code-hl {
    color: #f59e0b;
    font-weight: 600;
}

/* Featured layout */
.feature-box.featured {
    grid-column: span 2;
}

/* --- Technology Stats --- */
.tech-brief {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.tech-stat {
    text-align: center;
    padding: 2rem;
    background: rgba(30, 41, 59, 0.5);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tech-stat .number {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 0.5rem;
}

.tech-stat .label {
    color: #94a3b8;
    font-size: 0.95rem;
}

/* --- Custom Model Highlight --- */
.model-highlight {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(59, 130, 246, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.model-highlight h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.model-highlight p {
    color: #cbd5e1;
    font-size: 1.1rem;
    line-height: 1.6;
}

.model-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 99px;
    font-size: 0.9rem;
    color: #a78bfa;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* --- Integration Logos --- */
.integration-bar {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    opacity: 0.7;
}

.integration-bar span {
    font-size: 0.85rem;
    color: #94a3b8;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* --- Security Banner --- */
.security-banner {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.security-banner svg {
    width: 32px;
    height: 32px;
    color: #10b981;
    flex-shrink: 0;
}

.security-banner p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin: 0;
}

.security-banner strong {
    color: #10b981;
}

/* Mobile Responsive */
@media (max-width: 1400px) {
    .feature-box.featured {
        grid-column: span 1;
    }

    .persona-nav {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .ezbot-hero-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .ezbot-hero-content {
        text-align: center;
    }

    .ezbot-hero-visual {
        order: -1;
    }

    .ezbot-hero h1 {
        font-size: 3rem;
    }

    .ezbot-hero p.subtitle {
        margin-left: auto;
        margin-right: auto;
        max-width: 600px;
    }

    .hero-data-badge {
        bottom: -15px;
        right: 10%;
    }


    .tech-brief {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .tech-brief {
        grid-template-columns: 1fr 1fr;
    }

    .sub-nav ul {
        gap: 0.5rem;
    }

    .sub-nav a {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .hide-mobile {
        display: none;
    }

    /* Model highlight comparison - stack on mobile */
    .model-highlight {
        padding: 1.5rem;
    }

    .model-highlight>div[style*="grid-template-columns"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
    }

    .model-highlight h3 {
        font-size: 1.2rem;
    }
}

/* --- Footer --- */
.footer {
    background: #020617;
    border-top: 1px solid #1e293b;
}

/* Lang Selector Styles */
.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.2s;
}

.lang-btn:hover {
    background: var(--bg-surface);
    border-color: var(--color-primary);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 140px;
    z-index: 100;
    overflow: hidden;
}

.lang-selector:hover .lang-dropdown {
    display: block;
}

.lang-option {
    display: block;
    padding: 0.6rem 1rem;
    color: var(--text-body);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.15s;
}

.lang-option:hover {
    background: var(--bg-surface);
}

.lang-option.active {
    background: var(--color-primary-100);
    color: var(--color-primary);
    font-weight: 500;
}

/* Sidebar Outline */
.sidebar-outline {
    position: fixed;
    left: 2rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 1.5rem 1.25rem;
    z-index: 1000;
    min-width: 180px;
    max-width: 200px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    max-height: 80vh;
    overflow-y: auto;
}

.outline-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
    font-weight: 700;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-outline ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-outline li {
    margin-bottom: 0.25rem;
}

.sidebar-outline li:last-child {
    margin-bottom: 0;
}

.outline-link {
    display: block;
    padding: 0.5rem 0.75rem;
    border-left: 3px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.875rem;
    transition: all 0.25s ease;
    border-radius: 0 4px 4px 0;
    font-weight: 500;
}

.outline-link:hover {
    color: white;
    border-color: rgba(139, 92, 246, 0.7);
    background: rgba(139, 92, 246, 0.1);
    padding-left: 1rem;
}

.outline-link.active {
    color: #a78bfa;
    border-color: #8b5cf6;
    font-weight: 600;
    background: rgba(139, 92, 246, 0.15);
    padding-left: 1rem;
}

/* Add padding to content when sidebar is visible */
@media (min-width: 1501px) {
    .container {
        padding-left: 140px;
        padding-right: 1rem;
    }
}

/* Hide sidebar on smaller screens - moved threshold higher */
@media (max-width: 1500px) {
    .sidebar-outline {
        display: none;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* --- Inline Style Extractions --- */
.header-ezbot-sticky {
    transition: transform 0.4s;
    background: rgba(15, 23, 42, 0.8);
}

.ezbot-badge-container {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

@media (max-width: 500px) {
    .ezbot-badge-container {
        gap: 0.5rem;
    }

    .ezbot-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }
}

.ezbot-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 600;
}

.ezbot-badge-red {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
}

.ezbot-badge-violet {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #a78bfa;
}

.ezbot-def-callout {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.text-gray-400 {
    color: #94a3b8;
}

.cta-container {
    margin-bottom: 2rem;
}

.btn-ezbot-gradient {
    background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 100%);
}

.ezbot-note {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 0.75rem;
}

/* Training Foundation Bar */
.training-bar {
    background: rgba(30, 41, 59, 0.6);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
}

.training-stats-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    text-align: center;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-icon-wrapper {
    padding: 0.4rem;
    border-radius: 8px;
}

.bg-emerald-10 {
    background: rgba(16, 185, 129, 0.1);
}

.bg-blue-10 {
    background: rgba(59, 130, 246, 0.1);
}

.bg-amber-10 {
    background: rgba(245, 158, 11, 0.1);
}

.stat-icon-sm {
    width: 20px;
    height: 20px;
}

.stat-text-left {
    text-align: left;
}

.stat-value-lg {
    display: block;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
}

.stat-label-sm {
    color: #94a3b8;
    font-size: 0.8rem;
    font-weight: 500;
}

.divider-vertical {
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
    height: 40px;
    align-self: center;
}

/* ========== Feature Grid Responsive ========== */
.feature-grid {
    display: grid;
    gap: 1.5rem;
}

.feature-grid-2col {
    grid-template-columns: repeat(2, 1fr);
}

/* Responsive: Stack on mobile */
@media (max-width: 768px) {
    .feature-grid-2col {
        grid-template-columns: 1fr;
    }

    .feature-grid-2col .feature-box[style*="grid-column: span 2"],
    .feature-box.featured {
        grid-column: span 1 !important;
    }
}

/* ========== SNAP & SOLVE Section ========== */
.snap-solve-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.snap-solve-header {
    text-align: center;
    margin-bottom: 3rem;
}

.snap-solve-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.3);
}

.snap-solve-icon svg {
    width: 40px;
    height: 40px;
    color: white;
}

.snap-solve-header h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.snap-solve-header p {
    color: #94a3b8;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.snap-solve-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 1200px;
    margin: 0 auto;
}

.snap-card {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    text-align: center;
}

.snap-card:hover {
    transform: translateY(-4px);
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.snap-card-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.snap-card h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.snap-card p {
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

.snap-card-cta {
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.15) 0%, rgba(59, 130, 246, 0.15) 100%);
    border-color: rgba(20, 184, 166, 0.2);
}

.snap-card-cta:hover {
    border-color: rgba(20, 184, 166, 0.4);
}

/* Snap & Solve Mobile */
@media (max-width: 1024px) {
    .snap-solve-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .snap-solve-grid {
        grid-template-columns: 1fr;
    }

    .snap-solve-header h2 {
        font-size: 1.5rem;
    }
}

/* Capabilities Grid - Vision AI Page */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 768px) {
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
}

/* Capabilities Grid 3-Up - Vision AI Page */
@media (max-width: 768px) {
    .capabilities-grid-3 {
        grid-template-columns: 1fr !important;
    }
}

/* =============================== */
/* Steps Grid (3-Column Forced)    */
/* =============================== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 768px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
}