/* ═══════════════════════════════════════════════════
   RESPONSIVE — Mobile-first breakpoints
   ═══════════════════════════════════════════════════ */

/* ─── Tablet & Below (≤1024px) ─── */
@media (max-width: 1024px) {
  .nav__links {
    display: none;
  }

  .nav__menu-btn {
    display: flex;
  }

  .nav__actions .btn {
    display: none;
  }

  /* Hero */
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-12);
  }

  .hero__content {
    align-items: center;
  }

  .hero__subtitle {
    max-width: 100%;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__device-wrapper {
    width: 220px;
  }

  /* Bento Grid */
  .bento {
    grid-template-columns: repeat(6, 1fr);
  }

  .bento__card--lg { grid-column: span 6; }
  .bento__card--md { grid-column: span 3; }
  .bento__card--sm { grid-column: span 3; }
  .bento__card--wide { grid-column: span 6; }

  /* AI Features */
  .ai__feature,
  .ai__feature--reverse {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-8);
  }

  .ai__feature--reverse .ai__feature-phone,
  .ai__feature--reverse .ai__feature-text {
    order: unset;
  }

  .ai__feature-phone {
    width: 200px;
    margin: 0 auto;
  }

  .ai__feature-text {
    align-items: center;
  }

  .ai__feature-text p {
    max-width: 100%;
  }

  .ai__feature-list {
    align-items: center;
  }

  /* Showcase */
  .showcase__feature,
  .showcase__feature--reverse {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-8);
  }

  .showcase__feature--reverse .showcase__feature-phone,
  .showcase__feature--reverse .showcase__feature-text {
    order: unset;
  }

  .showcase__feature-phone {
    width: 200px;
    margin: 0 auto;
  }

  .showcase__feature-text {
    align-items: center;
  }

  .showcase__feature-text p {
    max-width: 100%;
  }

  .showcase__feature-list {
    align-items: center;
  }

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

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

/* ─── Mobile (≤768px) ─── */
@media (max-width: 768px) {
  :root {
    --gutter: 1.25rem;
  }

  /* Hero */
  .hero {
    padding: var(--space-24) 0 var(--space-12);
    min-height: auto;
  }

  .hero__title {
    font-size: clamp(var(--text-4xl), 8vw, var(--text-5xl));
  }

  .hero__device-wrapper {
    width: 200px;
  }

  .hero__scroll-indicator {
    display: none;
  }

  .hero__stats {
    flex-wrap: wrap;
    gap: var(--space-4);
  }

  .hero__stat-divider {
    display: none;
  }

  /* Bento Grid */
  .bento {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .bento__card--lg,
  .bento__card--md,
  .bento__card--sm,
  .bento__card--wide {
    grid-column: span 1;
    min-height: auto;
  }

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

  .bento__wide-layout {
    flex-direction: column;
    align-items: flex-start;
  }

  /* AI Features */
  .ai__features {
    gap: var(--space-16);
  }

  .ai__feature-text h3 {
    font-size: var(--text-2xl);
  }

  /* Ecosystem */
  .ecosystem__grid {
    grid-template-columns: 1fr;
  }

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

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

  /* Pricing */
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .pricing__card {
    padding: var(--space-8);
  }

  /* FAQ */
  .faq__question {
    padding: var(--space-4) var(--space-5);
    font-size: var(--text-sm);
  }

  .faq__answer p {
    padding: 0 var(--space-5) var(--space-5);
  }

  /* Download */
  .download__title {
    font-size: clamp(var(--text-3xl), 7vw, var(--text-5xl));
  }

  /* Footer */
  .footer__top {
    flex-direction: column;
    gap: var(--space-8);
  }

  .footer__links {
    flex-wrap: wrap;
    gap: var(--space-8);
  }

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

  /* Sections spacing */
  .features,
  .ai,
  .showcase,
  .ecosystem,
  .privacy,
  .pricing,
  .faq,
  .download {
    padding: var(--space-20) 0;
  }

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

  .section-title {
    font-size: clamp(var(--text-3xl), 6vw, var(--text-4xl));
  }
}

/* ─── Small Mobile (≤480px) ─── */
@media (max-width: 480px) {
  .hero__title {
    font-size: var(--text-4xl);
  }

  .hero__device-wrapper {
    width: 180px;
  }

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

  .hero__actions .btn {
    width: 100%;
  }

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

  .bento__health-scores {
    gap: var(--space-4);
  }
}

/* ─── Large Desktop (≥1400px) ─── */
@media (min-width: 1400px) {
  .hero__device-wrapper {
    width: 300px;
  }
}
