993 lines
24 KiB
CSS
993 lines
24 KiB
CSS
@import "tailwindcss";
|
|
|
|
@theme inline {
|
|
--color-background: var(--background);
|
|
--color-foreground: var(--foreground);
|
|
--font-sans: var(--font-geist-sans);
|
|
--font-mono: var(--font-geist-mono);
|
|
}
|
|
|
|
/* ═══ DARK THEME ═══ */
|
|
:root, [data-theme="dark"] {
|
|
--background: #06080d;
|
|
--foreground: #c8d6e5;
|
|
--accent: #00e5ff;
|
|
--accent-dim: #0097a7;
|
|
--accent-purple: #7c4dff;
|
|
--accent-pink: #ff4081;
|
|
--surface: rgba(12, 18, 30, 0.7);
|
|
--surface-border: rgba(0, 229, 255, 0.08);
|
|
--surface-hover: rgba(0, 229, 255, 0.04);
|
|
--text-primary: #ffffff;
|
|
--text-secondary: #c8d6e5;
|
|
--text-muted: #6b7280;
|
|
--text-accent: #00e5ff;
|
|
--text-accent-hover: #67edff;
|
|
--glow-cyan: 0 0 20px rgba(0, 229, 255, 0.15);
|
|
--grid-color: rgba(0, 229, 255, 0.03);
|
|
--row-hover: rgba(0, 229, 255, 0.04);
|
|
--input-bg: rgba(12, 18, 30, 0.6);
|
|
--input-border: rgba(0, 229, 255, 0.1);
|
|
--input-focus: rgba(0, 229, 255, 0.4);
|
|
--chart-grid: rgba(0, 229, 255, 0.06);
|
|
--btn-active-bg: rgba(0, 229, 255, 0.2);
|
|
--btn-active-border: rgba(0, 229, 255, 0.5);
|
|
--progress-bg: rgba(0, 229, 255, 0.08);
|
|
--spinner-track: rgba(0, 229, 255, 0.3);
|
|
--spinner-head: #00e5ff;
|
|
color-scheme: dark;
|
|
}
|
|
|
|
/* ═══ LIGHT THEME ═══ */
|
|
[data-theme="light"] {
|
|
--background: #f7f8fc;
|
|
--foreground: #1e293b;
|
|
--accent: #0284c7;
|
|
--accent-dim: #0369a1;
|
|
--accent-purple: #7c3aed;
|
|
--accent-pink: #db2777;
|
|
--surface: rgba(255, 255, 255, 0.85);
|
|
--surface-border: rgba(2, 132, 199, 0.12);
|
|
--surface-hover: rgba(2, 132, 199, 0.04);
|
|
--text-primary: #0f172a;
|
|
--text-secondary: #475569;
|
|
--text-muted: #94a3b8;
|
|
--text-accent: #0284c7;
|
|
--text-accent-hover: #0369a1;
|
|
--glow-cyan: 0 4px 20px rgba(2, 132, 199, 0.08);
|
|
--grid-color: rgba(2, 132, 199, 0.04);
|
|
--row-hover: rgba(2, 132, 199, 0.05);
|
|
--input-bg: rgba(255, 255, 255, 0.8);
|
|
--input-border: rgba(2, 132, 199, 0.15);
|
|
--input-focus: rgba(2, 132, 199, 0.4);
|
|
--chart-grid: rgba(2, 132, 199, 0.08);
|
|
--btn-active-bg: rgba(2, 132, 199, 0.12);
|
|
--btn-active-border: rgba(2, 132, 199, 0.3);
|
|
--progress-bg: rgba(2, 132, 199, 0.1);
|
|
--spinner-track: rgba(2, 132, 199, 0.3);
|
|
--spinner-head: #0284c7;
|
|
color-scheme: light;
|
|
}
|
|
|
|
body {
|
|
background: var(--background);
|
|
color: var(--foreground);
|
|
font-family: var(--font-sans), system-ui, sans-serif;
|
|
transition: background 0.3s, color 0.3s;
|
|
}
|
|
|
|
/* Grid background — dark only */
|
|
[data-theme="dark"] body::before {
|
|
content: '';
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: -1;
|
|
background-image:
|
|
linear-gradient(var(--grid-color) 1px, transparent 1px),
|
|
linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
|
|
background-size: 60px 60px;
|
|
mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 20%, transparent 100%);
|
|
}
|
|
|
|
/* Top ambient glow — dark only */
|
|
[data-theme="dark"] body::after {
|
|
content: '';
|
|
position: fixed;
|
|
top: -200px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
width: 800px;
|
|
height: 500px;
|
|
border-radius: 50%;
|
|
background: radial-gradient(ellipse, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
|
|
z-index: -1;
|
|
pointer-events: none;
|
|
}
|
|
|
|
/* Light theme subtle background */
|
|
[data-theme="light"] body::before {
|
|
content: '';
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: -1;
|
|
background: radial-gradient(ellipse at 50% 0%, rgba(2, 132, 199, 0.03) 0%, transparent 60%);
|
|
}
|
|
|
|
/* Glass card */
|
|
.glass {
|
|
background: var(--surface);
|
|
backdrop-filter: blur(16px);
|
|
border: 1px solid var(--surface-border);
|
|
border-radius: 12px;
|
|
transition: border-color 0.2s, background 0.3s;
|
|
}
|
|
.glass:hover {
|
|
border-color: var(--input-border);
|
|
}
|
|
|
|
/* Gradient heading */
|
|
.gradient-text {
|
|
background: linear-gradient(135deg, var(--accent) 0%, var(--accent-purple) 50%, var(--accent-pink) 100%);
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
/* Table row glow on hover */
|
|
.row-glow:hover {
|
|
background: var(--row-hover);
|
|
}
|
|
|
|
/* Accent button */
|
|
.btn-accent {
|
|
background: var(--btn-active-bg);
|
|
border: 1px solid var(--surface-border);
|
|
color: var(--text-accent);
|
|
transition: all 0.2s;
|
|
}
|
|
.btn-accent:hover {
|
|
border-color: var(--btn-active-border);
|
|
box-shadow: var(--glow-cyan);
|
|
}
|
|
|
|
/* Input style */
|
|
.input-glass {
|
|
background: var(--input-bg);
|
|
border: 1px solid var(--input-border);
|
|
color: var(--foreground);
|
|
transition: border-color 0.2s;
|
|
}
|
|
.input-glass::placeholder {
|
|
color: var(--text-muted);
|
|
}
|
|
.input-glass:focus {
|
|
outline: none;
|
|
border-color: var(--input-focus);
|
|
box-shadow: 0 0 12px rgba(2, 132, 199, 0.1);
|
|
}
|
|
|
|
/* Spinner */
|
|
.spinner {
|
|
border: 2px solid var(--spinner-track);
|
|
border-top-color: var(--spinner-head);
|
|
}
|
|
|
|
/* Themed text utility classes */
|
|
.text-t-primary { color: var(--text-primary); }
|
|
.text-t-secondary { color: var(--text-secondary); }
|
|
.text-t-muted { color: var(--text-muted); }
|
|
.text-t-accent { color: var(--text-accent); }
|
|
.text-t-accent:hover { color: var(--text-accent-hover); }
|
|
.border-t { border-color: var(--surface-border); }
|
|
|
|
/* Scrollbar */
|
|
::-webkit-scrollbar { width: 6px; height: 6px; }
|
|
::-webkit-scrollbar-track { background: transparent; }
|
|
::-webkit-scrollbar-thumb { background: var(--surface-border); border-radius: 3px; }
|
|
::-webkit-scrollbar-thumb:hover { background: var(--input-border); }
|
|
|
|
/* ═══════════════════════════════════════════
|
|
PORTAL PAGE
|
|
═══════════════════════════════════════════ */
|
|
|
|
/* Portal accent palette */
|
|
:root, [data-theme="dark"] {
|
|
--portal-accent-green: #34d399;
|
|
--portal-accent-violet: #8b5cf6;
|
|
--portal-accent-cyan: #00e5ff;
|
|
}
|
|
[data-theme="light"] {
|
|
--portal-accent-green: #059669;
|
|
--portal-accent-violet: #7c3aed;
|
|
--portal-accent-cyan: #0284c7;
|
|
}
|
|
|
|
/* Root container */
|
|
.portal-page {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
overflow-x: hidden;
|
|
}
|
|
.portal-main {
|
|
position: relative;
|
|
z-index: 10;
|
|
}
|
|
.portal-container {
|
|
width: min(calc(100% - 3rem), 1440px);
|
|
margin: 0 auto;
|
|
}
|
|
|
|
/* ── Background: animated grid ── */
|
|
.portal-grid {
|
|
position: fixed;
|
|
inset: 0;
|
|
z-index: 0;
|
|
background-image:
|
|
linear-gradient(var(--grid-color) 1px, transparent 1px),
|
|
linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
|
|
background-size: 48px 48px;
|
|
mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 20%, transparent 85%);
|
|
animation: portal-grid-drift 30s linear infinite;
|
|
}
|
|
@keyframes portal-grid-drift {
|
|
from { background-position: 0 0; }
|
|
to { background-position: 48px 48px; }
|
|
}
|
|
|
|
/* ── Background: floating orbs ── */
|
|
.portal-orb {
|
|
position: fixed;
|
|
border-radius: 50%;
|
|
filter: blur(100px);
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
animation: portal-float 12s ease-in-out infinite;
|
|
}
|
|
.portal-orb--1 {
|
|
width: 500px; height: 500px;
|
|
top: -15%; left: 15%;
|
|
background: radial-gradient(circle, rgba(0,229,255,0.12), transparent 70%);
|
|
animation-duration: 14s;
|
|
}
|
|
.portal-orb--2 {
|
|
width: 380px; height: 380px;
|
|
bottom: -10%; right: 10%;
|
|
background: radial-gradient(circle, rgba(139,92,246,0.1), transparent 70%);
|
|
animation-duration: 18s;
|
|
animation-delay: -6s;
|
|
}
|
|
.portal-orb--3 {
|
|
width: 300px; height: 300px;
|
|
top: 35%; left: 55%;
|
|
background: radial-gradient(circle, rgba(52,211,153,0.06), transparent 70%);
|
|
animation-duration: 22s;
|
|
animation-delay: -10s;
|
|
}
|
|
[data-theme="light"] .portal-orb--1 {
|
|
background: radial-gradient(circle, rgba(2,132,199,0.08), transparent 70%);
|
|
}
|
|
[data-theme="light"] .portal-orb--2 {
|
|
background: radial-gradient(circle, rgba(124,58,237,0.06), transparent 70%);
|
|
}
|
|
[data-theme="light"] .portal-orb--3 {
|
|
background: radial-gradient(circle, rgba(5,150,105,0.05), transparent 70%);
|
|
}
|
|
|
|
@keyframes portal-float {
|
|
0%, 100% { transform: translate(0, 0) scale(1); }
|
|
33% { transform: translate(25px, -18px) scale(1.04); }
|
|
66% { transform: translate(-18px, 12px) scale(0.96); }
|
|
}
|
|
|
|
/* ── Floating particles ── */
|
|
.portal-particles { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
|
|
.portal-particle {
|
|
position: absolute;
|
|
width: 3px; height: 3px;
|
|
border-radius: 50%;
|
|
background: var(--accent);
|
|
opacity: 0.25;
|
|
animation: portal-particle-drift 10s ease-in-out infinite;
|
|
}
|
|
@keyframes portal-particle-drift {
|
|
0%, 100% { transform: translate(0, 0); opacity: 0.15; }
|
|
50% { transform: translate(-15px, -30px); opacity: 0.4; }
|
|
}
|
|
|
|
/* ── Header / Branding ── */
|
|
.portal-header {
|
|
position: relative;
|
|
z-index: 10;
|
|
text-align: center;
|
|
margin-bottom: 3.5rem;
|
|
}
|
|
|
|
.portal-logo-mark {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 52px; height: 52px;
|
|
border-radius: 14px;
|
|
margin-bottom: 1.25rem;
|
|
background: var(--btn-active-bg);
|
|
border: 1px solid var(--surface-border);
|
|
color: var(--accent);
|
|
box-shadow: 0 0 30px rgba(0,229,255,0.08);
|
|
}
|
|
[data-theme="light"] .portal-logo-mark {
|
|
box-shadow: 0 4px 20px rgba(2,132,199,0.1);
|
|
}
|
|
|
|
.portal-title {
|
|
font-size: 4rem;
|
|
font-weight: 800;
|
|
letter-spacing: -0.03em;
|
|
line-height: 1;
|
|
}
|
|
.portal-title-glow {
|
|
color: var(--text-primary);
|
|
}
|
|
.portal-title-accent {
|
|
background: linear-gradient(135deg, var(--accent) 0%, var(--accent-purple) 60%, var(--accent-pink) 100%);
|
|
-webkit-background-clip: text;
|
|
background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
[data-theme="dark"] .portal-title-glow {
|
|
text-shadow: 0 0 40px rgba(0,229,255,0.15);
|
|
}
|
|
|
|
.portal-subtitle {
|
|
margin-top: 0.75rem;
|
|
font-size: 1.05rem;
|
|
font-weight: 300;
|
|
letter-spacing: 0.12em;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* Animated divider with scan effect */
|
|
.portal-divider {
|
|
position: relative;
|
|
width: 240px;
|
|
height: 1px;
|
|
margin: 1.5rem auto 0;
|
|
background: linear-gradient(90deg, transparent 0%, var(--surface-border) 20%, var(--accent) 50%, var(--surface-border) 80%, transparent 100%);
|
|
transform-origin: center;
|
|
overflow: hidden;
|
|
}
|
|
.portal-divider-scan {
|
|
position: absolute;
|
|
top: 0; left: -40%;
|
|
width: 40%; height: 100%;
|
|
background: linear-gradient(90deg, transparent, var(--accent), transparent);
|
|
animation: portal-scan 3.5s ease-in-out infinite;
|
|
animation-delay: 1s;
|
|
}
|
|
@keyframes portal-scan {
|
|
0% { left: -40%; opacity: 0; }
|
|
10% { opacity: 1; }
|
|
90% { opacity: 1; }
|
|
100% { left: 100%; opacity: 0; }
|
|
}
|
|
|
|
/* ── Service Cards Grid ── */
|
|
.portal-cards {
|
|
position: relative;
|
|
z-index: 10;
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 1.5rem;
|
|
width: 100%;
|
|
}
|
|
|
|
/* Individual card */
|
|
.portal-card {
|
|
position: relative;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
padding: 2.5rem 2rem 2rem;
|
|
border-radius: 16px;
|
|
background: var(--surface);
|
|
backdrop-filter: blur(24px);
|
|
border: 1px solid var(--surface-border);
|
|
text-decoration: none;
|
|
color: var(--text-primary);
|
|
cursor: pointer;
|
|
overflow: hidden;
|
|
transition: border-color 0.35s ease, box-shadow 0.35s ease;
|
|
min-height: 100%;
|
|
}
|
|
.portal-card:hover {
|
|
border-color: var(--card-accent);
|
|
box-shadow:
|
|
0 0 40px var(--card-glow),
|
|
inset 0 0 40px rgba(0,0,0,0.02);
|
|
}
|
|
[data-theme="light"] .portal-card:hover {
|
|
box-shadow:
|
|
0 8px 40px var(--card-glow),
|
|
0 2px 8px rgba(0,0,0,0.04);
|
|
}
|
|
|
|
/* Corner brackets */
|
|
.portal-corner {
|
|
position: absolute;
|
|
width: 14px; height: 14px;
|
|
border-color: var(--card-accent);
|
|
opacity: 0;
|
|
transition: opacity 0.35s ease;
|
|
pointer-events: none;
|
|
}
|
|
.portal-card:hover .portal-corner { opacity: 0.7; }
|
|
.portal-corner--tl { top: 6px; left: 6px; border-top: 2px solid; border-left: 2px solid; }
|
|
.portal-corner--tr { top: 6px; right: 6px; border-top: 2px solid; border-right: 2px solid; }
|
|
.portal-corner--bl { bottom: 6px; left: 6px; border-bottom: 2px solid; border-left: 2px solid; }
|
|
.portal-corner--br { bottom: 6px; right: 6px; border-bottom: 2px solid; border-right: 2px solid; }
|
|
|
|
/* Decorative bg icon (large, faded) */
|
|
.portal-card-decor {
|
|
position: absolute;
|
|
top: -12px; right: -12px;
|
|
width: 80px; height: 80px;
|
|
color: var(--card-accent);
|
|
opacity: 0.04;
|
|
transition: opacity 0.35s;
|
|
pointer-events: none;
|
|
}
|
|
.portal-card:hover .portal-card-decor { opacity: 0.08; }
|
|
|
|
/* Icon container */
|
|
.portal-card-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 60px; height: 60px;
|
|
border-radius: 14px;
|
|
margin-bottom: 1.25rem;
|
|
background: var(--btn-active-bg);
|
|
border: 1px solid var(--surface-border);
|
|
color: var(--card-accent);
|
|
transition: border-color 0.3s, box-shadow 0.3s, color 0.3s;
|
|
}
|
|
.portal-card-icon svg {
|
|
width: 28px; height: 28px;
|
|
}
|
|
.portal-card:hover .portal-card-icon {
|
|
border-color: var(--card-accent);
|
|
box-shadow: 0 0 24px var(--card-glow);
|
|
}
|
|
|
|
/* Text */
|
|
.portal-card-title {
|
|
font-size: 1.15rem;
|
|
font-weight: 700;
|
|
margin-bottom: 0.5rem;
|
|
letter-spacing: -0.01em;
|
|
transition: color 0.3s;
|
|
}
|
|
.portal-card:hover .portal-card-title {
|
|
color: var(--card-accent);
|
|
}
|
|
.portal-card-desc {
|
|
font-size: 0.82rem;
|
|
line-height: 1.55;
|
|
color: var(--text-muted);
|
|
text-align: left;
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
|
|
/* Enter action */
|
|
.portal-card-action {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.35rem;
|
|
font-size: 0.75rem;
|
|
font-weight: 500;
|
|
letter-spacing: 0.06em;
|
|
text-transform: uppercase;
|
|
color: var(--text-muted);
|
|
opacity: 0.78;
|
|
transform: none;
|
|
transition: all 0.35s ease;
|
|
margin-top: auto;
|
|
}
|
|
.portal-card:hover .portal-card-action {
|
|
opacity: 1;
|
|
color: var(--card-accent);
|
|
}
|
|
.portal-card-action-icon {
|
|
width: 14px; height: 14px;
|
|
transition: transform 0.25s;
|
|
}
|
|
.portal-card:hover .portal-card-action-icon {
|
|
transform: translate(2px, -2px);
|
|
}
|
|
|
|
/* Bottom highlight bar */
|
|
.portal-card-bar {
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 2rem;
|
|
width: 64px;
|
|
height: 2px;
|
|
border-radius: 2px;
|
|
background: var(--card-accent);
|
|
opacity: 0.5;
|
|
transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease;
|
|
}
|
|
.portal-card:hover .portal-card-bar {
|
|
width: calc(100% - 4rem);
|
|
opacity: 1;
|
|
}
|
|
|
|
/* ── Footer ── */
|
|
.portal-footer {
|
|
position: relative;
|
|
z-index: 10;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.5rem;
|
|
padding: 2.5rem 0 2rem;
|
|
}
|
|
.portal-status-dot {
|
|
width: 6px; height: 6px;
|
|
border-radius: 50%;
|
|
background: #34d399;
|
|
box-shadow: 0 0 8px rgba(52,211,153,0.5);
|
|
animation: portal-pulse 2s ease-in-out infinite;
|
|
}
|
|
@keyframes portal-pulse {
|
|
0%, 100% { opacity: 1; }
|
|
50% { opacity: 0.5; }
|
|
}
|
|
.portal-status-text {
|
|
font-size: 0.7rem;
|
|
font-weight: 500;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
/* ── Portal Landing: Nav ── */
|
|
.portal-nav {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
padding: 0.85rem 0;
|
|
background: color-mix(in srgb, var(--background) 78%, transparent);
|
|
backdrop-filter: blur(18px);
|
|
border-bottom: 1px solid var(--surface-border);
|
|
}
|
|
.portal-nav-inner {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 1.5rem;
|
|
}
|
|
.portal-nav-logo {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.6rem;
|
|
font-family: var(--font-mono);
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
letter-spacing: 0.06em;
|
|
text-decoration: none;
|
|
}
|
|
.portal-nav-menu,
|
|
.portal-nav-controls {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
}
|
|
.portal-nav-menu a {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.75rem;
|
|
font-weight: 400;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: var(--text-muted);
|
|
text-decoration: none;
|
|
transition: color 0.2s;
|
|
}
|
|
.portal-nav-menu a:hover { color: var(--text-accent); }
|
|
|
|
/* ── Portal Landing: Hero ── */
|
|
.portal-hero {
|
|
position: relative;
|
|
min-height: calc(100vh - 78px);
|
|
padding: clamp(3.5rem, 7vw, 6rem) 0 5.5rem;
|
|
}
|
|
.portal-hero-scan {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 2px;
|
|
background: linear-gradient(90deg, transparent, var(--accent), transparent);
|
|
animation: portal-hero-scan-move 4s linear infinite;
|
|
opacity: 0.4;
|
|
}
|
|
@keyframes portal-hero-scan-move {
|
|
0% { transform: translateY(-100%); }
|
|
100% { transform: translateY(80vh); }
|
|
}
|
|
.portal-hero-grid {
|
|
display: grid;
|
|
grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
|
|
gap: clamp(2rem, 4vw, 4rem);
|
|
align-items: center;
|
|
}
|
|
.portal-hero-copy {
|
|
max-width: 760px;
|
|
}
|
|
.portal-hero-badge {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
font-family: var(--font-mono);
|
|
font-size: 0.72rem;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
color: var(--accent-dim);
|
|
border: 1px solid var(--surface-border);
|
|
padding: 0.35rem 0.9rem;
|
|
margin-bottom: 2rem;
|
|
border-radius: 2px;
|
|
}
|
|
.portal-hero-badge::before {
|
|
content: '';
|
|
width: 6px;
|
|
height: 6px;
|
|
background: var(--accent);
|
|
border-radius: 50%;
|
|
animation: portal-pulse 1.5s ease-in-out infinite;
|
|
}
|
|
.portal-hero h1 {
|
|
font-weight: 800;
|
|
font-size: clamp(3.25rem, 7vw, 6.25rem);
|
|
line-height: 0.98;
|
|
letter-spacing: -0.04em;
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
.portal-hero h1 .hero-sub {
|
|
display: block;
|
|
margin-top: 0.8rem;
|
|
font-size: 0.28em;
|
|
font-weight: 300;
|
|
letter-spacing: 0.18em;
|
|
color: var(--text-muted);
|
|
-webkit-text-fill-color: var(--text-muted);
|
|
background: none;
|
|
}
|
|
.portal-hero-desc {
|
|
font-size: clamp(1rem, 1.25vw, 1.18rem);
|
|
color: var(--text-secondary);
|
|
max-width: 640px;
|
|
margin-bottom: 2.5rem;
|
|
line-height: 1.9;
|
|
}
|
|
.portal-hero-actions {
|
|
display: flex;
|
|
gap: 0.85rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
.portal-hero-panel {
|
|
position: relative;
|
|
overflow: hidden;
|
|
padding: 1.5rem;
|
|
border-radius: 24px;
|
|
box-shadow: 0 16px 60px rgba(0, 0, 0, 0.16);
|
|
}
|
|
.portal-hero-panel::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 0;
|
|
background:
|
|
linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 32%),
|
|
radial-gradient(circle at top right, rgba(0, 229, 255, 0.12), transparent 45%);
|
|
pointer-events: none;
|
|
}
|
|
.portal-panel-header,
|
|
.portal-panel-shortcuts {
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
.portal-panel-header {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 1rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
.portal-panel-label {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.66rem;
|
|
letter-spacing: 0.16em;
|
|
text-transform: uppercase;
|
|
color: var(--accent-dim);
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
.portal-panel-title {
|
|
font-size: clamp(1.35rem, 2vw, 1.85rem);
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
letter-spacing: -0.02em;
|
|
}
|
|
.portal-panel-shortcuts {
|
|
display: grid;
|
|
gap: 0.85rem;
|
|
}
|
|
.portal-shortcut {
|
|
display: grid;
|
|
grid-template-columns: 3rem minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 1rem;
|
|
padding: 1rem 1.05rem;
|
|
border-radius: 18px;
|
|
border: 1px solid var(--surface-border);
|
|
background: color-mix(in srgb, var(--background) 36%, transparent);
|
|
text-decoration: none;
|
|
transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
|
|
}
|
|
.portal-shortcut:hover {
|
|
transform: translateY(-2px);
|
|
border-color: var(--card-accent);
|
|
box-shadow: 0 0 28px var(--card-glow);
|
|
background: color-mix(in srgb, var(--background) 28%, transparent);
|
|
}
|
|
.portal-shortcut-icon {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 3rem;
|
|
height: 3rem;
|
|
border-radius: 14px;
|
|
border: 1px solid color-mix(in srgb, var(--card-accent) 24%, var(--surface-border));
|
|
color: var(--card-accent);
|
|
background: color-mix(in srgb, var(--card-accent) 12%, transparent);
|
|
}
|
|
.portal-shortcut-copy {
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.2rem;
|
|
}
|
|
.portal-shortcut-title {
|
|
color: var(--text-primary);
|
|
font-weight: 600;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
.portal-shortcut-desc {
|
|
color: var(--text-muted);
|
|
font-size: 0.8rem;
|
|
line-height: 1.5;
|
|
}
|
|
.portal-shortcut-arrow {
|
|
width: 1rem;
|
|
height: 1rem;
|
|
color: var(--card-accent);
|
|
opacity: 0.8;
|
|
transition: transform 0.25s ease, opacity 0.25s ease;
|
|
}
|
|
.portal-shortcut:hover .portal-shortcut-arrow {
|
|
transform: translate(2px, -2px);
|
|
opacity: 1;
|
|
}
|
|
.portal-hero-voltage {
|
|
position: absolute;
|
|
right: clamp(1rem, 3vw, 3rem);
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
opacity: 0.22;
|
|
pointer-events: none;
|
|
}
|
|
.portal-voltage-bar {
|
|
width: 4px;
|
|
height: 40px;
|
|
background: var(--surface-border);
|
|
border-radius: 2px;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
.portal-voltage-bar::after {
|
|
content: '';
|
|
position: absolute;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
background: var(--accent);
|
|
border-radius: 2px;
|
|
animation: portal-voltage 3s ease-in-out infinite;
|
|
}
|
|
@keyframes portal-voltage {
|
|
0%, 100% { height: 60%; }
|
|
25% { height: 85%; }
|
|
50% { height: 72%; }
|
|
75% { height: 95%; }
|
|
}
|
|
.portal-voltage-bar:nth-child(2)::after { animation-delay: 0.5s; }
|
|
.portal-voltage-bar:nth-child(3)::after { animation-delay: 1s; }
|
|
.portal-voltage-bar:nth-child(4)::after { animation-delay: 1.5s; }
|
|
.portal-voltage-bar:nth-child(5)::after { animation-delay: 0.3s; }
|
|
|
|
/* ── Portal Landing: Section common ── */
|
|
.portal-section {
|
|
padding: 4.75rem 0;
|
|
}
|
|
.portal-section-tag {
|
|
font-family: var(--font-mono);
|
|
font-size: 0.68rem;
|
|
letter-spacing: 0.2em;
|
|
text-transform: uppercase;
|
|
color: var(--accent-dim);
|
|
margin-bottom: 0.75rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
.portal-section-tag::before {
|
|
content: '';
|
|
width: 20px;
|
|
height: 1px;
|
|
background: var(--accent);
|
|
}
|
|
.portal-section-title {
|
|
font-size: clamp(1.7rem, 3.5vw, 2.7rem);
|
|
font-weight: 700;
|
|
letter-spacing: -0.02em;
|
|
line-height: 1.15;
|
|
margin-bottom: 3rem;
|
|
max-width: 760px;
|
|
}
|
|
|
|
/* ── Portal Landing: Feature cards ── */
|
|
.portal-features-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(0, 1fr));
|
|
gap: 1.4rem;
|
|
}
|
|
.portal-feature-card {
|
|
position: relative;
|
|
overflow: hidden;
|
|
transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
|
|
}
|
|
.portal-feature-card::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 2px;
|
|
background: linear-gradient(90deg, var(--accent), transparent);
|
|
opacity: 0;
|
|
transition: opacity 0.3s;
|
|
}
|
|
.portal-feature-card:hover {
|
|
transform: translateY(-4px);
|
|
border-color: var(--input-border);
|
|
box-shadow: var(--glow-cyan);
|
|
}
|
|
.portal-feature-card:hover::after { opacity: 1; }
|
|
|
|
/* ── Portal Landing: Model/Tool cards ── */
|
|
.portal-model-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
gap: 1rem;
|
|
}
|
|
.portal-model-card {
|
|
text-align: center;
|
|
transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
|
|
}
|
|
.portal-model-card:hover {
|
|
transform: translateY(-2px);
|
|
border-color: var(--input-border);
|
|
box-shadow: var(--glow-cyan);
|
|
}
|
|
.portal-tool-card {
|
|
text-align: center;
|
|
position: relative;
|
|
overflow: hidden;
|
|
transition: transform 0.3s, border-color 0.3s;
|
|
}
|
|
.portal-tool-card::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 2px;
|
|
background: linear-gradient(90deg, transparent, var(--accent-purple), transparent);
|
|
opacity: 0;
|
|
transition: opacity 0.3s;
|
|
}
|
|
.portal-tool-card:hover {
|
|
transform: translateY(-2px);
|
|
border-color: rgba(124, 77, 255, 0.2);
|
|
}
|
|
.portal-tool-card:hover::after { opacity: 1; }
|
|
|
|
/* ── Portal Landing: Disclaimer ── */
|
|
.portal-disclaimer {
|
|
border-top: 1px solid var(--surface-border);
|
|
padding: 4.5rem 0 0;
|
|
}
|
|
.portal-disclaimer-panel {
|
|
position: relative;
|
|
overflow: hidden;
|
|
padding: 2.2rem;
|
|
}
|
|
.portal-disclaimer-panel::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
height: 2px;
|
|
background: linear-gradient(90deg, var(--accent-dim), var(--accent), transparent);
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* ── Portal Landing: Responsive ── */
|
|
@media (max-width: 1180px) {
|
|
.portal-hero-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.portal-hero-voltage {
|
|
display: none;
|
|
}
|
|
.portal-cards {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
@media (max-width: 1024px) {
|
|
.portal-features-grid {
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
}
|
|
}
|
|
@media (max-width: 768px) {
|
|
.portal-container {
|
|
width: min(calc(100% - 1.5rem), 1440px);
|
|
}
|
|
.portal-nav-inner {
|
|
gap: 0.75rem;
|
|
}
|
|
.portal-nav-menu {
|
|
display: none;
|
|
}
|
|
.portal-nav-controls {
|
|
gap: 0.5rem;
|
|
}
|
|
.portal-hero {
|
|
min-height: auto;
|
|
padding: 2.75rem 0 4rem;
|
|
}
|
|
.portal-hero h1 {
|
|
font-size: clamp(2.7rem, 12vw, 4rem);
|
|
}
|
|
.portal-features-grid,
|
|
.portal-cards {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.portal-disclaimer-panel {
|
|
padding: 1.5rem;
|
|
}
|
|
}
|
|
|
|
/* Recharts overrides */
|
|
.recharts-cartesian-grid-horizontal line,
|
|
.recharts-cartesian-grid-vertical line {
|
|
stroke: var(--chart-grid) !important;
|
|
}
|
|
.recharts-text {
|
|
fill: var(--text-muted) !important;
|
|
}
|