/* ==========================================================================
   Base, 48px Sticky Topbar, 2-Column Animated Keynote Hero, Category Strip & Footer
   1:1 复刻 suzhe.ai 全部 @keyframes 动效与滚动显隐系统
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg-page);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.47;
  color: var(--ink-primary);
  background: var(--bg-page);
  overflow-x: hidden;
}

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
}

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

.is-hidden {
  display: none !important;
}

.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;
}

.mono {
  font-family: var(--font-mono);
}

.wrap {
  width: min(var(--max-w), 100% - 2 * var(--gut));
  margin: 0 auto;
}

/* ---------- 1:1 suzhe.ai Keyframe Library ---------- */
@keyframes gxRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes gxLetter {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    letter-spacing: -0.02em;
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes gxSweep {
  from {
    background-position: 120% 0, 0 0;
  }
  to {
    background-position: -30% 0, 0 0;
  }
}

@keyframes gxPing {
  0% {
    transform: scale(0.6);
    opacity: 1;
  }
  80%,
  100% {
    transform: scale(2.1);
    opacity: 0;
  }
}

@keyframes gxSpin {
  to {
    transform: rotate(1turn);
  }
}

@keyframes gxStarIn {
  from {
    opacity: 0;
    transform: scale(0.84);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes gxStarOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(1.04);
  }
}

@keyframes v3Rise {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes v3Pop {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.86);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes v3Fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes v3Blink {
  50% {
    opacity: 0.3;
  }
}

@keyframes v3Hl {
  0%,
  60% {
    box-shadow: 0 0 0 3px var(--blue), 0 12px 30px rgba(0, 113, 227, 0.18);
  }
  100% {
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  }
}

@keyframes v3ModalIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes v3SheetUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: none;
    opacity: 1;
  }
}

@keyframes ackNudge {
  0%,
  100% {
    transform: none;
  }
  25% {
    transform: translateX(-5px);
  }
  60% {
    transform: translateX(4px);
  }
}

/* ---------- Scroll Reveal (.rv -> .rv.in) ---------- */
.rv {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 1s var(--ease);
}

.rv.in {
  opacity: 1;
  transform: none;
}

.rv-d1 {
  transition-delay: 0.06s;
}

.rv-d2 {
  transition-delay: 0.12s;
}

.rv-d3 {
  transition-delay: 0.18s;
}

.is-highlighted {
  animation: v3Hl 1.8s var(--ease) both;
}

.is-nudge {
  animation: ackNudge 0.36s var(--ease);
}

/* ---------- 48px Frosted Topbar (.gnav) ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  height: var(--nav-h);
  background: var(--bg-nav);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

.topbar-inner {
  width: min(1200px, 100% - 2 * var(--gut));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f5f5f7;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand-link:hover {
  text-decoration: none;
}

.brand-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #f5f5f7;
  color: #000000;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-item {
  border: none;
  background: transparent;
  padding: 4px 0;
  color: rgba(245, 245, 247, 0.78);
  font-size: 13px;
  font-weight: 400;
  transition: color 0.2s var(--ease);
}

.nav-item:hover,
.nav-item.is-active {
  color: #ffffff;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-login-pill {
  border: none;
  background: #f5f5f7;
  color: #1d1d1f;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 15px;
  border-radius: var(--r-pill);
  transition: background-color 0.2s var(--ease), transform 0.14s var(--ease);
}

.nav-login-pill:hover {
  background: #ffffff;
}

.nav-login-pill:active {
  transform: scale(0.97);
}

.mobile-menu-btn {
  display: none;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: #f5f5f7;
  font-size: 20px;
  line-height: 1;
  align-items: center;
  justify-content: center;
}

/* Full-Viewport High-Contrast Mobile Menu */
.mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: #0d0d0f;
  padding: 16px 24px 32px;
  overflow-y: auto;
  animation: v3Fade 0.22s var(--ease) both;
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  margin-bottom: 24px;
}

.mobile-close-btn {
  border: none;
  background: transparent;
  color: #f5f5f7;
  font-size: 24px;
  line-height: 1;
  padding: 4px 8px;
}

.mobile-drawer-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer-item {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  color: #f5f5f7;
  font-size: 24px;
  font-weight: 600;
  padding: 14px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-drawer-item.is-active {
  color: var(--link-dark);
}

/* ---------- 1:1 suzhe.ai Animated 2-Column Keynote Hero (.hero.gx) ---------- */
.hero-keynote {
  position: relative;
  background: #000000;
  color: var(--ink-on-dark);
  overflow: hidden;
}

.hero-gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  transition: opacity 1.4s var(--ease);
}

.hero-keynote.is-gl-ready .hero-gl {
  opacity: 1;
}

.hero-gx-wrap {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  min-height: 600px;
  height: clamp(540px, calc(100svh - 160px), 650px);
  margin: 0 auto;
  padding: 36px 22px 24px;
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  column-gap: clamp(20px, 3.5vw, 64px);
  align-items: center;
}

