/* ==========================================================================
   Rekall Website - Responsive Styles
   ========================================================================== */

/* Tablet: 768px - 1023px */
@media (max-width: 1023px) {
  :root {
    --container-padding: 1.5rem;
  }
  
  h1, .h1 {
    font-size: var(--text-4xl);
  }
  
  h2, .h2 {
    font-size: var(--text-3xl);
  }
  
  h3, .h3 {
    font-size: var(--text-2xl);
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .modes-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-2xl);
  }
}

/* Mobile: Below 768px */
@media (max-width: 767px) {
  :root {
    --container-padding: 1rem;
  }
  
  h1, .h1 {
    font-size: var(--text-3xl);
  }
  
  h2, .h2 {
    font-size: var(--text-2xl);
  }
  
  h3, .h3 {
    font-size: var(--text-xl);
  }
  
  .lead {
    font-size: var(--text-base);
  }
  
  .section {
    padding: var(--spacing-3xl) 0;
  }
  
  /* Navigation */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    flex-direction: column;
    align-items: stretch;
    background: var(--bg-secondary);
    border-left: 1px solid var(--border-primary);
    padding: 80px var(--spacing-lg) var(--spacing-lg);
    transform: translateX(100%);
    transition: transform var(--transition-base);
    z-index: var(--z-fixed);
  }
  
  .nav-links.active {
    transform: translateX(0);
  }
  
  .nav-link {
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
  }
  
  .nav .btn {
    width: 100%;
    margin-top: var(--spacing-md);
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  /* Hero */
  .hero {
    min-height: auto;
    padding: calc(80px + var(--spacing-2xl)) 0 var(--spacing-2xl);
  }
  
  .hero-content {
    padding: var(--spacing-md);
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .hero-cta .btn {
    width: 100%;
  }
  
  .hero-screenshot {
    margin-top: var(--spacing-xl);
  }
  
  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card {
    padding: var(--spacing-xl);
  }
  
  /* Modes */
  .mode-card {
    flex-direction: column;
    text-align: center;
  }
  
  .mode-icon {
    margin: 0 auto;
  }
  
  /* Pricing */
  .pricing-card {
    padding: var(--spacing-xl);
  }
  
  .pricing-price {
    font-size: var(--text-4xl);
  }
  
  /* FAQ */
  .faq-question {
    font-size: var(--text-base);
    padding: var(--spacing-md) 0;
  }
  
  /* Footer */
  .footer {
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .footer-brand {
    text-align: center;
  }
  
  .footer-brand p {
    max-width: none;
  }
  
  .footer-column {
    text-align: center;
  }
  
  .footer-links {
    align-items: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: var(--spacing-lg);
    text-align: center;
  }
  
  /* Page Header */
  .page-header {
    padding: calc(80px + var(--spacing-2xl)) 0 var(--spacing-2xl);
  }
  
  /* CTA */
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
}

/* Small Mobile: Below 480px */
@media (max-width: 479px) {
  h1, .h1 {
    font-size: var(--text-2xl);
  }
  
  h2, .h2 {
    font-size: var(--text-xl);
  }
  
  .btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--text-sm);
  }
  
  .btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--text-base);
  }
  
  .pricing-price {
    font-size: var(--text-3xl);
  }
}

/* Large Desktop: 1280px+ */
@media (min-width: 1280px) {
  :root {
    --container-max: 1280px;
  }
  
  h1, .h1 {
    font-size: var(--text-6xl);
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .btn,
  .menu-toggle {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .hero {
    min-height: auto;
    padding: var(--spacing-xl) 0;
  }
  
  .section {
    padding: var(--spacing-xl) 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;
  }
}
