/* Premium CSS Stylesheet for SLM Agents Developer Portal */ @import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap'); :root { --bg-primary: #f8fafc; --bg-secondary: #ffffff; --bg-tertiary: #f1f5f9; --card-bg: #ffffff; --card-border: #e2e8f0; --accent-purple: #4f46e5; --accent-purple-glow: rgba(79, 70, 229, 0.12); --accent-cyan: #0284c7; --accent-cyan-glow: rgba(2, 132, 199, 0.12); --accent-emerald: #059669; --accent-emerald-glow: rgba(5, 150, 105, 0.12); --text-primary: #0f172a; --text-secondary: #475569; --text-muted: #64748b; --gradient-primary: linear-gradient(135deg, #4f46e5 0%, #0284c7 100%); --gradient-secondary: linear-gradient(135deg, #0284c7 0%, #059669 100%); --gradient-text: linear-gradient(135deg, #0f172a 20%, #4f46e5 100%); --gradient-glow: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(2, 132, 199, 0.08)); --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; --font-mono: 'JetBrains Mono', monospace; --transition-fast: 0.15s ease; --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1); --border-radius: 14px; } /* Reset & Base Styles */ * { box-sizing: border-box; margin: 0; padding: 0; } html { scroll-behavior: smooth; background-color: var(--bg-primary); color: var(--text-primary); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } /* body: authoritative rule defined below in Fixed 2-Pane Layout section */ body::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px); background-size: 40px 40px; background-position: center top; z-index: -2; pointer-events: none; mask-image: radial-gradient(ellipse at 50% 35%, black 65%, transparent 100%); -webkit-mask-image: radial-gradient(ellipse at 50% 35%, black 65%, transparent 100%); } /* Custom Scrollbar */ ::-webkit-scrollbar { width: 8px; } ::-webkit-scrollbar-track { background: var(--bg-primary); } ::-webkit-scrollbar-thumb { background: var(--bg-tertiary); border-radius: 4px; border: 1px solid var(--card-border); } ::-webkit-scrollbar-thumb:hover { background: var(--accent-purple); } /* Decorative Background Elements */ .bg-glow-1 { position: absolute; top: -10%; left: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(139, 92, 246, 0.12) 0%, transparent 70%); z-index: -1; pointer-events: none; filter: blur(80px); } .bg-glow-2 { position: absolute; top: 40%; right: -10%; width: 45vw; height: 45vw; background: radial-gradient(circle, rgba(6, 182, 212, 0.1) 0%, transparent 70%); z-index: -1; pointer-events: none; filter: blur(80px); } /* Container — nav and section wrapper only. .layout-container is a separate full-screen flex root */ .container { max-width: 1400px; margin: 0 auto; padding-left: 2rem; padding-right: 2rem; } /* Header: authoritative rule defined below in Fixed 2-Pane Layout section */ .nav-container { display: flex; justify-content: space-between; align-items: center; height: 72px; max-width: 1400px; margin: 0 auto; padding: 0 2rem; } .logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.5px; color: #0f172a; text-decoration: none; } .logo span { background: linear-gradient(135deg, #0f172a 30%, #4f46e5 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .logo-icon { background: linear-gradient(135deg, #4f46e5 0%, #0284c7 100%); color: white; width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; box-shadow: 0 4px 12px rgba(79, 70, 229, 0.25); } nav ul { display: flex; list-style: none; gap: 32px; align-items: center; } nav a { color: #334155; text-decoration: none; font-size: 0.925rem; font-weight: 600; transition: var(--transition-fast); } nav a:hover { color: #4f46e5; } .btn-github-nav { display: inline-flex; align-items: center; gap: 8px; background: #f1f5f9; border: 1px solid #cbd5e1; padding: 8px 16px; border-radius: 20px; font-size: 0.85rem; color: #0f172a; cursor: pointer; transition: var(--transition-fast); text-decoration: none; font-weight: 600; } .btn-github-nav:hover { border-color: #4f46e5; box-shadow: 0 4px 12px rgba(79, 70, 229, 0.15); background: #ffffff; color: #4f46e5; } /* Hero Section */ .hero { padding: 80px 0 50px 0; text-align: center; position: relative; } .hero-badge, .badge-pill { display: inline-flex; align-items: center; gap: 8px; background: #eef2ff; border: 1px solid #c7d2fe; color: #4338ca; padding: 6px 16px; border-radius: 30px; font-size: 0.85rem; font-weight: 700; margin-bottom: 20px; } .hero h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.15; margin-bottom: 24px; letter-spacing: -1.5px; color: #0f172a; background: linear-gradient(135deg, #0f172a 30%, #4f46e5 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .hero p { font-size: 1.2rem; color: #475569; max-width: 760px; margin: 0 auto 40px auto; line-height: 1.6; font-weight: 500; } .hero-ctas { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; } .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; font-size: 1rem; font-weight: 600; border-radius: 30px; text-decoration: none; cursor: pointer; transition: var(--transition-normal); } .btn-primary { background: var(--gradient-primary); color: white; border: none; box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3); } .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(139, 92, 246, 0.45); } .btn-secondary { background: var(--bg-tertiary); color: var(--text-primary); border: 1px solid var(--card-border); } .btn-secondary:hover { border-color: var(--accent-cyan); background: rgba(6, 182, 212, 0.05); transform: translateY(-2px); } /* Features Grid */ .features-summary { padding: 40px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 40px; } .feature-summary-card { background: var(--card-bg); border: 1px solid var(--card-border); padding: 24px; border-radius: var(--border-radius); text-align: left; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); } .feature-summary-card h3 { font-size: 1.1rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; color: var(--text-primary); } .feature-summary-card h3 svg { color: var(--accent-cyan); } .feature-summary-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.5; } /* Section Header */ .section-header { text-align: center; margin-bottom: 60px; } .section-title { font-size: 2.25rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.5px; } .section-subtitle { font-size: 1.1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; line-height: 1.5; } /* Frameworks Detail Section */ .frameworks-section { padding: 80px 0; } .framework-grid { display: grid; grid-template-columns: 1fr; gap: 60px; } .framework-card { background: #ffffff; border: 1px solid #cbd5e1; border-radius: 20px; padding: 40px; position: relative; overflow: hidden; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06); transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); } .framework-card:hover { transform: translateY(-4px); border-color: #4f46e5; box-shadow: 0 20px 40px rgba(79, 70, 229, 0.12); } .framework-title { font-size: 2rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -0.5px; color: #0f172a; } .framework-description { font-size: 1rem; color: #475569; line-height: 1.6; margin-bottom: 24px; font-weight: 500; } .feature-list { list-style: none; margin-bottom: 30px; display: flex; flex-direction: column; gap: 12px; } .feature-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.95rem; color: #334155; font-weight: 500; } .feature-list li svg { flex-shrink: 0; color: var(--accent-purple); margin-top: 3px; } .framework-card.rag .feature-list li svg { color: var(--accent-cyan); } .framework-card.summarizer .feature-list li svg { color: var(--accent-emerald); } .framework-actions { display: flex; gap: 16px; flex-wrap: wrap; } /* Code Snippet Container (Sleek Midnight Slate Terminal) */ .code-panel { background: #0f172a; border: 1px solid #1e293b; border-radius: 14px; box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12); overflow: hidden; display: flex; flex-direction: column; } .code-header { background: #1e293b; padding: 10px 16px; border-bottom: 1px solid #334155; display: flex; justify-content: space-between; align-items: center; } .code-title { font-family: 'JetBrains Mono', monospace; font-size: 0.8rem; color: #94a3b8; font-weight: 700; } .code-dots { display: flex; gap: 6px; } .code-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff5f56; } .code-dot:nth-child(2) { background: #ffbd2e; } .code-dot:nth-child(3) { background: #27c93f; } .code-tabs { display: flex; background: #0f172a; border-bottom: 1px solid #1e293b; } .code-tab-btn { background: transparent; border: none; color: #94a3b8; padding: 10px 16px; font-size: 0.82rem; font-weight: 600; cursor: pointer; transition: var(--transition-fast); border-right: 1px solid #1e293b; font-family: var(--font-sans); } .code-tab-btn.active { background: #1e293b; color: #38bdf8; border-bottom: 2px solid #38bdf8; } .code-tab-btn:hover:not(.active) { color: #f8fafc; } pre { margin: 1rem 0; padding: 1.25rem 1.5rem; overflow-x: auto; font-size: 0.88rem; line-height: 1.6; background: #0f172a !important; color: #f8fafc !important; border-radius: 12px; border: 1px solid #1e293b; box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08); } code { font-family: 'JetBrains Mono', monospace; color: #f8fafc; font-weight: 500; } p code, li code, td code, .code-inline { background: #eef2ff !important; color: #4f46e5 !important; padding: 3px 8px; border-radius: 6px; font-size: 0.84rem; font-weight: 700; border: 1px solid #c7d2fe; display: inline-block; } /* Syntax Highlighting Mock */ .keyword { color: #c084fc !important; font-weight: 700; } .string { color: #38bdf8 !important; } .comment { color: #64748b !important; font-style: italic; } .function { color: #34d399 !important; font-weight: 600; } .class { color: #facc15 !important; font-weight: 700; } .number { color: #f43f5e !important; } /* .feature-summary-card { background: #ffffff; border: 1px solid #cbd5e1; padding: 24px; border-radius: var(--border-radius); text-align: left; box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04); } .feature-summary-card h3 { font-size: 1.1rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; color: #0f172a; font-weight: 700; } .feature-summary-card h3 svg { color: #0284c7; } .feature-summary-card p { font-size: 0.9rem; color: #475569; line-height: 1.6; font-weight: 500; } /* Coming Soon Section */ .upcoming-section { padding: 80px 0; position: relative; } .upcoming-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; } .upcoming-card { background: #ffffff; border: 1px solid #cbd5e1; border-radius: 14px; padding: 30px; transition: var(--transition-normal); position: relative; overflow: hidden; box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04); } .upcoming-card:hover { transform: translateY(-4px); border-color: #4f46e5; box-shadow: 0 12px 30px rgba(79, 70, 229, 0.12); } .upcoming-card h3 { font-size: 1.25rem; margin-bottom: 12px; color: #0f172a; font-weight: 800; } .upcoming-card p { font-size: 0.92rem; color: #334155; line-height: 1.6; font-weight: 500; } /* Call to Action Banner */ .cta-banner { padding: 80px 0; text-align: center; } .cta-box { background: #ffffff; border: 1px solid #cbd5e1; border-radius: 20px; padding: 60px 40px; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06); position: relative; overflow: hidden; } .cta-box h2 { font-size: 2.25rem; font-weight: 800; margin-bottom: 16px; color: #0f172a; } .cta-box p { font-size: 1.1rem; color: #475569; max-width: 600px; margin: 0 auto 32px auto; line-height: 1.5; font-weight: 500; } /* Footer */ footer { background: #ffffff; border-top: 1px solid #e2e8f0; padding: 60px 0 30px 0; color: #475569; font-size: 0.9rem; } .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; } .footer-brand p { margin-top: 12px; font-size: 0.9rem; line-height: 1.5; max-width: 320px; } .footer-links h4 { color: var(--text-primary); font-size: 0.95rem; margin-bottom: 16px; font-weight: 600; } .footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; } .footer-links a { color: var(--text-muted); text-decoration: none; transition: var(--transition-fast); } .footer-links a:hover { color: var(--text-primary); } .footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; } .footer-bottom p { font-size: 0.8rem; } .footer-socials { display: flex; gap: 16px; } .footer-socials a { color: var(--text-muted); transition: var(--transition-fast); } .footer-socials a:hover { color: var(--text-primary); } /* Animations */ @keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 5px rgba(139, 92, 246, 0.2); border-color: rgba(139, 92, 246, 0.25); } 50% { box-shadow: 0 0 15px rgba(139, 92, 246, 0.45); border-color: rgba(139, 92, 246, 0.6); } } /* Agent Directory UI elements */ .agent-search-container { max-width: 500px; margin: 0 auto 2rem auto; position: relative; } .agent-search-input { width: 100%; padding: 14px 20px; background: var(--bg-tertiary); border: 1px solid var(--card-border); border-radius: 30px; color: var(--text-primary); font-size: 1rem; transition: var(--transition-fast); outline: none; } .agent-search-input:focus { border-color: var(--accent-purple); box-shadow: 0 0 15px rgba(139, 92, 246, 0.15); } .category-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 3rem; } .category-tab-btn { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--card-border); color: var(--text-secondary); padding: 8px 18px; border-radius: 20px; font-size: 0.85rem; font-weight: 500; cursor: pointer; transition: var(--transition-fast); } .category-tab-btn:hover { background: rgba(255, 255, 255, 0.07); color: var(--text-primary); } .category-tab-btn.active { background: var(--gradient-primary); color: white; border-color: transparent; box-shadow: 0 4px 15px rgba(139, 92, 246, 0.25); } .badge-dev { background: rgba(139, 92, 246, 0.1); color: #c084fc; border: 1px solid rgba(139, 92, 246, 0.2); } .badge-web { background: rgba(6, 182, 212, 0.1); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.2); } .badge-prod { background: rgba(245, 158, 11, 0.1); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.2); } .badge-data { background: rgba(16, 185, 129, 0.1); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.2); } .agent-cat-tag { display: inline-block; font-size: 0.65rem; font-weight: 700; padding: 2px 8px; border-radius: 8px; text-transform: uppercase; margin-right: 6px; letter-spacing: 0.5px; } /* Responsive Rules */ @media (max-width: 968px) { .framework-card { grid-template-columns: 1fr; gap: 30px; padding: 30px; } .demo-container { grid-template-columns: 1fr; gap: 30px; } .hero h1 { font-size: 2.75rem; } } @media (max-width: 768px) { nav ul { display: none; /* simple mobile handling */ } .footer-grid { grid-template-columns: 1fr; gap: 30px; } .hero h1 { font-size: 2.25rem; } .hero p { font-size: 1rem; } } /* Dropdown Navigation Styles (Spacious 4-Column Mega Menu) */ .dropdown { position: relative; display: inline-block; padding-bottom: 12px; margin-bottom: -12px; } .dropdown-content { display: none; position: absolute; top: 100%; right: -20px; left: auto; transform: none; background-color: #ffffff; width: 740px; max-width: calc(100vw - 32px); box-shadow: 0px 25px 60px rgba(15, 23, 42, 0.18), 0px 4px 14px rgba(0, 0, 0, 0.05); z-index: 3000; border: 1px solid #cbd5e1; border-radius: 16px; padding: 1.25rem 1.5rem; overflow: hidden; } /* Zero-gap hover bridge */ .dropdown::after { content: ""; position: absolute; top: 100%; left: -20px; right: -20px; height: 20px; } .dropdown:hover .dropdown-content, .dropdown-content:hover, .dropdown.open .dropdown-content { display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } .mega-col-title { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; color: #4f46e5; letter-spacing: 0.06em; margin-bottom: 0.75rem; padding-bottom: 0.4rem; border-bottom: 1px solid #f1f5f9; } .mega-col-list { list-style: none; display: flex; flex-direction: column; gap: 4px; padding: 0; margin: 0; } .dropdown-content a { color: #334155 !important; padding: 7px 10px; text-decoration: none; display: flex; align-items: center; gap: 8px; font-size: 0.83rem; font-weight: 600; border-radius: 6px; transition: all 0.15s ease; text-align: left; border-bottom: none !important; } .dropdown-content a:hover { background-color: #f1f5f9 !important; color: #4f46e5 !important; font-weight: 700; transform: translateX(3px); } .dropdown-trigger { cursor: pointer; display: flex; align-items: center; gap: 4px; color: #0f172a; font-weight: 700; } .dropdown-trigger svg { transition: transform 0.2s ease; } .dropdown:hover .dropdown-trigger svg, .dropdown.open .dropdown-trigger svg { transform: rotate(180deg); } /* Fixed 2-Pane Desktop Layout Architecture */ header { position: fixed; top: 0; left: 0; right: 0; height: 64px; z-index: 1000; background: #ffffff; border-bottom: 1px solid #cbd5e1; } body { padding-top: 64px; overflow: hidden; background: #f8fafc; } .layout-container { display: flex; position: fixed; top: 64px; bottom: 0; left: 0; right: 0; width: 100vw; height: calc(100vh - 64px); overflow: hidden; background: #f8fafc; margin: 0; padding: 0; } .sidebar { width: 280px; flex-shrink: 0; height: 100%; overflow-y: auto; overflow-x: hidden; background: #ffffff !important; border-right: 1px solid #cbd5e1 !important; border-radius: 0 !important; box-shadow: none !important; padding: 1.5rem 1rem 3rem 1.25rem !important; z-index: 99; } .sidebar::-webkit-scrollbar { width: 8px; } .sidebar::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 4px; } .sidebar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; border: 1px solid #94a3b8; } .sidebar::-webkit-scrollbar-thumb:hover { background: #4f46e5; } .main-content { flex: 1; min-width: 0; height: 100%; overflow-y: auto; overflow-x: hidden; background: #f8fafc; padding: 2.5rem 3.5rem 5rem 3.5rem; display: block; } .main-content::-webkit-scrollbar { width: 10px; } .main-content::-webkit-scrollbar-track { background: #f1f5f9; border-radius: 5px; } .main-content::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 5px; border: 1px solid #94a3b8; } .main-content::-webkit-scrollbar-thumb:hover { background: #4f46e5; } .doc-content-wrapper { max-width: 1050px; margin: 0; width: 100%; text-align: left !important; } /* Sub-Navigation Pill Bar */ .doc-nav { display: flex !important; gap: 8px !important; background: #ffffff !important; border: 1px solid #cbd5e1 !important; border-radius: 12px !important; padding: 8px 12px !important; margin-bottom: 2rem !important; box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03) !important; flex-wrap: wrap !important; align-items: center !important; justify-content: flex-start !important; max-width: 100% !important; text-align: left !important; } .doc-nav a { padding: 8px 16px !important; border-radius: 8px !important; color: #475569 !important; font-weight: 600 !important; font-size: 0.85rem !important; text-decoration: none !important; transition: all 0.2s ease !important; margin: 0 !important; display: inline-block !important; } .doc-nav a:hover { background: #eef2ff !important; color: #4f46e5 !important; } /* Documentation Right Pane Typography & Alignment System */ .doc-section { background: #ffffff !important; border: 1px solid #cbd5e1 !important; border-radius: 16px !important; padding: 2.5rem !important; margin-bottom: 2rem !important; box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04) !important; text-align: left !important; width: 100% !important; } .doc-section h1 { font-size: 2.25rem; color: #0f172a; font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.75rem; text-align: left !important; } .doc-section h2 { font-size: 1.4rem; color: #0f172a; font-weight: 800; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 10px; text-align: left !important; } .doc-section h3 { font-size: 1.15rem; color: #0f172a; font-weight: 700; margin-top: 1.75rem; margin-bottom: 0.75rem; text-align: left !important; } .doc-section p { font-size: 0.98rem; color: #334155; line-height: 1.7; font-weight: 500; margin-bottom: 1rem; text-align: left !important; } .doc-section ul { padding-left: 1.5rem; margin: 0.75rem 0 1.25rem; text-align: left !important; } .doc-section li { font-size: 0.95rem; color: #334155; line-height: 1.7; font-weight: 500; margin-bottom: 0.5rem; text-align: left !important; } /* Sidebar Nav Groups */ .sidebar-group { margin-bottom: 2rem; } .sidebar-group-title { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; color: #4f46e5; letter-spacing: 0.08em; margin-bottom: 0.75rem; padding-left: 0.5rem; } .sidebar-list { list-style: none; display: flex; flex-direction: column; gap: 4px; } .sidebar-item { width: 100%; } .sidebar-item a, .sidebar-item button { display: flex; align-items: center; gap: 10px; padding: 9px 12px; color: #0f172a !important; text-decoration: none; font-size: 0.88rem; font-weight: 600; border-radius: 8px; width: 100%; border: none; background: transparent; text-align: left; cursor: pointer; transition: all 0.15s ease; font-family: var(--font-sans); } .sidebar-item a:hover, .sidebar-item button:hover { background: #f1f5f9; color: #4f46e5 !important; font-weight: 700; } .sidebar-item.active a, .sidebar-item.active button { background: #eef2ff !important; color: #4f46e5 !important; font-weight: 700; } .sidebar-icon { width: 16px; height: 16px; stroke: #475569; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; display: inline-block; flex-shrink: 0; transition: var(--transition-fast); } .sidebar-item:hover .sidebar-icon, .sidebar-item.active .sidebar-icon { stroke: #4f46e5; } .sidebar-bullet { width: 6px; height: 6px; border-radius: 50%; background: var(--text-muted); display: inline-block; flex-shrink: 0; } .sidebar-item.active .sidebar-bullet { background: var(--accent-purple); } .sidebar-item:hover .sidebar-icon { stroke: var(--text-primary); } /* Mobile Sidebar Toggle Button */ .sidebar-toggle { display: none; background: transparent; border: none; color: var(--text-primary); cursor: pointer; padding: 8px; border-radius: 6px; align-items: center; justify-content: center; transition: var(--transition-fast); } .sidebar-toggle:hover { background: rgba(255, 255, 255, 0.05); } /* Modal for Upcoming Agent Details */ .agent-modal { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(7, 10, 19, 0.8); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 2000; justify-content: center; align-items: center; padding: 20px; } .agent-modal.open { display: flex; } .modal-content { background: var(--bg-tertiary); border: 1px solid var(--card-border); border-radius: 16px; width: 100%; max-width: 600px; max-height: 90vh; overflow-y: auto; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6); position: relative; animation: modal-slide-in 0.3s cubic-bezier(0.4, 0, 0.2, 1); } @keyframes modal-slide-in { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } .modal-header { padding: 1.5rem; border-bottom: 1px solid var(--card-border); display: flex; justify-content: space-between; align-items: center; } .modal-close { background: transparent; border: none; color: var(--text-muted); cursor: pointer; font-size: 1.8rem; line-height: 1; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%; transition: var(--transition-fast); } .modal-close:hover { background: rgba(255, 255, 255, 0.05); color: var(--text-primary); } .modal-body { padding: 1.5rem; } .modal-body ul { padding-left: 1.25rem; color: var(--text-secondary); margin-bottom: 1rem; } .modal-body li { margin-bottom: 0.5rem; line-height: 1.5; } /* Responsive Rules for Layout */ @media (max-width: 968px) { .layout-container { flex-direction: column; } .sidebar { position: fixed; left: 0; top: 72px; height: calc(100vh - 72px); transform: translateX(-100%); box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5); } .sidebar.open { transform: translateX(0); } .sidebar-toggle { display: flex; } .main-content { padding: 1.5rem 16px; } } /* Playground Styling */ .pg-tab { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); color: var(--text-secondary); padding: 6px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 500; cursor: pointer; transition: all 0.2s ease; } .pg-tab:hover { border-color: var(--accent-purple); color: var(--text-primary); background: rgba(139, 92, 246, 0.1); } .pg-tab.active { background: var(--gradient-primary); color: #fff; border-color: transparent; box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3); } .playground-widget { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1); } .playground-widget:hover { transform: translateY(-2px); box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08); } /* High-Contrast Documentation Section & Table Styles */ .doc-section { background: #ffffff; border: 1px solid #cbd5e1; border-radius: 16px; padding: 2rem; margin-bottom: 2rem; box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04); } .doc-section h2 { font-size: 1.4rem; color: #0f172a; font-weight: 800; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 10px; } .doc-section p { font-size: 0.95rem; color: #334155; line-height: 1.65; font-weight: 500; margin-bottom: 1rem; } .param-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 1.5rem 0 2.5rem; background: #ffffff; border: 1px solid #cbd5e1; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03); } .param-table th { background: #f8fafc; color: #0f172a; font-weight: 800; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; padding: 12px 18px; text-align: left; border-bottom: 1px solid #e2e8f0; } .param-table td { padding: 14px 18px; font-size: 0.9rem; color: #334155; border-bottom: 1px solid #f1f5f9; line-height: 1.6; font-weight: 500; vertical-align: middle; } .param-table tr:last-child td { border-bottom: none; } .param-table code { background: #eef2ff !important; color: #4f46e5 !important; font-weight: 700 !important; border: 1px solid #c7d2fe !important; padding: 4px 10px !important; border-radius: 6px !important; font-size: 0.85rem !important; font-family: 'JetBrains Mono', monospace; display: inline-block; word-break: break-word; } .param-type { color: #0284c7 !important; font-weight: 700 !important; background: #e0f2fe !important; padding: 4px 10px !important; border-radius: 6px !important; font-size: 0.82rem !important; display: inline-block; border: 1px solid #bae6fd !important; white-space: nowrap; } /* Studio Playground styling */ .studio-section { padding: 80px 0; border-top: 1px solid rgba(255, 255, 255, 0.05); } .studio-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; margin-top: 40px; text-align: left; } @media (max-width: 968px) { .studio-grid { grid-template-columns: 1fr; } } .studio-panel { background: rgba(15, 23, 42, 0.4); border: 1px solid rgba(255, 255, 255, 0.05); border-radius: 16px; padding: 30px; backdrop-filter: blur(20px); }