/* ================================================================
   QUALZY — Why Qualzy Page
   Prefix: wq-
   Sections: hero · pain · offers · diff · migrate · proof
   ================================================================ */


/* ================================================================
   HERO — Dark, full-bleed with centred copy and SVG overlay rings
   ================================================================ */
.wq-hero {
  padding-top: 64px; /* nav height offset */
  padding-bottom: 100px;
  background: var(--d2);
  position: relative;
  overflow: hidden;
}

/* Radial gradient overlay — subtle orange warmth top-right + soft bottom-left */
.wq-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 80% 10%, rgba(250, 88, 2, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 90%, rgba(250, 88, 2, 0.05) 0%, transparent 45%);
  pointer-events: none;
}

/* SVG decorative concentric circles */
.wq-hero-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Centred copy column, constrained width */
.wq-hero-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Eyebrow badge — styled inline on the element for dark-bg variant */
.wq-hero-badge {
  margin-bottom: 24px;
  display: inline-flex;
}

/* Main headline */
.wq-hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

/* Italic emphasis in headline = orange accent */
.wq-hero-h1 em {
  color: var(--o);
  font-style: italic;
}

/* Sub-heading paragraph */
.wq-hero-sub {
  font-size: 19px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 40px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA button row */
.wq-hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
}


/* ================================================================
   PAIN — Dark full-bleed section ("Does any of this sound familiar?")
   Own padding; content wrapped in .inn for max-width + centering
   ================================================================ */
.wq-pain {
  padding: 100px 0;
  background: var(--dk);
  position: relative;
  overflow: hidden;
}

/* Subtle radial gradient warmth */
.wq-pain-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 5% 50%, rgba(255, 255, 255, 0.02) 0%, transparent 55%),
    radial-gradient(ellipse at 95% 60%, rgba(250, 88, 2, 0.07) 0%, transparent 50%);
  pointer-events: none;
}

/* SVG decorative circles */
.wq-pain-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Inner .inn container — sits above bg layers */
.wq-pain-inner {
  position: relative;
  z-index: 1;
}

/* Section header block */
.wq-pain-hd {
  margin-bottom: 56px;
}

/* Intro paragraph beneath the heading */
.wq-pain-intro {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  font-weight: 300;
  max-width: 640px;
  margin-top: 16px;
}

/* 2-column grid — 6 cards = 3 rows */
.wq-pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Individual pain card */
.wq-pain-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 32px 34px;
  position: relative;
  transition: background var(--t-base), border-color var(--t-base);
}

.wq-pain-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(250, 88, 2, 0.2);
}

/* Large faint ordinal number */
.wq-pain-card-num {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 900;
  color: rgba(250, 88, 2, 0.2);
  line-height: 1;
  margin-bottom: 16px;
  display: block;
}

/* Card heading — the "quote" scenario */
.wq-pain-card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.45;
  margin-bottom: 14px;
}

/* Card explanatory description */
.wq-pain-card-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  font-weight: 300;
}


/* ================================================================
   OFFERS — Light section, 3-column capability grid
   Uses .pad for section padding
   ================================================================ */
.wq-offers {
  background: var(--wh);
}

/* Centred section header */
.wq-offers-hd {
  text-align: center;
  margin-bottom: 64px;
}

/* Italic emphasis inside heading = orange (inherits from global .stit em,
   stated here for local specificity clarity) */
.wq-offers-hd .stit em {
  color: var(--o);
  font-style: italic;
}

/* 3-column capability grid */
.wq-offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Individual offer card */
.wq-offer-card {
  background: #fff;
  border: 1.5px solid var(--rule);
  border-radius: 16px;
  padding: 36px 32px;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.wq-offer-card:hover {
  border-color: rgba(250, 88, 2, 0.3);
  box-shadow: 0 8px 36px rgba(0, 0, 0, 0.07);
}

/* Icon container — pale orange pill with orange SVG */
.wq-offer-icon {
  width: 48px;
  height: 48px;
  background: var(--op);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--o);
}

.wq-offer-icon svg {
  width: 22px;
  height: 22px;
}

/* Card title */
.wq-offer-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  color: var(--dk);
  line-height: 1.35;
  margin-bottom: 12px;
}

/* Card body copy */
.wq-offer-desc {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.72;
  font-weight: 300;
}


/* ================================================================
   COMPARISON TABLE — Light section, full-width table
   ================================================================ */
