/* Hero Section Styles */

.rand-hero {
  background-color: #000628;
  padding: 40px 16px;
  padding-top: 96px; /* Account for fixed header (56px) + extra space */
  overflow-x: hidden; /* Prevent horizontal scroll */
}

@media (min-width: 992px) {
  .rand-hero {
    padding: 100px 60px;
    padding-top: 172px; /* Account for fixed header (72px) + extra space */
  }
}

.rand-hero__container {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media (min-width: 992px) {
  .rand-hero__container {
    gap: 100px;
  }
}

/* Main content area */
.rand-hero__main {
  display: flex;
  flex-direction: column;
  gap: 40px;
  align-items: center; /* Center on mobile */
  justify-content: center;
}

@media (min-width: 992px) {
  .rand-hero__main {
    flex-direction: row;
    gap: 60px;
    align-items: center;
    min-height: 600px;
  }
}

@media (min-width: 1400px) {
  .rand-hero__main {
    gap: 174px;
  }
}

/* Content column */
.rand-hero__content {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}

@media (min-width: 992px) {
  .rand-hero__content {
    gap: 52px;
    flex: 1;
    min-width: 0;
    max-width: 573px;
  }
}

/* Text group */
.rand-hero__text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center; /* Center on mobile */
  width: 100%;
}

@media (min-width: 992px) {
  .rand-hero__text {
    gap: 32px;
    align-items: flex-start; /* Left align on desktop */
  }
}

/* Badge */
.rand-hero__badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

@media (min-width: 992px) {
  .rand-hero__badge {
    justify-content: flex-start;
    padding: 0 4px;
  }
}

.rand-hero__badge-icon {
  width: 30px;
  height: 20px;
  flex-shrink: 0;
}

@media (min-width: 992px) {
  .rand-hero__badge-icon {
    width: 37px;
    height: 24px;
  }
}

.rand-hero__badge-text {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 24px;
  color: #ffffff;
  white-space: nowrap;
}

@media (min-width: 992px) {
  .rand-hero__badge-text {
    font-size: 16px;
  }
}

/* Headlines */
.rand-hero__headlines {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: center;
}

@media (min-width: 992px) {
  .rand-hero__headlines {
    gap: 24px;
    text-align: left;
  }
}

.rand-hero__title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 52px;
  letter-spacing: -1px;
  color: #ffffff;
  margin: 0;
  text-align: center;
}

@media (min-width: 992px) {
  .rand-hero__title {
    font-size: 70px;
    line-height: 77px;
    text-align: left;
  }
}

.rand-hero__subtitle {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 1.4;
  color: #bec7d5;
  margin: 0;
}

.rand-hero__subtitle--mobile {
  display: block;
}

.rand-hero__subtitle--desktop {
  display: none;
}

@media (min-width: 992px) {
  .rand-hero__subtitle--mobile {
    display: none;
  }

  .rand-hero__subtitle--desktop {
    display: block;
  }
}

/* CTA Button */
.rand-hero__cta {
  display: none;
}

@media (min-width: 992px) {
  .rand-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 52px;
    padding: 8px 24px;
    background-color: #2c52f5;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    text-decoration: none;
    border-radius: 999px;
    transition: background-color 0.2s ease;
    white-space: nowrap;
    width: fit-content;
  }

  .rand-hero__cta:hover {
    background-color: #1e3fd4;
  }
}

/* Image column */
.rand-hero__image {
  width: 100%;
  position: relative;
  aspect-ratio: 412 / 600;
  overflow: hidden;
}

@media (min-width: 992px) {
  .rand-hero__image {
    flex: 1;
    min-width: 0;
    max-width: 573px;
    height: 600px;
    aspect-ratio: auto;
  }
}

.rand-hero__phones {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  max-width: 100%;
}

.rand-hero__phones--mobile {
  display: block;
}

.rand-hero__phones--desktop {
  display: none;
}

@media (min-width: 992px) {
  .rand-hero__phones {
    object-fit: cover;
    object-position: left center;
  }

  .rand-hero__phones--mobile {
    display: none;
  }

  .rand-hero__phones--desktop {
    display: block;
  }
}

/* Disclaimer */
.rand-hero__disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.rand-hero__disclaimer-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  line-height: 16px;
  color: #bec7d5;
  text-align: left;
}

@media (min-width: 992px) {
  .rand-hero__disclaimer-text {
    text-align: center;
  }
}

.rand-hero__disclaimer-text strong {
  color: #ffffff;
  font-weight: 400;
}

.rand-hero__disclaimer-text a {
  color: #ffffff;
  font-weight: 700;
  text-decoration: underline;
}

.rand-hero__disclaimer-text a:hover {
  text-decoration: none;
}
