/* Responsive Design - Mobile First */

/* Tablets (768px and up) */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }

  /* Header */
  .header {
    padding: 15px 0;
  }

  .header-content {
    flex-direction: row;
    gap: 15px;
  }

  .logo h1 {
    font-size: 24px;
  }

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

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text h2 {
    font-size: 36px;
  }

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

  .hero-image {
    order: -1;
  }

  /* Social Proof */
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .stat-card {
    padding: 20px 15px;
  }

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

  /* Product Section */
  .product-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .product-title {
    font-size: 28px;
  }

  .product-features {
    grid-template-columns: 1fr;
  }

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

  .section-title {
    font-size: 32px;
  }

  /* FAQ */
  .faq-container {
    max-width: 100%;
  }

  /* Modal */
  .modal-content {
    width: 95%;
    max-height: 95vh;
  }

  .modal-title {
    font-size: 24px;
  }

  .form-actions {
    flex-direction: column;
  }

  .form-actions .btn {
    width: 100%;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-section p {
    text-align: left;
  }
}

/* Mobile Phones (480px and up) */
@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  /* Header */
  .logo h1 {
    font-size: 20px;
  }

  .language-selector select {
    font-size: 12px;
    padding: 6px 10px;
  }

  /* Hero Section */
  .hero {
    padding: 40px 0;
  }

  .hero-text h2 {
    font-size: 28px;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .hero-benefits li {
    font-size: 14px;
    margin-bottom: 10px;
    padding-left: 25px;
  }

  .btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .btn-large {
    padding: 14px 30px;
    font-size: 16px;
  }

  /* Social Proof */
  .social-proof {
    padding: 40px 0;
  }

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

  .stat-card {
    padding: 15px 10px;
  }

  .stat-number {
    font-size: 24px;
  }

  .stat-text {
    font-size: 12px;
  }

  /* Product Section */
  .product {
    padding: 40px 0;
  }

  .product-title {
    font-size: 24px;
  }

  .product-description {
    font-size: 14px;
  }

  .price-discounted {
    font-size: 28px;
  }

  .product-features {
    gap: 10px;
  }

  .feature {
    padding: 15px 10px;
  }

  .feature-icon {
    font-size: 24px;
  }

  .feature-text {
    font-size: 12px;
  }

  /* Testimonials */
  .section-title {
    font-size: 24px;
    margin-bottom: 40px;
  }

  .testimonials-grid {
    gap: 20px;
  }

  .testimonial-card {
    padding: 20px;
  }

  .testimonial-content p {
    font-size: 14px;
  }

  .author-avatar {
    width: 40px;
    height: 40px;
    font-size: 14px;
  }

  .author-name {
    font-size: 14px;
  }

  .author-title {
    font-size: 11px;
  }

  /* Trust Section */
  .trust {
    padding: 40px 0;
  }

  .trust-title {
    font-size: 24px;
  }

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

  .trust-description {
    font-size: 14px;
  }

  /* FAQ */
  .faq {
    padding: 40px 0;
  }

  .faq-question {
    padding: 15px;
    font-size: 14px;
  }

  .faq-answer p {
    padding: 0 15px 15px 15px;
    font-size: 13px;
  }

  /* Modal */
  .modal-header {
    padding: 20px;
  }

  .modal-title {
    font-size: 20px;
    margin-bottom: 15px;
  }

  .modal-steps {
    gap: 8px;
  }

  .step {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .modal-body {
    padding: 20px;
  }

  .step-title {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .form-group label {
    font-size: 13px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px;
    font-size: 13px;
  }

  .form-actions {
    gap: 10px;
  }

  /* Processing */
  .processing-container {
    padding: 30px 15px;
  }

  .spinner {
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
  }

  .processing-text {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .processing-steps {
    gap: 10px;
  }

  .processing-step {
    padding: 12px;
    font-size: 13px;
  }

  .step-number {
    width: 25px;
    height: 25px;
    font-size: 12px;
  }

  /* Payment */
  .payment-summary {
    padding: 20px;
    margin-bottom: 20px;
  }

  .amount-value {
    font-size: 24px;
  }

  /* Footer */
  .footer {
    padding: 30px 0 15px;
  }

  .footer-section h4 {
    font-size: 14px;
  }

  .footer-section a {
    font-size: 12px;
  }

  .footer-section p {
    font-size: 12px;
  }
}

/* Extra Small Phones (320px and up) */
@media (max-width: 320px) {
  .container {
    padding: 0 10px;
  }

  .logo h1 {
    font-size: 18px;
  }

  .hero-text h2 {
    font-size: 22px;
  }

  .hero-subtitle {
    font-size: 12px;
  }

  .hero-benefits li {
    font-size: 12px;
    padding-left: 20px;
  }

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

  .stat-number {
    font-size: 20px;
  }

  .product-title {
    font-size: 20px;
  }

  .section-title {
    font-size: 20px;
  }

  .modal-title {
    font-size: 18px;
  }
}

/* Landscape Mode Adjustments */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    padding: 30px 0;
  }

  .hero-text h2 {
    font-size: 32px;
  }

  .hero-benefits {
    margin-bottom: 20px;
  }

  .hero-benefits li {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .modal-content {
    max-height: 90vh;
    overflow-y: auto;
  }
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .btn,
  .modal {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .container {
    max-width: 100%;
  }
}

/* High Resolution Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .placeholder-image,
  .carousel-placeholder {
    border-width: 1px;
  }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
  .btn {
    min-height: 60px;
    min-width: 48px;
    padding: 14px 24px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 13px;
    padding: 14px;
  }

  .faq-question {
    padding: 18px;
  }

  .stat-card,
  .testimonial-card,
  .feature {
    padding: 20px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Dark Mode Support (if system prefers dark) */
@media (prefers-color-scheme: dark) {
  /* Already using dark theme by default */
}

/* Light Mode Support (if user prefers light) */
@media (prefers-color-scheme: light) {
  /* Can add light theme support here if needed */
}
