/* ============================================================
   RELIABLE TREND ENTERPRISES LLC — Shared Stylesheet
   ------------------------------------------------------------
   One file controls the look of every page. Change a color or
   font here and it updates site-wide. Palette is aligned with
   the ZeroStick brand: deep navy backgrounds, brand blue accent,
   DM Sans typography.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800;900&display=swap');

/* ---- 1. THEME VARIABLES ---- */
:root {
  --bg:         #0a1530;   /* page background — deep navy */
  --panel:      #0d1a35;   /* alt-shaded sections */
  --panel-2:    #11203f;   /* cards / raised panels */
  --ink:        #0d1117;   /* darkest — header/footer, matches ZS ink */
  --border:     rgba(255,255,255,0.10);
  --text:       #eaf0f8;   /* primary text */
  --text-dim:   #9db0cc;   /* muted / secondary text */
  --brand:      #298DDF;   /* ZeroStick brand blue */
  --brand-dark: #1f74bd;   /* deeper blue for hovers */

  /* Legacy variable names — keep as aliases so any inline
     `var(--gold)` sprinkled across pages still resolves. */
  --black:      var(--bg);
  --gold:       var(--brand);
  --gold-light: var(--brand-dark);

  --radius:     10px;
  --maxw:       1140px;
}

/* ---- 2. GLOBAL RESETS ---- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, Segoe UI, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ============================================================
   3. NAVBAR
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 17, 23, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  color: var(--text);
}
.nav-brand .mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), var(--brand-dark));
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.02em;
  font-size: 0.8rem;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--brand); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
  color: var(--text);
  font-size: 1.1rem;
}

/* ============================================================
   4. BUTTONS
   ============================================================ */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 28px;                  /* pill shape, matches ZS */
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.18s ease, background 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); }

/* .btn-gold is legacy naming — now renders as brand blue */
.btn-gold {
  background: var(--brand);
  color: #fff;
}
.btn-gold:hover {
  background: var(--brand-dark);
  box-shadow: 0 10px 24px rgba(41,141,223,0.28);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }

/* ============================================================
   5. HERO
   ============================================================ */
.hero {
  position: relative;
  padding: 120px 0 100px;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -220px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 650px;
  background: radial-gradient(circle, rgba(41,141,223,0.22), transparent 60%);
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 20px;
  font-weight: 700;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  text-transform: uppercase;
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 36px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   6. SECTION HEADERS
   ============================================================ */
.section { padding: 90px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 14px; }
.section-head h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.section-head p {
  color: var(--text-dim);
  max-width: 560px;
  margin: 14px auto 0;
}
.alt-bg { background: var(--panel); }

/* ============================================================
   7. CARD GRID
   ============================================================ */
.grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.card {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(41,141,223,0.35);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}
.card .icon {
  font-size: 1.8rem;
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(41,141,223,0.14);
  color: var(--brand);
  border-radius: 10px;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.25rem; margin-bottom: 10px; color: var(--text); }
.card p { color: var(--text-dim); font-size: 0.95rem; }

.brand-card { padding: 0 0 28px; overflow: hidden; }
.brand-card > :not(.product-img) { margin-left: 28px; margin-right: 28px; }
.brand-card > :not(.product-img):first-child { margin-top: 28px; }
.product-img {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  aspect-ratio: 16 / 11;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 24px;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}
.product-img--muted {
  background: linear-gradient(135deg, var(--panel), var(--panel-2));
}
.brand-card .price {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--brand);
  margin: 16px 0 18px;
}
.brand-card .tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(41,141,223,0.10);
  border: 1px solid rgba(41,141,223,0.35);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 16px;
  font-weight: 700;
}

/* ============================================================
   8. CONTENT PAGES
   ============================================================ */
.page-head {
  padding: 80px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-head h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.page-head p { color: var(--text-dim); margin-top: 12px; }

.prose { max-width: 760px; margin: 0 auto; padding: 60px 24px; }
.prose h2 { font-size: 1.5rem; margin: 36px 0 14px; }
.prose h3 { font-size: 1.15rem; margin: 28px 0 10px; color: var(--brand); }
.prose p  { color: var(--text-dim); margin-bottom: 16px; }
.prose a  { color: var(--brand); text-decoration: underline; }
.prose ul { color: var(--text-dim); margin: 0 0 16px 22px; }
.prose li { margin-bottom: 8px; }

/* ============================================================
   9. CONTACT FORM
   ============================================================ */
.form-wrap {
  max-width: 620px;
  margin: 0 auto;
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
}
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 8px;
  color: var(--text-dim);
  font-weight: 500;
}
.field input,
.field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text);
  font-size: 0.95rem;
  font-family: inherit;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(41,141,223,0.15);
}
.field textarea { min-height: 130px; resize: vertical; }

/* ============================================================
   10. FOOTER
   ============================================================ */
.footer {
  border-top: 1px solid var(--border);
  background: var(--ink);
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-grid h4 {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-grid a {
  display: block;
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.footer-grid a:hover { color: var(--brand); }
.footer-about p { color: var(--text-dim); font-size: 0.92rem; max-width: 340px; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-dim);
}
.footer-bottom a { color: inherit; }
.footer-bottom a:hover { color: var(--brand); }

/* ============================================================
   11. MOBILE RESPONSIVE
   ============================================================ */
@media (max-width: 780px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 24px; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
