/* Archetype 4: Vertical Ladder Ascendance Timeline (qingyunticloud.best) */
:root {
  --primary: #059669;
  --secondary: #10b981;
  --accent: #6ee7b7;
  --bg: #040e0c;
  --panel: #0a1f1b;
  --border: #143d35;
  --text: #ecfdf5;
  --muted: #82a89f;
  --link-color: #6ee7b7;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", serif; line-height: 1.7; }
a { color: var(--link-color); text-decoration: none; }
a:visited { color: var(--link-color); }
a:hover { color: var(--primary); text-decoration: underline; }

/* Centered Crest Header */
.crest-header { border-bottom: 1px solid var(--border); padding: 18px 0; background: rgba(4, 14, 12, 0.95); position: sticky; top: 0; z-index: 99; }
.crest-inner { max-width: 1100px; margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; }
.crest-logo { display: flex; align-items: center; gap: 10px; font-size: 24px; font-weight: 800; color: var(--text); letter-spacing: 2px; }
.crest-seal { width: 34px; height: 34px; border: 2px solid var(--accent); border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; font-size: 16px; color: var(--accent); font-weight: 900; }
.crest-menu { list-style: none; display: flex; gap: 24px; }
.crest-menu a { font-size: 15px; color: var(--muted); }
.crest-menu a:hover { color: var(--accent); }

/* Vertical Ladder Hero */
.ladder-hero { max-width: 1000px; margin: 60px auto 40px; padding: 0 24px; text-align: center; }
.ladder-hero-subtitle { font-size: 14px; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); margin-bottom: 16px; }
.ladder-hero-h1 { font-size: 52px; font-weight: 900; line-height: 1.2; margin-bottom: 24px; letter-spacing: 1px; }
.ladder-hero-h1 span { color: var(--accent); }
.ladder-hero-desc { font-size: 18px; color: var(--muted); max-width: 680px; margin: 0 auto 32px; }
.ladder-hero-art { max-width: 440px; margin: 20px auto 40px; }
.ladder-hero-cta { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; }
.btn-jade-primary { background: var(--primary); color: #fff !important; padding: 12px 30px; border-radius: 6px; font-weight: 700; font-size: 15px; text-decoration: none !important; }
.btn-jade-outline { border: 1px solid var(--accent); color: var(--accent) !important; padding: 12px 28px; border-radius: 6px; font-weight: 700; font-size: 15px; text-decoration: none !important; }

/* Staircase Vertical Timeline (平步青云四重境) */
.timeline-section { max-width: 860px; margin: 80px auto; padding: 0 24px; position: relative; }
.timeline-track { position: absolute; left: 48px; top: 0; bottom: 0; width: 2px; background: var(--border); }
.timeline-step { display: flex; gap: 32px; margin-bottom: 48px; position: relative; }
.timeline-node { width: 50px; height: 50px; border-radius: 50%; background: var(--panel); border: 2px solid var(--primary); display: flex; align-items: center; justify-content: center; color: var(--accent); font-weight: 900; flex-shrink: 0; z-index: 2; }
.timeline-body { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 24px; flex-grow: 1; }
.timeline-body h3 { font-size: 20px; margin-bottom: 8px; color: var(--accent); }
.timeline-body p { font-size: 15px; color: var(--muted); }

/* Jade Scroll Pricing Cards */
.scroll-pricing { max-width: 1100px; margin: 80px auto; padding: 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scroll-card { background: var(--panel); border: 2px solid var(--border); border-radius: 12px; padding: 36px 28px; text-align: center; }
.scroll-card.elevated { border-color: var(--primary); box-shadow: 0 0 30px rgba(5, 150, 105, 0.2); }
.scroll-price { font-size: 40px; font-weight: 900; margin: 16px 0; color: var(--text); }

/* Oriental Triptych Footer */
.crest-footer { border-top: 1px solid var(--border); padding: 60px 24px 30px; background: #020706; margin-top: 80px; }
.crest-footer-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 40px; }
.crest-footer-col h4 { font-size: 16px; color: var(--accent); margin-bottom: 16px; }
.crest-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 14px; }

@media (max-width: 800px) {
  .ladder-hero-h1 { font-size: 34px; }
  .scroll-pricing { grid-template-columns: 1fr; }
  .crest-footer-inner { grid-template-columns: 1fr; }
  .timeline-track { left: 24px; }
  .timeline-step { gap: 16px; }
  .timeline-node { width: 36px; height: 36px; font-size: 13px; }
}


/* ==========================================================================
   Hero SVG Motion Core & Animation Keyframes (Guaranteed Visibility)
   ========================================================================== */
.motion-art-frame {
  width: 100% !important;
  max-width: 480px !important;
  min-height: 280px !important;
  margin: 0 auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  position: relative !important;
  flex-shrink: 0 !important;
}

.motion-svg {
  width: 100% !important;
  max-width: 480px !important;
  height: auto !important;
  min-height: 260px !important;
  display: block !important;
  overflow: visible !important;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.65)) !important;
}

