@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ================================================================
   All Brevard Computers — Professional Dark Tech Theme
   ================================================================ */

/* ── Variables ─────────────────────────────────────────────────── */
:root {
  /* Backgrounds */
  --bg-base:    #07090d;
  --bg-surface: #0c1118;
  --bg-raised:  #111822;
  --bg-float:   #16202c;

  /* Borders */
  --border:       rgba(0,180,220,0.12);
  --border-med:   rgba(0,180,220,0.22);
  --border-hi:    rgba(0,212,255,0.4);

  /* Accent palette */
  --cyan:       #00c8f0;
  --cyan-dim:   rgba(0,200,240,0.08);
  --cyan-glow:  0 0 24px rgba(0,200,240,0.18);
  --green:      #00e5a0;
  --green-dim:  rgba(0,229,160,0.08);
  --green-glow: 0 0 24px rgba(0,229,160,0.18);
  --orange:     #ff6b35;

  /* Aliases used throughout */
  --accent:     var(--cyan);
  --accent2:    var(--green);

  /* Text */
  --text:       #b8ccd8;
  --text-med:   #6e8898;
  --text-hi:    #e4f0f8;
  --text-white: #f0f8ff;

  /* Typography */
  --font:       'Inter', system-ui, sans-serif;
  --font-head:  'Space Grotesk', 'Inter', sans-serif;
  --font-mono:  'JetBrains Mono', 'Fira Code', monospace;

  /* Sizing */
  --nav-h:      118px;
  --topbar-h:   0px;
  --radius:     8px;
  --radius-lg:  14px;
}

/* ── Reset & Base ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg-base);
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle dot grid */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: radial-gradient(rgba(0,200,240,0.06) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 0;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green); }
img { max-width: 100%; display: block; }
h1,h2,h3,h4 { font-family: var(--font-head); color: var(--text-hi); line-height: 1.18; }

/* ── Layout ─────────────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  position: relative;
  z-index: 1;
}
section { padding: 96px 0; }

/* ── Scroll fade-in ─────────────────────────────────────────────── */
/* fade-in: visible by default — JS enhances with animation if available */
/* fade-in: always visible — class kept in HTML for future enhancement */
.fade-in { opacity: 1; transform: none; }

/* ================================================================
   TOP BAR
================================================================ */
.topbar { display: none; }
.topbar-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .78rem;
  font-family: var(--font-mono);
  color: var(--text-med);
  letter-spacing: .3px;
}
.topbar-sep { opacity: .3; }

/* ================================================================
   NAV
================================================================ */
#main-nav {
  position: fixed;          /* fixed = always visible, never scrolls away */
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  height: var(--nav-h);
  background: rgba(7,9,13,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}

/* Push page body down so content starts below the fixed nav */
body { padding-top: var(--nav-h); }

/* Each section gets a scroll offset so the fixed nav
   doesn't cover the top of the section when you click a nav link */
section[id] { scroll-margin-top: var(--nav-h); }
#main-nav.scrolled {
  box-shadow: 0 2px 30px rgba(0,0,0,0.4);
}

.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;   /* logo + links grouped left, cta pushed right */
  gap: 0;
}

/* Logo */
/* Logo anchor — frame is the visual, fallback text sits beside it */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
  margin-right: 24px;    /* small gap between logo and first nav link */
}
.logo-hex { flex-shrink: 0; }
.logo-words { display: flex; flex-direction: column; line-height: 1.1; }
.logo-top {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 700;
  color: var(--text-hi);
  letter-spacing: .3px;
}
.logo-bot {
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--accent);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  flex: 1;              /* takes remaining space */
}
/* Push "Get Help Now" CTA to the far right */
.nav-links li:last-child { margin-left: auto; }
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--text-med);
  padding: 7px 14px;
  border-radius: 6px;
  border: 1px solid transparent;
  transition: all .2s;
  letter-spacing: .2px;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text-hi);
  background: var(--cyan-dim);
  border-color: var(--border);
}
.nav-links a.nav-cta {
  color: var(--text-hi);
  background: var(--cyan-dim);
  border-color: var(--border-med);
  font-weight: 600;
}
.nav-links a.nav-cta:hover {
  background: rgba(0,200,240,0.14);
  border-color: var(--accent);
  box-shadow: var(--cyan-glow);
}

