/* ============================================================
   刻晴汉化工作流 · 静态版样式
   Keqing signature palette: electro violet + starlight gold
   ============================================================ */

:root {
  --kq-bg: #0A0612;
  --kq-bg-2: #14091F;
  --kq-violet: #8B5CF6;
  --kq-violet-deep: #5B21B6;
  --kq-violet-light: #A855F7;
  --kq-lavender: #C4B5FD;
  --kq-gold: #F5D76E;
  --kq-gold-deep: #D4AF37;
  --kq-electric: #67E8F9;
  --kq-starlight: #F5F3FF;
  --font-serif: 'Noto Serif SC', serif;
  --font-cinzel: 'Cinzel', serif;
  --font-sans: 'Noto Sans SC', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(139, 92, 246, 0.22), transparent 60%),
    radial-gradient(ellipse 60% 50% at 90% 20%, rgba(245, 215, 110, 0.10), transparent 55%),
    radial-gradient(ellipse 70% 60% at 10% 80%, rgba(103, 232, 249, 0.10), transparent 55%),
    linear-gradient(180deg, #0A0612 0%, #0D0718 50%, #0A0612 100%);
  background-attachment: fixed;
  color: var(--kq-starlight);
  font-family: var(--font-sans);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

main { flex: 1; position: relative; z-index: 10; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ============ Liquid glass ============ */
.kq-glass {
  background: linear-gradient(135deg, rgba(196, 181, 253, 0.08), rgba(139, 92, 246, 0.04));
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(196, 181, 253, 0.18);
  box-shadow:
    inset 0 1px 0 rgba(245, 243, 255, 0.12),
    inset 0 -1px 0 rgba(91, 33, 182, 0.25),
    0 20px 60px -20px rgba(91, 33, 182, 0.5);
  position: relative;
}
.kq-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(196, 181, 253, 0.4), transparent 30%, transparent 70%, rgba(245, 215, 110, 0.3));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.6;
}

/* ============ Animations ============ */
@keyframes kq-breathe {
  0%, 100% { box-shadow: 0 0 30px -5px rgba(139, 92, 246, 0.4), 0 0 60px -10px rgba(139, 92, 246, 0.2); }
  50% { box-shadow: 0 0 50px 0px rgba(139, 92, 246, 0.7), 0 0 90px -10px rgba(168, 85, 247, 0.4); }
}
.kq-breathe { animation: kq-breathe 4s ease-in-out infinite; }

@keyframes kq-gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.kq-text-gradient {
  background: linear-gradient(120deg, #F5D76E 0%, #C4B5FD 30%, #A855F7 55%, #67E8F9 80%, #F5D76E 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: kq-gradient-shift 8s ease-in-out infinite;
}
.kq-text-violet {
  background: linear-gradient(135deg, #C4B5FD 0%, #A855F7 50%, #8B5CF6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

@keyframes kq-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}
.kq-float { animation: kq-float 6s ease-in-out infinite; }
.kq-float-slow { animation: kq-float 9s ease-in-out infinite; }

@keyframes kq-lightning {
  0%, 92%, 100% { opacity: 0; stroke-dashoffset: 200; }
  93%, 96% { opacity: 1; stroke-dashoffset: 0; }
  97%, 99% { opacity: 0.6; }
}
.kq-lightning {
  stroke-dasharray: 200;
  animation: kq-lightning 7s linear infinite;
}

@keyframes kq-twinkle {
  0%, 100% { opacity: 0.2; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.2); }
}

@keyframes kq-shimmer {
  0% { transform: translateX(-150%) skewX(-20deg); }
  100% { transform: translateX(250%) skewX(-20deg); }
}
.kq-shimmer { position: relative; overflow: hidden; }
.kq-shimmer::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(245, 243, 255, 0.18), transparent);
  animation: kq-shimmer 4s ease-in-out infinite;
  pointer-events: none;
}

@keyframes kq-pulse-ring {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.4); opacity: 0; }
}
.kq-pulse-ring::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(139, 92, 246, 0.6);
  animation: kq-pulse-ring 2.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

