:root {
  --ink: #1d1a2b;
  --muted: #706c80;
  --line: #eae7f1;
  --soft: #f7f5fb;
  --purple: #6d4aff;
  --purple-deep: #4d2fd4;
  --pink: #ef5da8;
  --orange: #ff8a45;
  --mint: #2ec4a6;
  --shadow: 0 22px 70px rgba(55, 36, 116, .12);
  --shadow-soft: 0 12px 40px rgba(55, 36, 116, .08);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: #fcfbfe;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; }
button { cursor: pointer; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.ambient {
  position: fixed; z-index: -1; border-radius: 999px; filter: blur(4px); opacity: .65; pointer-events: none;
}
.ambient-one {
  width: 420px; height: 420px; top: -180px; right: -120px;
  background: radial-gradient(circle, rgba(130, 92, 255, .14), transparent 68%);
}
.ambient-two {
  width: 440px; height: 440px; left: -250px; bottom: 10%;
  background: radial-gradient(circle, rgba(255, 143, 86, .12), transparent 68%);
}

.site-header {
  display: none;
  position: absolute;
  top: 0; left: 0; right: 0; z-index: 20;
  max-width: 1180px;
  margin: auto;
  padding: 26px 24px;
  align-items: center;
  justify-content: space-between;
}
.site-header.visible { display: flex; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; color: var(--ink);
  text-decoration: none; font-weight: 800; letter-spacing: -.3px;
}
.brand-mark, .mini-brand span {
  width: 32px; height: 32px; border-radius: 10px; display: inline-grid; place-items: center;
  color: white; background: linear-gradient(135deg, var(--purple), var(--pink)); box-shadow: 0 8px 20px rgba(109,74,255,.28);
}
.header-tag {
  font-size: 12px; color: var(--muted); padding: 8px 14px; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.7);
}

.screen { display: none; min-height: 100vh; animation: screenIn .45s ease both; }
.screen.active { display: block; }
@keyframes screenIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.eyebrow {
  display: inline-block; color: var(--purple); font-size: 11px; font-weight: 800; letter-spacing: 2.2px; text-transform: uppercase;
}
.eyebrow.light { color: rgba(255,255,255,.7); }
.primary-btn, .secondary-btn, .white-btn {
  border: 0; border-radius: 15px; min-height: 54px; padding: 0 24px;
  display: inline-flex; align-items: center; justify-content: center; gap: 20px;
  font-weight: 800; transition: transform .2s, box-shadow .2s, filter .2s;
}
.primary-btn {
  color: white; background: linear-gradient(135deg, #7457ff, #5c37e7 54%, #f05ca6 140%);
  box-shadow: 0 14px 28px rgba(96, 62, 227, .25);
}
.primary-btn:hover { transform: translateY(-2px); box-shadow: 0 18px 34px rgba(96, 62, 227, .32); filter: saturate(1.08); }
.primary-btn:active, .secondary-btn:active, .white-btn:active { transform: translateY(0) scale(.985); }
.secondary-btn { color: var(--purple); border: 1px solid #dcd4ff; background: #f5f2ff; }
.white-btn { color: var(--purple-deep); background: white; box-shadow: 0 14px 34px rgba(22,13,64,.22); }
.full-width { width: 100%; }

/* Key screen */
#keyScreen {
  background:
    radial-gradient(circle at 12% 12%, rgba(255,255,255,.12), transparent 30%),
    radial-gradient(circle at 88% 86%, rgba(255,133,176,.15), transparent 30%),
    linear-gradient(145deg, #251650 0%, #5132ba 52%, #7e55ed 100%);
  color: white;
}
.key-shell {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px 18px; position: relative; overflow: hidden;
}
.key-shell::before, .key-shell::after {
  content: ""; position: absolute; border: 1px solid rgba(255,255,255,.09); border-radius: 50%;
}
.key-shell::before { width: 500px; height: 500px; left: -280px; top: -170px; }
.key-shell::after { width: 650px; height: 650px; right: -380px; bottom: -330px; }
.mini-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; font-weight: 800; position: relative; z-index: 1; }
.key-card {
  position: relative; z-index: 1; width: min(100%, 460px); padding: 38px;
  border: 1px solid rgba(255,255,255,.18); border-radius: 28px;
  background: rgba(255,255,255,.95); color: var(--ink); box-shadow: 0 28px 90px rgba(18,7,63,.36);
  text-align: center;
}
.key-icon {
  width: 60px; height: 60px; display: grid; place-items: center; margin: 0 auto 20px;
  color: white; font-size: 25px; border-radius: 19px; background: linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 12px 30px rgba(109,74,255,.3);
}
.key-card h1 { font-size: 26px; margin: 10px 0 12px; letter-spacing: -.8px; }
.key-card > p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0 auto 25px; max-width: 340px; }
.key-input-wrap { position: relative; }
.key-input-wrap input {
  width: 100%; height: 58px; border: 1.5px solid #ded9e9; border-radius: 14px; background: #faf9fd;
  padding: 0 48px 0 18px; outline: none; color: var(--ink); font-size: 20px; font-weight: 750; text-align: center; letter-spacing: 8px;
  transition: border .2s, box-shadow .2s, background .2s;
}
.key-input-wrap input::placeholder { letter-spacing: 1px; color: #b1acbd; font-size: 15px; font-weight: 500; }
.key-input-wrap input:focus { border-color: var(--purple); background: white; box-shadow: 0 0 0 4px rgba(109,74,255,.1); }
.key-input-wrap input.error { border-color: #e84f6a; animation: shake .28s ease; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.key-status { position: absolute; right: 18px; top: 18px; color: var(--mint); font-weight: 900; }
.key-meta { display: flex; justify-content: space-between; margin: 8px 2px 0; color: #aaa5b5; font-size: 11px; }
.form-error { min-height: 20px; margin: 7px 0 !important; font-size: 12px !important; color: #dd405d !important; line-height: 20px !important; }
.privacy-note {
  display: flex; align-items: flex-start; gap: 8px; margin-top: 19px; padding-top: 18px; border-top: 1px solid var(--line);
  color: #9994a4; font-size: 11px; line-height: 1.55; text-align: left;
}
.key-footer { position: relative; z-index: 1; color: rgba(255,255,255,.55); font-size: 11px; letter-spacing: 2px; margin: 24px 0 0; }

/* Home */
#homeScreen { padding-top: 85px; }
.hero {
  max-width: 1160px; min-height: 700px; margin: auto; padding: 62px 28px 70px;
  display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 50px;
}
.hero-copy h1 { font-size: clamp(56px, 7vw, 88px); line-height: .98; letter-spacing: -5px; margin: 26px 0 25px; }
.gradient-text {
  background: linear-gradient(105deg, #5937df 0%, #8b60ff 42%, #ef5f9d 78%, #ff8a45 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 99px; background: #f3f0ff; color: #696276; font-size: 12px;
}
.hero-pill span { color: var(--mint); font-size: 9px; }
.hero-pill strong { color: var(--purple); }
.hero-subtitle { max-width: 500px; font-size: 18px; color: var(--muted); line-height: 1.8; margin: 0; }
.hero-actions { display: flex; align-items: center; gap: 20px; margin-top: 35px; }
.hero-btn { min-width: 170px; }
.time-note { font-size: 12px; color: #96919f; }
.trust-row { display: flex; gap: 20px; margin-top: 25px; color: #777281; font-size: 12px; }
.trust-row span::first-letter { color: var(--mint); }
.hero-visual { min-height: 500px; display: grid; place-items: center; position: relative; }
.orbit { position: absolute; border-radius: 50%; border: 1px dashed rgba(109,74,255,.18); animation: spin 25s linear infinite; }
.orbit-one { width: 500px; height: 500px; }
.orbit-two { width: 390px; height: 390px; animation-direction: reverse; animation-duration: 19s; }
@keyframes spin { to { transform: rotate(360deg); } }
.result-preview {
  position: relative; z-index: 2; width: 340px; min-height: 450px; padding: 25px; border-radius: 32px;
  background: linear-gradient(155deg, #1f1540, #4e2fae 70%, #8654ee);
  color: white; box-shadow: 0 35px 80px rgba(67,39,145,.34); transform: rotate(3deg);
}
.preview-top { display: flex; align-items: center; justify-content: space-between; font-size: 10px; color: rgba(255,255,255,.72); }
.preview-logo { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 9px; background: rgba(255,255,255,.16); font-size: 15px; color: white; }
.preview-dots { letter-spacing: 2px; }
.preview-chart { width: 224px; height: 224px; position: relative; display: grid; place-items: center; margin: 36px auto 18px; }
.chart-ring { position: absolute; border-radius: 50%; }
.ring-a { inset: 0; border: 1px solid rgba(255,255,255,.12); }
.ring-b { inset: 27px; border: 1px dashed rgba(255,255,255,.18); }
.chart-center {
  width: 128px; height: 128px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(circle at 35% 30%, #9977ff, #6241d5); box-shadow: 0 0 50px rgba(197,168,255,.3);
}
.chart-center small { font-size: 10px; color: rgba(255,255,255,.65); }
.chart-center strong { font-size: 31px; margin-top: 2px; }
.chart-label { position: absolute; font-size: 9px; padding: 5px 8px; border-radius: 99px; background: rgba(255,255,255,.1); }
.chart-label.l1 { top: 15px; left: -5px; }.chart-label.l2 { top: 40px; right: -15px; }
.chart-label.l3 { bottom: 30px; right: -5px; }.chart-label.l4 { bottom: 5px; left: 10px; }
.preview-type { text-align: center; font-size: 26px; font-weight: 850; letter-spacing: -.8px; }
.preview-tags { display: flex; justify-content: center; gap: 6px; margin-top: 15px; }
.preview-tags span { padding: 6px 8px; border-radius: 7px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.76); font-size: 9px; }
.float-card {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; padding: 13px 16px; border: 1px solid rgba(255,255,255,.7);
  border-radius: 15px; background: rgba(255,255,255,.88); backdrop-filter: blur(12px); box-shadow: var(--shadow-soft); color: var(--muted); font-size: 10px;
}
.float-card b { font-size: 21px; color: var(--purple); }
.float-card span { max-width: 50px; line-height: 1.25; }
.float-a { top: 95px; left: 5px; animation: float 4s ease-in-out infinite; }
.float-b { bottom: 75px; right: -5px; animation: float 4s .8s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-9px); } }

.section-block, .reviews-section { max-width: 1160px; margin: auto; padding: 100px 28px; }
.section-heading { max-width: 650px; margin-bottom: 45px; }
.section-heading h2 { font-size: clamp(34px, 4vw, 48px); line-height: 1.25; letter-spacing: -2px; margin: 12px 0 15px; }
.section-heading p { color: var(--muted); line-height: 1.8; }
.section-heading.compact { margin: 0 auto 38px; text-align: center; }
.section-heading.compact h2 { font-size: 36px; }
.feature-grid, .review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card, .review-card {
  position: relative; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-md); background: rgba(255,255,255,.8); box-shadow: 0 10px 35px rgba(54,35,104,.05);
}
.feature-card { min-height: 245px; transition: transform .25s, box-shadow .25s; }
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.feature-num { position: absolute; right: 24px; top: 22px; color: #dcd8e5; font-size: 12px; font-weight: 800; }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 28px; border-radius: 15px; font-size: 23px; font-weight: 300; }
.feature-icon.purple { color: var(--purple); background: #eeeaff; }
.feature-icon.orange { color: var(--orange); background: #fff0e7; }
.feature-icon.mint { color: var(--mint); background: #e4faf5; }
.feature-card h3 { font-size: 20px; margin: 0 0 12px; }
.feature-card p { color: var(--muted); line-height: 1.75; font-size: 14px; margin: 0; }
.dimensions-section { padding: 90px 28px; background: linear-gradient(180deg, #f7f4ff, #faf8ff); }
.dimension-cloud { max-width: 880px; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: auto; }
.dimension-cloud span {
  padding: 12px 22px; border: 1px solid #e5defb; border-radius: 99px; background: white; color: #625d6d; font-size: 14px; box-shadow: 0 7px 18px rgba(77,47,212,.05);
}
.stars { color: #ff9e3e; letter-spacing: 3px; font-size: 12px; }
.review-card > p { min-height: 112px; color: #554f60; line-height: 1.85; font-size: 14px; }
.reviewer { display: flex; align-items: center; gap: 11px; padding-top: 18px; border-top: 1px solid var(--line); }
.reviewer > span { width: 37px; height: 37px; display: grid; place-items: center; border-radius: 50%; background: #eeeaff; color: var(--purple); font-weight: 800; }
.reviewer div { display: flex; flex-direction: column; gap: 3px; }
.reviewer b { font-size: 12px; }.reviewer small { color: #9b96a4; font-size: 10px; }
.home-cta {
  max-width: 1100px; margin: 20px auto 90px; padding: 72px 30px; border-radius: 35px; text-align: center; color: white;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.15), transparent 26%), linear-gradient(135deg, #2c1a64, #6945df 62%, #ad5bdd);
  box-shadow: 0 28px 65px rgba(69,40,151,.23);
}
.home-cta h2 { font-size: 38px; line-height: 1.35; letter-spacing: -1.5px; margin: 15px 0 30px; }
.home-cta p { color: rgba(255,255,255,.55); font-size: 11px; margin: 18px 0 0; }

/* Quiz */
#quizScreen { background: linear-gradient(180deg, #f5f1ff 0, #fdfcff 250px); }
.quiz-shell { width: min(100%, 820px); margin: auto; padding: 35px 20px 70px; }
.quiz-header { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.text-btn { border: 0; background: none; color: rgba(255,255,255,.7); padding: 8px 0; justify-self: start; font-size: 12px; }
.text-btn.dark, .quiz-header .text-btn { color: var(--muted); }
.quiz-counter { font-size: 13px; color: var(--muted); }
.quiz-counter strong { color: var(--purple); font-size: 18px; }
.save-state { justify-self: end; color: #9791a2; font-size: 11px; }
.progress-track { height: 6px; border-radius: 99px; background: #e7e1f4; margin-top: 20px; overflow: hidden; }
.progress-fill { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--purple), #9f62ef, var(--pink)); transition: width .45s cubic-bezier(.2,.7,.2,1); }
.dimension-label {
  width: max-content; margin: 38px auto 12px; padding: 7px 13px; border-radius: 99px; background: #eee9ff; color: var(--purple);
  font-size: 11px; font-weight: 800; letter-spacing: .5px;
}
.question-card {
  min-height: 520px; padding: 42px 46px 36px; border: 1px solid rgba(227,222,238,.8); border-radius: 28px;
  background: rgba(255,255,255,.97); box-shadow: var(--shadow); transition: opacity .2s, transform .2s;
}
.question-card.switching { opacity: 0; transform: translateX(10px); }
.question-index { color: #b2acbd; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; }
.question-card h2 { max-width: 650px; margin: 13px 0 12px; font-size: 26px; line-height: 1.55; letter-spacing: -.6px; }
.question-tip { color: #9993a3; font-size: 12px; line-height: 1.6; margin: 0 0 28px; }
.options-list { display: grid; gap: 12px; }
.option-btn {
  width: 100%; min-height: 68px; display: grid; grid-template-columns: 36px 1fr 22px; align-items: center; gap: 12px;
  padding: 12px 16px; border: 1.5px solid #e9e5ef; border-radius: 15px; background: #fff; color: #4b4653; text-align: left;
  transition: transform .18s, border .18s, background .18s, box-shadow .18s;
}
.option-btn:hover { transform: translateX(4px); border-color: #b9a9fb; background: #faf8ff; box-shadow: 0 7px 20px rgba(75,45,177,.08); }
.option-letter {
  width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #f3f0f8; color: #827b8c; font-size: 12px; font-weight: 850;
}
.option-check { color: #c7c1ce; }
.option-btn.selected { border-color: var(--purple); background: #f5f2ff; }
.option-btn.selected .option-letter { background: var(--purple); color: white; }
.option-btn.selected .option-check { color: var(--purple); }
.quiz-footer { display: flex; justify-content: space-between; align-items: center; padding: 20px 5px; color: #9993a3; font-size: 11px; }
.back-btn { border: 0; background: none; color: var(--muted); padding: 8px; font-weight: 650; }
.back-btn:disabled { opacity: .3; cursor: not-allowed; }

/* Calculating */
#calculatingScreen { background: linear-gradient(145deg, #22144e, #5934c4 57%, #9056e5); color: white; }
.calculating-card { width: min(100%, 510px); min-height: 100vh; margin: auto; padding: 50px 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.calc-orbit { width: 145px; height: 145px; position: relative; display: grid; place-items: center; margin-bottom: 35px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; animation: spin 7s linear infinite; }
.calc-orbit span { width: 70px; height: 70px; display: grid; place-items: center; border-radius: 23px; background: rgba(255,255,255,.14); font-size: 33px; animation: spin 7s linear infinite reverse; box-shadow: 0 0 40px rgba(255,255,255,.12); }
.calc-orbit i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #fd84bd; box-shadow: 0 0 12px #fd84bd; }
.calc-orbit i:nth-child(2) { top: 11px; left: 29px; }.calc-orbit i:nth-child(3) { right: -2px; top: 65px; background: #55e2c0; }.calc-orbit i:nth-child(4) { bottom: 8px; left: 42px; background: #ffb36a; }
.calculating-card h2 { font-size: 27px; margin: 0 0 10px; }
.calculating-card > p { color: rgba(255,255,255,.62); font-size: 13px; }
.calc-bar { width: 100%; height: 5px; margin: 30px 0 18px; background: rgba(255,255,255,.12); border-radius: 99px; overflow: hidden; }
.calc-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #ac92ff, #ff8dc2); border-radius: inherit; transition: width .6s ease; }
.calc-steps { width: 100%; display: flex; justify-content: space-between; color: rgba(255,255,255,.32); font-size: 10px; }
.calc-steps span.active { color: white; }

/* Results */
#resultScreen { background: #f6f4fa; padding-bottom: 80px; }
.result-shell { width: min(100%, 880px); margin: auto; padding: 0 20px; }
.result-topbar { height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: #716b7a; font-size: 12px; }
.result-topbar button:last-child { justify-self: end; }
.result-hero-card {
  position: relative; overflow: hidden; min-height: 530px; padding: 50px; border-radius: 32px; color: white;
  background: radial-gradient(circle at 90% 10%, rgba(255,255,255,.13), transparent 30%), linear-gradient(145deg, #23144f, #5131b0 62%, #8657e9);
  box-shadow: 0 28px 70px rgba(52,31,123,.3);
}
.result-watermark { position: absolute; right: -25px; bottom: -130px; font-size: 440px; line-height: 1; color: rgba(255,255,255,.035); font-family: Georgia, serif; }
.report-id { position: relative; color: rgba(255,255,255,.48); font-size: 9px; letter-spacing: 1.6px; }
.result-kicker { position: relative; color: rgba(255,255,255,.68); font-size: 13px; margin: 55px 0 8px; }
.result-hero-card h1 { position: relative; font-size: clamp(41px, 8vw, 63px); letter-spacing: -2px; margin: 0; }
.match-row { position: relative; display: flex; align-items: center; gap: 24px; margin: 34px 0; }
.match-circle { width: 108px; height: 108px; padding: 5px; border-radius: 50%; background: conic-gradient(#ff91c3 0deg, #ff91c3 313deg, rgba(255,255,255,.12) 313deg); transition: background .8s; }
.match-circle > div { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 50%; background: #4c2fa9; }
.match-circle strong { font-size: 25px; }.match-circle small { margin-top: 2px; color: rgba(255,255,255,.56); font-size: 8px; }
.result-keywords { display: flex; flex-wrap: wrap; gap: 8px; max-width: 310px; }
.result-keywords span { padding: 7px 11px; border: 1px solid rgba(255,255,255,.14); border-radius: 99px; background: rgba(255,255,255,.08); font-size: 10px; color: rgba(255,255,255,.8); }
.result-summary { position: relative; max-width: 650px; padding-left: 17px; border-left: 2px solid #f98ebd; color: rgba(255,255,255,.85); font-size: 15px; line-height: 1.85; }
.secondary-type { position: relative; margin-top: 25px; color: rgba(255,255,255,.5); font-size: 10px; }.secondary-type strong { color: rgba(255,255,255,.82); }
.report-section, .unlock-card, .final-quote, .share-actions {
  margin-top: 18px; padding: 40px; border: 1px solid #e9e5ef; border-radius: 24px; background: white; box-shadow: 0 8px 30px rgba(57,37,109,.05);
}
.report-heading { display: flex; align-items: center; gap: 15px; margin-bottom: 28px; }
.report-heading > span { color: #c4bdcf; font-family: Georgia, serif; font-size: 28px; }
.report-heading small { color: var(--purple); font-size: 8px; font-weight: 800; letter-spacing: 1.7px; }
.report-heading h2 { font-size: 21px; margin: 4px 0 0; }
.free-insight > p, .portrait-text { color: #5d5765; font-size: 14px; line-height: 2; }
.mini-score-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 25px; }
.mini-score { padding: 15px 10px; border-radius: 13px; background: #f8f6fb; text-align: center; }
.mini-score span { display: block; color: #8d8796; font-size: 9px; }.mini-score strong { display: block; margin-top: 5px; color: var(--purple); font-size: 19px; }
.unlock-card { position: relative; overflow: hidden; padding: 48px; color: white; text-align: center; border: 0; background: linear-gradient(140deg, #21134c, #5230b2 62%, #8b55e6); box-shadow: 0 24px 60px rgba(61,36,143,.26); }
.unlock-glow { position: absolute; width: 260px; height: 260px; right: -100px; top: -130px; border-radius: 50%; background: rgba(255,255,255,.11); }
.unlock-badge { display: inline-block; position: relative; padding: 7px 11px; border-radius: 99px; color: #f9c8df; background: rgba(255,255,255,.1); font-size: 9px; letter-spacing: 1px; }
.unlock-card h2 { position: relative; font-size: 29px; margin: 18px 0 10px; }
.unlock-card > p { position: relative; max-width: 550px; margin: auto; color: rgba(255,255,255,.62); font-size: 12px; line-height: 1.7; }
.unlock-list { position: relative; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; max-width: 580px; margin: 26px auto; color: rgba(255,255,255,.85); font-size: 12px; }
.unlock-list span::first-letter { color: #5fe3c2; }
.unlock-price { position: relative; display: flex; align-items: end; justify-content: center; gap: 9px; margin: 8px 0 18px; }
.unlock-price small { align-self: center; padding: 5px 8px; border-radius: 5px; background: #f45f9e; color: white; }
.unlock-price strong { font-size: 38px; line-height: 1; }.unlock-price sup { font-size: 16px; }.unlock-price del { color: rgba(255,255,255,.35); font-size: 11px; }
.unlock-btn { position: relative; min-width: 280px; background: white; color: #5534bc; box-shadow: 0 14px 32px rgba(17,6,55,.25); }
.unlock-note { position: relative; display: block; margin-top: 12px; color: rgba(255,255,255,.4); font-size: 9px; }
.full-report { position: relative; }
.full-report.locked { max-height: 480px; overflow: hidden; pointer-events: none; user-select: none; }
.full-report.locked .report-section { filter: blur(7px); opacity: .7; }
.lock-overlay { display: none; }
.full-report.locked .lock-overlay { display: block; position: absolute; inset: 0; z-index: 10; background: linear-gradient(180deg, transparent 0, rgba(246,244,250,.45) 20%, #f6f4fa 88%); }
.blur-line { height: 13px; width: 72%; margin: 55px auto 0; background: #ddd9e4; border-radius: 99px; filter: blur(4px); }.blur-line.short { width: 42%; }
.portrait-text p { margin: 0 0 15px; }
.two-column-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.insight-list { padding: 24px; border-radius: 18px; }
.insight-list.good { background: #f0fbf8; }.insight-list.caution { background: #fff7f1; }
.insight-list h3 { margin: 0 0 18px; font-size: 14px; }
.insight-list.good h3 { color: #178f78; }.insight-list.caution h3 { color: #d86c33; }
.insight-list ul { list-style: none; padding: 0; margin: 0; }
.insight-list li { position: relative; padding-left: 17px; margin: 0 0 13px; color: #625d68; font-size: 12px; line-height: 1.65; }
.insight-list li::before { content: "•"; position: absolute; left: 0; top: 0; color: var(--mint); font-weight: 900; }
.insight-list.caution li::before { color: var(--orange); }
.method-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.method-item { display: flex; align-items: center; gap: 13px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.method-item > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; background: #eeeaff; color: var(--purple); font-size: 11px; font-weight: 850; }
.method-item div { display: flex; flex-direction: column; gap: 4px; }.method-item b { font-size: 13px; }.method-item small { color: #9993a3; font-size: 9px; }
.route-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; margin-bottom: 20px; padding: 5px; border-radius: 13px; background: #f3f0f7; }
.route-tabs button { border: 0; border-radius: 10px; padding: 10px; background: transparent; color: #898391; font-size: 11px; }
.route-tabs button.active { background: white; color: var(--purple); font-weight: 800; box-shadow: 0 5px 15px rgba(55,36,116,.08); }
.route-card { padding: 22px; border: 1px solid #e9e4f4; border-radius: 17px; background: linear-gradient(135deg, #faf9ff, white); }
.route-card h3 { margin: 0 0 8px; font-size: 17px; }.route-card > p { color: #8d8796; font-size: 11px; line-height: 1.7; }
.route-projects { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 17px; }
.route-projects span { padding: 8px 11px; border-radius: 8px; background: #eeeaff; color: #6146d1; font-size: 10px; }
.timeline { position: relative; }
.timeline::before { content: ""; position: absolute; top: 8px; bottom: 8px; left: 19px; width: 1px; background: #ded7f1; }
.timeline-item { position: relative; display: grid; grid-template-columns: 40px 1fr; gap: 17px; padding-bottom: 28px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot { position: relative; z-index: 1; width: 40px; height: 40px; display: grid; place-items: center; border: 4px solid white; border-radius: 50%; background: var(--purple); color: white; font-size: 8px; font-weight: 800; box-shadow: 0 0 0 1px #d8d0f1; }
.timeline-content { padding: 4px 0 0; }.timeline-content h3 { margin: 0 0 10px; font-size: 15px; }
.timeline-content ul { margin: 0; padding-left: 17px; color: #6f6977; font-size: 12px; line-height: 1.85; }
.avoid-list { display: grid; gap: 9px; }
.avoid-item { display: grid; grid-template-columns: 28px 1fr; align-items: start; gap: 11px; padding: 15px; border-radius: 13px; background: #fff7f3; color: #625d68; font-size: 12px; line-height: 1.6; }
.avoid-item span { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; background: #ffe5da; color: #d96635; font-weight: 850; }
.final-quote { text-align: center; padding: 50px; background: linear-gradient(135deg, #f1edff, #fff4f9); }
.final-quote > span { color: var(--purple); font-size: 9px; font-weight: 850; letter-spacing: 1.5px; }
.final-quote blockquote { max-width: 640px; margin: 18px auto 0; font-family: Georgia, "Songti SC", serif; font-size: 20px; line-height: 1.8; font-weight: 650; color: #423851; }
.share-actions { text-align: center; }.share-actions h2 { font-size: 21px; margin: 0 0 8px; }.share-actions p { color: #8d8796; font-size: 12px; }
.share-actions > div { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }

/* Modal + toast */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(20,12,42,.7); backdrop-filter: blur(5px); }
.modal-panel { position: relative; width: min(100%, 440px); max-height: 92vh; overflow: auto; padding: 22px; border-radius: 24px; background: white; box-shadow: 0 30px 100px rgba(0,0,0,.3); animation: modalIn .25s ease; }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.97); } }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.modal-header small { color: var(--purple); font-size: 8px; letter-spacing: 1px; }.modal-header h2 { font-size: 17px; margin: 4px 0 0; }
.modal-close { width: 35px; height: 35px; border: 0; border-radius: 50%; background: #f1eef5; color: #77717f; font-size: 20px; }
.canvas-wrap { margin-bottom: 14px; border-radius: 17px; overflow: hidden; box-shadow: var(--shadow-soft); line-height: 0; }
#shareCanvas { width: 100%; height: auto; background: #4d2fd4; }
.toast {
  position: fixed; z-index: 200; left: 50%; bottom: 28px; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 11px 17px; border-radius: 99px; background: #211933; color: white; font-size: 12px; box-shadow: 0 12px 30px rgba(0,0,0,.2); transition: .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 820px) {
  .site-header { padding: 19px 18px; }
  .header-tag { display: none; }
  #homeScreen { padding-top: 70px; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding: 45px 20px 80px; gap: 50px; text-align: center; }
  .hero-copy h1 { font-size: clamp(52px, 15vw, 72px); letter-spacing: -4px; }
  .hero-subtitle { font-size: 16px; margin-inline: auto; }
  .hero-actions { flex-direction: column; gap: 13px; }
  .hero-btn { width: min(100%, 320px); }
  .trust-row { justify-content: center; flex-wrap: wrap; gap: 10px 15px; }
  .hero-visual { min-height: 460px; transform: scale(.9); margin: -25px 0; }
  .feature-grid, .review-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .review-card > p { min-height: 0; }
  .section-block, .reviews-section { padding: 75px 20px; }
  .section-heading { text-align: center; margin-inline: auto; }
  .section-heading h2 { font-size: 34px; }
  .home-cta { margin: 10px 14px 60px; padding: 58px 22px; border-radius: 28px; }
  .home-cta h2 { font-size: 28px; }
}

@media (max-width: 560px) {
  .key-card { padding: 31px 22px; }
  .key-card h1 { font-size: 23px; }
  .key-footer { letter-spacing: 1px; }
  .brand { font-size: 13px; }
  .hero { overflow: hidden; }
  .hero-visual { transform: scale(.79); margin: -60px -35px; }
  .section-heading h2, .section-heading.compact h2 { font-size: 29px; letter-spacing: -1px; }
  .dimensions-section { padding: 70px 17px; }
  .dimension-cloud { gap: 8px; }.dimension-cloud span { padding: 10px 14px; font-size: 12px; }
  .quiz-shell { padding: 22px 14px 50px; }
  .question-card { min-height: 500px; padding: 31px 18px 28px; border-radius: 22px; }
  .question-card h2 { font-size: 21px; }
  .option-btn { min-height: 66px; padding: 10px 12px; gap: 10px; font-size: 13px; }
  .result-shell { padding: 0 11px; }
  .result-topbar { height: 59px; }
  .result-topbar > span { font-size: 10px; }
  .result-hero-card { min-height: 550px; padding: 34px 24px; border-radius: 25px; }
  .result-kicker { margin-top: 45px; }
  .result-hero-card h1 { font-size: 42px; }
  .match-row { align-items: flex-start; gap: 17px; }
  .match-circle { flex: 0 0 98px; width: 98px; height: 98px; }
  .result-keywords { padding-top: 4px; }
  .report-section, .unlock-card, .final-quote, .share-actions { padding: 28px 19px; border-radius: 20px; }
  .unlock-card { padding-block: 40px; }
  .unlock-card h2 { font-size: 24px; }
  .unlock-list { display: grid; grid-template-columns: 1fr 1fr; text-align: left; gap: 11px; }
  .unlock-btn { min-width: 0; width: 100%; }
  .mini-score-grid { grid-template-columns: repeat(2, 1fr); }
  .two-column-list { grid-template-columns: 1fr; }
  .method-grid { grid-template-columns: 1fr; }
  .route-tabs button { padding-inline: 5px; font-size: 10px; }
  .final-quote blockquote { font-size: 17px; }
  .share-actions > div { flex-direction: column; }
  .modal { padding: 10px; }.modal-panel { padding: 16px; border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
