/* Archetype 5: Swiss Clean / Pure Outline Grid (qingyunticloud.cfd) */
:root {
  --primary: #15803d;
  --secondary: #22c55e;
  --accent: #86efac;
  --bg: #050a07;
  --border: #1a3020;
  --text: #f0fdf4;
  --muted: #849988;
  --link-color: #86efac;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; line-height: 1.6; }
a { color: var(--link-color); text-decoration: none; }
a:visited { color: var(--link-color); }
a:hover { color: var(--primary); text-decoration: underline; }

/* Wireframe Header (Borders only) */
.wire-nav { border-bottom: 1px solid var(--border); padding: 20px 0; background: var(--bg); position: sticky; top: 0; z-index: 99; }
.wire-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wire-nav-inner { display: flex; justify-content: space-between; align-items: center; }
.wire-logo { font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; }
.wire-menu { list-style: none; display: flex; gap: 28px; }
.wire-menu a { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); }
.wire-menu a:hover { color: var(--text); }
.btn-wire-cta { border: 1px solid var(--text); padding: 8px 18px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--text) !important; text-decoration: none !important; }
.btn-wire-cta:hover { background: var(--text); color: var(--bg) !important; }

/* Left Artwork + Right Heavy Typography Hero */
.wire-hero { padding: 60px 0; border-bottom: 1px solid var(--border); }
.wire-hero-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: center; }
.wire-hero-title { font-size: 48px; font-weight: 900; line-height: 1.15; margin-bottom: 20px; }
.wire-hero-title span { color: var(--secondary); }
.wire-hero-p { font-size: 17px; color: var(--muted); margin-bottom: 28px; }
.wire-hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* Wireframe Grid Blocks (No background cards, borders only) */
.wire-grid-section { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--border); }
.wire-grid-block { padding: 40px 24px; border-right: 1px solid var(--border); }
.wire-grid-block:last-child { border-right: none; }
.wire-block-num { font-size: 12px; font-family: monospace; color: var(--secondary); margin-bottom: 16px; }
.wire-grid-block h3 { font-size: 20px; margin-bottom: 10px; font-weight: 700; }
.wire-grid-block p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* Staircase Elevation Pricing (Cards at increasing heights) */
.staircase-section { padding: 80px 0; border-bottom: 1px solid var(--border); }
.staircase-deck { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: flex-end; margin-top: 40px; }
.stair-card { border: 1px solid var(--border); padding: 32px; display: flex; flex-direction: column; }
.stair-card.tier-1 { min-height: 340px; }
.stair-card.tier-2 { min-height: 380px; border-color: var(--secondary); }
.stair-card.tier-3 { min-height: 420px; }
.stair-price { font-size: 36px; font-weight: 900; margin: 16px 0; }

/* Four Col Clean Footer */
.wire-footer { padding: 60px 0 30px; }
.wire-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.wire-footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 2px; color: var(--secondary); margin-bottom: 16px; }
.wire-footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13px; }

@media (max-width: 900px) {
  .wire-hero-grid { grid-template-columns: 1fr; }
  .wire-grid-section { grid-template-columns: 1fr 1fr; }
  .staircase-deck { grid-template-columns: 1fr; align-items: stretch; }
  .wire-footer-grid { grid-template-columns: 1fr; }
  .wire-menu { display: none; }
}


/* ==========================================================================
   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;
  }
}
