/* Feature-Specific CSS: AI Agentic Integration Portal (VirtualWork Branding) */

.matrix-hero {
    position: relative;
    background-color: #0b0f19;
    color: #ffffff;
    padding: 5rem 0 6rem 0;
    overflow: hidden;
}

#matrixCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.65;
    pointer-events: none;
}

.matrix-hero-content {
    position: relative;
    z-index: 2;
}

.matrix-badge {
    display: inline-block;
    background: rgba(47, 237, 72, 0.15);
    border: 1px solid rgba(50, 237, 47, 0.4);
    color: #7cfa60;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.matrix-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.matrix-subtitle {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 740px;
    margin: 0 auto 2.5rem auto;
    line-height: 1.7;
}

/* Light Corporate Section Styling */
.ai-section-light {
    padding: 5rem 0;
    background-color: var(--bg-light, #F9FAFB);
    color: var(--text-main, #1A202C);
}

.ai-section-white {
    padding: 5rem 0;
    background-color: #FFFFFF;
    color: var(--text-main, #1A202C);
    border-top: 1px solid var(--border, #E2E8F0);
}

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

.agent-card {
    background: #FFFFFF;
    border: 1px solid var(--border, #E2E8F0);
    border-radius: 12px;
    padding: 2.25rem 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.agent-card:hover {
    transform: translateY(-4px);
    border-color: var(--highlight, #2F80ED);
    box-shadow: 0 10px 25px rgba(47, 128, 237, 0.1);
}

.agent-card-icon {
    width: 54px;
    height: 54px;
    background: rgba(47, 128, 237, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--highlight, #2F80ED);
    margin-bottom: 1.25rem;
}

.agent-card-icon svg {
    width: 26px;
    height: 26px;
}

.agent-card h3 {
    color: var(--primary, #0F3460);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}

.agent-card p {
    color: var(--text-muted, #4A5568);
    font-size: 0.98rem;
    line-height: 1.6;
    margin: 0;
}

/* Code Snippet Card */
.code-preview-card {
    background-color: #0F172A;
    border: 1px solid #1E293B;
    border-radius: 12px;
    padding: 1.75rem;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.9rem;
    color: #E2E8F0;
    overflow-x: auto;
    line-height: 1.6;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.code-keyword {
    color: #F472B6;
}

.code-string {
    color: #A7F3D0;
}

.code-number {
    color: #FBBF24;
}

.code-comment {
    color: #64748B;
}

.code-header {
    color: #60A5FA;
    font-weight: bold;
}