body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc; /* Matches the canvas background */
}

/* --- The 3D Canvas Background --- */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    outline: none;
    /* Very light slate background to match the Three.js fog */
    background-color: #f8fafc; 
}

/* --- Glassmorphism Card Style --- */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 32px rgba(35, 83, 232, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(35, 83, 232, 0.15); 
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(35, 83, 232, 0.3);
}

/* --- Feature Card Style (Updated Light/Blue) --- */
.feature-card {
    /* Use a very light tint of your brand blue #2353e8 */
    background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
    border: 1px solid rgba(35, 83, 232, 0.15);
    padding: 2rem;
    border-radius: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px -10px rgba(35, 83, 232, 0.08);
}

.feature-card:hover {
    border-color: #2353e8; /* Parchive Primary Blue */
    transform: translateY(-5px);
    box-shadow: 0 20px 40px -10px rgba(35, 83, 232, 0.2);
}

/* Ensure dark text inside the card */
.feature-card h3 {
    color: #1e293b; /* Slate-800 */
}

.feature-card p {
    color: #64748b; /* Slate-500 */
}

/* --- Navbar Scroll Effect --- */
.nav-scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

/* --- Utility --- */
html {
    scroll-behavior: smooth;
}

::selection {
    background: #2353e8;
    color: #ffffff;
}