/* ========================================
   NETTENSOFT - Responsive Breakpoints
   Mobile-first responsive adjustments
   ======================================== */

/* --- Tablet (max-width: 1024px) --- */
@media (max-width: 1024px) {
  :root {
    --text-6xl: 3rem;
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
  }

  .section {
    padding-block: var(--space-16);
  }

  .section__header {
    margin-bottom: var(--space-12);
  }

  /* Header */
  .header__nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: var(--space-24) var(--space-8) var(--space-8);
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-base);
    z-index: var(--z-overlay);
  }

  .header__nav--open {
    right: 0;
  }

  .header__nav-list {
    flex-direction: column;
    width: 100%;
    gap: var(--space-1);
  }

  .header__nav-link {
    color: var(--color-gray-700);
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: var(--text-base);
  }

  .header__nav-link:hover {
    color: var(--color-primary);
    background: rgba(var(--color-primary-rgb), 0.06);
  }

  .header__cta {
    width: 100%;
    margin-top: var(--space-4);
  }

  .header__cta .btn {
    width: 100%;
    justify-content: center;
  }

  .header__toggle {
    display: flex;
    z-index: var(--z-modal);
  }

  /* Mobile nav overlay */
  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--z-dropdown);
  }

  .nav-overlay--visible {
    display: block;
  }

  /* Hero */
  .hero__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero__subtitle {
    margin-inline: auto;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__visual {
    display: none;
  }

  /* Services */
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* App Types */
  .app-types__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  /* Stats */
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Process */
  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__grid::before {
    display: none;
  }

  /* Features */
  .features__grid {
    grid-template-columns: 1fr;
  }

  /* Reach */
  .reach__content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .reach__info .section__label,
  .reach__info .section__title,
  .reach__info .section__description {
    text-align: center;
  }

  .reach__visual {
    order: -1;
  }

  .reach__planet {
    max-width: 280px;
  }

  .reach__highlights {
    justify-items: center;
  }

  .reach__locations {
    justify-content: center;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-8);
  }

  .footer__brand {
    grid-column: span 2;
    max-width: 100%;
  }
}

/* --- Mobile (max-width: 768px) --- */
@media (max-width: 768px) {
  :root {
    --text-6xl: 2.5rem;
    --text-5xl: 2rem;
    --text-4xl: 1.75rem;
    --text-3xl: 1.5rem;
  }

  .container {
    padding-inline: var(--space-4);
  }

  .section {
    padding-block: var(--space-12);
  }

  .section__header {
    margin-bottom: var(--space-10);
  }

  /* Services */
  .services__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }

  /* App Types */
  .app-types__grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  /* Stats */
  .stats__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4);
  }

  .stat {
    padding: var(--space-6);
  }

  .stat__number {
    font-size: var(--text-4xl);
  }

  /* Process */
  .process__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin-inline: auto;
  }

  /* Features */
  .feature-card {
    flex-direction: column;
    text-align: center;
  }

  .feature-card .card__icon {
    margin-inline: auto;
  }

  /* CTA */
  .cta__actions {
    flex-direction: column;
  }

  .cta__actions .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .footer__brand {
    grid-column: span 1;
  }

  .footer__bottom {
    flex-direction: column;
    gap: var(--space-4);
    text-align: center;
  }
}

/* --- Small Mobile (max-width: 480px) --- */
@media (max-width: 480px) {
  :root {
    --text-6xl: 2rem;
    --text-5xl: 1.75rem;
    --text-4xl: 1.5rem;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: var(--space-16);
  }

  .hero__actions {
    flex-direction: column;
    width: 100%;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .stats__grid {
    grid-template-columns: 1fr;
  }

  .hero__float {
    display: none;
  }
}