@keyframes kq-flip-in {
  from { opacity: 0; transform: translateY(20px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}
.kq-flip-in { animation: kq-flip-in 0.6s cubic-bezier(0.16, 1, 0.3, 1) both; }

/* ============ Reveal on scroll ============ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ Hover glow ============ */
.kq-glow-hover {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.kq-glow-hover:hover {
  transform: translateY(-6px);
  box-shadow:
    0 0 0 1px rgba(196, 181, 253, 0.3),
    0 0 40px -5px rgba(139, 92, 246, 0.6),
    0 30px 60px -20px rgba(91, 33, 182, 0.6);
}

.kq-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(196, 181, 253, 0.4), transparent);
}

/* ============ Layout helpers ============ */
.container { max-width: 80rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 640px) { .container { padding-left: 1.5rem; padding-right: 1.5rem; } }

.section { padding-top: 6rem; padding-bottom: 6rem; }
@media (min-width: 640px) { .section { padding-top: 8rem; padding-bottom: 8rem; } }

.eyebrow {
  font-family: var(--font-cinzel);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: rgba(245, 215, 110, 0.7);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.1;
}
@media (min-width: 640px) { .section-title { font-size: 3rem; } }

.section-sub {
  margin-top: 1rem;
  color: rgba(196, 181, 253, 0.7);
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
}

.text-center { text-align: center; }

/* ============ Navbar ============ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 1rem;
  transition: padding 0.5s ease;
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0.5rem 1rem;
  transition: all 0.5s ease;
}
.navbar.scrolled { padding: 0.5rem 1rem; }
.navbar.scrolled .navbar-inner {
  border-radius: 1rem;
  padding-top: 0.625rem;
  padding-bottom: 0.625rem;
}

.brand { display: flex; align-items: center; gap: 0.625rem; }
.brand-icon { width: 2rem; height: 2rem; transition: transform 0.7s ease; }
.brand:hover .brand-icon { transform: rotate(180deg); }
.brand-name { font-family: var(--font-serif); font-size: 1rem; font-weight: 700; line-height: 1; }
.brand-sub { font-family: var(--font-cinzel); font-size: 0.625rem; letter-spacing: 0.25em; color: rgba(196, 181, 253, 0.6); }

.nav-links { display: none; align-items: center; gap: 0.25rem; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-link {
  position: relative;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: rgba(196, 181, 253, 0.8);
  transition: color 0.3s ease;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.25rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--kq-gold), transparent);
  transition: width 0.5s ease;
}
.nav-link:hover { color: var(--kq-starlight); }
.nav-link:hover::after { width: 75%; }

.cta-btn {
  position: relative;
  overflow: hidden;
  border-radius: 9999px;
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--kq-bg);
  background: linear-gradient(120deg, #F5D76E, #C4B5FD);
  box-shadow: 0 0 24px -4px rgba(245, 215, 110, 0.5);
}

/* ============ Hero ============ */
.hero { position: relative; padding-top: 8rem; padding-bottom: 5rem; text-align: center; }
@media (min-width: 640px) { .hero { padding-top: 10rem; padding-bottom: 7rem; } }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.375rem 1rem;
  margin-bottom: 2rem;
}
.dot-ping { position: relative; display: inline-flex; width: 0.5rem; height: 0.5rem; }
.dot-ping::before {
  content: ''; position: absolute; inset: 0; border-radius: 9999px;
  background: var(--kq-gold); opacity: 0.75;
  animation: kq-ping 1.5s cubic-bezier(0,0,0.2,1) infinite;
}
.dot-ping::after { content: ''; position: absolute; inset: 0; border-radius: 9999px; background: var(--kq-gold); }
@keyframes kq-ping { 75%,100% { transform: scale(2); opacity: 0; } }

.hero-badge-text { font-size: 0.75rem; letter-spacing: 0.05em; color: var(--kq-lavender); }
@media (min-width: 640px) { .hero-badge-text { font-size: 0.875rem; } }

