/* HelloBotz — Site-wide Mobile Hero Design System
   Desktop layouts unchanged. Mobile gets stacked composition. */

/* Force no page-level horizontal scroll on small screens */
@media (max-width: 768px) {
  html, body { overflow-x: hidden !important; max-width: 100vw !important; }
  .container { max-width: 100% !important; padding-left: 1rem !important; padding-right: 1rem !important; box-sizing: border-box; }
}

/* Generic hero grids used across industry/solution pages */
@media (max-width: 900px) {
  .edu-grid, .re-grid, .shy-grid, .woo-grid, .ecom-hero-grid, .gcm-hero-grid, .gfs-hero-grid, .crm-hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
    align-items: stretch !important;
  }
  .edu-hero-copy, .re-hero-copy, .shy-hero-copy, .woo-hero-copy,
  .ecom-hero-copy, .gcm-hero-copy, .gfs-hero-copy, .crm-hero-copy {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .edu-sim-tabs, .re-sim-tabs, .shy-tabs, .woo-tabs, .ecom-tabs, .gcm-tabs, .gfs-tabs, .crm-tabs {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    flex-wrap: wrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .edu-phone-stage, .re-phone-stage, .shy-stage, .woo-stage, .ecom-phone-stage, .gcm-phone-stage, .gfs-hero-visual, .crm-sim-stage {
    order: 3 !important;
    width: 100% !important;
    min-height: 0 !important;
    display: flex !important;
    justify-content: center !important;
    overflow: visible !important;
    padding: 0.5rem 0 1rem !important;
  }
  /* Hide floating cards on mobile — they cause overflow */
  .edu-float, .re-float, .shy-float, .woo-float, .ecom-float, .gcm-float {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .edu-hero, .re-hero, .shy-hero, .woo-hero, .ecom-hero, .gcm-hero, .gfs-hero, .crm-hero {
    padding-top: calc(var(--nav, 64px) + 1rem) !important;
    padding-bottom: 1.5rem !important;
    overflow-x: hidden !important;
  }
  .edu-hero h1, .re-hero h1, .shy-hero h1, .woo-hero h1,
  .ecom-hero h1, .gcm-hero h1, .gfs-hero h1, .crm-hero h1 {
    font-size: clamp(1.35rem, 6vw, 1.65rem) !important;
    line-height: 1.2 !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
  }
  .edu-lead, .re-lead, .shy-lead, .woo-lead, .ecom-lead, .gcm-lead, .gfs-lead, .crm-lead {
    font-size: 0.9rem !important;
    max-width: 100% !important;
  }
  .edu-ctas, .re-ctas, .shy-ctas, .woo-ctas, .ecom-ctas, .gcm-ctas, .gfs-ctas, .crm-ctas {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.6rem !important;
    width: 100% !important;
  }
  .edu-ctas .btn, .re-ctas .btn, .shy-ctas .btn, .woo-ctas .btn,
  .ecom-ctas .btn, .gcm-ctas .btn, .gfs-ctas .btn, .crm-ctas .btn,
  .edu-ctas .btn-ghost-light, .re-ctas .btn-ghost-light {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  /* Phone simulation constrained */
  .edu-phone, .re-phone, .shy-phone, .woo-phone, .ecom-phone, .gcm-phone, .crm-phone {
    width: min(230px, 72vw) !important;
    max-width: 230px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
  .edu-phone-screen, .re-phone-screen, .shy-screen, .woo-screen, .ecom-screen, .gcm-screen, .crm-screen {
    height: 360px !important;
  }
}

@media (max-width: 430px) {
  .edu-hero h1, .re-hero h1, .shy-hero h1, .woo-hero h1,
  .ecom-hero h1, .gcm-hero h1, .gfs-hero h1, .crm-hero h1 {
    font-size: 1.3rem !important;
  }
  .edu-phone, .re-phone, .shy-phone, .woo-phone, .ecom-phone, .gcm-phone, .crm-phone {
    width: min(200px, 74vw) !important;
  }
  .edu-phone-screen, .re-phone-screen, .shy-screen, .woo-screen, .ecom-screen, .gcm-screen, .crm-screen {
    height: 330px !important;
  }
  .edu-sim-tabs button, .re-sim-tabs button, .shy-tabs button, .woo-tabs button,
  .ecom-tabs button, .gcm-tabs button, .crm-tabs button {
    font-size: 0.68rem !important;
    padding: 0.35rem 0.6rem !important;
  }
}

@media (max-width: 360px) {
  .edu-hero h1, .re-hero h1, .shy-hero h1, .woo-hero h1,
  .ecom-hero h1, .gcm-hero h1, .gfs-hero h1, .crm-hero h1 {
    font-size: 1.22rem !important;
  }
  .edu-phone, .re-phone, .shy-phone, .woo-phone, .ecom-phone, .gcm-phone, .crm-phone {
    width: min(185px, 78vw) !important;
  }
  .edu-phone-screen, .re-phone-screen, .shy-screen, .woo-screen, .ecom-screen, .gcm-screen, .crm-screen {
    height: 300px !important;
  }
}

/* Journey flows — visible text + mobile vertical */
.re-journey span, .ecom-journey span, .gcm-journey span, .gfs-pipeline span {
  color: inherit;
}
.section-dark .re-journey span,
.section-dark .ecom-journey span,
.section-dark .gcm-journey span {
  background: rgba(255,255,255,0.12) !important;
  border-color: rgba(255,255,255,0.25) !important;
  color: #fff !important;
}
.section-dark .re-journey .arr,
.section-dark .ecom-journey .arr,
.section-dark .gcm-journey .arr {
  color: #C4B5FD !important;
  background: transparent !important;
  border: 0 !important;
}

@media (max-width: 768px) {
  .re-journey, .ecom-journey, .gcm-journey, .gfs-pipeline, .crm-pipeline, .crm-timeline, .ecom-timeline, .ecom-flow, .gcm-timeline {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0.35rem !important;
  }
  .re-journey span, .ecom-journey span, .gcm-journey span, .gfs-pipeline span,
  .crm-pipeline span, .crm-timeline span, .ecom-timeline span, .ecom-flow span, .gcm-timeline span {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
  .re-journey .arr, .ecom-journey .arr, .gcm-journey .arr, .gfs-pipeline .arr,
  .crm-pipeline .arr, .crm-timeline .arr, .ecom-timeline .arr, .ecom-flow .arr, .gcm-timeline .arr {
    width: auto !important;
    padding: 0.15rem !important;
  }
}

/* Marketing image section component */
.hb-mkt-section {
  margin: 2rem 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--bd, #e5e7eb);
  background: linear-gradient(135deg, #EDE9FE 0%, #CFFAFE 50%, #E0E7FF 100%);
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.25rem;
}
.hb-mkt-section .hb-mkt-inner strong {
  display: block;
  font-size: 1.1rem;
  color: #1E1B4B;
  margin-bottom: 0.35rem;
}
.hb-mkt-section .hb-mkt-inner span {
  font-size: 0.9rem;
  color: #5B21B6;
  font-weight: 600;
}
.hb-mkt-section img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 420px;
}
@media (max-width: 640px) {
  .hb-mkt-section { min-height: 140px; padding: 1.5rem 1rem; }
}

/* ===== Marketing image slots (replaceable) ===== */
.hb-img-slot {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(139, 92, 246, 0.25);
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 50%, #0F172A 100%);
  min-height: 220px;
  position: relative;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.12);
  transition: all 0.35s ease;
  margin: 2.5rem 0;
}
.hb-img-slot:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 20px 45px rgba(139, 92, 246, 0.2);
}
.hb-img-slot img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 480px;
  min-height: 200px;
}
.hb-img-slot .hb-img-fallback {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.5rem 1.5rem;
  min-height: 200px;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.15), transparent 70%);
}
.hb-img-slot .hb-img-fallback .ico {
  font-size: 2.4rem;
  margin-bottom: 0.6rem;
  filter: drop-shadow(0 4px 10px rgba(139, 92, 246, 0.4));
}
.hb-img-slot .hb-img-fallback strong {
  display: block;
  font-size: 1.15rem;
  color: #FFFFFF;
  font-weight: 700;
  margin-bottom: 0.4rem;
}
.hb-img-slot .hb-img-fallback span {
  font-size: 0.92rem;
  color: #C4B5FD;
  font-weight: 600;
  max-width: 32rem;
  line-height: 1.5;
}
.hb-img-slot--dark {
  background: linear-gradient(135deg, #1e1b4b 0%, #0f172a 50%, #164e63 100%);
  border-color: rgba(255, 255, 255, .15);
}
.hb-img-slot--dark .hb-img-fallback strong { color: #E9EDEF; }
.hb-img-slot--dark .hb-img-fallback span { color: #A5F3FC; }
@media(max-width: 640px) {
  .hb-img-slot { min-height: 160px; margin: 1.25rem auto; border-radius: 14px; }
  .hb-img-slot .hb-img-fallback { padding: 1.5rem 1rem; min-height: 160px; }
  .hb-img-slot .hb-img-fallback strong { font-size: 0.95rem; }
}

/* =========================================================
   UNIVERSAL MOBILE RESPONSIVE SYSTEM (All Pages & Channels)
   ========================================================= */

html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.container {
  width: 100% !important;
  max-width: 1240px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.25rem !important;
  padding-right: 1.25rem !important;
  box-sizing: border-box !important;
}

@media (max-width: 1240px) {
  .container {
    max-width: 100% !important;
  }
}

@media (max-width: 768px) {
  h1, .h1, h2, .h2, .hero-title, .tg-hero h1, .fb-hero h1, .ig-hero h1, .wa-hero h1,
  .prt-hero h1, .prc-hero h1, .ab-hero h1, .sol-hero h1, .ind-hero h1, .dm-hero h1,
  .edu-hero h1, .re-hero h1, .shy-hero h1, .woo-hero h1, .ecom-hero h1, .gcm-hero h1,
  .gfs-hero h1, .crm-hero h1, .wa-product-hero h1, .form-product-hero h1, .cb-product-hero h1 {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    max-width: 100% !important;
    letter-spacing: normal !important;
  }
}

@media (max-width: 640px) {
  h1, .h1, .tg-hero h1, .fb-hero h1, .ig-hero h1, .wa-hero h1,
  .prt-hero h1, .prc-hero h1, .ab-hero h1, .sol-hero h1, .ind-hero h1, .dm-hero h1,
  .edu-hero h1, .re-hero h1, .shy-hero h1, .woo-hero h1, .ecom-hero h1, .gcm-hero h1,
  .gfs-hero h1, .crm-hero h1 {
    font-size: clamp(1.3rem, 5.5vw, 1.7rem) !important;
    line-height: 1.22 !important;
  }

  h2, .h2 {
    font-size: clamp(1.15rem, 4.8vw, 1.45rem) !important;
    line-height: 1.25 !important;
  }

  .badge, .hb-hero-badge, .tg-badge, .fb-badge, .ig-badge, .wa-badge, .prt-badge, .prc-badge {
    white-space: normal !important;
    max-width: 100% !important;
    word-break: break-word !important;
    display: inline-block !important;
    text-align: center !important;
    font-size: 0.72rem !important;
    padding: 0.35rem 0.65rem !important;
  }

  .hero-ctas, .tg-ctas, .fb-ctas, .ig-ctas, .wa-ctas, .hb-hero-ctas,
  .prt-ctas, .prc-ctas, .edu-ctas, .re-ctas, .shy-ctas, .woo-ctas,
  .ecom-ctas, .gcm-ctas, .gfs-ctas, .crm-ctas, .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.65rem !important;
  }

  .hero-ctas .btn, .tg-ctas .btn, .fb-ctas .btn, .ig-ctas .btn, .wa-ctas .btn,
  .hb-hero-ctas .btn, .prt-ctas .btn, .prc-ctas .btn, .edu-ctas .btn,
  .re-ctas .btn, .shy-ctas .btn, .woo-ctas .btn, .ecom-ctas .btn,
  .gcm-ctas .btn, .gfs-ctas .btn, .crm-ctas .btn, .hero-actions .btn,
  .btn-ghost-light, .btn-demo-open {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    text-align: center !important;
  }

  .tg-tabs, .fb-tabs, .ig-tabs, .wa-tabs, .edu-sim-tabs, .re-sim-tabs,
  .shy-tabs, .woo-tabs, .ecom-tabs, .gcm-tabs, .gfs-tabs, .crm-tabs {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.35rem !important;
  }
}

@media (max-width: 900px) {
  .tg-hero-grid, .fb-hero-grid, .ig-hero-grid, .wa-hero-grid,
  .prt-hero-grid, .prc-hero-grid, .ab-hero-grid, .sol-hero-grid,
  .ind-hero-grid, .dm-hero-grid, .wa-product-grid, .form-product-grid,
  .cb-product-grid, .api-hero-grid, .split-section, .footer-contact-grid,
  .pricing-grid, .features-grid, .why-grid, .channels-grid, .industries-grid,
  .integrations-grid, .stats-grid, .testimonials-grid, .ab-build-grid,
  .ab-mission-grid, .ab-why-grid, .prt-why-grid, .prt-rev-grid, .dm-cat-grid,
  .dm-grid, .tg-builder, .tg-split, .tg-commands, .tg-notify-cards,
  .tg-usecases, .tg-metrics, .tg-eco, .tg-why {
    display: flex !important;
    flex-direction: column !important;
    gap: 1.25rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .tg-phone-stage, .fb-phone-stage, .ig-phone-stage, .wa-phone-stage,
  .prt-hero-visual, .prc-hero-visual {
    order: 3 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }
  
  .tg-hero-copy, .fb-hero-copy, .ig-hero-copy, .wa-hero-copy {
    order: 1 !important;
    width: 100% !important;
  }

  .tg-tabs, .fb-tabs, .ig-tabs, .wa-tabs {
    order: 2 !important;
  }
}

/* =========================================================
   OMNICHANNEL & HOMEPAGE MASTER MOBILE SYSTEM
   Applies to .cw- (WhatsApp & Home), .cig- (Instagram),
   .ctg- (Telegram), and .cfb- (Facebook)
   ========================================================= */

html, body, main#main, #main, .site-main,
.cw-main-page, .cw-page, .cig-page, .ctg-page, .cfb-page, .page-wrapper {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

@media (max-width: 900px) {
  /* Hero Section Containers */
  .cw-hero-wrap, .cw-hero-section, .cig-hero-section, .ctg-hero-section, .cfb-hero-section {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.5rem 1rem 3rem !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  /* 2-Column Hero Grids convert to Stacked Composition */
  .cw-hero-grid, .cig-hero-grid, .ctg-hero-grid, .cfb-hero-grid,
  .ca-hero-grid, .bot-hero-grid, .wbp-hero-grid, .wf-hero-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 2rem !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  /* Centered Hero Content & Headers */
  .cw-hero-content,
  .cig-hero-grid > div:first-child,
  .ctg-hero-grid > div:first-child,
  .cfb-hero-grid > div:first-child {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }

  /* Badge Pills */
  .cw-badge-pill, .cig-badge-pill, .ctg-badge-pill, .cfb-badge-pill {
    margin: 0 auto 1.25rem !important;
    white-space: normal !important;
    word-break: break-word !important;
    text-align: center !important;
    max-width: 100% !important;
    display: inline-flex !important;
  }

  /* Hero Titles */
  .cw-hero-title, .cig-hero-title, .ctg-hero-title, .cfb-hero-title {
    font-size: clamp(1.65rem, 6.8vw, 2.35rem) !important;
    line-height: 1.22 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin-bottom: 1rem !important;
    letter-spacing: -0.01em !important;
  }

  /* Hero Leads */
  .cw-hero-desc, .cig-hero-desc, .ctg-hero-desc, .cfb-hero-desc {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    margin: 0 auto 1.5rem !important;
  }

  /* CTA Buttons Rows */
  .cw-hero-actions, .cig-hero-actions, .ctg-hero-actions, .cfb-hero-actions {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto 1.5rem !important;
    gap: 0.65rem !important;
    align-items: stretch !important;
  }

  .cw-btn-primary, .cw-btn-secondary,
  .cig-btn-primary, .cig-btn-secondary,
  .ctg-btn-primary, .ctg-btn-secondary,
  .cfb-btn-primary, .cfb-btn-secondary,
  .cw-hero-actions .btn-download-data, .cw-hero-actions .cw-btn-data,
  .cig-hero-actions .btn-download-data,
  .ctg-hero-actions .btn-download-data,
  .cfb-hero-actions .btn-download-data {
    width: 100% !important;
    box-sizing: border-box !important;
    justify-content: center !important;
    text-align: center !important;
    height: 46px !important;
    line-height: 46px !important;
    padding: 0 1.25rem !important;
    font-size: 0.92rem !important;
  }

  /* Trust Badges */
  .cw-trust-row, .cig-trust-row, .ctg-trust-row, .cfb-trust-row {
    width: 100% !important;
    max-width: 100% !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 0.65rem 1.25rem !important;
    font-size: 0.8rem !important;
    margin: 0 auto !important;
  }

  /* Phone Mockup Simulators */
  .cw-phone-wrapper, .cig-phone-wrapper, .ctg-phone-wrapper, .cfb-phone-wrapper {
    width: min(315px, calc(100vw - 32px)) !important;
    max-width: 315px !important;
    margin: 1.25rem auto 0 !important;
    box-sizing: border-box !important;
    perspective: none !important;
    transform-style: flat !important;
    overflow: visible !important;
  }

  .cw-phone-device, .cig-phone-device, .ctg-phone-device, .cfb-phone-device {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    transform: none !important;
    transform-style: flat !important;
    border-radius: 36px !important;
    padding: 8px 8px 6px !important;
    border-width: 2.5px !important;
  }

  .cw-phone-screen, .cig-phone-screen, .ctg-phone-screen, .cfb-phone-screen {
    height: 440px !important;
    border-radius: 28px !important;
  }

  .cw-phone-aura {
    inset: 0 !important;
    filter: blur(16px) !important;
    border-radius: 40px !important;
  }

  /* Hide floating badges on mobile to prevent overflow */
  .cw-floating-card, .cig-floating-card, .ctg-floating-card, .cfb-floating-card {
    display: none !important;
  }

  /* Comparison Tables — clean horizontal touch scroll */
  .cw-table-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    border-radius: 14px !important;
    margin: 0 auto !important;
  }

  .cw-comp-table {
    min-width: 560px !important;
    width: 100% !important;
  }

  .cw-comp-table th,
  .cw-comp-table td {
    padding: 12px 14px !important;
    font-size: 0.82rem !important;
  }

  /* Feature & Step Grids */
  .cw-showcase-section, .cw-steps-section, .cw-comparison-section, .cw-sales-section,
  .cig-features-section, .cig-steps-section, .cig-sales-section,
  .ctg-features-section, .ctg-steps-section, .ctg-sales-section,
  .cfb-features-section, .cfb-steps-section, .cfb-sales-section {
    padding: 3rem 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .cw-showcase-grid, .cw-steps-grid,
  .cig-features-grid, .cig-steps-grid,
  .ctg-features-grid, .ctg-steps-grid,
  .cfb-features-grid, .cfb-steps-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    gap: 1rem !important;
  }

  .cw-card, .cw-step-card,
  .cig-feature-card, .cig-step-card,
  .ctg-feature-card, .ctg-step-card,
  .cfb-feature-card, .cfb-step-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 1.5rem 1.25rem !important;
  }

  /* Sales CTA Banners */
  .cw-sales-inner, .cig-sales-inner, .ctg-sales-inner, .cfb-sales-inner {
    padding: 2.5rem 1.25rem !important;
    border-radius: 24px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .cw-sales-title, .cig-sales-title, .ctg-sales-title, .cfb-sales-title {
    font-size: clamp(1.5rem, 5.5vw, 2rem) !important;
  }

  .cw-sales-desc, .cig-sales-desc, .ctg-sales-desc, .cfb-sales-desc {
    font-size: 0.95rem !important;
  }

  .cw-sales-actions, .cig-sales-actions, .ctg-sales-actions, .cfb-sales-actions {
    flex-direction: column !important;
    width: 100% !important;
    max-width: 300px !important;
    margin: 0 auto 1.25rem !important;
    gap: 0.65rem !important;
  }

  .cw-btn-white, .cw-btn-transparent,
  .cig-sales-actions .btn, .ctg-sales-actions .btn, .cfb-sales-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .cw-sales-trust, .cig-sales-trust, .ctg-sales-trust, .cfb-sales-trust {
    flex-direction: column !important;
    gap: 0.4rem !important;
    align-items: center !important;
  }
}

@media (max-width: 768px) {
  /* Prevent iOS Auto-Zoom on form fields */
  input, textarea, select, .cw-chat-input {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100% !important;
  }

  .cw-wa-body, .cig-chat-messages, .ctg-chat-messages, .cfb-chat-messages {
    -webkit-overflow-scrolling: touch !important;
    overscroll-behavior: contain !important;
  }

  .cw-section-title, .cig-section-title, .ctg-section-title, .cfb-section-title {
    font-size: clamp(1.4rem, 5.5vw, 1.85rem) !important;
  }

  .cw-section-subtitle, .cig-section-subtitle, .ctg-section-subtitle, .cfb-section-subtitle {
    font-size: 0.9rem !important;
  }
}

@media (max-width: 400px) {
  .cw-hero-wrap, .cw-hero-section, .cig-hero-section, .ctg-hero-section, .cfb-hero-section {
    padding: 1.25rem 0.75rem 2.25rem !important;
  }

  .cw-hero-title, .cig-hero-title, .ctg-hero-title, .cfb-hero-title {
    font-size: clamp(1.4rem, 6.2vw, 1.7rem) !important;
  }

  .cw-phone-wrapper, .cig-phone-wrapper, .ctg-phone-wrapper, .cfb-phone-wrapper {
    width: min(290px, calc(100vw - 20px)) !important;
    max-width: 290px !important;
  }

  .cw-phone-device, .cig-phone-device, .ctg-phone-device, .cfb-phone-device {
    border-radius: 32px !important;
    padding: 6px 6px 5px !important;
  }

  .cw-phone-screen, .cig-phone-screen, .ctg-phone-screen, .cfb-phone-screen {
    height: 400px !important;
    border-radius: 24px !important;
  }

  .cw-wa-header, .cig-chat-header, .ctg-chat-header, .cfb-chat-header {
    padding: 7px 8px !important;
    gap: 6px !important;
  }

  .cw-wa-title-row strong, .cig-header-name, .ctg-header-name, .cfb-header-name {
    font-size: 0.76rem !important;
  }

  .cw-wa-subtitle, .cig-header-status, .ctg-header-status, .cfb-header-status {
    font-size: 0.62rem !important;
  }

  .cw-chips-scroll {
    gap: 4px !important;
  }

  .cw-chip {
    padding: 4px 8px !important;
    font-size: 0.66rem !important;
  }

  .cw-chat-footer {
    padding: 5px 6px 6px !important;
    gap: 4px !important;
  }

  .cw-chat-input {
    padding: 6px 9px !important;
  }

  .cw-chat-send {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
}

/* =========================================================
   GLOBAL HERO CTA ACTIONS - PERFECT SINGLE-LINE ALIGNMENT
   Ensures all 3 buttons stay on a single line on desktop
   with identical heights (46px), identical pill curvature,
   and harmonious vertical/horizontal alignment.
   ========================================================= */
@media (min-width: 901px) {
  .cw-hero-actions,
  .cig-hero-actions,
  .ctg-hero-actions,
  .cfb-hero-actions {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.75rem !important;
    flex-wrap: nowrap !important;
    margin-bottom: 2rem !important;
    width: max-content !important;
    max-width: 100% !important;
    justify-content: flex-start !important;
  }

  .cw-btn-primary,
  .cw-btn-secondary,
  .cig-btn-primary,
  .cig-btn-secondary,
  .ctg-btn-primary,
  .ctg-btn-secondary,
  .cfb-btn-primary,
  .cfb-btn-secondary,
  .cw-hero-actions .btn-download-data,
  .cw-hero-actions .cw-btn-data,
  .cig-hero-actions .btn-download-data,
  .ctg-hero-actions .btn-download-data,
  .cfb-hero-actions .btn-download-data {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 46px !important;
    line-height: 46px !important;
    box-sizing: border-box !important;
    border-radius: 9999px !important;
    font-size: 0.92rem !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    vertical-align: middle !important;
  }

  .cw-btn-primary,
  .cig-btn-primary,
  .ctg-btn-primary,
  .cfb-btn-primary {
    padding: 0 1.3rem !important;
    font-weight: 700 !important;
  }

  .cw-btn-secondary,
  .cig-btn-secondary,
  .ctg-btn-secondary,
  .cfb-btn-secondary {
    padding: 0 1.3rem !important;
    font-weight: 600 !important;
  }

  .cw-hero-actions .btn-download-data,
  .cw-hero-actions .cw-btn-data,
  .cig-hero-actions .btn-download-data,
  .ctg-hero-actions .btn-download-data,
  .cfb-hero-actions .btn-download-data {
    padding: 0 1.25rem !important;
    font-weight: 700 !important;
  }
}