.wq-cmp {
  background: var(--wh);
  border-top: 1px solid var(--rule);
}

/* Centred section header */
.wq-cmp-hd {
  text-align: center;
  margin-bottom: 56px;
}

.wq-cmp-intro {
  max-width: 520px;
  margin: 0 auto;
}

/* Scrollable wrapper for mobile */
.wq-cmp-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 16px;
  border: 1.5px solid var(--rule);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

/* The table itself */
.wq-cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}

/* Header row */
.wq-cmp-th {
  padding: 18px 20px;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mu);
  background: var(--wh);
  border-bottom: 1.5px solid var(--rule);
  white-space: nowrap;
}

/* Qualzy column header — highlighted */
.wq-cmp-th--ours {
  background: var(--op);
  color: var(--o);
}

/* Feature label column — wider, left-aligned */
.wq-cmp-th--feature {
  width: 22%;
}

.wq-cmp-col-label {
  display: block;
}

/* Body rows */
.wq-cmp-table tbody tr {
  border-bottom: 1px solid var(--rule);
  transition: background var(--t-base);
}

.wq-cmp-table tbody tr:last-child {
  border-bottom: none;
}

.wq-cmp-table tbody tr:hover {
  background: rgba(0, 0, 0, 0.015);
}

/* Feature name cell */
.wq-cmp-feat {
  padding: 16px 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dk);
  vertical-align: middle;
  border-right: 1px solid var(--rule);
}

/* Value cells */
.wq-cmp-cell {
  padding: 16px 20px;
  font-size: 13px;
  color: var(--mid);
  vertical-align: middle;
  border-right: 1px solid var(--rule);
  line-height: 1.45;
}

.wq-cmp-cell:last-child {
  border-right: none;
}

/* Qualzy value cell — tinted */
.wq-cmp-cell--ours {
  background: rgba(250, 88, 2, 0.03);
  font-weight: 500;
  color: var(--dk);
}

.wq-cmp-table tbody tr:hover .wq-cmp-cell--ours {
  background: rgba(250, 88, 2, 0.05);
}

/* Checkmark + cross indicators */
.wq-cmp-yes {
  display: inline-block;
  color: var(--o);
  font-weight: 700;
  margin-right: 6px;
}

.wq-cmp-no {
  display: inline-block;
  color: var(--mu);
  font-weight: 700;
  margin-right: 6px;
  opacity: 0.6;
}

/* Tag chips for categorical values */
.wq-cmp-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  padding: 3px 10px;
  border-radius: 100px;
  line-height: 1.4;
}

.wq-cmp-tag--good {
  background: rgba(250, 88, 2, 0.08);
  color: var(--o);
}

.wq-cmp-tag--bad {
  background: rgba(0, 0, 0, 0.05);
  color: var(--mu);
}

.wq-cmp-tag--mid {
  background: rgba(0, 0, 0, 0.04);
  color: var(--mid);
}


/* ================================================================
   DIFF — Pale orange tint, numbered structural differentiators
   Uses .pad for section padding
   ================================================================ */
.wq-diff {
  background: var(--op);
}

/* Centred section header */
.wq-diff-hd {
  text-align: center;
  margin-bottom: 64px;
}

/* Intro paragraph beneath heading */
.wq-diff-intro {
  font-size: 17px;
  color: var(--mid);
  line-height: 1.7;
  max-width: 640px;
  margin: 16px auto 0;
  font-weight: 300;
}

/* Stacked column of differentiator items */
.wq-diff-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Each item: large number column + body column, divided by a rule */
.wq-diff-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 40px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid rgba(250, 88, 2, 0.12);
}

.wq-diff-item:last-child {
  border-bottom: none;
}

/* Large faint ordinal number */
.wq-diff-item-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 900;
  color: rgba(250, 88, 2, 0.18);
  line-height: 1;
}

/* Body column — no extra wrapper styles needed */
.wq-diff-item-body {}

/* Differentiator heading */
.wq-diff-item-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: var(--dk);
  line-height: 1.35;
  margin-bottom: 16px;
}

/* Differentiator description */
.wq-diff-item-desc {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.78;
  font-weight: 300;
}


/* ================================================================
   MIGRATE — Dark full-bleed section for switching/migration support
   Own padding; content wrapped in .inn for max-width + centering
   ================================================================ */
.wq-migrate {
  padding: 100px 0;
  background: var(--d2);
  position: relative;
  overflow: hidden;
}

