/* ═══════════════════════════════════════════════════════
   The Blue Collar BluePrint — Design System
   Industrial contractor-native: Bold Navy + Electric Blue + Black
   Fonts: Barlow Condensed (headings) + Barlow (body)
═══════════════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ─── */
:root {
  --navy:      #001A4D;
  --navy-lt:   #002966;
  --blue:      #0066FF;
  --blue-dk:   #004DBB;
  --blue-glow: rgba(0, 102, 255, 0.15);
  --black:     #0A0A0A;
  --concrete:  #1A1A1A;
  --steel:     #2d2d2d;
  --iron:      #444444;
  --ash:       #888888;
  --silver:    #b0b0b0;
  --white:     #f5f5f2;
  --off-white: #eaeae6;

  --font-head: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;

  --radius:    3px;
  --radius-md: 6px;

  --max-w:     1180px;
  --pad-h:     clamp(1.25rem, 5vw, 3.5rem);
}

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ─── TYPOGRAPHY ─── */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

/* ─── UTILITIES ─── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-h);
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
  white-space: nowrap;
  cursor: pointer;
}

.btn:active { transform: scale(0.98); }

.btn-blue {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.btn-blue:hover {
  background: var(--blue-dk);
  border-color: var(--blue-dk);
  box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: var(--iron);
}
.btn-ghost:hover {
  border-color: var(--silver);
  color: var(--off-white);
}

.btn-xl {
  padding: 1rem 2.5rem;
  font-size: 1.15rem;
}

.btn-block { width: 100%; }

/* ─── NAV ─── */
.bp-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.bp-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-h);
}

.bp-nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.bp-nav-logo .logo-icon {
  width: 32px;
  height: 32px;
  background: var(--blue);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.bp-nav-logo .logo-sep { color: var(--blue); }

.bp-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bp-nav-cta { padding: 0.55rem 1.25rem; font-size: 0.9rem; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem var(--pad-h) 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(0, 102, 255, 0.2) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 80%, rgba(0, 26, 77, 0.6) 0%, transparent 60%);
  pointer-events: none;
}

/* noise texture */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content { max-width: 580px; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1.25rem;
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: 2px;
  background: rgba(0, 102, 255, 0.08);
}

.hero-eyebrow svg { flex-shrink: 0; }

.hero-title {
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.hero-title .accent { color: var(--blue); }

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--silver);
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-price-lockup {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-price {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
}

.hero-price-note {
  font-size: 0.9rem;
  color: var(--ash);
  line-height: 1.4;
}

.hero-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.hero-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--silver);
}

.hero-bullets li svg { flex-shrink: 0; margin-top: 3px; color: var(--blue); }

/* Hero Visual — The Box */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.box-graphic {
  width: 340px;
  height: 340px;
  position: relative;
}

.box-outer {
  width: 100%;
  height: 100%;
  border: 2px solid rgba(0, 102, 255, 0.3);
  border-radius: var(--radius-md);
  position: absolute;
  top: 20px; left: 20px;
  animation: box-float 6s ease-in-out infinite;
}

.box-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--concrete) 100%);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 102, 255, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  box-shadow:
    0 0 0 1px rgba(0,102,255,0.1),
    0 20px 60px rgba(0,0,0,0.5),
    0 0 80px rgba(0, 102, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.box-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,102,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.box-label {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(0,102,255,0.15);
  border: 1px solid rgba(0,102,255,0.3);
  padding: 0.3rem 0.75rem;
  border-radius: 2px;
}

.box-title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  text-align: center;
  line-height: 1.15;
}

.box-title .box-line2 {
  display: block;
  color: var(--blue);
}

.box-modules {
  font-size: 0.7rem;
  color: var(--ash);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.box-arrow {
  position: absolute;
  bottom: -40px;
  right: -20px;
  width: 80px;
  height: 80px;
  opacity: 0.6;
}

@keyframes box-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ─── DIVIDER ─── */
.section-divider {
  border: none;
  border-top: 1px solid var(--steel);
  margin: 0;
}

/* ─── SECTION HEADER ─── */
.section-eyebrow {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--silver);
  max-width: 600px;
  line-height: 1.7;
}

/* ─── PROBLEM SECTION ─── */
.problem-section {
  padding: 6rem var(--pad-h);
  background: var(--concrete);
  position: relative;
}

.problem-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.problem-header {
  margin-bottom: 3.5rem;
}

.problem-header .section-sub { max-width: 680px; }

.problem-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.stat-card {
  background: var(--black);
  border: 1px solid var(--steel);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 3rem;
  font-weight: 800;
  color: var(--blue);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--ash);
  font-weight: 500;
}

.problem-voice {
  background: var(--black);
  border-left: 3px solid var(--blue);
  padding: 1.5rem 2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  max-width: 720px;
}

.problem-voice p {
  font-size: 1.15rem;
  color: var(--white);
  line-height: 1.75;
  font-style: italic;
}

.problem-voice p + p { margin-top: 1rem; }

/* ─── MODULES SECTION ─── */
.modules-section {
  padding: 7rem var(--pad-h);
  position: relative;
}

