/* =================================
   ANALYTICS PAGE
================================= */

/* =================================
   ANALYTICS PAGE
================================= */

#analytics,
.analytics-fit-section,
.analytics-problems-section,
.analytics-deliverables-section,
.analytics-tool-section,
.analytics-pricing-section,
.analytics-outcomes-section,
.analytics-examples,
.analytics-sample {
  max-width: 900px;
  margin: 85px auto;
  padding: 0 20px;
}

#analytics {
  margin-top: 45px;
}

#analytics h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}


/* RED UNDERLINES */

#analytics h1::after,
.analytics-fit-section h2::after,
.analytics-problems-section h2::after,
.analytics-deliverables-section h2::after,
.analytics-tool-section h2::after,
.analytics-pricing-section h2::after,
.analytics-outcomes-section h2::after,
.analytics-examples h2::after,
.analytics-sample h2::after {
  content: "";
  display: block;
  width: 65px;
  height: 4px;
  margin: 12px auto 0;
  background: red;
  border-radius: 20px;
}


/* TEXT */

#analytics p,
.analytics-fit-section p,
.analytics-tool-section p,
.analytics-pricing-section p,
.analytics-examples p,
.analytics-sample p {
  margin-bottom: 20px;
  color: #444;
  line-height: 1.7;
}


/* =================================
   ANALYTICS INFO CARDS
================================= */

.analytics-fit-section,
.analytics-tool-section,
.analytics-pricing-section {
  padding: 35px 30px;
  background: #f8f8f8;
  border-left: 5px solid red;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.analytics-fit-section h2,
.analytics-tool-section h2,
.analytics-pricing-section h2 {
  margin-top: 0;
  margin-bottom: 24px;
  font-size: 2rem;
  color: black;
}


/* =================================
   BENEFIT LIST SECTIONS
================================= */

.analytics-problems-section,
.analytics-deliverables-section,
.analytics-outcomes-section {
  text-align: center;
}

.analytics-problems-section h2,
.analytics-deliverables-section h2,
.analytics-outcomes-section h2 {
  margin-bottom: 30px;
  font-size: 2rem;
}

.analytics-problems-section .benefits-list,
.analytics-deliverables-section .benefits-list,
.analytics-outcomes-section .benefits-list {
  margin-top: 30px;
}


/* =================================
   BUSINESS OUTCOME EXAMPLES
================================= */

.analytics-examples {
  text-align: center;
}

.analytics-examples h2 {
  margin-bottom: 35px;
  font-size: 2rem;
}

.analytics-example-card {
  margin: 30px auto;
  padding: 30px;
  background: #f8f8f8;
  border-left: 5px solid red;
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
  text-align: left;
}

.analytics-example-card h3 {
  margin-top: 0;
  margin-bottom: 15px;
  color: black;
}


/* =================================
   ANALYTICS PRICING BUTTON
================================= */

.analytics-pricing-section .primary-cta {
  margin-top: 15px;
}


/* =================================
   REAL-WORLD ANALYTICS EXAMPLE
================================= */

.analytics-sample {
  margin-top: 100px;
  padding: 45px 30px;
  background: white;
  border: 2px solid #eee;
  border-top: 6px solid red;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.analytics-sample h2 {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 2rem;
}

.sample-intro {
  max-width: 700px;
  margin: 0 auto 35px;
}

.dashboard-preview {
  max-width: 900px;
  margin: 35px auto;
}

.dashboard-preview img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

.sql-preview {
  margin-top: 50px;
}

.sql-preview h3 {
  margin-bottom: 25px;
  font-size: 1.5rem;
}

.sql-images {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.sql-images img {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}


/* =================================
   FINAL ANALYTICS CTA
================================= */

.analytics-cta-button {
  display: inline-block;
  padding: 14px 28px;
  background: red;
  color: white;
  border: 2px solid red;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.analytics-cta-button:hover {
  background: darkred;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}


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

@media (max-width: 768px) {

  #analytics,
  .analytics-fit-section,
  .analytics-problems-section,
  .analytics-deliverables-section,
  .analytics-tool-section,
  .analytics-pricing-section,
  .analytics-outcomes-section,
  .analytics-examples,
  .analytics-sample {
    margin: 60px auto;
    padding-left: 18px;
    padding-right: 18px;
  }

  .analytics-fit-section,
  .analytics-tool-section,
  .analytics-pricing-section,
  .analytics-example-card,
  .analytics-sample {
    padding-top: 28px;
    padding-bottom: 28px;
  }

  #analytics h1 {
    font-size: 2rem;
  }

  .analytics-fit-section h2,
  .analytics-problems-section h2,
  .analytics-deliverables-section h2,
  .analytics-tool-section h2,
  .analytics-pricing-section h2,
  .analytics-outcomes-section h2,
  .analytics-examples h2,
  .analytics-sample h2 {
    font-size: 1.6rem;
  }

}

/* =================================
   ANALYTICS PAGE SPACING
================================= */

#analytics,
.analytics-fit-section,
.analytics-problems-section,
.analytics-deliverables-section,
.analytics-tool-section,
.analytics-pricing-section,
.analytics-outcomes-section,
.analytics-examples,
.analytics-sample {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
}

#analytics {
  margin-top: 40px;
}

#analytics h1,
.analytics-fit-section h2,
.analytics-problems-section h2,
.analytics-deliverables-section h2,
.analytics-tool-section h2,
.analytics-pricing-section h2,
.analytics-outcomes-section h2,
.analytics-examples h2,
.analytics-sample h2 {
  margin-bottom: 24px;
}

.analytics-fit-section p,
.analytics-tool-section p,
.analytics-pricing-section p,
.analytics-examples p,
.analytics-sample p {
  margin-bottom: 20px;
}

.analytics-problems-section .benefits-list,
.analytics-deliverables-section .benefits-list,
.analytics-outcomes-section .benefits-list {
  margin-top: 30px;
}

.analytics-example-card {
  margin: 30px auto;
  padding: 28px;
  background: #f8f8f8;
  border-left: 5px solid red;
  border-radius: 12px;
  text-align: left;
}

.analytics-example-card h3 {
  margin-top: 0;
  margin-bottom: 15px;
}

.analytics-pricing-section .primary-cta {
  margin-top: 20px;
}

.analytics-sample {
  margin-top: 90px;
}

.cta-text {
  margin-top: 80px;
  margin-bottom: 20px;
}

.analytics-cta-button {
  margin-bottom: 30px;
}
