/* ==========================================================================
   ShiftFuel — Shared Design System
   Dark theme / cyan signal accent / clock-and-shift motif
   ========================================================================== */

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

:root {
  --black:   #0a0a0a;
  --dark:    #111111;
  --card:    #161616;
  --card2:   #181818;
  --border:  #262626;
  --text:    #f2f2f0;
  --muted:   #8a8a8a;
  --muted2:  #666;
  --accent:  #00e5ff;
  --accent2: #0099cc;
  --amber:   #f5a623;
  --danger:  #ff5252;
  --good:    #35d488;
  --radius:  3px;
  --maxw:    1180px;
}

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

body {
  background: var(--black);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; }
ul { list-style: none; }

::selection { background: var(--accent); color: #000; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--accent); }

h1, h2, h3, .display {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.04em;
  line-height: 0.98;
}

h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 20px; }
h3 { font-size: 1.3rem; margin-bottom: 8px; }

p.lede { color: #aaa; font-size: 1.02rem; line-height: 1.8; max-width: 58ch; }

/* ── NAV ── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 5vw;
  background: rgba(10,10,10,0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 30px; width: auto; display: block; }
.nav-links {
  display: flex; align-items: center; gap: 30px;
}
.nav-links a {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #ccc;
  transition: color 0.15s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-cta {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  background: var(--accent);
  color: #000;
  padding: 10px 20px;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, transform 0.1s;
}
.nav-cta:hover { background: #33ebff; }
.nav-cta:active { transform: scale(0.97); }
/* Keep the Cart button label dark and readable — beats the lighter `.nav-links a` colour, including on hover, while leaving the button background unchanged. */
.nav-links a.nav-cta, .nav-links a.nav-cta:hover { color: #000; }
.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--border); border-radius: var(--radius);
  width: 40px; height: 40px; cursor: pointer; color: var(--text);
  align-items: center; justify-content: center;
}
.nav-toggle svg { width: 18px; height: 18px; }

@media (max-width: 920px) {
  .nav-links { position: fixed; top: 63px; left: 0; right: 0; bottom: 0;
    background: var(--black); flex-direction: column; align-items: flex-start;
    padding: 32px 6vw; gap: 26px; border-top: 1px solid var(--border);
    transform: translateX(100%); transition: transform 0.28s ease; overflow-y: auto;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.1rem; }
  .nav-links .nav-cta { margin-top: 10px; }
  .nav-toggle { display: flex; }
}

/* ── BUTTONS / FORM ── */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #000;
  border: none;
  padding: 15px 26px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.12em;
  cursor: pointer;
  border-radius: var(--radius);
  text-decoration: none;
  text-align: center;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}
.btn-primary:hover { background: #33ebff; }
.btn-primary:active { transform: scale(0.98); }
.btn-secondary {
  display: inline-block;
  padding: 14px 24px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,229,255,0.4);
  padding-bottom: 2px;
}

.input-row { display: flex; gap: 0; max-width: 440px; }
.input-row input {
  flex: 1; background: var(--card2); border: 1px solid var(--border); border-right: none;
  border-radius: var(--radius) 0 0 var(--radius); padding: 14px 18px; color: var(--text);
  font-family: 'Inter', sans-serif; font-size: 0.9rem; outline: none; transition: border-color 0.2s;
}
.input-row input::placeholder { color: var(--muted); }
.input-row input:focus { border-color: var(--accent); }
.input-row .btn-primary { border-radius: 0 var(--radius) var(--radius) 0; }
.form-note { font-size: 0.75rem; color: var(--muted); margin-top: 10px; }

/* ── SECTION BASE ── */
.section { padding: 108px 5vw; max-width: var(--maxw); margin: 0 auto; }
.section-tight { padding-top: 64px; padding-bottom: 64px; }
.section-band { background: var(--dark); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.divider { height: 1px; background: linear-gradient(to right, transparent, var(--border), transparent); }

/* ── CARDS (generic) ── */
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: rgba(0,229,255,0.32); transform: translateY(-3px); }

/* ── TRUST / CERTIFICATION BADGES (reusable component) ──
   A quiet credential row. Usable on any page: include the #sf-icons sprite in the
   page body, then the <section class="cert-band"> markup. Painting is done here in
   CSS (not on the sprite symbols) so icons inherit colour and scale anywhere.
   Enable/disable: `hidden` on .cert-band hides the row; `hidden` on a .cert-item
   hides one claim. See the markup comment on the homepage for the full recipe. */
/* Sprite host: hidden without display:none, which is the most reliable way to keep
   <use> references resolvable across browsers. */
.sf-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.cert-band { border-bottom: 1px solid var(--border); background: var(--black); padding: 40px 5vw; }
.cert-band[hidden] { display: none; }
.cert-row {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 30px 52px;
}
.cert-item { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; width: 128px; }
.cert-item[hidden] { display: none; }
.cert-icon {
  width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--card);
  display: flex; align-items: center; justify-content: center;
  color: var(--accent); transition: border-color 0.25s, transform 0.25s;
}
.cert-icon svg {
  width: 19px; height: 19px; display: block;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.cert-item:hover .cert-icon { border-color: rgba(0,229,255,0.45); transform: translateY(-2px); }
.cert-label {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--muted); line-height: 1.5;
}
@media (max-width: 700px) {
  .cert-band { padding: 32px 5vw; }
  .cert-row { gap: 24px 20px; }
  .cert-item { width: 92px; gap: 10px; }
  .cert-icon { width: 40px; height: 40px; }
  .cert-icon svg { width: 17px; height: 17px; }
  .cert-label { font-size: 0.6rem; letter-spacing: 0.08em; }
}

/* ── FOOTER ── */
.site-footer { border-top: 1px solid var(--border); padding: 64px 5vw 32px; }
.footer-grid {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 48px;
  padding-bottom: 48px;
}
.footer-brand img { height: 26px; margin-bottom: 16px; }
.footer-brand p { color: var(--muted); font-size: 0.85rem; max-width: 30ch; line-height: 1.7; }
.footer-col h4 {
  font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 16px; font-weight: 700;
}
.footer-col ul { display: flex; flex-direction: column; gap: 11px; }
.footer-col a { font-size: 0.86rem; color: #ccc; text-decoration: none; transition: color 0.15s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: var(--maxw); margin: 0 auto; padding-top: 28px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: 0.76rem; color: var(--muted2); }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 34px; height: 34px; border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  color: var(--muted); font-size: 0.75rem; transition: border-color 0.2s, color 0.2s;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* ── SIMPLE PAGE HERO (for shop/wholesale/legal/contact) ── */
.page-hero { padding: 168px 5vw 64px; max-width: var(--maxw); margin: 0 auto; }
.page-hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}
.page-hero h1 span { color: var(--accent); }

/* ── LEGAL / TEXT PAGES ── */
.legal-body { max-width: 74ch; padding: 0 5vw 100px; margin: 0 auto; }
.legal-body h2 { font-size: 1.5rem; margin-top: 40px; margin-bottom: 14px; }
.legal-body p, .legal-body li { color: #bbb; font-size: 0.95rem; line-height: 1.85; margin-bottom: 14px; }
.legal-body li { margin-left: 20px; list-style: disc; }
.legal-updated { color: var(--muted); font-size: 0.82rem; margin-bottom: 40px; }
.legal-notice {
  border: 1px solid rgba(245,166,35,0.25); background: rgba(245,166,35,0.06);
  border-radius: var(--radius); padding: 16px 18px; font-size: 0.85rem; color: #e0c58a;
  margin-bottom: 36px; line-height: 1.7;
}
