/* ================= BASE ================= */

body {
  background: radial-gradient(circle at 20% 0%, #0b1a2f, #020617 60%);
  color: #e6edf3;
}

/* ================= CONTAINER (MASTER FIX) ================= */

/* 🔥 SINGLE SOURCE OF TRUTH */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ================= HERO ================= */

.hero {
  padding: 120px 0 80px;
}

.hero-inner {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  align-items: center;
}

/* 🔥 FORCE CONSISTENT LEFT ALIGN */
.hero-left {
  max-width: 520px;
}

/* .hero-left h1 {
  font-size: 58px;
  line-height: 1.1;
  margin: 0;
} */

.hero-left h1 span {
  color: #6aa8ff;
}

.hero-left p {
  margin-top: 16px;
  color: #a8b3c7;
  line-height: 1.6;
}

.cta {
  margin-top: 24px;
}

/* ================= BUTTONS ================= */

.btn {
  padding: 14px 22px;
  border-radius: 10px;
  margin-right: 12px;
  cursor: pointer;
  font-size: 14px;
}

.primary {
  background: linear-gradient(135deg,#4da3ff,#2563eb);
  border: none;
  color: white;
}

.ghost {
  background: transparent;
  border: 1px solid #4da3ff;
  color: #4da3ff;
}

/* ================= HERO CARD ================= */

.hero-card {
  background: linear-gradient(145deg,#0f172a,#020617);
  padding: 30px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  width: 300px;
}

/* ================= KPI ================= */

.kpis {
  margin-top: -40px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 20px;
}

.kpi {
  background: linear-gradient(145deg,#111827,#020617);
  padding: 22px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.05);
}

.kpi strong {
  font-size: 22px;
}

.kpi span {
  display: block;
  margin-top: 6px;
  color: #94a3b8;
}

/* ================= SECTION ================= */

.section {
  padding: 80px 0;
}

/* 🔥 FIX TEXT ALIGNMENT (IMPORTANT) */
.section h2 {
  font-size: 34px;
  margin-bottom: 24px;
  text-align: left;
}

.section-intro {
  max-width: 700px;
  margin-bottom: 30px;
  line-height: 1.6;
  text-align: left;
}

/* ================= CARDS ================= */

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.card {
  background: linear-gradient(145deg,#0f172a,#020617);
  padding: 22px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.05);
  text-align: left;
}

.card strong {
  display: block;
  margin-bottom: 8px;
}

.card span {
  color: #9aa6b2;
  line-height: 1.5;
}

/* ================= TABLE ================= */

.compare {
  max-width: 900px;
}

.row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  padding: 16px;
  background: linear-gradient(145deg,#0f172a,#020617);
  margin-bottom: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.05);
  text-align: left;
}

.head {
  background: linear-gradient(90deg,#4da3ff,#2563eb);
  font-weight: 600;
}

/* ================= STEPS ================= */

.steps {
  max-width: 700px;
}

.step {
  margin-bottom: 20px;
  text-align: left;
}

/* ================= CTA ================= */

.cta-final {
  text-align: center;
  padding: 80px 0;
}

.cta-final h2 {
  font-size: 34px;
  margin-bottom: 20px;
}

/* ================= MOBILE ================= */

@media (max-width: 900px) {

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .kpi-grid {
    grid-template-columns: 1fr 1fr;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

}

/* =========================
   STRATA TABLE — STACKED MOBILE FIX (CORRECT)
   ========================= */

@media (max-width: 768px) {

  /* ONLY target table rows inside compare */
  .compare .row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: linear-gradient(145deg,#0f172a,#020617);
    border: 1px solid rgba(255,255,255,0.05);
  }

  /* LABEL */
  .compare .row > div:first-child {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
  }

  /* VALUE ROWS */
  .compare .row > div:nth-child(2),
  .compare .row > div:nth-child(3) {
    display: grid;
    grid-template-columns: 80px 1fr;
    align-items: center;
    font-size: 13px;
  }

  /* STRATA label */
  .compare .row > div:nth-child(2)::before {
    content: "Strata";
    color: #4da3ff;
    font-weight: 600;
  }

  /* TYPICAL label */
  .compare .row > div:nth-child(3)::before {
    content: "Typical";
    color: #94a3b8;
    font-weight: 600;
  }

  /* hide header */
  .compare .row.head {
    display: none;
  }

}

/* =========================
   STRATA MOBILE HERO FIX (MATCH DEALOS)
   ========================= */

@media (max-width: 768px) {

  .strata-hero h1 {
    font-size: 28px !important;   /* 🔥 matches DealOS */
    line-height: 1.3;
    text-align: center;
    padding: 0 16px;
  }

  .strata-hero p {
    font-size: 14px !important;   /* 🔥 matches DealOS */
    text-align: center;
    padding: 0 16px;
    margin-top: 12px;
  }

  .strata-hero .cta {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

}

/* =========================
   STRATA TABLE TEXT SIZE REDUCTION
   ========================= */

.compare .row {
  font-size: 12px;   /* 🔥 reduced ~4 units from typical 16px */
}

.compare .row.head {
  font-size: 12px;   /* keep header consistent */
}

/* =========================
   STRATA DESKTOP HEADER CENTER ALIGN
   ========================= */

@media (min-width: 900px) {

  /* Section headers */
  .strata-hero h1,
  .section h2 {
    text-align: center !important;
  }

  /* Optional: center intro text under headers */
  .section-intro {
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
  }

}

/* =========================
   STRATA DESKTOP CENTER ALIGN (STEPS + TABLE)
   ========================= */

@media (min-width: 900px) {

  /* ===== HOW STRATA WORKS (STEPS) ===== */
  .steps {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .step {
    text-align: center !important;
  }

  .step h4 {
    text-align: center !important;
  }

  .step p {
    text-align: center !important;
  }

  /* ===== COMPARE TABLE ===== */
  .compare {
    margin-left: auto;
    margin-right: auto;
  }

  .compare .row {
    text-align: center !important;
  }

  .compare .row > div {
    text-align: center !important;
  }

}