/* ==========================================================================
   Responsive Styles
   Breakpoints: Tablet (810px - 1439px), Mobile (< 810px)
   ========================================================================== */

/* ==========================================================================
   Tablet Styles (810px - 1439px)
   ========================================================================== */

@media (max-width: 1439px) {
  :root {
    --section-padding: 80px;
  }

  .container {
    padding-left: 48px;
    padding-right: 48px;
  }

  h2 {
    font-size: 38px;
  }

  .faq .section-title {
    font-size: 38px;
  }

  h3 {
    font-size: 20px;
  }

  p {
    font-size: 16px;
  }

  /* Header */
  .nav-list {
    gap: 24px;
  }

  .nav-link {
    font-size: 0.875rem;
  }

  .header-buttons .btn {
    font-size: 0.8125rem;
  }

  /* Hero */
  .hero-container {
    gap: 32px;
  }

  .hero-image {
    max-width: 400px;
  }

  .hero-image-accent {
    max-width: 400px;
  }

  .hero-text {
    font-size: 18px;
  }

  .hero-stats-card {
    gap: 32px;
    padding: 24px 36px;
  }

  /* Benefits */
  .benefits-grid {
    max-width: 100%;
  }

  .benefit-card {
    padding: 24px 30px;
  }

  /* Reels Section - Tablet */
  .reels-content {
    grid-template-columns: 300px 1fr;
    gap: 40px;
    padding-left: 50px;
  }

  .reels-title {
    font-size: 1.875rem;
  }

  .reels-point {
    font-size: 1rem;
  }

  .reels-section .phone-frame {
    width: 240px;
  }

  /* Video Section - Tablet */
  .video-nav-arrow {
    width: 40px;
    height: 40px;
  }

  .video-nav-prev {
    left: -50px;
  }

  .video-nav-next {
    right: -50px;
  }

  /* Steps */
  .step-number {
    font-size: 3rem;
  }

  .step-arrow {
    width: 100px;
  }
}

/* ==========================================================================
   Small Tablet (810px - 1024px)
   ========================================================================== */

@media (max-width: 1024px) {
  .desktop-only {
    display: none;
  }

  /* Header - show hamburger */
  .nav {
    display: none;
  }

  .header-buttons {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-menu {
    display: block;
  }

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

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    padding-bottom: 160px;
  }

  .hero-visual {
    order: 1;
    justify-content: center;
  }

  .hero-content {
    order: 2;
    padding-right: 0;
  }

  .hero-text {
    margin-left: auto;
    margin-right: auto;
    max-width: 480px;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-image {
    max-width: 360px;
  }

  .hero-image-accent {
    max-width: 360px;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .hero-stats-card {
    gap: 24px;
    padding: 20px 28px;
  }

  .hero-stat-number {
    font-size: 1.75rem;
  }

  .hero-stat-suffix {
    font-size: 1.25rem;
  }

  /* Benefits */
  .benefits-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
  }

  .benefit-card:nth-child(1) {
    border-right: none;
  }

  .benefit-card:nth-child(2) {
    border-bottom: 1px solid var(--color-border);
  }

  .benefit-card:nth-child(3) {
    grid-column: 1;
  }

  /* Reels Section - Small Tablet */
  .reels-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding-left: 0;
  }

  .reels-video-wrapper {
    order: 2;
  }

  .reels-text-content {
    order: 1;
  }

  .reels-point {
    text-align: left;
  }

  /* Video Section - Small Tablet/Mobile */
  .youtube-arrow {
    width: 40px;
    height: 40px;
  }

  .youtube-arrow svg {
    width: 20px;
    height: 20px;
  }

  /* Steps */
  .steps-grid {
    flex-wrap: wrap;
    gap: 30px;
  }

  .step-arrow-wrapper {
    display: none;
  }

  .step-card {
    flex: 1 1 calc(33.333% - 20px);
    min-width: 200px;
  }
}

/* ==========================================================================
   Mobile Styles (< 810px)
   ========================================================================== */

