/* ============================================
   NEXORA NETWORK INDONESIA — Responsive Styles
   Breakpoints: 1200, 992, 768, 576
   ============================================ */

/* ── Desktop Large (≤ 1200px) ── */
@media (max-width: 1200px) {
  .hero .container {
    gap: var(--space-2xl);
  }

  .hero-shield {
    width: 300px;
    height: 340px;
  }

  .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
    gap: var(--space-2xl);
  }
}

/* ── Tablet Landscape (≤ 992px) ── */
@media (max-width: 992px) {
  /* Navbar */
  .mobile-menu-btn {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(10, 22, 40, 0.97);
    backdrop-filter: var(--glass-blur-lg);
    -webkit-backdrop-filter: var(--glass-blur-lg);
    display: flex;
    flex-direction: column;
    padding: calc(var(--navbar-height) + var(--space-2xl)) var(--space-2xl) var(--space-2xl);
    transition: right var(--transition-smooth);
    border-left: 1px solid var(--color-border);
    z-index: 1000;
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .nav-link {
    display: block;
    padding: var(--space-md) 0;
    font-size: var(--fs-body);
    width: 100%;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-link::after {
    bottom: -1px;
    height: 2px;
  }

  .lang-toggle {
    margin-top: var(--space-xl);
    align-self: flex-start;
  }

  .mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }

  .mobile-overlay.open {
    display: block;
  }

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

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-description {
    max-width: 550px;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  /* About */
  .about .container {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .about-visual {
    order: -1;
    max-width: 500px;
    margin: 0 auto;
  }

  .about-floating-badge {
    bottom: -1rem;
    right: -0.5rem;
  }

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

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
  }

  .footer-brand {
    max-width: 100%;
    grid-column: 1 / -1;
  }
}

/* ── Tablet Portrait (≤ 768px) ── */
@media (max-width: 768px) {
  /* Stats */
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    padding: var(--space-xl);
  }

  .stat-item:not(:last-child)::after {
    display: none;
  }

  .stat-item {
    padding: var(--space-md) 0;
  }

  /* Solutions */
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonials */
  .testimonial-card {
    padding: var(--space-2xl) var(--space-lg);
  }

  .testimonial-text {
    font-size: var(--fs-body);
  }

  /* CTA */
  .cta-wrapper {
    padding: var(--space-3xl) var(--space-xl);
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }
}

/* ── Mobile (≤ 576px) ── */
@media (max-width: 576px) {
  :root {
    --container-padding: 1rem;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: calc(var(--navbar-height) + var(--space-3xl));
    padding-bottom: var(--space-3xl);
  }

  .hero-badge {
    font-size: 0.65rem;
    padding: 0.3rem 0.8rem;
  }

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

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

  /* Stats */
  .stats-bar {
    grid-template-columns: 1fr 1fr;
    border-radius: var(--radius-lg);
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Cards */
  .glass-card {
    padding: var(--space-xl);
  }

  /* About values */
  .about-values {
    grid-template-columns: 1fr;
  }

  /* Testimonial arrows */
  .testimonial-arrow {
    width: 36px;
    height: 36px;
  }

  /* CTA */
  .cta-wrapper {
    border-radius: var(--radius-lg);
    padding: var(--space-2xl) var(--space-lg);
  }
}
