/* Into the Wild Website */

:root {
    --bg: #0a0f0d;
    --bg-raised: #111a16;
    --bg-card: #162420;
    --border: #1a2e26;
    --border-strong: #2a4a3e;
    --text-primary: #e8efe8;
    --text-secondary: #94a8a0;
    --text-muted: #637a70;
    --accent: #6BCB77;
    --accent-dim: #4faf5b;
    --accent-glow: rgba(107, 203, 119, 0.12);
    --accent-glow-strong: rgba(107, 203, 119, 0.25);
    --amber: #e8a940;
    --amber-dim: #c88e30;
    --amber-glow: rgba(232, 169, 64, 0.15);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.page {
    width: 100%;
}

/* ── Navigation ───────────────────────────────────────────────────────────── */

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 15, 13, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.nav-logo {
    width: 22px;
    height: 22px;
    color: var(--accent);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.15s;
}

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

.nav-cta {
    padding: 0.4rem 1rem;
    border: 1px solid var(--border-strong);
    border-radius: 8px;
    transition: border-color 0.15s, background 0.15s;
}

.nav-cta:hover {
    border-color: var(--accent-dim);
    background: var(--accent-glow);
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */

.hero {
    padding: 7rem 2rem 4rem;
    text-align: center;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    padding: 0.35rem 1rem;
    border: 1px solid var(--accent-dim);
    border-radius: 100px;
    margin-bottom: 1.75rem;
    background: var(--accent-glow);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.1875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.15s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--amber);
    color: #0a0f0d;
}

.btn-primary:hover {
    background: var(--amber-dim);
    box-shadow: 0 0 24px var(--amber-glow);
}

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-strong);
}

.btn-secondary:hover {
    color: var(--text-primary);
    border-color: var(--text-muted);
}

/* ── Hero Screenshot ─────────────────────────────────────────────────────── */

.hero-screenshot {
    display: block;
    max-width: 1000px;
    width: 100%;
    margin: 3.5rem auto 0;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: 0 0 60px var(--accent-glow), 0 8px 32px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.hero-screenshot img {
    width: 100%;
    display: block;
}

/* ── Placeholder (remove when screenshots are added) ─────────────────────── */

.placeholder {
    background: var(--bg-raised);
    border: 2px dashed var(--border-strong);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    padding: 2rem;
}

.placeholder span {
    color: var(--text-muted);
    font-size: 0.875rem;
    font-style: italic;
    text-align: center;
}

/* ── Download ─────────────────────────────────────────────────────────────── */

.download {
    padding: 4rem 2rem 5rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.download-inner {
    max-width: 600px;
    margin: 0 auto;
}

.download-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.download-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    padding: 1.75rem 1.5rem;
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-primary);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.download-card:hover {
    border-color: var(--accent-dim);
    box-shadow: 0 0 24px var(--accent-glow);
}

.download-icon {
    width: 32px;
    height: 32px;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.download-icon svg {
    width: 100%;
    height: 100%;
}

.download-card strong {
    font-size: 1rem;
    font-weight: 600;
}

.download-card span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.download-help {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.download-help strong {
    color: var(--text-secondary);
}

.download-extras {
    font-size: 0.875rem;
}

.download-extras a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.download-extras a:hover {
    text-decoration: underline;
}

/* ── Value Props ──────────────────────────────────────────────────────────── */

.value-props {
    padding: 2rem 2rem 5rem;
}

.value-props-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.value-card {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    transition: border-color 0.2s;
}

.value-card:hover {
    border-color: var(--border-strong);
}

.value-icon {
    width: 40px;
    height: 40px;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

.value-icon svg {
    width: 100%;
    height: 100%;
}

.value-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}

.value-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Section Titles ───────────────────────────────────────────────────────── */

.section-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
}

/* ── Showcase ─────────────────────────────────────────────────────────────── */

.showcase {
    padding: 5rem 2rem;
    border-top: 1px solid var(--border);
}

.showcase-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 5rem;
}

.showcase-block {
    display: grid;
    grid-template-columns: 55% 1fr;
    gap: 3rem;
    align-items: center;
}

.showcase-block:nth-child(even) {
    direction: rtl;
}

.showcase-block:nth-child(even) > * {
    direction: ltr;
}

.showcase-img img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.showcase-label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.75rem;
}

.showcase-text h3 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.3;
    margin-bottom: 1rem;
}

.showcase-text p:last-child {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ── Features Grid ────────────────────────────────────────────────────────── */

.features {
    padding: 5rem 2rem;
    border-top: 1px solid var(--border);
}

.features-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    text-align: left;
}

.feature {
    background: var(--bg-raised);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.feature h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}

.feature p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ── Gallery ──────────────────────────────────────────────────────────────── */

.gallery {
    padding: 5rem 2rem;
    border-top: 1px solid var(--border);
}

.gallery-inner {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 3rem;
}

.gallery-item {
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── CTA ──────────────────────────────────────────────────────────────────── */

.cta {
    padding: 5rem 2rem;
    border-top: 1px solid var(--border);
}

.cta-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.cta h2 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.cta p {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */

.footer {
    border-top: 1px solid var(--border);
    padding: 2.5rem 2rem;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.footer-logo {
    width: 18px;
    height: 18px;
    color: var(--accent);
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8125rem;
    font-weight: 500;
    transition: color 0.15s;
}

.footer-links a:hover {
    color: var(--text-secondary);
}

.footer-credit {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.footer-credit a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s;
}

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

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
    .hero {
        padding: 5rem 1.5rem 3rem;
    }

    .hero-title {
        font-size: 2.25rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .value-props-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .hero-screenshot {
        margin-top: 2.5rem;
    }

    .placeholder {
        min-height: 200px;
    }

    .showcase-block {
        grid-template-columns: 1fr;
    }

    .showcase-block:nth-child(even) {
        direction: ltr;
    }

    .showcase-text h3 {
        font-size: 1.25rem;
    }

    .nav-links a:not(.nav-cta) {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .section-title {
        font-size: 1.5rem;
    }
}
