/* ============================================================ */
/* PezNet Licensing — design tokens                             */
/* Brand: near-black surfaces, #FFAA00 yellow accent.           */
/* Borrowed from the PezPC marketing site so the licensing      */
/* portal feels like a continuation of the same brand.          */
/* ============================================================ */
:root {
    --brand-yellow: #FFAA00;
    --brand-yellow-hover: #E69500;
    --brand-yellow-soft: #FFF4DB;
    --ink: #0A0A0A;
    --ink-soft: #1F2937;
    --muted: #6B7280;
    --surface: #FFFFFF;
    --surface-alt: #F7F7F5;
    --border: #E5E7EB;

    --bs-primary: var(--brand-yellow);
    --bs-primary-rgb: 255, 170, 0;
}

html { scroll-behavior: smooth; }
html, body { height: 100%; }

body {
    display: flex;
    flex-direction: column;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    color: var(--ink-soft);
    background: var(--surface);
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}
main { flex: 1 0 auto; }
footer { flex-shrink: 0; }

h1, h2, h3, h4, h5,
.h1, .h2, .h3,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    color: var(--ink);
    letter-spacing: -0.01em;
}

.text-brand { color: var(--brand-yellow) !important; }
.bg-ink { background: var(--ink); color: #fff; }
.bg-surface-alt { background: var(--surface-alt); }

a { color: var(--ink); text-decoration-color: var(--brand-yellow); text-underline-offset: 3px; }
a:hover { color: var(--brand-yellow-hover); }

/* ============================================================ */
/* Buttons                                                      */
/* ============================================================ */
.btn-primary,
.btn-brand {
    background: var(--brand-yellow);
    color: var(--ink);
    font-weight: 600;
    border: 1px solid var(--brand-yellow);
}
.btn-primary:hover,
.btn-brand:hover,
.btn-primary:focus,
.btn-brand:focus {
    background: var(--brand-yellow-hover);
    border-color: var(--brand-yellow-hover);
    color: var(--ink);
}
.btn-outline-primary {
    background: transparent;
    color: var(--ink);
    border-color: var(--brand-yellow);
}
.btn-outline-primary:hover {
    background: var(--brand-yellow);
    color: var(--ink);
    border-color: var(--brand-yellow);
}
.btn-outline-light-brand {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
    font-weight: 600;
}
.btn-outline-light-brand:hover { border-color: var(--brand-yellow); color: var(--brand-yellow); }

/* Bootstrap progress / link colour overrides to match brand */
.bg-primary { background-color: var(--brand-yellow) !important; }
.text-bg-primary { background-color: var(--brand-yellow) !important; color: var(--ink) !important; }
.link-primary { color: var(--brand-yellow) !important; }

/* ============================================================ */
/* Navbar                                                       */
/* ============================================================ */
/*
 * Lift the header (and its dropdown menus) above the page body.
 * Hover transforms on .feature-card / .pricing-card create their
 * own stacking contexts; without an explicit z-index here, the
 * navbar dropdown ends up behind the cards on /Billing/Status.
 */
header { position: relative; z-index: 1030; }

.navbar-pez {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.navbar-pez .dropdown-menu { z-index: 1040; }
.navbar-pez .navbar-brand {
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}
.navbar-pez .navbar-brand .dot { color: var(--brand-yellow); }
.brand-logo {
    display: inline-block;
    object-fit: contain;
    border-radius: 6px;
}
.navbar-pez .nav-link { color: rgba(255,255,255,0.78); font-weight: 500; }
.navbar-pez .nav-link:hover,
.navbar-pez .nav-link:focus,
.navbar-pez .nav-link.active,
.navbar-pez .nav-link.show,
.navbar-pez .nav-item.show > .nav-link,
.navbar-pez .dropdown-toggle.show {
    color: var(--brand-yellow);
}

.navbar-pez .dropdown-menu {
    background: #111;
    border: 1px solid rgba(255,255,255,0.08);
    --bs-dropdown-link-color: rgba(255,255,255,0.85);
    --bs-dropdown-link-hover-color: var(--brand-yellow);
    --bs-dropdown-link-hover-bg: rgba(255,170,0,0.12);
    --bs-dropdown-link-active-color: var(--brand-yellow);
    --bs-dropdown-link-active-bg: rgba(255,170,0,0.18);
}
.navbar-pez .dropdown-item { color: rgba(255,255,255,0.85); }
.navbar-pez .dropdown-item:hover,
.navbar-pez .dropdown-item:focus,
.navbar-pez .dropdown-item.active { background: rgba(255,170,0,0.12); color: var(--brand-yellow); }

/* ============================================================ */
/* Hero                                                         */
/* ============================================================ */
.hero {
    background:
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255,170,0,0.12), transparent 60%),
        radial-gradient(ellipse 50% 40% at 10% 80%, rgba(255,170,0,0.06), transparent 60%),
        var(--ink);
    color: #fff;
    /* Top padding sets the gap between the nav and the headline. 7rem left a
       band of empty ink above the eyebrow that read as a loading page. */
    padding: 3.5rem 0 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    /*
     * The hero lives inside <main class="container">, which centres at
     * Bootstrap's max-width and leaves white side bars around the section.
     * The negative inline margins below pull the band out to the full
     * viewport width via the 50%-vs-50vw trick, while the inner
     * <div class="container"> keeps the actual headline + lead inside the
     * standard text column.
     */
    margin-top: -1.5rem;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}
