/* ============================================================
   SAR Why AI Projects Fail â Page Styles v3
   Matches starairevenue.com design system exactly
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ---- Reset & Base ----------------------------------------- */
.wairf-page {
  background: #131A2A;
  font-family: 'Inter', sans-serif;
  color: #CBD5E1;
  margin: 0;
  padding: 0;
  width: 100%;
  -webkit-font-smoothing: antialiased;
}

.wairf-page *,
.wairf-page *::before,
.wairf-page *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ---- Containers ------------------------------------------- */
.wairf-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

.wairf-container-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  width: 100%;
}

/* ---- Section Backgrounds ---------------------------------- */
.wairf-section-dark {
  background: #131A2A !important;
  padding: 90px 0;
  margin: 0;
  border: none;
  outline: none;
}

.wairf-section-charcoal {
  background: #111827 !important;
  padding: 90px 0;
  margin: 0;
  border: none;
  outline: none;
}

.wairf-section-cta {
  background: #461A99 !important;
  padding: 90px 0;
  margin: 0;
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
}

/* ---- Hero Headings ---------------------------------------- */
.wairf-hero-title {
  font-family: 'Manrope', sans-serif;
  font-size: 58px;
  font-weight: 800;
  line-height: 1.05;
  color: #FFFFFF;
  margin: 0 0 18px 0;
  text-align: center;
  letter-spacing: -0.5px;
}

.wairf-hero-sub {
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: #9675FF;
  font-style: italic;
  margin: 0 0 40px 0;
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- Section Headings ------------------------------------- */
.wairf-section-title {
  font-family: 'Manrope', sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  color: #FFFFFF;
  margin: 0 0 6px 0;
  text-align: center;
  letter-spacing: -0.3px;
}

.wairf-section-title-purple {
  font-family: 'Manrope', sans-serif;
  font-size: 44px;
  font-weight: 800;
  line-height: 1.1;
  color: #9675FF;
  margin: 0 0 40px 0;
  text-align: center;
  letter-spacing: -0.3px;
}

/* ---- Body Text -------------------------------------------- */
.wairf-body {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  color: #CBD5E1;
  text-align: center;
  max-width: 760px;
  margin: 0 auto 22px;
}

.wairf-body:last-child {
  margin-bottom: 0;
}

.wairf-body-left {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  color: #CBD5E1;
  text-align: left;
  margin: 0 0 16px 0;
}

.wairf-body-left:last-child {
  margin-bottom: 0;
}

/* ---- Stat Grid -------------------------------------------- */
.wairf-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.wairf-stat-card {
  background: #1F2937;
  border-radius: 15px;
  padding: 36px 28px;
  text-align: center;
}

.wairf-stat-number {
  font-family: 'Manrope', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: #9675FF;
  line-height: 1;
  margin: 0 0 8px 0;
  display: block;
}

.wairf-stat-source {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #9675FF;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 10px 0;
  display: block;
}

.wairf-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #CBD5E1;
  line-height: 1.6;
  margin: 0;
}

/* ---- Layer Panels ----------------------------------------- */
.wairf-panel {
  background: #1F2937;
  border-radius: 15px;
  padding: 40px 48px;
  margin-bottom: 20px;
}

.wairf-panel:last-child {
  margin-bottom: 0;
}

.wairf-panel-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.wairf-icon-box {
  background: #322168;
  border-radius: 10px;
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.wairf-icon-box svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #9675FF;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wairf-panel-title {
  font-family: 'Inter', sans-serif;
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

/* ---- Pull Quote ------------------------------------------- */
.wairf-pull-quote-wrap {
  border-top: 1px solid rgba(150, 117, 255, 0.35);
  border-bottom: 1px solid rgba(150, 117, 255, 0.35);
  padding: 28px 0;
  margin: 36px 0;
  text-align: center;
}

.wairf-pull-quote {
  font-family: 'Manrope', sans-serif;
  color: #FFFFFF;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.2px;
  margin: 0;
}

/* ---- Proof Grid ------------------------------------------- */
.wairf-proof-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 50px;
  margin-bottom: 50px;
}

.wairf-proof-card {
  background: #1F2937;
  border-radius: 15px;
  padding: 40px 36px;
}

.wairf-proof-number {
  font-family: 'Manrope', sans-serif;
  font-size: 52px;
  font-weight: 800;
  color: #9675FF;
  line-height: 1;
  margin: 0 0 6px 0;
  display: block;
}

.wairf-proof-metric {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #9675FF;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 4px 0;
  display: block;
}

.wairf-proof-company {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 16px 0;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(150, 117, 255, 0.2);
  display: block;
}

.wairf-proof-desc {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #CBD5E1;
  line-height: 1.7;
  margin: 0;
}

