:root {
  --primary: #9b1724;
  --primary-bg: #f4e7e9;
  --red-bold: #3e0000;
  --red-dark: #b32b23;

  --grey-text: #292828;
  --app-background: #f4f4f4;
  --F-white: #ffffff;
}

html, body {
  font-size: 16px;
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  font-family: "Manrope", sans-serif !important;
  color: var(--F-white);
  background: linear-gradient(to top, #9c1824, #b0483a);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
}

* {
  box-sizing: border-box;
}

/* --- Header --- */
header {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center; /* Centering the text */
  padding: 1rem 5rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid #a93933;
}

header .logo {
  width: 3rem;
  border-radius: 0.5rem;
  margin-right: 1rem;
}

header h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: bold;
  text-align: center;
}

/* --- Main Content Layout --- */
.pad {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1600px;
  padding: 5rem 8rem 2rem;
  gap: 3rem;
  margin-top: -2rem;
}

/* Left Side (Text Content) */
.side {
  flex: 1;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  text-align: left;
  margin-top: -2rem;
}

h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin: 0;
  text-align: left;
}

p {
  font-size: 1.4rem;
  font-weight: bold;
  text-align: left;
  max-width: 90%;
}

/* --- Download Buttons Adjustments --- */
.download {
  display: flex;
  gap: 1.2rem;
  justify-content: center; /* Align buttons in one line */
  align-items: center;
  flex-wrap: nowrap; /* Prevents wrapping */
}

.download-button {
  width: 9rem;
  height: 3rem;
  object-fit: contain;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* --- Right Side (Phone Mockup) --- */
.phone-cont {
  flex: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-width: 600px;
  padding-left: 8rem;
  padding-top: 1rem;
  margin-right: -6rem;
}

.phones {
  width: 100%;
  max-width: 900px;
}

/* --- Responsive Adjustments --- */
@media (max-width: 1200px) {
  .pad {
    padding: 4rem 4rem 2rem;
    gap: 2rem;
  }

  .phone-cont {
    padding-left: 3rem;
    margin-right: -3rem;
  }

  .phones {
    max-width: 750px;
  }
}

@media (max-width: 1024px) {
  .pad {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
    padding: 4rem 2rem 2rem;
    margin-top: -3rem;
  }

  .phone-cont {
    order: -1;
    justify-content: center;
    width: 100%;
    padding-left: 0;
    margin-right: 0;
  }

  .phones {
    max-width: 500px;
  }

  .side {
    text-align: center;
    align-items: center;
    max-width: 90%;
    margin-top: -1rem;
  }

  h1, p {
    text-align: center;
  }

  .download {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .pad {
    flex-direction: column-reverse;
    padding: 4rem 1.5rem 2rem;
  }

  .phone-cont {
    justify-content: center;
    width: 100%;
  }

  .phones {
    max-width: 400px;
  }

  .side {
    max-width: 100%;
    margin-top: -1.5rem;
  }

  p {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .pad {
    padding: 4rem 1.2rem 1.5rem;
    margin-top: -2rem;
  }

  .phone-cont {
    justify-content: center;
    width: 100%;
  }

  .phones {
    max-width: 320px;
  }
}

/* Hide buttons on small screens */
@media (max-width: 768px) {
  .wButton {
    display: none;
  }
}
