muthuk1's picture
🎨 Ultra premium UI: enhanced design system with animations, gradients, bento grid
3325bbe verified
@import "tailwindcss";
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');
/* ═══════════════════════════════════════════════════════════
GraphRAG Ultra β€” Premium Design System
Canvas: warm cream Β· Primary: tiger orange Β· Accent: coral
Text: navy Β· Dark surfaces: claude dark Β· Serif display
═══════════════════════════════════════════════════════════ */
@theme {
--color-canvas: #faf9f5;
--color-surface-soft: #f5f0e8;
--color-surface-card: #efe9de;
--color-surface-cream-strong: #e8e0d2;
--color-surface-dark: #181715;
--color-surface-dark-elev: #252320;
--color-surface-dark-soft: #1f1e1b;
--color-tiger-orange: #FF6B00;
--color-tiger-orange-hover: #E55F00;
--color-tiger-orange-light: #FFF4EB;
--color-tiger-navy: #002B49;
--color-tiger-navy-light: #003D6B;
--color-electric-blue: #0072CE;
--color-electric-blue-light: #E6F4FF;
--color-coral: #cc785c;
--color-coral-active: #a9583e;
--color-accent-teal: #5db8a6;
--color-accent-amber: #e8a55a;
--color-ink: #141413;
--color-body-strong: #252523;
--color-body: #3d3d3a;
--color-muted: #6c6a64;
--color-muted-soft: #8e8b82;
--color-on-primary: #ffffff;
--color-on-dark: #faf9f5;
--color-on-dark-soft: #a09d96;
--color-hairline: #e6dfd8;
--color-hairline-soft: #ebe6df;
--color-success: #5db872;
--color-warning: #d4a017;
--color-error: #c64545;
--font-serif: 'Cormorant Garamond', 'EB Garamond', 'Times New Roman', serif;
--font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
--font-mono: 'JetBrains Mono', 'Fira Code', Consolas, monospace;
}
/* ── Base Reset ──────────────────────────────────────── */
* { box-sizing: border-box; }
html {
font-family: var(--font-sans);
color: var(--color-body);
background: var(--color-canvas);
scroll-behavior: smooth;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
body {
margin: 0;
min-height: 100vh;
background: var(--color-canvas);
}
/* ── Typography ──────────────────────────────────────── */
.display-hero {
font-family: var(--font-serif);
font-size: clamp(3rem, 6vw, 5.5rem);
font-weight: 400;
line-height: 1.02;
letter-spacing: -2.5px;
color: var(--color-ink);
}
.display-xl {
font-family: var(--font-serif);
font-size: clamp(2.5rem, 5vw, 4rem);
font-weight: 400;
line-height: 1.05;
letter-spacing: -1.5px;
color: var(--color-ink);
}
.display-lg {
font-family: var(--font-serif);
font-size: clamp(2rem, 4vw, 3rem);
font-weight: 400;
line-height: 1.1;
letter-spacing: -1px;
color: var(--color-ink);
}
.display-md {
font-family: var(--font-serif);
font-size: clamp(1.5rem, 3vw, 2.25rem);
font-weight: 400;
line-height: 1.15;
letter-spacing: -0.5px;
color: var(--color-ink);
}
.display-sm {
font-family: var(--font-serif);
font-size: clamp(1.25rem, 2vw, 1.75rem);
font-weight: 400;
line-height: 1.2;
letter-spacing: -0.3px;
color: var(--color-ink);
}
.title-lg { font-size: 1.375rem; font-weight: 500; line-height: 1.3; color: var(--color-ink); }
.title-md { font-size: 1.125rem; font-weight: 500; line-height: 1.4; color: var(--color-ink); }
.title-sm { font-size: 1rem; font-weight: 500; line-height: 1.4; color: var(--color-ink); }
.body-lg { font-size: 1.125rem; font-weight: 400; line-height: 1.6; color: var(--color-body); }
.body-md { font-size: 1rem; font-weight: 400; line-height: 1.55; color: var(--color-body); }
.body-sm { font-size: 0.875rem; font-weight: 400; line-height: 1.55; color: var(--color-body); }
.caption { font-size: 0.8125rem; font-weight: 500; line-height: 1.4; color: var(--color-muted); }
.caption-uppercase {
font-size: 0.75rem; font-weight: 600; line-height: 1.4;
letter-spacing: 1.5px; text-transform: uppercase; color: var(--color-muted);
}
.code-text { font-family: var(--font-mono); font-size: 0.875rem; line-height: 1.6; }
/* ── Buttons ─────────────────────────────────────────── */
.btn {
display: inline-flex; align-items: center; justify-content: center; gap: 8px;
font-family: var(--font-sans); font-size: 0.875rem; font-weight: 500;
padding: 10px 20px; height: 40px; border-radius: 8px;
border: none; cursor: pointer; transition: all 0.2s cubic-bezier(0.4,0,0.2,1);
text-decoration: none; white-space: nowrap;
}
.btn-primary {
background: var(--color-tiger-orange); color: var(--color-on-primary);
box-shadow: 0 1px 3px rgba(255,107,0,0.2), 0 1px 2px rgba(0,0,0,0.06);
}
.btn-primary:hover { background: var(--color-tiger-orange-hover); box-shadow: 0 4px 12px rgba(255,107,0,0.3); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-primary:disabled { background: var(--color-surface-cream-strong); color: var(--color-muted); cursor: default; box-shadow: none; transform: none; }
.btn-secondary {
background: var(--color-canvas); color: var(--color-ink);
border: 1px solid var(--color-hairline);
}
.btn-secondary:hover { background: var(--color-surface-soft); border-color: var(--color-muted-soft); transform: translateY(-1px); }
.btn-coral {
background: var(--color-coral); color: var(--color-on-primary);
box-shadow: 0 1px 3px rgba(204,120,92,0.2);
}
.btn-coral:hover { background: var(--color-coral-active); box-shadow: 0 4px 12px rgba(204,120,92,0.3); transform: translateY(-1px); }
.btn-ghost {
background: transparent; color: var(--color-muted); padding: 8px 12px; height: auto;
}
.btn-ghost:hover { color: var(--color-ink); background: var(--color-surface-soft); }
.btn-on-dark {
background: rgba(255,255,255,0.1); color: var(--color-on-dark);
border: 1px solid rgba(255,255,255,0.15); backdrop-filter: blur(8px);
}
.btn-on-dark:hover { background: rgba(255,255,255,0.18); }
.btn-lg { height: 52px; padding: 14px 32px; font-size: 1rem; border-radius: 12px; font-weight: 600; }
.btn-sm { height: 32px; padding: 6px 14px; font-size: 0.8125rem; border-radius: 6px; }
.btn-icon { width: 36px; height: 36px; padding: 0; border-radius: 50%; }
/* ── Cards ───────────────────────────────────────────── */
.card {
background: var(--color-canvas);
border: 1px solid var(--color-hairline);
border-radius: 16px;
padding: 32px;
transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}
.card-cream {
background: var(--color-surface-card);
border: none;
border-radius: 16px;
padding: 32px;
}
.card-dark {
background: var(--color-surface-dark);
border: none;
border-radius: 16px;
padding: 32px;
color: var(--color-on-dark);
}
.card-dark-elevated {
background: var(--color-surface-dark-elev);
border-radius: 16px;
padding: 24px;
color: var(--color-on-dark);
}
.card-glass {
background: rgba(250, 249, 245, 0.6);
backdrop-filter: blur(20px);
border: 1px solid rgba(230, 223, 216, 0.5);
border-radius: 16px;
padding: 32px;
}
.card-coral {
background: linear-gradient(135deg, #FF6B00, #E55F00);
border: none;
border-radius: 16px;
padding: 48px;
color: var(--color-on-primary);
}
.card-coral .display-sm,
.card-coral .display-md { color: var(--color-on-primary); }
.card-hover { transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s cubic-bezier(0.4,0,0.2,1); }
.card-hover:hover {
transform: translateY(-4px);
box-shadow: 0 12px 40px rgba(0, 43, 73, 0.1);
}
.card-gradient-blue {
background: linear-gradient(135deg, #002B49, #003D6B);
border: none;
border-radius: 16px;
padding: 32px;
color: white;
}
.card-gradient-orange {
background: linear-gradient(135deg, #FF6B00, #FF8C35);
border: none;
border-radius: 16px;
padding: 32px;
color: white;
}
/* ── Pipeline Comparison Cards ───────────────────────── */
.pipeline-baseline { border-left: 4px solid var(--color-electric-blue); }
.pipeline-graphrag { border-left: 4px solid var(--color-tiger-orange); }
/* ── Badges ──────────────────────────────────────────── */
.badge {
display: inline-flex; align-items: center;
padding: 4px 12px; border-radius: 9999px;
font-size: 0.8125rem; font-weight: 500;
}
.badge-cream { background: var(--color-surface-card); color: var(--color-ink); }
.badge-orange { background: var(--color-tiger-orange); color: white; }
.badge-coral { background: var(--color-coral); color: white; }
.badge-blue { background: var(--color-electric-blue); color: white; }
.badge-success { background: var(--color-success); color: white; }
.badge-outline {
background: transparent; border: 1px solid var(--color-hairline); color: var(--color-muted);
}
.badge-glow {
background: var(--color-tiger-orange);
color: white;
box-shadow: 0 0 16px rgba(255,107,0,0.3);
}
/* ── Inputs ──────────────────────────────────────────── */
.input {
width: 100%; height: 44px; padding: 10px 16px;
background: var(--color-canvas); color: var(--color-ink);
border: 1px solid var(--color-hairline); border-radius: 10px;
font-family: var(--font-sans); font-size: 1rem;
transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.input:focus {
outline: none; border-color: var(--color-tiger-orange);
box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}
.input::placeholder { color: var(--color-muted-soft); }
.textarea { min-height: 100px; resize: vertical; }
/* ── Tabs ────────────────────────────────────────────── */
.tab-bar {
display: flex; gap: 4px; padding: 4px;
background: var(--color-surface-soft);
border-radius: 12px; overflow-x: auto;
}
.tab-item {
padding: 10px 20px; border-radius: 10px;
font-size: 0.875rem; font-weight: 500;
color: var(--color-muted); cursor: pointer;
transition: all 0.2s ease; white-space: nowrap;
border: none; background: transparent;
}
.tab-item:hover { color: var(--color-ink); background: var(--color-canvas); }
.tab-item-active {
color: var(--color-ink); background: var(--color-canvas);
box-shadow: 0 2px 8px rgba(0, 43, 73, 0.08);
}
/* ── Metric Display ──────────────────────────────────── */
.metric-value {
font-family: var(--font-mono);
font-size: 2.5rem; font-weight: 600;
color: var(--color-ink);
line-height: 1.1;
}
.metric-value-sm { font-size: 1.5rem; }
.metric-value-lg { font-size: 3.5rem; }
.metric-label { font-size: 0.8125rem; font-weight: 500; color: var(--color-muted); margin-top: 4px; }
.metric-delta-positive { color: var(--color-success); font-size: 0.8125rem; font-weight: 500; }
.metric-delta-negative { color: var(--color-error); font-size: 0.8125rem; font-weight: 500; }
/* ── Code Window ─────────────────────────────────────── */
.code-window {
background: var(--color-surface-dark);
border-radius: 16px;
overflow: hidden;
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.code-window-header {
display: flex; align-items: center; gap: 8px;
padding: 14px 18px;
background: var(--color-surface-dark-elev);
border-bottom: 1px solid rgba(255,255,255,0.06);
}
.code-window-dot { width: 12px; height: 12px; border-radius: 50%; }
.code-window-dot-red { background: #ff5f57; }
.code-window-dot-yellow { background: #febc2e; }
.code-window-dot-green { background: #28c840; }
.code-window-body {
padding: 24px;
font-family: var(--font-mono);
font-size: 0.875rem;
line-height: 1.7;
color: var(--color-on-dark);
overflow-x: auto;
}
/* ── Navbar ──────────────────────────────────────────── */
.navbar {
position: sticky; top: 0; z-index: 50;
display: flex; align-items: center; justify-content: space-between;
height: 72px; padding: 0 40px;
background: rgba(250, 249, 245, 0.8);
border-bottom: 1px solid var(--color-hairline-soft);
backdrop-filter: blur(16px) saturate(180%);
-webkit-backdrop-filter: blur(16px) saturate(180%);
}
.nav-link {
font-size: 0.875rem; font-weight: 500;
color: var(--color-muted);
text-decoration: none;
padding: 8px 16px;
border-radius: 8px;
transition: all 0.2s ease;
position: relative;
}
.nav-link:hover {
color: var(--color-ink);
background: var(--color-surface-soft);
}
.nav-link-active {
color: var(--color-tiger-orange);
background: var(--color-tiger-orange-light);
}
.nav-link-active::after {
content: '';
position: absolute;
bottom: -2px;
left: 16px;
right: 16px;
height: 2px;
background: var(--color-tiger-orange);
border-radius: 1px;
}
/* ── Section Rhythm ──────────────────────────────────── */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-lg { padding: 128px 0; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 24px; }
.container-narrow { width: 100%; max-width: 800px; margin: 0 auto; padding: 0 24px; }
/* ── Page Header ─────────────────────────────────────── */
.page-header { padding: 80px 0 48px; text-align: center; }
.page-header-dark { padding: 80px 0 48px; text-align: center; background: var(--color-surface-dark); color: var(--color-on-dark); }
/* ── Graph Visualization ─────────────────────────────── */
.graph-node { transition: transform 0.2s ease; }
.graph-node:hover { transform: scale(1.15); filter: drop-shadow(0 0 12px rgba(255, 107, 0, 0.5)); }
.graph-edge { stroke: var(--color-muted-soft); stroke-width: 1.5; transition: stroke 0.2s ease; }
/* ── Animations ──────────────────────────────────────── */
@keyframes shimmer {
0% { background-position: -200% 0; }
100% { background-position: 200% 0; }
}
.skeleton {
background: linear-gradient(90deg, var(--color-surface-soft) 25%, var(--color-surface-card) 50%, var(--color-surface-soft) 75%);
background-size: 200% 100%;
animation: shimmer 1.5s ease-in-out infinite;
border-radius: 8px;
}
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(24px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up { animation: fadeInUp 0.6s cubic-bezier(0.4,0,0.2,1) forwards; opacity: 0; }
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.animate-fade-in { animation: fadeIn 0.5s ease forwards; opacity: 0; }
@keyframes slideInLeft { from { opacity: 0; transform: translateX(-32px); } to { opacity: 1; transform: translateX(0); } }
.animate-slide-left { animation: slideInLeft 0.6s cubic-bezier(0.4,0,0.2,1) forwards; opacity: 0; }
@keyframes slideInRight { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: translateX(0); } }
.animate-slide-right { animation: slideInRight 0.6s cubic-bezier(0.4,0,0.2,1) forwards; opacity: 0; }
@keyframes scaleIn { from { opacity: 0; transform: scale(0.92); } to { opacity: 1; transform: scale(1); } }
.animate-scale-in { animation: scaleIn 0.5s cubic-bezier(0.4,0,0.2,1) forwards; opacity: 0; }
@keyframes pulse-glow { 0%, 100% { box-shadow: 0 0 20px rgba(255,107,0,0.2); } 50% { box-shadow: 0 0 40px rgba(255,107,0,0.4); } }
.animate-pulse-glow { animation: pulse-glow 3s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.animate-float { animation: float 4s ease-in-out infinite; }
@keyframes gradient-shift { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.animate-gradient { background-size: 200% auto; animation: gradient-shift 6s ease infinite; }
/* ── Divider ─────────────────────────────────────────── */
.divider { width: 48px; height: 3px; background: var(--color-tiger-orange); border-radius: 2px; }
.divider-center { width: 48px; height: 3px; background: var(--color-tiger-orange); border-radius: 2px; margin: 0 auto; }
/* ── Feature Grid ────────────────────────────────────── */
.feature-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 16px; }
.feature-icon-orange { background: var(--color-tiger-orange-light); }
.feature-icon-blue { background: var(--color-electric-blue-light); }
.feature-icon-teal { background: #e8f8f5; }
.feature-icon-amber { background: #fef9e7; }
.feature-icon-coral { background: #fef0eb; }
/* ── Bento Grid ──────────────────────────────────────── */
.bento-grid { display: grid; gap: 16px; }
.bento-grid-3 { grid-template-columns: repeat(3, 1fr); }
.bento-span-2 { grid-column: span 2; }
.bento-row-2 { grid-row: span 2; }
/* ── Glow effect ─────────────────────────────────────── */
.glow-orange { box-shadow: 0 0 32px rgba(255,107,0,0.15); }
.glow-blue { box-shadow: 0 0 32px rgba(0,114,206,0.15); }
/* ── Tooltip ─────────────────────────────────────────── */
.custom-tooltip {
background: var(--color-canvas) !important;
border: 1px solid var(--color-hairline) !important;
border-radius: 10px !important;
padding: 14px !important;
box-shadow: 0 8px 32px rgba(0, 43, 73, 0.08) !important;
}
/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 1024px) {
.bento-grid-3 { grid-template-columns: 1fr 1fr; }
.bento-span-2 { grid-column: span 1; }
}
@media (max-width: 768px) {
.section { padding: 64px 0; }
.section-lg { padding: 80px 0; }
.container { padding: 0 16px; }
.card, .card-cream, .card-dark { padding: 24px; }
.navbar { padding: 0 16px; height: 60px; }
.display-hero { letter-spacing: -1px; }
.display-xl { letter-spacing: -0.5px; }
.bento-grid-3 { grid-template-columns: 1fr; }
.page-header { padding: 48px 0 32px; }
}
/* ── Scrollbar ───────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--color-hairline); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-muted-soft); }
/* ── Selection ───────────────────────────────────────── */
::selection { background: rgba(255, 107, 0, 0.15); color: var(--color-ink); }
/* ── Prose ───────────────────────────────────────────── */
.prose h1, .prose h2, .prose h3 { font-family: var(--font-serif); font-weight: 400; }
.prose h1 { font-size: 2rem; letter-spacing: -0.5px; }
.prose h2 { font-size: 1.5rem; letter-spacing: -0.3px; }
.prose p { line-height: 1.7; color: var(--color-body); }
.prose code { font-family: var(--font-mono); font-size: 0.875em; background: var(--color-surface-soft); padding: 2px 6px; border-radius: 4px; }
.prose strong { color: var(--color-ink); font-weight: 600; }
/* ── Gradient text ───────────────────────────────────── */
.gradient-text-orange {
background: linear-gradient(135deg, #FF6B00, #cc785c);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.gradient-text-blue {
background: linear-gradient(135deg, #0072CE, #002B49);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
/* ── Horizontal Scroll ───────────────────────────────── */
.scroll-hidden::-webkit-scrollbar { display: none; }
.scroll-hidden { -ms-overflow-style: none; scrollbar-width: none; }