
/* Mobile App Preview Section Styles */
.mobile-app-section {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  font-family: 'Arial', sans-serif;
}

.mobile-app-container {
  max-width: 1200px;
  width: 100%;
  z-index: 10;
  position: relative;
}

.mobile-app-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

/* Text Content Styles */
.mobile-app-text-content {
  color: white;
}

.mobile-app-title {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(45deg, #fff, #e0e7ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.mobile-app-subtitle {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 30px;
  opacity: 0.9;
}

.mobile-app-description {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 40px;
  opacity: 0.8;
  max-width: 400px;
}

.mobile-app-cta-button {
  background: linear-gradient(45deg, #ff6b6b, #ffa726);
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  color: white;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.mobile-app-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.4);
}

/* Phones Container */
.mobile-app-phones-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 600px;
}

.mobile-app-phone {
  position: absolute;
  transition: all 0.3s ease;
}

.mobile-app-phone-1 {
  z-index: 2;
  transform: rotate(-5deg) translateX(-30px);
  animation: mobileAppFloat1 6s ease-in-out infinite;
}

.mobile-app-phone-2 {
  z-index: 1;
  transform: rotate(8deg) translateX(60px) translateY(20px);
  animation: mobileAppFloat2 6s ease-in-out infinite;
}

.mobile-app-phone-frame {
  width: 280px;
  height: 560px;
  background: linear-gradient(145deg, #2c3e50, #34495e);
  border-radius: 40px;
  padding: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
}

.mobile-app-phone-frame::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c);
  border-radius: 42px;
  z-index: -1;
  animation: mobileAppBorderGlow 3s linear infinite;
}

.mobile-app-phone-screen {
  width: 100%;
  height: 100%;
  background: #000;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
}

/* App Interface */
.mobile-app-interface {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
  padding: 20px;
  display: flex;
  flex-direction: column;
}

.mobile-app-status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 30px;
}

.mobile-app-indicators {
  display: flex;
  gap: 5px;
}

.mobile-app-signal, .mobile-app-wifi, .mobile-app-battery {
  width: 15px;
  height: 10px;
  background: white;
  border-radius: 2px;
}

.mobile-app-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.mobile-app-header h4 {
  color: white;
  font-size: 24px;
  margin-bottom: 40px;
}

