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

:root {
    --bg-primary: #f4f7fb;
    --bg-secondary: #fefefe;
    --bg-tertiary: #eff3fb;
    --bg-card: #ffffff;
    --bg-card-alt: #fbfcff;
    --bg-code: #101828;
    --text-primary: #101828;
    --text-secondary: #475467;
    --text-tertiary: #6b7280;
    --text-muted: #9ca3af;
    --border-light: rgba(16, 24, 40, 0.06);
    --border-medium: rgba(16, 24, 40, 0.08);
    --border-dark: rgba(16, 24, 40, 0.12);
    --shadow-sm: 0 20px 60px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 20px 70px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 30px 100px rgba(15, 23, 42, 0.08);
    --gradient-hero: linear-gradient(180deg, #fefefe, #eff3fb 45%, #f4f7fb);
    --gradient-brand: linear-gradient(135deg, #ffd261, #ff9fa7);
    --gradient-cta: linear-gradient(120deg, #ffcc70, #ff9aad);
    --code-text: #e2e8f0;
    --accent-warm: #f97316;
    --accent-gold: #ffd261;
    --accent-pink: #ff9fa7;
}

[data-theme="dark"] {
    --bg-primary: #0f1419;
    --bg-secondary: #1a1f2e;
    --bg-tertiary: #151b23;
    --bg-card: #1e2430;
    --bg-card-alt: #1a2028;
    --bg-code: #0d1117;
    --text-primary: #e2e8f0;
    --text-secondary: #cbd5e1;
    --text-tertiary: #94a3b8;
    --text-muted: #64748b;
    --border-light: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.08);
    --border-dark: rgba(255, 255, 255, 0.12);
    --shadow-sm: 0 20px 60px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 20px 70px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 30px 100px rgba(0, 0, 0, 0.5);
    --gradient-hero: linear-gradient(180deg, #1a1f2e, #151b23 45%, #0f1419);
    --gradient-brand: linear-gradient(135deg, #ffd261, #ff9fa7);
    --gradient-cta: linear-gradient(120deg, #ffcc70, #ff9aad);
    --code-text: #e2e8f0;
}

body {
    font-family: 'Manrope', 'General Sans', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page { min-height: 100vh; background: var(--gradient-hero); transition: background 0.3s ease; }

/* ========== NAVIGATION ========== */
nav {
    padding: 20px 6vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(254, 254, 254, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    transition: background 0.3s ease;
}

[data-theme="dark"] nav {
    background: rgba(15, 20, 25, 0.85);
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    letter-spacing: 0.1em;
    font-size: 13px;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--text-primary);
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255, 210, 97, 0.15), rgba(255, 159, 167, 0.15));
    border: 1px solid rgba(255, 159, 167, 0.2);
    display: grid;
    place-items: center;
    padding: 5px;
}

.brand-mark svg { width: 100%; height: 100%; }

.nav-links {
    display: flex;
    gap: 24px;
    font-size: 14px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    transition: color 0.2s;
    font-weight: 500;
}

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

.nav-cta {
    display: flex;
    gap: 12px;
    align-items: center;
}

.nav-cta a, .nav-cta button {
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    font-family: inherit;
}

.nav-cta a:hover, .nav-cta button:hover { transform: translateY(-1px); }

.btn-outline {
    border: 1px solid var(--border-dark);
    color: var(--text-secondary);
    background: transparent;
}

.btn-fill {
    background: var(--gradient-cta);
    color: #7a1e17;
    box-shadow: 0 4px 12px rgba(255, 154, 173, 0.3);
    border: none;
}

.btn-fill:hover { box-shadow: 0 6px 20px rgba(255, 154, 173, 0.4); }

.btn-ghost {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 10px 14px;
    font-weight: 500;
}

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

.theme-toggle {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border-medium);
    background: var(--bg-card);
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.theme-toggle:hover { transform: scale(1.05); border-color: var(--border-dark); }

/* ========== HERO SECTION (1A) ========== */
.hero {
    padding: 8vw 6vw 5vw;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.hero h1 {
    font-size: clamp(36px, 3.8vw, 60px);
    line-height: 1.08;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    font-weight: 800;
}

.hero h1 .gradient-text {
    display: inline;
    background: linear-gradient(135deg, #ff7f50, #f765d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    margin: 24px 0 32px;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 14px;
}

.hero-actions a {
    text-decoration: none;
    padding: 16px 30px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero-actions a:hover { transform: translateY(-2px); }

/* Teams Mockup */
.teams-mockup {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.teams-titlebar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--bg-card-alt);
    border-bottom: 1px solid var(--border-light);
}

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

.teams-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.teams-dots span:nth-child(1) { background: #ff5f56; }
.teams-dots span:nth-child(2) { background: #ffbd2e; }
.teams-dots span:nth-child(3) { background: #27c93f; }

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

.teams-body {
    display: grid;
    grid-template-columns: 200px 1fr;
    min-height: 380px;
}

.teams-sidebar {
    border-right: 1px solid var(--border-light);
    padding: 16px 0;
    background: var(--bg-card-alt);
}

.teams-sidebar-item {
    padding: 8px 16px;
    font-size: 13px;
    color: var(--text-tertiary);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}

.teams-sidebar-item.active {
    background: linear-gradient(90deg, rgba(255, 210, 97, 0.1), transparent);
    color: var(--text-primary);
    font-weight: 600;
}

.teams-sidebar-item .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-medium);
}

.teams-sidebar-item.active .dot {
    background: var(--accent-warm);
}

.teams-chat {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.teams-msg {
    display: flex;
    gap: 10px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.teams-msg.visible {
    opacity: 1;
    transform: translateY(0);
}

.teams-msg-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
}

.teams-msg-avatar.user { background: #dbeafe; color: #1d4ed8; }
.teams-msg-avatar.bot { background: linear-gradient(135deg, #fef3c7, #fce7f3); color: #b45309; }

.teams-msg-content {
    flex: 1;
}

.teams-msg-name {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 4px;
}

.teams-msg-text {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.teams-msg-text .source-link {
    display: inline-block;
    margin-top: 8px;
    font-size: 11px;
    color: #2563eb;
    text-decoration: none;
    padding: 3px 8px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 6px;
}

.teams-msg-text table {
    margin-top: 10px;
    border-collapse: collapse;
    font-size: 12px;
    width: 100%;
}

.teams-msg-text table th {
    text-align: left;
    padding: 6px 10px;
    background: var(--bg-tertiary);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 11px;
}

.teams-msg-text table td {
    padding: 6px 10px;
    border-top: 1px solid var(--border-light);
    color: var(--text-primary);
}

/* ========== SECTION UTILITIES ========== */
.section {
    padding: 5vw 6vw;
}

.section-centered {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.section h2 {
    font-size: clamp(28px, 2.5vw, 40px);
    margin-bottom: 16px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.section > p, .section-centered p {
    color: var(--text-tertiary);
    margin-bottom: 32px;
    max-width: 640px;
    line-height: 1.7;
}

.section-centered p {
    margin-left: auto;
    margin-right: auto;
}

/* ========== PLATFORM SUMMARY (1B) ========== */
.platform-strip {
    padding: 4vw 6vw;
    background: var(--bg-tertiary);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    transition: background 0.3s ease;
}

.platform-strip h2 {
    font-size: clamp(26px, 2.2vw, 36px);
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.platform-strip p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.platform-strip .link-arrow {
    color: var(--accent-warm);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.platform-strip .link-arrow:hover { gap: 10px; }

/* Pipeline visual */
.pipeline-visual {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-md);
}

.pipeline-node {
    flex: 1;
    text-align: center;
    padding: 16px 12px;
    border-radius: 16px;
    background: var(--bg-card-alt);
    border: 1px solid var(--border-light);
}

.pipeline-node .icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.pipeline-node .label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pipeline-arrow {
    font-size: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
}

/* ========== PRODUCT CARDS (1C) ========== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product-card {
    padding: 28px;
    border-radius: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-card.coming-soon {
    opacity: 0.85;
}

.product-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 16px;
}

.badge-core {
    background: linear-gradient(135deg, rgba(255, 210, 97, 0.2), rgba(255, 159, 167, 0.2));
    color: #b45309;
}

.badge-product {
    background: rgba(37, 99, 235, 0.1);
    color: #1d4ed8;
}

.badge-soon {
    background: rgba(107, 114, 128, 0.1);
    color: var(--text-tertiary);
}

.product-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 18px;
}

.product-icon svg {
    width: 28px;
    height: 28px;
}

.product-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.product-card p {
    color: var(--text-tertiary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
}

.product-card .card-link {
    color: var(--accent-warm);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}

.product-card .card-link:hover { gap: 10px; }

/* ========== TRUST STRIP (1D) ========== */
.trust-strip {
    padding: 4vw 6vw;
    background: var(--bg-card);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    transition: background 0.3s ease;
}

.trust-strip h2 {
    font-size: clamp(24px, 2vw, 32px);
    text-align: center;
    margin-bottom: 36px;
    color: var(--text-primary);
}

.trust-points {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
}

.trust-point {
    text-align: center;
    padding: 20px 16px;
}

.trust-point .icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    margin: 0 auto 14px;
    font-size: 22px;
    background: linear-gradient(135deg, rgba(255, 210, 97, 0.12), rgba(255, 159, 167, 0.12));
}

.trust-point h4 {
    font-size: 14px;
    margin-bottom: 6px;
    color: var(--text-primary);
}

.trust-point p {
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.5;
}

/* ========== DEPLOYMENT STRIP (1E) ========== */
.deploy-strip {
    padding: 5vw 6vw;
}

.deploy-strip h2 {
    text-align: center;
    font-size: clamp(26px, 2.2vw, 36px);
    margin-bottom: 12px;
    color: var(--text-primary);
}

.deploy-strip > p {
    text-align: center;
    color: var(--text-tertiary);
    margin-bottom: 40px;
}

.deploy-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.deploy-card {
    padding: 32px;
    border-radius: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s, background 0.3s ease;
}

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

.deploy-card .deploy-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    font-size: 26px;
}

.deploy-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.deploy-card p {
    color: var(--text-tertiary);
    font-size: 14px;
    line-height: 1.7;
}

/* ========== ARCHITECTURE SECTION (Page 2) ========== */
.arch-section {
    padding: 5vw 6vw;
    background: var(--bg-tertiary);
    transition: background 0.3s ease;
}

.arch-section h2 {
    text-align: center;
    font-size: clamp(28px, 2.5vw, 40px);
    margin-bottom: 16px;
    color: var(--text-primary);
}

.arch-section > p {
    text-align: center;
    color: var(--text-tertiary);
    max-width: 640px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.arch-diagram {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: stretch;
    gap: 0;
    position: relative;
}

.arch-col {
    flex: 1;
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    transition: background 0.3s ease;
}

.arch-col:first-child { border-radius: 24px 0 0 24px; }
.arch-col:last-child { border-radius: 0 24px 24px 0; }

.arch-col h4 {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.arch-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 13px;
    color: var(--text-secondary);
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.arch-item .icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    font-size: 16px;
    flex-shrink: 0;
}

.arch-col-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 28px 20px;
    min-width: 180px;
}

.arch-flow-arrow {
    font-size: 24px;
    color: var(--accent-warm);
    margin: 12px 0;
    animation: pulse-arrow 2s ease-in-out infinite;
}

@keyframes pulse-arrow {
    0%, 100% { opacity: 0.5; transform: translateX(0); }
    50% { opacity: 1; transform: translateX(4px); }
}

.arch-diagram.visible .arch-item {
    opacity: 1;
    transform: translateX(0);
}

.arch-diagram.visible .arch-col:first-child .arch-item:nth-child(2) { transition-delay: 0.1s; }
.arch-diagram.visible .arch-col:first-child .arch-item:nth-child(3) { transition-delay: 0.2s; }
.arch-diagram.visible .arch-col:first-child .arch-item:nth-child(4) { transition-delay: 0.3s; }
.arch-diagram.visible .arch-col:first-child .arch-item:nth-child(5) { transition-delay: 0.4s; }
.arch-diagram.visible .arch-col:first-child .arch-item:nth-child(6) { transition-delay: 0.5s; }
.arch-diagram.visible .arch-col:first-child .arch-item:nth-child(7) { transition-delay: 0.6s; }
.arch-diagram.visible .arch-col:last-child .arch-item:nth-child(2) { transition-delay: 0.7s; }
.arch-diagram.visible .arch-col:last-child .arch-item:nth-child(3) { transition-delay: 0.8s; }
.arch-diagram.visible .arch-col:last-child .arch-item:nth-child(4) { transition-delay: 0.9s; }
.arch-diagram.visible .arch-col:last-child .arch-item:nth-child(5) { transition-delay: 1.0s; }
.arch-diagram.visible .arch-col:last-child .arch-item:nth-child(6) { transition-delay: 1.1s; }

.arch-pipeline-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent-warm);
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(249, 115, 22, 0.08);
    border: 1px solid rgba(249, 115, 22, 0.2);
}

.arch-rbac-badge {
    margin-top: 12px;
    font-size: 11px;
    font-weight: 600;
    color: #047857;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(4, 120, 55, 0.08);
    border: 1px solid rgba(4, 120, 55, 0.15);
}

/* ========== CAPABILITIES SECTION (Page 4) ========== */
.capabilities {
    padding: 5vw 6vw;
}

.capability-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
}

.capability-block:nth-child(even) .cap-content { order: 2; }
.capability-block:nth-child(even) .cap-visual { order: 1; }

.cap-content h3 {
    font-size: clamp(22px, 1.8vw, 30px);
    margin-bottom: 16px;
    color: var(--text-primary);
}

.cap-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.cap-bullets {
    list-style: none;
    padding: 0;
}

.cap-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.cap-bullets li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-warm);
    margin-top: 8px;
    flex-shrink: 0;
}

.cap-visual {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: background 0.3s ease;
}

.cap-visual-inner {
    padding: 24px;
}

.cap-visual-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--bg-card-alt);
    border-bottom: 1px solid var(--border-light);
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Chat mockup inside capability visual */
.cap-chat {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cap-chat-msg {
    display: flex;
    gap: 10px;
}

.cap-chat-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 10px;
    font-weight: 700;
    flex-shrink: 0;
}

.cap-chat-bubble {
    flex: 1;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
    background: var(--bg-card-alt);
    border: 1px solid var(--border-light);
}

.cap-chat-bubble code {
    background: var(--bg-code);
    color: var(--code-text);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 12px;
    font-family: 'IBM Plex Mono', monospace;
}

.cap-chat-bubble .src-tag {
    display: inline-block;
    margin-top: 8px;
    font-size: 11px;
    color: #2563eb;
    padding: 2px 8px;
    background: rgba(37, 99, 235, 0.06);
    border-radius: 6px;
}

/* ========== AGENT QUERY SECTION (Page 5) ========== */
.agent-section {
    padding: 5vw 6vw;
    background: var(--bg-tertiary);
    transition: background 0.3s ease;
}

.agent-section h2 {
    text-align: center;
    font-size: clamp(28px, 2.5vw, 40px);
    margin-bottom: 16px;
    color: var(--text-primary);
}

.agent-section > p {
    text-align: center;
    color: var(--text-tertiary);
    max-width: 640px;
    margin: 0 auto 48px;
    line-height: 1.7;
}

.agent-demo-container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-medium);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    transition: background 0.3s ease;
}

.agent-demo-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.agent-demo-header h3 {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin: 0;
}

.live-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    position: relative;
}

.live-indicator::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1px solid rgba(34, 197, 94, 0.4);
    animation: ping 1.8s infinite;
}

@keyframes ping {
    0% { transform: scale(0.4); opacity: 1; }
    70% { transform: scale(1.8); opacity: 0; }
    100% { opacity: 0; }
}

.agent-demo-content { min-height: 350px; }

.nl-query {
    background: var(--bg-card-alt);
    border: 1px solid var(--border-medium);
    border-radius: 12px;
    padding: 12px 14px;
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 14px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

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

.nl-query::before {
    content: '>';
    color: var(--text-muted);
    margin-right: 10px;
    font-family: 'IBM Plex Mono', monospace;
}

.agent-response {
    background: var(--bg-card-alt);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 14px;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.agent-response.visible { opacity: 1; transform: translateY(0); }

.agent-thinking {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-tertiary);
    margin-bottom: 12px;
}

.agent-thinking .spinner {
    width: 14px;
    height: 14px;
    border: 2px solid #e5e7eb;
    border-top-color: #f97316;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.sql-block {
    font-family: 'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;
    font-size: 12px;
    line-height: 1.5;
    background: var(--bg-code);
    border-radius: 10px;
    padding: 12px 14px;
    color: var(--code-text);
    margin-bottom: 12px;
    border: 1px solid var(--border-medium);
}

.sql-block .keyword { color: #f472b6; }
.sql-block .string { color: #a5f3fc; }
.sql-block .field { color: #fde68a; }
.sql-block .number { color: #86efac; }

.cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: #f97316;
    margin-left: 2px;
    animation: blink 0.8s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.table-preview {
    border-radius: 10px;
    border: 1px solid var(--border-medium);
    overflow: hidden;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.table-preview.visible { opacity: 1; transform: translateY(0); }

table { width: 100%; border-collapse: collapse; font-size: 12px; background: var(--bg-card); }
th { text-align: left; padding: 8px 12px; background: var(--bg-card-alt); color: var(--text-secondary); font-weight: 500; }
td { padding: 8px 12px; border-top: 1px solid var(--border-light); color: var(--text-primary); }
tr.highlight td { background: rgba(255, 243, 224, 0.3); }
[data-theme="dark"] tr.highlight td { background: rgba(251, 191, 36, 0.15); }

.result-count {
    font-size: 11px;
    color: var(--text-tertiary);
    margin-top: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.result-count.visible { opacity: 1; }

.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { font-size: 11px; padding: 5px 10px; border-radius: 999px; background: #fff5ea; color: #b45309; }

/* ========== COMING SOON SECTIONS (Scout / Workflow Builder) ========== */
.preview-section {
    padding: 5vw 6vw;
}

.preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
}

.preview-card {
    padding: 36px;
    border-radius: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, background 0.3s ease;
}

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

.preview-card .badge-soon {
    display: inline-block;
    margin-bottom: 18px;
}

.preview-card h3 {
    font-size: 24px;
    margin-bottom: 14px;
    color: var(--text-primary);
}

.preview-card p {
    color: var(--text-tertiary);
    line-height: 1.7;
    margin-bottom: 20px;
    font-size: 15px;
}

.preview-card .features-list {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.preview-card .features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.preview-card .features-list li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--text-muted);
}

.preview-card .btn-outline {
    display: inline-block;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 12px;
}

.preview-bg-pattern {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 210, 97, 0.06), rgba(255, 159, 167, 0.06));
    pointer-events: none;
}

/* ========== INTEGRATIONS (Page 2C) ========== */
.integrations-section {
    padding: 5vw 6vw;
    background: var(--bg-card);
    border-top: 1px solid var(--border-light);
    transition: background 0.3s ease;
}

.integrations-section h2 {
    text-align: center;
    font-size: clamp(26px, 2.2vw, 36px);
    margin-bottom: 12px;
    color: var(--text-primary);
}

.integrations-section > p {
    text-align: center;
    color: var(--text-tertiary);
    margin-bottom: 40px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.integration-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    border-radius: 20px;
    border: 1px solid var(--border-light);
    background: var(--bg-card-alt);
    transition: transform 0.2s, border-color 0.2s;
}

.integration-item:hover {
    transform: translateY(-3px);
    border-color: var(--border-dark);
}

.integration-item .icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    font-size: 20px;
    margin-bottom: 10px;
}

.integration-item .label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

/* ========== SECURITY DETAIL (Page 3) ========== */
.security-section {
    padding: 5vw 6vw;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.security-card {
    padding: 28px;
    border-radius: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, background 0.3s ease;
}

.security-card:hover { transform: translateY(-3px); }

.security-card .security-icon,
.security-card .sec-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.security-card h3 {
    font-size: 17px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.security-card p {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.7;
}

/* ========== CONTACT SECTION (Page 8) ========== */
.contact-section {
    padding: 5vw 6vw;
    background: var(--bg-tertiary);
    transition: background 0.3s ease;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}

.contact-info h2 {
    font-size: clamp(28px, 2.5vw, 40px);
    margin-bottom: 16px;
    color: var(--text-primary);
}

.contact-info p {
    color: var(--text-tertiary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.contact-info .what-expect h4 {
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.contact-info .what-expect p {
    font-size: 13px;
}

.contact-form {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-medium);
    padding: 32px;
    box-shadow: var(--shadow-md);
}

.contact-form .form-group {
    margin-bottom: 18px;
}

.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 10px 14px;
    border-radius: 10px;
    border: 1px solid var(--border-dark);
    background: var(--bg-card-alt);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: var(--accent-warm);
}

.contact-form textarea { resize: vertical; min-height: 80px; }

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    accent-color: var(--accent-warm);
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.radio-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
    cursor: pointer;
}

.radio-group input[type="radio"] {
    width: auto;
    accent-color: var(--accent-warm);
}

.contact-form .submit-btn {
    width: 100%;
    padding: 14px;
    border-radius: 14px;
    background: var(--gradient-cta);
    color: #7a1e17;
    border: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 154, 173, 0.4);
}

/* ========== CLOSING CTA (1F) ========== */
.closing-cta {
    padding: 6vw;
    text-align: center;
}

.closing-cta h2 {
    font-size: clamp(28px, 2.8vw, 44px);
    margin-bottom: 20px;
    color: var(--text-primary);
}

.closing-cta p {
    color: var(--text-tertiary);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.closing-cta .cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
}

.closing-cta .cta-actions a {
    text-decoration: none;
    padding: 16px 30px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 15px;
}

/* ========== FOOTER (1G) ========== */
footer {
    padding: 40px 6vw 60px;
    border-top: 1px solid var(--border-light);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    font-size: 13px;
    color: var(--text-tertiary);
}

.footer-brand .brand {
    margin-bottom: 12px;
}

.footer-col h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.footer-col a {
    display: block;
    text-decoration: none;
    color: var(--text-tertiary);
    font-size: 14px;
    padding: 4px 0;
    transition: color 0.2s;
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: var(--text-muted);
}

.footer-bottom a {
    color: var(--text-muted);
    text-decoration: none;
}

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

/* ========== SCROLL ANIMATIONS ========== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure cap-chat has minimum height so layout doesn't collapse */
.cap-chat {
    min-height: 200px;
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-points { grid-template-columns: repeat(3, 1fr); }
    .integrations-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
    .hero { grid-template-columns: 1fr; }
    .teams-body { grid-template-columns: 1fr; }
    .teams-sidebar { display: none; }
    .platform-strip { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .deploy-grid { grid-template-columns: 1fr; }
    .trust-points { grid-template-columns: repeat(2, 1fr); }
    .capability-block { grid-template-columns: 1fr; }
    .capability-block:nth-child(even) .cap-content { order: 1; }
    .capability-block:nth-child(even) .cap-visual { order: 2; }
    .preview-grid { grid-template-columns: 1fr; }
    .security-grid { grid-template-columns: 1fr; }
    .contact-container { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .arch-diagram { flex-direction: column; }
    .arch-col:first-child { border-radius: 24px 24px 0 0; }
    .arch-col:last-child { border-radius: 0 0 24px 24px; }
    .integrations-grid { grid-template-columns: repeat(2, 1fr); }
    .pipeline-visual { flex-direction: column; }
    .pipeline-arrow { transform: rotate(90deg); }
    nav { flex-wrap: wrap; gap: 12px; }
    .nav-links { flex-wrap: wrap; justify-content: center; gap: 16px; }
}

@media (max-width: 600px) {
    .trust-points { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .closing-cta .cta-actions { flex-direction: column; align-items: center; }
    .hero-actions { flex-direction: column; }
}

/* ========== PAGE-LEVEL STYLES (for individual product/feature pages) ========== */

/* Page Hero - for page-level hero sections (not the homepage hero) */
.page-hero {
    padding: 8vw 6vw 5vw;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.page-hero h1 {
    font-size: clamp(32px, 3.2vw, 52px);
    line-height: 1.1;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    font-weight: 800;
    margin-bottom: 20px;
}
.page-hero p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 32px;
}
.page-hero .hero-actions {
    justify-content: center;
}

/* Content Section - for text-heavy content sections */
.content-section {
    padding: 4vw 6vw;
    max-width: 900px;
    margin: 0 auto;
}
.content-section h2 {
    font-size: clamp(24px, 2vw, 32px);
    margin-bottom: 16px;
    color: var(--text-primary);
}
.content-section h3 {
    font-size: 20px;
    margin-bottom: 12px;
    margin-top: 32px;
    color: var(--text-primary);
}
.content-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}
.content-section ul {
    list-style: none;
    padding: 0;
}
.content-section ul li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 6px 0;
    font-size: 14px;
    color: var(--text-secondary);
}
.content-section ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-warm);
    margin-top: 8px;
    flex-shrink: 0;
}

/* Problem Section - for "The Problem" sections */
.problem-section {
    padding: 4vw 6vw;
    background: var(--bg-tertiary);
    transition: background 0.3s ease;
}
.problem-section h2 {
    font-size: clamp(24px, 2vw, 32px);
    margin-bottom: 16px;
    color: var(--text-primary);
    max-width: 800px;
}
.problem-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
    margin-bottom: 16px;
}

/* Page CTA - call-to-action sections within pages */
.page-cta {
    padding: 6vw;
    text-align: center;
    background: var(--bg-tertiary);
    transition: background 0.3s ease;
}
.page-cta h2 {
    font-size: clamp(24px, 2.2vw, 36px);
    margin-bottom: 16px;
    color: var(--text-primary);
}
.page-cta p {
    color: var(--text-tertiary);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.7;
}
.page-cta .cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
}
.page-cta .cta-actions a {
    text-decoration: none;
    padding: 16px 30px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 15px;
}

/* Badge Hero - for page hero badges (like "Coming Soon") */
.badge-hero {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 18px;
    background: rgba(107, 114, 128, 0.1);
    color: var(--text-tertiary);
}

/* Two Column Section - for two-column layouts within pages */
.two-col-section {
    padding: 4vw 6vw;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.two-col-content h2 {
    font-size: clamp(24px, 2vw, 32px);
    margin-bottom: 16px;
    color: var(--text-primary);
}
.two-col-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}
@media (max-width: 960px) {
    .two-col-section { grid-template-columns: 1fr; }
}

/* ========== RBAC DIAGRAM (Security Page) ========== */
.rbac-diagram {
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border-medium);
    padding: 28px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.rbac-role {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    border-radius: 16px;
    background: var(--bg-card-alt);
    border: 1px solid var(--border-light);
    transition: background 0.3s ease;
}

.rbac-role-label {
    font-size: 13px;
    font-weight: 700;
    min-width: 90px;
    padding: 6px 14px;
    border-radius: 10px;
    text-align: center;
    flex-shrink: 0;
}

.rbac-engineer {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(59, 130, 246, 0.12));
    color: #1d4ed8;
}

.rbac-manager {
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(251, 146, 60, 0.12));
    color: #c2410c;
}

.rbac-executive {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.12), rgba(192, 132, 252, 0.12));
    color: #7c3aed;
}