/* Subtle gradient overlay */
.wq-migrate-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 30%, rgba(250, 88, 2, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 70%, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
  pointer-events: none;
}

/* SVG decorative circles */
.wq-migrate-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Inner .inn container — sits above bg layers */
.wq-migrate-inner {
  position: relative;
  z-index: 1;
}

/* Content column — full width of .inn */
.wq-migrate-content {}

/* Italic emphasis in heading = orange */
.wq-migrate-content .stit em {
  color: var(--o);
  font-style: italic;
}

/* Body paragraphs */
.wq-migrate-body {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 20px;
}

/* Numbered steps list */
.wq-migrate-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 40px 0;
}

/* Individual step row: number badge + text block */
.wq-migrate-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.wq-migrate-step:last-child {
  border-bottom: none;
}

/* Circular step number badge */
.wq-migrate-step-num {
  width: 36px;
  height: 36px;
  background: rgba(250, 88, 2, 0.15);
  border: 1px solid rgba(250, 88, 2, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--o);
  flex-shrink: 0;
}

/* Step label */
.wq-migrate-step div strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 4px;
}

/* Step detail */
.wq-migrate-step div span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

/* CTA button row */
.wq-migrate-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 40px;
}


/* ================================================================
   PROOF — Light section: testimonial quotes + trust credentials
   Uses .pad for section padding
   ================================================================ */
.wq-proof {
  background: var(--wh);
}

/* Centred section header */
.wq-proof-hd {
  text-align: center;
  margin-bottom: 56px;
}

/* 2-column quote grid */
.wq-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* Individual blockquote card */
.wq-proof-quote {
  background: #fff;
  border: 1.5px solid var(--rule);
  border-radius: 16px;
  padding: 36px 38px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
}

/* Star rating row */
.wq-proof-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  color: var(--o);
}

.wq-proof-stars svg {
  width: 16px;
  height: 16px;
}

/* Quote text — body font italic, no display serif */
.wq-proof-text {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  color: var(--dk);
  line-height: 1.65;
  font-style: italic;
  margin-bottom: 24px;
}

/* Attribution name */
.wq-proof-attr strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--dk);
  margin-bottom: 2px;
}

/* Attribution role */
.wq-proof-attr span {
  font-size: 13px;
  color: var(--mu);
}

/* Trust credentials strip — below the quote grid */
.wq-proof-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--rule);
  flex-wrap: wrap;
}

/* Individual trust credential */
.wq-proof-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--mid);
  padding: 0 28px;
}

.wq-proof-trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--o);
  flex-shrink: 0;
}

/* Vertical pipe divider between trust items */
.wq-proof-trust-divider {
  width: 1px;
  height: 20px;
  background: var(--rule);
}


/* ================================================================
   RESPONSIVE — 900px (tablet)
   ================================================================ */
@media (max-width: 900px) {

  /* Hero: reduce top padding */
  .wq-hero-inner {
    padding: 60px 24px 0;
  }

  /* Comparison table: reduce font */
  .wq-cmp-th,
  .wq-cmp-feat,
  .wq-cmp-cell { font-size: 12px; padding: 12px 14px; }

  /* Pain: collapse to single column */
  .wq-pain-grid {
    grid-template-columns: 1fr;
  }

  /* Offers: drop to 2 columns */
  .wq-offers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Diff items: collapse number + body to single column */
  .wq-diff-item {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .wq-diff-item-num {
    font-size: 48px;
    margin-bottom: 0;
  }

  /* Proof quotes: single column */
  .wq-proof-grid {
    grid-template-columns: 1fr;
  }

}


/* ================================================================
   RESPONSIVE — 600px (mobile)
   ================================================================ */
@media (max-width: 600px) {

  /* Hero: tighter clamp on headline, less padding */
  .wq-hero-h1 {
    font-size: clamp(30px, 8vw, 44px);
  }

  .wq-hero-inner {
    padding: 40px 0 0;
  }

  /* Hero CTAs: stack vertically */
  .wq-hero-cta {
    flex-direction: column;
    align-items: center;
  }

  /* Offers: single column */
  .wq-offers-grid {
    grid-template-columns: 1fr;
  }

  /* Trust strip: stack items vertically, hide dividers */
  .wq-proof-trust {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .wq-proof-trust-divider {
    display: none;
  }

  /* Migrate steps: collapse number badge + text to single column */
  .wq-migrate-step {
    grid-template-columns: 1fr;
    gap: 8px;
  }

}
