* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Funnel Sans", sans-serif;
}

body {
  background: #2a59f40a;
  color: #333;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  overflow-x: hidden;
}
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
  padding: 20px; 
  box-sizing: border-box;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  font-size: 28px;
  color: #393838;
  background-color: white;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease;
}

.specs-container {
  background-image: url("https://internal.explorug.online/assets/galaincha-website/popup.webp");
  background-size: cover;
  background-position: center;
  border-radius: 15px;
  padding: 50px;
  width: 100%;
  max-width: 950px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  text-align: center;
  overflow-y: auto;
  max-height: 90vh;
}

.specs-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 500;
  color: #0A2DA2;
  margin-bottom: 55px;
}

.specs-box {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.spec {
  flex: 1;
  min-width: 300px; 
  background: #fff;
  border-radius: 10px;
  padding: 40px 20px 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  position: relative;
  text-align: left;
}

.label {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;             
  text-align: center;       
  background: #E9531E;
  color: white;
  padding: 10px 20px;            
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
}

.spec.for-mac .label {
  background: #1A3F92;
}

.spec h4 {
  font-size: 1rem;
  font-weight: bold;
}

.spec ul {
  margin: 10px 0 0 20px;
  padding: 0;
  list-style: "» ";
}

.spec ul li {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.spec p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.spec a {
  color: black;
  font-size: 0.95rem;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  transition: background-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

::-webkit-scrollbar-track {
  background-color: transparent;
  border-radius: 10px;
}

::-webkit-scrollbar-corner {
  background-color: transparent;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.site-header {
  width: 100%;
  height: 300px;
  background-image: url("https://internal.explorug.online/assets/galaincha-website/Galaincha_header.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}

.requirements {
  width: 100%;
  padding: 2.5rem;
  box-sizing: border-box;
}

h1 {
  font-size: 2rem;
  color: #0a2da2;
  margin-bottom: 20px;
  font-weight: 500;
}

p {
  line-height: 1.6rem;
  margin-bottom: 0.2rem;
}

.requirements > section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.link {
  font-size: 1rem;
  color: rgb(79, 76, 76);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  background-color: #2a59f41a;
  border-radius: 6px;
}

.requirements > section > .link .asterisk {
  color: #bb0000;
  padding-right: 2px;
}

.link:hover {
  text-decoration: underline;
  background-color: rgba(32, 65, 155, 0.15);
}

.steps {
  margin-top: 1rem;
  padding-left: 0;
}

.step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
  position: relative;
  padding-left: 3.5rem;
}

.step::before {
  content: "";
  position: absolute;
  top: 2.5rem;
  left: 1rem;
  width: 1.7px;
  height: calc(100% - 1.1rem);
  background: #2f57ef;
}

.step:last-child::before {
  display: none;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.2rem;
  height: 2.2rem;
  border: 1.7px solid #2f57ef;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 500;
  color: #2f57ef;
}

.step-content {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(30px) saturate(200%);
  -webkit-backdrop-filter: blur(30px) saturate(200%);
  border: 1px solid #2a59f433;
  width: 100%;
}

.step-row {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  flex-wrap: nowrap;
}

.text {
  flex: 0 0 45%;
  max-width: 45%;
  text-align: left;
}

.images {
  flex: 0 0 60%;
  max-width: 60%;
  display: flex;
  gap: 0.8rem;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

.images img {
  width: 45%;
  height: auto;
  border: 1px solid #bababa;
}

.images.step5-image {
  flex: 0 0 70%;
  max-width: 70%;
}

.images.step5-image img {
  width: 70%;
  height: auto;
}

.images.step6-image img {
  width: 60%;
  height: auto;
}

.images.step2-image img {
  width: 30%;
}

/* ----------------- RESPONSIVE STYLES ----------------- */
@media (max-width: 768px) {
  .requirements {
    padding: 8px;
  }

  h1 {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 10px;
  }

  .requirements > section {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .link {
    font-size: 0.8rem;
    padding: 6px 14px;
    justify-content: center;
  }

  .site-header {
    width: 100%;
    height: 180px;
    background-image: url("https://internal.explorug.online/assets/galaincha-website/Galaincha_mobileheader.webp");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

  .step {
    padding-left: 2.5rem;
  }

  .step-row {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }

  .text {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: left;
  }

  .images,
  .images.step5-image {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .images img,
  .images.step5-image img {
    display: block;
    margin: 0 auto;
    width: 100%;
    max-width: 400px;
  }

  .images.step6-image img {
    width: 100%;
    height: auto;
  }

  .images.step2-image img {
    width: 100%;
    height: auto;
  }

  .specs-container {
    padding: 20px;
  }

  .step-content {
    padding: 1.5rem;
  }

  .specs-box {
    flex-direction: column;
    gap: 30px;
  }
  .spec {
    min-width: 100%;
  }
  .specs-title {
    font-size: 1.3rem;
  }
}

/* ---------- iPad / iPad Pro ---------- */
@media (min-width: 769px) and (max-width: 1024px) {
  .requirements {
    padding: 16px;
  }

  h1 {
    font-size: 2rem;
    text-align: center;
  }

  .link {
    font-size: 0.9rem;
    padding: 8px 14px;
    width: auto;
  }

  .site-header {
    height: 180px;
  }

  .step {
    padding-left: 3rem;
  }

  .step-row {
    flex-direction: row;
    gap: 2.2rem;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .text {
    flex: 0 0 40%;
    max-width: 40%;
  }

  .images {
    flex: 0 0 50%;
    max-width: 50%;
    justify-content: flex-start;
    gap: 1rem;
  }

  .images img {
    width: 70%;
    height: auto;
  }

  .images.step5-image {
    flex: 0 0 50%;
    max-width: 50%;
  }

  .images.step5-image img {
    width: 100%;
  }

  .images.step6-image img {
    width: 100%;
    height: auto;
  }

  .images.step2-image img {
    width: 60%;
    height: auto;
  }

  .step-content {
    padding: 1.8rem;
  }
}
