/* Shared chrome used on every public page: nav, page header, CTA strip, footer.
   Page-specific sections (hero, grids, forms) stay in each template's own <style> block. */

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

/* ── NAV ── */
nav {
    background-color: #111827;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 48px;
    height: 70px;
    position: sticky;
    top: 0;
    z-index: 100;
}
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}
.nav-brand-icon {
    height: 44px;
    width: auto;
    display: block;
}
.nav-brand-text strong {
    display: block;
    color: white;
    font-size: 14px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}
.nav-brand-text strong .orange {
    color: #f97316;
}
.nav-brand-text span {
    color: #f97316;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
}
.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-links a {
    color: #d1d5db;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding-bottom: 4px;
}
.nav-links a:hover {
    color: white;
}
.nav-links a.active {
    color: white;
    border-bottom: 2px solid #f97316;
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 22px;
}
.nav-login {
    color: #d1d5db;
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.nav-login:hover { color: white; }
.nav-login.active {
    color: white;
    border-bottom: 2px solid #f97316;
    padding-bottom: 4px;
}
.nav-cta {
    background: #f97316;
    color: white;
    padding: 10px 22px;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 2px;
    white-space: nowrap;
}
.nav-cta:hover { background: #ea580c; }

/* ── PAGE HEADER (aboutus/services/pricing/contact/login/register) ── */
.page-header {
    background: linear-gradient(100deg, #0d1117 55%, #1f2937 100%);
    padding: 52px 80px;
    border-bottom: 3px solid #f97316;
}
.page-header h1 {
    color: white;
    font-size: 36px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 8px 0;
}
.page-header p {
    color: #9ca3af;
    margin: 0;
    font-size: 15px;
}

/* ── CTA STRIP (index/aboutus/services/pricing) ── */
.cta-strip {
    background: #f97316;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    text-align: center;
    gap: 16px;
}
.cta-strip p {
    color: white;
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}
.cta-strip a {
    background: #111827;
    color: white;
    padding: 12px 32px;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 2px;
}
.cta-strip a:hover { background: #1f2937; }

footer {
    background: #0d1117;
    color: #6b7280;
    text-align: center;
    padding: 16px;
    font-size: 13px;
}

/* ── AUTH TABS (login/register) ── */
.auth-tabs {
    display: flex;
    border-bottom: 2px solid #e5e7eb;
    margin-bottom: 24px;
}
.auth-tab {
    flex: 1;
    text-align: center;
    padding: 0 0 12px;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #9ca3af;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
}
.auth-tab:hover { color: #374151; }
.auth-tab.active {
    color: #f97316;
    border-bottom-color: #f97316;
}

.form-error {
    background-color: #fef2f2;
    border-left: 5px solid #dc2626;
    color: #991b1b;
    padding: 13px 16px;
    margin-bottom: 20px;
    border-radius: 0 4px 4px 0;
    font-size: 12.5px;
    line-height: 1.5;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        height: auto;
        padding: 16px 20px;
        gap: 14px;
    }
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px 18px;
    }
    .nav-actions {
        justify-content: center;
        flex-wrap: wrap;
        gap: 14px;
    }

    .page-header {
        padding: 36px 24px;
    }
    .page-header h1 {
        font-size: 26px;
    }

    .cta-strip {
        padding: 32px 24px;
    }
    .cta-strip p {
        font-size: 17px;
    }
}