.hero-title {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-size: 3rem;
}
@media (min-width: 640px) { .hero-title { font-size: 4.5rem; } }
@media (min-width: 768px) { .hero-title { font-size: 6rem; } }

.hero-sub {
  margin: 2rem auto 0;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(196, 181, 253, 0.8);
}
@media (min-width: 640px) { .hero-sub { font-size: 1.25rem; } }

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 640px) { .hero-actions { flex-direction: row; } }

.btn-primary {
  width: 100%;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--kq-bg);
  border-radius: 9999px;
  background: linear-gradient(120deg, #F5D76E, #C4B5FD, #A855F7);
  box-shadow: 0 0 40px -8px rgba(168, 85, 247, 0.6);
  transition: transform 0.3s ease;
}
.btn-primary:hover { transform: scale(1.05); }
@media (min-width: 640px) { .btn-primary { width: auto; } }

.btn-ghost {
  width: 100%;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--kq-starlight);
  border-radius: 9999px;
}
@media (min-width: 640px) { .btn-ghost { width: auto; } }

.mini-countdown {
  margin: 3rem auto 0;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 1rem;
  padding: 0.75rem 1.25rem;
}
@media (min-width: 640px) { .mini-countdown { gap: 1.5rem; padding: 1rem 2rem; } }
.mini-countdown-label { font-size: 0.75rem; color: rgba(196, 181, 253, 0.7); }
@media (min-width: 640px) { .mini-countdown-label { font-size: 0.875rem; } }

.cd-group { display: flex; align-items: center; gap: 0.5rem; }
@media (min-width: 640px) { .cd-group { gap: 0.75rem; } }
.cd-unit { display: flex; flex-direction: column; align-items: center; }
.cd-num { font-family: var(--font-cinzel); font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (min-width: 640px) { .cd-num { font-size: 1.875rem; } }
.cd-lbl { font-size: 0.625rem; color: rgba(196, 181, 253, 0.6); }
.cd-sep { color: rgba(245, 215, 110, 0.6); font-size: 1.25rem; }

.hero-stats {
  margin: 4rem auto 0;
  max-width: 48rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(3, 1fr); } }
.stat-card { border-radius: 1rem; padding: 1.25rem; text-align: left; }
.stat-val { font-family: var(--font-cinzel); font-size: 1.875rem; font-weight: 700; }
.stat-label { margin-top: 0.25rem; font-size: 0.875rem; font-weight: 500; }
.stat-sub { font-size: 0.75rem; color: rgba(196, 181, 253, 0.6); margin-top: 0.125rem; }

/* ============ Grid ============ */
.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }

/* ============ Engine cards ============ */
.card { position: relative; border-radius: 1.5rem; padding: 1.5rem; overflow: hidden; }
.card-icon-wrap { width: 4rem; height: 4rem; margin-bottom: 1.25rem; }
.card-name { font-family: var(--font-serif); font-size: 1.25rem; font-weight: 700; color: var(--kq-starlight); margin-bottom: 0.25rem; }
.card-tag { font-family: var(--font-cinzel); font-size: 0.75rem; color: rgba(245, 215, 110, 0.8); letter-spacing: 0.05em; margin-bottom: 1rem; }
.card-desc { font-size: 0.875rem; color: rgba(196, 181, 253, 0.7); line-height: 1.6; }
.card-glow {
  position: absolute;
  top: -3rem; right: -3rem;
  width: 8rem; height: 8rem;
  border-radius: 9999px;
  opacity: 0;
  transition: opacity 0.7s ease;
  filter: blur(2.5rem);
  background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent 70%);
}
.card:hover .card-glow { opacity: 1; }