/* Burger — mobile only, hidden on desktop */
.burger {
  display: none;  /* always hidden on desktop; shown only in @media (max-width:768px) */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: var(--bg-raised);
  border: 1px solid var(--border-med);
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--accent);
  border-radius: 2px;
  transition: all .25s;
}
.burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ================================================================
   BUTTONS
================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: .9rem;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all .22s;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: .2px;
}
.btn-primary {
  background: var(--cyan);
  color: #05080c;
  border-color: var(--cyan);
}
.btn-primary:hover {
  background: transparent;
  color: var(--cyan);
  box-shadow: var(--cyan-glow);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-med);
}
.btn-ghost:hover {
  color: var(--text-hi);
  border-color: var(--border-hi);
  background: var(--cyan-dim);
}
.btn-green {
  background: var(--green);
  color: #04100d;
  border-color: var(--green);
  font-weight: 700;
}
.btn-green:hover {
  background: transparent;
  color: var(--green);
  box-shadow: var(--green-glow);
}
.btn-full { width: 100%; justify-content: center; }

/* ================================================================
   SECTION HEADERS
================================================================ */
.sec-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}
.sec-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  padding: 4px 14px;
  border: 1px solid var(--border-med);
  border-radius: 20px;
  background: var(--cyan-dim);
}
.sec-head h2 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin-bottom: 14px; }
.sec-head p  { color: var(--text-med); font-size: 1.05rem; line-height: 1.75; }

/* ================================================================
   HERO
================================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 0;
  position: relative;
  overflow: hidden;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,200,240,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,200,240,0.04) 1px, transparent 1px);
  background-size: 52px 52px;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.orb-1 {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(0,200,240,0.07) 0%, transparent 70%);
  top: -100px; left: -200px;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,229,160,0.05) 0%, transparent 70%);
  bottom: -50px; right: -100px;
}

.hero-body {
  padding: 8px 0 60px;
  max-width: 760px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--text-med);
  letter-spacing: 1px;
  margin-bottom: 24px;
  opacity: 0;
  animation: riseIn .6s .1s forwards;
}
.eyebrow-pip {
  display: block;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}
#hero h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -.5px;
  margin-bottom: 24px;
  opacity: 0;
  animation: riseIn .6s .25s forwards;
}
#hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--cyan) 0%, var(--green) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-lead {
  font-size: 1.15rem;
  color: var(--text-med);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 36px;
  opacity: 0;
  animation: riseIn .6s .4s forwards;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  opacity: 0;
  animation: riseIn .6s .55s forwards;
}
.hero-ctas .btn { padding: 14px 28px; font-size: .95rem; }

/* Hero stats bar */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 20px 28px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  opacity: 0;
  animation: riseIn .6s .7s forwards;
  flex-wrap: wrap;
}
.hstat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
  flex: 1;
  min-width: 100px;
}
.hstat strong {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-hi);
  line-height: 1;
  margin-bottom: 4px;
}
.hstat strong span {
  font-size: 1.1rem;
  color: var(--accent);
}
.hstat > span {
  font-size: .75rem;
  color: var(--text-med);
  text-align: center;
  letter-spacing: .2px;
}
.hstat-div {
  width: 1px;
  height: 36px;
  background: var(--border);
  flex-shrink: 0;
}

/* ================================================================
   SERVICES
================================================================ */
#services { background: var(--bg-surface); }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3×3 for 9 cards */
  gap: 20px;
}

.svc-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px 24px;
  position: relative;
  transition: transform .25s, border-color .25s, box-shadow .25s;
  overflow: hidden;
}
.svc-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity .3s;
}
.svc-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-med);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35), var(--cyan-glow);
}
.svc-card:hover::after { opacity: 1; }