.modules-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 100%, rgba(0, 26, 77, 0.5) 0%, transparent 70%);
  pointer-events: none;
}

.modules-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.modules-header {
  text-align: center;
  margin-bottom: 4rem;
}

.modules-header .section-sub { margin: 0 auto; }

.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.module-card {
  background: var(--concrete);
  border: 1px solid var(--steel);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.module-card:hover {
  border-color: var(--blue);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 102, 255, 0.12);
}

.module-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 102, 255, 0.12);
  border: 1px solid rgba(0, 102, 255, 0.25);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}

.module-num {
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  opacity: 0.6;
}

.module-name {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
}

.module-desc {
  font-size: 0.85rem;
  color: var(--ash);
  line-height: 1.6;
}

/* ─── DIFFERENTIATOR SECTION ─── */
.diff-section {
  padding: 7rem var(--pad-h);
  background: var(--navy);
}

.diff-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.diff-content .section-sub { margin-bottom: 2rem; }

.diff-competitor-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.diff-competitor-table th {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  text-align: left;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.diff-competitor-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  font-size: 0.9rem;
  vertical-align: middle;
}

.diff-competitor-table tr:last-child td { border-bottom: none; }

.diff-competitor-table .check { color: var(--blue); }
.diff-competitor-table .cross { color: var(--ash); }

.diff-highlight {
  background: rgba(0, 102, 255, 0.08);
  border: 1px solid rgba(0, 102, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
}

.diff-highlight p {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.diff-highlight p:last-child { margin-bottom: 0; }

.diff-highlight strong { color: var(--blue); }

/* ─── TESTIMONIAL SECTION ─── */
.testimonial-section {
  padding: 7rem var(--pad-h);
}

.testimonial-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  text-align: center;
}

.testimonial-section .section-title { text-align: center; margin-bottom: 3rem; }

.testimonial-card {
  background: var(--concrete);
  border: 1px solid var(--steel);
  border-radius: var(--radius-md);
  padding: 3rem;
  max-width: 760px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.testimonial-card::before {
  content: '\u201C';
  font-family: var(--font-head);
  font-size: 8rem;
  font-weight: 800;
  color: var(--blue);
  opacity: 0.15;
  position: absolute;
  top: -1rem; left: 1.5rem;
  line-height: 1;
}

.testimonial-quote {
  font-size: 1.25rem;
  color: var(--white);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-attribution {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.1rem;
  color: #fff;
}

.testimonial-info { text-align: left; }
.testimonial-name { font-weight: 700; color: var(--white); }
.testimonial-meta { font-size: 0.85rem; color: var(--ash); }

.testimonial-placeholder {
  background: var(--concrete);
  border: 1px dashed var(--iron);
  border-radius: var(--radius-md);
  padding: 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.testimonial-placeholder p {
  color: var(--ash);
  font-size: 0.95rem;
  font-style: italic;
}

/* ─── PRICING / CTA SECTION ─── */
.cta-section {
  padding: 7rem var(--pad-h);
  background: var(--concrete);
}

.cta-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.cta-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.cta-header .section-sub { margin: 0 auto; }

.cta-card {
  background: var(--black);
  border: 2px solid var(--blue);
  border-radius: var(--radius-md);
  padding: 3.5rem;
  max-width: 600px;
  margin: 0 auto 2rem;
  text-align: center;
  box-shadow: 0 0 60px rgba(0, 102, 255, 0.12), 0 20px 60px rgba(0,0,0,0.3);
}

.cta-price-tag {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.cta-price {
  font-family: var(--font-head);
  font-size: 5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.cta-price-label {
  font-size: 1.1rem;
  color: var(--ash);
}

.cta-tagline {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 1.5rem;
}

.cta-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 2rem;
  text-align: left;
}

.cta-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--silver);
}

.cta-features li svg { flex-shrink: 0; margin-top: 3px; color: var(--blue); }

.cta-primary { margin-bottom: 0.75rem; }
.cta-primary .btn { width: 100%; font-size: 1.1rem; padding: 1.1rem; }

.cta-sub {
  font-size: 0.85rem;
  color: var(--ash);
}

.cta-secondary {
  text-align: center;
}

.cta-secondary-label {
  font-size: 0.8rem;
  font-family: var(--font-head);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 0.75rem;
}

/* ─── FOOTER ─── */
.bp-footer {
  padding: 3rem var(--pad-h);
  border-top: 1px solid var(--steel);
}

.bp-footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.bp-footer-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
}

.bp-footer-copy {
  font-size: 0.85rem;
  color: var(--ash);
}

/* ─── SCROLL ANIMATION ─── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1024px) {
  .modules-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .box-graphic { width: 260px; height: 260px; }
  .diff-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
  .hero { padding: 7rem var(--pad-h) 3rem; min-height: auto; }
  .hero-title { font-size: 2.8rem; }
  .problem-stats { grid-template-columns: 1fr; }
  .modules-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 2rem; }
  .bp-nav-cta { display: none; }
  .bp-footer-inner { flex-direction: column; align-items: flex-start; }
}

/* Scroll padding for fixed nav */
[id] { scroll-margin-top: 80px; }