/* TRAE Agents Collection - Enhanced Styles */ :root { --primary-color: #667eea; --secondary-color: #764ba2; --accent-color: #f093fb; --text-light: #ffffff; --text-dark: #2d3748; --bg-dark: #1a202c; --bg-light: #2d3748; --success-color: #48bb78; --warning-color: #ed8936; --danger-color: #f56565; --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--primary-color)); } /* Markdown Body Enhancements */ .markdown-body { background: var(--bg-dark); color: var(--text-light); line-height: 1.6; } /* Hero Section */ .hero-section { background: var(--gradient-primary); padding: 100px 0; text-align: center; position: relative; overflow: hidden; } .hero-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: url('data:image/svg+xml,') no-repeat bottom; background-size: cover; } /* Agent Cards */ .agent-card { background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 16px; padding: 24px; margin: 16px 0; transition: all 0.3s ease; position: relative; overflow: hidden; } .agent-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient-accent); transform: translateX(-100%); transition: transform 0.3s ease; } .agent-card:hover { transform: translateY(-5px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); border-color: var(--accent-color); } .agent-card:hover::before { transform: translateX(0); } .agent-badge { display: inline-block; padding: 4px 12px; background: var(--gradient-primary); border-radius: 20px; font-size: 0.85em; font-weight: 600; margin-right: 8px; margin-bottom: 8px; } /* Feature Grid */ .feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin: 48px 0; } .feature-item { text-align: center; padding: 32px 24px; background: rgba(255, 255, 255, 0.03); border-radius: 16px; transition: all 0.3s ease; } .feature-item:hover { background: rgba(255, 255, 255, 0.08); transform: translateY(-5px); } .feature-icon { font-size: 3em; margin-bottom: 16px; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } /* Navigation Tabs */ .nav-tabs { display: flex; justify-content: center; margin: 32px 0; flex-wrap: wrap; gap: 12px; } .nav-tab { padding: 12px 24px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 30px; color: var(--text-light); text-decoration: none; transition: all 0.3s ease; font-weight: 500; } .nav-tab:hover { background: var(--gradient-primary); border-color: transparent; transform: scale(1.05); } /* Stats Counter */ .stats-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px; margin: 48px 0; } .stat-item { text-align: center; padding: 24px; background: var(--gradient-accent); border-radius: 16px; color: white; } .stat-number { font-size: 3em; font-weight: bold; margin-bottom: 8px; } .stat-label { font-size: 1.1em; opacity: 0.9; } /* Progress Bars */ .progress-bar { width: 100%; height: 8px; background: rgba(255, 255, 255, 0.1); border-radius: 4px; overflow: hidden; margin: 8px 0; } .progress-fill { height: 100%; background: var(--gradient-accent); border-radius: 4px; transition: width 1s ease; } /* Code Blocks */ .code-block { background: #0d1117; border: 1px solid #30363d; border-radius: 8px; padding: 16px; overflow-x: auto; position: relative; } .code-block::before { content: attr(data-language); position: absolute; top: 8px; right: 8px; font-size: 0.75em; color: #8b949e; text-transform: uppercase; } /* Call to Action Buttons */ .cta-button { display: inline-block; padding: 16px 32px; background: var(--gradient-primary); color: white; text-decoration: none; border-radius: 30px; font-weight: 600; transition: all 0.3s ease; position: relative; overflow: hidden; } .cta-button::before { content: ''; position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: rgba(255, 255, 255, 0.2); transition: left 0.3s ease; } .cta-button:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4); } .cta-button:hover::before { left: 100%; } /* Animations */ @keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } } .animate-fade-in { animation: fadeInUp 0.6s ease forwards; } @keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } } .animate-pulse { animation: pulse 2s ease infinite; } /* Responsive Design */ @media (max-width: 768px) { .feature-grid { grid-template-columns: 1fr; } .stats-container { grid-template-columns: repeat(2, 1fr); } .hero-section { padding: 60px 0; } } /* Dark Mode Toggle */ .dark-mode-toggle { position: fixed; top: 20px; right: 20px; background: rgba(255, 255, 255, 0.1); border: none; border-radius: 30px; padding: 10px 20px; cursor: pointer; transition: all 0.3s ease; z-index: 1000; } .dark-mode-toggle:hover { background: rgba(255, 255, 255, 0.2); } /* Loading Spinner */ .loading-spinner { width: 50px; height: 50px; border: 3px solid rgba(255, 255, 255, 0.1); border-top-color: var(--accent-color); border-radius: 50%; animation: spin 1s linear infinite; margin: 20px auto; } @keyframes spin { to { transform: rotate(360deg); } } /* Tooltip */ .tooltip { position: relative; cursor: help; } .tooltip::before { content: attr(data-tooltip); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: rgba(0, 0, 0, 0.9); color: white; padding: 8px 12px; border-radius: 6px; font-size: 0.85em; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; } .tooltip:hover::before { opacity: 1; }