.svc-ico {
  width: 50px; height: 50px;
  background: var(--cyan-dim);
  border: 1px solid var(--border-med);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  transition: border-color .25s;
}
.svc-card:hover .svc-ico { border-color: var(--border-hi); }

.svc-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-hi);
}
.svc-card p {
  font-size: .9rem;
  color: var(--text-med);
  line-height: 1.7;
}
.svc-badge {
  display: inline-block;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--cyan-dim);
  border: 1px solid var(--border-med);
  padding: 3px 10px;
  border-radius: 4px;
}
.svc-note {
  text-align: center;
  margin-top: 40px;
  color: var(--text-med);
  font-size: .95rem;
}
.svc-note a { font-weight: 500; }

/* ================================================================
   ABOUT
================================================================ */
#about { background: var(--bg-base); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-copy .sec-eyebrow { display: inline-block; margin-bottom: 16px; }
.about-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 20px;
}
.about-lead {
  font-size: 1.08rem;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 18px;
  line-height: 1.75;
}
.about-copy p {
  color: var(--text-med);
  margin-bottom: 16px;
}

/* Commitment card */
.commitment-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 20px;
}
.commitment-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--text-hi);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.commit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.commit-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .93rem;
  color: var(--text);
}
.commit-list li span {
  color: var(--green);
  font-weight: 700;
  font-size: .9rem;
  flex-shrink: 0;
}

/* Stats row */
.about-stats-row {
  display: flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 0;
}
.astat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 12px;
}
.astat-n {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.astat-n sup, .astat-n sub {
  font-size: .9rem;
  color: var(--text-med);
  vertical-align: super;
}
.astat-n sub { vertical-align: sub; }
.astat-l {
  font-size: .74rem;
  color: var(--text-med);
  text-align: center;
  letter-spacing: .2px;
}
.astat-div {
  width: 1px;
  height: 32px;
  background: var(--border);
}

/* ================================================================
   REVIEWS
================================================================ */
#reviews { background: var(--bg-surface); }

.rev-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
}
.rev-tab {
  font-family: var(--font);
  font-size: .875rem;
  font-weight: 500;
  padding: 9px 20px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-med);
  cursor: pointer;
  transition: all .2s;
  letter-spacing: .2px;
}
.rev-tab:hover { color: var(--text-hi); border-color: var(--border-med); }
.rev-tab.active {
  color: var(--accent);
  border-color: var(--border-hi);
  background: var(--cyan-dim);
  box-shadow: var(--cyan-glow);
}

/* Loading state */
.rev-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 60px;
  color: var(--text-med);
  font-size: .9rem;
}
.rev-spinner {
  width: 28px; height: 28px;
  border: 2px solid var(--border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}

/* Review article */
.rev-article { max-width: 920px; margin: 0 auto; }

.rev-article-head {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.rev-article-head h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 10px;
}
.rev-intro {
  color: var(--text-med);
  font-size: 1rem;
  line-height: 1.8;
}

.rev-body p {
  color: var(--text);
  margin-bottom: 18px;
  line-height: 1.8;
  font-size: .97rem;
}
.rev-body a { font-weight: 500; }

/* Tier grid */
.tier-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  margin: 36px 0 32px;
}
.tier-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 20px 20px;
  position: relative;
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.tier-card:hover { transform: translateY(-4px); }

