@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  text-align: center;
  /* background-color: #f9f9f9; */
  background-color: #f9f9f9;
  font-family: "Inter", sans-serif;
}

.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  width: 100vw;
}

/* Default GIF size for desktop - made bigger */
#pushup-gif {
  max-width: 50%;
  height: auto;
  transition: all 0.2s ease;
}

/* Email input styling */
#email-input {
  margin-bottom: 15px;
  padding: 12px 16px;
  width: 280px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 14px;
  font-family: "Inter", sans-serif;
  background-color: white;
  transition: border-color 0.2s ease;
}

#email-input:focus {
  outline: none;
  border-color: #2c2c2c;
}

#email-input::placeholder {
  color: #999;
}

/* Email section text styling */
#email-section h3 {
  margin: 0 0 15px 0;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

#email-section p {
  margin: 0 0 20px 0;
  font-size: 16px;
  line-height: 1.5;
  white-space: nowrap;
}

#waitlist-submit-btn {
  background-color: #2c2c2c;
  color: white;
  border: none;
  padding: 14px 32px; /* Larger padding for more prominence */
  font-family: "Inter", sans-serif;
  font-weight: 600; /* Bolder font weight */
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 15px; /* More space from input */
  transition: all 0.2s ease;
  min-width: 140px; /* Ensure consistent width */
}

#waitlist-submit-btn:hover {
  background-color: #1a1a1a;
  transform: translateY(-1px);
}

#waitlist-submit-btn:disabled {
  background-color: #ccc !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
  transform: none !important;
}

.top-right-controls {
  position: fixed;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 1000;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-btn {
  background: rgba(44, 44, 44, 0.04);
  border: 1px solid rgba(44, 44, 44, 0.12);
  color: #2c2c2c;
  padding: 8px 16px;
  margin: 0;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.lang-btn:hover {
  background: rgba(44, 44, 44, 0.08);
  border-color: rgba(44, 44, 44, 0.2);
}

.lang-btn.active {
  background: rgba(44, 44, 44, 0.1);
  border-color: rgba(44, 44, 44, 0.25);
}

.info-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #2c2c2c;
  transition: all 0.3s ease;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  font-weight: 600;
  font-size: 12px;
}

.info-btn:hover {
  text-decoration: underline;
}

#info-modal-description {
  font-size: 16px;
  font-family: "Inter", sans-serif;
  text-align: left;
  line-height: 1.5;
  text-align: justify;
  font-weight: 600;
}

#info-modal-features-coach-title {
  font-size: 16px;
  font-family: "Inter", sans-serif;
  text-align: left;
  line-height: 1.5;
  text-align: justify;
  font-weight: 600;
}

#info-modal-features-consumer-title {
  font-size: 16px;
  font-family: "Inter", sans-serif;
  text-align: left;
  line-height: 1.5;
  text-align: justify;
  font-weight: 600;
}

#info-modal-features-coach {
  font-size: 16px;
  font-family: "Inter", sans-serif;
  text-align: left;
  line-height: 1.5;
  text-align: justify;
}

#info-modal-features-consumer {
  font-size: 16px;
  font-family: "Inter", sans-serif;
  text-align: left;
  line-height: 1.5;
  text-align: justify;
}

/* Screenshot Gallery Styles */
.screenshot-gallery {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  margin: 30px 0;
  flex-wrap: nowrap;
}

.screenshot-item {
  text-align: center;
  flex-shrink: 0;
}

.screenshot-mobile {
  width: 180px; /* Fixed smaller width for mobile */
  height: auto;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease;
}

.screenshot-dashboard {
  width: 350px; /* Fixed larger width for dashboard */
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border: 1px solid #e0e0e0;
  transition: transform 0.3s ease;
}

.screenshot-mobile:hover,
.screenshot-dashboard:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.screenshot-label {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #2c2c2c;
  font-family: "Inter", sans-serif;
}

/* Make modal wider for screenshots */
#infoModal .modal-content {
  max-width: 650px;
}

/* Mobile styles */
@media (max-width: 768px) {
  #pushup-gif {
    max-width: 70%;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.2rem;
  }

  #email-input {
    width: 260px;
    font-size: 16px;
  }
}

/* Very small screens (phones) */
@media (max-width: 480px) {
  #pushup-gif {
    max-width: 80%;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.1rem;
  }

  #email-input {
    width: 220px;
    font-size: 16px;
  }
}

button {
  background-color: #2c2c2c;
  color: white;
  border: none;
  padding: 12px 32px;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 16px;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 10px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

button:hover {
  background-color: #1a1a1a;
  transform: translateY(-1px);
}

button:active {
  transform: translateY(0);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeIn 0.3s ease;
  overflow-y: auto;
  padding: 20px 0;
  -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.modal-content {
  background-color: white;
  margin: 20px auto 40px;
  padding: 0;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: slideIn 0.3s ease;
  position: relative;
  border: 2px solid #e0e0e0;
}

#infoModal .modal-content {
  max-width: 650px;
  max-height: calc(100vh - 80px);
}

.modal-header {
  background-color: #2c2c2c;
  color: white;
  padding: 25px 30px;
  border-radius: 6px 6px 0 0;
  text-align: center;
}

.modal-header h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  font-family: "Inter", sans-serif;
}

.modal-body {
  padding: 30px;
  text-align: center;
  overflow-y: auto;
}

.modal-body p {
  font-size: 18px;
  margin-bottom: 25px;
  color: #333;
  font-family: "Inter", sans-serif;
}

.modal-subtitle {
  font-size: 16px !important;
  color: #666 !important;
  margin-top: 25px !important;
  margin-bottom: 0 !important;
}

.stats-container {
  display: flex;
  justify-content: space-around;
  margin: 25px 0;
  gap: 20px;
}

.stat {
  flex: 1;
  padding: 20px;
  background-color: #f9f9f9;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
}

.stat-number {
  font-size: 32px;
  font-weight: 600;
  color: #2c2c2c;
  margin-bottom: 8px;
  font-family: "Inter", sans-serif;
}

.stat-label {
  font-size: 14px;
  color: #666;
  line-height: 1.3;
  font-family: "Inter", sans-serif;
}

.modal-footer {
  padding: 0 30px 30px 30px;
  text-align: center;
}

.modal-btn {
  background-color: #2c2c2c;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "Inter", sans-serif;
}

.modal-btn:hover {
  background-color: #1a1a1a;
  transform: translateY(-1px);
}

.close {
  color: white;
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.close:hover {
  opacity: 0.7;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 600px) {
  .modal-content {
    width: 95%;
    margin: 10px auto 40px;
    max-height: calc(100vh - 80px);
  }

  .stats-container {
    flex-direction: column;
    gap: 15px;
  }

  .modal-header h2 {
    font-size: 24px;
  }

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

/* Mobile responsiveness for button container */
@media (max-width: 480px) {
  .main > div[style*="height: 120px"] {
    height: 100px !important;
  }

  #email-section {
    top: -30px !important;
  }

  #email-section h3 {
    font-size: 16px !important;
  }

  #email-section p {
    font-size: 13px !important;
  }
}

@media (max-width: 650px) {
  .screenshot-gallery {
    flex-direction: column;
    align-items: center;
    gap: 25px;
  }

  .screenshot-mobile {
    width: 140px; /* Smaller on mobile screens */
  }

  .screenshot-dashboard {
    width: 280px; /* Smaller on mobile screens */
  }

  #infoModal .modal-content {
    max-width: 95%;
  }
}