.hero-gx-copy {
  text-align: left;
  position: relative;
  z-index: 3;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #86868b;
  margin-bottom: 16px;
  animation: gxRise 1s var(--spring) 0.1s both;
}

.kicker-dot {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4285f4;
  box-shadow: 0 0 10px rgba(66, 133, 244, 0.9);
}

.kicker-dot::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1.5px solid rgba(66, 133, 244, 0.78);
  animation: gxPing 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}

/* Dual-layer metallic gradient + animated diagonal light sheen sweep */
.hero-display {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(54px, 6.2vw, 88px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.04em;
  background-image:
    linear-gradient(112deg, transparent 36%, rgba(255, 255, 255, 0.95) 48%, rgba(164, 212, 255, 0.95) 52%, transparent 64%),
    linear-gradient(180deg, #ffffff 28%, #a6a6b0 100%);
  background-size: 240% 100%, 100% 100%;
  background-position: 120% 0, 0 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation:
    gxLetter 1.3s var(--spring) 0.18s both,
    gxSweep 2.2s var(--ease) 1.15s both;
}

.hero-mi {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 26px);
  font-weight: 600;
  letter-spacing: 0.34em;
  animation: gxRise 1.1s var(--spring) 0.36s both;
}

.hero-mi-accent {
  background: linear-gradient(90deg, #7ab7ff 0%, #a78bfa 50%, #5eead4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-mi-plain {
  color: #f5f5f7;
}

.hero-mi-rule {
  flex: 0 0 46px;
  height: 1px;
  background: linear-gradient(90deg, rgba(122, 183, 255, 0.6), transparent);
}

.hero-tagline {
  margin: 18px 0 0;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.42;
  color: #a1a1a6;
  animation: gxRise 1.1s var(--spring) 0.45s both;
}

.hero-price {
  margin: 34px 0 0;
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #ffffff;
  animation: gxRise 1.1s var(--spring) 0.65s both;
}

.hero-price-cur {
  font-size: 0.54em;
  color: #a1a1a6;
  margin-right: 2px;
}

.hero-price-unit {
  font-size: 16px;
  font-weight: 400;
  color: #86868b;
  margin-left: 6px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 26px;
  margin-top: 26px;
  animation: gxRise 1.1s var(--spring) 0.82s both;
}

/* 1:1 suzhe.ai rotating conic-gradient glow ring button (.gx-buy) */
.btn-hero-white {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 2px;
  border-radius: 999px;
  border: none;
  background: transparent;
  overflow: hidden;
  box-shadow: 0 10px 30px -8px rgba(49, 134, 255, 0.72), 0 0 0 1px rgba(255, 255, 255, 0.18);
  transition: transform 0.24s var(--ease), box-shadow 0.24s var(--ease);
}

.btn-hero-white::before {
  content: "";
  position: absolute;
  inset: -60%;
  background: conic-gradient(from 0deg, #3186ff, #a78bfa, #5eead4, #f5b96b, #3186ff);
  animation: gxSpin 5s linear infinite;
  z-index: 0;
}

.btn-hero-white-inner {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 24px 0 28px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ffffff, #eef0f6);
  color: #0a0a0c;
  font-size: 16px;
  font-weight: 600;
}

.hero-arrow {
  display: inline-block;
  transition: transform 0.24s var(--spring);
}

.btn-hero-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px -8px rgba(49, 134, 255, 0.88), 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.btn-hero-white:hover .hero-arrow {
  transform: translateX(3px);
}

.btn-hero-white:active {
  transform: scale(0.97);
}

.link-hero-blue {
  border: none;
  background: transparent;
  color: var(--link-dark);
  font-size: 16px;
  font-weight: 400;
  padding: 8px 4px;
  transition: color 0.2s var(--ease);
}

.link-hero-blue:hover {
  color: #6ab7ff;
  text-decoration: underline;
}

.hero-gx-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  pointer-events: none;
}

.hero-visual-img {
  width: min(100%, 460px);
  max-height: 460px;
  object-fit: contain;
  animation: gxStarIn 1.1s var(--spring) 0.2s both;
  filter: drop-shadow(0 0 42px rgba(74, 146, 255, 0.35));
}

.hero-keynote.is-gl-ready .hero-visual-img {
  animation: gxStarOut 1.2s var(--ease) both;
}

/* ---------- 1:1 White Category Icon Bar + Search (.pnav) ---------- */
.category-band {
  background: #ffffff;
  padding: 26px 0 24px;
  border-bottom: 1px solid var(--line-light);
}

.cat-icon-strip {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  overflow-x: auto;
  padding: 6px 12px 4px;
  scrollbar-width: none;
}

.cat-icon-strip::-webkit-scrollbar {
  display: none;
}

.cat-icon-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  border: none;
  background: transparent;
  width: 82px;
  padding: 6px 2px 8px;
  flex-shrink: 0;
  color: var(--ink-primary);
}

.cat-icon-tile {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--spring), background-color 0.2s var(--ease);
}

