Files
webb/src/app/globals.css
T

558 lines
14 KiB
CSS
Raw Normal View History

@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
: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: smooth;
}
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: scroll;
font-family: var(--font-sans), system-ui, -apple-system, sans-serif;
overflow-x: clip;
-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 & Specular Gloss */
.liquid-glass-nav {
position: relative;
background: rgba(255, 255, 255, 0.96);
border: 1px solid rgba(15, 23, 42, 0.08);
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.2),
/* Soft volumetric ambient shadows */
0 20px 45px -10px rgba(15, 23, 42, 0.08),
0 8px 16px -4px rgba(15, 23, 42, 0.03);
overflow: hidden;
}
.liquid-glass-nav.nav-scrolled {
background: rgba(255, 255, 255, 0.99);
box-shadow:
inset 0 1px 0 0 rgba(255, 255, 255, 0.95),
inset 0 -1px 0 0 rgba(255, 255, 255, 0.25),
0 24px 50px -12px rgba(15, 23, 42, 0.1),
0 10px 20px -5px rgba(15, 23, 42, 0.04);
}
/* Ensure foreground elements sit crisply */
.liquid-glass-nav > * {
position: relative;
z-index: 10;
}
/* Abbe Chromatic Dispersion Highlight Line (Physical Prismatic Spectral Edge) */
.liquid-glass-nav::after {
content: "";
position: absolute;
top: 0;
left: 6%;
right: 6%;
height: 1px;
background: linear-gradient(
90deg,
transparent 0%,
rgba(56, 189, 248, 0.55) 20%,
rgba(255, 255, 255, 0.95) 50%,
rgba(168, 85, 247, 0.5) 80%,
transparent 100%
);
pointer-events: none;
z-index: 5;
}
/* Cylindrical Lens Caustic Bands & Longitudinal Focal Concentration Overlay */
.liquid-caustic-refraction {
position: absolute;
inset: 0;
pointer-events: none;
background:
linear-gradient(
180deg,
rgba(255, 255, 255, 0.3) 0%,
rgba(255, 255, 255, 0.08) 16%,
transparent 28%,
rgba(255, 255, 255, 0.03) 50%,
transparent 72%,
rgba(255, 255, 255, 0.08) 84%,
rgba(255, 255, 255, 0.2) 100%
),
radial-gradient(ellipse 70% 50% at 50% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 75%);
mix-blend-mode: overlay;
z-index: 2;
}
/* Liquid Glass Mobile Dropdown */
.liquid-glass-dropdown {
position: relative;
background: #fff;
border: 1px solid rgba(15, 23, 42, 0.1);
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;
}
@keyframes gradient-flow {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
@keyframes shimmer-slide {
0% {
transform: translateX(-100%);
}
100% {
transform: translateX(100%);
}
}
@keyframes border-beam {
100% {
offset-distance: 100%;
}
}
.animate-border-beam {
animation: border-beam var(--duration) infinite linear;
}
/* Pixelcut Typography & Sub-Pixel Crisp Font Rendering */
body, h1, h2, h3, h4, p, span, button {
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-rendering: optimizeLegibility;
}
/* 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;
}
/* 3D Cinematic Perspective Utilities (Enigma Cult Reference) */
.perspective-800 {
perspective: 800px;
}
.perspective-1000 {
perspective: 1000px;
}
.perspective-1400 {
perspective: 1400px;
}
.preserve-3d {
transform-style: preserve-3d;
}
.backface-hidden {
backface-visibility: hidden;
}
/* Luxury 3D Holographic Split Line & Caustics */
@keyframes holographic-laser-pulse {
0%, 100% {
box-shadow:
0 0 10px rgba(37, 99, 235, 0.7),
0 0 25px rgba(197, 168, 128, 0.4),
inset 0 0 8px rgba(255, 255, 255, 0.8);
}
50% {
box-shadow:
0 0 18px rgba(37, 99, 235, 0.95),
0 0 40px rgba(197, 168, 128, 0.65),
inset 0 0 12px rgba(255, 255, 255, 1);
}
}
.holographic-laser-split {
animation: holographic-laser-pulse 2.4s ease-in-out infinite;
}
/* Light Luxury Cinematic 3D Card Shadows */
.shadow-cinematic-3d {
box-shadow:
0 30px 60px -15px rgba(15, 23, 42, 0.08),
0 10px 25px -5px rgba(15, 23, 42, 0.04),
inset 0 1px 0 rgba(255, 255, 255, 0.9);
}
.shadow-cinematic-hover {
box-shadow:
0 40px 80px -20px rgba(15, 23, 42, 0.12),
0 16px 32px -8px rgba(37, 99, 235, 0.08),
inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
/* Enigma Editorial Typography Accent Gradients */
.text-gradient-champagne {
background: linear-gradient(135deg, #1E293B 20%, #B89058 70%, #9B6B43 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
/* Guaranteed Text Visibility - Fix all text disappearance issues */
.text-transparent,
[class*="text-transparent"],
[class*="bg-clip-text"],
.text-gradient-brand,
.text-gradient-cyan,
.text-gradient-champagne {
text-shadow: none !important;
filter: none !important;
transform-style: flat !important;
-webkit-text-fill-color: transparent !important;
-webkit-background-clip: text !important;
background-clip: text !important;
display: inline-block;
opacity: 1 !important;
visibility: visible !important;
}
/* Crisp, Ultra-Lightweight Editorial Headings (Zero CPU load, Zero Disappearance) */
h1, h2, h3, h4, h5, h6, .text-3d-chiseled {
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
text-shadow: none;
}
/* Crisp Stat Numbers */
.stat-value, .stat-number, [data-stat] {
display: inline-block;
text-shadow: none !important;
filter: none !important;
}
/* Lightweight Badge Styling (Zero Continuous CPU/GPU Spikes) */
.badge-3d, [class*="badge"] {
display: inline-flex;
box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.85);
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.badge-3d:hover {
transform: translateY(-1px);
box-shadow: 0 4px 8px -2px rgba(37, 99, 235, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
}
/* A consistent, quiet interaction language for the whole studio. */
:where(a, button, [role="button"], input, select, textarea) {
-webkit-tap-highlight-color: transparent;
}
:where(button, [role="button"], a[href]):focus-visible {
outline: 3px solid rgba(37, 99, 235, 0.42);
outline-offset: 3px;
}
:where(button, [role="button"]) {
transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
box-shadow 220ms ease, background-color 220ms ease, border-color 220ms ease;
}
:where(button, [role="button"]):active {
transform: scale(0.975);
}
:where(a[href]) {
text-decoration-thickness: from-font;
text-underline-offset: 0.18em;
}
[data-section-entrance] {
transform-origin: 50% 40%;
backface-visibility: hidden;
}
.section-shell[data-revealed="true"] {
animation: section-enter 420ms cubic-bezier(0.22, 1, 0.36, 1) both;
}
@keyframes section-enter {
from { opacity: 0.7; transform: translateY(10px); }
to { opacity: 1; transform: translateY(0); }
}
@keyframes neural-sweep {
0% { transform: translateX(-120%); opacity: 0; }
25% { opacity: 0.75; }
75% { opacity: 0.75; }
100% { transform: translateX(650%); opacity: 0; }
}
.animate-neural-sweep {
animation: neural-sweep 3.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
@supports (content-visibility: auto) {
.section-shell:not(.section-shell--hero) {
content-visibility: auto;
contain-intrinsic-size: auto 760px;
}
}
.skip-link {
position: fixed;
top: 0.75rem;
left: 50%;
z-index: 100;
transform: translate(-50%, -200%);
opacity: 0;
pointer-events: none;
border-radius: 9999px;
background: #0f172a;
padding: 0.7rem 1rem;
color: #fff;
font-size: 0.875rem;
font-weight: 700;
transition: transform 180ms ease, opacity 180ms ease;
}
.skip-link:focus {
transform: translate(-50%, 0);
opacity: 1;
pointer-events: auto;
}
.eyebrow {
color: #1d4ed8;
font-size: 0.7rem;
font-weight: 700;
letter-spacing: 0.14em;
line-height: 1.2;
}
.button-primary,
.button-secondary {
display: inline-flex;
min-height: 2.75rem;
align-items: center;
justify-content: center;
gap: 0.5rem;
border-radius: 9999px;
padding: 0.65rem 1rem;
font-size: 0.875rem;
font-weight: 700;
text-decoration: none;
transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease;
}
.button-primary { background: #0f172a; color: #fff; box-shadow: 0 8px 18px -10px rgba(15, 23, 42, 0.45); }
.button-primary:hover { background: #1d4ed8; transform: translateY(-1px); }
.button-secondary { border: 1px solid rgba(15, 23, 42, 0.14); background: #fff; color: #334155; }
.button-secondary:hover { border-color: rgba(15, 23, 42, 0.3); background: #f8fafc; transform: translateY(-1px); }
.media-label {
position: absolute;
bottom: 0.5rem;
border-radius: 0.35rem;
background: rgba(15, 23, 42, 0.82);
padding: 0.2rem 0.4rem;
color: #fff;
font-size: 0.625rem;
font-weight: 700;
text-transform: uppercase;
}
.cinematic-rail {
scrollbar-width: thin;
scrollbar-color: #cbd5e1 transparent;
overscroll-behavior-inline: contain;
}
.tool-filter-rail { scrollbar-width: none; }
.tool-filter-rail::-webkit-scrollbar { display: none; }
::selection {
color: #fff;
background: #315fcb;
}
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
scroll-behavior: auto !important;
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
}
}
@media (max-width: 767px) {
body { background-image: none; }
.liquid-glass-nav { box-shadow: 0 10px 24px -14px rgba(15, 23, 42, 0.22); }
.section-shell[data-revealed="true"] { animation: none; }
.perspective-800, .perspective-1000, .perspective-1400 { perspective: none; }
}
@media (hover: none) {
.glass-card:hover, .button-primary:hover, .button-secondary:hover { transform: none; }
}
2026-11-04 17:21:21 +05:30
/* Animated Quantum Logo Keyframes */
@keyframes cre-orbit-cw {
from { transform: rotate(0deg); }
to { transform: rotate(360deg); }
}
@keyframes cre-orbit-ccw {
from { transform: rotate(360deg); }
to { transform: rotate(0deg); }
}
@keyframes cre-pulse-star {
0%, 100% { transform: scale(1); filter: drop-shadow(0 0 6px rgba(56,189,248,0.9)); }
50% { transform: scale(1.08); filter: drop-shadow(0 0 14px rgba(236,72,153,1)); }
}
@keyframes cre-shimmer-slide {
0%, 20% { transform: translate(-80px, -80px) rotate(45deg); opacity: 0; }
40% { opacity: 0.9; }
60%, 100% { transform: translate(80px, 80px) rotate(45deg); opacity: 0; }
}
.cre-anim-orbit {
transform-origin: 50px 50px;
animation: cre-orbit-cw 14s linear infinite;
}
.cre-anim-orbit-reverse {
transform-origin: 50px 50px;
animation: cre-orbit-ccw 10s linear infinite;
}
.cre-anim-core {
transform-origin: 50px 50px;
animation: cre-pulse-star 3s ease-in-out infinite;
}
.cre-anim-shimmer {
animation: cre-shimmer-slide 4.5s ease-in-out infinite;
}