/* Downloads Page Styles */

.downloads-hero {
  margin-top: 80px;
  min-height: calc(100vh - 80px);
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.downloads-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff15" fill-opacity="1" d="M0,160L48,144C96,128,192,96,288,106.7C384,117,480,171,576,186.7C672,203,768,181,864,165.3C960,149,1056,139,1152,149.3C1248,160,1344,192,1392,208L1440,224L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>')
    no-repeat bottom;
  background-size: cover;
}

.downloads-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.downloads-text h1 {
  font-size: 4rem;
  font-weight: 900;
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  animation: slideInLeft 1s ease-out;
}

.downloads-text p {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  animation: slideInLeft 1s ease-out 0.2s;
  animation-fill-mode: both;
}

.app-badges {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  animation: slideInLeft 1s ease-out 0.4s;
  animation-fill-mode: both;
}

.app-store-btn,
.google-play-btn {
  display: flex;
  align-items: center;
  background: white;
  color: var(--primary);
  text-decoration: none;
  padding: 1rem 2rem;
  border-radius: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 2px solid transparent;
}

.app-store-btn:hover,
.google-play-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: var(--primary-light);
  color: white;
}

.store-btn-content {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.store-icon {
  font-size: 2rem;
}

.store-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.store-label {
  font-size: 0.9rem;
  opacity: 0.8;
}

.store-name {
  font-size: 1.3rem;
  font-weight: 700;
}

/* Phone Showcase */
.downloads-image {
  animation: slideInRight 1s ease-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-showcase {
  position: relative;
}

.phone-frame {
  width: 280px;
  height: 560px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  border-radius: 40px;
  padding: 15px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  transform: rotate(-5deg);
  animation: float 6s ease-in-out infinite;
}

.phone-content {
  width: 100%;
  height: 100%;
  background-image: url('/images/IceBackground.png');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #87CEEB;
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.phone-logo {
  width: 160px;
  height: auto;
  object-fit: contain;
}

.app-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
  background: var(--primary);
  color: white;
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-content h3 {
  color: var(--primary);
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.app-features {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-dot {
  background: var(--primary-light);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Why Download Section */
.downloads-features {
  padding: 5rem 2rem;
  background: var(--light);
}

.downloads-container {
  max-width: 1200px;
  margin: 0 auto;
}

.downloads-features h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 3rem;
  color: var(--primary);
  font-weight: 800;
}

.download-reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.reason-card {
  background: white;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 71, 171, 0.1);
  transition: all 0.3s ease;
  text-align: center;
  border: 2px solid transparent;
}

.reason-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 50px rgba(0, 71, 171, 0.15);
  border-color: var(--primary-light);
}

.reason-icon {
  /* Updated to use new icon styling - overridden by homepage.css */
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 64px !important;
  height: 64px !important;
  margin: 0 auto 1rem !important;
  background: linear-gradient(135deg, var(--primary-light), var(--primary)) !important;
  border-radius: 16px !important;
  padding: 12px !important;
  box-shadow: 0 8px 24px rgba(var(--primary-rgb), 0.3) !important;
  transition: all 0.3s ease !important;
}

.reason-card h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
  color: var(--primary);
  font-weight: 700;
}

.reason-card p {
  color: var(--gray);
  line-height: 1.8;
  font-size: 1.1rem;
}

/* Animations */
@keyframes float {
  0%,
  100% {
    transform: rotate(-5deg) translateY(0);
  }
  50% {
    transform: rotate(-5deg) translateY(-15px);
  }
}

