:root {
  --ink: #15131a;
  --muted: #696170;
  --purple: #5740d9;
  --pink: #b83bd9;
  --yellow: #ffe05f;
  --orange: #c78a2d;
  --cyan: #39c7ef;
  --green: #20bd7a;
  --paper: #fffaf0;
  --shadow: 0 18px 40px rgba(42, 49, 86, 0.16);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 12% 8%, rgba(186, 240, 207, 0.55), transparent 24%),
    radial-gradient(circle at 88% 16%, rgba(255, 224, 95, 0.3), transparent 22%),
    #eef4f8;
}

a { color: inherit; text-decoration: none; }

.page {
  width: min(100%, 430px);
  margin: 0 auto;
  min-height: 100vh;
  padding: 10px 12px 80px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.42)), #eef4f8;
  box-shadow: 0 0 50px rgba(38, 49, 79, 0.08);
}

/* Hero */
.hero {
  padding: 20px;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  box-shadow: var(--shadow);
}

.hero-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.8);
  object-fit: cover;
}

.hero-top b { font-size: 18px; font-weight: 900; }
.hero-top span { display: block; font-size: 13px; color: rgba(255,255,255,0.75); font-weight: 600; margin-top: 2px; }
.hero-top em { display: block; font-size: 11px; color: rgba(255,255,255,0.6); font-style: normal; margin-top: 3px; }

.hero-banner {
  text-align: center;
  padding: 20px;
  margin: 10px 0;
  background: rgba(255,255,255,0.1);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.15);
}

.hero-banner span { display: block; font-size: 16px; color: rgba(255,255,255,0.85); margin-bottom: 4px; }
.hero-banner strong { display: block; font-size: 36px; color: var(--yellow); font-weight: 900; }

.hero-desc {
  text-align: center;
  font-size: 14px;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
  margin: 12px 0;
}

.hero-info {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 16px 0;
  padding: 14px;
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
}

.hero-info-item { flex: 1; text-align: center; }
.hero-info-item b { display: block; font-size: 18px; color: var(--yellow); font-weight: 900; }
.hero-info-item span { display: block; font-size: 11px; color: rgba(255,255,255,0.75); margin-top: 2px; }
.hero-info-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.2); }

.hero-note {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin-top: 10px;
}

.hero-social {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 14px 0;
  padding: 14px;
  background: rgba(255,255,255,0.08);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.12);
}

.social-item { flex: 1; text-align: center; }
.social-item b { display: block; font-size: 16px; color: var(--yellow); font-weight: 900; }
.social-item span { display: block; font-size: 11px; color: rgba(255,255,255,0.75); margin-top: 2px; }
.social-divider { width: 1px; height: 36px; background: rgba(255,255,255,0.2); }

.hero-cta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}

.hero-btn {
  display: block;
  width: 100%;
  padding: 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green), #12a556);
  color: #fff;
  font-size: 17px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(32, 189, 122, 0.4);
}

.hero-btn-secondary {
  display: block;
  width: 100%;
  padding: 14px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), #1a9fc4);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(57, 199, 239, 0.35);
}

/* Sections */
.action-card,
.auth-section,
.proof-section,
.compare-section,
.money-section,
.student-section,
.support-section,
.flow-section,
.accordion-section {
  margin-top: 12px;
  padding: 16px;
  border: 2px solid rgba(21, 19, 26, 0.9);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 5px 6px 0 rgba(21, 19, 26, 0.1);
}

.section-head span {
  color: var(--purple);
  font-size: 12px;
  font-weight: 950;
}

.section-head h2 {
  margin-top: 4px;
  font-size: 23px;
  line-height: 1.2;
}

/* Mini Steps */
.mini-steps { display: grid; gap: 9px; margin-top: 14px; }

.mini-steps article {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 58px;
  padding: 10px;
  border-radius: 16px;
  background: #f7fbff;
}

.mini-steps i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  color: #fff;
  font-style: normal;
  font-weight: 950;
  background: var(--purple);
}

