/* --- Global Variables & Theme --- */
:root {
    --primary-green: #008060; /* A deep, professional green */
    --primary-green-darker: #00664d;
    --secondary-blue: #0A74DA; /* The "hint of blue" */
    
    /* Light Mode (Default) */
    --bg-light: #FFFFFF;
    --bg-accent: #f9f9f9;
    --text-dark: #222222;
    --text-light: #555555;
    --border-color: #e0e0e0;
    --shadow-color: rgba(0, 0, 0, 0.05);

    --font-sans: 'Arial', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body.dark-mode {
    /* Dark Mode */
    --bg-light: #121212;
    --bg-accent: #1e1e1e;
    --text-dark: #F0F0F0;
    --text-light: #b0b0b0;
    --border-color: #333333;
    --shadow-color: rgba(0, 0, 0, 0.2);
}

/* --- Global Resets & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    line-height: 1.3;
    color: var(--text-dark);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; text-align: center; margin-bottom: 40px; }
h3 { font-size: 1.4rem; color: var(--primary-green); margin-bottom: 10px; }
p { font-size: 1rem; color: var(--text-light); }

a {
    text-decoration: none;
    color: var(--primary-green);
    transition: color 0.2s ease;
}
a:hover {
    color: var(--primary-green-darker);
}

/* --- Header & Navigation --- */
header {
    background-color: var(--bg-light);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 10;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary-green);
}

header nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

header nav a {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
}
header nav a:hover {
    color: var(--primary-green);
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-light);
    transition: color 0.2s ease;
}
.theme-toggle:hover {
    color: var(--text-dark);
}
.theme-toggle span {
    font-size: 1.8rem;
    vertical-align: middle;
}

/* --- Call to Action (CTA) Button --- */
.cta-button {
    display: inline-block;
    background-color: var(--primary-green);
    color: #FFFFFF;
    padding: 14px 28px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.cta-button:hover {
    background-color: var(--primary-green-darker);
    color: #FFFFFF;
}

/* --- Hero Section --- */
#hero {
    min-height: 80vh;
    padding: 60px 0;
}
.hero-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    min-height: 70vh;
}
#hero h1 {
    max-width: 800px;
    margin-bottom: 20px;
}
#hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
}

/* --- Solution Section --- */
#solution {
    padding: 80px 0;
    background-color: var(--bg-accent);
    transition: background-color 0.3s ease;
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pillar {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 12px var(--shadow-color);
    transition: all 0.3s ease;
}

.pillar:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px var(--shadow-color);
}

.pillar span.material-symbols-outlined {
    font-size: 2.5rem;
    color: var(--secondary-blue); /* Here's the hint of blue */
    margin-bottom: 15px;
    display: block;
}

/* --- Waitlist Section --- */
#waitlist {
    padding: 80px 0;
}
.waitlist-container {
    max-width: 600px;
    text-align: center;
}
#waitlist p {
    font-size: 1.1rem;
    margin-bottom: 40px;
}

#waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

#waitlist-form input,
#waitlist-form select {
    padding: 14px;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background-color: var(--bg-light);
    color: var(--text-dark);
    transition: all 0.3s ease;
}
#waitlist-form input:focus,
#waitlist-form select:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 2px rgba(0, 128, 96, 0.2);
}

#waitlist-form button {
    width: 100%;
    margin-top: 10px;
}

#form-message {
    margin-top: 20px;
    font-size: 1rem;
    font-weight: 600;
}
.success { color: var(--primary-green); }
.error { color: #D32F2F; }

/* --- Footer --- */
footer {
    padding: 40px 0;
    background-color: var(--bg-accent);
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-light);
    transition: all 0.3s ease;
}

/* --- Responsiveness --- */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 1.8rem; }

    header nav {
        display: none; /* Simplifies mobile header */
    }

    .solution-grid {
        grid-template-columns: 1fr; /* Stacks pillars on mobile */
    }

    #hero {
        min-height: 60vh;
        padding: 40px 0;
    }
}