.rbac-sources {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    flex: 1;
}

.rbac-source {
    font-size: 12px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.rbac-source.active {
    background: rgba(34, 197, 94, 0.1);
    color: #15803d;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.rbac-source.inactive {
    background: rgba(239, 68, 68, 0.06);
    color: var(--text-muted);
    border: 1px solid var(--border-light);
    text-decoration: line-through;
    opacity: 0.6;
}

.rbac-legend {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-light);
}

.rbac-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-tertiary);
}

.rbac-dot {
    width: 10px;
    height: 10px;
    border-radius: 4px;
}

.rbac-dot.active {
    background: rgba(34, 197, 94, 0.4);
    border: 1px solid rgba(34, 197, 94, 0.6);
}

.rbac-dot.inactive {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ========== DATA HANDLING (Security Page) ========== */
.data-handling-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.data-handling-card {
    padding: 28px;
    border-radius: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: transform 0.3s, background 0.3s ease;
}

.data-handling-card:hover {
    transform: translateY(-3px);
}

.data-handling-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.data-handling-card h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.data-handling-card p {
    font-size: 14px;
    color: var(--text-tertiary);
    line-height: 1.7;
}

@media (max-width: 960px) {
    .data-handling-grid { grid-template-columns: 1fr; }
}

/* ========== DEPLOY FIT (Security Page) ========== */
.deploy-fit {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-tertiary);
    line-height: 1.5;
}

