/* SnagMP Unified Brand Tokens */
:root {
    /* Surfaces — navy family */
    --surface-0: #0a1628;
    --surface-1: #0f1c2e;
    --surface-2: #1A3E63;
    --surface-3: #254d78;
    --surface-4: #2f5f8f;

    /* Brand accent */
    --accent: #7EC850;
    --accent-hover: #6fb543;
    --accent-dim: rgba(126, 200, 80, 0.3);
    --accent-text: rgba(126, 200, 80, 0.7);

    /* Text */
    --text-primary: #F0F0F0;
    --text-secondary: #b0bec5;
    --text-muted: #6a7a8a;
    --text-body: #333;
    --text-body-secondary: #555;
    --text-body-muted: #777;

    /* Light surfaces (marketing pages) */
    --surface-light: #f4f7f9;
    --border-light: #e0e0e0;

    /* Semantic */
    --error: #ef4444;
    --error-text: #f38ba8;
    --warning: #f59e0b;
    --info: #3b82f6;
    --success: #22c55e;

    /* Shadows */
    --shadow-sm: 0 2px 5px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-xl: 0 8px 32px rgba(0, 0, 0, 0.6);

    /* Focus */
    --focus-ring: 0 0 0 2px rgba(126, 200, 80, 0.3);
}

body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-body);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Navigation */
header {
    background-color: var(--surface-2);
    padding: 1rem 0;
    border-bottom: 4px solid var(--accent);
}

.nav-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 0;
    padding: 0 14px;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.2s;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}

nav a:first-child {
    border-left: none;
}

nav a:hover,
nav a.active {
    color: var(--accent);
}

/* Main Content Layout */
main {
    flex: 1;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 15px 20px;
    background-color: var(--surface-light);
    border-bottom: 1px solid var(--border-light);
}

.hero h1 {
    color: var(--surface-2);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-body-secondary);
    max-width: 700px;
    margin: 0 auto 20px;
}

/* Product Sections */
.product-section {
    padding: 50px 0 40px;
}

.product-section-alt {
    background-color: var(--surface-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.product-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.product-header h2 {
    color: var(--surface-2);
    font-size: 1.8rem;
    margin: 0;
}

.product-badge {
    display: inline-block;
    background-color: var(--surface-2);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-field {
    background-color: #E87C1E;
}

.product-description {
    font-size: 1.1rem;
    color: var(--text-body-secondary);
    margin-bottom: 30px;
    max-width: 750px;
}

.product-cta {
    text-align: center;
    margin-top: 40px;
}

.version-note {
    font-size: 0.85rem;
    margin-top: 15px;
    color: var(--text-body-muted);
}

/* Download Buttons */
.btn-download {
    display: inline-block;
    background-color: var(--accent);
    color: var(--surface-2);
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 6px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s, background-color 0.2s;
}

.btn-download:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-field {
    background-color: #E87C1E;
    color: white;
}

.btn-field:hover {
    background-color: #d06c15;
}

.btn-download.btn-disabled {
    background-color: #ccc;
    color: #888;
    cursor: default;
    box-shadow: none;
    pointer-events: none;
}

/* Features Grid (2 Columns 50/50) */
.features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.feature-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.feature-card h3 {
    color: var(--surface-2);
    margin-top: 0;
}

/* Footer */
footer {
    background-color: var(--surface-2);
    color: rgba(255,255,255,0.7);
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    margin-top: auto;
}

footer a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}

footer a:hover {
    text-decoration: underline;
}

/* Page Specifics */
h1.page-title {
    color: var(--surface-2);
    border-bottom: 2px solid var(--accent);
    padding-bottom: 10px;
    margin-bottom: 30px;
}

.privacy-content h2 {
    color: var(--surface-2);
    margin-top: 30px;
    font-size: 1.3rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .features {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .product-header {
        flex-wrap: wrap;
    }

    .product-header h2 {
        font-size: 1.5rem;
    }
}
