/* ===== ECHOLON AI – FULL WIDTH + MOBILE FIX ===== */

/* 1. Remove body/html margins and overflow-x */
html, body {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}

/* 2. Kill all WordPress block padding/margins that cause side gaps */
.wp-site-blocks,
.wp-block-post-content,
.entry-content,
.site-content,
.site-main,
.wp-block-group,
.wp-block-cover,
.alignfull,
.is-layout-flow,
.is-layout-constrained {
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* 3. Full-width sections */
.echolon-nav,
.echolon-hero,
.echolon-section,
.echolon-waitlist,
.echolon-footer {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* 4. Inner containers – generous padding so text isn't cramped */
.echolon-nav .nav-inner,
.echolon-hero .hero-inner,
.echolon-section .section-inner,
.echolon-waitlist .waitlist-inner,
.echolon-footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 48px;
  box-sizing: border-box;
}

/* 5. MOBILE – full width, generous padding, no cramping */
@media (max-width: 768px) {
  html, body {
    width: 100vw !important;
    overflow-x: hidden !important;
  }

  /* Remove any lingering side padding from theme */
  .wp-site-blocks,
  .wp-block-post-content,
  .entry-content,
  .site-content,
  .site-main {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100vw !important;
    width: 100vw !important;
  }

  /* Full-bleed sections on mobile */
  .echolon-nav,
  .echolon-hero,
  .echolon-section,
  .echolon-waitlist,
  .echolon-footer {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Inner containers – comfortable side padding so text breathes */
  .echolon-nav .nav-inner,
  .echolon-hero .hero-inner,
  .echolon-section .section-inner,
  .echolon-waitlist .waitlist-inner,
  .echolon-footer .footer-inner {
    padding-left: 24px !important;
    padding-right: 24px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Hero text – readable on small screens */
  .echolon-hero h1 {
    font-size: clamp(28px, 8vw, 52px) !important;
    line-height: 1.15 !important;
    padding: 0 !important;
  }

  .echolon-hero p {
    font-size: clamp(15px, 4vw, 20px) !important;
    line-height: 1.6 !important;
    padding: 0 !important;
  }

  /* CTA buttons – stack vertically and fill width */
  .hero-cta {
    flex-direction: column !important;
    align-items: center !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .hero-cta a {
    width: 100% !important;
    max-width: 340px !important;
    text-align: center !important;
  }

  /* Nav – hamburger-friendly */
  .echolon-nav nav {
    flex-wrap: wrap !important;
    gap: 8px !important;
  }

  .echolon-nav nav a {
    font-size: 14px !important;
    padding: 6px 10px !important;
  }

  /* Section headings */
  .echolon-section h2 {
    font-size: clamp(22px, 6vw, 38px) !important;
  }

  /* Waitlist form */
  .waitlist-form {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .waitlist-form input,
  .waitlist-form button {
    width: 100% !important;
    max-width: 340px !important;
  }

/* ===== HERO OUTCOME LINE + MOBILE SPACING ===== */

/* Outcome/social proof line below subtitle */
.hero-outcome {
  font-size: 14px !important;
  color: rgba(255,255,255,0.6) !important;
  margin-top: 0 !important;
  margin-bottom: 24px !important;
  letter-spacing: 0.02em !important;
}

/* Mobile hero spacing — tighten vertical padding */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
    min-height: unset !important;
  }
  .hero-section h1 {
    margin-bottom: 16px !important;
  }
  .hero-section p {
    margin-bottom: 12px !important;
  }
  .hero-outcome {
    margin-bottom: 20px !important;
  }
  .hero-cta {
    margin-top: 4px !important;
  }
}
}