/* ========================================================================== ThinkStorm - Design System & Modern UI Stylesheet Dark Glassmorphism, Vibrant Accents, Modern Typography & Micro-Animations ========================================================================== */ @import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap'); :root { --bg-main: #090a10; --bg-card: rgba(18, 20, 32, 0.75); --bg-card-hover: rgba(26, 29, 46, 0.85); --bg-glass: rgba(255, 255, 255, 0.03); --border-glass: rgba(255, 255, 255, 0.08); --border-focus: rgba(99, 102, 241, 0.5); --text-primary: #f8fafc; --text-secondary: #94a3b8; --text-muted: #64748b; --accent-primary: #6366f1; --accent-primary-hover: #4f46e5; --accent-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #d946ef 100%); --accent-glow: 0 0 25px rgba(99, 102, 241, 0.35); --color-success: #10b981; --color-success-bg: rgba(16, 185, 129, 0.12); --color-warning: #f59e0b; --color-warning-bg: rgba(245, 158, 11, 0.12); --color-danger: #ef4444; --color-danger-bg: rgba(239, 68, 68, 0.12); --color-info: #06b6d4; --color-info-bg: rgba(6, 182, 212, 0.12); --font-sans: 'Inter', system-ui, -apple-system, sans-serif; --font-heading: 'Outfit', system-ui, -apple-system, sans-serif; --font-mono: 'Fira Code', monospace; --radius-sm: 6px; --radius-md: 10px; --radius-lg: 16px; --radius-xl: 24px; --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.25); --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35); --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.5); --transition-fast: 0.15s ease; --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1); } *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; } body { background-color: var(--bg-main); background-image: radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.08) 0px, transparent 50%), radial-gradient(at 100% 100%, rgba(139, 92, 246, 0.06) 0px, transparent 50%); background-attachment: fixed; color: var(--text-primary); font-family: var(--font-sans); line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; } /* Typography */ h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--text-primary); font-weight: 700; letter-spacing: -0.02em; } a { color: var(--accent-primary); text-decoration: none; transition: color var(--transition-fast); } a:hover { color: #a5b4fc; } /* Glassmorphism Card */ .glass-card { background: var(--bg-card); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--border-glass); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal); } .glass-card:hover { border-color: rgba(255, 255, 255, 0.15); } .glass-card.interactive:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); } /* Layout */ .container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; } .main-content { flex: 1; padding: 2.5rem 0 4rem; } /* Navigation Bar */ .navbar { position: sticky; top: 0; z-index: 100; background: rgba(9, 10, 16, 0.85); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border-glass); padding: 0.85rem 0; } .nav-container { display: flex; align-items: center; justify-content: space-between; } .brand-logo { display: flex; align-items: center; gap: 0.75rem; font-family: var(--font-heading); font-size: 1.35rem; font-weight: 800; color: var(--text-primary); letter-spacing: -0.01em; } .brand-logo .brand-icon { width: 32px; height: 32px; background: var(--accent-gradient); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; box-shadow: var(--accent-glow); } .nav-links { display: flex; align-items: center; gap: 1.5rem; list-style: none; } .nav-link { color: var(--text-secondary); font-weight: 500; font-size: 0.95rem; padding: 0.4rem 0.8rem; border-radius: var(--radius-sm); transition: all var(--transition-fast); } .nav-link:hover, .nav-link.active { color: var(--text-primary); background: rgba(255, 255, 255, 0.05); } .nav-auth-pill { display: flex; align-items: center; gap: 0.6rem; padding: 0.35rem 0.85rem; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--border-glass); border-radius: 999px; font-size: 0.85rem; color: var(--text-secondary); } .nav-auth-pill .user-role { font-size: 0.7rem; font-weight: 700; text-transform: uppercase; padding: 0.15rem 0.45rem; border-radius: 999px; background: var(--accent-primary); color: #fff; } /* Buttons */ .btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: var(--font-sans); font-size: 0.95rem; font-weight: 600; padding: 0.65rem 1.4rem; border-radius: var(--radius-md); border: 1px solid transparent; cursor: pointer; transition: all var(--transition-fast); text-decoration: none; } .btn-primary { background: var(--accent-gradient); color: #fff; box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3); } .btn-primary:hover { background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 50%, #c026d3 100%); box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45); transform: translateY(-1px); color: #fff; } .btn-secondary { background: rgba(255, 255, 255, 0.06); border-color: var(--border-glass); color: var(--text-primary); } .btn-secondary:hover { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 255, 255, 0.2); color: #fff; } .btn-sm { padding: 0.4rem 0.85rem; font-size: 0.82rem; border-radius: var(--radius-sm); } .btn-danger { background: var(--color-danger); color: #fff; } .btn-danger:hover { background: #dc2626; color: #fff; } .btn-success { background: var(--color-success); color: #fff; } .btn-success:hover { background: #059669; color: #fff; } /* Badges & Pills */ .badge { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; font-weight: 600; padding: 0.2rem 0.6rem; border-radius: 999px; text-transform: uppercase; letter-spacing: 0.05em; font-family: var(--font-mono); } .badge-available { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); } .badge-claimed { background: rgba(99, 102, 241, 0.15); color: #a5b4fc; border: 1px solid rgba(99, 102, 241, 0.3); } .badge-active { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); } .badge-completed { background: rgba(59, 130, 246, 0.15); color: #93c5fd; border: 1px solid rgba(59, 130, 246, 0.3); } .badge-quarantined { background: rgba(239, 68, 68, 0.15); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.3); } .badge-trashed { background: rgba(239, 68, 68, 0.18); color: #f87171; border: 1px solid rgba(239, 68, 68, 0.35); } .badge-duplicate { background: rgba(148, 163, 184, 0.15); color: #cbd5e1; border: 1px solid rgba(148, 163, 184, 0.3); } .badge-safe { background: rgba(16, 185, 129, 0.15); color: #34d399; } .badge-malicious { background: rgba(239, 68, 68, 0.2); color: #f87171; } .badge-suspicious { background: rgba(245, 158, 11, 0.2); color: #fbbf24; } .btn-outline-danger { background: transparent; border: 1px solid rgba(239, 68, 68, 0.4); color: #f87171; } .btn-outline-danger:hover { background: rgba(239, 68, 68, 0.15); border-color: #ef4444; color: #fff; } /* Maturity Level Meter */ .maturity-meter { display: inline-flex; align-items: center; gap: 0.3rem; background: rgba(0, 0, 0, 0.3); padding: 0.25rem 0.55rem; border-radius: var(--radius-sm); border: 1px solid var(--border-glass); font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-secondary); } .maturity-meter .dots { display: flex; gap: 3px; } .maturity-meter .dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, 0.15); } .maturity-meter .dot.active { background: var(--accent-primary); box-shadow: 0 0 8px var(--accent-primary); } /* Forms & Inputs */ .form-group { margin-bottom: 1.25rem; } .form-label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 0.5rem; } .form-input, .form-textarea, .form-select { width: 100%; padding: 0.75rem 1rem; background: rgba(12, 14, 24, 0.8); border: 1px solid var(--border-glass); border-radius: var(--radius-md); color: var(--text-primary); font-family: var(--font-sans); font-size: 0.95rem; transition: border-color var(--transition-fast), box-shadow var(--transition-fast); } .form-input:focus, .form-textarea:focus, .form-select:focus { outline: none; border-color: var(--accent-primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2); } .form-textarea { min-height: 180px; resize: vertical; line-height: 1.5; } /* Public Submission Box */ .hero-intake { text-align: center; max-width: 800px; margin: 2rem auto 3.5rem; } .hero-title { font-size: 3.25rem; line-height: 1.1; margin-bottom: 1rem; background: linear-gradient(180deg, #ffffff 0%, #94a3b8 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } .hero-subtitle { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 2.2rem; } .intake-box { background: var(--bg-card); backdrop-filter: blur(20px); border: 1px solid var(--border-glass); border-radius: var(--radius-xl); padding: 2rem; box-shadow: var(--shadow-lg); position: relative; text-align: left; } .intake-footer { display: flex; align-items: center; justify-content: space-between; margin-top: 1.25rem; flex-wrap: wrap; gap: 1rem; } .intake-hints { font-size: 0.85rem; color: var(--text-muted); } /* Ideas Grid & Filters */ .ideas-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; } .filter-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; } .filter-pill { padding: 0.4rem 0.9rem; border-radius: 999px; font-size: 0.85rem; font-weight: 600; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-glass); color: var(--text-secondary); cursor: pointer; transition: all var(--transition-fast); } .filter-pill:hover, .filter-pill.active { background: var(--accent-primary); border-color: var(--accent-primary); color: #fff; } .filter-pill-trash:hover, .filter-pill-trash.active { background: #dc2626 !important; border-color: #ef4444 !important; color: #fff !important; } .card-trashed { border-color: rgba(239, 68, 68, 0.3) !important; background: rgba(239, 68, 68, 0.04) !important; } .ideas-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); gap: 1.5rem; } .idea-card { padding: 1.5rem; display: flex; flex-direction: column; height: 100%; } .idea-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.85rem; } .idea-id-link { font-family: var(--font-mono); font-weight: 700; font-size: 0.9rem; color: var(--accent-primary); } .idea-card-title { font-size: 1.25rem; margin-bottom: 0.6rem; line-height: 1.35; } .idea-card-summary { color: var(--text-secondary); font-size: 0.92rem; flex: 1; margin-bottom: 1.2rem; line-height: 1.5; } .idea-card-footer { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--border-glass); padding-top: 1rem; font-size: 0.82rem; color: var(--text-muted); } .tag-list { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; } .tag-item { font-size: 0.75rem; font-family: var(--font-mono); background: rgba(255, 255, 255, 0.05); padding: 0.15rem 0.5rem; border-radius: var(--radius-sm); color: var(--text-secondary); } /* Tabbed Interface */ .tab-container { margin-top: 1.5rem; } .tab-nav { display: flex; gap: 0.5rem; border-bottom: 1px solid var(--border-glass); margin-bottom: 1.5rem; overflow-x: auto; padding-bottom: 0.5rem; } .tab-btn { background: none; border: none; color: var(--text-secondary); font-family: var(--font-heading); font-weight: 600; font-size: 1rem; padding: 0.6rem 1.1rem; cursor: pointer; border-radius: var(--radius-md); transition: all var(--transition-fast); } .tab-btn:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.04); } .tab-btn.active { color: var(--accent-primary); background: rgba(99, 102, 241, 0.1); border-bottom: 2px solid var(--accent-primary); } .tab-panel { display: none; } .tab-panel.active { display: block; } /* ============================================================ Markdown Container & Code/Formatted View System ============================================================ */ .markdown-view-container { position: relative; width: 100%; } .markdown-view-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.85rem; flex-wrap: wrap; gap: 0.5rem; } .markdown-view-meta { display: flex; align-items: center; gap: 0.5rem; } .markdown-view-actions { display: flex; align-items: center; gap: 0.5rem; margin-left: auto; } .markdown-toggle-pill { display: inline-flex; align-items: center; background: rgba(0, 0, 0, 0.45); border: 1px solid var(--border-glass); border-radius: var(--radius-sm); padding: 2px; gap: 2px; backdrop-filter: blur(8px); } .markdown-toggle-pill .btn-toggle-view { background: transparent; border: none; color: var(--text-secondary); font-family: var(--font-sans); font-size: 0.78rem; font-weight: 500; padding: 0.25rem 0.65rem; border-radius: 4px; cursor: pointer; transition: all var(--transition-fast); display: inline-flex; align-items: center; gap: 0.35rem; user-select: none; } .markdown-toggle-pill .btn-toggle-view:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.05); } .markdown-toggle-pill .btn-toggle-view.active { background: var(--accent-gradient); color: #ffffff; font-weight: 600; box-shadow: 0 1px 6px rgba(99, 102, 241, 0.35); } .btn-copy-markdown { background: rgba(255, 255, 255, 0.04); border: 1px solid var(--border-glass); color: var(--text-secondary); font-family: var(--font-sans); font-size: 0.78rem; padding: 0.25rem 0.6rem; border-radius: var(--radius-sm); cursor: pointer; transition: all var(--transition-fast); display: inline-flex; align-items: center; gap: 0.3rem; user-select: none; } .btn-copy-markdown:hover { color: var(--text-primary); background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); } .markdown-view-body { position: relative; width: 100%; } /* Formatted Markdown View */ .markdown-body { color: #e2e8f0; font-size: 0.95rem; line-height: 1.75; word-wrap: break-word; } .markdown-body > *:first-child { margin-top: 0 !important; } .markdown-body > *:last-child { margin-bottom: 0 !important; } .markdown-body h1, .markdown-body h2, .markdown-body h3, .markdown-body h4, .markdown-body h5, .markdown-body h6 { color: #f8fafc; font-family: var(--font-heading); font-weight: 700; line-height: 1.3; margin-top: 1.75rem; margin-bottom: 0.75rem; } .markdown-body h1 { font-size: 1.6rem; border-bottom: 1px solid var(--border-glass); padding-bottom: 0.5rem; } .markdown-body h2 { font-size: 1.35rem; border-bottom: 1px solid rgba(255, 255, 255, 0.06); padding-bottom: 0.35rem; } .markdown-body h3 { font-size: 1.15rem; } .markdown-body h4 { font-size: 1.02rem; } .markdown-body p { margin-top: 0; margin-bottom: 1rem; } .markdown-body ul, .markdown-body ol { padding-left: 1.6rem; margin-top: 0.4rem; margin-bottom: 1rem; } .markdown-body li { margin-bottom: 0.35rem; } .markdown-body li > p { margin-bottom: 0.35rem; } .markdown-body blockquote { border-left: 3px solid var(--accent-primary); background: rgba(99, 102, 241, 0.06); padding: 0.75rem 1.25rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; color: #cbd5e1; margin: 1rem 0; font-style: normal; } .markdown-body blockquote > *:last-child { margin-bottom: 0; } .markdown-body hr { border: none; border-top: 1px solid var(--border-glass); margin: 1.5rem 0; } .markdown-body a { color: #818cf8; text-decoration: underline; text-underline-offset: 3px; transition: color var(--transition-fast); } .markdown-body a:hover { color: #a5b4fc; } .markdown-body code { background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.08); color: #e0e7ff; font-family: var(--font-mono); font-size: 0.86em; padding: 0.15rem 0.4rem; border-radius: 4px; } .markdown-body pre { background: #0b0d14; border: 1px solid var(--border-glass); border-radius: var(--radius-md); padding: 1rem 1.25rem; overflow-x: auto; margin: 1rem 0; position: relative; } .markdown-body pre code { background: transparent; border: none; padding: 0; color: #f1f5f9; font-size: 0.88rem; line-height: 1.6; display: block; } .markdown-body table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: 0.9rem; background: rgba(0, 0, 0, 0.28); border: 1px solid var(--border-glass); border-radius: var(--radius-md); overflow: hidden; display: table; } .markdown-body th, .markdown-body td { padding: 0.7rem 1rem; border-bottom: 1px solid rgba(255, 255, 255, 0.06); text-align: left; line-height: 1.5; } .markdown-body th { background: rgba(255, 255, 255, 0.04); color: #f8fafc; font-weight: 600; border-bottom: 1px solid var(--border-glass); } .markdown-body tr:last-child td { border-bottom: none; } .markdown-body tr:hover td { background: rgba(255, 255, 255, 0.02); } /* Raw Code View */ .markdown-code { background: #0b0d14; border: 1px solid var(--border-glass); border-radius: var(--radius-md); padding: 1rem 1.25rem; margin-top: 0.25rem; overflow-x: auto; } .markdown-code pre { margin: 0; background: transparent; border: none; padding: 0; font-family: var(--font-mono); font-size: 0.88rem; line-height: 1.6; color: #cbd5e1; white-space: pre-wrap; word-break: break-word; } /* Toast Notifications */ #toast-container { position: fixed; bottom: 2rem; right: 2rem; z-index: 1000; display: flex; flex-direction: column; gap: 0.75rem; } .toast { background: var(--bg-card); backdrop-filter: blur(20px); border: 1px solid var(--border-glass); border-radius: var(--radius-md); padding: 0.85rem 1.25rem; color: var(--text-primary); font-size: 0.9rem; box-shadow: var(--shadow-lg); animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1); } @keyframes slideIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } } /* Responsive */ @media (max-width: 768px) { .hero-title { font-size: 2.25rem; } .ideas-grid { grid-template-columns: 1fr; } .nav-links { display: none; } .intake-box { padding: 1.25rem; } }