/* ── LANDING PAGE — category-specific styles ── */
/* Reuses all variables from base.css and classes from components.css + sections.css */

/* ── HERO ── */
.landing-hero {
  min-height: 100vh;
  padding-top: 52px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.landing-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: var(--navy);
  will-change: transform;
}

.landing-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg,
      rgba(4,10,22,0.92) 0%,
      rgba(4,10,22,0.78) 45%,
      rgba(4,10,22,0.45) 75%,
      rgba(4,10,22,0.2) 100%),
    linear-gradient(180deg,
      rgba(4,10,22,0.3) 0%,
      transparent 20%,
      transparent 70%,
      rgba(4,10,22,0.7) 100%);
}

.landing-hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 5rem 5vw 3rem;
}

.landing-hero-eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.landing-hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.landing-hero-headline {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  line-height: 0.96;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}
.landing-hero-headline em {
  color: var(--sky);
  font-style: normal;
}

.landing-hero-sub {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(200,222,255,0.8);
  max-width: 540px;
  margin-bottom: 2rem;
}

/* ── BENEFIT LIST ── */
.landing-benefits {
  position: relative;
  z-index: 2;
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.landing-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(200,222,255,0.9);
  line-height: 1.5;
}

.landing-benefit-item::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 0.5em;
}

/* ── CTA STACK ── */
.landing-cta-stack {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}

.landing-cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--gold);
  color: var(--dark);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 2.2rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s, transform 0.18s;
}
.landing-cta-primary:hover { background: #d4921c; transform: translateY(-2px); }

.landing-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.9rem 1.8rem;
  border: 1px solid rgba(200,222,255,0.4);
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  transition: border-color 0.18s, color 0.18s, transform 0.18s;
}
.landing-cta-secondary:hover { border-color: var(--ice); color: var(--ice); transform: translateY(-2px); }
.landing-cta-secondary svg { width: 16px; height: 16px; flex-shrink: 0; }

/* ── TESTIMONIAL ── */
.landing-testimonial {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin-top: 2rem;
  padding: 1.2rem 1.5rem;
  background: rgba(26,75,140,0.2);
  border: 1px solid rgba(46,125,209,0.25);
  border-left: 3px solid var(--sky);
  border-radius: 4px;
  backdrop-filter: blur(6px);
}
.landing-testimonial[hidden] { display: none; }

.landing-testimonial-text {
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(200,222,255,0.85);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.landing-testimonial-author {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sky);
}

/* ── TRUSTED SEAL (hero badge image — a fixed stamped mark, not a spinner.
   Sits in the open background space on desktop instead of stacking under the
   CTA in the narrow content column) ── */
.landing-seal {
  position: absolute;
  z-index: 2;
  right: 6vw;
  bottom: 10vh;
  width: 180px;
  height: 180px;
  filter: drop-shadow(0 4px 14px rgba(0,0,0,0.35));
}

.landing-seal-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* ── INTRO / TRUST SECTION ── */
.landing-intro {
  padding: 4.5rem 5vw;
  background: var(--white);
}

.landing-intro .section-label { color: var(--red); }
.landing-intro .section-title { color: var(--navy); }
.landing-intro .section-title em { color: var(--blue); font-style: normal; }

.landing-intro-body {
  max-width: 760px;
  margin: 1.5rem auto 0;
}

.landing-intro-p {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--navy);
  margin-bottom: 1.1rem;
}

.landing-intro-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  color: var(--blue);
}

.landing-intro-maps {
  color: var(--blue);
  text-decoration: none;
}
.landing-intro-maps:hover { text-decoration: underline; }

/* ── PRODUCT CARDS ── */
.landing-products {
  padding: 4.5rem 5vw;
  background: var(--ice);
  text-align: center;
}

.landing-products .section-label { color: var(--red); }
.landing-products .section-title { color: var(--navy); }
.landing-products .section-title em { color: var(--blue); font-style: normal; }

.landing-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 2rem auto 0;
}

.landing-product-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(13,31,60,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.landing-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(13,31,60,0.16);
}

.landing-product-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--gray);
}

.landing-product-card-name {
  padding: 0.85rem 0.9rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy);
}

.landing-product-viewall {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  min-height: 100px;
  border: 2px dashed var(--sky);
  border-radius: 6px;
  text-decoration: none;
  font-family: var(--font-head);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 1.05rem;
  color: var(--sky);
  background: rgba(46,125,209,0.06);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.landing-product-viewall::after {
  content: '\2192';
  margin-left: 0.5rem;
}
.landing-product-viewall:hover {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--white);
}

/* ── GUARANTEES / RISK-REDUCERS ── */
.landing-guarantees {
  padding: 4.5rem 5vw;
  background: var(--navy);
}

.landing-guarantees-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.landing-guarantees .section-label { color: var(--gold); }
.landing-guarantees .section-title { color: var(--white); }
.landing-guarantees .section-title em { color: var(--sky); font-style: normal; }

