* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
}

body {
  background-color: #fcfcfd;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' preserveAspectRatio='none'%3E%3Cpath fill='%23fff0f2' fill-opacity='1' d='M0,320L48,298.7C96,277,192,235,288,240C384,245,480,299,576,325.3C672,352,768,352,864,320C960,288,1056,224,1152,197.3C1248,171,1344,181,1392,186.7L1440,192L1440,0L1392,0C1344,0,1248,0,1152,0C1056,0,960,0,864,0C768,0,672,0,576,0C480,0,384,0,288,0C192,0,96,0,48,0L0,0Z'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 600px;
  color: #1d1d1f;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --- Navigation --- */
nav {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  padding: 1.2rem 2.5rem;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
  position: fixed;
  top: 0;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: #515154;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #000;
}

.nav-links a.active {
  color: #e50914;
  border-bottom: 2px solid #e50914;
  padding-bottom: 2px;
}

/* --- Hamburger --- */
.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.5rem;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #1d1d1f;
  margin: 5px 0;
  border-radius: 3px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  nav {
    padding: 1rem 1.5rem;
  }
  .hamburger {
    display: block;
  }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 300px;
    height: 100vh;
    background: #fff;
    flex-direction: column;
    align-items: center;
    padding-top: 5rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.05);
  }
  .nav-links.active {
    right: 0;
  }
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }
}

/* --- Page Layout --- */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 100px 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  gap: 60px;
}

/* --- Page Title --- */
.page-header {
  text-align: center;
}

.page-header h1 {
  font-family: "Poppins", sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  color: #1d1d1f;
  letter-spacing: -0.5px;
}

.page-header h1 span {
  color: #e50914;
}

.page-header p {
  font-size: 1.05rem;
  color: #86868b;
  margin-top: 8px;
  font-weight: 400;
}

/* --- App Section --- */
.app-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #86868b;
  padding-left: 4px;
}

/* --- App Card --- */
.app-card {
  width: 100%;
  border-radius: 24px;
  padding: 36px 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.app-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

/* Card color themes */
.card-alltools {
  background-color: #f2f7fd;
}
.card-procoding {
  background-color: #f0fbf4;
}
.card-allgames {
  background-color: #f6f3fe;
}

/* --- App Images --- */
.app-screenshots {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.app-screenshots img {
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.app-screenshots img.main-shot {
  width: 160px;
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  z-index: 1;
}

.app-screenshots img.side-shot {
  width: 110px;
  opacity: 0.85;
}

.app-card:hover .app-screenshots img.main-shot {
  transform: scale(1.1);
}

/* --- App Info --- */
.app-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.app-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.card-alltools .app-title {
  color: #4385f5;
}
.card-procoding .app-title {
  color: #12b76a;
}
.card-allgames .app-title {
  color: #935af6;
}

.app-tagline {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333336;
}

.app-desc {
  font-family: "Poppins", sans-serif;
  font-size: 0.88rem;
  color: #515154;
  line-height: 1.6;
  max-width: 420px;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
  padding: 10px 24px;
  border-radius: 12px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff;
  width: fit-content;
  transition: opacity 0.2s;
}

.btn-download:hover {
  opacity: 0.85;
}
.btn-download svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}

.card-alltools .btn-download {
  background-color: #4385f5;
}
.card-procoding .btn-download {
  background-color: #12b76a;
}
.card-allgames .btn-download {
  background-color: #935af6;
}

.playstore-badge {
  height: 40px;
  width: auto;
  object-fit: contain;
  cursor: pointer;
  transition: opacity 0.2s;
  margin-top: 4px;
}
.playstore-badge:hover {
  opacity: 0.8;
}

/* --- Footer --- */
footer {
  text-align: center;
  padding: 30px 0 15px;
  color: #86868b;
  font-size: 0.85rem;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .app-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 24px;
    gap: 24px;
  }

  .app-screenshots img.main-shot {
    width: 120px;
  }
  .app-screenshots img.side-shot {
    width: 80px;
  }

  .app-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 600px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .app-card {
    padding: 20px 18px;
    gap: 18px;
  }

  .app-screenshots img.main-shot {
    width: 90px;
  }
  .app-screenshots img.side-shot {
    width: 60px;
  }

  .app-title {
    font-size: 1.2rem;
  }
  .app-desc {
    font-size: 0.82rem;
  }

  .btn-download {
    padding: 8px 18px;
    font-size: 0.82rem;
  }
}
