/* ============================================================
   PRICEPOINT — Design tokens
   ============================================================ */
:root {
  --bg-white:        #ffffff;
  --bg-grey:         #f8fafc;
  --bg-indigo-light: #eef2ff;
  --border-light:    #e2e8f0;
  --border-indigo:   #e0e7ff;

  --color-heading:   #0f172a;
  --color-body:      #374151;
  --color-muted:     #475569;
  --color-muted-2:   #6b7280;
  --color-muted-3:   #4b5563;
  --color-slate-300: #94a3b8;
  --color-blue:      #0047AB;
  --color-blue-dark: #003d94;
  --color-orange:    #2600AB;
  --color-orange-dark:#1e0082;
  --color-purple:    #00ABA2;
  --color-purple-dark:#008c84;

  --shadow-btn:      0 1px 3px rgba(0,0,0,0.06);
  --shadow-btn-hover:0 4px 12px rgba(0,0,0,0.1);
  --shadow-badge:    0 1px 4px rgba(0,0,0,0.06);
  --shadow-badge-hover:0 4px 12px rgba(0,0,0,0.12);
  --shadow-card:     0 8px 32px rgba(0,0,0,0.14);
  --shadow-audience: 0 0 10px 3px rgba(0,0,0,0.15), 0 2px 4px rgba(0,0,0,0.12);
}

/* ============================================================
   Hero — audience buttons
   ============================================================ */
.audience-btns-bar {
  position: absolute; top: 18px;
  left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 1440px;
  z-index: 10; pointer-events: none;
  display: flex; justify-content: flex-end;
  padding: 0 32px; box-sizing: border-box;
}
.audience-btns-inner { pointer-events: all; display: flex; gap: 10px; }
.btn-audience {
  display: inline-flex; align-items: center;
  color: #fff; font-weight: 600; font-size: 0.85rem;
  padding: 9px 18px; border-radius: 8px;
  text-decoration: none; transition: background 0.15s;
  white-space: nowrap; box-shadow: var(--shadow-audience);
}
.btn-audience-hotspot {
  position: relative;
  background: #fff; color: #fff; gap: 8px; cursor: default;
  z-index: 1;
}
.btn-audience-hotspot::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 10px;
  background: linear-gradient(270deg, #a855f7, #ec4899, #a855f7);
  background-size: 400% 400%;
  animation: hotspotGradientMove 8s ease infinite;
  z-index: -1;
}
@keyframes hotspotGradientMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.btn-audience-hotspot-icon { width: 16px; height: 16px; flex-shrink: 0; }

@media(max-width:1023px) { .hero-audience-btns { display: none; } }

/* Overlay nav only makes sense floating over the hero image on desktop;
   on mobile the image sits below the text, so keep the nav in normal
   flow there instead of overlapping the heading underneath it. */
@media(max-width:1023px) { .hero-overlay-nav { position: static !important; } }

/* ============================================================
   Cookie Consent
   ============================================================ */
.cc-window { z-index: 9999 !important; }

/* Smooth navbar transition when cookie consent appears */
.absolute.inset-x-0.top-0 { transition: top 0.3s ease-out; }

/* ============================================================
   Hero — text panel
   ============================================================ */
.hero-h1 {
  font-size: 4.2rem; font-weight: 800;
  line-height: 1.05; color: var(--color-heading);
  margin: 0 0 32px 0;
}
@media(max-width:767px) { .hero-h1 { font-size: 2.8rem; } }
@media(max-width:480px) { .hero-h1 { font-size: 2.2rem; } }