.deploy-fit strong {
    color: var(--text-secondary);
}

/* ========== INTEGRATION CATEGORIES (Platform Page) ========== */
.integration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.integration-category {
    padding: 24px;
    border-radius: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-medium);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s, background 0.3s ease;
}

.integration-category:hover {
    transform: translateY(-3px);
}

.integration-category-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.integration-items {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.integration-category .integration-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--bg-card-alt);
    border: 1px solid var(--border-light);
    transition: border-color 0.2s;
}

.integration-category .integration-item:hover {
    border-color: var(--border-dark);
}

.integration-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.integration-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.integration-note {
    font-size: 11px;
    color: var(--text-muted);
    margin-left: auto;
    font-style: italic;
}

@media (max-width: 960px) {
    .integration-grid { grid-template-columns: 1fr; }
}

/* ========== ARCH COLUMN LABELS (Platform Page) ========== */
.arch-col-label {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.arch-pipeline-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    min-height: 200px;
    gap: 12px;
}

.arch-pipeline-icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.arch-badge {
    font-size: 11px;
    font-weight: 600;
    color: #047857;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(4, 120, 55, 0.08);
    border: 1px solid rgba(4, 120, 55, 0.15);
    margin-top: 8px;
}

/* Arrow column for architecture diagram */
.arch-arrow-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    min-width: 40px;
}

/* ========== INLINE PIPELINE (Data Platform section) ========== */
.pipeline-node .pipeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    margin-top: 12px;
}

.pipeline-node .pipeline-tags span {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    color: var(--text-secondary);
    font-weight: 500;
}

.pipeline-node.pipe-active {
    border-color: rgba(249, 115, 22, 0.3);
    background: linear-gradient(135deg, rgba(255, 210, 97, 0.06), rgba(255, 159, 167, 0.06));
}

.pipeline-node .pipe-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(249, 115, 22, 0.08);
    color: #c2410c;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 8px;
}
