/* Homepage 1:1 Styles */
.home-section {
  margin-top: 54px;
  scroll-margin-top: 86px;
}

.sec-eye {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--c-home);
  margin-bottom: 6px;
}
.sec-eye::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.sec-h2 {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.2;
}
.sec-sub {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 15.5px;
}

/* 1. Hero Section */
.hero3 {
  position: relative;
  text-align: center;
  padding: 28px 18px 0;
  min-height: 510px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  border-radius: 32px;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
  border: 1px solid #fff;
  box-shadow: 0 8px 24px rgba(30, 35, 70, 0.08);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 24px;
  z-index: 2;
}

.hero-avatars {
  display: inline-flex;
  align-items: center;
}
.hero-avatars img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #fff;
  margin-left: -7px;
}
.hero-avatars img:first-child { margin-left: 0; }

.hero-title {
  margin: 0 0 16px;
  font-size: clamp(34px, 5.2vw, 56px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  z-index: 2;
}

.hero-title-grad {
  display: block;
  background: linear-gradient(90deg, #6d5bff 0%, #c048c8 45%, #f08a00 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 680px;
  margin: 0 auto 28px;
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--muted);
  z-index: 2;
}
.hero-lead strong {
  color: var(--ink);
}

.hero-cta {
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 700;
  z-index: 2;
}

.hero-orbs {
  position: relative;
  width: 100%;
  max-width: 780px;
  height: 148px;
  margin-top: 26px;
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  bottom: -14px;
  filter: drop-shadow(0 12px 28px rgba(30, 34, 70, 0.16));
  opacity: 0.92;
  animation: bobOrb 5.5s ease-in-out infinite;
}
.hero-orb.o-left { left: 6%; width: 108px; animation-delay: -1.4s; opacity: 0.65; }
.hero-orb.o-center { left: 50%; transform: translateX(-50%); width: 148px; bottom: -20px; z-index: 2; }
.hero-orb.o-right { right: 6%; width: 112px; animation-delay: -2.8s; opacity: 0.72; }

@keyframes bobOrb {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}
.hero-orb.o-center {
  animation-name: bobOrbCenter;
}
@keyframes bobOrbCenter {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-8px); }
}

/* 2. Official Discount Marquee */
.offer-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(22px);
  border: 1px solid #fff;
  box-shadow: var(--g-lift);
  margin-top: 4px;
}

.offer-bar-lbl {
  font-size: 14px;
  font-weight: 800;
  color: var(--c-home);
  white-space: nowrap;
  padding: 0 6px;
}

.offer-track-wrap {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  display: flex;
  gap: 10px;
}
.offer-track-wrap::-webkit-scrollbar { display: none; }

.offer-chip {
  flex: 0 0 auto;
  min-width: 225px;
  padding: 8px 14px;
  border-radius: 14px;
  border: 1.5px solid rgba(20, 20, 40, 0.1);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.16s ease, border-color 0.16s ease;
}
.offer-chip:hover {
  transform: translateY(-1px);
  border-color: var(--c-home);
}
.offer-chip.is-aliyun { border-color: rgba(240, 83, 43, 0.45); }
.offer-chip.is-grok { border-color: rgba(29, 27, 44, 0.3); }

.offer-chip-v { font-size: 13.5px; font-weight: 800; color: var(--ink); }
.offer-chip-s { font-size: 11.5px; color: var(--muted); }
.offer-chip-r { text-align: right; }
.offer-chip-b { font-size: 13px; font-weight: 800; color: var(--ink); }
.offer-chip-t { font-size: 11px; color: var(--faint); font-variant-numeric: tabular-nums; }

/* 3. 6-Card Gradient Quick Grid */
.facts3 {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.fact-card {
  position: relative;
  border-radius: 20px;
  padding: 16px 16px;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 82px;
  box-shadow: 0 10px 26px rgba(25, 30, 65, 0.14);
  transition: transform 0.2s var(--g-spring), box-shadow 0.2s ease;
}
.fact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(25, 30, 65, 0.22);
}
.fact-ico {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  flex-shrink: 0;
  color: var(--ink);
}
.fact-title { font-size: 15.5px; font-weight: 800; line-height: 1.25; }
.fact-sub { font-size: 12px; opacity: 0.9; margin-top: 2px; }