.tier-good   { border-top: 3px solid #4a9aba; }
.tier-better { border-top: 3px solid var(--cyan); }
.tier-best   {
  border-top: 3px solid var(--green);
  background: linear-gradient(160deg, var(--bg-raised) 55%, rgba(0,229,160,0.04));
}
.tier-card:hover { box-shadow: 0 10px 36px rgba(0,0,0,.35); }

.tier-label {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}
.tier-good   .tier-label { color: #4a9aba; }
.tier-better .tier-label { color: var(--cyan); }
.tier-best   .tier-label { color: var(--green); }

.tier-card h3 {
  font-size: .97rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-hi);
}
.tier-price {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.tier-good   .tier-price { color: #4a9aba; }
.tier-better .tier-price { color: var(--cyan); }
.tier-best   .tier-price { color: var(--green); }

.tier-stars { color: #f5c518; font-size: .88rem; margin-bottom: 10px; }

.tier-card > p {
  font-size: .875rem;
  color: var(--text-med);
  line-height: 1.65;
  flex: 1;
  margin-bottom: 16px;
}
.tier-link {
  display: block;
  text-align: center;
  padding: 9px 14px;
  border-radius: 6px;
  border: 1px solid;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .5px;
  transition: all .2s;
  margin-top: auto;
  text-decoration: none;
}
.tier-good   .tier-link { color: #4a9aba; border-color: #4a9aba; }
.tier-better .tier-link { color: var(--cyan); border-color: var(--cyan); }
.tier-best   .tier-link { color: var(--green); border-color: var(--green); }
.tier-good   .tier-link:hover { background: rgba(74,154,186,.1); }
.tier-better .tier-link:hover { background: var(--cyan-dim); box-shadow: var(--cyan-glow); }
.tier-best   .tier-link:hover { background: var(--green-dim); box-shadow: var(--green-glow); }

.affiliate-note {
  text-align: center;
  font-size: .76rem;
  color: var(--text-med);
  font-family: var(--font-mono);
  margin-top: 8px;
  opacity: .7;
}

/* ================================================================
   QR MAKER
================================================================ */
#qr { background: var(--bg-base); }

.qr-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: start;
}

.qr-form-col,
.qr-out-col {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.qr-panel-hd { margin-bottom: 24px; }
.qr-panel-hd h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-hi);
  margin-bottom: 5px;
}
.qr-panel-hd p { font-size: .875rem; color: var(--text-med); }

/* Type tabs */
.qr-type-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 24px;
}
.qr-type-tab {
  flex: 1;
  padding: 9px 8px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-med);
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
  text-align: center;
  transition: all .2s;
}
.qr-type-tab.active {
  color: var(--accent);
  border-color: var(--border-hi);
  background: var(--cyan-dim);
}

/* Panels */
.qr-panel { display: none; }
.qr-panel.active { display: block; }

/* Form elements */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  letter-spacing: .2px;
}
.opt { font-weight: 400; color: var(--text-med); }
.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--text-hi);
  font-family: var(--font);
  font-size: .9rem;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-med); opacity: .6; }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--border-hi);
  box-shadow: 0 0 0 3px rgba(0,200,240,0.08);
}
.form-group textarea { resize: vertical; min-height: 88px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* QR save field */
.qr-save-field { margin: 20px 0 20px; }
.qr-save-field label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}
.qr-save-field input {
  width: 100%;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 14px;
  color: var(--text-hi);
  font-size: .9rem;
  outline: none;
  transition: border-color .2s;
}
.qr-save-field input:focus { border-color: var(--border-hi); }

.qr-gen-btn { width: 100%; justify-content: center; font-size: .92rem; padding: 13px; }

.qr-msg {
  margin-top: 12px;
  font-size: .82rem;
  font-family: var(--font-mono);
  min-height: 20px;
}
.qr-msg.ok  { color: var(--green); }
.qr-msg.err { color: var(--orange); }

/* QR output */
.qr-display-box {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  margin-bottom: 20px;
}
.qr-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--text-med);
  font-size: .85rem;
  text-align: center;
}
.qr-result {
  background: #fff;
  padding: 14px;
  border-radius: 6px;
  display: inline-block;
}
.qr-btn-row {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}
.qr-btn-row .btn { flex: 1; justify-content: center; }

/* History */
.qr-session-history {}
.qr-hist-label {
  font-size: .74rem;
  font-weight: 600;
  color: var(--text-med);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.qr-hist-list { list-style: none; display: flex; flex-direction: column; gap: 6px; }
.qr-hist-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 12px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  font-size: .82rem;
  transition: border-color .2s;
}
.qr-hist-list li:hover { border-color: var(--border-med); }
.qh-name { color: var(--text); font-family: var(--font-mono); }
.qh-type {
  font-size: .68rem;
  font-family: var(--font-mono);
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--cyan-dim);
  padding: 2px 8px;
  border-radius: 3px;
}

