/* static/baseTemplate.css */ :root { --primary: #6366f1; --primary-hover: #4f46e5; --bg-dark: #020617; --bg-card: rgba(30, 41, 59, 0.4); --text-main: #f8fafc; --text-muted: #94a3b8; --accent: #ec4899; --glass: rgba(15, 23, 42, 0.6); --border: rgba(255, 255, 255, 0.08); --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3); --mesh-color-1: rgba(99, 102, 241, 0.15); --mesh-color-2: rgba(236, 72, 153, 0.15); } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Outfit', 'Inter', sans-serif; } body { background-color: var(--bg-dark); background-image: radial-gradient(at 0% 0%, var(--mesh-color-1) 0px, transparent 50%), radial-gradient(at 100% 100%, var(--mesh-color-2) 0px, transparent 50%); background-attachment: fixed; color: var(--text-main); line-height: 1.6; min-height: 100vh; display: flex; flex-direction: column; overflow-x: hidden; } /* Page Transition Wrapper */ .page-wrapper { animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1); } @keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } } /* Glassmorphism Header */ header { background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); padding: 1.25rem 2rem; position: sticky; top: 0; z-index: 1000; display: flex; justify-content: space-between; align-items: center; } header h1 { font-size: 1.75rem; background: linear-gradient(135deg, #fff, #6366f1); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 900; letter-spacing: -0.05em; text-transform: lowercase; } nav { display: flex; gap: 2rem; } nav a { color: var(--text-muted); text-decoration: none; font-weight: 600; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); font-size: 0.9rem; letter-spacing: 0.02em; position: relative; } nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary); transition: width 0.3s ease; } nav a:hover { color: var(--text-main); } nav a:hover::after, nav a.active::after { width: 100%; } nav a.active { color: var(--text-main); } /* Main Content Area */ main { flex: 1; padding: 3rem 2rem; max-width: 1300px; margin: 0 auto; width: 100%; } /* Footer */ footer { padding: 3rem; text-align: center; border-top: 1px solid var(--border); color: var(--text-muted); font-size: 0.85rem; letter-spacing: 0.05em; } /* Improved Components */ .btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.85rem 1.75rem; border-radius: 0.75rem; font-weight: 600; text-decoration: none; transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; border: none; font-size: 0.95rem; gap: 0.5rem; } .btn-primary { background: linear-gradient(135deg, var(--primary), #4f46e5); color: white; box-shadow: 0 4px 15px -3px rgba(99, 102, 241, 0.4); } .btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.5); } .card { background: var(--bg-card); backdrop-filter: blur(8px); border: 1px solid var(--border); border-radius: 1.5rem; padding: 2.5rem; box-shadow: var(--shadow); transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1); } .card:hover { border-color: rgba(255, 255, 255, 0.15); transform: translateY(-8px); } h1, h2, h3 { font-weight: 800; margin-bottom: 1.25rem; letter-spacing: -0.02em; } p { color: var(--text-muted); margin-bottom: 1.75rem; font-size: 1.05rem; } /* Typography Enhancements */ strong { color: var(--text-main); }