.cat-icon-btn:hover .cat-icon-tile {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05), 0 10px 22px rgba(0, 0, 0, 0.09);
}

.cat-icon-btn.is-active .cat-icon-tile {
  background: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 10px 22px rgba(0, 0, 0, 0.1), 0 0 0 1.5px var(--ink-primary);
}

.cat-icon-tile img {
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.cat-icon-label {
  font-size: 12px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--ink-primary);
}

.search-wrap {
  position: relative;
  width: min(560px, 100%);
  margin: 16px auto 0;
}

.search-input-minimal {
  width: 100%;
  height: 44px;
  padding: 0 20px 0 46px;
  border-radius: var(--r-pill);
  border: none;
  background: #f5f5f7;
  color: var(--ink-primary);
  font-size: 15px;
  outline: none;
  transition: background-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.search-input-minimal:focus {
  background: #ffffff;
  box-shadow: 0 0 0 2px var(--blue);
}

.search-glyph {
  position: absolute;
  left: 17px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-light);
  font-size: 17px;
  pointer-events: none;
}

.search-results-bar {
  margin-top: 22px;
}

/* ---------- Alternating Gray / White Showcase Bands ---------- */
.sec {
  padding: 60px 0 72px;
}

.sec-gray {
  background: var(--bg-page);
}

.sec-white {
  background: #ffffff;
}

.sec-shelf {
  padding: 64px 0 24px;
}

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-bottom: 40px;
}

.sec-head-tight {
  margin-bottom: 20px;
}

.apple-heading {
  margin: 0;
  max-width: 820px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink-primary);
}

.apple-heading-muted {
  color: var(--ink-muted);
}

.heading-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.text-action-link {
  border: none;
  background: transparent;
  padding: 0;
  color: var(--link);
  font-size: 14px;
  font-weight: 400;
}

.text-action-link:hover {
  text-decoration: underline;
}

.shelf-arrows {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.shelf-arrow-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--bg-pill);
  color: var(--ink-secondary);
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s var(--ease), opacity 0.2s var(--ease), transform 0.14s var(--ease);
}

.shelf-arrow-btn:hover:not(:disabled) {
  background: #dcdce2;
}

.shelf-arrow-btn:active:not(:disabled) {
  transform: scale(0.94);
}

.shelf-arrow-btn:disabled {
  opacity: 0.34;
  cursor: default;
}

/* Quiet Payment Strip & Collapsible FAQ */
.quiet-trust-row {
  text-align: center;
  padding: 28px 0 12px;
  font-size: 13px;
  color: var(--ink-muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.faq-minimal {
  max-width: 780px;
  margin: 28px auto 0;
  border-top: 1px solid var(--line-light);
}

.faq-row {
  border-bottom: 1px solid var(--line-light);
}

.faq-row summary {
  list-style: none;
  padding: 16px 4px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-row summary::-webkit-details-marker {
  display: none;
}

.faq-row summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-light);
}

.faq-row[open] summary::after {
  content: "−";
}

.faq-row p {
  margin: 0 0 16px;
  padding: 0 4px;
  font-size: 14px;
  color: var(--ink-secondary);
  line-height: 1.6;
}

/* ---------- Sub-page Shell ---------- */
.subpage-wrap {
  padding: 48px 0 96px;
  min-height: calc(100vh - 220px);
}

/* ---------- Quiet Apple Footer ---------- */
.site-footer {
  background: var(--bg-page);
  border-top: 1px solid var(--line-input);
  padding: 28px 0 88px;
  color: var(--ink-muted);
  font-size: 12px;
}

.footer-notes {
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line-light);
  display: flex;
  flex-direction: column;
  gap: 6px;
  line-height: 1.65;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: 24px;
}

.footer-col h4 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-primary);
}

.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-btn {
  border: none;
  background: transparent;
  padding: 0;
  color: var(--ink-secondary);
  font-size: 12px;
  text-align: left;
}

.footer-btn:hover {
  color: var(--ink-primary);
  text-decoration: underline;
}

.footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--line-light);
}

.mode-quiet-btn {
  border: none;
  background: transparent;
  color: var(--ink-light);
  font-size: 12px;
  padding: 0;
}

.mode-quiet-btn:hover {
  color: var(--ink-primary);
  text-decoration: underline;
}

@media (max-width: 960px) {
  .hero-gx-wrap {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 670px;
    padding: 36px 20px 28px;
    text-align: center;
  }

  .hero-gx-copy {
    text-align: center;
  }

  .hero-mi,
  .hero-actions {
    justify-content: center;
  }

  .hero-gx-stage {
    min-height: 300px;
    margin-top: 18px;
  }

  .hero-visual-img {
    max-height: 260px;
  }
}

@media (max-width: 780px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .cat-icon-strip {
    justify-content: flex-start;
  }

  .footer-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .rv {
    opacity: 1;
    transform: none;
  }
}