/* ================================================================
   CONTACT
================================================================ */
#contact { background: var(--bg-surface); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 40px;
  align-items: start;
}

/* Info column */
.cinfo-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 16px;
}
.cinfo-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-hi);
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.cinfo-row {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.cinfo-row:last-child { margin-bottom: 0; }
.cinfo-ico {
  width: 34px; height: 34px;
  background: var(--cyan-dim);
  border: 1px solid var(--border-med);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.cinfo-lbl {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  color: var(--text-med);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-bottom: 3px;
}
.cinfo-val {
  font-size: .9rem;
  color: var(--text);
  display: block;
  line-height: 1.5;
}

/* Reveal button */
.reveal-btn {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .5px;
  color: var(--accent);
  background: var(--cyan-dim);
  border: 1px dashed var(--border-med);
  border-radius: 5px;
  padding: 5px 12px;
  cursor: pointer;
  transition: all .2s;
}
.reveal-btn:hover {
  border-style: solid;
  border-color: var(--accent);
  box-shadow: var(--cyan-glow);
}
.revealed-value {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .93rem;
  color: var(--text-hi);
  font-weight: 500;
}
.revealed-value a {
  font-size: .72rem;
  font-family: var(--font-mono);
  color: var(--green);
  border: 1px solid var(--green);
  padding: 3px 10px;
  border-radius: 4px;
  letter-spacing: .5px;
  text-transform: uppercase;
  transition: all .2s;
}
.revealed-value a:hover { background: var(--green-dim); }

.response-note {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: .84rem;
  color: var(--text-med);
  padding: 14px 16px;
  background: rgba(0,229,160,0.04);
  border: 1px solid rgba(0,229,160,0.12);
  border-radius: 7px;
  line-height: 1.5;
}
.response-note svg { flex-shrink: 0; margin-top: 1px; }

/* Contact form */
.contact-form {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.form-feedback {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: .875rem;
  display: none;
}
.form-feedback.ok  { background: rgba(0,229,160,.07); border: 1px solid rgba(0,229,160,.3); color: var(--green); display: block; }
.form-feedback.err { background: rgba(255,107,53,.07); border: 1px solid rgba(255,107,53,.3); color: var(--orange); display: block; }

/* ================================================================
   FOOTER
================================================================ */
footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 52px 0 40px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.6fr;
  gap: 48px;
  align-items: start;
}
.footer-brand p {
  font-size: .88rem;
  color: var(--text-med);
  line-height: 1.65;
  margin-top: 4px;
}
.fnav-head {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-med);
  display: block;
  margin-bottom: 14px;
}
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-nav a {
  font-size: .88rem;
  color: var(--text-med);
  transition: color .2s;
}
.footer-nav a:hover { color: var(--accent); }
.footer-legal p {
  font-size: .8rem;
  color: var(--text-med);
  line-height: 1.6;
  margin-bottom: 10px;
}
.footer-legal .copy {
  font-family: var(--font-mono);
  font-size: .74rem;
  color: rgba(110,136,152,.5);
  margin-bottom: 0;
}

/* ================================================================
   KEYFRAMES
================================================================ */
@keyframes riseIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ================================================================
   RESPONSIVE — Tablet, Mobile, Small Mobile
   Breakpoints: 1024 | 768 | 480 | 360
================================================================ */

/* ── Tablet (≤1024px) ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .svc-grid          { grid-template-columns: repeat(2, 1fr); }
  .pickup-callout    { flex-wrap: wrap; }
  .about-grid        { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid       { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-legal      { grid-column: 1 / -1; }
  .tier-grid         { grid-template-columns: repeat(2, 1fr); }
  .qr-layout         { grid-template-columns: 1fr; }
  .contact-grid      { grid-template-columns: 1fr; }
}

/* ── Mobile (≤768px) ──────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --nav-h:     96px;
    --topbar-h:  0px;  /* hide topbar on mobile to save space */
  }

  section { padding: 60px 0; }

  /* Topbar — hidden on mobile, info in nav/footer instead */
  .topbar { display: none; }

  /* Nav */
  #main-nav { top: 0; box-shadow: 0 1px 0 var(--border); }
  .nav-inner { padding: 0 16px; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);    /* sits directly below the fixed nav bar */
    left: 0; right: 0; bottom: 0;
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 16px 16px 32px;
    overflow-y: auto;
    z-index: 998;
  }
  .nav-links.open  { display: flex; }
  .nav-links li    { width: 100%; }
  .nav-links a {
    display: block;
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
    color: var(--text);
    border: 1px solid transparent;
  }
  .nav-links a:hover,
  .nav-links a.active { background: var(--cyan-dim); border-color: var(--border); }
  .nav-links a.nav-cta {
    margin-top: 12px;
    background: var(--cyan-dim);
    border-color: var(--border-med);
    text-align: center;
    font-weight: 600;
  }
  .burger { display: flex; min-height: 44px; min-width: 44px; }

  /* Hero */
  #hero { min-height: auto; padding-top: 16px; }
  .hero-body { padding: 48px 0 60px; }
  #hero h1   { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-lead { font-size: 1rem; }
  .hero-ctas { flex-direction: column; gap: 10px; }
  .hero-ctas .btn { width: 100%; justify-content: center; }
  .hero-pickup-banner { flex-direction: column; text-align: center; gap: 8px; }

  /* Hero stats — 2×2 grid on mobile */
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    padding: 0;
    background: var(--border);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
  }
  .hstat {
    background: var(--bg-surface);
    padding: 16px 12px;
    align-items: center;
  }
  .hstat strong { font-size: 1.5rem; }
  .hstat > span { font-size: .7rem; }
  .hstat-div { display: none; }

  /* Section headers */
  .sec-head { margin-bottom: 36px; }
  .sec-head h2 { font-size: 1.7rem; }

  /* Services */
  .svc-grid { grid-template-columns: 1fr; gap: 14px; }
  .svc-card { padding: 22px 18px; }

  /* Pickup callout */
  .pickup-callout { flex-direction: column; gap: 14px; padding: 20px; text-align: center; }
  .pickup-icon    { margin: 0 auto; }
  .pickup-btn     { width: 100%; justify-content: center; }
  .cpn-inner      { flex-direction: column; gap: 10px; }

  /* About */
  .about-copy h2  { font-size: 1.7rem; }
  .about-stats-row { flex-wrap: wrap; }
  .astat { min-width: 30%; }
  .astat-div { display: none; }

  /* Reviews */
  .rev-tabs { gap: 6px; }
  .rev-tab  { font-size: .8rem; padding: 8px 14px; }
  .tier-grid { grid-template-columns: 1fr; gap: 16px; }

  /* QR */
  .qr-form-col, .qr-out-col { padding: 22px 18px; }
  .qr-type-tabs { flex-direction: column; gap: 6px; }
  .qr-type-tab  { text-align: center; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .contact-form { padding: 22px 18px; }
  .cinfo-card   { padding: 20px 18px; }
  .form-row-2   { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid  { grid-template-columns: 1fr; gap: 24px; }

  /* Amazon notice */
  .amazon-associate-notice { flex-direction: column; gap: 8px; }
}

/* ── Small mobile (≤480px) ────────────────────────────────────── */
@media (max-width: 480px) {
  .container { padding: 0 16px; }

  /* Nav */
  .nav-inner { gap: 12px; }

  /* Hero */
  #hero h1 { font-size: clamp(1.75rem, 9vw, 2.2rem); }
  .hero-stats { grid-template-columns: 1fr 1fr; }

  /* Service cards — full bleed feel */
  .svc-card { border-radius: 8px; }

  /* Buttons — all full-width on tiny screens */
  .hero-ctas .btn,
  .about-cta-row .btn { font-size: .88rem; padding: 12px 20px; }

  /* QR output image */
  #qr-canvas-wrap canvas,
  #qr-canvas-wrap img { max-width: 180px; max-height: 180px; }

  /* Tier cards */
  .tier-card { padding: 20px 16px; }

  /* Footer */
  .footer-brand p { font-size: .82rem; }
  .footer-legal p  { font-size: .75rem; }
}

/* ── Very small (≤360px) — oldest Android phones ─────────────── */
@media (max-width: 360px) {
  .container     { padding: 0 12px; }
  #hero h1       { font-size: 1.6rem; }
  .hero-stats    { grid-template-columns: 1fr 1fr; gap: 1px; }
  .hstat strong  { font-size: 1.3rem; }
  .sec-head h2   { font-size: 1.5rem; }
  .btn           { padding: 11px 18px; font-size: .85rem; }
  .rev-tab       { padding: 7px 10px; font-size: .75rem; }
}

/* ================================================================
   LOGO IMAGE — contained frame, proportional at all sizes
   Replace assets/abc_logo.png to update logo everywhere.
================================================================ */

/* ── Logo frame: hard fixed dimensions, image always proportional ── */

/* The frame is a rigid box — the image scales inside it, never outside */
.nav-logo-frame {
  display: block;
  width: 400px;    /* fixed width — change this one number to resize the logo */
  height: 108px;   /* fixed height — matches nav bar */
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}

/* Image is absolutely positioned inside the frame — 100% of frame, contained */
.nav-logo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;        /* scales proportionally, never crops or stretches */
  object-position: left center;
  display: block;
}