/* ---- Reasons Grid ----------------------------------------- */
.wairf-reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.wairf-reason-card {
  background: #1F2937;
  border-radius: 15px;
  padding: 36px 28px;
}

.wairf-reason-icon {
  background: #322168;
  border-radius: 10px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.wairf-reason-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: #9675FF;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wairf-reason-title {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #FFFFFF;
  margin: 0 0 12px 0;
  line-height: 1.4;
}

.wairf-reason-body {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #CBD5E1;
  line-height: 1.75;
  margin: 0;
}

/* ---- What We Build Section -------------------------------- */
.wairf-build-intro {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: #CBD5E1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 20px;
}

.wairf-build-highlight {
  background: #1F2937;
  border-radius: 15px;
  padding: 40px 48px;
  margin-top: 40px;
  text-align: center;
}

.wairf-build-highlight p {
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.85;
  color: #CBD5E1;
  margin: 0 0 16px 0;
}

.wairf-build-highlight p:last-child {
  margin-bottom: 0;
}

.wairf-build-highlight strong {
  color: #FFFFFF;
  font-weight: 700;
}

.wairf-build-closer {
  font-family: 'Manrope', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #9675FF;
  text-align: center;
  margin-top: 36px;
}

/* ---- CTA Banner ------------------------------------------- */
.wairf-cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.wairf-cta-content {
  flex: 1;
  max-width: 620px;
}

.wairf-cta-headline {
  font-family: 'Manrope', sans-serif;
  color: #FFFFFF;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 28px 0;
  letter-spacing: -0.3px;
}

.wairf-cta-headline span {
  display: block;
  color: rgba(255, 255, 255, 0.85);
}

.wairf-cta-body {
  font-family: 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 12px 0;
}

.wairf-cta-body:last-of-type {
  margin-bottom: 0;
}

.wairf-cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 36px;
  max-width: 480px;
}

.wairf-btn-primary {
  display: block;
  background: #FFFFFF;
  color: #111827 !important;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  padding: 17px 32px;
  border-radius: 10px;
  text-decoration: none !important;
  text-align: center;
  transition: opacity 0.2s ease;
}

.wairf-btn-primary:hover {
  opacity: 0.9;
  text-decoration: none !important;
}

.wairf-btn-secondary {
  display: block;
  background: transparent;
  color: rgba(255, 255, 255, 0.85) !important;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 15px 28px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  text-decoration: none !important;
  text-align: center;
  transition: opacity 0.2s ease;
}

.wairf-btn-secondary:hover {
  opacity: 0.8;
  text-decoration: none !important;
}

.wairf-cta-fine-print {
  font-family: 'Inter', sans-serif;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.6;
  margin-top: 18px;
  max-width: 480px;
}

/* CTA decorative circle */
.wairf-cta-deco {
  flex-shrink: 0;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wairf-cta-deco-circle {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(150, 117, 255, 0.45) 0%, rgba(70, 26, 153, 0.1) 70%);
  border: 1px solid rgba(150, 117, 255, 0.3);
  position: relative;
}

.vairf-cta-deco-circle::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 20px;
  border-radius: 50%;
  border: 1px solid rgba(150, 117, 255, 0.2);
}

/* ---- Responsive ------------------------------------------- */
@media (max-width: 900px) {
  .wairf-container,
  .wairf-container-wide { padding: 0 24px; }
  .wairf-hero-title { font-size: 38px; }
  .wairf-hero-sub { font-size: 18px; }
  .wairf-section-title,
  .wairf-section-title-purple { font-size: 32px; }
  .wairf-stat-grid { grid-template-columns: 1fr; gap: 16px; }
  .wairf-proof-grid { grid-template-columns: 1fr; gap: 16px; }
  .wairf-reasons-grid { grid-template-columns: 1fr; gap: 16px; }
  .wairf-cta-inner { flex-direction: column; gap: 40px; }
  .wairf-cta-deco { display: none; }
  .wairf-cta-headline { font-size: 32px; }
  .wairf-section-dark,
  .wairf-section-charcoal,
  .wairf-section-cta { padding: 60px 0; }
  .wairf-panel { padding: 28px 24px; }
  .wairf-build-highlight { padding: 28px 24px; }
}

@media (max-width: 600px) {
  .wairf-hero-title { font-size: 30px; }
  .wairf-hero-sub { font-size: 16px; }
  .wairf-section-title,
  .wairf-section-title-purple { font-size: 26px; }
  .wairf-pull-quote { font-size: 22px; }
  .wairf-stat-number,
  .wairf-proof-number { font-size: 40px; }
  .wairf-btn-primary { white-space: normal; }
  .wairf-cta-buttons { max-width: 100%; }
}