.hero-sub {
  font-size: 1.1rem; color: var(--color-muted);
  line-height: 1.6; max-width: 460px; margin: 0 0 28px 0;
}
.hero-ul {
  list-style: none; padding: 0;
  margin: 0 0 40px 0;
  display: flex; flex-direction: column; gap: 14px;
}
.hero-li {
  display: flex; align-items: center;
  gap: 10px; font-size: 1.1rem; color: var(--color-body);
}
.hero-li-icon {
  flex-shrink: 0; width: 20px; height: 20px;
  background: rgba(0,71,171,0.12); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

@media(max-width:1023px) {
  .hero-sub  { margin-left: auto !important; margin-right: auto !important; }
  .hero-ul   { align-items: center; }
  .hero-btns { justify-content: center; }
}

/* ============================================================
   Hero — CTA buttons
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-blue); color: #fff;
  font-weight: 600; font-size: 1rem;
  padding: 13px 26px; border-radius: 10px;
  text-decoration: none; transition: background 0.15s;
}
.btn-primary:hover { background: var(--color-blue-dark); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--bg-white); color: var(--color-heading);
  font-weight: 600; font-size: 1rem;
  padding: 13px 26px; border-radius: 10px;
  text-decoration: none; border: 1px solid var(--border-light);
  box-shadow: var(--shadow-btn); transition: box-shadow 0.15s;
}
.btn-secondary:hover { box-shadow: var(--shadow-btn-hover); }

/* ============================================================
   Video modal
   ============================================================ */
.video-modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 1000;
  background: rgba(0,0,0,0.82); align-items: center; justify-content: center;
}
.video-modal-overlay.open { display: flex; }
.video-modal-inner {
  position: relative; width: 90vw; max-width: 900px;
  aspect-ratio: 16/9; background: #000; border-radius: 12px; overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}
.video-modal-inner iframe { width: 100%; height: 100%; border: 0; }
.video-modal-close {
  position: absolute; top: -38px; right: 0;
  background: none; border: none; cursor: pointer;
  color: #fff; font-size: 1.6rem; line-height: 1; opacity: 0.8;
}
.video-modal-close:hover { opacity: 1; }

/* YouTube-style play badge inside the button */
.yt-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 22px; background: #FF0000; border-radius: 5px;
  flex-shrink: 0; transition: background 0.15s;
}
.btn-secondary:hover .yt-badge { background: #cc0000; }

/* ============================================================
   Hero — image panel
   ============================================================ */
.hero-img-wrap { width: calc(50% + 120px); }
@media(max-width:1023px) { .hero-img-wrap { width: 100%; } }

.hero-img-pos { position: relative; width: 100%; height: 100%; }

.hero-slide-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slide-overlay.is-visible { opacity: 1; }

.hero-left-fade {
  position: absolute; top: 0; left: 0;
  height: 100%; pointer-events: none;
  background: linear-gradient(to right, white 0%, white 60%, rgba(255,255,255,0) 100%);
  width: 15%;
}
@media(min-width:768px)  { .hero-left-fade { width: 20%; } }
@media(min-width:1024px) { .hero-left-fade { width: 280px; } }
@media(max-width:1023px) { .hero-left-fade { display: none; } }

/* ============================================================
   App band
   ============================================================ */
.app-band {
  background: var(--bg-grey);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 24px 40px;
}
.app-band-inner { max-width: 1200px; margin: 0 auto; }
.app-band-wrap  { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; justify-content: center; }
.app-band-divider { width: 1px; height: 80px; background: var(--border-light); flex-shrink: 0; }
.app-band-badges  { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; justify-content: center; }
.app-band-label-wrap { display: flex; align-items: center; gap: 16px; }
.app-band-heading { margin: 0; font-size: 1.75rem; font-weight: 700; color: #111827; }
.app-band-subtext { margin: 0; font-size: 1rem; color: var(--color-muted-2); }

@media(max-width:768px)  { .app-band-wrap { gap: 14px; } .app-band-badges { gap: 10px; } }
@media(max-width:1196px) { .app-band-divider { display: none; } }
@media(max-width:1196px) {
  .app-band-label-wrap { width: 100%; justify-content: center; }
  .app-band-label { text-align: center; }
}

/* ============================================================
   App store badges
   ============================================================ */
.app-store-badge {
  display: flex; align-items: center; gap: 14px;
  background: var(--bg-white); color: #111;
  text-decoration: none; padding: 14px 28px;
  border-radius: 14px; border: 1px solid var(--border-light);
  box-shadow: var(--shadow-badge); transition: box-shadow 0.15s;
}
.app-store-badge:hover { box-shadow: var(--shadow-badge-hover); }
.badge-sublabel { font-size: 0.75rem; line-height: 1; color: #555; }
.badge-name     { font-size: 1.35rem; font-weight: 600; line-height: 1.3; }

/* ============================================================
   Customer type CTA
   ============================================================ */
.cta-section {
  background: var(--bg-white);
  padding: 96px 24px 64px; text-align: center;
}
.cta-heading { font-size: 2rem; font-weight: 800; color: var(--color-heading); margin-bottom: 40px; }

.pc-row {
  display: flex; align-items: flex-start; justify-content: center;
  gap: 28px; max-width: 1240px; margin: 0 auto; flex-wrap: wrap;
}
.pc-card {
  flex: 1 1 320px; max-width: 380px;
  background: var(--bg-white);
  border-radius: 16px; border-top: 5px solid transparent;
  box-shadow: var(--shadow-card);
  padding: 44px 28px 28px; text-align: left;
  display: flex; flex-direction: column;
}
.pc-card-installer  { border-top-color: var(--color-orange); text-align: center; }
.pc-card-fabricator { border-top-color: var(--color-purple); text-align: center; }
.pc-card-center {
  border-top-color: var(--color-blue);
  background: var(--bg-indigo-light);
  max-width: 460px; padding: 52px 36px 32px;
  margin-top: -20px;
  box-shadow: 0 20px 50px rgba(0,71,171,0.18);
  position: relative; z-index: 2;
}

.pc-eyebrow { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 10px; }
.pc-eyebrow-installer  { color: var(--color-orange); }
.pc-eyebrow-fabricator { color: var(--color-purple); }
.pc-eyebrow-center     { color: var(--color-blue); text-align: center; }

.pc-title { font-size: 1.75rem; font-weight: 800; color: var(--color-heading); line-height: 1.15; margin: 0 0 14px; }
.pc-title-center { text-align: center; font-size: 2rem; }
.pc-title-center .accent { color: var(--color-blue); }

.pc-desc { color: var(--color-muted-3); font-size: 0.95rem; line-height: 1.6; margin: 0 0 20px; }
.pc-desc-center { text-align: center; margin-bottom: 28px; }

.pc-list { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.pc-list li { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 0.92rem; font-weight: 500; }
.pc-list li svg { width: 18px; height: 18px; flex-shrink: 0; }
.pc-list-installer li  { color: var(--color-orange); }
.pc-list-fabricator li { color: var(--color-purple); }

.pc-divider { border: none; border-top: 1px solid var(--border-indigo); margin: 0 0 24px; }

.pc-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  color: #fff; font-weight: 700; font-size: 0.95rem;
  padding: 14px 20px; border-radius: 10px;
  text-decoration: none; transition: opacity 0.15s;
}
.pc-btn:hover { opacity: 0.9; }
.pc-btn-installer  { background: #fff; color: var(--color-orange); border: 2px solid var(--color-orange); }
.pc-btn-installer:hover  { opacity: 1; background: var(--color-orange); color: #fff; }
.pc-btn-fabricator { background: #fff; color: var(--color-purple); border: 2px solid var(--color-purple); }
.pc-btn-fabricator:hover { opacity: 1; background: var(--color-purple); color: #fff; }
.pc-btn-center      { background: var(--color-blue); }

.pc-timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); margin-bottom: 24px; }
.pc-timeline::before {
  content: ""; position: absolute; top: 26px; left: 10%; right: 10%;
  height: 2px; background: var(--border-indigo); z-index: 0;
}
.pc-step { position: relative; z-index: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 4px; }
.pc-step-icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}
.pc-step-icon svg { width: 22px; height: 22px; }
.pc-step-title { font-weight: 700; font-size: 0.75rem; color: var(--color-heading); margin: 0 0 2px; overflow-wrap: break-word; }
.pc-step-sub   { font-size: 0.7rem; color: var(--color-muted-2); line-height: 1.3; margin: 0; }

@media (max-width: 1023px) {
  .pc-card-center { margin-top: 0; order: -1; max-width: 480px; }
}
@media (max-width: 639px) {
  .pc-timeline::before { display: none; }
}

/* ============================================================
   Logo band
   ============================================================ */
.logo-band {
  background: var(--bg-grey);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 72px 24px; text-align: center;
}
.logo-band-label {
  font-size: 0.85rem; font-weight: 600; color: var(--color-slate-300);
  letter-spacing: 0.08em; text-transform: uppercase; margin: 0 0 32px 0;
}
.logo-band-logos {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap; row-gap: 24px; column-gap: 40px;
  width: 100%; max-width: 1300px; margin: 0 auto;
}
.logo-band-item {
  display: flex; align-items: center; justify-content: center;
  height: 44px; max-width: 150px; flex-shrink: 0;
}
.logo-band-img {
  max-height: 100%; max-width: 100%;
  width: auto; height: auto;
  object-fit: contain;
  transition: transform 0.15s;
}
.logo-band-item:hover .logo-band-img { transform: scale(1.06); }

/* ============================================================
   Feature sections
   ============================================================ */
.feat-section {
  width: 100vw; position: relative;
  left: 50%; transform: translateX(-50%);
  padding: 3rem 2.5rem;
}
.feat-section-grey  { background: var(--bg-grey); }
.feat-section-white { background: var(--bg-white); }

.feat-inner { max-width: 1440px; margin: 0 auto; }

.feat-grid { display: grid; gap: 2rem; align-items: center; }
.feat-grid-img-left  { grid-template-columns: 2fr 1fr; }
.feat-grid-text-left { grid-template-columns: 1fr 2fr; }
@media(max-width:767px) {
  .feat-grid-img-left, .feat-grid-text-left { grid-template-columns: 1fr; }
  .feat-grid-text-left > div:first-child { order: 2; }
}

.feat-img { width: 100%; height: auto; display: block; border-radius: 8px; }

/* ============================================================
   Shared section utility
   ============================================================ */
.section-grey { background: var(--bg-grey); }
