@charset "UTF-8";

/* =====================================================
   HazardIQ Marketing Site - styles
   Brand: Safety yellow #FFD600 | Black #111111
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow: #FFD600;
  --yellow-hover: #F0C800;
  --black: #111111;
  --grey-dark: #1E1E1E;
  --grey-mid: #444444;
  --grey-light: #F5F5F5;
  --grey-border: #E0E0E0;
  --white: #FFFFFF;
  --stripe-angle: 45deg;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 48px rgba(0,0,0,0.14);
  --transition: 0.2s ease;
  --container: 1160px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

/* ---- UTILITIES ---- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.text-center { text-align: center; }

.section-heading {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--black);
}

.section-sub {
  font-size: 1.1rem;
  color: var(--grey-mid);
  max-width: 640px;
  margin: 1rem auto 0;
  line-height: 1.7;
}

.highlight {
  color: var(--yellow);
  background: var(--black);
  padding: 0 6px 2px;
  border-radius: 4px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 10px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--yellow);
  color: var(--black);
  border-color: var(--yellow);
}
.btn--primary:hover { background: var(--yellow-hover); border-color: var(--yellow-hover); }

.btn--outline {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}
.btn--outline:hover { background: var(--black); color: var(--white); }

.btn--ghost {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn--ghost:hover { background: rgba(255,255,255,0.22); border-color: rgba(255,255,255,0.6); }

.btn--lg { font-size: 1.05rem; padding: 14px 32px; }

.btn--full { width: 100%; }

.btn--sent { background: #22c55e; border-color: #22c55e; color: var(--white); }

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--black);
  border-bottom: 3px solid var(--yellow);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 32px;
}

.nav__logo {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  text-decoration: none;
  flex-shrink: 0;
  white-space: nowrap;
}

.logo-hazard { color: var(--white); }
.logo-iq { color: var(--yellow); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__links a {
  color: rgba(255,255,255,0.80);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav__links a:hover { color: var(--white); }

.nav__links .btn { font-size: 0.88rem; padding: 8px 18px; }

.nav__links .btn--outline { border-color: rgba(255,255,255,0.4); color: var(--white); }
.nav__links .btn--outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ---- HERO ---- */
.hero {
  background: var(--black);
  position: relative;
  overflow: hidden;
  padding: 96px 0 80px;
}

.hero__inner { position: relative; z-index: 1; }

.hero__badge {
  display: inline-block;
  background: rgba(255,214,0,0.15);
  color: var(--yellow);
  border: 1px solid rgba(255,214,0,0.35);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero__heading {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--white);
  max-width: 800px;
  margin-bottom: 24px;
}

.hero__sub {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.70);
  max-width: 620px;
  line-height: 1.75;
  margin-bottom: 40px;
}

.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero__proof {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.60);
}

.hero__proof strong {
  color: var(--yellow);
  font-weight: 700;
}

.proof-sep { color: rgba(255,255,255,0.25); }

.hero__stripe {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: repeating-linear-gradient(
    var(--stripe-angle),
    var(--yellow) 0px,
    var(--yellow) 12px,
    var(--black) 12px,
    var(--black) 24px
  );
}

/* ---- PROBLEM ---- */
.problem {
  padding: 96px 0;
  background: var(--grey-light);
}

.problem .section-heading { margin-bottom: 12px; }

.problem__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 56px;
}

.problem__card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--yellow);
}

.problem__icon { font-size: 2.2rem; margin-bottom: 16px; }
.problem__card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.problem__card p { color: var(--grey-mid); font-size: 0.95rem; line-height: 1.65; }

/* ---- FEATURES ---- */
.features {
  padding: 96px 0;
  background: var(--white);
}

.features__header {
  text-align: center;
  margin-bottom: 64px;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.feature-card {
  padding: 32px 28px;
  border: 1.5px solid var(--grey-border);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.feature-card:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.feature-card__icon { font-size: 2rem; margin-bottom: 14px; }
.feature-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 0.93rem; color: var(--grey-mid); line-height: 1.65; }

/* ---- WHO ---- */
.who {
  padding: 96px 0;
  background: var(--black);
}

.who .section-heading { color: var(--white); margin-bottom: 56px; }

.who__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.who__card {
  background: var(--grey-dark);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  border: 1.5px solid rgba(255,255,255,0.08);
}

.who__card--highlight {
  border-color: var(--yellow);
  position: relative;
}

.who__card--highlight::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: calc(var(--radius-lg) + 1px);
  border: 2px solid var(--yellow);
}

.who__card h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: 12px; }
.who__card p { font-size: 0.95rem; color: rgba(255,255,255,0.65); line-height: 1.65; }

/* ---- COMPLIANCE ---- */
.compliance {
  padding: 48px 0;
  background: var(--yellow);
  text-align: center;
}

