*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  background: linear-gradient(180deg, #133877 0%, #10223b 100%);
  color: #fff;
  font-family:
    'Roboto',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    Helvetica,
    Arial,
    sans-serif;
}

.container {
  max-width: 1440px !important;
  width: 100% !important;
  padding: 0 75px !important;
}

.header {
  background-color: #fff;
}

.header__logo {
  display: inline-block;
  padding: 15px 0;
  line-height: 0;
}

.header__logo img {
  display: block;
}

.glass-card {
  position: relative;
  padding: 36px;
  border-radius: 36px;
  background-color: rgba(22, 61, 180, 0.22);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from 250deg at 50% 50%,
    rgba(255, 255, 255, 0.08) 0deg,
    rgba(255, 255, 255, 0.55) 15deg,
    rgba(255, 255, 255, 0.55) 155deg,
    rgba(255, 255, 255, 0.08) 185deg,
    rgba(255, 255, 255, 0.55) 195deg,
    rgba(255, 255, 255, 0.08) 360deg
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  pointer-events: none;
}

.section-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.mobile-br {
  display: none;
}

main {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 20px !important;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  column-gap: 30px;
  row-gap: 20px;
  overflow: hidden;
}

.two-col__content {
  min-width: 0;
  text-align: center;
}

.two-col__image img {
  display: block;
  max-width: 100%;
  height: auto;
}

.hero__title {
  font-size: 40px;
  line-height: 100%;
  font-weight: 900;
}

.hero__text {
  font-size: 24px;
  line-height: 1.3;
  margin-top: 12px;
}

.store-buttons.hero__store-buttons {
  margin-top: 40px;
}

.mobile-slider {
  display: none;
}

.trends-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.trends-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  border-radius: 20px;
}

.trends-card__title {
  font-size: 18px;
  font-weight: 600;
}

.trends-card__subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  margin-top: 8px;
}

.trends-card__image {
  margin-top: 20px;
  width: 100%;
}

.trends-card__image img,
.trends-card__image picture {
  display: block;
}

.trends-card__image img {
  max-width: 100%;
  width: 100%;
  height: auto;
}

.using-grid {
  display: flex;
  justify-content: center;
  gap: 120px;
  max-width: 800px;
  margin: 20px auto 0;
}

.assistant-feature-glass {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.assistant-feature-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 20px;
}

.assistant-feature-row--top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.assistant-feature-row--bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  justify-content: center;
  max-width: 75%;
  margin: 0 auto;
}

.assistant-feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 20px;
  border-radius: 20px;
}

.assistant-feature-card img {
  display: block;
  width: 73px;
  height: 73px;
}

.assistant-feature-card__title {
  font-size: 18px;
  font-weight: 600;
  margin-top: 16px;
}

.assistant-feature-card__subtitle {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
  margin-top: 8px;
}

.assistant-feature-mobile {
  display: none;
}

.store-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}

.mobile-store-bar {
  display: none;
}

.store-buttons--footer {
  margin-top: 0;
}

.store-link {
  display: inline-block;
  line-height: 0;
}

.store-link img {
  display: block;
  width: 160px;
  height: auto;
}

.section-footer {
  font-size: 16px;
  line-height: 150%;
  margin-bottom: 40px;
}

.section-footer p {
  margin-bottom: 16px;
}

@media (max-width: 1024px) {
  .section-hero {
    padding: 0 !important;
  }

  .section-hero .two-col__content {
    padding: 20px 15px !important;
  }

  .section-footer {
    margin-bottom: 20px;
  }

  .container {
    padding: 0 16px !important;
  }

  .glass-card {
    padding: 20px 15px;
    border-radius: 20px;
  }

  .glass-card::before {
    background: conic-gradient(
      from 135deg at 50% 50%,
      rgba(255, 255, 255, 0.08) 0deg,
      rgba(255, 255, 255, 0.3) 45deg,
      rgba(255, 255, 255, 0.3) 135deg,
      rgba(255, 255, 255, 0.08) 180deg,
      rgba(255, 255, 255, 0.3) 225deg,
      rgba(255, 255, 255, 0.3) 315deg,
      rgba(255, 255, 255, 0.08) 360deg
    );
  }

  .header .container {
    text-align: center;
  }

  .header__logo img {
    width: 128px;
  }

  main {
    gap: 30px;
  }

  .two-col {
    grid-template-columns: 1fr;
  }

  .assistant-feature-desktop {
    display: none;
  }

  .assistant-feature-mobile {
    display: block;
    margin-top: 0;
  }

  .assistant-feature-slider {
    margin-top: 0;
  }

  .assistant-feature-slider .mobile-slider__track > * {
    max-width: 310px;
  }

  .assistant-feature-card {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .mobile-slider {
    display: block;
    margin-top: 20px;
    overflow: hidden;
  }

  .mobile-slider__track {
    display: flex;
    gap: 12px;
    transition: transform 0.3s ease;
  }

  .mobile-slider__track > * {
    flex-shrink: 0;
    width: auto;
    padding: 20px;
  }

  .mobile-slider__progress {
    display: flex;
    gap: 6px;
    margin: 20px 0;
  }

  .mobile-slider__segment {
    flex: 1;
    height: 3px;
    background-color: #474362;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
  }

  .mobile-slider__segment::after {
    content: '';
    position: absolute;
    inset: 0;
    background-color: #fff;
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
  }

  .mobile-slider__segment--passed::after {
    transform: scaleX(1);
    transition: none;
  }

  .mobile-slider__segment--active::after {
    transform: scaleX(1);
    transition: transform 0.4s ease;
  }

  .mobile-slider__segment--reset::after {
    transform: scaleX(0);
    transition: none;
  }

  .mobile-slider__nav {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
  }

  .mobile-slider__btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #09042d;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .mobile-slider__btn img {
    display: block;
  }

  .section-title {
    font-size: 24px;
    font-weight: 900;
  }

  .mobile-br {
    display: block;
  }

  .trends-grid {
    grid-template-columns: 1fr;
  }

  .trends-card__image {
    margin-top: 12px;
  }

  .section-join {
    margin-bottom: 0;
  }

  .using-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 30px;
    justify-items: center;
  }

  .hero__title {
    font-size: 28px;
  }

  .hero__text {
    font-size: 16px;
  }

  .store-buttons {
    display: none;
  }

  .mobile-store-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 30px;
    background-color: #fff;
    z-index: 100;
  }

  .mobile-cta-padding {
    padding-bottom: 40px !important;
  }
}

/* One slide per viewport on very narrow screens (< 360px) */
@media (max-width: 359px) {
  .assistant-feature-slider .mobile-slider__track > * {
    width: calc(100vw - 62px);
    min-width: calc(100vw - 62px);
    max-width: calc(100vw - 62px);
  }
}