/* ============ AI demo ============ */
.demo-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
@media (min-width: 768px) { .demo-grid { grid-template-columns: 1fr 1fr; } }
.demo-label { font-size: 0.75rem; letter-spacing: 0.2em; margin-bottom: 0.75rem; }
.demo-box { border-radius: 1rem; padding: 1.25rem; font-size: 0.875rem; line-height: 1.6; }
.demo-mt { background: rgba(10, 6, 18, 0.4); border: 1px solid rgba(196, 181, 253, 0.1); color: rgba(196, 181, 253, 0.6); font-style: italic; }
.demo-kq { background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(91,33,182,0.1)); border: 1px solid rgba(245,215,110,0.3); color: var(--kq-starlight); }

/* ============ Workflow ============ */
.wf-line { display: none; }
@media (min-width: 1024px) {
  .wf-line { display: block; position: absolute; top: 4rem; left: 12.5%; right: 12.5%; height: 1px; }
  .wf-line-inner { height: 100%; width: 100%; background: linear-gradient(90deg, transparent, rgba(139,92,246,0.5), transparent); }
}
.wf-step { text-align: center; }
.wf-circle {
  position: relative;
  display: inline-flex;
  width: 8rem; height: 8rem;
  margin-bottom: 1.25rem;
}
.wf-circle-bg { position: absolute; inset: 0; border-radius: 9999px; }
.wf-circle-inner {
  position: absolute; inset: 0.5rem; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  color: var(--kq-lavender);
}
.wf-circle-inner svg { width: 3rem; height: 3rem; }
.wf-badge {
  position: absolute; top: -0.25rem; right: -0.25rem;
  width: 2rem; height: 2rem; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700; color: var(--kq-bg);
  background: linear-gradient(135deg, #F5D76E, #C4B5FD);
}
.wf-title { font-family: var(--font-serif); font-size: 1.125rem; font-weight: 700; color: var(--kq-starlight); margin-bottom: 0.5rem; }
.wf-desc { font-size: 0.875rem; color: rgba(196, 181, 253, 0.7); line-height: 1.6; padding: 0 0.5rem; }

/* ============ Pricing ============ */
.price-banner { position: relative; overflow: hidden; border-radius: 1.5rem; padding: 2rem; }
@media (min-width: 768px) { .price-banner { padding: 3rem; } }
.price-banner-inner { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 2rem; }
@media (min-width: 768px) { .price-banner-inner { flex-direction: row; } }
.price-big { font-family: var(--font-cinzel); font-size: 3.75rem; font-weight: 700; }
@media (min-width: 640px) { .price-big { font-size: 4.5rem; } }
.price-coin { font-size: 1.25rem; color: var(--kq-gold); }
.price-coin-circle {
  position: relative; width: 7rem; height: 7rem; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
}
.price-coin-text { font-family: var(--font-cinzel); font-size: 1.875rem; font-weight: 700; }

.estimator { border-radius: 1.5rem; padding: 2rem; }
.est-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.est-title { font-family: var(--font-serif); font-size: 1.125rem; font-weight: 700; color: var(--kq-starlight); }
.est-price-val { font-family: var(--font-cinzel); font-size: 1.5rem; font-weight: 700; }
.est-row { display: flex; align-items: center; gap: 1rem; margin-bottom: 0.75rem; }
.est-slider {
  flex: 1; height: 0.5rem; border-radius: 9999px; appearance: none; -webkit-appearance: none;
  background: linear-gradient(to right, #8B5CF6 0%, #A855F7 10%, rgba(196,181,253,0.15) 10%);
  cursor: pointer; outline: none;
}
.est-slider::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #F5D76E, #C4B5FD);
  border: 2px solid var(--kq-starlight); cursor: pointer;
  box-shadow: 0 0 16px -2px rgba(245, 215, 110, 0.7);
  transition: transform 0.2s ease;
}
.est-slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.est-slider::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, #F5D76E, #C4B5FD);
  border: 2px solid var(--kq-starlight); cursor: pointer;
  box-shadow: 0 0 16px -2px rgba(245, 215, 110, 0.7);
}
.est-chars { text-align: right; min-width: 110px; }
.est-chars-val { font-size: 1.125rem; font-weight: 700; color: var(--kq-starlight); font-variant-numeric: tabular-nums; }
.est-chars-lbl { font-size: 0.75rem; color: rgba(196, 181, 253, 0.6); }
.est-scale { display: flex; justify-content: space-between; font-size: 0.75rem; color: rgba(196, 181, 253, 0.5); }

