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

body {
    background: #000;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: #00AAFF;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

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

/* Navigation */

nav {
    background: #111;
    border-bottom: 1px solid #222;
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
}

.nav-brand img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.nav-brand:hover {
    text-decoration: none;
}

.nav-toggle {
    display: none;
}

.nav-toggle-label {
    display: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle-label span,
.nav-toggle-label span::before,
.nav-toggle-label span::after {
    display: block;
    background: #fff;
    height: 2px;
    width: 24px;
    border-radius: 2px;
    position: relative;
    transition: transform 0.2s;
}

.nav-toggle-label span::before,
.nav-toggle-label span::after {
    content: "";
    position: absolute;
}

.nav-toggle-label span::before {
    top: -7px;
}

.nav-toggle-label span::after {
    top: 7px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: #aaa;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #00AAFF;
    text-decoration: none;
}

@media (max-width: 600px) {
    .nav-toggle-label {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 56px;
        left: 0;
        right: 0;
        background: #111;
        border-bottom: 1px solid #222;
        padding: 1rem 1.5rem;
        gap: 0;
    }

    .nav-links li {
        padding: 0.75rem 0;
        border-bottom: 1px solid #1a1a1a;
    }

    .nav-links li:last-child {
        border-bottom: none;
    }

    .nav-toggle:checked ~ .nav-links {
        display: flex;
    }

    .nav-toggle:checked ~ .nav-toggle-label span {
        background: transparent;
    }

    .nav-toggle:checked ~ .nav-toggle-label span::before {
        top: 0;
        transform: rotate(45deg);
    }

    .nav-toggle:checked ~ .nav-toggle-label span::after {
        top: 0;
        transform: rotate(-45deg);
    }
}

/* Container */

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    flex: 1;
}

/* Hero */

.hero {
    text-align: center;
    padding: 3rem 0;
}

.hero-banner {
    width: 100%;
    max-width: 640px;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.hero h1 span {
    color: #00AAFF;
}

.hero .tagline {
    font-size: 1.25rem;
    color: #aaa;
    margin-bottom: 1rem;
}

.hero .description {
    font-size: 1rem;
    color: #888;
    max-width: 540px;
    margin: 0 auto;
}

/* Cards */

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin: 3rem 0;
}

.card {
    background: #1a1a1a;
    border: 1px solid #282828;
    border-radius: 12px;
    padding: 1.5rem;
}

.card h3 {
    color: #00AAFF;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.card p {
    color: #aaa;
    font-size: 0.95rem;
}

@media (max-width: 700px) {
    .cards {
        grid-template-columns: 1fr;
    }
}

/* Section */

.section {
    margin: 3rem 0;
}

.section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #00AAFF;
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.feature-list li {
    background: #1a1a1a;
    border: 1px solid #282828;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    color: #ccc;
    font-size: 0.95rem;
}

.feature-list li strong {
    color: #fff;
}

@media (max-width: 600px) {
    .feature-list {
        grid-template-columns: 1fr;
    }
}

/* Support / BMC */

.support {
    text-align: center;
    margin: 3rem 0;
    padding: 2.5rem;
    background: #1a1a1a;
    border: 1px solid #282828;
    border-radius: 12px;
}

.support p {
    color: #aaa;
    margin-bottom: 1.5rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.support .bmc-logo {
    height: 40px;
    margin-bottom: 1rem;
}

.support .qr-code {
    width: 180px;
    height: 180px;
    border-radius: 8px;
    margin-bottom: 1rem;
}

/* Footer */

footer {
    border-top: 1px solid #222;
    padding: 2rem 1.5rem;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
}

footer .footer-links {
    margin-bottom: 0.75rem;
}

footer .footer-links a {
    color: #888;
    margin: 0 0.75rem;
}

footer .footer-links a:hover {
    color: #00AAFF;
}

/* Help page */

.steps {
    counter-reset: step;
    list-style: none;
    margin: 1.5rem 0;
}

.steps li {
    counter-increment: step;
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1.25rem;
    color: #ccc;
}

.steps li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2rem;
    height: 2rem;
    background: #00AAFF;
    color: #000;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.trouble-list {
    list-style: none;
    margin: 1.5rem 0;
}

.trouble-list li {
    background: #1a1a1a;
    border: 1px solid #282828;
    border-radius: 10px;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
}

.trouble-list li strong {
    color: #00AAFF;
    display: block;
    margin-bottom: 0.25rem;
}

.trouble-list li span {
    color: #aaa;
    font-size: 0.95rem;
}

.req-list {
    list-style: disc;
    padding-left: 1.5rem;
    color: #ccc;
    margin: 1rem 0;
}

.req-list li {
    margin-bottom: 0.5rem;
}

/* Legal pages */

.legal h2 {
    color: #00AAFF;
    font-size: 1.3rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

.legal h2:first-child {
    margin-top: 0;
}

.legal p {
    color: #ccc;
    margin-bottom: 1rem;
}

.legal ul {
    list-style: disc;
    padding-left: 1.5rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.legal ul li {
    margin-bottom: 0.4rem;
}

.legal .effective-date {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* Data safety table */

.safety-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}

.safety-table th,
.safety-table td {
    text-align: left;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #282828;
}

.safety-table th {
    color: #00AAFF;
    font-weight: 600;
    background: #111;
}

.safety-table td {
    color: #ccc;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-green {
    background: #0a3d0a;
    color: #4caf50;
}

.badge-blue {
    background: #0a2d4d;
    color: #00AAFF;
}

/* Page title */

.page-title {
    margin-bottom: 2rem;
}

.page-title h1 {
    font-size: 2rem;
    font-weight: 800;
}

.page-title p {
    color: #888;
    margin-top: 0.5rem;
}
