/* Tiered Storage Demo Site - Stylesheet */ :root { --primary-color: #3b82f6; --secondary-color: #8b5cf6; --success-color: #10b981; --background: #0f172a; --surface: #1e293b; --text: #f1f5f9; --text-muted: #94a3b8; --border: #334155; } * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; background: var(--background); color: var(--text); line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; } /* Header & Navigation */ header { background: var(--surface); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 100; } nav { max-width: 1200px; margin: 0 auto; padding: 1rem 2rem; display: flex; justify-content: space-between; align-items: center; } .logo { font-size: 1.5rem; font-weight: 700; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } nav ul { display: flex; gap: 2rem; list-style: none; } nav a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; padding: 0.5rem 1rem; border-radius: 0.5rem; } nav a:hover, nav a.active { color: var(--text); background: rgba(59, 130, 246, 0.1); } /* Main Content */ main { flex: 1; max-width: 1200px; margin: 0 auto; padding: 2rem; width: 100%; } /* Hero Section */ .hero { text-align: center; padding: 4rem 2rem; background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1)); border-radius: 1rem; margin-bottom: 3rem; } .hero h1 { font-size: 3rem; margin-bottom: 1rem; background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; } .hero p { font-size: 1.25rem; color: var(--text-muted); max-width: 600px; margin: 0 auto 2rem; } .cta-buttons { display: flex; gap: 1rem; justify-content: center; } .btn { padding: 0.75rem 2rem; border-radius: 0.5rem; text-decoration: none; font-weight: 600; transition: all 0.2s; display: inline-block; } .btn-primary { background: var(--primary-color); color: white; } .btn-primary:hover { background: #2563eb; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3); } .btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); } .btn-secondary:hover { background: var(--border); } /* Features */ .features { margin-bottom: 3rem; } .features h2 { text-align: center; font-size: 2rem; margin-bottom: 2rem; } .feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; } .feature-card { background: var(--surface); padding: 2rem; border-radius: 1rem; border: 1px solid var(--border); transition: transform 0.2s, box-shadow 0.2s; } .feature-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); } .feature-icon { font-size: 3rem; margin-bottom: 1rem; } .feature-card h3 { color: var(--primary-color); margin-bottom: 0.5rem; } .feature-card p { color: var(--text-muted); } /* Architecture Diagram */ .architecture { margin-bottom: 3rem; } .architecture h2 { text-align: center; font-size: 2rem; margin-bottom: 2rem; } .tier-diagram { max-width: 600px; margin: 0 auto; } .tier { background: var(--surface); border: 2px solid var(--border); border-radius: 0.5rem; padding: 1.5rem; margin-bottom: 1rem; } .tier.hot { border-color: #ef4444; background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), var(--surface)); } .tier.warm { border-color: #f59e0b; background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), var(--surface)); } .tier.cold { border-color: var(--primary-color); background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), var(--surface)); } .tier-label { font-weight: 700; margin-bottom: 0.5rem; font-size: 1.1rem; } .tier-content { color: var(--text-muted); font-size: 0.9rem; } .arrow { text-align: center; font-size: 2rem; color: var(--text-muted); margin: -0.5rem 0; } .diagram-note { text-align: center; color: var(--text-muted); font-style: italic; margin-top: 1rem; } /* Stats */ .stats { margin-bottom: 3rem; } .stats h2 { text-align: center; font-size: 2rem; margin-bottom: 2rem; } .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; } .stat-card { background: var(--surface); padding: 2rem; border-radius: 1rem; border: 1px solid var(--border); text-align: center; } .stat-value { font-size: 2.5rem; font-weight: 700; color: var(--primary-color); margin-bottom: 0.5rem; } .stat-label { color: var(--text-muted); font-size: 0.9rem; } /* Content Pages */ .content { max-width: 800px; margin: 0 auto; } .content h1 { font-size: 2.5rem; margin-bottom: 1.5rem; color: var(--primary-color); } .content h2 { font-size: 1.8rem; margin-top: 2rem; margin-bottom: 1rem; } .content h3 { font-size: 1.3rem; margin-top: 1.5rem; margin-bottom: 0.5rem; } .content h4 { font-size: 1.1rem; margin-top: 1rem; margin-bottom: 0.5rem; color: var(--primary-color); } .content p { margin-bottom: 1rem; color: var(--text-muted); } .content ul, .content ol { margin-bottom: 1rem; margin-left: 2rem; color: var(--text-muted); } .content li { margin-bottom: 0.5rem; } .content code { background: var(--surface); padding: 0.2rem 0.5rem; border-radius: 0.25rem; font-family: 'Monaco', 'Courier New', monospace; font-size: 0.9em; color: var(--success-color); } .content pre { background: var(--surface); padding: 1.5rem; border-radius: 0.5rem; overflow-x: auto; margin-bottom: 1rem; border: 1px solid var(--border); } .content pre code { background: none; padding: 0; color: var(--text); } .solution-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; margin: 2rem 0; } .solution-item { background: var(--surface); padding: 1.5rem; border-radius: 0.5rem; border: 1px solid var(--border); } .solution-item h3 { margin-top: 0; } .use-cases { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2rem; } .use-case { background: var(--surface); padding: 1.5rem; border-radius: 0.5rem; border-left: 4px solid var(--primary-color); } .use-case h4 { margin-top: 0; } /* Footer */ footer { background: var(--surface); border-top: 1px solid var(--border); padding: 2rem; text-align: center; color: var(--text-muted); margin-top: auto; } footer p { margin: 0.5rem 0; } /* Responsive */ @media (max-width: 768px) { .hero h1 { font-size: 2rem; } .hero p { font-size: 1rem; } nav ul { gap: 1rem; } .feature-grid, .stats-grid { grid-template-columns: 1fr; } .solution-grid { grid-template-columns: 1fr; } .cta-buttons { flex-direction: column; align-items: stretch; } }