.landing-guarantees-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem 1.5rem;
  text-align: left;
}

.landing-guarantees-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(200,222,255,0.9);
}
.landing-guarantees-item::before {
  content: '✓';
  flex-shrink: 0;
  color: var(--gold);
  font-weight: 700;
}

/* The demo commitment doubles as a real CTA (moved down from the hero) —
   style its link so it reads as actionable, not just another checklist row. */
.landing-guarantees-item--cta a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.landing-guarantees-item--cta a:hover { color: var(--white); }

/* ── FAQ ── */
.landing-faq {
  padding: 4.5rem 5vw;
  background: var(--white);
}

.landing-faq .section-label { color: var(--red); }
.landing-faq .section-title { color: var(--navy); }
.landing-faq .section-title em { color: var(--blue); font-style: normal; }

.landing-faq-list {
  max-width: 760px;
  margin: 2rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.landing-faq-item {
  border-bottom: 1px solid var(--gray);
  padding-bottom: 1.5rem;
}
.landing-faq-item:last-child { border-bottom: none; }

.landing-faq-q {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.landing-faq-a {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--navy);
  opacity: 0.85;
}

/* ── BRANDS STRIP ── */
.landing-brands {
  padding: 4rem 5vw;
  background: var(--white);
  text-align: center;
}

.landing-brands .section-label { color: var(--red); }
.landing-brands .section-title { color: var(--navy); }

.landing-brands-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  justify-content: center;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.landing-brand-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: transform 0.25s, filter 0.25s;
}
.landing-brand-item:hover {
  transform: translateY(-3px);
}

/* ── SHARED BRAND ITEM (landing strip + about.html brands-grid) ──
   .brand-logo is the manufacturer logo image; .brand-logo-fallback is the text
   shown via inline onerror when the .webp is missing. Both pages reuse this
   markup (render_brand_item in landing_gen.py); per-page sizing is below. */
.brand-logo {
  height: 48px;
  max-width: 140px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(13,31,60,0.08));
  transition: filter 0.25s;
}
.landing-brand-item:hover .brand-logo {
  filter: drop-shadow(0 8px 16px rgba(13,31,60,0.18));
}

/* fallback when logo image fails to load */
.brand-logo-fallback {
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.5rem;
  background: rgba(13,31,60,0.06);
  border-radius: 3px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  min-width: 80px;
}

/* ── PROOF VIDEO ── */
.landing-proof {
  padding: 4.5rem 5vw;
  background: var(--dark);
  text-align: center;
}

.landing-proof .section-label { color: var(--gold); }
.landing-proof .section-title { color: var(--white); }
.landing-proof .section-title em { color: var(--ice); }

.landing-proof-video {
  max-width: 800px;
  margin: 0 auto;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  background: #000;
}

.landing-proof-thumb {
  position: absolute;
  inset: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.landing-proof-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-proof-play {
  position: absolute;
  width: 72px;
  height: 72px;
  background: rgba(4,10,22,0.75);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.landing-proof-thumb:hover .landing-proof-play {
  background: var(--red);
  transform: scale(1.08);
}
.landing-proof-play svg { width: 32px; height: 32px; fill: var(--white); margin-left: 4px; }

.landing-proof-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .landing-hero-content { padding: 4rem 4vw 2.5rem; }
  .landing-hero-headline { font-size: clamp(2.4rem, 6vw, 3.6rem); }
  .landing-brands-grid { gap: 1.5rem 2rem; }
  .landing-seal { width: 150px; height: 150px; right: 3vw; bottom: 6vh; }
}

@media (max-width: 540px) {
  .landing-hero { min-height: auto; padding-bottom: 3rem; }
  .landing-hero-content { padding: 2.5rem 1.2rem 2rem; }
  .landing-hero-headline { font-size: 2.4rem; }
  .landing-hero-sub { font-size: 0.95rem; }
  .landing-cta-stack { flex-direction: column; align-items: stretch; }
  .landing-cta-primary,
  .landing-cta-secondary { text-align: center; justify-content: center; }
  .landing-brands { padding: 2.5rem 1.2rem; }
  .landing-brands-grid { gap: 1.2rem; }
  .landing-brands .brand-logo { height: 36px; max-width: 110px; }
  .landing-proof { padding: 2.5rem 1.2rem; }
  .landing-intro,
  .landing-products,
  .landing-guarantees,
  .landing-faq { padding: 2.5rem 1.2rem; }
  .landing-products-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .landing-guarantees-list { grid-template-columns: 1fr; }
  .landing-intro-contact { flex-direction: column; gap: 0.4rem; }
  /* No open background space to anchor the seal against once the hero stacks
     single-column — drop it rather than overlap the CTA/benefit list. */
  .landing-seal { display: none; }
}
