/* Custom styles extracted from expo.html (self-hosted build) */
        * { font-family: 'Inter', sans-serif; }
        :root {
            --madi-blue: #1e3a8a;
            --madi-red: #e63946;
            --madi-bg: #f5f7fa;
            --madi-soft: #e8eefc;
        }
        .madi-blue { background-color: var(--madi-blue); }
        .madi-blue-text { color: var(--madi-blue); }
        .madi-red { background-color: var(--madi-red); }
        .madi-red-text { color: var(--madi-red); }
        .gradient-hero { background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #2563eb 100%); }
        .glass-card { background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); border: 1px solid rgba(30, 58, 138, 0.1); }
        .hover-lift { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
        .hover-lift:hover { transform: translateY(-6px); box-shadow: 0 20px 40px -12px rgba(30, 58, 138, 0.25); }
        .tab-active { background-color: var(--madi-blue); color: white; }
        .tab-inactive { background-color: #f1f5f9; color: #475569; }
        .tab-inactive:hover { background-color: #e2e8f0; }
        .partner-logo { filter: grayscale(100%); opacity: 0.7; transition: all 0.3s ease; }
        .partner-logo:hover { filter: grayscale(0%); opacity: 1; }
        .metric-card { background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%); border-left: 4px solid var(--madi-blue); }
        .section-divider { height: 4px; width: 80px; background: linear-gradient(90deg, var(--madi-blue), var(--madi-red)); border-radius: 2px; }
        .placeholder-box { background: #fff; border: 2px dashed #cbd5e1; border-radius: 16px; padding: 28px; text-align: center; color: #64748b; }
        .placeholder-box b { color: #1e293b; }
        .gartner-badge { background: linear-gradient(135deg, #eef2ff, #e0e7ff); border: 1px solid #c7d2fe; color: #3730a3; }
        .gartner-badge-2027 { background: linear-gradient(135deg, #fef3c7, #fde68a); border: 1px solid #fcd34d; color: #92400e; }
        .article-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 20px; transition: all 0.25s ease; display: block; text-decoration: none; color: inherit; cursor: pointer; }
        .article-card:hover { border-color: #93c5fd; box-shadow: 0 8px 24px -8px rgba(30, 58, 138, 0.18); transform: translateY(-2px); }
        .article-card.disabled { cursor: default; opacity: 0.85; }
        .article-card.disabled:hover { transform: none; box-shadow: none; border-color: #e2e8f0; }
        .article-title { font-weight: 700; font-size: 15px; line-height: 1.45; color: #0f172a; margin-bottom: 6px; }
        .article-authors { font-size: 13px; color: #475569; margin-bottom: 4px; }
        .article-source { font-size: 13px; color: #64748b; }
        .article-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
        .article-link { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #f1f5f9; color: #334155; text-decoration: none; transition: all 0.15s; }
        .article-link:hover { background: var(--madi-soft); color: var(--madi-blue); }
        .monograph-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 24px; display: flex; gap: 20px; align-items: flex-start; }
        .monograph-cover { width: 100px; height: 140px; background: linear-gradient(135deg, #1e3a8a, #2563eb); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 11px; text-align: center; padding: 10px; flex-shrink: 0; }
        .startup-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; padding: 22px; transition: all 0.25s ease; }
        .startup-card:hover { border-color: #fca5a5; box-shadow: 0 8px 24px -8px rgba(230, 57, 70, 0.2); transform: translateY(-2px); }

        /* AI Chat Widget */
        .ai-fab {
            position: fixed; bottom: 24px; right: 24px; z-index: 1000;
            width: 60px; height: 60px; border-radius: 50%;
            background: linear-gradient(135deg, var(--madi-blue), #2563eb);
            color: #fff; display: flex; align-items: center; justify-content: center;
            font-size: 24px; cursor: pointer;
            box-shadow: 0 8px 24px rgba(30, 58, 138, 0.4);
            transition: transform 0.2s ease;
        }
        .ai-fab:hover { transform: scale(1.08); }
        .ai-fab .ai-badge {
            position: absolute; top: -4px; right: -4px;
            background: var(--madi-red); color: #fff;
            font-size: 10px; font-weight: 700;
            width: 20px; height: 20px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            border: 2px solid #fff;
        }
        .ai-panel {
            position: fixed; bottom: 96px; right: 24px; z-index: 1001;
            width: 380px; max-width: calc(100vw - 32px);
            height: 560px; max-height: calc(100vh - 120px);
            background: #fff; border-radius: 20px;
            box-shadow: 0 20px 60px rgba(15, 23, 42, 0.25);
            display: none; flex-direction: column; overflow: hidden;
            border: 1px solid #e2e8f0;
        }
        .ai-panel.open { display: flex; }
        .ai-header {
            background: linear-gradient(135deg, var(--madi-blue), #2563eb);
            color: #fff; padding: 16px 18px;
            display: flex; align-items: center; gap: 12px;
        }
        .ai-header .ai-avatar {
            width: 40px; height: 40px; border-radius: 50%;
            background: rgba(255,255,255,0.2);
            display: flex; align-items: center; justify-content: center;
            font-size: 18px;
        }
        .ai-header h3 { font-size: 15px; font-weight: 700; margin: 0; }
        .ai-header p { font-size: 11px; margin: 0; opacity: 0.85; }
        .ai-close {
            margin-left: auto; background: transparent; border: none;
            color: #fff; font-size: 20px; cursor: pointer; padding: 4px 8px;
            border-radius: 8px; transition: background 0.15s;
        }
        .ai-close:hover { background: rgba(255,255,255,0.15); }
        .ai-messages {
            flex: 1; overflow-y: auto; padding: 16px;
            background: #f8fafc; display: flex; flex-direction: column; gap: 12px;
        }
        .ai-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 13px; line-height: 1.5; }
        .ai-msg.bot { background: #fff; border: 1px solid #e2e8f0; align-self: flex-start; border-bottom-left-radius: 4px; }
        .ai-msg.user { background: var(--madi-blue); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
        .ai-msg a { color: var(--madi-red); text-decoration: underline; }
        .ai-msg.bot a { color: var(--madi-blue); }
        .ai-suggestions {
            display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px;
            background: #f8fafc;
        }
        .ai-suggestion {
            font-size: 11px; padding: 6px 12px; border-radius: 999px;
            background: #fff; border: 1px solid #cbd5e1; color: #475569;
            cursor: pointer; transition: all 0.15s;
        }
        .ai-suggestion:hover { border-color: var(--madi-blue); color: var(--madi-blue); background: var(--madi-soft); }
        .ai-input-row {
            display: flex; gap: 8px; padding: 12px 16px;
            border-top: 1px solid #e2e8f0; background: #fff;
        }
        .ai-input-row input {
            flex: 1; padding: 10px 14px; border: 1px solid #e2e8f0;
            border-radius: 12px; font-size: 13px; outline: none;
        }
        .ai-input-row input:focus { border-color: var(--madi-blue); }
        .ai-input-row button {
            background: var(--madi-blue); color: #fff; border: none;
            padding: 0 16px; border-radius: 12px; cursor: pointer;
            font-size: 14px; transition: background 0.15s;
        }
        .ai-input-row button:hover { background: #1e40af; }
        .ai-typing { display: inline-flex; gap: 3px; align-items: center; }
        .ai-typing span { width: 6px; height: 6px; background: #94a3b8; border-radius: 50%; animation: ai-bounce 1.2s infinite; }
        .ai-typing span:nth-child(2) { animation-delay: 0.15s; }
        .ai-typing span:nth-child(3) { animation-delay: 0.3s; }
        @keyframes ai-bounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-4px); } }
        @media (max-width: 480px) {
            .ai-panel { width: calc(100vw - 16px); right: 8px; bottom: 88px; height: calc(100vh - 110px); }
        }
