/* ========================================
   RESPONSIVE COMPONENTS
   Media queries for all component breakpoints
   ======================================== */

/* ==================== RESPONSIVE STYLES ==================== */

@media (max-width: 768px) {
  .download-section,
  .final-download-buttons {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-block: 60px;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .community-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .stat-number-big {
    font-size: 2.2rem;
  }

  .features-list,
  .benefits-list {
    text-align: left;
    margin: 40px 0;
  }

  .phone-mockup,
  .phone-mockup-2,
  .phone-mockup-3,
  .phone-mockup-4 {
    width: 240px;
    height: 480px;
  }

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

  .form-row-small {
    flex-direction: column;
  }

  .signup-benefits {
    flex-direction: column;
    gap: 10px;
  }

  .signup-section {
    padding: 15px 10px;
    margin: 10px 0;
    width: 100%;
    max-width: 340px;
  }

  .signup-title {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }

  .signup-subtitle {
    font-size: 0.85rem;
    margin-bottom: 12px;
  }

  .email-input, .signup-btn {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  .name-input, .city-input {
    padding: 8px 10px;
    font-size: 0.8rem;
  }

  .signup-benefits {
    margin-top: 12px;
    gap: 8px;
  }

  .signup-benefits .benefit {
    font-size: 0.75rem;
  }

  .phone-mockup .left-side {
    left: -3px;
    top: 60px;
    gap: 8px;
  }

  .phone-mockup .right-side {
    right: -3px;
    top: 80px;
  }

  .phone-mockup .silent-switch,
  .phone-mockup .volume-up,
  .phone-mockup .volume-down,
  .phone-mockup .power-button {
    width: 3px;
  }

  .phone-mockup .silent-switch,
  .phone-mockup .volume-up,
  .phone-mockup .volume-down {
    height: 20px;
  }

  .phone-mockup .power-button {
    height: 30px;
  }

  .final-form-row {
    flex-direction: column;
  }

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

  .success-content {
    margin: 10px;
    padding: 30px 20px;
  }

  .mobile-join-button {
    display: block;
    order: 2;
    margin: 15px auto 20px auto;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    min-width: 140px;
    border-radius: 20px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .mobile-join-button:hover,
  .mobile-join-button:active {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
  }

  .main-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.2;
  }

  .subtitle {
    font-size: 1rem;
    margin-bottom: 25px;
    line-height: 1.4;
  }

  /* Video Player Mobile */
  .video-player {
    width: 520px;
    height: 260px;
    border-radius: 50px;
  }

  .video-player .left-side {
    top: 260px;
    left: 65px;
    display: flex;
    flex-direction: row;
    gap: 10px;
  }

  .video-player .right-side {
    bottom: -2px;
    right: 400px;
    top: -3px;
  }

  .video-player .silent-switch,
  .video-player .volume-up,
  .video-player .volume-down {
    width: 25px;
    height: 3px;
    background: linear-gradient(180deg, #4a4a4c, #5a5a5c);
    border-radius: 1.5px;
  }

  .video-player .silent-switch::after {
    left: 8px;
    top: 0.2px;
    width: 10px;
    height: 2.6px;
  }

  .video-player .volume-up,
  .video-player .volume-down {
    width: 30px;
  }

  .video-player .power-button {
    width: 45px;
    height: 3px;
    background: linear-gradient(180deg, #4a4a4c, #5a5a5c);
  }

  .play-icon {
    width: 75px;
    height: 75px;
    font-size: 28px;
  }

  .play-text {
    font-size: 1.2rem;
  }

  .video-info {
    top: 18px;
    right: 18px;
    gap: 10px;
  }

  .video-duration,
  .video-quality {
    padding: 6px 12px;
    font-size: 0.8rem;
  }

  .video-cta {
    margin-top: 15px;
  }

  /* Video Section - Gray/Blue Shadow (Mobile 768px) */
  .video-section .video-player:hover {
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 35px 70px rgba(44, 62, 80, 0.7),
      0 20px 45px rgba(52, 73, 94, 0.6),
      0 0 0 2px rgba(255, 255, 255, 0.3),
      inset 0 2px 0 rgba(255, 255, 255, 0.4),
      inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  }
}

@media (max-width: 480px) {
  .phone-mockup,
  .phone-mockup-2,
  .phone-mockup-3,
  .phone-mockup-4 {
    width: 280px;
    height: 570px;
  }

  /* Hero section phone - smaller size */
  .hero-section .phone-mockup {
    width: 220px;
    height: 440px;
  }

  .stats-grid {
    gap: 25px;
    margin-block: 50px;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .stat-number-big {
    font-size: 2rem;
  }

  .community-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }

  .download-btn,
  .final-download-btn {
    padding: 16px 24px;
    font-size: 1rem;
  }

  .mobile-join-button {
    padding: 8px 16px;
    font-size: 13px;
    min-width: 120px;
    margin: 10px auto 15px auto;
    border-radius: 15px;
  }

  /* Video Player Extra Small Mobile */
  .video-player {
    width: 400px;
    height: 190px;
  }

  .video-player .left-side {
    top: 189px;
    left: 60px;
    gap: 8px;
  }

  .video-player .right-side {
    bottom: -2px;
    right: 283px;
  }

  .video-player .silent-switch,
  .video-player .volume-up,
  .video-player .volume-down {
    width: 20px;
    height: 2.5px;
  }

  .video-player .volume-up,
  .video-player .volume-down {
    width: 25px;
  }

  .video-player .power-button {
    width: 35px;
    height: 2.5px;
  }

  .play-icon {
    width: 65px;
    height: 65px;
    font-size: 24px;
  }

  .play-text {
    font-size: 1.1rem;
  }

  .video-info {
    top: 15px;
    right: 15px;
    gap: 8px;
  }

  .video-duration,
  .video-quality {
    padding: 5px 10px;
    font-size: 0.75rem;
  }

  .video-cta {
    margin-top: 10px;
  }

  /* Video Section - Gray/Blue Shadow (Mobile 480px) */
  .video-section .video-player:hover {
    transform: translateY(-8px) scale(1.02) !important;
    box-shadow: 0 30px 60px rgba(44, 62, 80, 0.7),
      0 18px 40px rgba(52, 73, 94, 0.6),
      0 0 0 2px rgba(255, 255, 255, 0.3),
      inset 0 2px 0 rgba(255, 255, 255, 0.4),
      inset 0 -1px 0 rgba(0, 0, 0, 0.3);
  }
}

/* Small Mobile Portrait - 375px */
@media (max-width: 375px) {
  .phone-mockup,
  .phone-mockup-2,
  .phone-mockup-3,
  .phone-mockup-4 {
    width: 260px;
    height: 530px;
  }

  /* Hero section phone - smaller size */
  .hero-section .phone-mockup {
    width: 200px;
    height: 400px;
  }

  .mobile-join-button {
    padding: 8px 16px;
    font-size: 12px;
    min-width: 100px;
    margin: 8px auto 12px auto;
    border-radius: 15px;
  }

  /* Video Player for 375px */
  .video-player {
    width: 340px;
    height: 170px;
  }

  .video-player .left-side {
    top: 169px;
    left: 59px;
    gap: 6px;
  }

  .video-player .right-side {
    bottom: -2px;
    right: 234px;
  }

  .video-player .silent-switch,
  .video-player .volume-up,
  .video-player .volume-down {
    width: 16px;
    height: 2px;
  }

  .video-player .volume-up,
  .video-player .volume-down {
    width: 20px;
  }

  .video-player .power-button {
    width: 28px;
    height: 2px;
  }

  .play-icon {
    width: 55px;
    height: 55px;
    font-size: 20px;
  }

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

  .video-info {
    top: 12px;
    right: 12px;
    gap: 6px;
  }

  .video-duration,
  .video-quality {
    padding: 4px 8px;
    font-size: 0.7rem;
  }
}

/* 390px Screens (iPhone 12/13) */
@media (max-width: 390px) and (min-width: 376px) {
  /* Hero section phone - medium size */
  .hero-section .phone-mockup {
    width: 210px;
    height: 420px;
  }

  .mobile-join-button {
    padding: 10px 18px;
    font-size: 13px;
    min-width: 110px;
    margin: 10px auto 15px auto;
    border-radius: 15px;
  }

  /* Video Player for 390px */
  .video-player {
    width: 360px;
    height: 180px;
  }

  .video-player .left-side {
    top: 180px;
    left: 60px;
    gap: 7px;
  }

  .video-player .right-side {
    bottom: -2px;
    right: 251px;
  }

  .video-player .silent-switch,
  .video-player .volume-up,
  .video-player .volume-down {
    width: 17px;
    height: 2.2px;
  }

  .video-player .silent-switch::after {
    left: 6px;
    top: 0.15px;
    width: 6px;
    height: 1.9px;
  }

  .video-player .volume-up,
  .video-player .volume-down {
    width: 22px;
  }

  .video-player .power-button {
    width: 30px;
    height: 2.2px;
  }

  .play-icon {
    width: 58px;
    height: 58px;
    font-size: 21px;
  }

  .play-text {
    font-size: 1.05rem;
  }

  .video-info {
    top: 13px;
    right: 13px;
    gap: 7px;
  }

  .video-duration,
  .video-quality {
    padding: 4.5px 9px;
    font-size: 0.72rem;
  }
}

/* Very Small Screens - 320px */
@media (max-width: 320px) {
  .video-player {
    width: 300px;
    height: 150px;
  }

  .video-player .left-side {
    top: 150px;
    left: 35px;
    gap: 5px;
  }

  .video-player .right-side {
    bottom: -2px;
    right: 230px;
  }

  .video-player .silent-switch,
  .video-player .volume-up,
  .video-player .volume-down {
    width: 14px;
    height: 2px;
  }

  .video-player .volume-up,
  .video-player .volume-down {
    width: 18px;
  }

  .video-player .power-button {
    width: 24px;
    height: 2px;
  }

  .play-icon {
    width: 55px;
    height: 55px;
    font-size: 20px;
  }

  .play-text {
    font-size: 0.95rem;
  }

  .video-info {
    top: 10px;
    right: 10px;
    gap: 5px;
  }

  .video-duration,
  .video-quality {
    padding: 3px 7px;
    font-size: 0.65rem;
  }
}
