/* ============================================================
   HERO RESPONSIVE — index page only
   Handles: mobile (320–480), standard mobile (481–767),
            tablet (768–1024), mobile desktop mode
   Does NOT touch desktop (1025px+)
   ============================================================ */

/* ============================================================
   MOBILE DESKTOP MODE (forced desktop on mobile browser)
   Target: viewport wider than actual device but UA is mobile
   Catch-all for any width on touch devices
   ============================================================ */
@media (hover: none) and (pointer: coarse) {
  #hero-primary-section {
    background-attachment: scroll !important;
    min-height: unset !important;
    height: auto !important;
  }

  #hero-text-content,
  .hero-text-content {
    min-height: unset !important;
    height: auto !important;
  }
}

/* ============================================================
   TABLET — 768px to 1024px
   ============================================================ */
@media (min-width: 768px) and (max-width: 1024px) {
  #hero-primary-section {
    background-attachment: scroll !important;
    min-height: unset !important;
    height: auto !important;
  }

  #hero-text-content,
  .hero-text-content {
    min-height: unset !important;
    padding: 60px 5% 100px !important;
    justify-content: flex-start !important;
  }

  #hero-content-container {
    max-width: 100% !important;
  }

  #hero-headline-title {
    font-size: 36px !important;
    line-height: 1.25 !important;
    margin-bottom: 18px !important;
  }

  #hero-subtitle-text {
    font-size: 15px !important;
    margin-bottom: 28px !important;
  }

  #hero-button-group,
  .hero-action-buttons {
    gap: 14px !important;
    flex-wrap: wrap !important;
  }

  #hero-trusted-companies-section,
  .hero-trusted-section {
    margin-top: 36px !important;
    padding: 10px 0 90px !important;
  }

  #hero-trusted-main-title,
  .hero-trusted-title {
    font-size: 24px !important;
  }

  #hero-trusted-main-subtitle,
  .hero-trusted-subtitle {
    font-size: 14px !important;
    margin-bottom: 20px !important;
  }

  .trusted-logo-item {
    width: 130px !important;
    height: 72px !important;
    padding: 8px 12px !important;
  }

  .trusted-logo-item img {
    max-width: 80px !important;
    max-height: 44px !important;
  }

  #hero-bottom-curve {
    height: 70px !important;
  }
}

/* ============================================================
   STANDARD MOBILE — 481px to 767px
   ============================================================ */
@media (min-width: 481px) and (max-width: 767px) {
  #hero-primary-section {
    background-attachment: scroll !important;
    background-position: 70% center !important;
    min-height: unset !important;
    height: auto !important;
  }

  #hero-text-content,
  .hero-text-content {
    min-height: unset !important;
    padding: 55px 20px 0 !important;
    justify-content: flex-start !important;
  }

  #hero-content-container {
    max-width: 100% !important;
  }

  #hero-headline-title {
    font-size: 28px !important;
    line-height: 1.28 !important;
    margin-bottom: 14px !important;
    max-width: 100% !important;
  }

  #hero-subtitle-text {
    font-size: 14px !important;
    line-height: 1.65 !important;
    margin-bottom: 24px !important;
    max-width: 100% !important;
  }

  #hero-button-group,
  .hero-action-buttons {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  .hero-btn {
    width: 100% !important;
    max-width: 320px !important;
    padding: 13px 24px !important;
    font-size: 15px !important;
    text-align: center !important;
  }

  #hero-trusted-companies-section,
  .hero-trusted-section {
    margin-top: 32px !important;
    padding: 8px 0 75px !important;
  }

  #hero-trusted-main-title,
  .hero-trusted-title {
    font-size: 20px !important;
    margin-bottom: 6px !important;
  }

  #hero-trusted-main-subtitle,
  .hero-trusted-subtitle {
    font-size: 13px !important;
    margin-bottom: 16px !important;
  }

  .trusted-logo-item {
    width: 120px !important;
    height: 68px !important;
    padding: 8px 10px !important;
  }

  .trusted-logo-item img {
    max-width: 76px !important;
    max-height: 42px !important;
  }

  #hero-trusted-logos-scroll-track,
  .hero-trusted-logos-track {
    gap: 14px !important;
    animation-duration: 38s !important;
  }

  #hero-bottom-curve {
    height: 55px !important;
  }
}

/* ============================================================
   SMALL MOBILE — 320px to 480px  (iQOO Neo 10R = 412px)
   ============================================================ */
@media (max-width: 480px) {
  #hero-primary-section {
    background-attachment: scroll !important;
    background-position: 72% center !important;
    min-height: unset !important;
    height: auto !important;
  }

  #hero-text-content,
  .hero-text-content {
    min-height: unset !important;
    padding: 55px 16px 0 !important;
    justify-content: flex-start !important;
  }

  #hero-content-container {
    max-width: 100% !important;
  }

  #hero-headline-title,
  .hero-headline-mobile {
    font-size: 24px !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
    max-width: 100% !important;
    font-weight: 800 !important;
  }

  #hero-subtitle-text {
    font-size: 13px !important;
    line-height: 1.6 !important;
    margin-bottom: 22px !important;
    max-width: 100% !important;
  }

  #hero-button-group,
  .hero-action-buttons {
    flex-direction: column !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .hero-btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 13px 20px !important;
    font-size: 14px !important;
    text-align: center !important;
    border-radius: 6px !important;
  }

  .hero-btn-secondary,
  #hero-secondary-cta {
    padding: 11px 20px !important;
  }

  #hero-trusted-companies-section,
  .hero-trusted-section {
    margin-top: 28px !important;
    padding: 8px 0 65px !important;
  }

  #hero-trusted-main-title,
  .hero-trusted-title {
    font-size: 18px !important;
    margin-bottom: 6px !important;
  }

  #hero-trusted-main-subtitle,
  .hero-trusted-subtitle {
    font-size: 12px !important;
    margin-bottom: 14px !important;
  }

  .trusted-logo-item {
    width: 100px !important;
    height: 60px !important;
    padding: 6px 8px !important;
    border-radius: 8px !important;
  }

  .trusted-logo-item img {
    max-width: 64px !important;
    max-height: 36px !important;
  }

  #hero-trusted-logos-scroll-track,
  .hero-trusted-logos-track {
    gap: 12px !important;
    animation-duration: 32s !important;
  }

  #hero-bottom-curve {
    height: 50px !important;
  }
}

/* ============================================================
   VERY SMALL — below 360px
   ============================================================ */
@media (max-width: 359px) {
  #hero-text-content,
  .hero-text-content {
    padding: 50px 14px 0 !important;
  }

  #hero-headline-title,
  .hero-headline-mobile {
    font-size: 21px !important;
  }

  #hero-subtitle-text {
    font-size: 12px !important;
  }

  .hero-btn {
    font-size: 13px !important;
    padding: 11px 16px !important;
  }

  .trusted-logo-item {
    width: 88px !important;
    height: 54px !important;
  }

  .trusted-logo-item img {
    max-width: 56px !important;
    max-height: 32px !important;
  }
}