.mobile-app-achievement-card {
  background: linear-gradient(145deg, #667eea, #764ba2);
  padding: 30px;
  border-radius: 20px;
  width: 100%;
  max-width: 200px;
}

.mobile-app-achievement-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.mobile-app-achievement-card h5 {
  color: white;
  font-size: 18px;
  margin-bottom: 10px;
}

.mobile-app-achievement-text {
  color: #e0e7ff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
}

.mobile-app-progress-ring {
  width: 80px;
  height: 80px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  position: relative;
  margin: 0 auto;
}

.mobile-app-progress-fill {
  position: absolute;
  top: -4px;
  left: -4px;
  width: 80px;
  height: 80px;
  border: 4px solid transparent;
  border-top: 4px solid #ffa726;
  border-radius: 50%;
  animation: mobileAppSpin 2s linear infinite;
}

/* Second Phone Content */
.mobile-app-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.mobile-app-stat-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-app-stat-number {
  color: #ffa726;
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 5px;
}

.mobile-app-stat-label {
  color: #e0e7ff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.mobile-app-motivational-text h5 {
  color: white;
  font-size: 20px;
  margin-bottom: 10px;
}

.mobile-app-motivational-text p {
  color: #ffa726;
  font-size: 16px;
  font-weight: 600;
}

/* Wave Animations */
.mobile-app-wave-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.mobile-app-wave {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
  animation: mobileAppWaveFloat 8s ease-in-out infinite;
}

.mobile-app-wave-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(45deg, #ff6b6b, #ffa726);
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.mobile-app-wave-2 {
  width: 200px;
  height: 200px;
  background: linear-gradient(45deg, #4ecdc4, #44a08d);
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.mobile-app-wave-3 {
  width: 150px;
  height: 150px;
  background: linear-gradient(45deg, #f093fb, #f5576c);
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

.mobile-app-floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.mobile-app-float-element {
  position: absolute;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.mobile-app-element-1 {
  top: 20%;
  right: 30%;
  animation: mobileAppFloatUp 6s ease-in-out infinite;
}

.mobile-app-element-2 {
  bottom: 30%;
  left: 25%;
  animation: mobileAppFloatUp 8s ease-in-out infinite;
  animation-delay: 2s;
}

.mobile-app-element-3 {
  top: 70%;
  right: 20%;
  animation: mobileAppFloatUp 7s ease-in-out infinite;
  animation-delay: 4s;
}

/* Animations */
@keyframes mobileAppFloat1 {
  0%, 100% { transform: rotate(-5deg) translateX(-30px) translateY(0px); }
  50% { transform: rotate(-5deg) translateX(-30px) translateY(-20px); }
}

@keyframes mobileAppFloat2 {
  0%, 100% { transform: rotate(8deg) translateX(60px) translateY(20px); }
  50% { transform: rotate(8deg) translateX(60px) translateY(0px); }
}

@keyframes mobileAppBorderGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes mobileAppSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes mobileAppWaveFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-30px) rotate(120deg); }
  66% { transform: translateY(15px) rotate(240deg); }
}

@keyframes mobileAppFloatUp {
  0%, 100% { transform: translateY(0px); opacity: 0.1; }
  50% { transform: translateY(-40px); opacity: 0.3; }
}

/* Responsive Design - Mobile Optimizations */
@media (max-width: 768px) {
  .mobile-app-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .mobile-app-text-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .mobile-app-title {
    font-size: 2.5rem;
  }
  
  .mobile-app-subtitle {
    font-size: 2rem;
  }
  
  .mobile-app-description {
    max-width: 100%;
    padding: 0 20px;
  }
  
  .mobile-app-phones-container {
    height: 380px;
    margin-top: 30px;
    padding: 0 20px;
  }
  
  .mobile-app-phone-frame {
    width: 180px;
    height: 360px;
    padding: 15px;
    border-radius: 35px;
  }
  
  .mobile-app-phone-screen {
    border-radius: 28px;
  }
  
  .mobile-app-phone-1 {
    transform: rotate(-3deg) translateX(-20px) !important;
  }
  
  .mobile-app-phone-2 {
    transform: rotate(4deg) translateX(25px) translateY(15px) !important;
  }
  
  /* Phone content adjustments - FIXED FOR CIRCLE VISIBILITY AND TEXT CENTERING */
  .mobile-app-interface {
    padding: 15px;
  }
  
  .mobile-app-achievement-card {
    padding: 20px 15px;
    max-width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  .mobile-app-achievement-icon {
    font-size: 28px;
    margin-bottom: 8px;
  }
  
  .mobile-app-achievement-card h5 {
    font-size: 14px;
    margin-bottom: 6px;
    text-align: center;
    width: 100%;
    white-space: nowrap;
    overflow: visible;
  }
  
  .mobile-app-achievement-text {
    font-size: 12px;
    margin-bottom: 15px;
    text-align: center;
  }
  
  .mobile-app-progress-ring {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    flex-shrink: 0;
  }
  
  .mobile-app-progress-fill {
    width: 60px;
    height: 60px;
  }
  
  .mobile-app-stats-grid {
    gap: 10px;
  }
  
  .mobile-app-stat-card {
    padding: 15px 8px;
  }
  
  .mobile-app-stat-number {
    font-size: 18px;
  }
  
  .mobile-app-header h4 {
    font-size: 18px;
    margin-bottom: 25px;
  }
  
  .mobile-app-status-bar {
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .mobile-app-section {
    padding: 60px 10px;
  }
  
  .mobile-app-title {
    font-size: 2rem;
  }
  
  .mobile-app-subtitle {
    font-size: 1.5rem;
  }
  
  .mobile-app-description {
    font-size: 1rem;
    padding: 0 10px;
  }
  
  .mobile-app-phones-container {
    height: 320px;
    padding: 0 15px;
  }
  
  .mobile-app-phone-frame {
    width: 150px;
    height: 300px;
    padding: 12px;
    border-radius: 30px;
  }
  
  .mobile-app-phone-screen {
    border-radius: 25px;
  }
  
  .mobile-app-phone-1 {
    transform: rotate(-2deg) translateX(-15px) !important;
  }
  
  .mobile-app-phone-2 {
    transform: rotate(3deg) translateX(18px) translateY(10px) !important;
  }
  
  /* FIXED FOR CIRCLE VISIBILITY AND TEXT CENTERING ON SMALL SCREENS */
  .mobile-app-interface {
    padding: 12px;
  }
  
  .mobile-app-achievement-card {
    padding: 15px 10px;
    max-width: 130px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }
  
  .mobile-app-achievement-card h5 {
    font-size: 12px;
    margin-bottom: 4px;
    text-align: center;
    width: 100%;
    line-height: 1.2;
    word-wrap: break-word;
    hyphens: auto;
  }
  
  .mobile-app-achievement-text {
    font-size: 10px;
    margin-bottom: 10px;
    text-align: center;
    line-height: 1.2;
  }
  
  .mobile-app-progress-ring {
    width: 50px;
    height: 50px;
    margin: 0 auto;
    flex-shrink: 0;
  }
  
  .mobile-app-progress-fill {
    width: 50px;
    height: 50px;
  }
  
  .mobile-app-achievement-icon {
    font-size: 22px;
    margin-bottom: 6px;
    flex-shrink: 0;
  }
  
  .mobile-app-status-bar {
    font-size: 11px;
    margin-bottom: 10px;
  }
  
  .mobile-app-header h4 {
    font-size: 14px;
    margin-bottom: 15px;
  }
  
  .mobile-app-stat-card {
    padding: 10px 6px;
  }
  
  .mobile-app-stat-number {
    font-size: 16px;
  }
  
  .mobile-app-stat-label {
    font-size: 10px;
  }
  
  .mobile-app-motivational-text h5 {
    font-size: 14px;
  }
  
  .mobile-app-motivational-text p {
    font-size: 12px;
  }
}

/* Extra small screens */
@media (max-width: 360px) {
  .mobile-app-phones-container {
    height: 280px;
    padding: 0 10px;
  }
  
  .mobile-app-phone-frame {
    width: 130px;
    height: 260px;
    padding: 10px;
  }
  
  .mobile-app-phone-1 {
    transform: rotate(-1deg) translateX(-12px) !important;
  }
  
  .mobile-app-phone-2 {
    transform: rotate(2deg) translateX(15px) translateY(8px) !important;
  }
  
  .mobile-app-achievement-card {
    padding: 12px 8px;
    max-width: 110px;
    min-height: 160px;
  }
  
  .mobile-app-achievement-card h5 {
    font-size: 11px;
  }
  
  .mobile-app-achievement-text {
    font-size: 9px;
  }
  
  .mobile-app-progress-ring {
    width: 40px;
    height: 40px;
  }
  
  .mobile-app-progress-fill {
    width: 40px;
    height: 40px;
  }
  
  .mobile-app-achievement-icon {
    font-size: 18px;
  }
}
