/* ============================================================
   WayGo — Responsive Design
   Media queries for tablet and mobile
   ============================================================ */

/* ===== Tablet (768px - 1024px) ===== */
@media (max-width: 1024px) {
  :root {
    --nav-height: 64px;
  }

  /* Typography adjustments */
  .display-1 { font-size: clamp(2.5rem, 7vw, 4.5rem); }
  .display-2 { font-size: clamp(2rem, 5vw, 3.5rem); }

  /* Adjust section gaps */
  :root {
    --section-gap: clamp(60px, 10vw, 100px);
  }

  /* Benefits visual smaller */
  .benefits-visual-inner {
    max-width: 360px;
  }
}

/* ===== Mobile (up to 768px) ===== */
@media (max-width: 768px) {
  :root {
    --nav-height: 60px;
  }

  /* Typography */
  .display-1 { font-size: clamp(2.25rem, 10vw, 3.5rem); }
  .display-2 { font-size: clamp(1.75rem, 8vw, 2.75rem); }
  .heading-1 { font-size: clamp(1.5rem, 7vw, 2.25rem); }
  .heading-2 { font-size: clamp(1.25rem, 5vw, 1.75rem); }
  .body-large { font-size: 1rem; }

  /* Section spacing */
  :root {
    --section-gap: 64px;
  }

  /* Hero adjustments */
  .hero-title {
    letter-spacing: -0.03em;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat-value {
    font-size: 1.5rem;
  }

  /* Feature cards */
  .feature-card {
    padding: 24px 20px;
  }

  /* Benefits */
  .benefits-visual {
    min-height: 220px;
  }

  .benefits-visual-inner {
    max-width: 260px;
  }

  /* Screenshots */
  .screenshot-card {
    width: 200px;
  }

  /* CTA */
  .cta-final-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Footer */
  .footer {
    padding: 48px 0 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

/* ===== Small Mobile (up to 480px) ===== */
@media (max-width: 480px) {
  :root {
    --container-padding: 16px;
    --section-gap: 56px;
  }

  /* Typography */
  .display-1 { font-size: 2rem; }
  .display-2 { font-size: 1.625rem; }
  .heading-1 { font-size: 1.375rem; }

  /* Hero */
  .hero {
    min-height: 90vh;
    min-height: 90dvh;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 14px;
  }

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

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

  .hero-stats {
    flex-direction: column;
    gap: 12px;
  }

  .hero-stat-divider {
    display: none;
  }

  /* Sections */
  .section-header {
    margin-bottom: 32px;
  }

  .section-label {
    font-size: 0.75rem;
    padding: 5px 12px;
  }

  /* Grids */
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  /* Features */
  .feature-card {
    padding: 20px 16px;
    border-radius: var(--radius-lg);
  }

  .feature-card-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
  }

  .feature-card h3 {
    font-size: 1rem;
  }

  .feature-card p {
    font-size: 0.875rem;
  }

  /* How it works */
  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    flex-direction: row;
    text-align: left;
  }

  /* Benefits */
  .benefits-split {
    min-height: auto;
    gap: 32px;
  }

  .benefits-visual {
    min-height: 200px;
  }

  .benefits-visual-inner {
    max-width: 220px;
  }

  .benefit-item {
    padding: 12px 16px;
  }

  .benefits-content h2 {
    font-size: 1.75rem;
  }

  /* Screenshots */
  .screenshot-card {
    width: 180px;
  }

  /* CTA Final */
  .cta-final {
    padding: 56px var(--container-padding);
  }

  .cta-final-content h2 {
    font-size: 1.625rem;
  }

  .store-badge {
    width: 100%;
    justify-content: center;
  }

  /* FAQ */
  .faq-question {
    padding: 14px 16px;
    font-size: 0.9375rem;
  }

  /* Footer */
  .footer {
    padding: 40px 0 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Buttons */
  .btn {
    padding: 12px 24px;
    font-size: 0.9375rem;
  }

  .btn-lg {
    padding: 14px 32px;
  }
}

/* ===== Large screens ===== */
@media (min-width: 1600px) {
  :root {
    --container-max: 1400px;
  }

  .display-1 {
    font-size: 7rem;
  }
}
