/*
Theme Name: SMM Divi Child (smm-divi-child)
Theme URI: http://www.elegantthemes.com/gallery/divi/
Description: Divi Child Theme
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Template: Divi
Version: 1.0.0
*/

:root {
  --color-primary: #1e8fff;
  --color-secondary: #ffd23f;
  --color-accent: #ff2d6b;
  --color-light: #f4f4ff;
  --color-dark: #13132b;
  --color-darker: #080810;
  --color-white: #ffffff;
}

body,
p,
.et_pb_module {
  font-family: 'Epilogue', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.et_pb_module h1,
.et_pb_module h2,
.et_pb_module h3,
.et_pb_module h4,
.et_pb_module h5,
.et_pb_module h6 {
  font-family: 'Jost', sans-serif;
}

/* Remove default bullets */
.x-list ul,
.check-list ul,
.bluecheck-list ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.x-list li,
.check-list li,
.bluecheck-list li {
  position: relative;
  padding-left: 1.6em;
  margin-bottom: 10px;
}

/* ❌ for x-list items */
.x-list li::before {
  content: '❌';
  position: absolute;
  left: 0;
  top: 0;
}

/* ✅ for check-list items */
.check-list li::before {
  content: '✅';
  position: absolute;
  left: 0;
  top: 0;
}

/* ✓ for bluecheck-list items, e.g. pricing card feature lists */
.bluecheck-list li {
  padding-left: 1.75em;
  margin-bottom: 16px;
}

.bluecheck-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1.1em;
}

.divsteps {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  box-sizing: border-box;
  font-family: 'Jost', sans-serif;
  gap: 32px;
}

.divstep {
  flex: 1 1 200px;
  min-width: 200px;
  max-width: 200px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.divstep h3 {
  padding: 12.4px 0 0;
  font-size: 22px;
  letter-spacing: -0.48px;
  line-height: 1.3;
  text-transform: uppercase;
  font-weight: 800;
  font-family: 'Jost', sans-serif;
}

.divstep p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-dark);
}

.full-height-img {
  display: flex;
}

.full-height-img .et_pb_image_wrap {
  display: block;
  width: 100%;
  height: 100%;
}

.full-height-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pink flag-corner accent, e.g. "One Engine, Three Revenue Streams" section */
.section-pink-corner {
  position: relative;
}

.section-pink-corner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 45%;
  max-width: 660px;
  height: 220px;
  background-color: #f2507d; /* fallback so the stray transparent notch in the PNG shows pink, not the page background */
  background-image: url('/wp-content/uploads/pink-corner-left.png');
  background-size: cover;
  background-position: center;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  pointer-events: none;
  z-index: 1;
}

/* Smaller pink corner accent, e.g. "Pick Your Engine" section */
.section-pink-corner-sm {
  position: relative;
}

.section-pink-corner-sm::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 342px;
  height: 174px;
  background-color: #f2507d;
  background-image: url('/wp-content/uploads/pink-corner-left-2.png');
  background-size: cover;
  background-position: center;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 57.5%);
  pointer-events: none;
  z-index: 1;
}

/* Yellow paper-triangle corner accent, e.g. "More Revenue From The Same Show" section */
.section-yellow-corner {
  position: relative;
}

.section-yellow-corner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 185px;
  height: 163px;
  background-color: #f8d45e; /* fallback to match the paper's yellow before the image loads */
  background-image: url('/wp-content/uploads/yellow-paper-triangle.png');
  background-size: cover;
  background-position: center;
  clip-path: polygon(4% 0, 100% 0, 100% 81%, 0 100%);
  pointer-events: none;
  z-index: 1;
}

/* "Get Valuable Insights" newsletter signup — Gravity Form styled as a
   single white pill: mail-icon email field on the left, an inset pink
   Subscribe button on the right. Scoped to the gf-subscribe_wrapper /
   gf-subscribe classes set in the form's Appearance settings. Overrides
   use !important where needed to beat Gravity Forms' own gravity-theme
   stylesheet. */

.gf-subscribe_wrapper {
  max-width: 560px;
}

.gf-subscribe_wrapper .gform_heading {
  display: none;
}

.gf-subscribe .gform_body {
  width: 100%;
}

.gf-subscribe .gform_fields {
  display: flex !important;
  align-items: center;
  column-gap: 16px;
  background-color: var(--color-white);
  border-radius: 100px;
  box-shadow: 0 8px 24px rgba(19, 19, 43, 0.08);
  padding: 10px 20px 10px 32px;
}

.gf-subscribe .gfield {
  margin: 0 !important;
  padding: 0 !important;
}

.gf-subscribe .gfield--type-email {
  flex: 1 1 auto;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
}

.gf-subscribe .gfield--type-submit {
  flex: 0 0 auto;
  width: auto !important;
  max-width: none !important;
}

