/* ==================== Global Styles ==================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #0e0e0e;
  color: #ffffff;
  line-height: 1.6;
}

/* ==================== Header ==================== */
header {
  background-color: #1a1a1a;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

header h1 {
  color: #ff3c57;
  font-size: 28px;
}

nav {
  display: flex;
  align-items: center;
}

nav .hamburger {
  display: none;
  font-size: 30px;
  color: #ffffff;
  cursor: pointer;
}

.menu {
  display: flex;
}

nav .menu a {
  color: #ffffff;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 600;
}

/* ==================== Responsive Navigation ==================== */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    padding: 10px 20px;
    text-align: center;
  }

  header h1 {
    font-size: 24px;
  }

  nav {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: #1a1a1a;
    flex-direction: column;
  }

  nav .hamburger {
    display: block;
  }

  nav .menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
  }

  nav .menu.active {
    display: flex;
  }

  nav .menu a {
    margin-left: 0;
    margin-top: 10px;
    font-size: 16px;
    text-align: center;
  }
}

/* ==================== Hero Section ==================== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  text-align: center;
  background: radial-gradient(circle at top left, #1a1a1a, #0e0e0e);
}

.hero h2 {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  max-width: 600px;
  color: #bbbbbb;
  margin-bottom: 40px;
}

.hero img.appPreview {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==================== CTA Button ==================== */
.cta-button {
  padding: 15px 30px;
  background-color: #ff3c57;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #e1304c;
}

/* ==================== Store Badges ==================== */
.store-badges {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.store-badges img {
  height: 50px;
  max-width: 100%;
  object-fit: contain;
}

/* ==================== Features ==================== */
.features {
  display: grid;
  gap: 1.5rem;
  padding: 80px 40px;
  background-color: #121212;
  grid-template-columns: 1fr;
}

@media (min-width: 576px) {
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .features {
    grid-template-columns: repeat(4, 1fr);
  }
}

.feature {
  background-color: #1e1e1e;
  padding: 30px;
  border-radius: 12px;
  border-left: 5px solid #ff3c57;
}

.feature h3 {
  margin-bottom: 10px;
  color: #ffffff;
}

.feature p {
  color: #bbbbbb;
}

/* ==================== FAQ ==================== */
.faq {
  padding: 80px 40px;
  background-color: #0e0e0e;
  color: #fff;
  max-width: 900px;
  margin: 0 auto;
}

.faq h2 {
  text-align: center;
  font-size: 36px;
  color: #ff3c57;
  margin-bottom: 40px;
}

.faq-item {
  margin-bottom: 30px;
  border-left: 4px solid #ff3c57;
  padding-left: 20px;
}

.faq-item h4 {
  font-size: 20px;
  margin-bottom: 10px;
}

.faq-item p {
  color: #bbbbbb;
  font-size: 16px;
}

/* ==================== Carousel ==================== */
.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ==================== Footer ==================== */
footer {
  padding: 40px;
  text-align: center;
  background-color: #1a1a1a;
  color: #777;
  font-size: 14px;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}

.footer-links a {
  color: #ff3c57;
  text-decoration: none;
  font-size: 16px;
}

.footer-links a:hover {
  text-decoration: underline;
}

/* ==================== Modal: Open in App ==================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-content {
  background: #ffffff;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  max-width: 360px;
  width: 90%;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 16px;
}

.modal-content h5 {
  margin-top: 0;
  font-size: 20px;
  color: #222;
}

.modal-content p {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.modal-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
}

.btn-primary {
  background-color: #e50914;
  color: #fff;
}

.btn-secondary {
  background-color: #f0f0f0;
  color: #444;
}

/* ==================== Responsive Tweaks ==================== */
@media (max-width: 768px) {
  .hero h2 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .cta-button {
    font-size: 14px;
    padding: 12px 24px;
  }

  .features {
    padding: 60px 20px;
  }

  .feature {
    padding: 20px;
  }

  .faq {
    padding: 60px 20px;
  }

  footer {
    font-size: 12px;
    padding: 20px;
  }

  .footer-links {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .hero h2 {
    font-size: 28px;
  }

  .faq h2 {
    font-size: 24px;
  }

  .cta-button {
    font-size: 12px;
    padding: 10px 20px;
  }

  .store-badges img {
    height: 45px;
  }

  footer {
    font-size: 10px;
  }
}
