:root {
    --bg-dark: #050510;
    --bg-card: rgba(15, 15, 35, 0.7);
    --primary-purple: #8a2be2;
    --primary-cyan: #00ffff;
    --primary-gold: #ffd700;
    --text-main: #e0e0f0;
    --text-dim: #a0a0c0;
    --gradient-nova: linear-gradient(135deg, #8a2be2, #00ffff, #ffd700);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}

/* Background Stars Effect */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, #101030 0%, #050510 100%);
}

/* Header & Nav */
header {
    padding: 2rem 5%;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 16, 0.8);
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.5);
}

@keyframes rotate-logo {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    background: var(--gradient-nova);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

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

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
}

.nova-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(138, 43, 226, 0.2);
    border: 1px solid var(--primary-purple);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-cyan);
    margin-bottom: 2rem;
}

#hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-nova);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 500px;
    margin-bottom: 3rem;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

.hero-cta a {
    text-decoration: none;
    display: inline-block;
}

button, .btn-primary, .btn-secondary {
    padding: 14px 32px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary-purple);
    color: white;
    box-shadow: 0 10px 30px rgba(138, 43, 226, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

button:hover {
    transform: translateY(-3px);
}

.btn-primary:hover {
    box-shadow: 0 15px 40px rgba(138, 43, 226, 0.5);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.nova-core-visual {
    position: relative;
    width: 400px;
    height: 400px;
}

.core-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%;
    filter: blur(40px);
    opacity: 0.6;
}

.layer-1 { width: 300px; height: 300px; background: var(--primary-purple); animation: blob 10s infinite; }
.layer-2 { width: 250px; height: 250px; background: var(--primary-cyan); animation: blob 12s infinite reverse; }
.layer-3 { width: 200px; height: 200px; background: var(--primary-gold); animation: blob 8s infinite; }

@keyframes blob {
    0% { border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%; }
    50% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    100% { border-radius: 38% 62% 63% 37% / 41% 44% 56% 59%; }
}

/* Story Section */
#story {
    padding: 10rem 10%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-nova);
}

.story-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 100px;
    align-items: center;
}

.story-text p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--text-dim);
}

.story-quote {
    padding: 3rem;
    background: var(--bg-card);
    border-radius: 24px;
    border-left: 4px solid var(--primary-gold);
}

blockquote {
    font-size: 1.5rem;
    font-style: italic;
    font-weight: 300;
}

/* Layers Section */
#layers {
    padding: 10rem 10%;
    background: rgba(0,0,0,0.3);
}

.layers-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 4rem;
}

.layer-card {
    display: flex;
    align-items: center;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.05);
    transition: transform 0.3s, background 0.3s;
}

.layer-card:hover {
    transform: scale(1.02);
    background: rgba(25, 25, 55, 0.8);
    border-color: rgba(255,255,255,0.1);
}

.layer-number {
    font-size: 2.5rem;
    font-weight: 800;
    opacity: 0.2;
    margin-right: 3rem;
    min-width: 60px;
}

.layer-card[data-layer="7"] .layer-number { color: var(--primary-cyan); opacity: 0.5; }

.layer-card h3 {
    margin-right: 2rem;
    min-width: 250px;
    font-size: 1.3rem;
}

.layer-card p {
    color: var(--text-dim);
}

/* Vision Section */
#vision {
    padding: 10rem 10%;
    max-width: 1200px;
    margin: 0 auto;
}

.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 4rem;
}

.vision-card {
    padding: 3rem;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

.vision-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
}

.vision-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.vision-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-cyan);
}

/* Footer */
footer {
    padding: 5rem 10%;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.pulse {
    width: 8px;
    height: 8px;
    background: var(--primary-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-cyan);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

@media (max-width: 900px) {
    #hero h1 { font-size: 3rem; }
    .story-grid { grid-template-columns: 1fr; }
    #hero { flex-direction: column; text-align: center; height: auto; padding-top: 10rem; }
    .hero-subtitle { margin: 0 auto 3rem; }
    .hero-cta { justify-content: center; }
}
