:root {
    --primary-teal: #0d9488;
    /* Modern Teal */
    --dark-teal: #0f766e;
    --light-teal: #ccfbf1;
    --text-main: #333;
    --text-light: #666;
    --white: #ffffff;
    --code-bg: #f1f5f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    color: var(--text-main);
    line-height: 1.6;
    background-color: #f9fafb;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-teal);
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-main);
    margin-left: 20px;
    font-weight: 500;
}

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

/* Footer */
footer {
    padding: 2rem 5%;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    border-top: 1px solid #eee;
    background: var(--white);
    margin-top: auto;
    /* Pushes footer to bottom if content is short */
}

footer a {
    color: var(--text-light);
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    color: var(--primary-teal);
    text-decoration: underline;
}

/* Common Content Styles */
.content-section {
    padding: 4rem 5%;
    max-width: 900px;
    margin: 0 auto;
    flex: 1;
    width: 100%;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #111;
}

h2 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-teal);
}

/* Support page specific h2 style override or addition */
.support-page h2 {
    margin-top: 2.5rem;
    border-bottom: 2px solid var(--light-teal);
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark-teal);
}

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

ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
    color: var(--text-light);
}

li {
    margin-bottom: 0.5rem;
}

/* Code blocks */
code {
    background-color: var(--code-bg);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
    color: #d63384;
}

pre {
    background-color: var(--code-bg);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin-bottom: 1rem;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.9em;
}

.alert {
    background-color: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

/* Buttons */
.cta-button {
    background-color: var(--primary-teal);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 14px rgba(13, 148, 136, 0.4);
    display: inline-block;
}

.cta-button:hover {
    background-color: var(--dark-teal);
    transform: translateY(-2px);
}

/* Hero Section (Index) */
.hero {
    background: linear-gradient(135deg, var(--light-teal) 0%, #ffffff 100%);
    padding: 4rem 5%;
    text-align: center;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 span {
    color: var(--primary-teal);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 700px;
    margin-bottom: 2.5rem;
}

.hero-subtext {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Features Section (Index) */
.features {
    padding: 5rem 5%;
    background: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: #fdfdfd;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #eee;
    text-align: center;
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-teal);
}

.icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-teal);
}

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

.download-container {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
}

.manual-downloads {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.os-link {
    color: #ccc;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.os-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border-color: var(--white);
}

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

    .nav-links {
        display: none;
    }

    /* Simplified for mobile */
}