Files
webb/src/app/globals.css
T

258 lines
6.5 KiB
CSS
Raw Normal View History

@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
/* Lenis Ultra-Smooth Fluid Scroll */
html.lenis, html.lenis body {
height: auto;
}
.lenis.lenis-smooth {
scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
overscroll-behavior: contain;
}
.lenis.lenis-stopped {
overflow: hidden;
}
.lenis.lenis-scrolling iframe {
pointer-events: none;
}
:root {
--color-primary: #2563EB;
--color-primary-hover: #1D4ED8;
--color-primary-light: #EFF6FF;
--color-accent: #0284C7;
--color-surface: #FAF8F5;
--color-surface-subtle: #F5F2EB;
--color-surface-card: #FFFFFF;
--theme-radius: 20px;
--theme-max-width: 1400px;
}
html {
scroll-behavior: auto;
}
body {
color: #0F172A;
background-color: #FAF8F5;
background-image:
radial-gradient(circle at 50% -10%, rgba(37, 99, 235, 0.05) 0%, transparent 60%),
radial-gradient(circle at 90% 25%, rgba(2, 132, 199, 0.04) 0%, transparent 50%),
radial-gradient(circle at 10% 75%, rgba(124, 58, 237, 0.03) 0%, transparent 50%);
background-attachment: fixed;
font-family: var(--font-sans), system-ui, -apple-system, sans-serif;
overflow-x: hidden;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, .font-display {
font-family: var(--font-display), var(--font-sans), sans-serif;
letter-spacing: -0.04em;
color: #0F172A;
text-wrap: balance;
}
p {
text-wrap: pretty;
}
.font-mono {
font-family: var(--font-mono), monospace;
letter-spacing: -0.015em;
}
}
/* Creamy Studio Glassmorphism */
.glass-neo {
background: rgba(250, 248, 245, 0.85);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border: 1px solid rgba(15, 23, 42, 0.06);
}
/* Authentic True Liquid Glass Capsule with High Refraction & Real Specular Gloss */
.liquid-glass-nav {
position: relative;
/* Crystal transparent optical liquid baseline - zero edge fog/smog */
background: rgba(255, 255, 255, 0.12);
backdrop-filter: blur(14px) saturate(210%) contrast(108%) brightness(1.08);
-webkit-backdrop-filter: blur(14px) saturate(210%) contrast(108%) brightness(1.08);
border: 1px solid rgba(255, 255, 255, 0.55);
box-shadow:
/* Razor-sharp 1px top specular ridge */
inset 0 1px 0 0 rgba(255, 255, 255, 0.85),
/* Crisp 1px bottom reflection */
inset 0 -1px 0 0 rgba(255, 255, 255, 0.25),
/* Refractive drop shadows with subtle caustic tint */
0 20px 45px -10px rgba(15, 23, 42, 0.12),
0 8px 16px -4px rgba(15, 23, 42, 0.05);
overflow: hidden;
}
.liquid-glass-nav.nav-scrolled {
box-shadow:
inset 0 1px 0 0 rgba(255, 255, 255, 0.9),
inset 0 -1px 0 0 rgba(255, 255, 255, 0.25),
0 24px 50px -12px rgba(15, 23, 42, 0.14),
0 10px 20px -5px rgba(15, 23, 42, 0.06);
}
/* Ensure inner contents sit crisply above liquid reflection layers */
.liquid-glass-nav > * {
position: relative;
z-index: 10;
}
/* Prismatic Chromatic Caustic Highlight Line */
.liquid-glass-nav::after {
content: "";
position: absolute;
top: 0;
left: 8%;
right: 8%;
height: 1px;
background: linear-gradient(
90deg,
transparent 0%,
rgba(56, 189, 248, 0.6) 20%,
rgba(255, 255, 255, 0.95) 50%,
rgba(168, 85, 247, 0.5) 80%,
transparent 100%
);
pointer-events: none;
z-index: 3;
}
/* Inverted Optical Liquid Glass Refraction Chamber */
.liquid-refraction-chamber {
position: absolute;
inset: 0;
border-radius: inherit;
overflow: hidden;
pointer-events: none;
z-index: 1;
opacity: 0.6;
filter: url("#glass-liquid-warp");
mix-blend-mode: luminosity;
transform: translateZ(0);
}
.liquid-fluid-wave {
position: absolute;
top: -120px;
left: -25%;
width: 150%;
height: 600px;
pointer-events: none;
background:
radial-gradient(ellipse 65% 35% at 25% 30%, rgba(56, 189, 248, 0.35) 0%, transparent 60%),
radial-gradient(ellipse 70% 45% at 75% 70%, rgba(124, 58, 237, 0.32) 0%, transparent 65%),
radial-gradient(ellipse 85% 55% at 50% 50%, rgba(37, 99, 235, 0.25) 0%, transparent 70%);
will-change: transform;
transform: translateZ(0) scaleY(-1);
}
/* Liquid Glass Mobile Dropdown */
.liquid-glass-dropdown {
position: relative;
background: linear-gradient(
180deg,
rgba(255, 255, 255, 0.72) 0%,
rgba(250, 248, 245, 0.85) 100%
);
backdrop-filter: blur(16px) saturate(200%) brightness(1.06);
-webkit-backdrop-filter: blur(16px) saturate(200%) brightness(1.06);
border: 1px solid rgba(255, 255, 255, 0.85);
box-shadow:
inset 0 2px 1px rgba(255, 255, 255, 1),
inset 0 0 20px rgba(255, 255, 255, 0.35),
0 24px 60px -10px rgba(15, 23, 42, 0.16);
}
.glass-card {
background: #FFFFFF;
border: 1px solid rgba(15, 23, 42, 0.07);
box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.02);
transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.glass-card:hover {
border-color: rgba(37, 99, 235, 0.25);
box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.08), 0 2px 6px rgba(15, 23, 42, 0.03);
transform: translateY(-2px);
}
/* Editorial Gradient Text */
.text-gradient-brand {
background: linear-gradient(135deg, #0F172A 20%, #2563EB 65%, #7C3AED 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.text-gradient-cyan {
background: linear-gradient(135deg, #0F172A 15%, #0284C7 85%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
/* Shimmer Animation Effect for Badges & Buttons */
.shimmer-badge {
background: linear-gradient(
90deg,
rgba(255, 255, 255, 0) 0%,
rgba(255, 255, 255, 0.4) 50%,
rgba(255, 255, 255, 0) 100%
);
background-size: 200% 100%;
animation: shimmer 3s infinite;
}
/* Clean Minimalist Warm Scrollbar */
::-webkit-scrollbar {
width: 7px;
height: 7px;
}
::-webkit-scrollbar-track {
background: #FAF8F5;
}
::-webkit-scrollbar-thumb {
background: #DDD7CC;
border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
background: #C8C2B5;
}
/* 3D Motion Keyframes & Floating Helpers */
@keyframes float-slow {
0%, 100% {
transform: translateY(0px) rotate(0deg);
}
50% {
transform: translateY(-8px) rotate(1.2deg);
}
}
@keyframes float-medium {
0%, 100% {
transform: translateY(0px) rotate(0deg);
}
50% {
transform: translateY(-12px) rotate(-1.5deg);
}
}
.animate-float-slow {
animation: float-slow 6s ease-in-out infinite;
}
.animate-float-medium {
animation: float-medium 7.5s ease-in-out infinite;
}