:root {
  --bg: #05060a;
  --bg-alt: #0c0f16;
  --card: #111522;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.12);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: #1f2933;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #020617 0, #020617 35%, #02040a 100%);
  color: var(--text-main);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.page {
  width: 100%;
  max-width: min(2000px, 96vw); /* allow the dashboard to breathe on big screens */
  margin: 0 auto;
  padding: clamp(18px, 2vw, 30px) clamp(14px, 2vw, 40px) clamp(52px, 4vw, 88px);
  min-height: 100vh;
}


/* ============================================================
   Page header (site-wide, Products-style)
   ============================================================ */
.page-header {
  margin: 14px 0 24px;
}

.page-header .badge {
  margin-bottom: 10px;
}

.page-header h1 {
  font-size: clamp(2.0rem, 3vw, 2.4rem);
  margin: 0 0 6px;
}

.page-header p,
.page-header .tagline {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 70ch;
}
/* Nav */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 16px;
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

/* (kept) original logo rule — used by other pages/icons if needed */
.nav-logo {
  height: 32px;
  width: auto;
  display: block;
}

/* === NAV (global) === */
.nav-stack{
  display: grid;
  grid-template-columns: 1fr;       /* mobile: stacked */
  justify-items: center;
  align-items: center;
  gap: 14px;
  padding: 16px 0 6px;
}

/* Brand wrap: logo + badge locked together */
.nav-brand-wrap{
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.nav-brand{
  display: block;
}

.nav-logo-full{
  width: min(460px, 70vw);
  height: auto;
  display: block;
  margin: 0 auto;      /* centers it */
}

/* "Veteran Owned" pill under logo */
.badge-nav{
  margin-top: 10px;
  align-self: center;
  text-align: center;
}

/* Menu block */
.nav-links{
  display: flex;
  gap: 14px;
  margin-top: 0;
  font-size: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Tablet/fridge/desktop: brand centered in the space LEFT of the menu */
@media (min-width: 860px){
  .nav-stack{
    grid-template-columns: 1fr auto 1fr; /* left spacer | centered brand | right menu */
    column-gap: 26px;
    row-gap: 0;
    align-items: center;
  }

  .nav-brand-wrap{
    grid-column: 2;
    justify-self: center; /* true center of the header */
  }

  .nav-links{
    grid-column: 3;
    justify-self: end;
    display: grid;
    grid-template-columns: repeat(2, max-content);
    gap: 14px 22px;
    /* keep the menu block on the right, but left-align the text within it */
    justify-content: start;
    justify-items: start;
    text-align: left;
    margin-top: 0;
  }
}



.nav-link {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--text-muted);
  border: 1px solid transparent;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.nav-link:hover {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: rgba(148, 163, 184, 0.5);
}

.nav-link.active {
  background: var(--accent-soft);
  color: var(--accent);
  border-color: var(--accent);
}

/* Badge (reused) */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.8rem;
  text-transform: capitalize;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.badge span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

.badge-nav {
  margin-top: 10px;   /* spacing under logo */
  align-self: center;
  text-align: center;
}

/* Hero */
header { margin-bottom: 28px; }

.hero-logo-wrapper {
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.hero-logo {
  max-width: 460px;
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr);
  gap: 22px;
  align-items: center;
}

.hero-main h1 {
  font-size: clamp(2.2rem, 3.3vw, 2.9rem);
  margin: 0 0 8px;
  letter-spacing: 0.03em;
}

.hero-subtitle {
  font-size: 1.02rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: 70ch;
}

.hero-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.08s ease;
}

.btn-primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #020617;
  box-shadow: 0 12px 30px rgba(56, 189, 248, 0.4);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(56, 189, 248, 0.55);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.4);
  color: var(--text-muted);
}

.btn-ghost:hover {
  background: rgba(15, 23, 42, 0.9);
  color: var(--text-main);
}

.hero-note {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sections */
main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 6px;
}

