/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Background and font */
body {
  background: #0A0F1C;
  color: white;
  font-family: 'Poppins', sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

.download-btn {
  display: inline-block;
  background: #1e90ff;
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.download-btn:hover {
  background: #0d6efd;
}


/* Header */
header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px;
  justify-content: center;
}

.logo {
  width: 50px;
  height: 50px;
  border-radius: 8px;
}

/* CTA Section */
.cta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 60px 20px;
  flex-wrap: wrap;
}

.card1 {
  max-width: 450px;
  text-align: left;
}

.card1 h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.card1 p {
  color: #ccc;
  margin-bottom: 25px;
  font-size: 1.1rem;
}

button {
  background: #ff4757;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s ease;
}

button:hover {
  background: #ff6b81;
}

.app-preview {
  width: 230px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.1);
}

/* Features Section */
.features-section {
  text-align: center;
  padding: 60px 20px;
}

.features-section h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  color: #fff;
}

.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.feature-card {
  background: #1e1e1e;
  padding: 25px;
  border-radius: 12px;
  width: 280px;
  text-align: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: #272727;
}

.feature-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .card1 h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
  }

  .cta {
    flex-direction: column;
    text-align: center;
  }

  .card1 {
    text-align: center;
  }

  .app-preview {
    width: 180px;
  }

  .features {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .card1 h1 {
    font-size: 1.8rem;
  }

  button {
    width: 100%;
  }

  .feature-card {
    width: 90%;
  }
}

#downloadForm {
    display: none; /* hide initially */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85); /* dark overlay */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Form inner container */
#downloadForm .form-container {
    background: #1e1e1e; /* dark form background */
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
    text-align: center;
    color: #fff; /* white text */
    font-family: Arial, sans-serif;
}

#downloadForm h2 {
    margin-bottom: 10px;
    color: #fff;
}

#downloadForm p {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 20px;
}

#downloadForm input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #555;
    background: #333;
    color: #fff;
    font-size: 14px;
}

#downloadForm input::placeholder {
    color: #aaa;
}

#downloadForm button[type="submit"] {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background-color: #007bff;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s;
    margin-bottom: 10px;
}

#downloadForm button[type="submit"]:hover {
    background-color: #0056b3;
}

/* Close button */
#downloadForm .close-btn {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    background-color: #555;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

#downloadForm .close-btn:hover {
    background-color: #333;
}