/* =========================================================
   Mekanix — Static Site Styles
   Dark, modern, Apple-quality. Responsive.
   ========================================================= */

:root {
    --bg: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a26;
    --text: #e8e8f0;
    --text-muted: #8888a0;
    --accent: #00d4ff;
    --accent-glow: rgba(0, 212, 255, 0.15);
    --purple: #9b59ff;
    --purple-glow: rgba(155, 89, 255, 0.12);
    --border: rgba(255, 255, 255, 0.06);
    --max-width: 960px;
    --radius: 16px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    min-height: 100vh;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.8;
}

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

/* ---- Navigation ---- */

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

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text);
}

.nav-logo span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* ---- Hero ---- */

.hero {
    text-align: center;
    padding: 80px 24px 60px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: var(--accent-glow);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 .accent {
    background: linear-gradient(135deg, var(--accent), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 36px;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--purple));
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
    opacity: 1;
}

.hero-cta svg {
    width: 20px;
    height: 20px;
}

.hero-cta-disabled,
.hero-cta:disabled {
    cursor: not-allowed;
    opacity: 0.75;
    box-shadow: none;
}

.hero-cta-disabled:hover,
.hero-cta:disabled:hover {
    transform: none;
    box-shadow: none;
    opacity: 0.75;
}

/* ---- App Store badge (alternate) ---- */

.app-store-badge {
    display: inline-block;
    margin-top: 16px;
}

.app-store-badge img {
    height: 50px;
}

/* ---- Features ---- */

.features {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 24px 80px;
}

.features h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 48px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: background 0.2s, transform 0.2s;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 14px;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* ---- Footer ---- */

.footer {
    border-top: 1px solid var(--border);
    text-align: center;
    padding: 32px 24px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 12px;
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.85rem;
}

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

/* ---- Legal / Content Pages ---- */

.page {
    max-width: 720px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}

.page h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.page .effective-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 36px;
}

.page h2 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 36px;
    margin-bottom: 12px;
    color: var(--text);
}

.page p,
.page li {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.page ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.page li {
    margin-bottom: 6px;
}

.page a {
    color: var(--accent);
}

/* ---- Support Page ---- */

.support-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 20px;
}

.support-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.support-card p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-bottom: 0;
}

.support-email {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    background: var(--accent-glow);
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
    margin-top: 8px;
    transition: background 0.2s;
}

.support-email:hover {
    background: rgba(0, 212, 255, 0.25);
    opacity: 1;
}

/* ---- Responsive ---- */

@media (max-width: 640px) {
    .nav-links {
        gap: 16px;
    }

    .hero {
        padding: 50px 20px 40px;
    }

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