:root {
    --background-color: #0D1117;
    --text-color: #C9D1D9;
    --primary-accent: #30C59D; /* A softer, electric cyan/green */
    --secondary-accent: #58A6FF; /* A subtle blue */
    --card-background: rgba(22, 27, 34, 0.7);
    --border-color: rgba(139, 148, 158, 0.3);
    --font-family: 'Inter', sans-serif;
}

body {
    font-family: var(--font-family);
    margin: 0;
    padding: 0;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
}

#energy-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 0;
    background: rgba(13, 17, 23, 0.6);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}

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

header .logo {
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 1.2rem;
}
header .logo img { height: 30px; margin-right: 12px; }
header nav { display: flex; align-items: center; gap: 20px; }
header nav a { color: var(--text-color); text-decoration: none; transition: color 0.3s; }
header nav a:hover { color: var(--primary-accent); }
.launch-app-btn {
    border: 1px solid var(--primary-accent);
    padding: 8px 16px;
    border-radius: 6px;
    color: var(--primary-accent);
    font-weight: 600;
}
.launch-app-btn:hover { background: var(--primary-accent); color: var(--background-color); }

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 100vh;
    padding-top: 80px; /* Offset for fixed header */
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    background: -webkit-linear-gradient(45deg, var(--primary-accent), var(--secondary-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero .subtitle {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 20px auto 30px;
    color: #8B949E; /* Lighter grey for subtitle */
}
.hero-buttons { display: flex; justify-content: center; gap: 15px; }

/* Buttons */
.btn { text-decoration: none; padding: 12px 24px; border-radius: 6px; font-weight: 600; transition: all 0.3s; }
.btn-primary { background-color: var(--primary-accent); color: var(--background-color); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(48, 197, 157, 0.2); }
.btn-secondary { border: 1px solid var(--border-color); color: var(--text-color); }
.btn-secondary:hover { background-color: var(--card-background); border-color: var(--text-color); }

/* General Section Styling */
section { padding: 100px 0; text-align: center; }
h2 { font-size: 2.5rem; font-weight: 700; margin-bottom: 20px; }

/* Mission Section */
.mission p { max-width: 700px; margin: 0 auto; font-size: 1.1rem; color: #8B949E; }

/* Ecosystem Section */
.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.ecosystem-card {
    background: var(--card-background);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, border-color 0.3s;
}
.ecosystem-card:hover { transform: translateY(-5px); border-color: var(--primary-accent); }
.ecosystem-card i { font-size: 2rem; color: var(--primary-accent); margin-bottom: 15px; }
.ecosystem-card h3 { margin: 15px 0; font-size: 1.2rem; }
.ecosystem-card p { color: #8B949E; font-size: 0.95rem; }

/* SwarmCode Section */
.swarmcode { background-color: #010409; } /* Slightly different dark bg */
.swarmcode p { max-width: 600px; margin: 0 auto 30px; }
.swarmcode .btn i { margin-right: 8px; }

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}
.footer-links { margin-bottom: 15px; }
.footer-links a { color: #8B949E; text-decoration: none; margin: 0 15px; font-size: 1.5rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--primary-accent); }
footer p { font-size: 0.9rem; color: #8B949E; }

@media (max-width: 768px) {
    .hero h1 { font-size: 2.5rem; }
    header nav { display: none; } /* Simplified for this example */
}