@import url('/css/products.css');
@import url('/css/physics.css');
@import url('/css/explore.css');

/* Reset / Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {
    --primary-purple: #6B46C1;
    --dark-purple: #4C1D95;
    --dark-purple-2: #130d1c;
    --light-purple: #8B5CF6;
    --accent-red: #EF4444;
    --dark-red: #DC2626;
    --bg-dark: #0F0F23;
    --bg-darker: #050014;
    --text-light: #E5E7EB;
    --text-gray: #9CA3AF;
    --card-bg: rgba(107, 70, 193, 0.1);
    --border-color: rgba(139, 92, 246, 0.2);
    --header-height: 68px; /* approximate fixed header height */
    --header-gap: 1.25rem; /* gap between header and main */
}
        
body {
    font-family: "Segoe UI", Roboto, sans-serif;
    background: #060216;
    color: #eee;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: background 0.3s, color 0.3s;
    /* Reserve space for the fixed header so it doesn't overlap content */
    padding-top: calc(var(--header-height) + var(--header-gap));
}

/* Header */

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--light-purple);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--light-purple);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--accent-red);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

/* Main Container */
main {
    flex: 1;
    max-width: 1100px;
    margin: 0 auto; /* center horizontally */
    width: calc(95% - 2rem);
    padding: 1.25rem 1.5rem;
    /* visually float the main content as a card */
    background: linear-gradient(180deg, rgba(31,31,31,0.85), rgba(20,20,28,0.85));
    color: #eee;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(3,3,10,0.6), 0 2px 6px rgba(0,0,0,0.5);
    backdrop-filter: blur(6px) saturate(120%);
    transition: background 0.3s, color 0.3s, transform 0.15s;
    /* Add a small gap from the header (body padding-top already reserves space) */
    margin-top: 0.5rem;
}

/* Slight lift on hover to emphasize floating card */
/* main:hover {
    transform: translateY(-4px);
} */

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background: #1e1e1e;
    color: #aaa;
    font-size: 0.9rem;
    transition: background 0.3s, color 0.3s;

    
    background: var(--bg-darker);
    padding: 3rem 5%;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

/* Links */
a {
    color: var(--light-purple);
    text-decoration: none;
    transition: color 0.2s;
}
a:hover {
    color: #005a9e;
}

h1, h2, h3, label, button, .non-interactive {
  user-select: none;
  cursor: default;
}