.fc-blue { background: linear-gradient(135deg, #4b6bff, #3346d3); }
.fc-green { background: linear-gradient(135deg, #19c389, #0ca672); }
.fc-orange { background: linear-gradient(135deg, #ffa01a, #f06d00); }
.fc-rose { background: linear-gradient(135deg, #ff5470, #e62e50); }
.fc-violet { background: linear-gradient(135deg, #b83cc6, #6d48e5); }
.fc-indigo { background: linear-gradient(135deg, #271b68, #141036); }

/* 4. Four Core Pillars */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.pillar-card {
  border-radius: 26px;
  padding: 5px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 34px rgba(25, 30, 70, 0.12);
}
.pillar-card.p-orange { background: linear-gradient(180deg, #ff9d14 0%, #f05a00 100%); }
.pillar-card.p-coral { background: linear-gradient(180deg, #ff625f 0%, #e1264f 100%); }
.pillar-card.p-sky { background: linear-gradient(180deg, #1aa3f8 0%, #1566e0 100%); }
.pillar-card.p-purple { background: linear-gradient(180deg, #8658ff 0%, #5b3de6 100%); }

.pillar-head {
  padding: 18px 18px 16px;
  color: #fff;
  position: relative;
  min-height: 122px;
}
.pillar-kicker { font-size: 12px; opacity: 0.88; font-weight: 600; }
.pillar-title { margin: 4px 0 6px; font-size: 20px; font-weight: 900; line-height: 1.25; }
.pillar-desc { font-size: 12.5px; opacity: 0.92; line-height: 1.5; max-width: 82%; }
.pillar-emoji { position: absolute; right: 14px; top: 18px; font-size: 36px; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.16)); }

.pillar-body {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 21px;
  padding: 6px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pillar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 4px;
  border-bottom: 1px solid rgba(20, 20, 40, 0.06);
  transition: transform 0.15s ease;
}
.pillar-row:last-child { border-bottom: none; }
.pillar-row:hover { transform: translateX(3px); }
.pillar-row-title { font-size: 14px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pillar-row-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.pillar-arrow { font-size: 15px; font-weight: 700; opacity: 0.7; }

/* 5. 30s Vocabulary */
.words {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.word-card {
  border-radius: 26px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--g-lift);
  display: flex;
  flex-direction: column;
}
.word-card.w-amber { background: linear-gradient(180deg, #fffaf0 0%, #fff7e6 100%); }
.word-card.w-gold { background: linear-gradient(180deg, #fffdf2 0%, #fef9dc 100%); }
.word-card.w-mint { background: linear-gradient(180deg, #f3fcf8 0%, #ebfaf3 100%); }

.word-visual {
  background: #fff;
  border-radius: 18px;
  padding: 14px;
  border: 1px solid rgba(20, 20, 40, 0.07);
  min-height: 112px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.word-visual.v-gold {
  background: linear-gradient(135deg, #fde68a, #f9d976);
  align-items: center;
}
.word-visual.v-dark {
  background: #0f292e;
  align-items: center;
}

.token-bar-bg {
  height: 10px;
  border-radius: 999px;
  background: rgba(240, 138, 0, 0.14);
  overflow: hidden;
  margin: 8px 0;
}
.token-bar-fill {
  width: 32%;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffb020, #f07b00);
}
.token-cats {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--faint);
}

.api-pill-dark {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 10px 16px;
  color: #5eead4;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13.5px;
  letter-spacing: 0.04em;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.word-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 2px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  margin-bottom: 8px;
}
.word-h3 { margin: 0 0 8px; font-size: 20px; font-weight: 900; }
.word-p { margin: 0 0 14px; font-size: 13.5px; color: var(--muted); flex: 1; }
.word-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.word-mini-box {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(20, 20, 40, 0.07);
  border-radius: 12px;
  padding: 8px 10px;
  font-size: 11.5px;
}
.word-mini-box b { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink); }

/* 6. Interactive 4-Tab Beginner Guide */
.who-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.who-tab {
  background: rgba(255, 255, 255, 0.78);
  border: 1.5px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  padding: 14px;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}
.who-tab:hover { transform: translateY(-2px); }
.who-tab.is-active {
  background: #fff;
  border-color: var(--c-home);
  box-shadow: 0 10px 26px rgba(109, 91, 255, 0.14);
}
.who-tab-title { font-size: 14.5px; font-weight: 800; color: var(--ink); }
.who-tab-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

.guide-panel {
  background: rgba(255, 255, 255, 0.84);
  backdrop-filter: blur(22px);
  border: 1px solid #fff;
  border-radius: 26px;
  padding: 22px;
  box-shadow: var(--g-lift);
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.guide-step-card {
  background: #fff;
  border: 1px solid rgba(20, 20, 40, 0.08);
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.guide-step-num {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  background: var(--c-home);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guide-step-dur {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  color: var(--c-home);
  background: rgba(109, 91, 255, 0.1);
  padding: 2px 9px;
  border-radius: 999px;
}
.guide-step-btn {
  margin-top: auto;
  display: block;
  text-align: center;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(109, 91, 255, 0.1);
  color: var(--c-home);
  font-size: 13px;
  font-weight: 700;
}
.guide-step-btn:hover { background: rgba(109, 91, 255, 0.18); }

/* 7. Gold Coin Economy Loop */
.flow2 {
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  gap: 18px;
  align-items: center;
}

.flow-box {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid #fff;
  border-radius: 24px;
  padding: 18px;
  box-shadow: var(--g-lift);
}
.flow-box.fb-earn { background: linear-gradient(180deg, #fffbf0 0%, #fff 100%); }
.flow-box.fb-spend { background: linear-gradient(180deg, #f8f5ff 0%, #fff 100%); }

.flow-head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
}
.flow-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid rgba(20, 20, 40, 0.06);
  border-radius: 14px;
  margin-bottom: 8px;
  font-size: 13px;
}
.flow-center-coin {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.flow-center-coin img {
  width: 112px;
  height: 112px;
  filter: drop-shadow(0 12px 24px rgba(180, 125, 22, 0.35));
}

/* 8. Monthly Offers */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.offer-card-pool {
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #fff;
  border-radius: 26px;
  padding: 22px 24px;
  box-shadow: var(--g-lift);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 20px;
  align-items: center;
}
.offer-card-gpt {
  background: linear-gradient(155deg, #ebfbf3 0%, #fff 55%);
  border: 1px solid #fff;
  border-radius: 26px;
  padding: 22px 24px;
  box-shadow: var(--g-lift);
}
.offer-card-claude {
  background: radial-gradient(circle at 80% 100%, rgba(56, 189, 248, 0.35), transparent 55%), #0c0d14;
  color: #fff;
  border-radius: 26px;
  padding: 22px 24px;
  box-shadow: 0 18px 42px rgba(12, 13, 20, 0.3);
}

/* 10. Accordion FAQ */
.faq2 {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 28px;
  align-items: start;
}
.faq-side {
  position: sticky;
  top: 88px;
}
.faq-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 16px;
}
.faq-pill {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(20, 20, 40, 0.1);
  background: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.faq-pill.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #fff;
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(30, 38, 70, 0.05);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  background: transparent;
  border: none;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  text-align: left;
  font-size: 15px;
  font-weight: 800;
  color: var(--ink);
  cursor: pointer;
}
.faq-a {
  display: none;
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
}
.faq-item.is-open .faq-a { display: block; }
.faq-item.is-open .faq-chev { transform: rotate(180deg); }
.faq-chev { transition: transform 0.2s ease; }

/* 11. 5-Column Homepage Footer */
.home-footer {
  margin-top: 64px;
  padding: 36px 24px 26px;
  border-top: 1px solid rgba(20, 20, 40, 0.08);
  display: grid;
  grid-template-columns: 1.6fr repeat(4, 1fr);
  gap: 24px;
}
.footer-col-title { font-size: 13.5px; font-weight: 800; margin-bottom: 10px; color: var(--ink); }
.footer-col a { display: block; font-size: 13px; color: var(--muted); padding: 4px 0; }
.footer-col a:hover { color: var(--c-home); }

/* Breakpoints */
@media (max-width: 1180px) {
  .facts3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1080px) {
  .pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .words, .flow2, .faq2, .offer-card-pool, .offers-grid { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .who-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .facts3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: 1fr; }
  .hero3 { min-height: 410px; padding-top: 18px; }
  .hero-pill { font-size: 12px; text-align: left; max-width: 100%; }
  .hero-orbs { height: 105px; }
  .hero-orb.o-center { width: 112px; }
  .hero-orb.o-left, .hero-orb.o-right { width: 82px; }
  .offer-bar { flex-wrap: wrap; }
  .home-footer { grid-template-columns: 1fr; }
}
