:root {
    --bg-color: #05050f;
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --accent-color: #7d2ae8;
    --accent-color-light: #b37af0;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Canvas Background */
#space-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none; /* Let clicks pass through */
}

/* Specific Fonts */
h1, h2, h3, .logo {
    font-family: 'Space Grotesk', sans-serif;
}

/* Container */
.app-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Glassmorphism Utilities */
.glass-panel, .glass-nav, .glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Navigation */
.glass-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 2.5rem;
    margin-top: 2rem;
    border-radius: 100px;
    box-shadow: var(--glass-shadow);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo span {
    color: var(--accent-color-light);
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-links a[aria-current="page"] {
    color: var(--text-primary);
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 0.8rem 1.8rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #4e14a8);
    color: white;
    box-shadow: 0 4px 15px rgba(125, 42, 232, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(125, 42, 232, 0.6);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

/* Hero Section */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 120px);
    text-align: center;
    padding: 4rem 0;
}

.hero-content {
    max-width: 800px;
    padding: 4rem;
    margin-bottom: 4rem;
    box-shadow: var(--glass-shadow);
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(125, 42, 232, 0.2);
    border: 1px solid rgba(125, 42, 232, 0.4);
    border-radius: 100px;
    font-size: 0.8rem;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--accent-color-light);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.text-gradient {
    background: linear-gradient(to right, #b37af0, #ffffff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

/* Stats */
.hero-stats {
    display: flex;
    gap: 2rem;
    max-width: 900px;
    width: 100%;
    justify-content: space-between;
}

.stat-item {
    flex: 1;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease, background 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.06);
}

.stat-item h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color-light);
}

.stat-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* Animations */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    .hero-content {
        padding: 2.5rem 1.5rem;
    }
    .hero-stats {
        flex-direction: column;
    }
    .nav-links {
        display: none;
    }
    .glass-nav {
        border-radius: 20px;
    }
    .hero-actions {
        flex-direction: column;
    }
}
