:root {
    --bg-color: #121212;
    --primary-color: #1a1a1a;
    --secondary-color: #242424;
    --accent-color: #00f0a0;
    --accent-hover-color: #00d48c;
    --text-color: #e0e0e0;
    --text-muted-color: #a0a0a0;
    --font-family: 'Poppins', sans-serif;
    --border-radius: 8px;
    --transition-speed: 0.3s;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--accent-hover-color);
}

h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 3rem;}
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--text-muted-color);
}

img {
    max-width: 100%;
    display: block;
}

/* Header & Nav */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    background: rgba(18, 18, 18, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--secondary-color);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 42px;
    transition: transform var(--transition-speed) ease;
}

.logo:hover img {
    transform: scale(1.05);
}

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

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    padding: 0.3rem 0;
    position: relative;
    transition: color var(--transition-speed) ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background-color: var(--accent-color);
    transition: width var(--transition-speed) ease;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 5%;
    overflow: hidden;
}

.hero-background-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('hero-background.png');
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1s ease-in-out;
}

.hero-content h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 700;
    color: #fff;
}

.hero-content p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 600px;
    margin: 1.5rem auto 2.5rem;
    color: var(--text-color);
}

.cta-button {
    display: inline-block;
    padding: 0.8rem 2rem;
    background-color: var(--accent-color);
    color: #000;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: transform var(--transition-speed) ease, background-color var(--transition-speed) ease;
}

.cta-button:hover {
    background-color: var(--accent-hover-color);
    color: #000;
    transform: translateY(-3px);
}

.cta-button.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Features Section */
.features-section {
    padding: 6rem 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--primary-color);
    padding: 2.5rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    border: 1px solid var(--secondary-color);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUpFadeIn 0.5s forwards;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-card img {
    height: 60px;
    margin: 0 auto 1.5rem;
}

/* Download Section */
.download-section {
    padding: 6rem 5%;
    text-align: center;
    background-color: var(--primary-color);
}

.download-section p {
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* Footer */
footer {
    padding: 2rem 5%;
    text-align: center;
    border-top: 1px solid var(--secondary-color);
    color: var(--text-muted-color);
}

footer p {
    margin-bottom: 0.5rem;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUpFadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .nav-links {
        display: none; /* could be replaced with a hamburger menu */
    }

    .hero {
        height: 90vh;
    }
}