.compliance__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  margin-bottom: 20px;
}

.compliance__badges {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.badge {
  background: var(--black);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ---- HOW IT WORKS ---- */
.how {
  padding: 96px 0;
  background: var(--grey-light);
}

.how .section-heading { margin-bottom: 64px; }

.how__steps {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.how__step {
  flex: 1;
  min-width: 200px;
  max-width: 230px;
  text-align: center;
  padding: 0 16px;
}

.how__num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
  -webkit-text-stroke: 2px var(--black);
  paint-order: stroke fill;
}

.how__step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; }
.how__step p { font-size: 0.9rem; color: var(--grey-mid); line-height: 1.65; }

.how__arrow {
  font-size: 1.8rem;
  color: var(--grey-border);
  align-self: center;
  margin-top: -20px;
  flex-shrink: 0;
}

/* ---- PRICING ---- */
.pricing {
  padding: 96px 0;
  background: var(--white);
}

.pricing .section-heading { margin-bottom: 14px; }

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 56px;
  align-items: start;
}

.pricing__card {
  border: 1.5px solid var(--grey-border);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
}

.pricing__card--featured {
  border-color: var(--yellow);
  border-width: 2px;
  box-shadow: var(--shadow-lg);
}

.pricing__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--yellow);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 16px;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing__card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 16px; }

.pricing__price { margin-bottom: 12px; }
.price-amount { font-size: 2.6rem; font-weight: 900; letter-spacing: -0.04em; }
.price-period { font-size: 1rem; color: var(--grey-mid); }

.pricing__desc { font-size: 0.9rem; color: var(--grey-mid); margin-bottom: 28px; line-height: 1.55; }

.pricing__features {
  list-style: none;
  margin-bottom: 32px;
}

.pricing__features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--grey-border);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing__features li::before {
  content: '\2713';
  color: var(--yellow);
  background: var(--black);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 900;
  flex-shrink: 0;
}

/* ---- DEMO CTA ---- */
.demo {
  padding: 96px 0;
  background: var(--black);
}

.demo__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}

.demo__copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.demo__copy p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 28px;
}

.demo__points {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.demo__points li {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.5;
}

.demo__points li::before {
  content: '\2192';
  color: var(--yellow);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.demo__form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 7px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--grey-border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255,214,0,0.2);
}

.form-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--grey-mid);
  margin-top: 14px;
}

/* ---- FOOTER ---- */
.footer {
  background: #0A0A0A;
  border-top: 3px solid var(--yellow);
  padding: 48px 0;
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.footer__brand p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.45);
  margin-top: 8px;
}

.footer__brand a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
}

.footer__brand a:hover { color: var(--yellow); }

.footer__links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.footer__links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--white); }

.footer__legal p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
  text-align: right;
}

/* ---- SERVICES ---- */
.services {
  padding: 96px 0;
  background: var(--white);
}

.services__eyebrow {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.services__header { margin-bottom: 64px; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}

.service-item {
  background: var(--grey-light);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1.5px solid var(--grey-border);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.service-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.service-item--highlight {
  background: var(--white);
  border-color: var(--yellow);
  border-width: 2px;
  box-shadow: var(--shadow);
}

.service-item__icon { font-size: 2.4rem; }
.service-item h3 { font-size: 1.15rem; font-weight: 800; }
.service-item p { font-size: 0.95rem; color: var(--grey-mid); line-height: 1.65; flex: 1; }
.service-item .btn { align-self: flex-start; margin-top: 8px; }

.services__cta {
  text-align: center;
  background: var(--black);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.services__cta p {
  color: rgba(255,255,255,0.85);
  font-size: 1.1rem;
  font-weight: 500;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .demo__inner { grid-template-columns: 1fr; gap: 48px; }
  .how__arrow { display: none; }
  .how__steps { gap: 32px; }
  .how__step { max-width: 100%; min-width: 0; }
}

@media (max-width: 700px) {
  .nav__links { display: none; flex-direction: column; position: absolute; top: 67px; left: 0; right: 0; background: var(--black); padding: 16px 24px; gap: 16px; border-bottom: 3px solid var(--yellow); }
  .nav__links--open { display: flex; }
  .nav { position: sticky; top: 0; }
  .nav__inner { position: relative; }
  .nav__burger { display: flex; }
  .hero { padding: 64px 0 56px; }
  .hero__heading { font-size: 2.4rem; }
  .hero__cta { flex-direction: column; }
  .hero__cta .btn { width: 100%; text-align: center; }
  .pricing__card { padding: 32px 24px; }
  .demo__form { padding: 28px 20px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .footer__legal p { text-align: left; }
  .section-sub { font-size: 1rem; }
}
