@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Manrope:wght@600;700;800&display=swap');

:root {
  --ink: #050b12;
  --bg: #07101a;
  --bg-2: #0b1621;
  --panel: #101e2b;
  --panel-2: #142333;
  --line: rgba(155, 170, 189, .18);
  --line-hot: rgba(255, 107, 53, .48);
  --text: #f4f7fa;
  --muted: #9baabd;
  --orange: #ff6b35;
  --amber: #ffb547;
  --cyan: #21c7d9;
  --green: #55dfac;
  --red: #ef3d4f;
  --shadow: 0 28px 70px rgba(0, 0, 0, .26);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 15.5px/1.6 Inter, ui-sans-serif, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.eyebrow {
  color: var(--cyan);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.kicker { color: var(--orange); }
h1, h2, h3 { font-family: Manrope, sans-serif; }
h1 {
  max-width: 900px;
  margin: 16px 0 20px;
  font-size: clamp(3rem, 6.3vw, 6.2rem);
  line-height: .98;
  letter-spacing: -.058em;
}
h2 {
  margin: 12px 0 16px;
  font-size: clamp(2rem, 3.7vw, 3.7rem);
  line-height: 1.04;
  letter-spacing: -.045em;
}
h3 { margin: 0 0 8px; font-size: 1.18rem; line-height: 1.25; }
p { margin: 0 0 16px; color: var(--muted); }
.lede { max-width: 750px; color: #c4cfda; font-size: 1.08rem; }
.fine { color: #75879a; font-size: .72rem; }
.button, .ghost, .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 750;
}
.button {
  min-height: 46px;
  padding: 12px 21px;
  border: 0;
  border-radius: 999px;
  color: white;
  background: linear-gradient(135deg, var(--orange), #ef4f3d);
  box-shadow: 0 12px 30px rgba(255, 107, 53, .2);
  cursor: pointer;
}
.button:hover { filter: brightness(1.08); transform: translateY(-1px); }
.button.small { min-height: 38px; padding: 8px 15px; font-size: .78rem; }
.ghost {
  min-height: 46px;
  padding: 11px 20px;
  border: 1px solid rgba(244, 247, 250, .26);
  border-radius: 999px;
  background: rgba(7, 16, 26, .38);
}
.text-link { color: var(--cyan); font-size: .8rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }

.topbar {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 20px;
  color: #b8c5d2;
  background: #050b12;
  border-bottom: 1px solid var(--line);
  font-size: .71rem;
}
.topbar a { margin-left: 10px; color: var(--cyan); font-weight: 750; }
.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 76px;
  padding: 0 max(24px, calc((100vw - 1300px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(7, 16, 26, .91);
  backdrop-filter: blur(16px);
}
.brand img { width: 205px; }
.desktop-nav { display: flex; gap: 23px; margin-left: auto; }
.desktop-nav a {
  position: relative;
  color: #bdc8d4;
  font-size: .8rem;
  font-weight: 650;
}
.desktop-nav a:hover, .desktop-nav a.active { color: white; }
.desktop-nav a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -29px;
  left: 0;
  height: 2px;
  background: var(--orange);
}
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: white;
  background: transparent;
}
.mobile-nav {
  display: none;
  position: fixed;
  z-index: 19;
  inset: 110px 0 0;
  padding: 30px 24px;
  background: rgba(5, 11, 18, .98);
}
.mobile-nav.open { display: grid; align-content: start; gap: 5px; }
.mobile-nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }

.hero {
  position: relative;
  min-height: 610px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7,16,26,.98), rgba(7,16,26,.76) 50%, rgba(7,16,26,.12)),
    url('./images/heatwaveiq-hero-industrial-thermal.png') 72% center/cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: .5;
}
.hero .wrap { position: relative; padding-block: 84px; }
.hero p { max-width: 690px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 40px;
  color: #8fa1b4;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.hero-badges span::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
}
.page-hero {
  position: relative;
  padding: 86px 0 62px;
  overflow: hidden;
  background:
    radial-gradient(circle at 83% 20%, rgba(33,199,217,.10), transparent 22%),
    radial-gradient(circle at 78% 70%, rgba(255,107,53,.11), transparent 27%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 390px;
  height: 390px;
  right: 8vw;
  top: -130px;
  border: 1px solid rgba(33, 199, 217, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(33,199,217,.025), 0 0 0 140px rgba(255,107,53,.018);
}
.page-hero h1 { max-width: 980px; font-size: clamp(2.8rem, 5.1vw, 5rem); }
.page-hero .wrap { position: relative; z-index: 1; }

.section { padding: 68px 0; }
.section.tight { padding: 45px 0; }
.section.alt { background: var(--bg-2); }
.section-header {
  display: grid;
  grid-template-columns: 1.1fr .75fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 29px;
}
.section-header p { margin: 0; }
.grid { display: grid; gap: 14px; }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.card {
  position: relative;
  min-height: 190px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(145deg, var(--panel-2), #0a141e);
  overflow: hidden;
}
.card.hot { border-color: var(--line-hot); }
.card .num {
  display: block;
  margin-bottom: 35px;
  color: var(--orange);
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .14em;
}
.card ul, .check-list { margin: 14px 0 0; padding: 0; list-style: none; }
.card li, .check-list li {
  position: relative;
  margin: 8px 0;
  padding-left: 18px;
  color: #9eafc0;
  font-size: .82rem;
}
.card li::before, .check-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--cyan);
}
.band {
  display: grid;
  grid-template-columns: .8fr 1.45fr auto;
  gap: 34px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line-hot);
  border-radius: 18px;
  background: rgba(255, 107, 53, .055);
}
.band h2 { margin: 0; font-size: 1.65rem; }
.band p { margin: 0; }
.metric-row { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 17px; overflow: hidden; }
.metric { padding: 22px; background: var(--panel); border-right: 1px solid var(--line); }
.metric:last-child { border: 0; }
.metric b { display: block; color: white; font: 700 1.3rem Manrope; }
.metric span { color: var(--muted); font-size: .75rem; }
.workflow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.workflow .step { padding: 22px; border-top: 2px solid var(--cyan); background: var(--panel); }
.workflow .step:nth-child(3), .workflow .step:nth-child(4) { border-color: var(--orange); }
.workflow b { display: block; margin-bottom: 8px; color: var(--orange); font-size: .7rem; letter-spacing: .12em; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 58px; align-items: center; }
.visual-panel {
  min-height: 380px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 75% 25%, rgba(255,107,53,.20), transparent 20%),
    radial-gradient(circle at 25% 72%, rgba(33,199,217,.12), transparent 25%),
    linear-gradient(145deg, #142333, #09131d);
  box-shadow: var(--shadow);
}
.visual-panel .monitor {
  display: grid;
  grid-template-columns: .68fr 1.32fr;
  min-height: 320px;
  border: 1px solid rgba(244,247,250,.14);
  border-radius: 13px;
  overflow: hidden;
  background: #07101a;
}
.monitor aside { padding: 16px; border-right: 1px solid var(--line); }
.monitor aside i { display: block; height: 8px; margin: 14px 0; border-radius: 6px; background: #263a4d; }
.monitor main { padding: 18px; }
.monitor .status { display: flex; gap: 8px; }
.monitor .status span { width: 33%; height: 56px; border: 1px solid var(--line); border-radius: 9px; background: #0d1925; }
.heatmap {
  position: relative;
  height: 190px;
  margin-top: 14px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 64% 52%, #ffdd63 0 4%, #ff723b 8%, #6937ad 21%, transparent 37%),
    linear-gradient(145deg, #203244, #09131d);
}
.heatmap::after {
  content: "EVENT 0248 · ANALYSIS ACTIVE";
  position: absolute;
  left: 12px;
  bottom: 10px;
  color: var(--cyan);
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .08em;
}

.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: stretch; }
.plan {
  display: flex;
  flex-direction: column;
  min-height: 500px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}
.plan.featured { border-color: var(--line-hot); box-shadow: 0 20px 55px rgba(255,107,53,.08); }
.plan .label { color: var(--orange); font-size: .67rem; font-weight: 800; letter-spacing: .14em; }
.plan h2 { font-size: 1.8rem; }
.plan .price { margin: 4px 0 18px; color: white; font-weight: 750; }
.plan .check-list { margin-bottom: 24px; }
.plan .button, .plan .ghost { margin-top: auto; }
.addon {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 44px;
  padding: 32px;
  border: 1px solid var(--line-hot);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,107,53,.10), rgba(16,30,43,.7));
}
.pill {
  display: inline-flex;
  padding: 5px 9px;
  border: 1px solid rgba(33,199,217,.35);
  border-radius: 999px;
  color: var(--cyan);
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.form-layout { display: grid; grid-template-columns: .66fr 1.34fr; gap: 38px; align-items: start; }
.form-aside {
  position: sticky;
  top: 112px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
}
.form-aside strong { display: block; margin-bottom: 10px; }
.notice {
  margin-top: 18px;
  padding: 14px;
  border-left: 3px solid var(--amber);
  color: #b6c2ce;
  background: rgba(255,181,71,.06);
  font-size: .76rem;
}
form {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
}
.field-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
label { color: #cbd5df; font-size: .76rem; font-weight: 700; }
label .optional { color: #6f8295; font-weight: 500; }
input, select, textarea {
  width: 100%;
  min-height: 45px;
  padding: 11px 12px;
  border: 1px solid #2b3e50;
  border-radius: 10px;
  outline: none;
  color: white;
  background: #09141f;
}
textarea { min-height: 126px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(33,199,217,.1); }
input[type="checkbox"] { width: 17px; min-height: 17px; accent-color: var(--orange); }
.check-field { display: flex; align-items: flex-start; gap: 10px; }
.form-actions { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.form-success {
  display: none;
  margin-top: 18px;
  padding: 17px;
  border: 1px solid rgba(85,223,172,.35);
  border-radius: 12px;
  color: #c9f5e4;
  background: rgba(85,223,172,.07);
}
.form-success.show { display: block; }

.faq { border-top: 1px solid var(--line); }
.faq details { padding: 18px 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; color: white; font-weight: 750; }
.faq p { max-width: 850px; margin-top: 10px; }
.cta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 21px;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,107,53,.14), transparent 32%),
    var(--panel);
}
.cta h2 { margin: 5px 0 0; font-size: clamp(1.8rem, 3vw, 3rem); }
.legal-copy { max-width: 900px; }
.legal-copy h2 { margin-top: 38px; font-size: 1.45rem; }
.legal-copy p, .legal-copy li { color: var(--muted); }

.site-footer { padding-top: 50px; border-top: 1px solid var(--line); background: var(--ink); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 34px; padding-bottom: 42px; }
.footer-grid img { width: 200px; }
.footer-grid p { max-width: 275px; color: #718396; font-size: .78rem; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col b { margin-bottom: 6px; }
.footer-col a { color: #8799ac; font-size: .78rem; }
.footer-col a:hover { color: white; }
.legal-bar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 17px;
  border-top: 1px solid var(--line);
  color: #607183;
  font-size: .68rem;
}

@media (max-width: 1000px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: block; }
  .site-header > .button { display: none; }
  .section-header, .split, .addon, .form-layout { grid-template-columns: 1fr; }
  .grid.four, .workflow, .metric-row { grid-template-columns: repeat(2, 1fr); }
  .grid.three, .plans-grid { grid-template-columns: 1fr 1fr; }
  .band { grid-template-columns: 1fr; }
  .form-aside { position: static; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

@media (max-width: 680px) {
  .wrap { width: calc(100% - 32px); }
  .topbar { justify-content: flex-start; overflow: hidden; white-space: nowrap; }
  .site-header { min-height: 70px; padding-inline: 16px; }
  .brand img { width: 168px; }
  .mobile-nav { inset-block-start: 104px; }
  .hero { min-height: 680px; align-items: end; }
  .hero::before { background: linear-gradient(0deg,rgba(7,16,26,.99),rgba(7,16,26,.70)), url('./images/heatwaveiq-hero-industrial-thermal.png') 68% center/cover; }
  .hero .wrap { padding-block: 78px 58px; }
  h1 { font-size: 3.35rem; }
  .page-hero { padding-block: 62px 45px; }
  .page-hero h1 { font-size: 2.9rem; }
  .section { padding-block: 50px; }
  .section-header { gap: 10px; }
  .grid.two, .grid.three, .grid.four, .plans-grid, .workflow, .metric-row, .field-grid, .footer-grid { grid-template-columns: 1fr; }
  .metric { border-right: 0; border-bottom: 1px solid var(--line); }
  .plan { min-height: auto; }
  .visual-panel { min-height: 300px; padding: 17px; }
  .visual-panel .monitor { min-height: 265px; }
  .monitor aside { display: none; }
  .visual-panel .monitor { grid-template-columns: 1fr; }
  .form-layout { gap: 20px; }
  form { padding: 19px; }
  .actions, .form-actions { align-items: stretch; flex-direction: column; }
  .button, .ghost { width: 100%; }
  .cta { grid-template-columns: 1fr; }
  .legal-bar { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

.hidden-field{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;overflow:hidden!important}
.legal-copy a{overflow-wrap:anywhere}

/* v3 navigation structure: global actions live in the header, not page heroes */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.header-actions .button,
.header-actions .ghost {
  min-height: 40px;
  padding: 8px 15px;
  font-size: .76rem;
  white-space: nowrap;
}
.page-hero .lede { max-width: 850px; }

@media (max-width: 1180px) {
  .site-header { gap: 18px; }
  .desktop-nav { gap: 16px; }
  .header-actions .button,
  .header-actions .ghost { padding-inline: 12px; }
}

@media (max-width: 1000px) {
  .header-actions { display: none; }
  .mobile-nav.open { display: flex; flex-direction: column; gap: 18px; }
  .mobile-nav a { color: #dbe5ef; font-weight: 700; }
  .mobile-nav a:nth-last-child(2),
  .mobile-nav a:last-child {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 48px;
    border-radius: 999px;
  }
  .mobile-nav a:nth-last-child(2) { background: var(--orange); color: white; }
  .mobile-nav a:last-child { border: 1px solid var(--line); }
}

/* v6: Standard informational page heroes never contain CTA/action rows.
   Primary actions live only in the persistent site header. */
.page-hero > .wrap > .actions,
.page-hero > .wrap > .hero-actions,
.page-hero > .wrap > .header-actions,
.page-hero .button,
.page-hero .ghost {
  display: none !important;
}

/* Dedicated request/evaluation pages keep their actual forms and form buttons. */
body[data-page="evaluation"] .form-card .button,
body[data-page="sales"] .form-card .button,
body[data-page="support"] .form-card .button {
  display: inline-flex !important;
}
