:root {
    --primary-bg: #121212;
    --secondary-bg: #1E1E1E;
    --text-primary: #FFFFFF;
    --text-secondary: #B3B3B3;
    --accent: #FFFFFF;
    --font-main: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    --font-heading: 'Space Grotesk', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Basic Reset & Font Loading */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Space+Grotesk:wght@700&display=swap');

body {
    background-color: var(--primary-bg);
    color: var(--text-primary);
    font-family: var(--font-main);
    margin: 0;
    line-height: 1.6;
    text-align: center;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--accent);
}

h1 {
    font-size: 2.5rem;
    line-height: 1.1;
    margin-bottom: 0.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 1rem auto;
}

img {
    max-width: 100%;
    height: auto;
}

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

/* Header */
header {
    padding: 1.5rem 5%;
    text-align: center; /* Force all inline content to center */
}

nav {
    /* No flex here, logo will be block and centered by its own margin */
}

.logo {
    max-width: 180px;
    height: auto;
    display: inline-block; /* Make it respect text-align */
    margin: 0; /* Reset margin */
}

/* Main Content & Sections */
main {
    padding: 0 5%;
}

.hero, .features, .signup-section {
    padding: 4rem 0;
    border-bottom: 1px solid var(--secondary-bg);
    display: flex;
    flex-direction: column;
    align-items: center; /* This centers content within these sections */
}

.hero h1 {
    text-transform: lowercase;
    text-align: center;
}

.hero .subtitle {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-button {
    background-color: var(--accent);
    color: var(--primary-bg);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    padding: 0.75rem 2rem;
    border-radius: 5px;
    transition: transform 0.2s ease;
    display: inline-block;
}

.cta-button:hover {
    transform: scale(1.05);
}

/* Features Section */
.feature-gallery {
    display: grid;
    gap: 2rem;
}

.feature-item {
    background-color: var(--secondary-bg);
    padding: 2rem;
    border-radius: 10px;
}

.feature-item img {
    border-radius: 5px;
    margin-bottom: 1rem;
}

/* Signup Section */
.signup-section {
    border-bottom: none;
}

/* Footer */
footer {
    padding: 2rem 5%;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Desktop Styles */
@media (min-width: 768px) {
    h1 {
        font-size: 4rem;
    }

    .hero, .features, .signup-section {
        padding: 6rem 0;
    }

    .feature-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}
