/* Vision Section Styles */
.vision-section {
  padding: 64px 40px;
  background: white;
  overflow: hidden;
}

.vision-container {
  max-width: 1307px;
  margin: 16px auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  min-height: 600px;
}

.vision-visual {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 450px;
  height: 560px;
  /* TODO: Add PNG fallback for iOS Safari - vision.svg uses filters */
  background-image: url('../assets/svg/vision.svg');
  /* Fallback: url('../assets/images/vision@2x.png') */
  background-size: contain;
  background-position: center left;
  background-repeat: no-repeat;
  z-index: 0;
  pointer-events: none;
}

.vision-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  width: 724px;
  max-width: 100%;
  grid-column: 2;
  z-index: 2;
  position: relative;
  box-sizing: border-box;
}

.vision-content::before {
  display: none;
}

.section-title {
  max-width: 100%;
  font-family: 'Manrope', sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 64px;
  line-height: 80px;
  color: #111113;
  flex: none;
  order: 0;
  flex-grow: 0;
  margin: 0;
}

.vision-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0px;
  gap: 32px;
  flex: none;
  order: 0;
  flex-grow: 0;
  position: relative;
  z-index: 1;
}

.vision-text p {
  margin: 0;
  font-family: 'Manrope', sans-serif;
  font-style: normal;
  font-weight: 700;
  color: rgba(17, 17, 19, 0.8);
  flex: none;
  flex-grow: 0;
}

.vision-text p:nth-child(1) {
  font-size: 26px;
  line-height: 31px;
  order: 1;
}

.vision-text p:nth-child(2) {
  font-size: 26px;
  line-height: 31px;
  order: 2;
}

.vision-text p:nth-child(3) {
  font-size: 48px;
  line-height: 58px;
  order: 3;
}

/* Tablet Styles */
@media (max-width: 768px) {
  .vision-section {
    padding: 32px 20px;
  }

  .vision-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 3rem;
    min-height: auto;
    grid-template-columns: 1fr;
    margin: 80px auto;
  }

  .vision-visual {
    position: absolute;
    left: -35%;
    top: 0;
    width: 450px;
    height: 560px;
    /* TODO: Add PNG fallback for iOS Safari - vision.svg uses filters */
    background-image: url('../assets/svg/vision.svg');
    /* Fallback: url('../assets/images/vision@2x.png') */
    background-size: contain;
    background-position: center left;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
    transform: none;
  }

  .vision-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    width: 500px;
    max-width: 100%;
    z-index: 2;
    position: relative;
    margin-left: 0;
    box-sizing: border-box;
  }

  .vision-content::before {
    display: none;
  }

  .section-title {
    width: 500px;
    max-width: 100%;
    font-family: 'Manrope', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 48px;
    line-height: 58px;
    font-feature-settings: 'ss01' on, 'cv01' on;
    color: #111113;
    flex: none;
    order: 0;
    flex-grow: 0;
    margin: 0;
  }

  .vision-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 32px;
    flex: none;
    order: 0;
    flex-grow: 0;
  }

  .vision-text p {
    font-family: 'Manrope', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-feature-settings: 'ss01' on, 'cv01' on;
    color: rgba(17, 17, 19, 0.8);
    flex: none;
    flex-grow: 0;
    margin: 0;
  }

  .vision-text p:nth-child(1) {
    font-size: 24px;
    line-height: 32px;
    order: 1;
  }

  .vision-text p:nth-child(2) {
    font-size: 24px;
    line-height: 32px;
    order: 2;
  }

  .vision-text p:nth-child(3) {
    font-size: 48px;
    line-height: 58px;
    order: 3;
  }
}

/* Mobile Styles */
@media (max-width: 480px) {
  .vision-section {
    padding: 32px 20px;
  }

  .vision-container {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    min-height: auto;
    grid-template-columns: 1fr;
    overflow: visible;
    margin: 0 auto;
  }

  .vision-visual {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%);
    width: 450px;
    height: 560px;
    /* TODO: Add PNG fallback for iOS Safari - vision.svg uses filters */
    background-image: url('../assets/svg/vision.svg');
    /* Fallback: url('../assets/images/vision@2x.png') */
    background-size: contain;
    background-position: center right;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;
  }

  .vision-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    width: 350px;
    max-width: 100%;
    z-index: 2;
    position: relative;
    margin-left: 0;
    box-sizing: border-box;
  }

  .vision-content::before {
    display: none;
  }

  .section-title {
    width: 500px;
    max-width: 100%;
    font-family: 'Manrope', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 32px;
    line-height: 40px;
    color: #111113;
    flex: none;
    order: 0;
    flex-grow: 0;
    margin: 0;
  }

  .vision-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px;
    gap: 32px;
    flex: none;
    order: 0;
    align-self: stretch;
    flex-grow: 0;
  }

  .vision-text p {
    font-family: 'Manrope', sans-serif;
    font-style: normal;
    font-weight: 600;
    color: rgba(17, 17, 19, 0.8);
    flex: none;
    align-self: stretch;
    flex-grow: 0;
    margin: 0;
  }

  .vision-text p:nth-child(1) {
    font-size: 18px;
    line-height: 28px;
    order: 1;
  }

  .vision-text p:nth-child(2) {
    font-size: 18px;
    line-height: 28px;
    order: 2;
  }

  .vision-text p:nth-child(3) {
    font-size: 32px;
    line-height: 40px;
    order: 3;
  }
}
