/* =================================
   AUTOMATION PAGE
================================= */

/* =================================
   AUTOMATION PAGE
================================= */

#automation,
.automation-worth-section,
.automation-not-section,
.automation-pricing-section,
.automation-examples-section,
.automation-breaks-section,
.automation-time-section,
.analytics-sample {
  max-width: 900px;
  margin: 85px auto;
  padding: 0 20px;
}

#automation {
  margin-top: 45px;
}

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

#automation h1::after,
.automation-worth-section h2::after,
.automation-not-section h2::after,
.automation-pricing-section h2::after,
.automation-examples-section h2::after,
.automation-breaks-section h2::after,
.automation-time-section h2::after,
.analytics-sample h2::after {
  content: "";
  display: block;
  width: 65px;
  height: 4px;
  margin: 12px auto 0;
  background: red;
  border-radius: 20px;
}

#automation p,
.automation-worth-section p,
.automation-not-section p,
.automation-pricing-section p,
.automation-breaks-section p,
.automation-time-section p,
.analytics-sample p {
  margin-bottom: 20px;
  color: #444;
  line-height: 1.7;
}


/* =================================
   AUTOMATION INFO SECTIONS
================================= */

.automation-worth-section,
.automation-not-section,
.automation-pricing-section,
.automation-breaks-section,
.automation-time-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);
}

.automation-worth-section h2,
.automation-not-section h2,
.automation-pricing-section h2,
.automation-breaks-section h2,
.automation-time-section h2 {
  margin-top: 0;
  margin-bottom: 24px;
  color: black;
  font-size: 2rem;
}


/* =================================
   WHAT CAN BE AUTOMATED
================================= */

.automation-examples-section {
  text-align: center;
}

.automation-examples-section h2 {
  margin-bottom: 30px;
  font-size: 2rem;
}

.automation-examples-section .benefits-list {
  margin-top: 30px;
}


/* =================================
   AUTOMATION PRICING BUTTON
================================= */

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


/* =================================
   REAL-WORLD AUTOMATION 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;
}

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

.pdf-preview {
  max-width: 750px;
  margin: 35px auto;
}

.pdf-preview video {
  width: 100%;
  max-width: 650px;
  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 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 AUTOMATION CTA
================================= */

.cta-text {
  margin-top: 90px;
  margin-bottom: 20px;
  font-size: 1.8rem;
  text-align: center;
}

.automation-final-cta {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
}

.automation-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;
  transition: background 0.2s ease, transform 0.2s ease;
}

.automation-cta-button:hover {
  background: darkred;
  transform: translateY(-2px);
}


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

@media (max-width: 768px) {

  #automation,
  .automation-worth-section,
  .automation-not-section,
  .automation-pricing-section,
  .automation-examples-section,
  .automation-breaks-section,
  .automation-time-section,
  .analytics-sample {
    margin: 60px auto;
    padding-left: 18px;
    padding-right: 18px;
  }

  .automation-worth-section,
  .automation-not-section,
  .automation-pricing-section,
  .automation-breaks-section,
  .automation-time-section,
  .analytics-sample {
    padding-top: 28px;
    padding-bottom: 28px;
  }

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

  .automation-worth-section h2,
  .automation-not-section h2,
  .automation-pricing-section h2,
  .automation-examples-section h2,
  .automation-breaks-section h2,
  .automation-time-section h2,
  .analytics-sample h2 {
    font-size: 1.6rem;
  }

  .cta-text {
    margin-top: 60px;
    font-size: 1.5rem;
  }

}
.automation-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;
}

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