.tier-card { border-radius: 1rem; padding: 1.25rem; }
.tier-num { font-family: var(--font-cinzel); font-size: 0.75rem; color: rgba(245, 215, 110, 0.8); letter-spacing: 0.1em; margin-bottom: 0.5rem; }
.tier-range { font-size: 0.875rem; font-weight: 500; color: var(--kq-starlight); margin-bottom: 0.5rem; }
.tier-price { font-family: var(--font-cinzel); font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.tier-note { font-size: 0.75rem; color: rgba(196, 181, 253, 0.6); }

/* ============ Big countdown ============ */
.big-cd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.75rem; }
@media (min-width: 640px) { .big-cd-grid { gap: 1.5rem; } }
.big-cd-unit { display: flex; flex-direction: column; align-items: center; }
.big-cd-box {
  position: relative; width: 100%; aspect-ratio: 1; max-width: 5rem;
  border-radius: 1rem; display: flex; align-items: center; justify-content: center;
}
@media (min-width: 640px) { .big-cd-box { max-width: 7.5rem; } }
.big-cd-num { font-family: var(--font-cinzel); font-size: 1.875rem; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (min-width: 640px) { .big-cd-num { font-size: 3rem; } }
.big-cd-lbl { margin-top: 0.75rem; font-family: var(--font-cinzel); font-size: 0.625rem; letter-spacing: 0.2em; color: rgba(196, 181, 253, 0.6); }
@media (min-width: 640px) { .big-cd-lbl { font-size: 0.75rem; } }

.progress-bar { height: 0.25rem; border-radius: 9999px; background: rgba(196, 181, 253, 0.1); overflow: hidden; }
.progress-fill { height: 100%; border-radius: 9999px; background: linear-gradient(90deg, #F5D76E, #A855F7, #67E8F9); transition: width 1s ease-out; }
.progress-meta { display: flex; justify-content: space-between; font-size: 0.75rem; color: rgba(196, 181, 253, 0.5); margin-top: 0.5rem; }

/* ============ Community ============ */
.community-card { position: relative; overflow: hidden; border-radius: 1.5rem; padding: 2rem; text-align: center; }
@media (min-width: 768px) { .community-card { padding: 3.5rem; } }
.group-box { display: inline-flex; align-items: center; gap: 1rem; border-radius: 1rem; padding: 1rem 1.5rem; margin-bottom: 1.5rem; }
.group-id { font-family: var(--font-cinzel); font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.copy-btn {
  border-radius: 9999px; padding: 0.5rem 1.25rem; font-size: 0.875rem; font-weight: 500;
  color: var(--kq-bg); background: linear-gradient(120deg, #F5D76E, #C4B5FD);
  transition: transform 0.3s ease;
}
.copy-btn:hover { transform: scale(1.05); }

/* ============ Footer ============ */
.footer {
  margin-top: auto;
  position: relative;
  border-top: 1px solid rgba(196, 181, 253, 0.1);
  padding: 2.5rem 1rem;
}
.footer-inner { max-width: 80rem; margin: 0 auto; display: flex; flex-direction: column; align-items: center; justify-content: space-between; gap: 1.5rem; }
@media (min-width: 768px) { .footer-inner { flex-direction: row; } }
.footer-text { font-size: 0.75rem; color: rgba(196, 181, 253, 0.5); text-align: center; }
@media (min-width: 768px) { .footer-text { text-align: right; } }

/* ============ Backgrounds ============ */
.starfield, .lightning-field { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.star { position: absolute; border-radius: 9999px; }

@media (prefers-reduced-motion: reduce) {
  .starfield, .lightning-field { display: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .kq-breathe, .kq-float, .kq-float-slow, .kq-lightning, .kq-shimmer::after, .kq-pulse-ring::before { animation: none; }
}
