/* =========================================================
   IT NANBARGAL — RESPONSIVE CSS (ELITE)
   Philosophy:
   - 99% mobile-first
   - Desktop = stability, not redesign
   - Reading comfort > screen utilization
   ========================================================= */

/* =========================================================
   SMALL DEVICES (DEFAULT)
   Handled by base.css + layout.css
========================================================= */

/* Footer grid collapses cleanly */
.footer-grid {
  grid-template-columns: 1fr;
  gap: 28px;
  text-align: center;
}

/* Brand section centered */
.footer-brand-area {
  text-align: center;
}

/* Footer bottom stacked */
.footer-bottom {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

/* =========================================================
   TABLETS (≥ 768px)
========================================================= */

@media (min-width: 768px) {
  /* Improve reading width without widening too much */
  .hero-inner,
  .lock-zone,
  .trust-box,
  .price-box {
    max-width: 620px;
  }

  /* Cards move to 2-column */
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
  }

  /* Vertical rhythm adjustment */
  .section {
    padding: calc(var(--space-xl) - 8px) var(--space-lg);
  }

  /* Features note breathing */
  .features-note {
    margin-top: 56px;
  }

  /* Footer becomes balanced */
  .footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
    text-align: left;
    gap: 48px;
  }

  .footer-brand-area {
    text-align: left;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

/* =========================================================
   LAPTOP / DESKTOP (≥ 1024px)
========================================================= */

@media (min-width: 1024px) {
  /* Hero remains centered */
  .hero {
    padding-top: 20vh;
    padding-bottom: 14vh;
  }

  /* Cap content width */
  .hero-inner,
  .lock-zone,
  .trust-box,
  .price-box {
    max-width: 660px;
  }

  /* Card breathing space */
  .card {
    padding: var(--space-lg);
  }

  /* CTA stays controlled */
  .cta-btn {
    min-width: 240px;
    font-size: 0.95rem;
  }

  /* Footer typography refinement */
  .footer-note {
    font-size: 0.72rem;
  }
}

/* =========================================================
   LARGE SCREENS (≥ 1440px)
   RULE: NEVER SCALE UP
========================================================= */

@media (min-width: 1440px) {
  body {
    background-color: var(--bg-main);
  }

  /* Hard-lock content width */
  .hero-inner,
  .lock-zone,
  .trust-box,
  .price-box {
    max-width: 680px;
  }

  /* Prevent overly wide grids */
  .card-grid {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
  }

  /* Footer max width lock */
  .footer-inner {
    max-width: 1100px;
    margin: 0 auto;
  }
}

/* =========================================================
   HOVER SAFETY (TOUCH DEVICES)
========================================================= */

@media (hover: none) {
  .card.magnetic {
    cursor: default;
  }

  /* Remove hover hints */
  .card::after {
    display: none;
  }
}

/* =========================================================
   REDUCED MOTION SAFETY
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .cta-btn {
    animation: none !important;
    transform: none !important;
  }
}