/* Text fallback — only shows when image fails to load */
.logo-fallback {
  display: none;
  flex-direction: column;
  line-height: 1.1;
}

/* Footer logo — same system, slightly smaller */
.footer-logo-link {
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.footer-logo-link .nav-logo-frame {
  width: 340px;
  height: 96px;
}

/* Responsive: shrink the frame at each breakpoint */
@media (max-width: 1024px) {
  .nav-logo-frame { width: 360px; height: 100px; }
}
@media (max-width: 768px) {
  .nav-logo-frame { width: 300px; height: 88px; }
}
@media (max-width: 480px) {
  .nav-logo-frame { width: 220px; height: 66px; }
}
@media (max-width: 360px) {
  .nav-logo-frame { width: 180px; height: 54px; }
}

/* ================================================================
   HERO PICKUP BANNER
================================================================ */
.hero-pickup-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0,229,160,0.06);
  border: 1px solid rgba(0,229,160,0.22);
  border-radius: var(--radius);
  padding: 14px 20px;
  margin-bottom: 32px;
  font-size: .93rem;
  color: var(--text);
  line-height: 1.5;
  opacity: 0;
  animation: riseIn .6s .65s forwards;
}
.hero-pickup-banner svg { flex-shrink: 0; }
.hero-pickup-banner strong { color: var(--green); }

