:root {
    --nexus-bg: #0A0F1E;
    --nexus-accent: #0B5CFF;
    --nexus-glow: rgba(11, 92, 255, 0.4);
    --nexus-text: #FFFFFF;
    --nexus-text-dim: #A0AEC0;
    --nexus-surface: rgba(255, 255, 255, 0.03);
    --nexus-border: rgba(255, 255, 255, 0.1);
    --nexus-gradient: linear-gradient(135deg, #0B5CFF 0%, #00D2FF 100%);
    --nexus-warm-glow: rgba(255, 235, 200, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, sans-serif;
}

body {
    background-color: var(--nexus-bg);
    color: var(--nexus-text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Fluid Mesh Background */
.mesh-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
        radial-gradient(circle at 20% 30%, rgba(11, 92, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 210, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, var(--nexus-warm-glow) 0%, transparent 50%);
    filter: blur(80px);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Aurora Header */
.nexus-header {
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 60px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 15, 30, 0.6);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid var(--nexus-border);
}

.nav-links {
    display: flex;
    gap: 48px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--nexus-text-dim);
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s, text-shadow 0.3s;
}

.nav-links a:hover {
    color: white;
    text-shadow: 0 0 10px var(--nexus-glow);
}

/* Unique Buttons */
.btn-nexus {
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
}

.btn-nexus-primary {
    background: var(--nexus-gradient);
    color: white;
    box-shadow: 0 10px 30px rgba(11, 92, 255, 0.3);
}

.btn-nexus-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 20px 40px rgba(11, 92, 255, 0.5);
}

.btn-nexus-outline {
    background: var(--nexus-surface);
    color: white;
    border: 1px solid var(--nexus-border);
    backdrop-filter: blur(10px);
}

.btn-nexus-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: white;
}

/* Hero - The Nexus Core */
.hero {
    padding-top: 220px;
    padding-bottom: 150px;
    text-align: center;
}

.nexus-badge {
    display: inline-flex;
    padding: 8px 20px;
    background: rgba(11, 92, 255, 0.1);
    border: 1px solid rgba(11, 92, 255, 0.3);
    border-radius: 100px;
    color: #00D2FF;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 96px;
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -5px;
    margin-bottom: 32px;
    background: linear-gradient(to bottom, #FFFFFF 0%, #A0AEC0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 22px;
    color: var(--nexus-text-dim);
    max-width: 700px;
    margin: 0 auto 60px;
}

/* The Central Hub Visual */
.nexus-core-visual {
    position: relative;
    width: 800px;
    height: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.core-sphere {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at 30% 30%, #4facfe 0%, #00f2fe 100%);
    border-radius: 50%;
    box-shadow: 0 0 100px rgba(79, 172, 254, 0.4);
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 120px;
    animation: rotate 20s linear infinite;
}

.orbit-path {
    position: absolute;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 50%;
}

.path-1 { width: 500px; height: 500px; animation: rotate 30s linear infinite reverse; }
.path-2 { width: 700px; height: 700px; animation: rotate 45s linear infinite; }

.orbit-node {
    position: absolute;
    width: 80px;
    height: 80px;
    background: var(--nexus-surface);
    border: 1px solid var(--nexus-border);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Feature Cards - Organic Shapes */
.organic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 100px 0;
}

.organic-card {
    background: var(--nexus-surface);
    border: 1px solid var(--nexus-border);
    padding: 60px 40px;
    border-radius: 40px;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.organic-card:hover {
    background: rgba(255,255,255,0.06);
    border-color: var(--nexus-accent);
    transform: translateY(-15px);
}

.organic-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(11, 92, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

.organic-card:hover::after {
    opacity: 1;
}

/* Glass Section */
.glass-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--nexus-border);
    backdrop-filter: blur(40px);
    border-radius: 80px;
    padding: 120px;
    margin: 100px 0;
    display: flex;
    align-items: center;
    gap: 80px;
}

/* Footer - Cosmic */
.nexus-footer {
    padding: 120px 0 60px;
    border-top: 1px solid var(--nexus-border);
    text-align: center;
}

/* Enhanced Unique Modules */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 400px);
    gap: 32px;
    margin: 100px 0;
}

.bento-item {
    background: var(--nexus-surface);
    border: 1px solid var(--nexus-border);
    border-radius: 48px;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.5s;
    position: relative;
    overflow: hidden;
}

.bento-item:hover {
    border-color: var(--nexus-accent);
    transform: scale(1.02);
}

.bento-large { grid-column: span 8; }
.bento-medium { grid-column: span 4; }

/* Galaxy Testimonials */
.testimonial-wall {
    padding: 120px 0;
    text-align: center;
}

.quote-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    border: 1px solid var(--nexus-border);
    border-radius: 32px;
    padding: 48px;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.quote-card::before {
    content: '“';
    position: absolute;
    top: -20px;
    left: 40px;
    font-size: 120px;
    color: var(--nexus-accent);
    opacity: 0.2;
    font-family: serif;
}

/* Global Nexus Map Placeholder */
.nexus-map-container {
    height: 600px;
    background: radial-gradient(circle at center, rgba(11, 92, 255, 0.05) 0%, transparent 70%);
    border-radius: 80px;
    border: 1px solid var(--nexus-border);
    margin: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.map-point {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--nexus-accent);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--nexus-accent);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(3); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Code Nexus */
.code-nexus {
    background: #0D1117;
    border-radius: 24px;
    padding: 40px;
    font-family: 'Fira Code', monospace;
    color: #c9d1d9;
    text-align: left;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