.section {
  background: linear-gradient(135deg, var(--card), #070b12);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: clamp(16px, 1.6vw, 24px);
  box-shadow: var(--shadow-soft);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.section-title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-tag {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section p {
  margin: 0 0 10px;
  font-size: 0.95rem;
}

.two-col { display: grid; gap: 18px; }

@media (min-width: 900px) {
  .two-col { grid-template-columns: 1.4fr 1.2fr; }
}

.list-tight {
  margin: 0 0 6px 18px;
  padding: 0;
  font-size: 0.9rem;
}

.list-tight li { margin-bottom: 4px; }

.footer {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.8);
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
}
/* ============================================================
   SUPPORT PAGE – scoped styles (keeps other pages unchanged)
   ============================================================ */
.support-page main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.support-page ul {
  margin: 0 0 10px 18px;
  padding: 0;
  font-size: 0.92rem;
}

.support-page li {
  margin-bottom: 4px;
}

.support-page .doc-list-title {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-top: 8px;
  margin-bottom: 4px;
}

.support-page .doc-link {
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
}

.support-page .doc-link:hover {
  text-decoration: underline;
}

.support-page .issue-title {
  font-weight: 600;
}

.support-page .mailto-link {
  color: var(--accent);
  font-weight: 500;
  text-decoration: none;
}

.support-page .mailto-link:hover {
  text-decoration: underline;
}

.support-page .support-note {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ============================================================
   ORDER PAGE – carried over from previous inline CSS
   (keeps order.html clean; uses site-wide variables)
   ============================================================ */

header .tagline {
  font-size: 0.96rem;
  color: var(--text-muted);
  max-width: 70ch;
}

.product-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
  margin-bottom: 4px;
}

.chip {
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.mailto-link {
  color: var(--accent);
  font-weight: 500;
}

.form-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-submit {
  margin-top: 6px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #020617;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(56, 189, 248, 0.45);
  transition: background 0.18s ease, box-shadow 0.18s ease, transform 0.08s ease;
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(56, 189, 248, 0.6);
}


/* ============================================================
   ORDER PAGE – Form styling (scoped to forms inside .section)
   ============================================================ */

.section form {
  margin-top: 14px;
  display: grid;
  gap: 12px;
}

.section form > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section form label {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.section form input,
.section form select,
.section form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(2, 6, 23, 0.35);
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
}

.section form textarea {
  min-height: 140px;
  resize: vertical;
}

.section form input::placeholder,
.section form textarea::placeholder {
  color: rgba(156, 163, 175, 0.75);
}

.section form input:focus,
.section form select:focus,
.section form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.18);
}

.section form select {
  appearance: none;
}
/* ============================================================
   ABOUT PAGE – scoped styles (keeps Order form + other pages safe)
   ============================================================ */
.about-page main {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Numbered section headers */
.about-page .section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.about-page .section-number {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent);
  flex-shrink: 0;
}

.about-page .section-title {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.about-page .section p {
  margin: 0 0 10px;
  font-size: 0.97rem;
}

.about-page .section p:last-child { margin-bottom: 0; }

.about-page .muted {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.about-page ul {
  margin: 0 0 10px 18px;
  padding: 0;
}

.about-page li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.about-page li strong { font-weight: 600; }

.about-page .pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.about-page .pill {
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.about-page .subheading {
  margin-top: 12px;
  margin-bottom: 4px;
  font-size: 0.98rem;
  font-weight: 600;
}

.about-page .story-quote {
  border-left: 3px solid var(--accent);
  padding-left: 12px;
  margin-top: 4px;
  font-style: italic;
  color: var(--text-main);
}

/* Two-column layout on desktop, full-width sections */
@media (min-width: 900px) {
  .about-page main {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr;
    gap: 22px;
  }

  .about-page .section--full {
    grid-column: 1 / -1;
  }
}
/* ============================================================
   PRODUCTS PAGE – scoped styles (keeps Order form safe)
   ============================================================ */
/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 8px;
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

.product-card {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(15, 23, 42, 0.9);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.16), #020617 55%);
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
  overflow: hidden;
}

.product-label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product-name {
  font-size: 1rem;
  font-weight: 600;
}

.product-status {
  font-size: 0.8rem;
  color: var(--accent);
}

.product-body {
  font-size: 0.9rem;
  color: var(--text-main);
}

.product-list {
  margin: 4px 0 6px 18px;
  padding: 0;
  font-size: 0.88rem;
}

.product-list li {
  margin-bottom: 4px;
}

.product-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.link-inline {
  font-size: 0.8rem;
  color: var(--accent);
  text-decoration: none;
}

.link-inline:hover {
  text-decoration: underline;
}
/* Fix: Products page horizontal overflow causing layout nudge */
body.products-page {
  overflow-x: hidden;   /* or: overflow-x: clip; */
}

.products-page .page {
  overflow-x: hidden;   /* belt + suspenders */
}

.products-page main img {
  max-width: 100%;
  height: auto;
}



/* =====================================================================================
   WestNetHA Internal Dashboard
   Purpose: reuse the WestTechAI public site look/feel while keeping the 4-column shortcut layout.
   ===================================================================================== */

body.internal-dash {
  /* Keep the same background as the public site, but allow tighter internal spacing */
}

.internal-dash .page-header {
  margin-top: 18px;
}

.internal-dash .dash-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  align-items: start;
}

@media (max-width: 1150px) {
  .internal-dash .dash-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
}

@media (max-width: 640px) {
  .internal-dash .dash-grid {
    grid-template-columns: 1fr;
  }
}

/* Ultra-wide: keep 4 columns but give them a bit more minimum width and breathing room */
@media (min-width: 1500px) {
  .internal-dash .dash-grid {
    grid-template-columns: repeat(4, minmax(260px, 1fr));
    gap: 22px;
  }
}

/* Small screens: make navigation + links easier to tap */
@media (max-width: 520px) {
  .nav-link {
    padding: 10px 14px;
    font-size: 1rem;
  }
  .nav-links {
    gap: 10px 12px;
  }

  .internal-dash .dash-links li {
    padding: 8px 10px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
  }
}

.internal-dash .dash-card {
  background: radial-gradient(1200px 550px at 12% 0%, rgba(56, 189, 248, 0.14), transparent 55%),
              linear-gradient(180deg, rgba(17, 21, 34, 0.92), rgba(12, 15, 22, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}

.internal-dash .dash-title {
  font-size: 34px;
  letter-spacing: -0.02em;
  margin: 2px 0 14px;
}

.internal-dash .dash-inner {
  border-radius: 16px;
  background: radial-gradient(900px 420px at 10% 0%, rgba(56, 189, 248, 0.12), transparent 58%),
              rgba(17, 21, 34, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px;
}

.internal-dash .dash-links {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.internal-dash .dash-links li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.internal-dash .dash-links img {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(12, 15, 22, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.07);
  object-fit: contain;
}

.internal-dash .dash-links a {
  color: var(--text, #e8eefc);
  text-decoration: none;
}

.internal-dash .dash-links a:hover {
  color: var(--accent, #38bdf8);
  text-decoration: underline;
}



@media (min-width: 1900px){
  .internal-dash .dash-grid{ gap: 22px; }
}

/* =========================================================================================
   INTERNAL DASHBOARD — READABILITY / SCALE PASS
   Goal: bigger, easier-to-read UI on large monitors while staying usable on phones.
   Scope: only applies when <body class="internal-dash">
   ========================================================================================= */

.internal-dash{
  /* bump overall text size slightly; capped so it doesn't get silly on ultrawide */
  font-size: clamp(17px, 1.0vw, 21px);
}

.internal-dash .page{
  /* keep generous breathing room on big screens */
  padding: clamp(22px, 2.2vw, 44px) clamp(16px, 2.4vw, 56px) clamp(64px, 4.2vw, 110px);
}

.internal-dash .nav-link{
  font-size: clamp(15px, 0.9vw, 18px);
  padding: clamp(8px, 0.65vw, 12px) clamp(12px, 0.9vw, 16px);
}

.internal-dash .tagline{
  font-size: clamp(1.02rem, 0.85vw, 1.18rem);
}

.internal-dash .badge{
  font-size: clamp(0.85rem, 0.75vw, 1.0rem);
  padding: clamp(8px, 0.7vw, 10px) clamp(14px, 1.0vw, 18px);
}

.internal-dash .dash-grid{
  gap: clamp(18px, 1.4vw, 30px);
}

.internal-dash .dash-card{
  padding: clamp(18px, 1.25vw, 28px);
  border-radius: clamp(18px, 1.1vw, 26px);
}

.internal-dash .dash-title{
  font-size: clamp(26px, 1.7vw, 44px);
  margin: 2px 0 clamp(12px, 1.0vw, 18px);
}

.internal-dash .dash-inner{
  padding: clamp(14px, 1.1vw, 22px);
  border-radius: clamp(16px, 1.0vw, 22px);
}

.internal-dash .product-label{
  font-size: clamp(12px, 0.7vw, 14px);
  margin-bottom: clamp(8px, 0.6vw, 12px);
}

.internal-dash .dash-links{
  gap: clamp(10px, 0.85vw, 14px);
}

.internal-dash .dash-links li{
  padding: clamp(10px, 0.85vw, 14px) clamp(12px, 1.0vw, 18px);
  gap: clamp(10px, 0.9vw, 16px);
}

.internal-dash .dash-links a{
  font-size: clamp(16px, 0.95vw, 20px);
}

.internal-dash .dash-links img{
  width: clamp(30px, 1.7vw, 44px);
  height: clamp(30px, 1.7vw, 44px);
  border-radius: clamp(8px, 0.7vw, 12px);
}

/* small screens: keep things chunky but not cramped */
@media (max-width: 520px){
  .internal-dash{
    font-size: 16px;
  }
  .internal-dash .dash-title{
    font-size: 26px;
  }
}
