/* Global page background and resets */
body {
  background-color: #fcfcfd;

}

.hero-canvas-wrapper {
  position: relative;
  width: 100%;
  background-color: #0b0d10;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-svg-container {
  width: 100%;
  max-width: 1440px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero-text-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  background: linear-gradient(to bottom, rgba(11, 13, 16, 0.2) 60%, rgba(11, 13, 16, 0.85) 100%);
  padding-bottom: 50px;
  box-sizing: border-box;
  text-align: center;
}

.hero-text-overlay h1 {
  color: #ffffff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 3.25rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0 0 10px 0;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  padding: 0 20px;
}

/* Content Core Layout Container */
.blog-detail-wrapper {
  padding: 60px 0 100px 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #2d3748;
  background-color: #fcfcfd;
}


/* Responsive Dual Comparison Cards Grid Layout */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

.comp-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid #e2e8f0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.comp-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
}

.comp-card.react-native {
  border-top: 4px solid #0089FF;
}

.comp-card.native {
  border-top: 4px solid #4a5568;
}

.card-header-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 16px;
}

.mechanism-box {
  background: #f7fafc;
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #4a5568;
  margin-bottom: 24px;
  border-left: 3.5px solid #cbd5e0;
}

.list-title {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
}

.list-title.pros {
  color: #2f855a;
}

.list-title.cons {
  color: #c53030;
}

.custom-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 24px;
}

.custom-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #4a5568;
}

.custom-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  font-weight: bold;
  font-size: 1.05rem;
}

.pros-list li::before {
  content: "✓";
  color: #38a169;
}

.cons-list li::before {
  content: "✕";
  color: #e53e3e;
}





.decision-box h4 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 16px 0;
}

.meta-info {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.5;
}

.meta-info strong {
  color: #2d3748;
}

@media (max-width: 840px) {
  .comparison-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-text-overlay h1 {
    font-size: 2.25rem;
  }

  .hero-text-overlay {
    padding-bottom: 24px;
  }
}

.app-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.app-card h3 {
  margin: 0;
}



.inside-page-header {
  position: relative;
  overflow: hidden;
}



.blog-container {
  margin: 0 auto;
  padding: 0 24px;
}

.blog-intro {
  font-size: 1.25rem;
  line-height: 1.75;
  color: #4a5568;
  margin-bottom: 50px;
  text-align: center;
  width : 100%;
  max-width: 78%;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a202c;
  margin-top: 120px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #edf2f7;
}

.section-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4a5568;
  margin-bottom: 30px;
  text-align: justify;
}
.section-p{
  text-align: justify;
}

/* ========== VS CONTAINER ========== */
.vs-container-wrapper {
  position: relative;
  margin: 40px auto;
  padding: 10px;
}

.vs-card {
  background: #ffffff;
  border-radius: 30px;
  box-shadow:
    rgba(0, 137, 255, 0.06) 0px 0px 0px 1px,
    rgba(0, 137, 255, 0.08) 0px 4px 12px,
    rgba(0, 137, 255, 0.10) 0px 10px 20px,
    rgba(0, 0, 0, 0.03) 0px 1px 3px;
  padding: 50px 40px;
  position: relative;
  overflow: hidden;
}




/* ========== CARD CONTENT ========== */
.tech-header {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 25px;
  color: #000;
}



.arch-badge span {
  color: #334155;
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.feature-row {
  margin-bottom: 25px;
}

.feature-text {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #475569;
  padding-left: 15px;
  border-left: 3px solid #cbd5e1;
}

.feature-text b {
  color: #0f172a;
}

/* ========== SINGLE INFO CARD (what is IoT, applications, etc) ========== */
.info-card {
  background: #ffffff;
  border-radius: 30px;
  box-shadow:
    rgba(0, 137, 255, 0.06) 0px 0px 0px 1px,
    rgba(0, 137, 255, 0.08) 0px 4px 12px,
    rgba(0, 137, 255, 0.10) 0px 10px 20px,
    rgba(0, 0, 0, 0.03) 0px 1px 3px;
  padding: 50px 40px;
  margin: 30px 0;
}

.info-card p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 16px;
}

/* ========== APPLICATIONS GRID ========== */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  margin: 30px 0;
}

.app-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 30px 28px;
  box-shadow:
    rgba(0, 137, 255, 0.06) 0px 0px 0px 1px,
    rgba(0, 137, 255, 0.08) 0px 4px 12px,
    rgba(0, 137, 255, 0.10) 0px 10px 20px,
    rgba(0, 0, 0, 0.03) 0px 1px 3px;
}

.app-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 12px;
}

.app-card p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

.app-card .app-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 137, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
  color: #0089ff;
}

/* ========== FUTURE GRID ========== */
.future-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 50px;
  margin: 30px 0;
}

/* ========== DECISION SECTION (Pros/Cons) ========== */
.decision-section {
  position: relative;
  margin: 30px 0 80px 0;
}

.vs-divider-line1 {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 75%;
  border-top: 2px dashed #cbd5e1;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
}

