mirror of
https://github.com/thecyberlearn/quantum-ai-v2.git
synced 2026-08-18 16:32:58 +00:00
- Add missing CSS gradient variables to fix white/invisible text sections - Add --text-light, --badge-purple, --badge-orange variables - Fix button hover effects to use brightness filter instead of solid colors - Apply consistent hover behavior across homepage, marketplace, and wallet pages - Improve visual hierarchy with subtle section gradients 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
535 lines
11 KiB
CSS
535 lines
11 KiB
CSS
/* Base Styles for NetCop Hub */
|
|
|
|
/* Unified Color System */
|
|
:root {
|
|
/* Primary Colors */
|
|
--primary-blue: #3b82f6;
|
|
--primary-dark: #1d4ed8;
|
|
--primary-light: #60a5fa;
|
|
|
|
/* Secondary Colors */
|
|
--success-green: #10b981;
|
|
--success-dark: #059669;
|
|
--warning-orange: #f59e0b;
|
|
--error-red: #ef4444;
|
|
|
|
/* Neutral Colors */
|
|
--text-primary: #1f2937;
|
|
--text-secondary: #6b7280;
|
|
--text-light: #6b7280;
|
|
--text-muted: #9ca3af;
|
|
--border-light: #e5e7eb; /* For subtle dividers */
|
|
--border-medium: #9ca3af; /* For form elements and visible borders */
|
|
--border-strong: #6b7280; /* For interactive elements that need clear definition */
|
|
--background-page: #f8fafc;
|
|
--background-card: #ffffff;
|
|
--background-light: #f9fafb;
|
|
--background-subtle: #f3f4f6;
|
|
|
|
/* Gradients */
|
|
--gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
|
|
--gradient-success: linear-gradient(135deg, var(--success-green) 0%, var(--success-dark) 100%);
|
|
--gradient-hero: linear-gradient(135deg, #f6f8ff 0%, #e8f0fe 50%, #f0f7ff 100%);
|
|
|
|
/* Section Gradients */
|
|
--primary-gradient: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
|
|
--company-gradient: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
|
|
--visual-gradient: linear-gradient(135deg, var(--primary-blue) 0%, #6366f1 100%);
|
|
--services-gradient: linear-gradient(135deg, #fefefe 0%, #f0f9ff 100%);
|
|
--clients-gradient: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
|
|
--founder-gradient: linear-gradient(135deg, var(--primary-blue) 0%, #4f46e5 100%);
|
|
--contact-gradient: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
|
|
--text-gradient: linear-gradient(135deg, var(--primary-blue) 0%, #6366f1 100%);
|
|
|
|
/* Badge Colors */
|
|
--badge-purple: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
|
|
--badge-orange: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
|
|
|
|
/* Professional Avatar Gradients (Limited Set) */
|
|
--gradient-blue: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
|
|
--gradient-green: linear-gradient(135deg, var(--success-green) 0%, var(--success-dark) 100%);
|
|
--gradient-slate: linear-gradient(135deg, #64748b 0%, #475569 100%);
|
|
--gradient-neutral: linear-gradient(135deg, #6b7280 0%, #374151 100%);
|
|
}
|
|
|
|
body {
|
|
font-family: 'Inter', Arial, sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: var(--background-page);
|
|
overflow-x: hidden;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.header {
|
|
background: var(--background-card);
|
|
border-bottom: 1px solid var(--border-light);
|
|
width: 100%;
|
|
}
|
|
|
|
.header-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 15px 20px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.header-left {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.logo-section {
|
|
display: flex;
|
|
align-items: center;
|
|
text-decoration: none;
|
|
margin-right: 30px;
|
|
}
|
|
|
|
.logo-img {
|
|
width: auto;
|
|
height: 60px;
|
|
object-fit: contain;
|
|
}
|
|
|
|
.header-nav {
|
|
display: flex;
|
|
gap: 24px;
|
|
align-items: center;
|
|
}
|
|
|
|
.nav-link {
|
|
text-decoration: none;
|
|
color: var(--text-secondary);
|
|
font-weight: 500;
|
|
font-size: 16px;
|
|
padding: 8px 12px;
|
|
border-radius: 6px;
|
|
transition: all 0.2s ease;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.nav-link:hover {
|
|
color: var(--primary-blue);
|
|
background: rgba(59, 130, 246, 0.05);
|
|
}
|
|
|
|
.nav-link.active {
|
|
color: var(--primary-blue);
|
|
background: rgba(59, 130, 246, 0.1);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.user-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.user-welcome {
|
|
color: var(--text-primary);
|
|
font-weight: 500;
|
|
margin: 0;
|
|
}
|
|
|
|
.balance {
|
|
background: var(--gradient-success);
|
|
color: white;
|
|
padding: 8px 16px;
|
|
border-radius: 20px;
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
text-decoration: none;
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.balance:hover {
|
|
transform: translateY(-1px);
|
|
color: white;
|
|
}
|
|
|
|
.auth-links {
|
|
display: flex;
|
|
gap: 15px;
|
|
}
|
|
|
|
.auth-links a {
|
|
text-decoration: none;
|
|
color: var(--text-secondary);
|
|
font-weight: 500;
|
|
padding: 8px 12px;
|
|
border-radius: 6px;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.auth-links a:hover {
|
|
color: var(--primary-blue);
|
|
background: rgba(59, 130, 246, 0.05);
|
|
}
|
|
|
|
/* More specific selector for auth links active state */
|
|
.header .auth-links a.active {
|
|
color: var(--primary-blue) !important;
|
|
background: rgba(59, 130, 246, 0.1) !important;
|
|
font-weight: 600 !important;
|
|
}
|
|
|
|
/* Fallback with higher specificity */
|
|
.header-container .auth-links a.active {
|
|
color: var(--primary-blue) !important;
|
|
background: rgba(59, 130, 246, 0.1) !important;
|
|
font-weight: 600 !important;
|
|
}
|
|
|
|
.main-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
}
|
|
|
|
/* Footer Styles */
|
|
.footer {
|
|
padding: clamp(30px, 5vw, 40px) clamp(16px, 4vw, 24px) clamp(20px, 3vw, 30px);
|
|
background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
|
|
margin: 0;
|
|
width: 100%;
|
|
position: relative;
|
|
overflow-x: hidden;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.footer-container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
padding: 0 clamp(16px, 4vw, 24px);
|
|
}
|
|
|
|
.footer-main {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
gap: clamp(24px, 6vw, 64px);
|
|
margin-bottom: clamp(16px, 4vw, 24px);
|
|
flex-wrap: wrap;
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.footer-company {
|
|
flex: 1;
|
|
min-width: 280px;
|
|
max-width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.footer-logo {
|
|
width: auto;
|
|
height: 60px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
margin-bottom: clamp(12px, 3vw, 16px);
|
|
}
|
|
|
|
.footer-logo-img {
|
|
width: auto;
|
|
height: 60px;
|
|
object-fit: contain;
|
|
border-radius: 8px;
|
|
filter: brightness(0) invert(1);
|
|
}
|
|
|
|
.footer-description {
|
|
color: var(--text-muted);
|
|
font-size: clamp(12px, 3vw, 14px);
|
|
line-height: 1.6;
|
|
margin: 0 0 clamp(8px, 2vw, 12px) 0;
|
|
}
|
|
|
|
.footer-contact {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: clamp(4px, 1vw, 8px);
|
|
}
|
|
|
|
.footer-contact-item {
|
|
color: #e5e7eb;
|
|
font-size: clamp(10px, 2.5vw, 12px);
|
|
text-decoration: none;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.footer-contact-item:hover {
|
|
color: #40E0D0;
|
|
}
|
|
|
|
.footer-nav {
|
|
display: flex;
|
|
gap: clamp(24px, 6vw, 64px);
|
|
align-items: flex-start;
|
|
flex-wrap: wrap;
|
|
max-width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.footer-nav-section {
|
|
text-align: right;
|
|
}
|
|
|
|
.footer-nav-title {
|
|
font-size: clamp(14px, 3.5vw, 18px);
|
|
font-weight: 600;
|
|
color: white;
|
|
margin-bottom: clamp(8px, 2vw, 12px);
|
|
margin: 0 0 clamp(8px, 2vw, 12px) 0;
|
|
}
|
|
|
|
.footer-nav-links {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: clamp(4px, 1vw, 8px);
|
|
}
|
|
|
|
.footer-nav-link {
|
|
color: var(--text-muted);
|
|
text-decoration: none;
|
|
font-size: clamp(10px, 2.5vw, 12px);
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.footer-nav-link:hover {
|
|
color: #40E0D0;
|
|
transform: translateX(-2px);
|
|
}
|
|
|
|
.footer-bottom {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
border-top: 1px solid rgba(148, 163, 184, 0.2);
|
|
padding-top: clamp(16px, 4vw, 24px);
|
|
flex-wrap: wrap;
|
|
gap: clamp(12px, 3vw, 16px);
|
|
width: 100%;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.footer-copyright {
|
|
color: var(--text-secondary);
|
|
margin: 0;
|
|
font-size: clamp(10px, 2.5vw, 12px);
|
|
}
|
|
|
|
.footer-legal {
|
|
display: flex;
|
|
gap: clamp(16px, 4vw, 24px);
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.footer-legal-link {
|
|
color: var(--text-muted);
|
|
text-decoration: none;
|
|
font-size: clamp(10px, 2.5vw, 12px);
|
|
transition: color 0.2s ease;
|
|
cursor: pointer;
|
|
background: none;
|
|
border: none;
|
|
padding: 0;
|
|
}
|
|
|
|
.footer-legal-link:hover {
|
|
color: #40E0D0;
|
|
}
|
|
|
|
/* Privacy Modal Styles */
|
|
.modal-overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
background: rgba(0, 0, 0, 0.5);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
opacity: 0;
|
|
visibility: hidden;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.modal-overlay.active {
|
|
opacity: 1;
|
|
visibility: visible;
|
|
}
|
|
|
|
.modal-content {
|
|
background: white;
|
|
border-radius: 16px;
|
|
padding: clamp(20px, 5vw, 32px);
|
|
width: 90%;
|
|
max-width: 600px;
|
|
max-height: 80vh;
|
|
overflow: auto;
|
|
position: relative;
|
|
transform: scale(0.98);
|
|
transition: transform 0.2s ease;
|
|
}
|
|
|
|
.modal-overlay.active .modal-content {
|
|
transform: scale(1);
|
|
}
|
|
|
|
.modal-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: clamp(16px, 4vw, 20px);
|
|
}
|
|
|
|
.modal-title {
|
|
font-size: clamp(18px, 4.5vw, 24px);
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
margin: 0;
|
|
}
|
|
|
|
.modal-close {
|
|
background: none;
|
|
border: none;
|
|
font-size: 24px;
|
|
cursor: pointer;
|
|
color: #6b7280;
|
|
padding: 4px;
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.modal-close:hover {
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.modal-text {
|
|
color: var(--text-secondary);
|
|
line-height: 1.6;
|
|
font-size: clamp(14px, 3.5vw, 16px);
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 768px) {
|
|
.header-container {
|
|
padding: 12px 16px;
|
|
}
|
|
|
|
.logo-section {
|
|
margin-right: 1.5rem;
|
|
}
|
|
|
|
.header-nav {
|
|
gap: 1rem;
|
|
}
|
|
|
|
.nav-link {
|
|
font-size: 14px;
|
|
padding: 0.4rem 0;
|
|
}
|
|
|
|
.logo-img {
|
|
height: 60px;
|
|
}
|
|
|
|
.user-info {
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.auth-links {
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.user-welcome {
|
|
display: none;
|
|
}
|
|
|
|
/* Footer responsive */
|
|
.footer-main {
|
|
flex-direction: column;
|
|
gap: clamp(20px, 5vw, 32px);
|
|
}
|
|
|
|
.footer-company {
|
|
min-width: auto;
|
|
width: 100%;
|
|
}
|
|
|
|
.footer-nav {
|
|
justify-content: space-between;
|
|
width: 100%;
|
|
gap: clamp(16px, 4vw, 32px);
|
|
}
|
|
|
|
.footer-nav-section {
|
|
text-align: left;
|
|
flex: 1;
|
|
}
|
|
|
|
.footer-bottom {
|
|
flex-direction: column;
|
|
text-align: center;
|
|
gap: clamp(8px, 2vw, 12px);
|
|
}
|
|
|
|
.footer-legal {
|
|
justify-content: center;
|
|
gap: clamp(12px, 3vw, 16px);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.header-container {
|
|
padding: 8px 12px;
|
|
}
|
|
|
|
.logo-section {
|
|
margin-right: 1rem;
|
|
}
|
|
|
|
.header-nav {
|
|
gap: 0.75rem;
|
|
}
|
|
|
|
.nav-link {
|
|
padding: 0.3rem 0;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.logo-img {
|
|
height: 60px;
|
|
}
|
|
|
|
.user-info {
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
/* Footer mobile responsive */
|
|
.footer-nav {
|
|
flex-direction: column;
|
|
gap: clamp(16px, 4vw, 24px);
|
|
}
|
|
|
|
.footer-nav-section {
|
|
width: 100%;
|
|
}
|
|
|
|
.footer-legal {
|
|
flex-direction: column;
|
|
gap: clamp(8px, 2vw, 12px);
|
|
}
|
|
} |