FinMK / frontend /src /index.css
Kumar
Refactor: Exclude PDF and CSV files from Git to fix HF push error
24e6f5b
/* ============================================================
FINMK PREMIUM DESIGN SYSTEM — AURORA DEEP SPACE EDITION
Color Story: Deep Space Black → Electric Violet → Neon Cyan → Aurora Rose
============================================================ */
:root {
/* --- Core Brand Palette --- */
--primary: #6366f1;
--primary-light: #818cf8;
--primary-glow: rgba(99, 102, 241, 0.35);
--secondary: #8b5cf6;
--accent-cyan: #06b6d4;
--accent-rose: #f43f5e;
--accent-pink: #ec4899;
--accent-amber: #f59e0b;
--success: #10b981;
--success-light: #34d399;
/* --- Background Depths --- */
--bg-void: #0f1b27;
--bg-deep: #0b172c;
--bg-dark: #0a0f1e;
--bg-surface: #0f172a;
--bg-raised: #131b2e;
--bg-card: rgba(13, 21, 44, 0.75);
--bg-card-hover: rgba(12, 20, 42, 0.85);
/* --- Text Hierarchy --- */
--text-primary: #f0f4ff;
--text-main: #e2e8f0;
--text-secondary: #94a3b8;
--text-muted: #64748b;
--text-dim: #334155;
/* --- Glass & Borders --- */
--glass-border: rgba(255, 255, 255, 0.11);
--glass-border-glow: rgba(99, 102, 241, 0.3);
--glass-highlight: rgba(255, 255, 255, 0.07);
--glass-bg: rgba(20, 25, 60, 0.35);
--glass-bg-strong: rgba(14, 18, 45, 0.55);
/* Legacy alias */
--primary-color: var(--primary);
}
/* ============================================================
BASE RESET & TYPOGRAPHY
============================================================ */
*,
*::before,
*::after {
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
margin: 0;
font-family: 'Inter', 'SF Pro Display', system-ui, -apple-system, sans-serif;
background-color: var(--bg-void);
color: var(--text-main);
min-height: 100vh;
-webkit-font-smoothing: antialiased;
background-image:
radial-gradient(ellipse 90% 70% at 5% 5%, rgba(99, 102, 241, 0.22) 0%, transparent 55%),
radial-gradient(ellipse 70% 55% at 95% 90%, rgba(236, 72, 153, 0.18) 0%, transparent 55%),
radial-gradient(ellipse 55% 50% at 50% 50%, rgba(6, 182, 212, 0.10) 0%, transparent 60%),
radial-gradient(ellipse 40% 35% at 80% 15%, rgba(139, 92, 246, 0.14) 0%, transparent 55%);
background-attachment: fixed;
}
h1,
h2,
h3,
h4,
h5,
h6 {
margin-top: 0;
font-weight: 700;
}
/* ============================================================
TYPOGRAPHY UTILITIES
============================================================ */
.text-gradient {
background: linear-gradient(135deg, #818cf8 0%, #c084fc 40%, #f472b6 80%, #fb7185 100%);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
background-size: 300% auto;
animation: aurora-gradient 6s linear infinite;
}
.text-gradient-cyan {
background: linear-gradient(135deg, #06b6d4, #6366f1);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
.text-gradient-green {
background: linear-gradient(135deg, #34d399, #10b981);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
/* ============================================================
AURORA ANIMATIONS
============================================================ */
@keyframes aurora-gradient {
0% {
background-position: 0% 50%;
}
50% {
background-position: 100% 50%;
}
100% {
background-position: 0% 50%;
}
}
@keyframes blob {
0% {
transform: translate(0px, 0px) scale(1) rotate(0deg);
}
33% {
transform: translate(40px, -60px) scale(1.12) rotate(5deg);
}
66% {
transform: translate(-30px, 25px) scale(0.92) rotate(-3deg);
}
100% {
transform: translate(0px, 0px) scale(1) rotate(0deg);
}
}
@keyframes float {
0% {
transform: translateY(0px) rotate(0deg);
}
50% {
transform: translateY(-18px) rotate(4deg);
}
100% {
transform: translateY(0px) rotate(0deg);
}
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes fadeIn {
from {
opacity: 0;
}
to {
opacity: 1;
}
}
@keyframes glow-pulse {
0%,
100% {
box-shadow: 0 0 20px rgba(99, 102, 241, 0.3), 0 0 60px rgba(99, 102, 241, 0.1);
}
50% {
box-shadow: 0 0 40px rgba(99, 102, 241, 0.5), 0 0 80px rgba(99, 102, 241, 0.2);
}
}
@keyframes shimmer {
from {
background-position: -200% 0;
}
to {
background-position: 200% 0;
}
}
@keyframes pulse {
0%,
100% {
opacity: 1;
transform: scale(1);
box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
}
50% {
opacity: .7;
transform: scale(0.95);
box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
}
}
/* ============================================================
ANIMATION UTILITIES
============================================================ */
.animate-blob {
animation: blob 18s infinite ease-in-out;
}
.animate-float {
animation: float 7s ease-in-out infinite;
}
.animate-float-delayed {
animation: float 9s ease-in-out infinite;
animation-delay: 2.5s;
}
.animate-slide-up {
animation: slideUp 0.55s ease-out forwards;
}
.animate-fade-in {
animation: fadeIn 0.4s ease-out forwards;
}
.animate-pulse {
animation: pulse 2.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.animate-zoom-in {
animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.spinning {
animation: spin 0.65s linear infinite;
}
.animation-delay-2000 {
animation-delay: 2s;
}
.animation-delay-4000 {
animation-delay: 4s;
}
.delay-100 {
animation-delay: 100ms;
}
.delay-200 {
animation-delay: 200ms;
}
.delay-300 {
animation-delay: 300ms;
}
.delay-2000 {
animation-delay: 2s;
}
.delay-4000 {
animation-delay: 4s;
}
/* ============================================================
GLASSMORPHISM COMPONENTS
============================================================ */
.glass-panel {
background: linear-gradient(135deg,
rgba(99, 102, 241, 0.06) 0%,
rgba(20, 25, 60, 0.28) 50%,
rgba(6, 182, 212, 0.04) 100%);
backdrop-filter: blur(22px) saturate(200%) brightness(1.08);
-webkit-backdrop-filter: blur(22px) saturate(200%) brightness(1.08);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow:
0 4px 24px rgba(0, 0, 0, 0.2),
inset 0 1px 0 rgba(255, 255, 255, 0.09),
inset 0 0 40px rgba(99, 102, 241, 0.03);
border-radius: 14px;
}
.glass-pro {
background: linear-gradient(135deg,
rgba(99, 102, 241, 0.09) 0%,
rgba(14, 18, 45, 0.48) 50%,
rgba(139, 92, 246, 0.06) 100%);
backdrop-filter: blur(28px) saturate(220%) brightness(1.06);
-webkit-backdrop-filter: blur(28px) saturate(220%) brightness(1.06);
border: 1px solid rgba(255, 255, 255, 0.1);
box-shadow:
0 8px 40px rgba(0, 0, 0, 0.3),
0 0 0 1px rgba(255, 255, 255, 0.04),
inset 0 1px 0 rgba(255, 255, 255, 0.1),
inset 0 0 60px rgba(99, 102, 241, 0.04);
}
.glass-glow {
background: linear-gradient(135deg,
rgba(99, 102, 241, 0.12) 0%,
rgba(20, 25, 60, 0.3) 100%);
backdrop-filter: blur(24px) saturate(200%);
-webkit-backdrop-filter: blur(24px) saturate(200%);
border: 1px solid rgba(99, 102, 241, 0.25);
box-shadow:
0 8px 32px rgba(0, 0, 0, 0.25),
0 0 50px rgba(99, 102, 241, 0.1),
inset 0 1px 0 rgba(255, 255, 255, 0.09);
}
/* ============================================================
3D & HOVER EFFECTS
============================================================ */
.card-3d-wrapper {
perspective: 1200px;
}
.card-3d {
transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s;
transform-style: preserve-3d;
}
.card-3d:hover {
transform: rotateY(4deg) rotateX(4deg) translateZ(16px);
box-shadow:
-6px -6px 24px rgba(99, 102, 241, 0.3),
6px 6px 24px rgba(236, 72, 153, 0.3),
inset 0 0 30px rgba(255, 255, 255, 0.03);
}
.hover-scale {
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hover-scale:hover {
transform: translateY(-3px) scale(1.02);
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
}
/* ============================================================
BUTTONS — PREMIUM GRADIENT SYSTEM
============================================================ */
/* Primary — Electric Indigo → Violet → Aurora Purple */
.btn-primary {
background: linear-gradient(135deg,
#4f46e5 0%,
#6366f1 25%,
#7c3aed 60%,
#9333ea 85%,
#a855f7 100%);
color: white;
padding: 0.5rem 1rem;
border-radius: 8px;
border: none;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
text-decoration: none;
background-size: 200% auto;
position: relative;
overflow: hidden;
box-shadow:
0 4px 15px rgba(99, 102, 241, 0.4),
inset 0 1px 0 rgba(255, 255, 255, 0.18);
letter-spacing: 0.01em;
}
/* Inset highlight sheen */
.btn-primary::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 50%;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0%, transparent 100%);
pointer-events: none;
border-radius: inherit;
}
.btn-primary:hover {
background-position: right center;
transform: translateY(-2px);
box-shadow:
0 10px 30px rgba(99, 102, 241, 0.55),
0 0 60px rgba(139, 92, 246, 0.2),
inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.btn-primary:active {
transform: translateY(0);
box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}
/* Neon — animating aurora glow on hover */
.btn-neon {
position: relative;
background: linear-gradient(135deg,
#4f46e5 0%,
#6366f1 30%,
#8b5cf6 65%,
#a855f7 100%);
background-size: 200% auto;
color: white;
font-weight: 700;
border: none;
cursor: pointer;
z-index: 1;
transition: all 0.3s ease;
box-shadow:
0 4px 20px rgba(99, 102, 241, 0.45),
inset 0 1px 0 rgba(255, 255, 255, 0.18);
overflow: hidden;
}
/* Animated aurora glow halo */
.btn-neon::before {
content: '';
position: absolute;
top: -4px;
left: -4px;
right: -4px;
bottom: -4px;
background: linear-gradient(135deg, #6366f1, #a855f7, #ec4899, #06b6d4, #6366f1);
background-size: 400%;
z-index: -1;
filter: blur(14px);
opacity: 0;
transition: opacity 0.4s ease;
border-radius: inherit;
animation: aurora-gradient 6s linear infinite;
}
/* Inset top sheen */
.btn-neon::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 45%;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 100%);
pointer-events: none;
border-radius: inherit;
}
.btn-neon:hover::before {
opacity: 0.75;
}
.btn-neon:hover {
transform: translateY(-2px);
box-shadow:
0 12px 35px rgba(99, 102, 241, 0.55),
0 0 60px rgba(168, 85, 247, 0.3);
background-position: right center;
}
.btn-neon:active {
transform: translateY(0);
}
/* Outline — Glass tinted border */
.btn-outline {
background: linear-gradient(135deg,
rgba(99, 102, 241, 0.06) 0%,
rgba(255, 255, 255, 0.03) 100%);
border: 1px solid rgba(255, 255, 255, 0.14);
color: var(--text-main);
display: inline-flex;
align-items: center;
gap: 0.5rem;
text-decoration: none;
font-weight: 600;
transition: all 0.25s ease;
padding: 0.75rem 1.5rem;
font-size: 1rem;
border-radius: 99px;
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
position: relative;
overflow: hidden;
}
.btn-outline::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 50%;
background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, transparent 100%);
pointer-events: none;
border-radius: inherit;
}
.btn-outline:hover {
background: linear-gradient(135deg,
rgba(99, 102, 241, 0.15) 0%,
rgba(139, 92, 246, 0.08) 100%);
border-color: rgba(99, 102, 241, 0.4);
color: white;
transform: translateY(-1px);
box-shadow: 0 6px 20px rgba(99, 102, 241, 0.2);
}
/* Size modifier */
.btn-large {
padding: 0.8rem 1.75rem;
font-size: 1rem;
border-radius: 99px;
}
/* Success green — for confirm/save actions */
.btn-success {
background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
color: white;
border: none;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.15);
position: relative;
overflow: hidden;
}
.btn-success:hover {
transform: translateY(-2px);
box-shadow: 0 10px 28px rgba(16, 185, 129, 0.5);
}
/* Danger red — for delete/destructive actions */
.btn-danger {
background: linear-gradient(135deg, #be123c 0%, #f43f5e 50%, #fb7185 100%);
color: white;
border: none;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
box-shadow: 0 4px 15px rgba(244, 63, 94, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn-danger:hover {
transform: translateY(-2px);
box-shadow: 0 10px 28px rgba(244, 63, 94, 0.5);
}
/* Cyan — for neutral/info actions */
.btn-cyan {
background: linear-gradient(135deg, #0369a1 0%, #0ea5e9 50%, #38bdf8 100%);
color: white;
border: none;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
display: inline-flex;
align-items: center;
box-shadow: 0 4px 15px rgba(14, 165, 233, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}
.btn-cyan:hover {
transform: translateY(-2px);
box-shadow: 0 10px 28px rgba(14, 165, 233, 0.5);
}
/* ============================================================
FORM INPUTS
============================================================ */
.input-field {
background: rgba(41, 53, 83, 0.5);
border: 1px solid var(--glass-border);
color: var(--text-main);
padding: 0.55rem 0.85rem;
border-radius: 8px;
width: 100%;
box-sizing: border-box;
transition: all 0.2s ease;
font-family: inherit;
}
.input-field:focus {
outline: none;
border-color: var(--primary);
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
background: rgba(39, 51, 87, 0.7);
}
.input-field-pro {
background: rgba(38, 49, 80, 0.55);
border: 1px solid var(--glass-border);
color: var(--text-main);
padding: 0.75rem 1rem 0.75rem 2.8rem;
border-radius: 10px;
width: 100%;
box-sizing: border-box;
transition: all 0.25s ease;
font-size: 0.95rem;
font-family: inherit;
}
.input-field-pro:focus {
outline: none;
border-color: var(--primary-light);
background: rgba(42, 52, 83, 0.7);
box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12), 0 2px 12px rgba(99, 102, 241, 0.1);
}
.input-field-pro:focus+.auth-input-icon {
color: var(--primary-light);
}
/* ============================================================
AUTH INPUTS
============================================================ */
.auth-input-group {
position: relative;
margin-bottom: 1.25rem;
}
.auth-input-icon {
position: absolute;
left: 1rem;
top: 50%;
transform: translateY(-50%);
color: var(--text-muted);
pointer-events: none;
transition: color 0.2s;
}
/* ============================================================
LAYOUT
============================================================ */
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0.75rem 1rem;
}
/* ============================================================
HOME CONTAINER & BACKGROUND FX
============================================================ */
.home-container {
min-height: 100vh;
position: relative;
overflow-x: hidden;
background: var(--bg-void);
}
.bg-blobs {
position: fixed;
inset: 0;
z-index: 0;
overflow: hidden;
pointer-events: none;
}
.blob {
position: absolute;
border-radius: 50%;
filter: blur(90px);
opacity: 0.35;
}
/* Electric Violet — top-left */
.blob-1 {
top: -15%;
left: -10%;
width: 55%;
height: 55%;
background: radial-gradient(circle, #7c3aed 0%, #4f46e5 50%, transparent 70%);
}
/* Neon Cyan — top-right */
.blob-2 {
top: 5%;
right: -12%;
width: 45%;
height: 45%;
background: radial-gradient(circle, #0891b2 0%, #06b6d4 40%, transparent 70%);
}
/* Aurora Rose — bottom-center */
.blob-3 {
bottom: -15%;
left: 15%;
width: 65%;
height: 55%;
background: radial-gradient(circle, #be185d 0%, #9333ea 40%, transparent 70%);
}
.grid-overlay {
background-image:
linear-gradient(rgba(148, 163, 184, 0.03) 1px, transparent 1px),
linear-gradient(90deg, rgba(148, 163, 184, 0.03) 1px, transparent 1px);
background-size: 48px 48px;
position: absolute;
inset: 0;
opacity: 0.6;
}
/* ============================================================
NAVBAR
============================================================ */
.navbar {
position: fixed;
top: 0;
left: 0;
right: 0;
padding: 0.6rem 0;
z-index: 1000;
transition: all 0.35s ease;
background: transparent;
}
.navbar.scrolled {
background: rgba(2, 6, 23, 0.92);
backdrop-filter: blur(20px) saturate(200%);
-webkit-backdrop-filter: blur(20px) saturate(200%);
border-bottom: 1px solid rgba(255, 255, 255, 0.06);
padding: 0.35rem 0;
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}
.nav-content {
display: flex;
justify-content: space-between;
align-items: center;
}
.brand {
display: flex;
align-items: center;
gap: 0.6rem;
font-weight: 800;
font-size: 1.3rem;
color: white;
text-decoration: none;
letter-spacing: -0.01em;
}
.brand-icon {
background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
padding: 0.35rem;
border-radius: 8px;
color: white;
display: flex;
box-shadow: 0 4px 14px rgba(99, 102, 241, 0.4);
}
.brand-icon svg {
width: 22px;
height: 22px;
}
.nav-links {
display: none;
gap: 2.5rem;
}
.nav-links a {
color: var(--text-secondary);
text-decoration: none;
font-weight: 500;
transition: color 0.2s;
font-size: 0.95rem;
letter-spacing: 0.01em;
}
.nav-links a:hover {
color: var(--text-primary);
}
.nav-actions {
display: flex;
gap: 0.75rem;
align-items: center;
}
.link-login {
color: var(--text-secondary);
text-decoration: none;
font-weight: 500;
transition: color 0.2s;
}
.link-login:hover {
color: white;
}
@media (min-width: 768px) {
.nav-links {
display: flex;
}
}
/* ============================================================
HERO SECTION
============================================================ */
.hero {
padding-top: 6rem;
padding-bottom: 5rem;
text-align: center;
position: relative;
z-index: 1;
}
.badge {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.4rem 1rem;
background: rgba(99, 102, 241, 0.08);
border: 1px solid rgba(99, 102, 241, 0.25);
border-radius: 99px;
color: var(--primary-light);
font-size: 0.85rem;
margin-bottom: 1.75rem;
backdrop-filter: blur(8px);
font-weight: 500;
letter-spacing: 0.02em;
}
.hero-title {
font-size: 2.8rem;
line-height: 1.08;
font-weight: 900;
margin-bottom: 1.25rem;
letter-spacing: -0.03em;
color: var(--text-primary);
}
.hero-subtitle {
font-size: 1.05rem;
color: var(--text-secondary);
max-width: 560px;
margin: 0 auto 2rem auto;
line-height: 1.65;
}
.hero-buttons {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
}
@media (min-width: 768px) {
.hero-title {
font-size: 5rem;
}
.hero-subtitle {
font-size: 1.35rem;
}
}
/* ============================================================
MOCKUP
============================================================ */
.mockup-container {
margin-top: 4.5rem;
perspective: 1200px;
max-width: 900px;
margin-left: auto;
margin-right: auto;
}
.mockup-card {
background: linear-gradient(145deg, #0e1628 0%, #090e1c 100%);
border-radius: 14px;
border: 1px solid rgba(255, 255, 255, 0.08);
transform: rotateX(8deg);
box-shadow:
0 40px 80px -20px rgba(0, 0, 0, 0.7),
0 0 60px rgba(99, 102, 241, 0.12),
0 0 120px rgba(99, 102, 241, 0.06);
overflow: hidden;
}
.mockup-img {
width: 100%;
display: block;
opacity: 0.85;
}
.floating-card {
position: absolute;
background: rgba(4, 9, 22, 0.9);
padding: 0.75rem 1rem;
border-radius: 12px;
border: 1px solid rgba(255, 255, 255, 0.08);
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.1);
display: flex;
align-items: center;
gap: 0.75rem;
backdrop-filter: blur(16px);
}
.float-1 {
top: 2rem;
left: -2rem;
}
.float-2 {
bottom: 3rem;
right: -1rem;
}
/* ============================================================
FEATURES SECTION
============================================================ */
.features-section {
padding: 5rem 0;
position: relative;
z-index: 1;
}
.section-header {
text-align: center;
margin-bottom: 3.5rem;
}
.section-title {
font-size: 2.5rem;
font-weight: 800;
margin-bottom: 1rem;
color: var(--text-primary);
letter-spacing: -0.02em;
}
.section-subtitle {
color: var(--text-secondary);
font-size: 1.1rem;
max-width: 500px;
margin: 0 auto;
}
.features-grid {
display: grid;
grid-template-columns: 1fr;
gap: 1.5rem;
}
@media (min-width: 768px) {
.features-grid {
grid-template-columns: repeat(3, 1fr);
}
}
.feature-card {
background: var(--glass-bg);
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
border: 1px solid var(--glass-border);
border-radius: 16px;
padding: 1.75rem;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.feature-card::before {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
pointer-events: none;
}
.feature-card:hover {
transform: translateY(-6px);
border-color: rgba(99, 102, 241, 0.2);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(99, 102, 241, 0.08);
}
.icon-box {
width: 48px;
height: 48px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 1rem;
color: white;
}
.feature-title {
font-size: 1.1rem;
font-weight: 700;
margin-bottom: 0.5rem;
color: var(--text-primary);
letter-spacing: -0.01em;
}
.feature-desc {
color: var(--text-secondary);
line-height: 1.65;
font-size: 0.9rem;
}
/* Icon Gradients — PREMIUM PALETTE */
.grad-blue {
background: linear-gradient(135deg, #0ea5e9, #6366f1);
box-shadow: 0 4px 14px rgba(14, 165, 233, 0.35);
}
.grad-green {
background: linear-gradient(135deg, #10b981, #06b6d4);
box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}
.grad-orange {
background: linear-gradient(135deg, #f59e0b, #ef4444);
box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}
.grad-purple {
background: linear-gradient(135deg, #8b5cf6, #ec4899);
box-shadow: 0 4px 14px rgba(139, 92, 246, 0.35);
}
.grad-indigo {
background: linear-gradient(135deg, #6366f1, #3b82f6);
box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35);
}
.grad-red {
background: linear-gradient(135deg, #f43f5e, #f97316);
box-shadow: 0 4px 14px rgba(244, 63, 94, 0.35);
}
.grad-cyan {
background: linear-gradient(135deg, #06b6d4, #3b82f6);
box-shadow: 0 4px 14px rgba(6, 182, 212, 0.35);
}
.grad-violet {
background: linear-gradient(135deg, #7c3aed, #a855f7);
box-shadow: 0 4px 14px rgba(124, 58, 237, 0.35);
}
/* ============================================================
CTA SECTION
============================================================ */
.cta-section {
text-align: center;
padding: 5rem 0;
position: relative;
background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.05) 50%, transparent 100%);
}
/* ============================================================
FOOTER
============================================================ */
.footer {
background: rgba(2, 6, 23, 0.98);
border-top: 1px solid rgba(255, 255, 255, 0.05);
padding: 2.5rem 0 1.5rem 0;
position: relative;
z-index: 10;
}
.footer-grid {
display: grid;
grid-template-columns: 1fr;
gap: 2.5rem;
margin-bottom: 2.5rem;
}
@media (min-width: 1024px) {
.footer-grid {
grid-template-columns: 2fr 1fr 1fr 1.5fr;
}
}
.footer h4 {
color: var(--text-primary);
margin-bottom: 1.25rem;
font-size: 0.8rem;
font-weight: 600;
letter-spacing: 0.1em;
text-transform: uppercase;
background: none;
-webkit-text-fill-color: var(--text-primary);
}
.footer ul {
list-style: none;
padding: 0;
margin: 0;
}
.footer li {
margin-bottom: 0.6rem;
}
.footer a {
color: var(--text-muted);
text-decoration: none;
transition: all 0.2s;
font-size: 0.9rem;
display: inline-block;
}
.footer a:hover {
color: var(--primary-light);
transform: translateX(4px);
}
.social-links {
display: flex;
gap: 0.75rem;
margin-top: 1.25rem;
}
.social-icon {
color: var(--text-muted);
transition: all 0.25s;
background: rgba(255, 255, 255, 0.04);
border: 1px solid rgba(255, 255, 255, 0.06);
padding: 0.45rem;
border-radius: 8px;
display: flex;
}
.social-icon:hover {
color: white;
background: var(--primary);
border-color: var(--primary);
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}
.newsletter-form {
display: flex;
gap: 0.5rem;
margin-top: 0.75rem;
position: relative;
z-index: 20;
}
.copyright {
text-align: center;
color: var(--text-dim);
font-size: 0.85rem;
border-top: 1px solid rgba(255, 255, 255, 0.04);
padding-top: 1.5rem;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 1rem;
}
/* ============================================================
STAT CARD
============================================================ */
.stat-card {
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.stat-card:hover {
transform: translateY(-3px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}
/* ============================================================
SCROLLBAR
============================================================ */
::-webkit-scrollbar {
width: 6px;
height: 6px;
}
::-webkit-scrollbar-track {
background: rgba(255, 255, 255, 0.03);
}
::-webkit-scrollbar-thumb {
background: rgba(99, 102, 241, 0.35);
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: rgba(99, 102, 241, 0.6);
}
/* ============================================================
LOADING SPINNER
============================================================ */
.spinner {
width: 38px;
height: 38px;
border: 3px solid rgba(255, 255, 255, 0.08);
border-top-color: var(--primary);
border-radius: 50%;
animation: spin 0.75s linear infinite;
}
/* ============================================================
SCROLL REVEAL
============================================================ */
.reveal-on-scroll {
opacity: 0;
transform: translateY(28px);
transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-on-scroll.visible {
opacity: 1;
transform: translateY(0);
}
/* ============================================================
CUSTOM RANGE SLIDER
============================================================ */
input[type=range] {
-webkit-appearance: none;
width: 100%;
background: transparent;
}
input[type=range]::-webkit-slider-thumb {
-webkit-appearance: none;
height: 20px;
width: 20px;
border-radius: 50%;
background: white;
border: 2px solid var(--primary);
cursor: pointer;
margin-top: -8px;
box-shadow: 0 0 12px rgba(99, 102, 241, 0.5);
}
input[type=range]::-webkit-slider-runnable-track {
width: 100%;
height: 4px;
cursor: pointer;
background: rgba(255, 255, 255, 0.1);
border-radius: 2px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
}
.simulator-slider {
position: relative;
z-index: 100;
cursor: pointer;
touch-action: none;
height: 40px;
padding: 0;
margin: 8px 0;
pointer-events: auto !important;
}
/* ============================================================
MANUAL INPUT (Savings Simulator)
============================================================ */
.manual-input {
background: transparent;
border: none;
font-family: inherit;
font-size: 2.5rem;
font-weight: 800;
width: auto;
min-width: 100px;
max-width: 300px;
text-align: left;
padding: 0;
margin: 0 0 0 0.5rem;
outline: none;
}
.manual-input:focus {
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.manual-input::-webkit-outer-spin-button,
.manual-input::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.manual-input[type=number] {
-moz-appearance: textfield;
}
/* ============================================================
TABLE HOVER
============================================================ */
.hover-row {
transition: background 0.2s ease, transform 0.15s ease;
}
.hover-row:hover {
background: rgba(99, 102, 241, 0.06) !important;
transform: scale(1.005);
box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
z-index: 10;
position: relative;
}
/* ============================================================
DATE INPUTS
============================================================ */
input[type="date"],
input[type="month"] {
color-scheme: dark;
cursor: pointer;
padding: 0.5rem 0.75rem !important;
height: auto;
line-height: 1.2;
}
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="month"]::-webkit-calendar-picker-indicator {
filter: invert(1) brightness(2);
cursor: pointer;
opacity: 0.8;
width: 14px;
height: 14px;
margin-left: 4px;
}
input[type="date"]::-webkit-calendar-picker-indicator:hover,
input[type="month"]::-webkit-calendar-picker-indicator:hover {
opacity: 1;
}
input[type="date"]::-webkit-datetime-edit,
input[type="month"]::-webkit-datetime-edit {
color: white;
padding: 0;
}
input[type="date"]::-webkit-datetime-edit-fields-wrapper,
input[type="month"]::-webkit-datetime-edit-fields-wrapper {
color: white;
padding: 0;
}
input[type="date"]::-webkit-datetime-edit-year-field,
input[type="date"]::-webkit-datetime-edit-month-field,
input[type="date"]::-webkit-datetime-edit-day-field,
input[type="month"]::-webkit-datetime-edit-year-field,
input[type="month"]::-webkit-datetime-edit-month-field {
color: white;
padding: 0 2px;
}
input[type="date"]::-webkit-datetime-edit-text,
input[type="month"]::-webkit-datetime-edit-text {
color: transparent;
padding: 0 2px;
}
input[type="date"]:invalid,
input[type="month"]:invalid {
color: var(--text-muted);
}
/* ============================================================
AURORA BG ANIMATION (text)
============================================================ */
.animate-aurora {
background: linear-gradient(135deg, #818cf8, #a855f7, #ec4899, #f43f5e, #818cf8);
background-size: 300% 100%;
animation: aurora-gradient 5s linear infinite;
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
/* ============================================================
BACKGROUND GRID PATTERN UTILITY
============================================================ */
.bg-grid-pattern {
background-size: 50px 50px;
background-image:
linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
}
/* ============================================================
PREMIUM GLOW UTILITIES
============================================================ */
.glow-indigo {
box-shadow: 0 0 30px rgba(99, 102, 241, 0.3);
}
.glow-cyan {
box-shadow: 0 0 30px rgba(6, 182, 212, 0.3);
}
.glow-rose {
box-shadow: 0 0 30px rgba(244, 63, 94, 0.3);
}
.glow-green {
box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}
.section-glow-divider {
height: 1px;
background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), rgba(6, 182, 212, 0.3), transparent);
margin: 0;
}
/* ============================================================
APP LAYER — DASHBOARD & PAGES PREMIUM OVERRIDES
============================================================ */
/* Ensure body keeps deep-space bg on ALL pages */
body {
background-color: var(--bg-void);
background-attachment: fixed;
}
/* Dashboard container */
.container {
max-width: 1280px;
margin: 0 auto;
padding: 0.75rem 1.25rem;
}
/* Animated violet-to-cyan gradient border on focus/hover elements */
@keyframes border-aurora {
0% {
border-color: rgba(99, 102, 241, 0.4);
}
33% {
border-color: rgba(6, 182, 212, 0.4);
}
66% {
border-color: rgba(236, 72, 153, 0.3);
}
100% {
border-color: rgba(99, 102, 241, 0.4);
}
}
.glass-panel:focus-within,
.glass-pro:focus-within {
animation: border-aurora 4s linear infinite;
}
/* Premium stat card gradient borders */
.stat-card {
position: relative;
overflow: hidden;
}
.stat-card::after {
content: '';
position: absolute;
inset: 0;
background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
pointer-events: none;
border-radius: inherit;
}
/* Dashboard header heading override — ensure text-gradient class picks up correct colors */
h1.dashboard-title,
.app-page-title {
font-size: 1.75rem;
font-weight: 800;
letter-spacing: -0.03em;
background: linear-gradient(135deg, #f0f4ff, #94a3b8);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
/* Premium glass cards on app pages */
.glass-panel,
.glass-pro {
transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.glass-panel:hover {
border-color: rgba(99, 102, 241, 0.15);
box-shadow:
0 8px 32px rgba(0, 0, 0, 0.4),
0 0 20px rgba(99, 102, 241, 0.05),
inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
/* Premium scrollbar for app pages */
.container ::-webkit-scrollbar {
width: 5px;
}
.container ::-webkit-scrollbar-thumb {
background: rgba(99, 102, 241, 0.4);
border-radius: 4px;
}
/* Neon progress bar */
.progress-bar-premium {
height: 4px;
border-radius: 2px;
background: linear-gradient(90deg, #6366f1, #06b6d4, #8b5cf6);
background-size: 200% auto;
animation: aurora-gradient 3s linear infinite;
}
/* Premium badge inside app pages */
.badge-pro {
display: inline-flex;
align-items: center;
gap: 0.35rem;
padding: 0.25rem 0.65rem;
background: rgba(99, 102, 241, 0.1);
border: 1px solid rgba(99, 102, 241, 0.2);
border-radius: 99px;
color: var(--primary-light);
font-size: 0.75rem;
font-weight: 600;
letter-spacing: 0.03em;
}
/* Live indicator dot */
.live-dot {
display: inline-block;
width: 8px;
height: 8px;
background: #10b981;
border-radius: 50%;
box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
animation: pulse 2s ease infinite;
}
/* Premium table */
table {
border-collapse: collapse;
width: 100%;
}
th {
color: var(--text-muted);
font-weight: 600;
font-size: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.08em;
padding: 0.65rem;
}
td {
padding: 0.65rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}
/* Premium modal overlay */
.modal-overlay {
background: rgba(2, 6, 23, 0.85);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
}
/* Tooltip */
.tooltip {
background: var(--bg-raised);
border: 1px solid var(--glass-border);
color: var(--text-main);
padding: 0.35rem 0.65rem;
border-radius: 6px;
font-size: 0.8rem;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
/* Tabs */
.tab-btn {
background: none;
border: none;
color: var(--text-muted);
padding: 0.45rem 0.85rem;
border-radius: 8px;
cursor: pointer;
font-size: 0.875rem;
font-weight: 500;
transition: all 0.2s;
display: flex;
align-items: center;
gap: 0.5rem;
}
.tab-btn.active {
background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(139, 92, 246, 0.1));
color: var(--primary-light);
border: 1px solid rgba(99, 102, 241, 0.25);
}
.tab-btn:hover:not(.active) {
background: rgba(255, 255, 255, 0.04);
color: var(--text-primary);
}
/* Flash animation for value updates */
@keyframes value-flash {
0% {
color: #34d399;
}
100% {
color: inherit;
}
}
.value-updated {
animation: value-flash 1s ease forwards;
}
/* ============================================================
LEGACY COMPAT (keeps old class names working)
============================================================ */
/* Fixed: was incorrectly using reverse, now properly slides in from top */
@keyframes slideDown {
from {
opacity: 0;
transform: translateY(-20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-slide-down {
animation: slideDown 0.45s ease-out forwards;
}
.animate-fade-in {
animation: fadeIn 0.3s ease-out forwards;
}
/* ============================================================
DASHBOARD / APP PAGE — AURORA BACKGROUND WRAPPER
============================================================ */
/* Wrap the entire app page (dashboard, analytics etc) with aurora bg */
.app-page {
position: relative;
min-height: 100vh;
}
/* The fixed aurora layer that sits behind all app content */
.app-page-bg {
position: fixed;
inset: 0;
z-index: -1;
overflow: hidden;
pointer-events: none;
}
/* Aurora orb 1 — violet top-left */
.app-page-bg::before {
content: '';
position: absolute;
top: -120px;
left: -80px;
width: 600px;
height: 600px;
background: radial-gradient(circle at center,
rgba(99, 102, 241, 0.18) 0%,
rgba(139, 92, 246, 0.10) 40%,
transparent 70%);
filter: blur(40px);
animation: blob 20s ease-in-out infinite;
}
/* Aurora orb 2 — cyan top-right */
.app-page-bg::after {
content: '';
position: absolute;
top: 50px;
right: -100px;
width: 500px;
height: 500px;
background: radial-gradient(circle at center,
rgba(6, 182, 212, 0.12) 0%,
rgba(14, 165, 233, 0.07) 40%,
transparent 70%);
filter: blur(50px);
animation: blob 25s ease-in-out infinite;
animation-delay: -8s;
}
/* Aurora orb 3 — rose bottom right (uses a regular div inside .app-page-bg) */
.aurora-orb-bottom {
position: absolute;
bottom: 80px;
right: 100px;
width: 450px;
height: 450px;
background: radial-gradient(circle at center,
rgba(236, 72, 153, 0.10) 0%,
rgba(244, 63, 94, 0.06) 40%,
transparent 70%);
filter: blur(50px);
animation: blob 22s ease-in-out infinite;
animation-delay: -14s;
pointer-events: none;
}
/* Aurora orb 4 — violet bottom-left */
.aurora-orb-left {
position: absolute;
bottom: 200px;
left: 10%;
width: 380px;
height: 380px;
background: radial-gradient(circle at center,
rgba(139, 92, 246, 0.09) 0%,
transparent 70%);
filter: blur(45px);
animation: blob 28s ease-in-out infinite;
animation-delay: -5s;
pointer-events: none;
}
/* Fine grid overlay for app pages */
.app-page-bg .grid-overlay {
position: absolute;
inset: 0;
background-image:
linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
background-size: 48px 48px;
}