/**
 * Responsive Styles
 *
 * Contains all @media queries organized by breakpoint:
 * - Mobile (max-width: 968px)
 * - Small mobile (max-width: 640px)
 * - Extra small mobile (max-width: 480px)
 * - Accessibility and utility classes
 */

/* Mobile Responsive - 968px and below */
@media (max-width: 968px) {
  .mobile-menu-btn {
    display: flex;
  }

  .nav-container {
    padding: 1rem 1.5rem;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--gray-200);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a:not(.btn) {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s;
  }

  .nav-links a:not(.btn):hover {
    background: var(--purple-ultra-light);
  }

  .nav-links .btn {
    width: 100%;
    justify-content: center;
  }

  .logo span {
    font-size: 1.1rem;
  }

  .logo img {
    width: 36px;
    height: 36px;
  }

  .hero {
    padding: 6rem 1.5rem 5rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .stat {
    align-items: center;
    text-align: center;
    flex: 1 1 auto;
    min-width: 100px;
  }

  section {
    padding: 4rem 1.5rem;
  }

  .video-demo {
    padding: 4rem 1.5rem;
  }

  .video-demo-header {
    margin-bottom: 2rem;
  }

  .video-highlights {
    gap: 1.5rem;
  }

  .video-container {
    border-radius: 16px;
  }

  .section-description {
    font-size: 1rem;
  }

  .social-proof {
    padding: 1.5rem 1rem;
  }

  .social-proof-content {
    gap: 1.5rem;
  }

  .proof-item {
    font-size: 0.9rem;
  }

  .value-props {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

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

  .comparison-table {
    overflow-x: auto;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .best-value-ribbon {
    font-size: 0.75rem;
    padding: 0.4rem 2.5rem;
  }


  .faq-question {
    padding: 1.25rem;
    font-size: 0.95rem;
  }

  .faq-answer-content {
    padding: 0 1.25rem 1.25rem;
    font-size: 0.95rem;
  }
}

/* Small Mobile - 640px and below */
@media (max-width: 640px) {
  /* Hero Stats - Reduce font size to fit in row */
  .stat-value {
    font-size: 1.5rem;
  }

  .nav-container {
    padding: 1rem;
  }

  .logo span {
    font-size: 1rem;
  }

  .logo img {
    width: 32px;
    height: 32px;
  }

  .hero {
    padding: 5rem 1rem 4rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

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

  .hero-cta .btn {
    width: 100%;
  }

  .hero-stats {
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
  }

  .stat {
    min-width: 90px;
  }

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

  .stat-label {
    font-size: 0.75rem;
  }

  section {
    padding: 3rem 1rem;
  }

  .video-demo {
    padding: 3rem 1rem;
  }

  .video-highlights {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .highlight-item {
    font-size: 0.9rem;
  }

  .video-container {
    border-radius: 12px;
    margin-bottom: 1.5rem;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .feature-card,
  .value-card {
    padding: 1.5rem;
  }

  .billing-toggle-container {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .pricing-section {
    padding: 3rem 1rem;
  }

  .pricing-card-header {
    padding: 2rem 1.5rem 1.5rem;
  }

  .pricing-card-body {
    padding: 0 1.5rem 2rem;
  }

  .price-value {
    font-size: 3rem;
  }

  .best-value-ribbon {
    display: none;
  }

  .pricing-section .pro-card::before {
    content: "BEST VALUE";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: var(--white);
    padding: 0.5rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.75rem;
    z-index: 10;
  }


  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .cta-section {
    padding: 3rem 1rem;
  }

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

  .cta-content p {
    font-size: 1rem;
  }

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

  .cta-buttons .btn {
    width: 100%;
  }

  footer {
    padding: 2rem 1rem 1.5rem;
  }
}

/* Extra Small Mobile - 480px and below */
@media (max-width: 480px) {
  .nav-container {
    padding: 0.875rem;
  }

  .hero {
    padding: 4rem 0.875rem 3rem;
  }

  .social-proof-content {
    flex-direction: column;
    gap: 1rem;
  }

  .comparison-table td:first-child {
    font-size: 0.85rem;
  }

  .comparison-table td:not(:first-child) {
    font-size: 1.25rem;
  }
}

/* Accessibility and Utility Classes */

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip to content link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--purple-primary);
  color: var(--white);
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  z-index: 10000;
  font-weight: 600;
  border-radius: 0 0 8px 0;
  transform: translateY(0);
  transition: transform 0.2s ease-in-out;
}

.skip-link:focus {
  top: 0;
  transform: translateY(0);
}

/* Enhanced focus indicators */
*:focus-visible {
  outline: 3px solid var(--purple-primary);
  outline-offset: 2px;
}

button:focus-visible,
.btn:focus-visible {
  outline: 3px solid var(--purple-primary);
  outline-offset: 3px;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeInUp 0.8s ease-out;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
