:root {
  --bg: #eef4ff;
  --bg-accent: rgba(107, 142, 255, 0.18);
  --surface: rgba(255, 255, 255, 0.82);
  --surface-strong: #ffffff;
  --text: #1e2433;
  --muted: #6f7b96;
  --line: rgba(92, 120, 196, 0.16);
  --brand: #4874ff;
  --brand-deep: #274ecc;
  --mint: #2f9d69;
  --shadow: 0 20px 60px rgba(53, 76, 148, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family:
    "Avenir Next",
    "PingFang SC",
    "Hiragino Sans GB",
    "Microsoft YaHei",
    sans-serif;
  color: var(--text);
  background: #fff
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  width: min(1240px, calc(100vw - 32px));
  margin: 0 auto;
  padding: 40px 0 72px;
}

.hero {
  display: block;
  margin-bottom: 28px;
}

.hero-copy,
.package-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 28px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero-copy {
  padding: 34px;
  animation: rise-in 560ms ease both;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand) 0%, #6aa0ff 100%);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(72, 116, 255, 0.2);
}

.hero-button-secondary {
  background: rgba(255, 255, 255, 0.82);
  color: var(--brand-deep);
  border: 1px solid rgba(72, 116, 255, 0.16);
  box-shadow: none;
}

.hero h1,
.section-heading h2,
.card-title {
  margin: 0;
  letter-spacing: -0.04em;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  line-height: 0.95;
}

.hero-text,
.section-note,
.card-kicker,
.card-cycle,
.card-plan {
  color: var(--muted);
}

.hero-text {
  max-width: 40rem;
  margin: 16px 0 0;
  line-height: 1.7;
  font-size: 1rem;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-deep);
}

.packages-section {
  margin-top: 26px;
}

.packages-section {
  position: relative;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.section-note {
  margin: 0;
  max-width: 24rem;
  line-height: 1.6;
  text-align: right;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.package-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
  animation: rise-in 560ms ease both;
}

.package-card:nth-child(2) {
  animation-delay: 70ms;
}

.package-card:nth-child(3) {
  animation-delay: 140ms;
}

.package-card:nth-child(4) {
  animation-delay: 210ms;
}

.package-card:nth-child(5) {
  animation-delay: 280ms;
}

.package-card:nth-child(6) {
  animation-delay: 350ms;
}

.card-topline {
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #4f7cff 0%, #74c9ff 45%, #7cf1d0 100%);
}

.card-header {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.card-kicker {
  margin: 0 0 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-title {
  font-size: 1.35rem;
  line-height: 1.2;
}

.card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: end;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(72, 116, 255, 0.12);
  color: var(--brand-deep);
  font-size: 0.78rem;
  font-weight: 700;
  white-space: nowrap;
}

.card-price-block {
  padding: 22px 0 20px;
  border-bottom: 1px solid var(--line);
}

.card-price-line {
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: 1;
}

.currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4d5875;
}

.card-price {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.05em;
}

.card-cycle,
.card-plan {
  margin: 10px 0 0;
  font-size: 0.92rem;
}

.feature-list {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
  flex: 1;
}

.feature-item {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  align-items: start;
  line-height: 1.55;
  color: #35405c;
}

.feature-icon {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin-top: 1px;
  background: rgba(47, 157, 105, 0.16);
  color: var(--mint);
  font-size: 0.9rem;
  font-weight: 800;
}

.subscribe-button {
  width: 100%;
  height: 48px;
  margin-top: 24px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand) 0%, #6aa0ff 100%);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 30px rgba(72, 116, 255, 0.24);
  cursor: pointer;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.subscribe-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(72, 116, 255, 0.3);
  filter: saturate(1.05);
}

.subscribe-button:active {
  transform: translateY(0);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1100px) {
  .packages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .page-shell {
    width: min(100vw - 24px, 1240px);
    padding-top: 24px;
  }

  .hero,
  .section-heading {
    grid-template-columns: 1fr;
    display: grid;
  }

  .section-note {
    text-align: left;
  }
}

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

  .hero-copy,
  .package-card {
    border-radius: 22px;
  }

  .hero-copy,
  .package-card {
    padding-left: 20px;
    padding-right: 20px;
  }

  .card-price {
    font-size: 2.5rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-button {
    width: 100%;
  }

}