@keyframes glowPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes creamBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

@keyframes berryFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-6px) rotate(4deg); }
}

@keyframes strawShake {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-2.5deg); }
}

@keyframes bubbleFloat {
  0% { transform: translateY(0); opacity: 0.25; }
  50% { opacity: 0.9; }
  100% { transform: translateY(-24px); opacity: 0; }
}

@keyframes ringFloat {
  0%, 100% { transform: translateY(0) rotate(-12deg); }
  50% { transform: translateY(-10px) rotate(-8deg); }
}

@keyframes runeShimmer {
  0%, 100% { opacity: 0.35; stroke-dashoffset: 0; }
  50% { opacity: 1; stroke-dashoffset: 24; }
}

@keyframes spinCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes spinCCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes stepPulse {
  0%, 100% { opacity: 0.7; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-4px); }
}

@keyframes cloudDrift {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(16px); }
}

@keyframes rayAscend {
  0% { stroke-dashoffset: 20; opacity: 0.2; }
  50% { opacity: 0.95; }
  100% { stroke-dashoffset: 0; opacity: 0.2; }
}

.glow-pulse { animation: glowPulse 4s ease-in-out infinite; transform-origin: center; }
.cream-bounce { animation: creamBounce 3.5s ease-in-out infinite; }
.berry-float { animation: berryFloat 3s ease-in-out infinite; transform-origin: 230px 85px; }
.straw-shake { animation: strawShake 4s ease-in-out infinite; transform-origin: 210px 250px; }
.bubble-float-1 { animation: bubbleFloat 3s ease-in-out infinite; }
.bubble-float-2 { animation: bubbleFloat 4.2s ease-in-out infinite 0.8s; }
.bubble-float-3 { animation: bubbleFloat 3.6s ease-in-out infinite 1.5s; }

.ring-float { animation: ringFloat 5s ease-in-out infinite; }
.rune-shimmer { animation: runeShimmer 3s ease-in-out infinite; }
.orbital-spin { animation: spinCW 25s linear infinite; transform-origin: 230px 180px; }
.ring-spin-cw { animation: spinCW 18s linear infinite; transform-origin: 230px 180px; }
.ring-spin-ccw { animation: spinCCW 24s linear infinite; transform-origin: 230px 180px; }

.step-pulse-1 { animation: stepPulse 3s ease-in-out infinite 0s; }
.step-pulse-2 { animation: stepPulse 3s ease-in-out infinite 0.7s; }
.step-pulse-3 { animation: stepPulse 3s ease-in-out infinite 1.4s; }
.step-pulse-4 { animation: stepPulse 3s ease-in-out infinite 2.1s; }
.cloud-drift-1 { animation: cloudDrift 6s ease-in-out infinite; }
.cloud-drift-2 { animation: cloudDrift 7s ease-in-out infinite 1s; }
.ray-ascend { animation: rayAscend 2.5s linear infinite; }
.crystal-spin { animation: spinCW 12s linear infinite; transform-origin: center; }
.mint-leaf-float { animation: berryFloat 4s ease-in-out infinite; transform-origin: 230px 95px; }

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