/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Landing page container with gradient background */
.landing-container {
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  /* Gradient: Pink (#FF637E) -> Coral (#FF7A5A) -> Orange (#FF8803) */
  background: linear-gradient(135deg, #FF637E 0%, #FF7A5A 50%, #FF8803 100%);
  /* Fallback for older browsers */
  background: -webkit-linear-gradient(135deg, #FF637E 0%, #FF7A5A 50%, #FF8803 100%);
  background: -moz-linear-gradient(135deg, #FF637E 0%, #FF7A5A 50%, #FF8803 100%);
  background: -o-linear-gradient(135deg, #FF637E 0%, #FF7A5A 50%, #FF8803 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: auto;
}

/* Content wrapper */
.landing-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 48px;
  width: 100%;
  max-width: 600px;
  text-align: center;
}

/* Logo container */
.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  animation: fadeInUp 0.8s ease-out;
}

.logo {
  max-width: 100%;
  height: auto;
  width: 100%;
  max-width: 400px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Download buttons container */
.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 320px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

/* Download button base styles */
.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  text-decoration: none;
  color: #1D2838;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 2px solid transparent;
}

.download-btn:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.download-btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Icon styles */
.download-btn svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.app-store-icon {
  color: #000;
}

.play-store-icon {
  color: #000;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive design */
@media (max-width: 768px) {
  .landing-content {
    gap: 40px;
    padding: 0 20px;
  }

  .logo {
    max-width: 300px;
  }

  .download-buttons {
    max-width: 100%;
    gap: 14px;
  }

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

  .download-btn svg {
    width: 22px;
    height: 22px;
  }
}

@media (max-width: 480px) {
  .landing-content {
    gap: 32px;
  }

  .logo {
    max-width: 250px;
  }

  .download-btn {
    padding: 12px 18px;
    font-size: 14px;
    gap: 10px;
  }

  .download-btn svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 360px) {
  .logo {
    max-width: 200px;
  }

  .download-btn {
    padding: 10px 16px;
    font-size: 13px;
  }
}

/* Landscape orientation adjustments */
@media (max-height: 600px) and (orientation: landscape) {
  .landing-content {
    gap: 24px;
    flex-direction: row;
    max-width: 900px;
  }

  .logo-container {
    flex: 1;
  }

  .logo {
    max-width: 300px;
  }

  .download-buttons {
    flex: 1;
    max-width: 280px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .logo {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}
