:root {
  --page-bg: #f7f9fb;
  --text-primary: #191c1e;
  --text-secondary: #3e484d;
  --brand-start: #00628d;
  --brand-end: #007cb1;
  --icon-bg: #d0e1fb;
  --card-bg: rgba(255, 255, 255, 0.85);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--page-bg);
}

body {
  overflow-x: hidden;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text-primary);
}

button {
  font: inherit;
}

.app {
  min-height: 100vh;
  background: var(--page-bg);
}

.layout {
  position: relative;
  min-height: 100vh;
}

.phone-page {
  position: relative;
  width: 100%;
  min-height: max(919px, 100vh);
  margin: 0 auto;
  overflow: hidden;
  background: var(--page-bg) url("./imgs/bg-side.png") center top / cover no-repeat;
}

.side-background {
  display: none;
  pointer-events: none;
  user-select: none;
}

.topbar {
  position: relative;
  z-index: 2;
  height: 61px;
  background: #ffffff;
  box-shadow: 0 4px 11.6px rgba(0, 0, 0, 0.1);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 314px;
  height: 34px;
  margin: 0 auto;
  padding-top: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 7px;
}

.brand__text,
.hero__title-gradient {
  background: linear-gradient(148deg, var(--brand-start) 0%, var(--brand-end) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.brand__text {
  width: 94px;
  font-family: "Plus Jakarta Sans", Inter, "PingFang SC", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 23px;
  letter-spacing: 1px;
}

.brand__icon {
  display: block;
  width: 17px;
  height: 17px;
  filter: brightness(0) saturate(100%) invert(40%) sepia(47%) saturate(1156%)
    hue-rotate(165deg) brightness(95%) contrast(94%);
}

.cta-button {
  width: 115px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: linear-gradient(143deg, var(--brand-start) 0%, var(--brand-end) 100%);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  color: #f8f8ff;
  font-size: 14px;
  font-weight: 500;
  line-height: 28px;
  text-align: center;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.content {
  position: relative;
  z-index: 1;
  width: 340px;
  margin: 41px auto 0;
}

.hero {
  width: 312px;
  margin: 0 auto;
  text-align: center;
}

.hero__title {
  margin: 0;
  font-size: 35px;
  font-weight: 500;
  line-height: 60px;
  letter-spacing: -1.8px;
  white-space: nowrap;
}

.hero__title-dot {
  color: var(--brand-start);
}

.hero__subtitle {
  margin: 8px 0 0;
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 500;
  line-height: 29.25px;
}

.features {
  display: grid;
  grid-template-columns: repeat(2, 165px);
  gap: 10px;
  margin-top: 30px;
}

.feature-card {
  min-height: 175px;
  border-radius: 24px;
  background: var(--card-bg);
  box-shadow: 0 10px 40px rgba(0, 98, 141, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.feature-card__content {
  width: 125px;
  margin: 20px;
}

.feature-card--boost .feature-card__content {
  width: 147px;
  margin: 20px 9px;
}

.feature-card__icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--icon-bg);
}

.feature-card__icon {
  display: block;
  width: 25px;
  height: 25px;
  filter: brightness(0) saturate(100%) invert(40%) sepia(47%) saturate(1156%)
    hue-rotate(165deg) brightness(95%) contrast(94%);
}

.feature-card__icon--boost {
  width: 25px;
  height: 20px;
}

.feature-card__icon--comic {
  width: 27.5px;
  height: 20px;
}

.feature-card__title {
  margin: 12px 0 4px;
  font-size: 18px;
  font-weight: 400;
  line-height: 28px;
}

.feature-card__desc {
  margin: 0;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 400;
  line-height: 19.5px;
}

.banner {
  position: relative;
  height: 192px;
  margin-top: 35px;
  border-radius: 24px;
  overflow: hidden;
}

.banner__image {
  position: absolute;
  top: -39.06%;
  left: 0;
  display: block;
  width: 100%;
  height: 178.12%;
  object-fit: cover;
}

.banner__overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 24px;
  background: linear-gradient(90deg, rgba(0, 98, 141, 0.8) 0%, rgba(0, 98, 141, 0) 100%);
}

.banner__eyebrow {
  margin: 0 0 8px;
  color: #c9e6ff;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 1.4px;
}

.banner__title {
  margin: 0;
  color: #ffffff;
  font-size: 25px;
  font-weight: 400;
  line-height: 36px;
}

@media (min-width: 734px) {
  .layout {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 734px;
    margin: 0 auto;
    overflow: hidden;
  }

  .phone-page {
    margin: 0;
    flex: 0 0 360px;
  }

  .side-background {
    display: block;
    flex: 0 0 360px;
    width: 360px;
    height: 919px;
    margin-top: -10px;
    object-fit: cover;
  }
}

@media (max-width: 359px) {
  .topbar__inner,
  .content {
    width: calc(100vw - 20px);
  }

  .hero {
    width: calc(100vw - 48px);
  }

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

  .feature-card {
    min-height: auto;
  }

  .feature-card__content,
  .feature-card--boost .feature-card__content {
    width: auto;
    margin: 20px;
  }
}