.hero h1 {
    color: #fff;
    font-weight: 700;
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    line-height: 1.1;
}
.hero .lead {
    color: rgba(255,255,255,0.78);
    font-size: 1.15rem;
    max-width: 38rem;
}
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-yellow);
    margin-bottom: 1.25rem;
}
.hero-eyebrow .pulse {
    width: 8px; height: 8px; background: var(--brand-yellow); border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255,170,0,0.6);
    animation: pulse 2.4s infinite;
}
@keyframes pulse {
    0%   { box-shadow: 0 0 0 0   rgba(255,170,0,0.6); }
    70%  { box-shadow: 0 0 0 12px rgba(255,170,0,0);  }
    100% { box-shadow: 0 0 0 0   rgba(255,170,0,0);  }
}

/* ============================================================ */
/* Section helpers                                              */
/* ============================================================ */
.section-eyebrow {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-yellow);
    margin-bottom: 0.75rem;
}
.section-title { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
.section-sub { color: var(--muted); max-width: 42rem; }

/* ============================================================ */
/* Cards (service + pricing)                                    */
/* ============================================================ */
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem;
    height: 100%;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 32px -18px rgba(10,10,10,0.18);
    border-color: rgba(255,170,0,0.5);
}
.feature-card .icon-wrap {
    width: 44px; height: 44px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--brand-yellow-soft);
    color: var(--ink);
    border-radius: 10px;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--muted); font-size: 0.97rem; margin: 0; }

.pricing-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}
.pricing-card.featured {
    border-color: var(--brand-yellow);
    box-shadow: 0 0 0 3px rgba(255,170,0,0.15);
}

/* ============================================================ */
/* Landing stat strip                                           */
/* ============================================================ */
.stat-value {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.9rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--brand-yellow);
}
.stat-label {
    color: var(--muted);
    font-size: 0.9rem;
    margin-top: 0.35rem;
    max-width: 15rem;
    margin-inline: auto;
}

/* ============================================================ */
/* Roadmap                                                      */
/* ============================================================ */
.roadmap-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--brand-yellow);
    border-radius: 16px;
    padding: 1.75rem;
}
/* A shipped milestone stays on the page as evidence of pace, but it should
   not compete with what is still in flight, so it gets the grey rail. */
.roadmap-card.is-shipped { border-left-color: var(--border); }

.roadmap-title {
    font-size: 1.35rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}

.roadmap-status {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    white-space: nowrap;
}
.roadmap-status-active {
    background: var(--brand-yellow-soft);
    color: #7A5200;
}
.roadmap-status-planned {
    background: var(--surface-alt);
    color: var(--muted);
    border: 1px solid var(--border);
}
.roadmap-status-shipped {
    background: #E8F5E9;
    color: #1B5E20;
}

/* The milestone's theme list. Sits directly under the version and reads as
   part of the heading, so it takes the display face rather than body Inter. */
.roadmap-themes {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.02rem;
    font-weight: 500;
    color: var(--ink-soft);
    margin: 0.15rem 0 1rem;
}

.roadmap-progress {
    height: 8px;
    background: var(--surface-alt);
    border-radius: 999px;
}
.roadmap-progress .progress-bar {
    background: var(--brand-yellow);
    border-radius: 999px;
}

.roadmap-group-heading {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 1rem 0 0.25rem;
}

.roadmap-items { margin-top: 0.25rem; }
.roadmap-items li {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.4rem 0;
    border-top: 1px solid var(--border);
    font-size: 0.95rem;
}
.roadmap-items li:first-child { border-top: none; }
.roadmap-items li i { color: var(--brand-yellow); font-size: 0.9rem; }
.roadmap-items li.is-done i { color: #2E7D32; }
/* A delivered item keeps full-strength text. Strike-through was wrong here:
   it is the convention for "cancelled" or "no longer applies", so it made
   shipped work read as abandoned. Muting it was wrong for a second reason,
   which is that on a roadmap the finished items are the good news and should
   be the easiest things on the page to read. The green tick carries "done". */
.roadmap-items li.is-done .roadmap-item-title {
    color: inherit;
}
.roadmap-item-title { flex: 1 1 16rem; }

.roadmap-tag {
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
    background: var(--surface-alt);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 0.1rem 0.5rem;
}

/* ============================================================ */
/* Forms — yellow focus rings                                   */
/* ============================================================ */
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
    border-color: var(--brand-yellow);
    box-shadow: 0 0 0 0.2rem rgba(255,170,0,0.18);
}
.form-check-input:checked {
    background-color: var(--brand-yellow);
    border-color: var(--brand-yellow);
}

/* ============================================================ */
/* Copy-paste support block (error pages)                       */
/* ============================================================ */
.copy-block {
    background: var(--surface-alt);
    border: 1px dashed var(--border);
    border-radius: 0.5rem;
    padding: 1rem;
    font-family: var(--bs-font-monospace);
    font-size: 0.85rem;
    white-space: pre-wrap;
}

/* ============================================================ */
/* Footer                                                       */
/* ============================================================ */
footer.brand-footer {
    background: var(--ink);
    color: rgba(255,255,255,0.65);
    padding: 2.5rem 0 2rem;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.92rem;
    margin-top: 4rem;
}
footer.brand-footer a { color: rgba(255,255,255,0.85); text-decoration: none; }
footer.brand-footer a:hover { color: var(--brand-yellow); }
footer.brand-footer .pez-mark {
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}
footer.brand-footer .pez-mark .dot { color: var(--brand-yellow); }