.decision-box {
  position: relative;
  z-index: 2;
  background: #ffffff;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  box-shadow:
    rgba(0, 137, 255, 0.06) 0px 0px 0px 1px,
    rgba(0, 137, 255, 0.08) 0px 4px 12px,
    rgba(0, 137, 255, 0.10) 0px 10px 20px,
    rgba(0, 0, 0, 0.03) 0px 1px 3px;
}


.decision-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #475569;
  padding-left: 15px;
  border-left: 3px solid #cbd5e1;
}

.decision-list li {
  position: relative;
  margin-bottom: 10px;
  font-size: 0.98rem;
  line-height: 1.55;
  color: #4a5568;

}

@media (max-width: 840px) {
  .decision-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .vs-badge1,
  .vs-divider-line1 {
    display: none;
  }
}

/* ========== GROK SECTION LAYOUT ========== */
.ofs-label1 {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.ofs-label-line {
  width: 28px;
  height: 2px;
  background: #0089ff;
  border-radius: 2px;
}

.ofs-label-text {
  font-size: 14px;
  font-weight: 700;
  color: #0089ff;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.grok-section-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 70px;
  align-items: start;
  margin: 30px 0 60px 0;
  max-width: 1450px;
  margin-top: 120px;
}

.grok-section-layout1 {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 70px;
  align-items: start;
  margin: 30px 0 60px 0;
  max-width: 1450px;
  margin-top: 120px;
}

/* LEFT PANEL */
.grok-intro-panel {

  /* padding: 50px 40px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  align-items: start;
}

.grok-intro-heading {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  /* text-align: center; */
  /* margin: 0 0 6px 0; */
  line-height: 1.1;
  margin-bottom: 50px;
}

.grok-intro-sub {
  font-size: 0.8rem;
  font-weight: 700;
  color: #0089ff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 24px 0;
}

.grok-intro-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #475569;
  margin: 0 0 36px 0;
  /* text-align: center; */

}

/* Stat row inside left panel */
.grok-stat-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.grok-stat {
  flex: 1;
  min-width: 80px;
  background: rgba(0, 137, 255, 0.05);
  border: 1px solid rgba(0, 137, 255, 0.15);
  border-radius: 14px;
  padding: 16px 14px;
  text-align: center;
}

.grok-stat-num {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #0089ff;
  margin-bottom: 4px;
}

.grok-stat-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
}

/* VS Badge */
.vs-badge1 {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 75px;
  height: 75px;
  background: #0089ff;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.5rem;
  z-index: 5;
  box-shadow: 0 12px 30px rgba(0, 137, 255, 0.25);
}



.ofs-label {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  border: 1px solid transparent;
  background: #fff;
  color: #0f172a;
}

.ofs-label::before {
  content: "";
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.ofs-label-pros {
  color: #16a34a;
  background: #f0fdf4;
  border-color: #bbf7d0;
  margin-bottom: 20px;
}

.ofs-label-pros::before {
  content: "✓";
  color: #16a34a;
}

.ofs-label-cons {
  color: #dc2626;
  background: #fef2f2;
  border-color: #fecaca;
  margin-bottom: 20px;
}

.ofs-label-cons::before {
  content: "×";
  color: #dc2626;
}

/* ==========================================================================
     UPDATED VS ARENA CSS (Separated Cards with Retained Line & Badge)
     ========================================================================== */



.vs-board-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 120px;
}

.vs-divider-line {
  position: absolute;
  left: 50%;
  top: 12.5%;
  height: 75%;
  bottom: 0;
  transform: translateX(-50%);
  border-left: 2px dashed #cbd5e1;
  z-index: 5;
  pointer-events: none;
  /* Allows clicks to pass through if necessary */
}

/* The original VS Badge styling, perfectly centered over the gap and line */
.vs-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 75px;
  height: 75px;
  background: #0089ff;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.5rem;
  z-index: 10;
}

/* ==========================================================================
     RETAINED CORE CONTENT STYLING (Unchanged from original design)
     ========================================================================== */

.arch-badge {
  background: rgba(0, 137, 255, 0.08);
  border: 1px solid rgba(0, 137, 255, 0.2);
  /* border-radius: 50px; */
  color: rgb(0, 137, 255);
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 35px;
  display: block;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1);
}

.arch-badge1 {
  background: rgba(0, 137, 255, 0.08);
  border: 1px solid rgba(0, 137, 255, 0.2);
  /* border-radius: 50px; */
  color: rgb(0, 137, 255);
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  text-align: left;
  margin-bottom: 35px;
  display: block;
  box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.1);
}




.feature-label {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.feature-label.pro {
  background: #d1fae5;
  color: #065f46;
}

.feature-label.con {
  background: #fee2e2;
  color: #991b1b;
}


/* ==========================================================================
     RESPONSIVE BREAKPOINTS
     ========================================================================== */
@media (max-width: 992px) {
  .grok-section-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .vs-board-split {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .vs-divider-line {
    left: 0;
    right: 0;
    top: 50%;
    bottom: auto;
    width: auto;
    height: 0;
    border-left: none;
    border-top: 2px dashed #cbd5e1;
    transform: translateY(-50%);
  }

  .vs-badge,
  .vs-divider-line {
    display: none;
  }

  .apps-grid,
  .future-grid {
    grid-template-columns: 1fr;
  }
}