@media (max-width: 809px) {
  :root {
    --section-padding: 60px;
  }

  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  h2 {
    font-size: 31px;
  }

  h3 {
    font-size: 18px;
  }

  p {
    font-size: 16px;
  }

  .section-title {
    margin-bottom: 30px;
  }

  /* Hero */
  section.hero {
    padding: 70px 0 0 0;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 32px 16px 220px 16px;
    gap: 32px;
  }

  .hero-visual {
    order: 1;
  }

  .hero-content {
    order: 2;
    padding-right: 0;
  }

  .hero-title {
    font-size: clamp(32px, 9vw, 44px);
    margin-bottom: 16px;
  }

  .hero-text {
    font-size: 16px;
    margin-bottom: 28px;
    max-width: 100%;
  }

  .hero-cta-group {
    flex-direction: column;
    gap: 12px;
    justify-content: center;
  }

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

  .hero-image {
    max-width: 300px;
    margin: 0 auto;
  }

  .hero-image-accent {
    display: none;
  }

  .hero-image img {
    border-radius: 20px;
  }

  .hero-stats-card {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px 24px;
    padding: 20px 24px;
    width: calc(100% - 32px);
    max-width: 400px;
    bottom: 24px;
  }

  .hero-stat {
    flex: 1;
    min-width: 80px;
  }

  .hero-stat-divider {
    height: 36px;
  }

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

  .hero-stat-suffix {
    font-size: 1.125rem;
  }

  .hero-stat-label {
    font-size: 0.75rem;
    white-space: normal;
  }

  .hero-star-icon {
    width: 16px;
    height: 16px;
  }

  /* Benefits */
  .benefits {
    padding: 60px 0;
  }

  .benefits-grid {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .benefit-card {
    padding: 20px;
    width: 100%;
  }

  .benefit-title {
    font-size: 1rem;
  }

  .benefit-text {
    font-size: 0.875rem;
  }

  /* Reels Section - Mobile */
  .reels-section {
    padding: 60px 0;
  }

  .reels-title {
    font-size: 1.5rem;
    margin-bottom: 24px;
  }

  .reels-point {
    font-size: 0.9375rem;
  }

  .reels-section .phone-frame {
    width: 220px;
  }

  /* Video Section - Mobile */
  .video-section {
    padding: 60px 0;
  }

  .youtube-arrow {
    width: 36px;
    height: 36px;
  }

  .youtube-arrow svg {
    width: 18px;
    height: 18px;
  }

  /* Reviews */
  .reviews {
    padding: 60px 0;
  }

  .review-card {
    width: 300px;
    padding: 24px;
  }

  .review-text {
    font-size: 0.875rem;
  }

  /* How I Work */
  .how-i-work {
    padding: 60px 0;
  }

  .how-i-work .section-title {
    font-size: 1.375rem;
  }

  .steps-grid {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
    width: 100%;
  }

  .step-arrow-wrapper {
    display: block;
    position: relative;
    width: 100%;
    height: 60px;
  }

  .step-arrow-wrapper:nth-child(2) .step-arrow {
    position: absolute;
    top: 50%;
    right: 0;
    left: auto;
    transform: translateY(-50%) rotate(120deg);
    width: 80px;
  }

  .step-arrow-wrapper:nth-child(4) .step-arrow {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%) scaleX(-1) rotate(130deg);
    width: 80px;
  }

  .step-card {
    flex: none;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .step-number {
    font-size: 3rem;
  }

  .step-title {
    font-size: 1rem;
  }

  .step-text {
    font-size: 0.8125rem;
  }

  /* Contact Form */
  .contact {
    padding: 60px 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .form-group input,
  .form-group textarea {
    padding: 14px 16px;
    font-size: 0.875rem;
  }

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

  .faq .section-title {
    font-size: 31px;
  }

  .faq .section-subtitle-text {
    font-size: 0.9375rem;
    margin-bottom: 30px;
  }

  .accordion-header {
    padding: 20px 0;
    font-size: 0.9375rem;
  }

  .accordion-content p {
    font-size: 0.875rem;
    padding-left: 20px;
  }

  /* CTA Section */
  .cta-section {
    padding: 30px 0 40px;
  }

  .cta-container {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }

  .cta-text {
    font-size: 1rem;
  }

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

  .copyright {
    font-size: 0.75rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  /* Cookie Banner */
  .cookie-banner-content {
    flex-direction: column;
    padding: 0 16px;
    text-align: center;
  }

  .cookie-banner-actions {
    width: 100%;
    justify-content: center;
  }

  .cookie-modal-content {
    padding: 24px;
    margin: 16px;
  }

  .cookie-modal-actions {
    flex-direction: column;
  }

  .cookie-modal .btn-sm {
    width: 100%;
    text-align: center;
  }

  /* GDPR Page */
  .gdpr-page {
    padding: 90px 0 60px;
  }

  .gdpr-table {
    font-size: 0.8125rem;
  }

  .gdpr-table th,
  .gdpr-table td {
    padding: 8px 10px;
  }

  /* Buttons */
  .btn-lg {
    font-size: 0.9375rem;
  }

  /* Ebook Popup */
  .ebook-popup-content {
    flex-direction: column;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .ebook-popup-cover {
    flex: none;
    padding: 24px;
  }

  .ebook-cover-placeholder {
    max-width: 150px;
    margin: 0 auto;
  }

  .ebook-popup-form {
    padding: 24px;
  }

  .ebook-popup-title {
    font-size: 1.25rem;
  }

  /* Lightbox */
  .lightbox-content {
    width: 95vw;
  }

  .lightbox-close {
    top: -40px;
  }
}

/* ==========================================================================
   Small Mobile (< 480px)
   ========================================================================== */

@media (max-width: 479px) {
  :root {
    --container-padding: 16px;
  }

  .phone-frame {
    width: 200px;
  }

  .review-card {
    width: 260px;
    padding: 20px;
  }

  .mobile-nav-link {
    font-size: 1.375rem;
  }
}

/* ==========================================================================
   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;
  }

  .reviews-track {
    animation: none;
  }
}