/* ================================================================
   PICKUP CALLOUT (services section)
================================================================ */
.pickup-callout {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--bg-raised);
  border: 1px solid rgba(0,229,160,0.25);
  border-left: 4px solid var(--green);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.pickup-icon {
  width: 54px; height: 54px;
  background: rgba(0,229,160,0.07);
  border: 1px solid rgba(0,229,160,0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pickup-text {
  flex: 1;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.pickup-text strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-hi);
}
.pickup-text span {
  font-size: .9rem;
  color: var(--text-med);
  line-height: 1.6;
}
.pickup-btn { flex-shrink: 0; }

/* ================================================================
   SERVICE BADGE VARIANTS
================================================================ */
.svc-badge-green {
  color: var(--green) !important;
  background: var(--green-dim) !important;
  border-color: rgba(0,229,160,0.25) !important;
}

/* ================================================================
   CONTACT PICKUP NOTE (contact section)
================================================================ */
.contact-pickup-note {
  margin-bottom: 40px;
}
.cpn-inner {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(0,229,160,0.05);
  border: 1px solid rgba(0,229,160,0.18);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: .93rem;
  color: var(--text);
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
}
.cpn-inner svg { flex-shrink: 0; margin-top: 2px; }
.cpn-inner strong { color: var(--green); display: block; margin-bottom: 3px; font-size: .97rem; }

/* ================================================================
   TOPBAR — 3-item layout
================================================================ */
.topbar-inner {
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}

/* ================================================================
   AMAZON ASSOCIATES COMPLIANCE STYLES
================================================================ */

/* Site-wide affiliate disclosure banner (above reviews section) */
.amazon-associate-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 12px 18px;
  margin-bottom: 40px;
  font-size: .84rem;
  color: var(--text-med);
  line-height: 1.5;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.amazon-associate-notice svg { flex-shrink: 0; margin-top: 1px; }
.amazon-associate-notice strong { color: var(--text); }
.amazon-associate-notice a { color: var(--accent); }

/* (paid link) label on each affiliate button */
.paid-link-label {
  font-size: .65rem;
  font-family: var(--font-mono);
  color: var(--text-med);
  opacity: .8;
  vertical-align: middle;
  margin-left: 3px;
}

/* Affiliate block below tier cards */
.affiliate-block {
  margin-top: 8px;
  padding: 14px 18px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.affiliate-required {
  font-size: .8rem;
  color: var(--text-med);
  margin-bottom: 6px;
  line-height: 1.5;
}
.affiliate-required strong { color: var(--text); }
.affiliate-price-note {
  font-size: .78rem;
  color: var(--text-med);
  font-family: var(--font-mono);
  line-height: 1.5;
  margin: 0;
}
.price-date { color: var(--accent); }

/* Privacy policy page body */
.policy-body h2 {
  font-size: 1.15rem;
  margin: 32px 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  color: var(--text-hi);
}
.policy-body p {
  color: var(--text-med);
  margin-bottom: 14px;
  line-height: 1.8;
  font-size: .97rem;
}
.policy-body ul {
  margin: 0 0 14px 20px;
  color: var(--text-med);
  line-height: 1.8;
  font-size: .97rem;
}
.policy-body li { margin-bottom: 6px; }
.policy-body strong { color: var(--text); }

/* ================================================================
   MOBILE POLISH
================================================================ */

/* Prevent horizontal scroll on mobile */
html, body { overflow-x: hidden; }

/* Ensure images never overflow their containers */
img { max-width: 100%; height: auto; }

/* Minimum touch target size 44px — burger excluded (handled separately in mobile media query) */
.btn, .nav-links a, .rev-tab, .qr-type-tab, .reveal-btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.nav-links a, .rev-tab, .qr-type-tab { display: flex; }

/* Nav dropdown animation */
.nav-links.open { animation: slideDown 0.2s ease; }
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Form inputs — 16px minimum prevents iOS Safari auto-zoom on tap */
input, textarea, select { font-size: 16px; }

/* Footer location/hours info row (moved from topbar) */
.footer-location {
  font-size: .82rem;
  color: var(--text-med);
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  line-height: 1.7;
}

/* ================================================================
   AMAZON LINK ERROR TOOLTIP
================================================================ */
.link-error-tip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-float);
  border: 1px solid var(--orange);
  border-radius: var(--radius);
  padding: 14px 16px;
  width: 260px;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  font-size: .82rem;
  line-height: 1.5;
}
.link-error-tip strong {
  display: block;
  color: var(--orange);
  margin-bottom: 5px;
  font-size: .88rem;
}
.link-error-tip span {
  display: block;
  color: var(--text-med);
  margin-bottom: 10px;
}
.link-error-tip a {
  display: block;
  color: var(--accent);
  font-size: .8rem;
  margin-bottom: 8px;
}
.link-error-tip button {
  position: absolute;
  top: 8px; right: 8px;
  background: none;
  border: none;
  color: var(--text-med);
  cursor: pointer;
  font-size: .85rem;
  padding: 2px 6px;
}
