/* ═══════════════════ RESPONSIVE STYLES ═══════════════════ */


/* ═══════════════════ TABLET (max-width: 968px) ═══════════════════ */
@media (max-width: 968px) {
  /* Navbar */
  .mobile-toggle {
    display: block;
  }

  .navbar-links,
  .navbar-actions {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: white;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: var(--shadow-lg);
    border-radius: 0 0 var(--radius) var(--radius);
  }

  .navbar-links.open,
  .navbar-actions.open {
    display: flex;
  }

  .navbar-links a {
    color: var(--gray-800) !important;
  }

  .lang-toggle {
    background: var(--gray-50);
    border-color: var(--gray-200);
  }

  .lang-btn {
    color: var(--gray-600);
  }

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

  .hero-desc {
    margin: 0 auto 36px;
  }

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

  .hero-visual {
    margin-top: 40px;
  }

  .hero-mockup {
    transform: none;
  }

  .hero-chat {
    right: 10px;
    bottom: -10px;
    max-width: 220px;
  }

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

  /* Section padding */
  .section {
    padding: 80px 0;
  }
}

/* ═══════════════════ TABLET SMALL (max-width: 768px) ═══════════════════ */
@media (max-width: 768px) {
  /* Stats */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .stat-item {
    padding: 24px 16px;
  }

  /* How it works */
  .how-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .how-grid::before {
    display: none;
  }

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

  .pricing-card {
    padding: 40px 28px;
  }

  .pricing-card.popular {
    transform: none;
  }

  .pricing-card.popular:hover {
    transform: translateY(-8px);
  }

  .pricing-icon {
    font-size: 48px;
  }

  .pricing-name {
    font-size: 24px;
  }

  .pricing-options {
    padding: 20px 16px;
  }

  .pricing-option {
    padding: 14px 16px;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .option-msgs {
    font-size: 15px;
  }

  .option-price {
    font-size: 22px;
  }

  .pricing-includes-list {
    gap: 8px 12px;
  }

  .pricing-includes-list span {
    font-size: 13px;
    padding: 5px 12px;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  /* Section padding */
  .section {
    padding: 60px 0;
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding: 120px 0 80px;
  }

  .hero-title {
    font-size: clamp(28px, 8vw, 42px);
  }

  .hero-desc {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-chat {
    display: none;
  }

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

/* ═══════════════════ MOBILE (max-width: 600px) ═══════════════════ */
@media (max-width: 600px) {
  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    padding: 32px 24px;
  }

  /* Container */
  .container {
    padding: 0 16px;
  }

  /* Section titles */
  .section-title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .section-subtitle {
    font-size: 16px;
  }
}

/* ═══════════════════ SMALL MOBILE (max-width: 500px) ═══════════════════ */
@media (max-width: 500px) {
  /* How it works */
  .how-grid {
    grid-template-columns: 1fr;
  }

  .how-number {
    width: 80px;
    height: 80px;
    font-size: 28px;
  }

  /* Stats */
  .stat-number {
    font-size: 28px;
  }

  /* Modal */
  .modal {
    padding: 32px 24px;
  }

  /* Showcase tabs */
  .showcase-tabs {
    gap: 6px;
  }

  .showcase-tab {
    padding: 10px 16px;
    font-size: 12px;
  }

  /* Pricing */
  .pricing-price {
    font-size: 36px;
  }

  /* WhatsApp button */
  .whatsapp-float {
    bottom: 20px;
    left: 20px;
  }

  [data-lang="en"] .whatsapp-float {
    right: 20px;
  }

  .whatsapp-float a {
    width: 54px;
    height: 54px;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }

  /* Buttons */
  .btn-primary,
  .btn-secondary {
    padding: 14px 28px;
    font-size: 15px;
  }
}

/* ═══════════════════ VERY SMALL MOBILE (max-width: 380px) ═══════════════════ */
@media (max-width: 380px) {
  .hero-badge {
    font-size: 12px;
    padding: 6px 16px;
  }

  .hero-title {
    font-size: 26px;
  }

  .navbar-logo svg,
  .navbar-logo img {
    height: 32px;
    width: auto;
    max-width: 100%;
  }

  /* Ensure images maintain aspect ratio on mobile */
  .hero-mockup img,
  .showcase-screen img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .btn-nav-cta {
    padding: 8px 16px;
    font-size: 12px;
  }

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

/* ═══════════════════ PRINT STYLES ═══════════════════ */
@media print {
  .navbar,
  .whatsapp-float,
  .modal-overlay {
    display: none !important;
  }

  .hero {
    min-height: auto;
    background: white;
    color: black;
  }

  .section {
    padding: 40px 0;
  }
}

/* ═══════════════════ REDUCED MOTION ═══════════════════ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