.mini-steps p {
  font-size: 15px;
  font-weight: 850;
  line-height: 1.45;
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Auth Gallery */
.auth-section { background: #fffdf6; }

.auth-gallery {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.auth-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid rgba(21, 19, 26, 0.16);
  border-radius: 16px;
  object-fit: contain;
  background: #f8f5ee;
}

.cert-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.earnings-section {
  margin-top: 12px;
  padding: 16px;
  border: 2px solid rgba(21, 19, 26, 0.9);
  border-radius: 22px;
  background: linear-gradient(135deg, #f0fff4, #e8faf0);
  box-shadow: 5px 6px 0 rgba(21, 19, 26, 0.1);
}

.earnings-videos {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.video-wrap {
  flex: 0 0 160px;
  height: 280px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--ink);
}

.video-wrap video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cert-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border: 2px solid rgba(21, 19, 26, 0.16);
  border-radius: 12px;
  object-fit: contain;
  background: #f8f5ee;
}

/* Image Pack */
.image-pack {
  margin-top: 13px;
  border-radius: 16px;
  background: #f7fbff;
  box-shadow: inset 0 0 0 1px rgba(57, 199, 239, 0.34);
}

.image-pack__head {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 66px;
  padding: 12px;
  color: var(--ink);
}

.image-pack__head b { font-size: 16px; font-weight: 950; }
.image-pack__head span { margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 800; }

.image-pack__head button {
  flex: 0 0 auto;
  min-width: 70px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  background: linear-gradient(135deg, var(--purple), var(--pink));
}

.image-pack__panel { display: none; padding: 0 10px 10px; }
.image-pack.is-open .image-pack__panel { display: block; }

/* Proof Section */
.proof-section { background: #ffffff; }

.proof-lead {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.62;
}

.video-frame {
  overflow: hidden;
  margin-top: 13px;
  border: 3px solid var(--ink);
  border-radius: 18px;
  background: #111;
  box-shadow: 5px 6px 0 rgba(21, 19, 26, 0.16);
}

.video-frame video {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 430px;
  object-fit: cover;
  background: #111;
}

.proof-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.proof-points div {
  min-width: 0;
  padding: 10px 6px;
  border-radius: 14px;
  text-align: center;
  background: #f2fbff;
}

.proof-points b { display: block; font-size: 13px; }
.proof-points span { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; font-weight: 800; }

/* Compare Section */
.compare-section { background: #fffdf6; }

.compare-table {
  margin-top: 14px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  overflow: hidden;
  font-size: 13px;
}

.compare-row {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  border-bottom: 1px solid rgba(21, 19, 26, 0.12);
}

.compare-row:last-child { border-bottom: 0; }
.compare-row span { padding: 12px 10px; display: flex; align-items: center; }

.compare-header {
  background: var(--ink);
  color: #fff;
  font-weight: 950;
}

.compare-header span { justify-content: center; }
.compare-row span:first-child { font-weight: 900; background: #f7fbff; }
.compare-row .bad { color: #d71920; background: #fff0f0; }
.compare-row .good { color: var(--green); background: #f0fff4; }

/* Money Section */
.money-section { background: #fff7d7; }

.money-list { display: grid; gap: 9px; margin-top: 14px; }

.money-list div {
  padding: 13px 14px;
  border-radius: 16px;
  background: #fff;
}

.money-list strong { display: block; font-size: 16px; }
.money-list p { margin-top: 5px; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* Tag Cloud */
.tag-cloud,
.support-box {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tag-cloud b,
.support-box div {
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  background: #eefaff;
  border: 1px solid rgba(57, 199, 239, 0.45);
}

.tag-cloud b:nth-child(1),
.tag-cloud b:nth-child(2),
.tag-cloud b:nth-child(5) {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  border-color: transparent;
}

/* Support Section */
.support-section {
  color: #fff;
  background: linear-gradient(135deg, #17251f, #17141f);
}

.support-section .section-head span { color: #baf0cf; }

.support-box div {
  color: var(--ink);
  background: #fff;
}

/* Flow Section */
.flow-section { background: #fff; }

.flow {
  display: grid;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.flow li {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 9px;
  align-items: start;
}

.flow b {
  display: inline-flex;
  justify-content: center;
  padding: 6px 8px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  background: var(--purple);
}

.flow span {
  padding-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

/* Accordion */
.accordion-section { padding: 8px; }

.accordion-header {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 66px;
  padding: 12px;
  border-radius: 16px;
  background: #f7fbff;
  box-shadow: inset 0 0 0 1px rgba(57, 199, 239, 0.28);
}

.accordion-header span {
  font-size: 16px;
  font-weight: 950;
  color: var(--ink);
}

.accordion-header button {
  flex: 0 0 auto;
  min-width: 70px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 950;
  background: linear-gradient(135deg, var(--purple), var(--pink));
}

.accordion-panel { display: none; padding: 4px 10px 12px; }
.accordion-section.is-open .accordion-panel { display: block; }

.qa b { display: block; margin-top: 10px; font-size: 15px; }
.qa b:first-child { margin-top: 2px; }
.qa p { margin-top: 5px; color: var(--muted); font-size: 14px; line-height: 1.55; }

/* Float Menu */
.float-menu {
  position: fixed;
  bottom: 20px;
  right: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--cyan), #1a9fc4);
  box-shadow: 0 6px 20px rgba(57, 199, 239, 0.4);
  text-decoration: none;
}

.qr-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
}

.qr-modal.show {
  display: flex;
}

.qr-modal-content {
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  max-width: 300px;
}

.qr-modal-content img {
  width: 240px;
  height: 240px;
  border-radius: 12px;
  object-fit: cover;
}

.qr-modal-content p {
  margin: 12px 0;
  font-size: 14px;
  color: var(--ink);
}

.qr-modal-content button {
  padding: 10px 32px;
  border: none;
  border-radius: 999px;
  background: var(--purple);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 12px;
  background: rgba(255,255,255,0.95);
  border-top: 1px solid rgba(21,19,26,0.08);
  backdrop-filter: blur(14px);
}

.bottom-bar a {
  display: grid;
  min-height: 48px;
  place-items: center;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.bottom-bar a:first-child {
  border: 2px solid var(--ink);
  background: #fff;
  color: var(--ink);
}

.bottom-bar a:last-child {
  background: linear-gradient(135deg, var(--green), #12a556);
  color: #fff;
  box-shadow: 0 6px 18px rgba(32,189,122,0.3);
}

@media (max-width: 360px) {

.float-btn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 12px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--green), #12a556);
  box-shadow: 0 6px 20px rgba(32, 189, 122, 0.4);
  text-decoration: none;
}

.float-btn.show {
  display: block;
}

@media (max-width: 360px) {
  .hero-banner strong { font-size: 30px; }
  .hero-info-item b { font-size: 15px; }
}