/* ===== Base Styles ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: linear-gradient(to right, #eef2f3, #dbe9f4);
  padding: 0;
  min-height: 100vh;
  color: #1e293b;
  overflow-x: hidden;
}

/* ========== HEADER & BOTTOM NAV STYLES REMOVED ========== */
/* Note: Header styles ab /components/header/header.css mein hain */
/* Note: Bottom Nav styles ab /components/bottomnav/bottomnav.css mein hain */

/* ===== APK Main Container ===== */
.apk-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 200px);
}

/* ===== Download Card ===== */
.card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  padding: 50px 40px;
  text-align: center;
  max-width: 500px;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.15);
}

/* ===== App Logo ===== */
.app-logo {
  width: 120px;
  height: 120px;
  margin-bottom: 25px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(30,64,175,0.2);
  transition: transform 0.3s ease;
}

.app-logo:hover {
  transform: scale(1.05) rotate(5deg);
}

/* ===== Heading ===== */
.card h1 {
  font-size: 28px;
  color: #1e40af;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.3;
}

/* ===== Download Button ===== */
.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
  color: #ffffff;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(37,99,235,0.3);
  margin-bottom: 20px;
}

.download-btn:hover {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
  box-shadow: 0 8px 25px rgba(37,99,235,0.4);
  transform: translateY(-2px);
}

.download-btn:active {
  transform: translateY(0);
}

.download-btn svg {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ===== Version Info ===== */
.version-info {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 25px;
}

/* ===== Info Box ===== */
.info-box {
  background: #f1f5f9;
  border-radius: 12px;
  padding: 20px;
  margin-top: 25px;
  text-align: left;
}

.info-box p {
  font-size: 15px;
  color: #475569;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-box p:last-child {
  margin-bottom: 0;
}

.info-box strong {
  color: #1e293b;
  font-weight: 600;
}

.note {
  margin-top: 25px;
  font-size: 15px;
  color: #555;
  text-align: center;
}


/* ===== Responsive Design ===== */
@media (max-width: 768px) {
  .apk-main {
    padding: 1.5rem 1rem;
  }
  
  .card {
    padding: 40px 30px;
  }
  
  .app-logo {
    width: 100px;
    height: 100px;
  }
  
  .card h1 {
    font-size: 24px;
  }
  
  .download-btn {
    padding: 14px 35px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .card {
    padding: 30px 20px;
  }
  
  .app-logo {
    width: 90px;
    height: 90px;
  }
  
  .card h1 {
    font-size: 22px;
  }
  
  .download-btn {
    padding: 12px 30px;
    font-size: 15px;
    width: 100%;
    justify-content: center;
  }
  
  .info-box {
    padding: 15px;
  }
  
  .info-box p {
    font-size: 14px;
  }
}

/* =================== RESPONSIVE FIX =================== */
/* Desktop: footer sticks to bottom */
@media (min-width: 768px) {
  #footer-container {
    margin-top: auto;
  }
}

/* Mobile: footer sits above bottom nav */
@media (max-width: 767px) {
  #footer-container {
    margin-bottom: 55px; /* space for nav */
  }
}
