/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; overflow-x: hidden; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0f;
    color: #e0e0e6;
    line-height: 1.6;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ===== UTILITIES ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.gradient-text {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section { padding: 120px 0; }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.section-tag {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #8B5CF6;
    margin-bottom: 16px;
}
.section-title { font-size: clamp(32px, 5vw, 48px); font-weight: 800; line-height: 1.15; margin-bottom: 16px; }
.section-subtitle { font-size: 17px; color: #9ca3af; line-height: 1.7; }
.team .section-header { max-width: 800px; text-align: left; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.25s ease;
}
.btn-primary {
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4); }
.btn-outline {
    border: 1.5px solid rgba(255,255,255,0.15);
    color: #e0e0e6;
    background: rgba(255,255,255,0.03);
}
.btn-outline:hover { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.06); }
.btn-chat {
    width: 100%;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.25s;
}
.btn-chat:hover { background: linear-gradient(135deg, #3B82F6, #8B5CF6); border-color: transparent; }
.btn-full { width: 100%; justify-content: center; }

/* ===== NAVIGATION ===== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: all 0.3s;
    max-width: 100vw;
    overflow-x: clip;
}
.nav.scrolled { padding: 10px 0; background: rgba(10, 10, 15, 0.95); }
.nav-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; white-space: nowrap; }
.logo-icon { color: #8B5CF6; font-size: 18px; }
.logo-text {
    background: linear-gradient(135deg, #3B82F6 0%, #8B5CF6 50%, #EC4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.logo-cap { font-size: 1.3em; font-weight: 800; }
.logo-text-short { display: none; }
.nav-links { display: flex; gap: 32px; }
.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: #9ca3af;
    transition: color 0.2s;
    position: relative;
}
.nav-link:hover, .nav-link.active { color: #fff; }
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -6px; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6);
    border-radius: 2px;
}
.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; transition: all 0.3s; }

/* ===== STATEMENT BANNER ===== */
.statement-banner {
    padding: 3rem 0;
    margin-top: 70px;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.06) 0%, transparent 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.statement-banner .container {
    max-width: 1200px;
}
.statement-banner p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0 0 1rem;
    text-align: left;
}
.statement-banner p:last-child {
    margin-bottom: 0;
}

/* ===== HERO ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px;
    overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero-glow {
    position: absolute;
    top: -200px; left: 50%; transform: translateX(-50%);
    width: 800px; height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(59, 130, 246, 0.05) 50%, transparent 70%);
    filter: blur(60px);
}
.hero-content { position: relative; text-align: center; max-width: 800px; }
.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    color: #8B5CF6;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    margin-bottom: 32px;
}
.hero-title { font-size: clamp(40px, 7vw, 72px); font-weight: 800; line-height: 1.1; margin-bottom: 24px; letter-spacing: -1px; }
.hero-subtitle { font-size: 19px; color: #9ca3af; max-width: 600px; margin: 0 auto 40px; line-height: 1.7; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats { display: flex; gap: 48px; justify-content: center; }
.stat { text-align: center; }
.stat-value { display: block; font-size: 28px; font-weight: 800; color: #fff; }
.stat-label { font-size: 13px; color: #6b7280; text-transform: uppercase; letter-spacing: 1px; }
.hero-scroll {
    position: absolute;
    bottom: 40px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    font-size: 12px; color: #6b7280; text-transform: uppercase; letter-spacing: 2px;
}
.scroll-indicator {
    width: 20px; height: 32px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    position: relative;
}
.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 6px; left: 50%; transform: translateX(-50%);
    width: 3px; height: 8px;
    background: #8B5CF6;
    border-radius: 3px;
    animation: scrollBounce 2s ease-in-out infinite;
}
@keyframes scrollBounce {
    0%, 100% { top: 6px; opacity: 1; }
    50% { top: 16px; opacity: 0.3; }
}

/* ===== SERVICES ===== */
.services { background: #0a0a0f; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
    padding: 36px;
    border-radius: 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s ease;
}
.service-card:hover {
    background: rgba(255,255,255,0.04);
    border-color: rgba(255,255,255,0.12);
    transform: translateY(-4px);
}
.service-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    background: color-mix(in srgb, var(--accent) 10%, transparent);
    color: var(--accent);
    margin-bottom: 20px;
}
.service-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: #fff; }
.service-card p { font-size: 14px; color: #9ca3af; line-height: 1.7; }

/* ===== TEAM ===== */
.team { background: linear-gradient(180deg, #0a0a0f 0%, #0d0d14 100%); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
/* Specialized grid: auto-fit so a small number of cards stays centred */
#specializedGrid { grid-template-columns: repeat(auto-fit, minmax(220px, 280px)); justify-content: center; }

.section-filter-wrap { display:flex; justify-content:center; padding:24px 24px 0; }
.section-filter-bar  { display:flex; gap:8px; flex-wrap:wrap; justify-content:center; }
.sec-filter-btn {
    padding:8px 20px; border-radius:20px; border:1px solid rgba(99,102,241,0.35);
    background:transparent; color:#9ca3af; font-size:13px; cursor:pointer;
    transition:all .2s ease; font-family:inherit;
}
.sec-filter-btn:hover  { border-color:rgba(99,102,241,0.7); color:#c4b5fd; }
.sec-filter-btn.active { background:rgba(99,102,241,0.2); border-color:#6366f1; color:#a5b4fc; font-weight:600; }

.team-card {
    border-radius: 16px;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(14, 165, 233, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}
.team-card:hover { border-color: rgba(14, 165, 233, 0.5); box-shadow: 0 8px 40px rgba(14, 165, 233, 0.1); transform: translateY(-4px); }

.team-media-wrap {
    position: relative;
    aspect-ratio: 3/4;
    background: #111118;
    overflow: hidden;
}
.team-image {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
    z-index: 1;
}
.team-card:hover .team-image { opacity: 0; }
.team-card.video-ended:hover .team-image { opacity: 1; }
.team-video {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}
.team-card:hover .team-video { opacity: 1; }
.team-card.video-ended:hover .team-video { opacity: 0; }
.team-avatar {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--agent-color);
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 700; color: #fff;
    transition: all 0.5s ease;
    z-index: 2;
}
.team-card:hover .team-avatar { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
.team-status {
    position: absolute;
    top: 12px; right: 12px;
    display: flex; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 600;
    color: #10B981;
    background: rgba(0,0,0,0.6);
    padding: 4px 10px;
    border-radius: 100px;
    z-index: 2;
}
.status-dot {
    width: 6px; height: 6px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* Founder card (human, non-AI) */
.founder-card { border-color: rgba(99, 102, 241, 0.25); }
.founder-card:hover { border-color: rgba(99, 102, 241, 0.45); box-shadow: 0 8px 40px rgba(99, 102, 241, 0.1); }
.founder-card .team-media-wrap { aspect-ratio: 3/4; }
.founder-card:hover .team-avatar { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.founder-status { color: #6366F1; }
.founder-role { color: #6366F1 !important; }
.btn-founder {
    background: rgba(99, 102, 241, 0.1) !important;
    border-color: rgba(99, 102, 241, 0.3) !important;
}
.btn-founder:hover {
    background: linear-gradient(135deg, #6366F1, #8B5CF6) !important;
    border-color: transparent !important;
}

.team-info { padding: 20px; display: flex; flex-direction: column; flex: 1; }
.team-info h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.team-role { font-size: 13px; color: #8B5CF6; font-weight: 500; margin-bottom: 8px; display: block; }
.team-info p { font-size: 13px; color: #9ca3af; line-height: 1.6; margin-bottom: 0; flex: 1; }
.team-info .btn { margin-top: 16px; }

/* ===== ABOUT ===== */
.about { background: #0a0a0f; }
.about-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 80px; align-items: center; }
.about-content .section-tag { text-align: left; }
.about-content .section-title { text-align: left; }
.about-content p { font-size: 16px; color: #9ca3af; margin-bottom: 16px; line-height: 1.7; }
.about-features { margin-top: 32px; display: flex; flex-direction: column; gap: 14px; }
.about-feature {
    display: flex; align-items: center; gap: 12px;
    font-size: 15px; color: #d1d5db;
}
.about-feature svg { color: #10B981; flex-shrink: 0; }
.about-card-stack { display: flex; flex-direction: column; gap: 20px; }
.about-stat-card {
    padding: 28px 32px;
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    display: flex; align-items: center; gap: 20px;
    transition: all 0.3s;
}
.about-stat-card:hover { background: rgba(255,255,255,0.05); transform: translateX(8px); }
.about-stat-icon { font-size: 24px; }
.about-stat-num { font-size: 32px; font-weight: 800; color: #fff; }
.about-stat-text { font-size: 14px; color: #9ca3af; }

/* ===== CONTACT ===== */
.contact { background: linear-gradient(180deg, #0d0d14 0%, #0a0a0f 100%); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-item svg { color: #8B5CF6; flex-shrink: 0; margin-top: 2px; }
.contact-item strong { display: block; font-size: 14px; color: #fff; margin-bottom: 2px; }
.contact-item span, .contact-item a { font-size: 14px; color: #9ca3af; }
.contact-item a:hover { color: #8B5CF6; }
.contact-quick-chat { margin-top: 40px; }
.contact-quick-chat p { font-size: 14px; color: #6b7280; margin-bottom: 12px; }
.quick-chat-agents { display: flex; gap: 12px; }
.quick-agent {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--agent-color);
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; color: #fff;
    transition: all 0.25s;
    cursor: pointer;
}
.quick-agent:hover { transform: scale(1.15); box-shadow: 0 4px 20px color-mix(in srgb, var(--agent-color) 40%, transparent); }

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.03);
    color: #e0e0e6;
    font-size: 15px;
    transition: all 0.2s;
    outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: #8B5CF6;
    background: rgba(139, 92, 246, 0.05);
}
.form-group select { appearance: none; cursor: pointer; }
.form-group select option { background: #1a1a24; color: #e0e0e6; }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== FOOTER ===== */
.footer { padding: 64px 0 32px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand p { font-size: 14px; color: #6b7280; margin-top: 12px; line-height: 1.6; }
.footer-links h4 { font-size: 14px; font-weight: 700; color: #fff; margin-bottom: 16px; }
.footer-links a { display: block; font-size: 14px; color: #6b7280; margin-bottom: 10px; transition: color 0.2s; }
.footer-links a:hover { color: #8B5CF6; }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-bottom p { font-size: 13px; color: #4b5563; }

/* ===== CHAT MODAL ===== */
.chat-modal {
    position: fixed;
    bottom: 100px; right: 24px;
    width: min(90vw, 1500px);
    height: clamp(480px, 80vh, 1000px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}
.chat-modal.open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.chat-modal.minimized { height: 60px; overflow: hidden; }
/* When user has dragged/resized, disable the default bottom/right anchor */
.chat-modal.user-positioned { bottom: auto !important; right: auto !important; }
/* Drag cursor on header */
.chat-header { cursor: grab; user-select: none; }
.chat-header:active { cursor: grabbing; }
/* Resize handles — transparent hit-zones on all 8 edges/corners */
.chat-rsz { position: absolute; z-index: 10; }
.chat-rsz-n  { top: -4px;    left: 12px;  right: 12px;  height: 8px;  cursor: n-resize;  }
.chat-rsz-s  { bottom: -4px; left: 12px;  right: 12px;  height: 8px;  cursor: s-resize;  }
.chat-rsz-w  { left: -4px;   top: 12px;   bottom: 12px; width: 8px;   cursor: w-resize;  }
.chat-rsz-e  { right: -4px;  top: 12px;   bottom: 12px; width: 8px;   cursor: e-resize;  }
.chat-rsz-nw { top: -4px;    left: -4px;  width: 16px;  height: 16px; cursor: nw-resize; }
.chat-rsz-ne { top: -4px;    right: -4px; width: 16px;  height: 16px; cursor: ne-resize; }
.chat-rsz-sw { bottom: -4px; left: -4px;  width: 16px;  height: 16px; cursor: sw-resize; }
.chat-rsz-se { bottom: -4px; right: -4px; width: 16px;  height: 16px; cursor: se-resize; }
.chat-container {
    width: 100%; height: 100%;
    border-radius: 20px;
    background: #12121a;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; flex-direction: column;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.chat-header {
    padding: 16px 20px;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}
.chat-agent-info { display: flex; align-items: center; gap: 12px; }
.chat-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 700; color: #fff;
}
.chat-name { font-size: 15px; font-weight: 600; color: #fff; }
.chat-role { font-size: 12px; color: #6b7280; }
.chat-header-actions { display: flex; gap: 8px; }
.chat-minimize, .chat-close {
    width: 28px; height: 28px;
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: #6b7280;
    font-size: 18px;
    transition: all 0.2s;
}
.chat-minimize:hover, .chat-close:hover { background: rgba(255,255,255,0.1); color: #fff; }
.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex; flex-direction: column; gap: 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.1) transparent;
}
.chat-msg {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 16px;
    font-size: 14px;
    line-height: 1.6;
    animation: msgIn 0.3s ease;
}
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.chat-msg.agent {
    align-self: flex-start;
    background: rgba(255,255,255,0.06);
    border-bottom-left-radius: 4px;
    color: #e0e0e6;
}
.chat-msg.user {
    align-self: flex-end;
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    border-bottom-right-radius: 4px;
    color: #fff;
    white-space: pre-wrap;
    word-break: break-word;
}
/* Markdown rendering inside agent messages */
.chat-msg.agent p  { margin: 0 0 8px; }
.chat-msg.agent p:last-child { margin-bottom: 0; }
.chat-msg.agent h2 { font-size: 15px; font-weight: 700; color: #fff; margin: 10px 0 4px; }
.chat-msg.agent h3 { font-size: 14px; font-weight: 700; color: #c4b5fd; margin: 10px 0 4px; }
.chat-msg.agent h4 { font-size: 13px; font-weight: 600; color: #a78bfa; margin: 8px 0 3px; }
.chat-msg.agent strong { color: #fff; font-weight: 600; }
.chat-msg.agent em { color: #c4b5fd; font-style: italic; }
.chat-msg.agent ul,
.chat-msg.agent ol  { padding-left: 18px; margin: 6px 0; }
.chat-msg.agent li  { margin-bottom: 4px; }
.chat-msg.agent code {
    background: rgba(0,0,0,0.3);
    border-radius: 4px;
    padding: 1px 5px;
    font-size: 12px;
    font-family: 'Fira Code', 'Consolas', monospace;
    color: #7dd3fc;
}
.chat-msg.agent .code-block {
    position: relative;
    margin: 8px 0;
}
.chat-msg.agent .code-block pre {
    background: rgba(0,0,0,0.35);
    border-radius: 8px;
    padding: 32px 12px 10px;   /* top padding leaves room for Copy button */
    overflow-x: auto;
    margin: 0;
}
.chat-msg.agent pre {           /* plain <pre> outside code-block (fallback) */
    background: rgba(0,0,0,0.35);
    border-radius: 8px;
    padding: 10px 12px;
    overflow-x: auto;
    margin: 8px 0;
}
.chat-msg.agent pre code { background: none; padding: 0; font-size: 12px; color: #7dd3fc; }
/* Copy button */
.code-copy {
    position: absolute;
    top: 6px; right: 8px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 5px;
    color: #9ca3af;
    font-size: 11px;
    font-family: inherit;
    padding: 3px 10px;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1.4;
}
.code-copy:hover { background: rgba(255,255,255,0.18); color: #fff; }
.code-copy.copied { color: #10B981; border-color: rgba(16,185,129,0.4); background: rgba(16,185,129,0.08); }
.chat-msg.agent hr { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin: 8px 0; }
a.patent-link { color: #a78bfa; text-decoration: none; border-bottom: 1px dashed rgba(167,139,250,0.5); font-family: monospace; font-size: 0.95em; }
a.patent-link:hover { color: #c4b5fd; border-bottom-style: solid; }

/* ── Contextual lens tabs (chat window) ───────────────────────────── */
.chat-msg.lens-response {
    padding: 0 !important;
    max-width: 100% !important;
    width: 100%;
    align-self: stretch !important;
    background: rgba(255,255,255,0.04) !important;
    border: 1px solid rgba(139,92,246,0.3) !important;
    display: flex;
    flex-direction: column;
}
.lens-tab-bar { display: flex; gap: 4px; padding: 8px 8px 0; background: rgba(0,0,0,0.25); flex-wrap: wrap; border-bottom: 1px solid rgba(139,92,246,0.2); flex-shrink: 0; }
.lens-tab { background: transparent; border: 1px solid rgba(139,92,246,0.25); border-bottom: none; color: #9ca3af; font-size: 12px; padding: 5px 14px; border-radius: 6px 6px 0 0; cursor: pointer; transition: all 0.15s; white-space: nowrap; }
.lens-tab:hover { color: #c4b5fd; border-color: rgba(139,92,246,0.5); }
.lens-tab.active { background: rgba(139,92,246,0.15); color: #c4b5fd; border-color: rgba(139,92,246,0.5); }
.lens-panel { display: none; padding: 14px; }
.lens-panel.active { display: block; }

/* ── Lens cards (admin agent form) ────────────────────────────────── */
.lens-card { background: rgba(0,0,0,0.25); border: 1px solid rgba(99,102,241,0.3); border-radius: 8px; padding: 12px; margin-bottom: 10px; }

/* ── IDF pipeline progress card ───────────────────────────────────── */
.idf-progress-card { background: rgba(255,255,255,0.04) !important; border: 1px solid rgba(139,92,246,0.35) !important; border-radius: 12px !important; padding: 16px !important; max-width: 100% !important; width: 100%; }
.idf-progress-card.idf-error { border-color: rgba(239,68,68,0.5) !important; }
.idf-progress-title { font-size: 13px; font-weight: 600; color: #c4b5fd; margin-bottom: 14px; }
.idf-progress-card.idf-error .idf-progress-title { color: #f87171; }
.idf-stages { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.idf-stage { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #6b7280; }
.idf-stage-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.15); flex-shrink: 0; transition: all 0.3s; }
.idf-stage.done .idf-stage-dot  { background: #10b981; border-color: #10b981; }
.idf-stage.done .idf-stage-label { color: #6b7280; text-decoration: line-through; }
.idf-stage.active .idf-stage-dot { background: transparent; border-color: #8b5cf6; animation: idf-spin 1s linear infinite; }
.idf-stage.active .idf-stage-label { color: #c4b5fd; font-weight: 500; }
.idf-stage.pending .idf-stage-label { color: #4b5563; }
.idf-progress-hint { font-size: 11px; color: #4b5563; font-style: italic; }
@keyframes idf-spin { 0% { box-shadow: 0 -4px 0 0 #8b5cf6; } 25% { box-shadow: 4px 0 0 0 #8b5cf6; } 50% { box-shadow: 0 4px 0 0 #8b5cf6; } 75% { box-shadow: -4px 0 0 0 #8b5cf6; } 100% { box-shadow: 0 -4px 0 0 #8b5cf6; } }

/* ── IDF Summary tab ────────────────────────────────────────────────── */
.idf-summary-tab { font-weight: 600; color: #a78bfa !important; }
.idf-summary-tab.active { background: rgba(139,92,246,0.2) !important; color: #c4b5fd !important; }

/* Recommendation card */
.idf-rec-card { border-radius: 8px; padding: 12px 14px; margin-bottom: 14px; border: 1px solid; }
.idf-rec-proceed  { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.4); }
.idf-rec-caution  { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.4); }
.idf-rec-stop     { background: rgba(239,68,68,0.1);  border-color: rgba(239,68,68,0.4); }
.idf-rec-header   { font-size: 14px; font-weight: 700; margin-bottom: 6px; display: flex; align-items: center; gap: 6px; }
.idf-rec-proceed .idf-rec-header  { color: #34d399; }
.idf-rec-caution  .idf-rec-header { color: #fbbf24; }
.idf-rec-stop     .idf-rec-header { color: #f87171; }
.idf-rec-confidence { font-size: 11px; font-weight: 400; color: #9ca3af; margin-left: 4px; }
.idf-rec-explanation { font-size: 12px; color: #d1d5db; line-height: 1.6; margin-top: 4px; }

/* Lens score bars */
.idf-scores-title  { font-size: 12px; font-weight: 600; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.idf-scores-note   { font-size: 10px; font-weight: 400; color: #6b7280; text-transform: none; letter-spacing: 0; }
.idf-score-bars    { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.idf-score-row     { display: grid; grid-template-columns: 120px 1fr 36px; align-items: center; gap: 8px; flex-wrap: wrap; }
.idf-score-label   { font-size: 12px; color: #d1d5db; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.idf-score-track   { height: 8px; background: rgba(255,255,255,0.08); border-radius: 4px; overflow: hidden; }
.idf-score-fill    { height: 100%; border-radius: 4px; transition: width 0.6s ease; }
.idf-bar-good      { background: linear-gradient(90deg, #10b981, #34d399); }
.idf-bar-mid       { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.idf-bar-bad       { background: linear-gradient(90deg, #ef4444, #f87171); }
.idf-score-pct     { font-size: 11px; color: #9ca3af; text-align: right; }
.idf-score-sublabel { font-size: 10px; color: #6b7280; grid-column: 2 / 4; margin-top: -4px; }

/* Section headings inside summary tab */
.idf-section-title { font-size: 12px; font-weight: 600; color: #9ca3af; text-transform: uppercase; letter-spacing: 0.05em; margin: 14px 0 6px; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 12px; }

/* Patent list */
.idf-patent-list   { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 5px; }
.idf-patent-list li { font-size: 12px; color: #d1d5db; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.idf-patent-list a  { color: #818cf8; text-decoration: none; }
.idf-patent-list a:hover { text-decoration: underline; }
.idf-threat-high   { background: rgba(239,68,68,0.2); color: #f87171; border: 1px solid rgba(239,68,68,0.4); border-radius: 3px; padding: 1px 5px; font-size: 10px; font-weight: 700; flex-shrink: 0; }
.idf-threat-mid    { background: rgba(245,158,11,0.15); color: #fbbf24; border: 1px solid rgba(245,158,11,0.4); border-radius: 3px; padding: 1px 5px; font-size: 10px; font-weight: 700; flex-shrink: 0; }
.idf-threat-ref    { background: rgba(99,102,241,0.15); color: #a5b4fc; border: 1px solid rgba(99,102,241,0.35); border-radius: 3px; padding: 1px 5px; font-size: 10px; font-weight: 700; flex-shrink: 0; }

/* Publications list */
.idf-pub-list      { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 5px; }
.idf-pub-list li   { font-size: 12px; color: #d1d5db; }
.idf-pub-list a    { color: #818cf8; text-decoration: none; }
.idf-pub-list a:hover { text-decoration: underline; }

.chat-typing {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    font-size: 13px;
    color: #6b7280;
}
.chat-typing.visible { display: flex; }
.typing-dots { display: flex; gap: 3px; }
.typing-dots span {
    width: 5px; height: 5px;
    background: #6b7280;
    border-radius: 50%;
    animation: typingDot 1.4s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typingDot { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

.chat-input {
    display: flex;
    flex-direction: column;
    padding: 12px 16px;
    gap: 8px;
    border-top: 1px solid rgba(255,255,255,0.06);
    flex-shrink: 0;
}
.chat-input textarea {
    width: 100%;
    padding: 10px 16px;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    background: rgba(255,255,255,0.03);
    color: #e0e0e6;
    font-size: 14px;
    outline: none;
    resize: none;
    font-family: inherit;
    line-height: 1.5;
    min-height: 120px;
    max-height: 240px;
    overflow-y: auto;
    box-sizing: border-box;
}
.chat-input-buttons {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}
.chat-input textarea:focus { border-color: #8B5CF6; }
#chatSend, #chatEmail, #chatUpload {
    width: 40px; height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3B82F6, #8B5CF6);
    border: none;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
}
#chatSend:hover, #chatEmail:hover, #chatUpload:hover { transform: scale(1.05); }
#chatUpload.uploading { opacity: 0.65; animation: pulse 1s infinite; }
#chatClear { width: 40px; height: 40px; border-radius: 12px; background: rgba(239,68,68,0.15); border: 1px solid rgba(239,68,68,0.35); display: flex; align-items: center; justify-content: center; color: #f87171; cursor: pointer; flex-shrink: 0; transition: all 0.2s; }
#chatClear:hover { background: rgba(239,68,68,0.28); border-color: rgba(239,68,68,0.6); transform: scale(1.05); }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.4; } }

/* Guest memory nudge */
.chat-guest-nudge {
    margin: 8px 0;
    padding: 10px 14px;
    background: rgba(99,102,241,0.07);
    border: 1px solid rgba(99,102,241,0.22);
    border-radius: 10px;
    font-size: 13px;
    color: #9ca3af;
    text-align: center;
}
.chat-guest-nudge a { color: #a5b4fc; text-decoration: underline; }
.chat-guest-nudge a:hover { color: #c7d2fe; }

/* Vet Liz greeting menu */
.vet-liz-menu p { margin: 0 0 12px; }
.vet-liz-option {
    display: block;
    width: 100%;
    text-align: left;
    padding: 10px 14px;
    margin: 6px 0;
    background: rgba(59,130,246,0.08);
    border: 1px solid rgba(59,130,246,0.25);
    border-radius: 10px;
    color: #93c5fd;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}
.vet-liz-option:hover {
    background: rgba(59,130,246,0.18);
    border-color: rgba(59,130,246,0.5);
    color: #bfdbfe;
}


/* Quick Actions (chat greeting buttons) */
.chat-quick-actions {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 4px 0 8px;
}
.quick-action-btn {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 16px;
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.28);
    border-radius: 10px;
    color: #a5b4fc;
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: background 0.15s, border-color 0.15s;
}
.quick-action-btn:hover {
    background: rgba(99,102,241,0.18);
    border-color: rgba(99,102,241,0.55);
    color: #c7d2fe;
}
.qa-num { color: #6366f1; font-weight: 600; min-width: 18px; flex-shrink: 0; }
.qa-body { display: flex; flex-direction: column; gap: 2px; }
.qa-title { display: flex; align-items: center; gap: 6px; font-weight: 500; }
.qa-desc { color: #64748b; font-size: 12px; }
.qa-icon { font-size: 15px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 48px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
    .section { padding: 80px 0; }
    .nav-links {
        position: fixed;
        top: 0; right: 0;
        width: 280px; height: 100vh;
        background: #12121a;
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 24px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        border-left: 1px solid rgba(255,255,255,0.06);
    }
    .nav-links.open { transform: translateX(0); }
    .nav-toggle { display: flex; z-index: 1001; }
    .logo-text { display: none; }
    .logo-text-short { display: inline; }
    .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
    .hero-stats { gap: 24px; }
    .services-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .chat-modal { bottom: 0 !important; right: 0 !important; left: 0 !important; top: 0 !important; width: 100% !important; height: 100% !important; border-radius: 0 !important; }
    .chat-container { border-radius: 0; }

    .debate-controls { flex-direction: column; align-items: stretch; }
    .debate-select, .debate-btn { width: 100%; max-width: 100%; min-width: unset; box-sizing: border-box; }
    .debate-window { padding: 16px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 36px; }
    .hero-subtitle { font-size: 16px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-stats { flex-direction: column; gap: 16px; }
}

/* ===== DEBATE SECTION ===== */
.debate-header { max-width: 800px; text-align: left; }
.debate-controls {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
}
.debate-select {
    flex: 1;
    min-width: 280px;
    padding: 12px 40px 12px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    color: #e0e0e6;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    transition: border-color 0.2s;
}
.debate-select:focus { outline: none; border-color: #6366F1; }
.debate-select option { background: #1a1a2e; color: #e0e0e6; }
.debate-btn:disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
.debate-window {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 28px;
    min-height: 260px;
    max-height: 620px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    scroll-behavior: smooth;
}
.debate-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-height: 160px;
    color: rgba(255,255,255,0.3);
    text-align: center;
    font-size: 15px;
    line-height: 1.6;
}
.debate-msg {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    animation: debateFadeIn 0.35s ease;
}
.debate-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    flex-shrink: 0;
}
.debate-bubble { flex: 1; }
.debate-name {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-bottom: 5px;
    opacity: 0.85;
}
.debate-text {
    background: rgba(255,255,255,0.06);
    border-radius: 0 12px 12px 12px;
    padding: 12px 16px;
    font-size: 14px;
    color: rgba(255,255,255,0.82);
    line-height: 1.7;
}
.debate-msg.decision .debate-text {
    background: rgba(14, 165, 233, 0.1);
    border: 1px solid rgba(14, 165, 233, 0.25);
    border-radius: 12px;
    font-size: 15px;
}
.debate-status {
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.07);
    border-radius: 8px;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    text-align: center;
    font-style: italic;
    letter-spacing: 0.3px;
}
.debate-typing-dots {
    display: flex;
    gap: 4px;
    padding: 4px 0;
}
.debate-typing-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    animation: debateBounce 1.2s infinite;
}
.debate-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.debate-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes debateBounce {
    0%, 60%, 100% { transform: translateY(0); }
    30% { transform: translateY(-6px); }
}
@keyframes debateFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== Custom debate question textarea ===== */
.debate-custom-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px;
    color: #e0e0e6;
    font-family: inherit;
    font-size: 0.95rem;
    resize: vertical;
    min-height: 80px;
    transition: border-color 0.2s;
    order: 1;
    flex-basis: 100%;
}
.debate-custom-textarea:focus {
    outline: none;
    border-color: #6366F1;
    background: rgba(99,102,241,0.06);
}
.debate-custom-textarea::placeholder { color: #666; }

/* ===== Agent email link in team cards ===== */
.btn-agent-email {
    margin-top: 8px;
    font-size: 0.82rem;
    word-break: break-all;
    color: #fff;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.25s;
}
.btn-agent-email:hover {
    background: linear-gradient(135deg, #10B981, #3B82F6);
    border-color: transparent;
    color: #fff;
}

/* ===== Chat handoff suggestion ===== */
.chat-handoff {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    margin: 6px 0;
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 10px;
    font-size: 0.85rem;
    color: #aaa;
}
.chat-handoff span { flex-shrink: 0; }
.chat-handoff button {
    padding: 5px 14px;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}
.chat-handoff button:hover { opacity: 0.85; }

/* ===== Email Intro Modal ===== */
.ei-overlay {
    position: fixed; inset: 0; z-index: 1100;
    background: rgba(0,0,0,0.72);
    display: flex; align-items: center; justify-content: center;
    padding: 1rem;
    backdrop-filter: blur(4px);
}
.ei-box {
    background: #1a1a2e;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    width: 100%; max-width: 460px;
    padding: 1.75rem;
    box-shadow: 0 24px 64px rgba(0,0,0,0.55);
}
.ei-header {
    display: flex; align-items: center; gap: 1rem;
    margin-bottom: 1.5rem;
}
.ei-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.1rem; color: #fff;
    flex-shrink: 0;
}
.ei-agent-info { flex: 1; min-width: 0; }
.ei-agent-name { font-weight: 700; font-size: 1rem; color: #f1f5f9; }
.ei-agent-role { font-size: 0.8rem; color: #94a3b8; margin-top: 2px; }
.ei-close {
    background: none; border: none; cursor: pointer;
    color: #64748b; font-size: 1.5rem; line-height: 1;
    padding: 4px 6px; border-radius: 6px; transition: color 0.2s;
    flex-shrink: 0;
}
.ei-close:hover { color: #f1f5f9; }
.ei-intro-text { color: #cbd5e1; font-size: 0.9rem; line-height: 1.65; margin-bottom: 1.25rem; }
.ei-user-block {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
}
.ei-user-label {
    font-size: 0.7rem; color: #64748b;
    text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.3rem;
}
.ei-user-email { font-size: 0.95rem; color: #10B981; font-weight: 600; }
.ei-hint { font-size: 0.8rem; color: #64748b; line-height: 1.65; }
.ei-error {
    background: rgba(220,38,38,0.1); border: 1px solid rgba(220,38,38,0.3);
    border-radius: 8px; padding: 0.7rem 1rem;
    color: #fca5a5; font-size: 0.85rem; margin-top: 1rem;
}
.ei-success {
    text-align: center; padding: 0.75rem 0 0.25rem;
}
.ei-success svg { display: block; margin: 0 auto 0.75rem; }
.ei-success p { color: #6ee7b7; font-size: 0.9rem; line-height: 1.6; }
.ei-footer {
    display: flex; gap: 0.75rem; justify-content: flex-end;
    margin-top: 1.5rem;
}
.ei-btn-cancel {
    background: transparent; border: 1px solid rgba(255,255,255,0.15);
    color: #94a3b8; padding: 0.6rem 1.25rem; border-radius: 8px;
    cursor: pointer; font-size: 0.9rem; transition: all 0.2s;
}
.ei-btn-cancel:hover { border-color: rgba(255,255,255,0.3); color: #f1f5f9; }
.ei-btn-send {
    background: linear-gradient(135deg, #10B981, #3B82F6);
    color: #fff; border: none; padding: 0.6rem 1.4rem;
    border-radius: 8px; cursor: pointer; font-size: 0.9rem;
    font-weight: 600; transition: opacity 0.2s;
}
.ei-btn-send:hover { opacity: 0.88; }
.ei-btn-send:disabled { opacity: 0.45; cursor: not-allowed; }

/* ===== SPECIALIZED MODELS SECTION ===== */
.specialized-models { background: linear-gradient(180deg, rgba(139,92,246,0.04) 0%, transparent 100%); }

.opposition-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    align-items: center;
    margin: 40px 0;
}
.opposition-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 28px;
}
.monitor-card { border-color: rgba(16,185,129,0.25); }
.pentest-card  { border-color: rgba(239,68,68,0.25); }
.opp-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.opp-avatar {
    width: 52px; height: 52px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.opp-name { font-size: 17px; font-weight: 700; color: #fff; }
.opp-role { font-size: 12px; color: #6b7280; margin-top: 3px; }
.opp-badge {
    margin-left: auto; padding: 3px 12px; border-radius: 20px;
    font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.opp-badge-defend { background: rgba(16,185,129,0.15); color: #10B981; }
.opp-badge-attack  { background: rgba(239,68,68,0.15);  color: #EF4444; }
.opp-desc { color: #9ca3af; font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.opp-capabilities { display: flex; flex-wrap: wrap; gap: 8px; }
.opp-capabilities span {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px; padding: 4px 12px; font-size: 12px; color: #d1d5db;
}
.opp-vs {
    display: flex; align-items: center; justify-content: center; padding: 0 28px;
}
.opp-vs-circle {
    width: 56px; height: 56px; border-radius: 50%;
    background: rgba(139,92,246,0.12); border: 2px solid rgba(139,92,246,0.35);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; color: #8B5CF6; font-size: 14px; flex-shrink: 0;
}
.opp-advantage-grid {
    display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 36px;
}
.opp-advantage {
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px; padding: 20px;
}
.opp-adv-icon { color: #8B5CF6; font-size: 14px; margin-bottom: 10px; }
.opp-advantage h4 { color: #fff; font-size: 14px; font-weight: 600; margin: 0 0 8px; }
.opp-advantage p  { color: #6b7280; font-size: 13px; line-height: 1.6; margin: 0; }
.opp-notice {
    background: rgba(245,158,11,0.06); border: 1px solid rgba(245,158,11,0.2);
    border-radius: 12px; padding: 16px 20px;
    display: flex; gap: 12px; align-items: flex-start; margin-top: 28px;
}
.opp-notice svg { color: #F59E0B; flex-shrink: 0; margin-top: 2px; }
.opp-notice p { color: #9ca3af; font-size: 13px; line-height: 1.6; margin: 0; }

@media (max-width: 768px) {
    .opposition-grid { grid-template-columns: 1fr; }
    .opp-vs { padding: 20px 0; }
    .opp-advantage-grid { grid-template-columns: 1fr; }
}
