:root {
  --bg: #eef4f8;
  --surface: rgba(255, 255, 255, 0.58);
  --surface-strong: rgba(255, 255, 255, 0.84);
  --surface-alt: rgba(255, 255, 255, 0.35);
  --ink: #1f3445;
  --muted: #607385;
  --line: rgba(255, 255, 255, 0.45);
  --shadow: 0 18px 60px rgba(43, 62, 84, 0.14);
  --teal: #3f9ab2;
  --green: #3cb17c;
  --gold: #d6a84d;
  --amber: #f4e2b5;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 16px;
  --radius-sm: 12px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(circle at 14% 16%, rgba(255, 255, 255, 0.92) 0, rgba(255, 255, 255, 0) 24%),
    radial-gradient(circle at 86% 12%, rgba(198, 226, 255, 0.58) 0, rgba(255, 255, 255, 0) 24%),
    radial-gradient(circle at 52% 74%, rgba(255, 234, 199, 0.44) 0, rgba(255, 255, 255, 0) 28%),
    linear-gradient(180deg, #e8f1f6 0%, #eef4f8 42%, #f7f8f6 100%);
  color: var(--ink);
  font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  width: min(1180px, calc(100% - 24px));
  margin: 0 auto;
  padding: 18px 0 56px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 12px 16px;
  position: sticky;
  top: 12px;
  z-index: 20;
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(63, 89, 127, 0.12);
}

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

.brand {
  font-weight: 800;
  letter-spacing: 0.16em;
  font-size: 13px;
  color: var(--green);
}

.topbar-note {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.ghost-button {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.3);
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.app,
.single-page,
.result-shell,
.section,
.panel-grid {
  display: grid;
  gap: 18px;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
}

.hero--main {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.24) 42%, rgba(255,255,255,0) 70%),
    linear-gradient(135deg, rgba(255,255,255,0.5) 0%, rgba(255,255,255,0.2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 36px;
  box-shadow: var(--shadow);
  padding: 34px;
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
}

.hero-copy,
.hero-visual {
  display: grid;
  align-content: start;
  gap: 16px;
}

.brand-lockup {
  width: 180px;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(74, 154, 180, 0.16));
}

.eyebrow {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-title,
.page-title,
.result-title {
  margin: 0;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: #24445c;
}

.hero-title {
  font-size: clamp(34px, 4vw, 56px);
}

.page-title {
  font-size: clamp(30px, 3.4vw, 48px);
}

.hero-text,
.page-copy,
.section-copy,
.panel__copy,
.result-summary,
.result-tagline {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
  font-size: 16px;
}

.fact-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fact-pill {
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.42);
  color: #326d82;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.primary-button,
.secondary-button,
.payment-link {
  border: 0;
  border-radius: 999px;
  padding: 15px 22px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.primary-button {
  background: linear-gradient(135deg, #67b8cf 0%, #58c58d 100%);
  color: white;
  box-shadow:
    0 18px 35px rgba(88, 197, 141, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.secondary-button {
  background: rgba(255, 255, 255, 0.42);
  color: #304254;
  border: 1px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.hero-visual {
  position: relative;
  min-height: 440px;
}

.hero-visual--product {
  display: grid;
  align-items: center;
}

.hero-window {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 32px;
  box-shadow: 0 24px 54px rgba(41, 62, 87, 0.14);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
}

.hero-window__bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.32);
}

.hero-window__dots {
  display: flex;
  gap: 8px;
}

.hero-window__dots span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(63, 154, 178, 0.25);
}

.hero-window__label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-window__body {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 18px;
  padding: 22px;
}

.hero-window__main,
.hero-window__stack {
  display: grid;
  gap: 16px;
  align-content: start;
}

.hero-window__badge,
.checkout-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(63, 154, 178, 0.12);
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-window__title {
  margin: 0;
  color: var(--ink);
  font-size: 34px;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-window__copy {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.hero-window__stats,
.checkout-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.hero-window__stat,
.checkout-mini-card {
  display: grid;
  gap: 4px;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.hero-window__stat strong,
.checkout-mini-card strong {
  color: var(--ink);
  font-size: 18px;
}

.hero-window__stat span,
.checkout-mini-card span {
  color: var(--muted);
  font-size: 12px;
}

.spotlight-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.58);
  box-shadow: 0 16px 40px rgba(42, 54, 71, 0.1);
}

.spotlight-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  background: white;
}

.spotlight-card__meta {
  display: grid;
  gap: 4px;
}

.spotlight-card__meta span {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.spotlight-card__meta strong {
  font-size: 15px;
}

.spotlight-card--2,
.spotlight-card--3 {
  width: 82%;
}

.spotlight-card--2 {
  justify-self: end;
}

.spotlight-card--3 {
  justify-self: start;
}

.floating-chip {
  position: absolute;
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 36px rgba(39, 52, 70, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.floating-chip strong {
  font-size: 14px;
}

.floating-chip span {
  color: var(--muted);
  font-size: 12px;
}

.floating-chip--top {
  top: -12px;
  right: -12px;
}

.floating-chip--bottom {
  left: -8px;
  bottom: 22px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.stats-strip__item {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: var(--shadow);
  padding: 20px 18px;
  text-align: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.stats-strip__item strong {
  display: block;
  color: #203446;
  font-size: 32px;
  margin-bottom: 6px;
}

.stats-strip__item span {
  color: var(--muted);
  font-size: 14px;
}

.panel-grid {
  grid-template-columns: repeat(3, 1fr);
}

.panel {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 24px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.panel--soft {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.64) 0%, rgba(255,255,255,0.34) 100%);
}

.panel--faq,
.panel--purchase,
.panel--quiz {
  background: white;
}

.panel--screen {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.84) 100%);
}

.panel__eyebrow {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel__title,
.section-title {
  margin: 0 0 8px;
  color: #213547;
  font-size: 22px;
  line-height: 1.2;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}

.section-title {
  margin: 0;
  font-size: 34px;
  letter-spacing: -0.03em;
}

.type-group {
  display: grid;
  gap: 18px;
  border-radius: 28px;
  padding: 24px;
  border: 1px solid transparent;
}

.type-group--analysts {
  background: rgba(74, 154, 180, 0.08);
  border-color: rgba(255, 255, 255, 0.38);
}

.type-group--diplomats {
  background: rgba(88, 197, 141, 0.08);
  border-color: rgba(255, 255, 255, 0.38);
}

.type-group--explorers {
  background: rgba(231, 183, 90, 0.1);
  border-color: rgba(255, 255, 255, 0.38);
}

.type-group--sentinels {
  background: rgba(109, 141, 166, 0.12);
  border-color: rgba(255, 255, 255, 0.38);
}

.type-group__head h3 {
  margin: 0 0 6px;
  font-size: 24px;
}

.type-group__head p {
  margin: 0;
  color: var(--muted);
}

.type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.type-card {
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 22px;
  overflow: hidden;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.type-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: white;
}

.type-card__body {
  padding: 14px;
}

.type-card__code {
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.type-card__title {
  margin: 6px 0 6px;
  font-size: 18px;
}

.type-card__copy {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.process-grid,
.faq-list,
.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.process-index {
  color: var(--teal);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 10px;
}

.single-page,
.result-shell {
  gap: 20px;
}

.screen-shell {
  max-width: 980px;
  margin: 0 auto;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
  align-items: start;
}

.checkout-main,
.checkout-side {
  display: grid;
  gap: 14px;
}

.stack-panel {
  padding: 22px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(248, 251, 253, 1) 0%, rgba(241, 247, 251, 0.92) 100%);
  border: 1px solid #e4edf2;
}

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

.stack-panel--action {
  align-content: start;
}

.checkout-price {
  font-size: 54px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.05em;
  color: #24445c;
}

.promo-price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  letter-spacing: 0;
}

.promo-price__original {
  color: #7b92a5;
  font-size: 0.56em;
  font-weight: 700;
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  text-decoration-color: rgba(123, 146, 165, 0.88);
}

.promo-price__sale {
  color: #df2f45;
  font-size: 1em;
  font-weight: 900;
  text-shadow: 0 10px 24px rgba(223, 47, 69, 0.14);
}

.promo-price--compact {
  gap: 6px;
}

.promo-price--compact .promo-price__original {
  font-size: 0.72em;
}

.promo-price--compact .promo-price__sale {
  font-size: 0.92em;
}

.checkout-name {
  color: var(--muted);
  font-size: 16px;
}

.checkout-points {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.note-callout {
  padding: 16px 18px;
  background: rgba(246, 250, 252, 0.9);
  border-radius: 18px;
  color: #365a72;
  font-size: 14px;
  line-height: 1.65;
  border: 1px solid #e0ebf1;
}

.progress-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.progress-title {
  font-size: 18px;
  font-weight: 800;
}

.progress-percent {
  color: var(--teal);
  font-weight: 800;
}

.progress-bar {
  width: 100%;
  height: 12px;
  border-radius: 999px;
  background: #e8eef4;
  overflow: hidden;
}

.progress-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--teal) 0%, var(--green) 100%);
}

.question-title {
  margin: 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.28;
  letter-spacing: -0.03em;
}

.answers {
  display: grid;
  gap: 12px;
}

.answer {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.48);
  padding: 16px 18px;
  text-align: left;
  display: flex;
  gap: 14px;
  align-items: start;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.answer.selected {
  border-color: rgba(103, 184, 207, 0.65);
  background: rgba(255, 255, 255, 0.72);
}

.answer-key {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #edf4f7;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  color: #325a6f;
  flex: 0 0 auto;
}

.answer-text {
  font-size: 15px;
  line-height: 1.65;
}

.result-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, rgba(255,255,255,0.74) 0%, rgba(255,255,255,0.42) 100%);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 32px;
  box-shadow: var(--shadow);
  padding: 30px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.result-code {
  color: var(--green);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.result-title {
  font-size: clamp(34px, 4vw, 56px);
}

.result-tagline {
  font-size: 22px;
  color: #365a72;
  font-weight: 700;
}

.result-summary {
  font-size: 16px;
}

.result-hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.result-hero__image {
  width: min(100%, 420px);
  border-radius: 24px;
  box-shadow: 0 24px 50px rgba(42, 47, 54, 0.12);
  border: 8px solid rgba(255, 255, 255, 0.46);
}

.list-stack {
  display: grid;
  gap: 10px;
}

.meta-item {
  color: var(--muted);
  line-height: 1.7;
}

.dim-grid,
.match-list {
  display: grid;
  gap: 10px;
}

.dim-item,
.match-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #edf1f4;
}

.dim-item:last-child,
.match-item:last-child {
  border-bottom: 0;
}

.dim-label,
.match-item span {
  color: var(--muted);
}

.dim-level,
.match-item strong {
  font-weight: 800;
  color: #213547;
}

@media (max-width: 1040px) {
  .hero,
  .result-hero,
  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .hero-window__body {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: auto;
  }

  .type-grid,
  .process-grid,
  .faq-list,
  .result-grid,
  .panel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .app-shell {
    width: min(100%, calc(100% - 16px));
    padding-top: 12px;
  }

  .hero--main,
  .panel,
  .result-hero {
    padding: 20px;
    border-radius: 24px;
  }

  .topbar {
    padding: 10px 14px;
  }

  .brand-wrap {
    gap: 8px;
    flex-wrap: wrap;
  }

  .hero-window__title {
    font-size: 28px;
  }

  .hero-window__stats,
  .checkout-mini-grid {
    grid-template-columns: 1fr;
  }

  .spotlight-card--2,
  .spotlight-card--3 {
    width: 100%;
  }

  .floating-chip {
    position: static;
  }

  .stats-strip,
  .type-grid,
  .process-grid,
  .faq-list,
  .result-grid,
  .panel-grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 28px;
  }

  .hero-actions,
  .button-row {
    flex-direction: column;
  }

  .primary-button,
  .secondary-button,
  .payment-link {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}
