/* Overlay */
.overlay {
  background: var(--color-primary);
  inset: 0;
  mix-blend-mode: multiply;
  position: absolute;
}

/* Header */
.migrate header,
.migrate #hero {
  align-items: center;
  background-attachment: fixed;
  background-image: url('https://res.cloudinary.com/dlb7hetnl/image/upload/v1739999732/Alpyne/migrate-bg-feb19_bcjpct.png');
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: cover;
  color: var(--color-background);
  display: flex;
  justify-content: center;
  position: relative;
}

/* Ensure content stays above the background */
.migrate header .content,
.migrate #hero .content {
  position: relative;
  z-index: 1;
  width: 100%;
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.migrate header .content {
  flex-direction: row;
  justify-content: space-between;
  text-align: left;
}

.alpyne-logo path {
  fill: #fff9;
}
.alpyne-logo path:first-child {
  fill: currentColor;
}

#hero .content {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

/* Button styles */
.migrate .button {
  background: var(--color-text);
  color: var(--color-background);
}

.migrate header .button,
.migrate #hero .button {
  background: var(--color-background);
  color: var(--color-primary);
}

.migrate .button:hover {
  background: var(--color-primary);
  color: var(--color-background);
}

/* Who Needs Section - match Focal layout */
#who-needs .content {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 3fr;
  gap: 4rem;
  align-items: start;
}

#who-needs .list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

#who-needs p {
  font-size: 1.25rem;
  line-height: 1.5;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-text-10);
}

/* Problem Section */
#problem .text-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

/* Solution Section */
#solution .features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem 2rem;
  margin-top: 3rem;
}

#solution .feature h3 {
  margin-bottom: 1rem;
}

/* Platforms Section */
#platforms {
  text-align: center;
}

.platform-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem auto 0;
  padding: 0;
  list-style: none;
}

.platform-list li {
  font-size: 1.25rem;
  padding: 2rem;
  background: var(--color-text-05);
  border-radius: 1rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  width: 100%;
  overflow: hidden;
}

.platform-list img {
  height: 150px;
  width: 300px;
  object-fit: contain;
  max-width: 100%;
}

/* CTA Section */
#cta {
  text-align: center;
}

#cta .content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
  #who-needs .content,
  #problem .text-columns,
  #solution .features {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) {
  .platform-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .platform-list {
    grid-template-columns: 1fr;
  }
}

/* Comparison table */
#comparison {
  background: var(--color-gray-100);
}

#comparison h2 {
  margin-bottom: 3rem;
  text-align: center;
}

#comparison table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#comparison th {
  background: var(--color-text);
  color: white;
  font-weight: 500;
  text-align: left;
  padding: 1.5rem;
}

#comparison th:first-child {
  width: 25%;
}

#comparison td {
  padding: 1.5rem;
  border-bottom: 1px solid var(--color-gray-200);
}

#comparison tr:last-child td {
  border-bottom: none;
}

#comparison .label {
  font-weight: 500;
  color: var(--color-deep-blue);
}

@media (max-width: 768px) {
  #comparison td,
  #comparison th {
    padding: 1rem;
  }
}