.gf-subscribe .hidden_label .gform-field-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.gf-subscribe .ginput_container_email {
  margin: 0 !important;
}

.gf-subscribe input[type='email'] {
  display: block;
  width: 100%;
  border: none !important;
  background: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyMCIgaGVpZ2h0PSIxNiIgZmlsbD0ibm9uZSI+PHBhdGggZmlsbD0iIzZiNmI3MiIgZD0iTTIgMTZxLS44MjQgMC0xLjQxMi0uNTg4QTEuOTMgMS45MyAwIDAgMSAwIDE0VjJRMCAxLjE3Ni41ODguNTg4QTEuOTMgMS45MyAwIDAgMSAyIDBoMTZxLjgyNCAwIDEuNDEzLjU4OFEyMCAxLjE3NSAyMCAydjEycTAgLjgyNS0uNTg3IDEuNDEyQTEuOTMgMS45MyAwIDAgMSAxOCAxNnptOC03TDIgNHYxMGgxNlY0em0wLTIgOC01SDJ6TTIgNFYydjEyeiIvPjwvc3ZnPg==") no-repeat left center;
  background-size: 20px 16px;
  padding: 0 0 0 40px !important;
  font-family: 'Epilogue', sans-serif;
  font-size: 16px;
  color: var(--color-dark);
  box-shadow: none !important;
}

.gf-subscribe input[type='email']::placeholder {
  font-weight: 500;
  color: #6b6b72;
}

.gf-subscribe input[type='email']:focus {
  outline: none;
  box-shadow: none !important;
}

.gf-subscribe .gform-button {
  font-family: 'Epilogue', sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 16px;
  letter-spacing: 0.16px;
  color: var(--color-white) !important;
  background-color: var(--color-accent) !important;
  border: none !important;
  border-radius: 100px !important;
  padding: 20px 40px !important;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.gf-subscribe .gform-button:hover {
  background-color: #e0245a !important;
}

.gf-subscribe_wrapper .gform_footer,
.gf-subscribe_wrapper .gform-footer {
  display: none;
}

.gf-subscribe_wrapper .validation_message {
  color: #d1293d;
  font-size: 13px;
  margin-top: 6px;
  padding-left: 32px;
}

.gf-subscribe.gform_validation_error .gform_fields {
  box-shadow: 0 0 0 2px #d1293d;
}

.gf-subscribe_wrapper .gform_confirmation_message {
  font-family: 'Epilogue', sans-serif;
  font-size: 16px;
  color: var(--color-dark);
  text-align: left;
}

@media (max-width: 767px) {
  .gf-subscribe .gform_fields {
    flex-wrap: wrap;
    row-gap: 12px;
    border-radius: 28px;
    padding: 16px;
  }

  .gf-subscribe .gfield--type-email,
  .gf-subscribe .gfield--type-submit {
    flex: 1 1 100%;
  }

  .gf-subscribe input[type='email'] {
    padding-left: 28px !important;
  }

  .gf-subscribe .gform-button {
    width: 100%;
  }
}

/* "Pick Your Engine" pricing cards (Section 7), Code module.
   Reuses .bluecheck-list (above) for the feature lists. */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 24px;
  max-width: 1160px;
  margin: 0 auto;
  box-sizing: border-box;
}

.pricing-card {
  background-color: var(--color-white);
  border-radius: 16px;
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-sizing: border-box;
  box-shadow: 0px 20px 40px -24px rgba(19, 19, 43, 0.18);
  font-family: 'Epilogue', sans-serif;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-dark);
}

.pricing-card--popular {
  padding: 0;
  gap: 0;
  border: 2px solid var(--color-primary);
  overflow: hidden;
  box-shadow: 0px 24px 60px -24px rgba(30, 143, 255, 0.45);
}

.pricing-badge {
  background-color: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  padding: 10px 16px;
  font-family: 'Epilogue', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.68px;
  text-transform: uppercase;
}

.pricing-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 34px 32px;
}

.pricing-plan {
  margin: 0;
  font-family: 'Jost', sans-serif;
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.48px;
  line-height: 1.3;
  text-transform: uppercase;
  color: var(--color-darker);
}

.pricing-price {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: 'Jost', sans-serif;
}

.pricing-price-amount {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--color-primary);
}

.pricing-price-unit {
  font-family: 'Epilogue', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}

.pricing-best-for {
  margin: 0;
  padding-bottom: 0px;
  font-weight: 600;
  color: var(--color-dark);
}

.pricing-description {
  position: relative;
  margin: 0;
  padding-bottom: 16px;
}

.pricing-description::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 1px;
  background: #e2e2e6;
}

.pricing-features {
  margin-top: 8px;
}

@media (max-width: 900px) {
  .pricing-grid {
    gap: 16px;
  }

  .pricing-card,
  .pricing-card-body {
    padding: 28px 20px;
  }
}

@media (max-width: 767px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 20px;
  }
}
