/* =========================================
   <= 1100px
========================================= */

@media (max-width: 1100px) {
  .desktop-nav {
    gap: 18px;
  }

  .hero-grid {
    gap: 42px;
  }

  .hero-visual {
    min-height: 520px;
  }

  .floating-card-one {
    left: -10px;
  }

  .floating-card-two {
    right: -5px;
  }

  .referral-grid {
    gap: 42px;
  }

  .app-cta-card {
    padding: 46px;
    gap: 40px;
  }
}


/* =========================================
   <= 900px
========================================= */

@media (max-width: 900px) {
  .desktop-nav,
  .desktop-action {
    display: none;
  }

  .mobile-menu-button {
    display: flex;
  }

  .mobile-menu {
    padding: 0 16px 18px;
    background: white;
    border-top: 1px solid var(--border);
  }

  .mobile-menu.active {
    display: block;
  }

  .mobile-menu > a {
    display: block;
    padding: 13px 8px;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 600;
    color: #475569;
  }

  .mobile-menu-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding-top: 16px;
  }

  .hero-section {
    padding: 70px 0 95px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .hero-content {
    max-width: 760px;
    text-align: center;
    margin-inline: auto;
  }

  .eyebrow {
    margin-inline: auto;
  }

  .hero-description {
    margin-inline: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    min-height: 560px;
  }

  .phone-card {
    width: min(100%, 450px);
  }

  .floating-card-one {
    left: 4%;
  }

  .floating-card-two {
    right: 4%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .stat-card:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .stat-card:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .step-card {
    min-height: auto;
  }

  .section-heading-row {
    align-items: flex-start;
    gap: 22px;
  }

  .referral-grid {
    grid-template-columns: 1fr;
  }

  .referral-content {
    text-align: center;
  }

  .referral-content p {
    margin-inline: auto;
  }

  .referral-benefits {
    max-width: 520px;
    margin-inline: auto;
    text-align: left;
  }

  .referral-demo-card {
    max-width: 560px;
    width: 100%;
    margin-inline: auto;
  }

  .app-cta-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .app-cta-content p {
    margin-inline: auto;
  }

  .store-buttons {
    justify-content: center;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* =========================================
   <= 700px
========================================= */

@media (max-width: 700px) {
  .container {
    width: min(100% - 24px, 1180px);
  }

  .section {
    padding: 72px 0;
  }

  .header-inner {
    min-height: 68px;
  }

  .brand-mark {
    width: 36px;
    height: 36px;
    border-radius: 11px;
  }

  .brand-name {
    font-size: 20px;
  }

  .hero-section {
    padding: 58px 0 84px;
  }

  .hero-content h1 {
    font-size: clamp(40px, 12vw, 58px);
    letter-spacing: -2px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-trust-row {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
    padding-bottom: 20px;
  }

  .phone-card {
    border-radius: 25px;
  }

  .phone-card-body {
    padding: 17px;
  }

  .amount-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .floating-card {
    display: none;
  }

  .stats-section {
    margin-top: -25px;
  }

  .stats-grid {
    padding: 12px;
    border-radius: 20px;
  }

  .stat-card {
    min-height: 82px;
  }

  .stat-card strong {
    font-size: 22px;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .section-heading-row {
    flex-direction: column;
  }

  .section-heading h2,
  .referral-content h2,
  .app-cta-content h2,
  .final-cta h2 {
    font-size: 34px;
    letter-spacing: -1.2px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .countries-grid {
    grid-template-columns: 1fr;
  }

  .country-card {
    min-height: 78px;
  }

  .referral-demo-card {
    padding: 22px;
  }

  .demo-code {
    font-size: 25px;
    letter-spacing: 2px;
  }

  .app-cta-card {
    padding: 34px 20px;
    border-radius: 24px;
  }

  .app-phone {
    width: min(100%, 270px);
  }

  .final-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .final-cta .btn {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .footer-bottom div {
    flex-wrap: wrap;
    justify-content: center;
  }
}


/* =========================================
   <= 480px
========================================= */

@media (max-width: 480px) {
  .container {
    width: calc(100% - 20px);
  }

  .mobile-menu-actions {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 39px;
  }

  .hero-description {
    font-size: 15px;
  }

  .phone-card-top {
    min-height: 52px;
  }

  .phone-card-body {
    padding: 14px;
  }

  .phone-preview {
    min-height: 54px;
    padding: 0 12px;
  }

  .operator-preview {
    padding: 12px;
  }

  .operator-logo {
    width: 42px;
    height: 42px;
  }

  .pricing-preview {
    padding: 12px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-card,
  .stat-card:nth-child(odd) {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .stat-card:last-child {
    border-bottom: 0;
  }

  .demo-buttons,
  .demo-stats {
    grid-template-columns: 1fr;
  }

  .store-buttons {
    flex-direction: column;
  }

  .store-button {
    width: 100%;
    justify-content: center;
  }

  .faq-question {
    min-height: 60px;
    font-size: 14px;
  }
}