/* FLUQXPAD - Base Styles */
/* Based on FLUQXLABS design system */

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* FLUQXLABS Color Palette */
    --crypto-purple: #8B5CF6;
    --crypto-blue: #3B82F6;
    --crypto-cyan: #06B6D4;
    --crypto-dark: #0F0F23;
    --crypto-darker: #0A0A1A;

    /* Gradient colors */
    --gradient-cyan: #06B6D4;
    --gradient-cyan-bright: #22D3EE;
    --gradient-blue: #3B82F6;
    --gradient-indigo: #6366F1;
    --gradient-purple: #8B5CF6;
    --gradient-purple-light: #A78BFA;

    /* Menu dimensions */
    --menu-height: 64px;
    /* h-16 = 4rem = 64px */
    --content-spacing: 32px;
    --content-top-with-menu: calc(var(--menu-height) + var(--content-spacing));
}

/* ========================================
   BASE RESETS
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

*:focus,
*:focus-visible,
*:focus-within {
    outline: none !important;
    box-shadow: none !important;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: var(--crypto-darker);
    overflow-x: hidden;
    transition: all 0.3s ease;
}

/* ========================================
   GRADIENT SYSTEM - Logo-inspired
   ======================================== */

/* Gradient for text (titles) */
.gradient-text-logo,
h1 .gradient-text-logo,
h2 .gradient-text-logo,
h3 .gradient-text-logo {
    background: linear-gradient(to right,
            #3B82F6 0%,
            #06B6D4 15%,
            #3B82F6 30%,
            #6366F1 45%,
            #8B5CF6 70%,
            #8B5CF6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    display: inline-block;
    padding-bottom: 0.15em;
    line-height: 1.3;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Animated Background */
.animated-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}

#particles-canvas {
    width: 100%;
    height: 100%;
    opacity: 0.3;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
    padding-top: 0;
    padding-bottom: 4rem;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--crypto-darker);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--crypto-purple), var(--crypto-cyan));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--crypto-cyan), var(--crypto-purple));
}

/* Scrollbar color change on scroll */
body.scrolled ::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--crypto-blue), var(--crypto-purple));
}

body.scrolled ::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--crypto-purple), var(--crypto-blue));
}

/* Nav Scrolled State */
nav {
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(15, 15, 35, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

body.light-mode nav.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
}

/* ========================================
   LIGHT MODE STYLES
   ======================================== */
body.light-mode {
    background: #f8fafc;
    color: #1e293b;
}

body.light-mode .animated-background,
body.light-mode .hero-bg {
    background: linear-gradient(135deg, #e2e8f0 0%, #f1f5f9 100%);
}

body.light-mode .main-content {
    background: #f8fafc;
}

body.light-mode nav {
    background: rgba(248, 250, 252, 0.9) !important;
    border-color: rgba(30, 41, 59, 0.1) !important;
}

body.light-mode nav a {
    color: #475569;
}

body.light-mode nav a:hover {
    color: #1e293b;
}

body.light-mode footer {
    background: #f1f5f9;
    border-color: rgba(30, 41, 59, 0.1);
}

body.light-mode footer,
body.light-mode footer a,
body.light-mode footer p,
body.light-mode footer span {
    color: #475569;
}

body.light-mode footer a:hover {
    color: #1e293b;
}

body.light-mode .gradient-text-logo {
    background: linear-gradient(to right, #2563eb, #0891b2, #7c3aed);
    -webkit-background-clip: text;
    background-clip: text;
}

body.light-mode h1,
body.light-mode h2,
body.light-mode h3 {
    color: #1e293b;
}

body.light-mode p {
    color: #475569;
}

body.light-mode ::-webkit-scrollbar-track {
    background: rgba(30, 41, 59, 0.05);
}

body.light-mode ::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #0891b2, #2563eb);
}

/* Card Improvements for Light Mode */
body.light-mode .glass-card,
body.light-mode .feature-item {
    background: #ffffff;
    border: 1px solid rgba(203, 213, 225, 0.8);
    /* Slate-300 */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

body.light-mode .glass-card:hover,
body.light-mode .feature-item:hover {
    border-color: rgba(59, 130, 246, 0.4);
    /* Blue-500 */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);
}