/* =========================================================
   INSIGHTS – RESPONSIVE STYLES (FINAL FIXED)
========================================================= */

/* ---------------------------------------------------------
   SMALL LAPTOPS & TABLETS (≤ 1024px)
--------------------------------------------------------- */
@media (max-width: 1024px) {

  .hero-title {
    font-size: 2.2rem;
    line-height: 1.4;
  }

  .hero-text {
    font-size: 1.05rem;
    line-height: 1.7;
  }

  .assessment-card {
    max-width: 100%;
    padding: 40px;
    margin-top: 60px;
  }

  /* ✅ Start Analysis – LEFT */
  .start-analysis-wrapper {
    justify-content: flex-start;
  }

  .start-analysis-btn {
    width: 30%;
    min-width: 240px;
  }

  /* CTA */
  .app-cta {
    margin-left: 40px;
    margin-right: 40px;
    padding: 50px 30px;
  }

  .cta-title {
    margin-top: 80px;
  }

  .store-buttons {
    margin-top: 32px;
  }

  .phone-mockup {
    height: 420px;
  }
}

/* ---------------------------------------------------------
   TABLETS (≤ 768px)
--------------------------------------------------------- */
@media (max-width: 768px) {

  .insights-hero .col-lg-7 {
    padding-top: 30px;
    text-align: center;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.6;
  }

  .hero-illustration {
    margin-top: 40px;
    max-width: 220px;
  }

  .assessment-card {
    padding: 32px;
  }

  .assessment-title,
  .assessment-subtitle {
    text-align: center;
  }

  .inner-form-card {
    padding: 24px;
  }

  /* ✅ Start Analysis – LEFT */
  .start-analysis-wrapper {
    justify-content: flex-start;
  }

  .start-analysis-btn {
    width: 50%;
    min-width: 260px;
  }

  /* CTA */
  .app-cta {
    margin: 20px;
    padding: 40px 20px;
    text-align: center;
  }

  .cta-title {
    font-size: 1.9rem;
    margin-top: 50px;
  }

  .store-buttons {
    justify-content: center;
    margin-top: 24px;
  }

  .phone-mockup {
    height: 360px;
    margin-top: 20px;
  }
}

/* ---------------------------------------------------------
   MOBILE DEVICES (≤ 480px)
--------------------------------------------------------- */
@media (max-width: 480px) {

  .banner-text {
    font-size: 13px;
    text-align: center;
  }

  .btn-chrome {
    padding: 8px 16px;
    font-size: 12px;
    margin-left: 10px;
  }

  .hero-title {
    font-size: 1.7rem;
    line-height: 1.35;
    text-align: center;
  }

  .hero-text {
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
  }

  .hero-illustration {
    max-width: 180px;
    margin-top: 30px;
  }

  .assessment-card {
    padding: 24px 20px;
    margin-top: 40px;
  }

  .assessment-title {
    font-size: 20px;
  }

  .assessment-subtitle {
    font-size: 14px;
  }

  .inner-form-card {
    padding: 20px;
  }

  .input-group-custom {
    max-width: 100%;
  }

  .check-label-title {
    font-size: 15px;
  }

  .check-description {
    font-size: 10px;
  }

  /* ✅ Start Analysis – LEFT + FULL WIDTH */
  .start-analysis-wrapper {
    justify-content: flex-start;
  }

  .start-analysis-btn {
    width: 100%;
    min-width: unset;
    padding: 14px 20px;
    font-size: 15px;
  }

 
  .footer {
    flex-direction: column;
    gap: 15px;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
  }

  .footer-copyright {
    font-size: 12px;
  }

  .footer-icons {
    gap: 10px;
  }

  .footer-icons img {
    width: 20px;
    height: 20px;
  }

  .footer-icons .icon-youtube {
    width: 22px;
    height: 22px;
  }
}
/* =========================================================
   CTA – MOBILE FIX (≤ 480px)
   Keeps desktop EXACT, fixes mobile layout
========================================================= */
@media (max-width: 480px) {

  .app-cta {
    margin: 16px;
    padding: 24px 18px;
    border-radius: 18px;
  }

  /* Logo flows naturally instead of absolute */
  .cta-top-logo {
    position: static;
    margin-bottom: 12px;
  }

  /* 🔥 TITLE MOVES TO TOP */
  .cta-title {
    margin-top: 0;              /* REMOVE 140px */
    margin-bottom: 12px;
    font-size: 1.45rem;
  }

  /* Description fully visible */
  .app-cta .cta-description {
    margin-bottom: 16px;        /* REMOVE 80px */
    max-width: 100%;
    font-size: 0.95rem;
    line-height: 1.45;
  }

  /* Remove nowrap that cuts text */
   .cta-description {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  /* REMOVE forced line break */
  .cta-description .line-1,
  .cta-description .line-2 {
    display: inline;
  }

  /* add natural spacing */
  .cta-description .line-2::before {
    content: " ";
  }
  /* Store buttons closer */
  .store-buttons {
    margin-top: 12px;           /* REMOVE 100px */
    gap: 12px;
  }

  .store-buttons img {
    height: 42px;
  }

  /* Phone moves below content */
  .cta-image-container {
    margin-top: 18px;
    justify-content: center;
  }

  .phone-mockup {
    height: 260px;
  width: auto;              /* Smaller phone */
    transform: none;
  }
}

/* ---------------------------------------------------------
   LANDSCAPE MOBILE FIX
--------------------------------------------------------- */
@media (max-height: 500px) and (orientation: landscape) {

  .hero-title {
    font-size: 1.6rem;
  }

  .assessment-card {
    padding: 20px;
  }

  .start-analysis-btn {
    margin-top: 16px;
  }
}
/* =========================================
   HIDE NAVBAR TOGGLER (HAMBURGER ICON)
   ON SMALL SCREENS
========================================= */

@media (max-width: 991px) {
  .navbar-toggler {
    display: none !important;
  }
}

