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

/* BODY */
body {
  background: #791c79;
  color: #e0e0ff;
  font-family: system-ui, -apple-system, sans-serif;
}

/* PAGE LAYOUT */
.page-wrapper {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
}

/* ================= HEADER ================= */
header {
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.header-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: #c4a1ff;
}

.header-buttons {
  display: flex;
  gap: 1rem;
}

.header-buttons a {
  background: #2a1f45;
  color: #fff;
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  transition: 0.3s;
}

.header-buttons a:hover {
  background: #5c0d7e;
  transform: translateY(-2px);
}

/* ================= MAIN ================= */
main {
  padding: 3rem 1.5rem;
  background: linear-gradient(135deg, #c821de, #9308c5);
  display: grid;
  gap: 4rem;
}

/* SECTION (ROW) */
.grid-item {
  max-width: 1200px;
  margin: 0 auto;
  background: #fff;
  color: #222;
  border-radius: 1.2rem;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
}

/* ALTERNATING ROWS */
.item-2 {
  direction: rtl;
}

.item-2 > * {
  direction: ltr;
}

/* TEXT */
.app-download-text {
  text-align: left;
}

.app-download-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #000;
}

.app-download-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

/* STORE BUTTONS */
.store-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.store-buttons img {
  width: 60px;
  cursor: pointer;
}

/* IMAGES */
.images {
  display: flex;
  justify-content: center;
  align-items: center;
}

.images img {
  max-width: 100%;
  height: auto;
  max-height: 420px;
}

/* ================= FOOTER ================= */
.site-footer {
  background: #000;
  color: #fff;
  padding: 2.5rem 1rem;
}

.footer-columns {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  text-align: center;
}

.footer-columns div {
  flex: 1;
}

.footer-columns a {
  color: #fff;
  text-decoration: none;
}

.footer-columns a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: #aaa;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .grid-item {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 2rem 1.5rem;
  }

  .app-download-text h2 {
    font-size: 1.6rem;
  }

  .app-download-text p {
    font-size: 1rem;
  }

  .store-buttons {
    justify-content: center;
  }

  .store-buttons img {
    width: 40px;
  }

  .footer-columns {
    flex-direction: column;
  }
}
