/* 粮易管官网 — 现代深色炫酷风 */
:root {
  --bg-deep: #030014;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --text: #f1f5f9;
  --text-secondary: rgba(241, 245, 249, 0.65);
  --text-muted: rgba(241, 245, 249, 0.4);
  --cyan: #22d3ee;
  --blue: #60a5fa;
  --violet: #a78bfa;
  --amber: #fbbf24;
  --emerald: #34d399;
  --gradient-main: linear-gradient(135deg, #22d3ee 0%, #818cf8 50%, #c084fc 100%);
  --gradient-warm: linear-gradient(135deg, #fbbf24 0%, #f472b6 50%, #818cf8 100%);
  --header-h: 80px;
  --radius: 20px;
  --font: "Outfit", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-deep);
  line-height: 1.6;
  overflow-x: hidden;
}

body.modal-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* ===== Animated background ===== */
.bg-scene {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: var(--bg-deep);
}

.bg-scene__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  animation: floatOrb 18s ease-in-out infinite;
}

.bg-scene__orb--1 {
  width: 600px; height: 600px;
  top: -15%; left: -10%;
  background: radial-gradient(circle, #4f46e5 0%, transparent 70%);
}

.bg-scene__orb--2 {
  width: 500px; height: 500px;
  top: 40%; right: -12%;
  background: radial-gradient(circle, #0891b2 0%, transparent 70%);
  animation-delay: -6s;
}

.bg-scene__orb--3 {
  width: 450px; height: 450px;
  bottom: -10%; left: 30%;
  background: radial-gradient(circle, #d97706 0%, transparent 70%);
  opacity: 0.35;
  animation-delay: -12s;
}

.bg-scene__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
}

.bg-scene__noise {
  position: absolute;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(3, 0, 20, 0.82);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand__logo {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
}

.brand__logo svg { width: 100%; height: 100%; }

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-size: 1.15rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand__tag {
  font-size: 0.68rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.header-toolbar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.header-qr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.header-qr--btn {
  position: relative;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  font-family: var(--font);
  color: inherit;
}

.header-qr__zoom {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px) scale(0.94);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 160;
  padding: 14px;
  border-radius: 18px;
  background: rgba(15, 10, 35, 0.96);
  border: 1px solid var(--border);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  text-align: center;
  white-space: nowrap;
}

.header-qr__zoom--mp {
  left: auto;
  right: 0;
  transform: translateY(8px) scale(0.94);
}

.header-qr--btn:hover .header-qr__zoom,
.header-qr--btn:focus-visible .header-qr__zoom {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

@media (hover: hover) and (pointer: fine) {
  .header-qr--btn:hover .header-qr__zoom {
    transform: translateX(-50%) translateY(0) scale(1);
  }

  .header-qr--btn:hover .header-qr__zoom--mp {
    transform: translateY(0) scale(1);
  }
}

.header-qr__zoom-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  display: block;
}

.header-qr__zoom-label {
  display: block;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.header-qr__box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.header-qr:hover .header-qr__box {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34, 211, 238, 0.2);
}

.header-qr__box--mp:hover {
  box-shadow: 0 8px 24px rgba(167, 139, 250, 0.25);
}

.header-qr__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.header-qr__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background: rgba(15, 10, 35, 0.06);
  color: #94a3b8;
}

.header-qr__placeholder svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.header-qr__placeholder--mp {
  color: #07c160;
}

.header-qr__label {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.header-consult {
  min-height: 52px;
  padding: 0 18px;
  margin-left: 4px;
  border: none;
  border-radius: 14px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
  background: var(--gradient-main);
  box-shadow: 0 6px 24px rgba(34, 211, 238, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.header-consult:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(129, 140, 248, 0.35);
}

.header-consult:active {
  transform: scale(0.98);
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 80px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  margin-bottom: 28px;
}

.pill__dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--emerald);
  box-shadow: 0 0 12px var(--emerald);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero__title {
  position: relative;
  margin: 0 0 20px;
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero__title-line {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__title-glow {
  position: absolute;
  inset: 0;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: blur(28px);
  opacity: 0.45;
  z-index: 0;
  pointer-events: none;
}

.hero__subtitle {
  margin: 0 0 20px;
  font-size: clamp(1.2rem, 3vw, 1.75rem);
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.4;
}

.hero__subtitle em {
  font-style: normal;
  background: var(--gradient-warm);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__desc {
  margin: 0 0 36px;
  max-width: 480px;
  color: var(--text-muted);
  font-size: 1rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Hero visual — glass stack */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 420px;
}

.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.06);
  animation: spin 30s linear infinite;
}

.orbit-ring--1 {
  width: 380px; height: 380px;
  border-style: dashed;
}

.orbit-ring--2 {
  width: 300px; height: 300px;
  animation-direction: reverse;
  animation-duration: 20s;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.glass-stack {
  position: relative;
  width: 320px;
  height: 340px;
}

.glass-card {
  position: absolute;
  border-radius: 18px;
  padding: 18px 20px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  transition: transform 0.4s ease;
}

.glass-card--back {
  top: 0; right: -20px;
  width: 200px;
  transform: rotate(6deg);
  opacity: 0.5;
}

.glass-card--mid {
  bottom: 60px; left: -30px;
  width: 210px;
  transform: rotate(-4deg);
  opacity: 0.65;
}

.glass-card--front {
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 280px;
  padding: 22px;
  background: rgba(255,255,255,0.08);
  border-color: rgba(129, 140, 248, 0.25);
  box-shadow:
    0 24px 80px rgba(0,0,0,0.5),
    0 0 60px rgba(129, 140, 248, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.1);
  animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-12px); }
}

.glass-card__label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.glass-card__val {
  font-size: 0.85rem;
  font-weight: 600;
}

.glass-card__header {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.glass-card__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}

.glass-card__dot--r { background: #f87171; }
.glass-card__dot--y { background: #fbbf24; }
.glass-card__dot--g { background: #34d399; }

.glass-card__title {
  margin: 0 0 16px;
  font-size: 0.95rem;
  font-weight: 600;
}

.glass-card__bars {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.bar {
  height: 6px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
}

.bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--w, 80%);
  border-radius: inherit;
  background: var(--gradient-main);
  animation: barGrow 2s ease-out forwards;
}

@keyframes barGrow {
  from { width: 0; }
  to { width: var(--w, 80%); }
}

.glass-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.glass-card__tags span {
  font-size: 0.68rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(129, 140, 248, 0.15);
  color: #c4b5fd;
  border: 1px solid rgba(129, 140, 248, 0.2);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 14px;
  border: none;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.btn svg {
  width: 18px; height: 18px;
  transition: transform 0.2s;
}

.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
.btn--block { width: 100%; }

.btn--glow {
  color: #fff;
  background: var(--gradient-main);
  box-shadow: 0 8px 32px rgba(34, 211, 238, 0.25), 0 0 0 1px rgba(255,255,255,0.1) inset;
}

.btn--glow:hover {
  box-shadow: 0 12px 48px rgba(129, 140, 248, 0.4), 0 0 0 1px rgba(255,255,255,0.15) inset;
}

.btn--glass {
  color: var(--text);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.btn--glass:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--border-hover);
}

/* ===== Sections ===== */
.section {
  padding: 100px 0;
  position: relative;
}

.section--compact {
  padding-top: 0;
  padding-bottom: 100px;
}

.section-head {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--cyan);
  margin-bottom: 12px;
}

.section-label--violet {
  color: var(--violet);
}

.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ===== Bento grid ===== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bento {
  position: relative;
  padding: 28px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
}

.bento:hover {
  transform: translateY(-4px);
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
}

.bento--wide {
  grid-column: span 2;
}

.bento__glow {
  position: absolute;
  top: -40px; right: -40px;
  width: 120px; height: 120px;
  border-radius: 50%;
  filter: blur(50px);
  opacity: 0;
  transition: opacity 0.4s;
}

.bento:hover .bento__glow { opacity: 0.35; }

.bento__glow--blue { background: #60a5fa; }
.bento__glow--amber { background: #fbbf24; }
.bento__glow--emerald { background: #34d399; }
.bento__glow--violet { background: #a78bfa; }
.bento__glow--cyan { background: #22d3ee; }

.bento__icon {
  width: 48px; height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
}

.bento h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 600;
}

.bento p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ===== Terminals ===== */
.terminal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.terminal {
  position: relative;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.terminal:hover {
  transform: translateY(-6px) scale(1.01);
}

.terminal__shine {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
}

.terminal__index {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 16px;
  display: block;
}

.terminal h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 600;
}

.terminal p {
  margin: 0 0 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.terminal__chip {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.04em;
}

.terminal--blue:hover { box-shadow: 0 20px 60px rgba(96, 165, 250, 0.15); }
.terminal--blue h3 { color: #93c5fd; }
.terminal--blue .terminal__chip { background: rgba(96,165,250,0.15); color: #93c5fd; border: 1px solid rgba(96,165,250,0.25); }

.terminal--amber:hover { box-shadow: 0 20px 60px rgba(251, 191, 36, 0.12); }
.terminal--amber h3 { color: #fcd34d; }
.terminal--amber .terminal__chip { background: rgba(251,191,36,0.12); color: #fcd34d; border: 1px solid rgba(251,191,36,0.25); }

.terminal--emerald:hover { box-shadow: 0 20px 60px rgba(52, 211, 153, 0.12); }
.terminal--emerald h3 { color: #6ee7b7; }
.terminal--emerald .terminal__chip { background: rgba(52,211,153,0.12); color: #6ee7b7; border: 1px solid rgba(52,211,153,0.25); }

.terminal--violet:hover { box-shadow: 0 20px 60px rgba(167, 139, 250, 0.15); }
.terminal--violet h3 { color: #c4b5fd; }
.terminal--violet .terminal__chip { background: rgba(167,139,250,0.12); color: #c4b5fd; border: 1px solid rgba(167,139,250,0.25); }

/* ===== QR Code ===== */
.section--qrcode {
  padding-top: 60px;
}

.section--qrcode-alt {
  padding-top: 0;
}

.qrcode-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
  padding: 48px;
  border-radius: 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  backdrop-filter: blur(20px);
}

.qrcode-panel--reverse {
  grid-template-columns: auto 1fr;
}

.qrcode-panel--reverse .qrcode-frame {
  order: -1;
}

.qrcode-panel h2 {
  margin: 8px 0 16px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
}

.qrcode-panel > .qrcode-panel__content > p {
  color: var(--text-secondary);
  margin: 0 0 28px;
}

.qrcode-tips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.qrcode-tips li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.qrcode-tips li span {
  flex-shrink: 0;
  width: 28px; height: 28px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(34, 211, 238, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.qrcode-frame {
  position: relative;
  width: 240px;
  height: 240px;
  flex-shrink: 0;
}

.qrcode-frame__pulse {
  position: absolute;
  inset: -8px;
  border-radius: 24px;
  border: 2px solid rgba(34, 211, 238, 0.3);
  animation: qrPulse 3s ease-in-out infinite;
}

@keyframes qrPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.03); }
}

.qrcode-frame__pulse--violet {
  border-color: rgba(167, 139, 250, 0.35);
}

.qrcode-frame__icon--mp {
  color: #07c160;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #6ee7b7;
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.25);
}

.qrcode-frame__inner {
  position: relative;
  width: 100%; height: 100%;
  border-radius: 20px;
  background: rgba(255,255,255,0.95);
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.4);
}

.qrcode-frame__img {
  width: 100%; height: 100%;
  object-fit: contain;
  padding: 12px;
}

.qrcode-frame__placeholder {
  text-align: center;
  color: #64748b;
}

.qrcode-frame__icon {
  width: 56px; height: 56px;
  margin: 0 auto 10px;
  color: #94a3b8;
}

.qrcode-frame__icon svg { width: 100%; height: 100%; fill: currentColor; }

.qrcode-frame__placeholder p {
  margin: 0 0 4px;
  font-weight: 600;
  color: #334155;
}

.qrcode-frame__placeholder small {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* ===== Intent banner ===== */
.intent-banner {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 28px 32px;
  border: 1px solid rgba(129, 140, 248, 0.3);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.25) 0%, rgba(8, 145, 178, 0.2) 100%);
  color: #fff;
  cursor: pointer;
  text-align: left;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.intent-banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 80px rgba(79, 70, 229, 0.25);
}

.intent-banner__shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.08) 50%, transparent 60%);
  animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.intent-banner__tag {
  flex-shrink: 0;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  backdrop-filter: blur(8px);
}

.intent-banner__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.intent-banner__content strong {
  font-size: 1.15rem;
  font-weight: 700;
}

.intent-banner__content span {
  font-size: 0.9rem;
  opacity: 0.8;
}

.intent-banner__arrow svg {
  width: 28px; height: 28px;
  opacity: 0.8;
  transition: transform 0.2s;
}

.intent-banner:hover .intent-banner__arrow svg {
  transform: translateX(4px);
}

/* ===== Footer ===== */
.site-footer {
  padding: 48px 0 32px;
  border-top: 1px solid var(--border);
}

.site-footer__inner {
  text-align: center;
}

.site-footer__brand {
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.site-footer p {
  margin: 0 0 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.site-footer__legal {
  font-size: 0.82rem;
}

.site-footer__beian {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 4px 0 0;
  font-size: 0.82rem;
}

.site-footer__beian a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer__beian a:hover {
  color: var(--cyan);
}

.site-footer__beian #footer-psb-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.site-footer__beian-icon {
  width: 16px;
  height: 17px;
  flex-shrink: 0;
}

/* ===== FAB ===== */
.fab-group {
  position: fixed;
  right: 24px;
  bottom: 32px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 58px;
  min-height: 58px;
  padding: 8px 0;
  border-radius: 18px;
  border: 1px solid var(--border);
  color: #fff;
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(16px);
  transition: transform 0.2s, box-shadow 0.2s;
}

.fab svg {
  width: 22px; height: 22px;
  fill: currentColor;
}

.fab--scan {
  background: rgba(52, 211, 153, 0.2);
  border-color: rgba(52, 211, 153, 0.35);
}

.fab--scan:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(52, 211, 153, 0.3);
}

.fab--consult {
  background: rgba(129, 140, 248, 0.25);
  border-color: rgba(129, 140, 248, 0.4);
}

.fab--consult svg { fill: none; stroke: currentColor; stroke-width: 2; }

.fab--consult:hover {
  transform: scale(1.08);
  box-shadow: 0 8px 32px rgba(129, 140, 248, 0.35);
}

/* ===== Modal ===== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.modal--open { opacity: 1; visibility: visible; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 0, 20, 0.8);
  backdrop-filter: blur(8px);
}

.modal__panel {
  position: relative;
  width: min(460px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 36px 32px 32px;
  border-radius: 24px;
  background: rgba(15, 10, 35, 0.95);
  border: 1px solid var(--border);
  box-shadow: 0 32px 100px rgba(0,0,0,0.6);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.3s;
}

.modal--open .modal__panel {
  transform: translateY(0) scale(1);
}

.modal__glow {
  position: absolute;
  top: -60px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 120px;
  background: radial-gradient(circle, rgba(129,140,248,0.4) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.modal__close {
  position: absolute;
  top: 16px; right: 18px;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  color: var(--text-secondary);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.modal__close:hover { background: rgba(255,255,255,0.1); }

.modal__title {
  margin: 8px 0 10px;
  font-size: 1.5rem;
  font-weight: 700;
}

.modal__desc {
  margin: 0 0 24px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.modal__panel--qr {
  text-align: center;
}

.qr-modal__frame {
  position: relative;
  width: min(280px, 100%);
  margin: 0 auto;
  aspect-ratio: 1;
}

.qr-modal__pulse {
  position: absolute;
  inset: -10px;
  border-radius: 22px;
  border: 2px solid rgba(34, 211, 238, 0.35);
  animation: qrPulse 3s ease-in-out infinite;
}

.qr-modal__inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

.qr-modal__inner img,
#qr-modal-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  padding: 12px;
  box-sizing: border-box;
}

.intent-form { display: grid; gap: 18px; }

.form-field { display: grid; gap: 8px; }

.form-field__label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-field input,
.form-field select {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-family: var(--font);
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field select option {
  background: #1a1035;
  color: var(--text);
}

.form-field input::placeholder { color: var(--text-muted); }

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: rgba(129, 140, 248, 0.5);
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.15);
}

/* ===== Toast ===== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 100px;
  transform: translateX(-50%) translateY(16px);
  z-index: 300;
  padding: 14px 24px;
  border-radius: 14px;
  background: rgba(15, 10, 35, 0.95);
  border: 1px solid var(--border);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
  max-width: calc(100% - 40px);
  text-align: center;
  backdrop-filter: blur(12px);
}

.toast--show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast--success {
  border-color: rgba(52, 211, 153, 0.4);
  box-shadow: 0 8px 32px rgba(52, 211, 153, 0.2);
}

.toast--error {
  border-color: rgba(248, 113, 113, 0.4);
  box-shadow: 0 8px 32px rgba(248, 113, 113, 0.2);
}

/* ===== Scroll reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .hero__inner,
  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento--wide { grid-column: span 1; }

  .terminal-grid { grid-template-columns: 1fr; }

  .hero__visual { min-height: 320px; margin-top: 20px; }

  .glass-stack { transform: scale(0.85); }
}

@media (max-width: 600px) {
  :root { --header-h: 72px; }

  .container { width: calc(100% - 24px); }

  .brand__tag { display: none; }

  .header-toolbar { gap: 8px; }

  .header-qr__box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .header-qr__label { font-size: 0.62rem; }

  .header-consult {
    min-height: 44px;
    padding: 0 12px;
    font-size: 0.78rem;
    margin-left: 0;
  }

  .hero__title { font-size: 3rem; }

  .intent-banner {
    flex-wrap: wrap;
    padding: 22px 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
