/* ===== PEM 官网样式 v2 ===== */
:root {
  color-scheme: light;
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --soft: #f8fafc;
  --panel: #ffffff;
  --brand: #2D1B4E;
  --brand-dark: #1a0f30;
  --brand-light: #ede4f5;
  --brand-gold: #C9A96E;
  --brand-red: #8B0000;
  --accent: #2563eb;
  --warm: #f59e0b;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 60px rgba(15, 23, 42, 0.1);
  --radius: 10px;
  --radius-sm: 6px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  background: #ffffff;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ===== Header ===== */
.site-header {
  display: block;
  align-items: center;
  gap: 28px;
  position: sticky;
  top: 0;
  z-index: 30;
  height: 68px;
  padding: 0;
  border-bottom: 1px solid transparent;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.site-header.scrolled {
  border-bottom-color: rgba(201, 169, 110, 0.2);
  box-shadow: 0 2px 28px rgba(26, 15, 48, 0.4);
  background: linear-gradient(45deg, #2a1040 0%, #4a1435 55%, #69112b 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.site-header.scrolled .nav a {
  color: rgba(255, 255, 255, 0.78);
}

.site-header.scrolled .nav a:hover {
  color: #ffffff;
}

.site-header.scrolled .brand {
  color: #ffffff;
}

.site-header.scrolled .brand-text {
  color: rgba(255, 255, 255, 0.72);
}

.page-home .site-header,
.page-videos .site-header,
.page-pricing .site-header {
  display: block;
  padding: 0;
}

.site-header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  width: min(1280px, calc(100% - 40px));
  height: 100%;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.brand:hover {
  opacity: 0.8;
}

.brand-text {
  font-size: 15px;
  letter-spacing: -0.01em;
}

.brand-logo {
  width: auto;
  height: 40px;
  max-width: 240px;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--brand-gold);
  transform: scaleX(0);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: left;
}

.nav a:hover {
  color: var(--brand);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 18px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  background: var(--brand-red);
  border: 1px solid var(--brand-red);
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(139, 0, 0, 0.22);
  transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.2s;
}

.header-cta:hover {
  background: #6e0000;
  border-color: var(--brand-gold);
  box-shadow: 0 10px 24px rgba(139, 0, 0, 0.32);
}

.header-cta:active {
  transform: translateY(1px);
}

.header-login {
  background: var(--brand-red);
  color: #ffffff;
  border: 1px solid var(--brand-red);
  box-shadow: 0 8px 20px rgba(139, 0, 0, 0.18);
}

.header-login:hover {
  background: #6e0000;
  color: #ffffff;
  border-color: var(--brand-gold);
  box-shadow: 0 10px 24px rgba(139, 0, 0, 0.28);
}

.menu-button {
  display: none;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 8px 12px;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.15s;
}

.menu-button:hover {
  background: var(--soft);
}

/* ===== Sections ===== */
.section,
.section-band {
  padding: 120px clamp(20px, 6vw, 88px);
  position: relative;
}

.section {
  background: linear-gradient(180deg, #fff 0%, #fcfaff 100%);
}

.section-band {
  background: linear-gradient(180deg, #f7f4fc 0%, #f0ebf7 40%, #ede4f5 70%, #f7f4fc 100%);
}

.section-band + .section {
  border-top: 1px solid rgba(201, 169, 110, 0.15);
}

.section-heading {
  max-width: min(1120px, 100%);
  margin: 0 auto 56px;
  text-align: center;
}

.section-heading h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 3px;
  margin: 18px auto 0;
  border-radius: 2px;
  background: linear-gradient(90deg, #C9A96E 0%, #e0c78a 50%, #C9A96E 100%);
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.section:hover .section-heading h2::after {
  width: 72px;
}

main#top > .section > :not(.section-heading),
main#top > .section-band > :not(.section-heading) {
  max-width: 1280px;
  margin-right: auto;
  margin-left: auto;
}

main#top > .section > .section-heading,
main#top > .section-band > .section-heading {
  max-width: 1280px;
}

.section-heading {
  max-width: min(1120px, 100%);
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading h2,
.contact-card h2 {
  margin: 0;
  font-size: clamp(30px, 4.5vw, 48px);
  line-height: 1.14;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.section-heading h2 {
  text-wrap: balance;
}

.section-heading > p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
}

/* ===== Scroll Reveal Animation ===== */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@media (prefers-reduced-motion: reduce) {
  .animate-in {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ===== Hero ===== */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100dvh - 68px);
  text-align: left;
}

.hero-copy {
  max-width: 720px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(42px, 5.5vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  font-weight: 700;
}

.h1-name {
  display: block;
  text-shadow: 2px 2px 6px rgba(0,0,0,.5);
}

.h1-tagline {
  display: block;
  font-size: 0.90em;
  font-weight: 500;
  letter-spacing: 0;
  margin-top: 1em;
  text-shadow: 2px 2px 6px rgba(0,0,0,.5);
}
.h1-tagline.small {
  font-size: 0.65em;
  margin-top: 0.3em;
}

.h1-tagline.small.max-width {
  font-size: 0.5em;
  max-width: 1000px;
  margin-top: 0.8em;
}

.hero-lead {
  margin: 24px 0 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
  margin: clamp(56px, 6dvh, 76px) 0 0;
}

/* ===== Buttons ===== */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.button:active {
  transform: translateY(1px);
}

.button.primary {
  color: #ffffff;
  background: var(--brand-red);
  /*box-shadow: 0 8px 24px rgba(139, 0, 0, 0.25);*/
}

/*
.button.primary:hover {
  background: #6e0000;
  box-shadow: 0 12px 30px rgba(139, 0, 0, 0.35), inset 0 0 0 1px var(--brand-gold);
}
*/

.button.secondary {
  color: #ffffff;
  background: var(--brand-red);
  border: 1px solid var(--brand-red);
  box-shadow: 0 8px 24px rgba(139, 0, 0, 0.25);
}

.button.secondary:hover {
  background: #6e0000;
  border-color: var(--brand-gold);
  box-shadow: 0 12px 30px rgba(139, 0, 0, 0.35);
}

.button.tertiary {
  color: #ffffff;
  background: var(--brand-red);
  border: 1px solid var(--brand-red);
  box-shadow: 0 8px 24px rgba(139, 0, 0, 0.25);
}

.button.tertiary:hover {
  color: #ffffff;
  background: #6e0000;
  border-color: var(--brand-gold);
  box-shadow: 0 12px 30px rgba(139, 0, 0, 0.35);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 8px;
  margin-top: 30px;
}

.hero-points span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 14px;
  color: var(--muted);
  background: var(--soft);
  font-size: 13px;
  font-weight: 600;
  transition: border-color 0.2s, color 0.2s;
}

/* ===== Browser Frame (deprecated, kept for compat) ===== */
.browser-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.browser-bar {
  display: flex;
  gap: 7px;
  align-items: center;
  height: 34px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.browser-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #94a3b8;
}

.browser-frame img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top left;
}

.hero-media {
  width: 100%;
  max-width: 640px;
}

.home-hero {
  grid-template-columns: minmax(0, 1280px);
  justify-content: center;
  align-content: start;
  padding-top: 15dvh;
  justify-items: center;
  gap: 40px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(200, 60, 35, 0.25) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 30% 40%, rgba(120, 40, 90, 0.3) 0%, transparent 55%),
    linear-gradient(45deg, #120929 0%, #2a1040 30%, #4a1435 55%, #6e1d35 80%, #5a142e 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero-charts {
  position: absolute;
  inset: 0;
  background-image: url('../images/banner-backage.png');
  background-size: contain;
  background-position: center bottom;
  background-repeat: no-repeat;
  pointer-events: none;
}

.hero-brand-title {
  margin: 0;
  color: #ffffff;
  font-size: clamp(38px, 5.5vw, 64px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 20px rgba(45, 27, 78, 0.3);
}

.hero-pem-gold {
  letter-spacing: 3px;
  background: linear-gradient(178deg, #fff4dd 0%, #fed273 48%, #d83048 95% 97%);
  background-clip: text;
  text-shadow: 0 0 1px rgb(255 229 173 / 65%), 0 0 12px rgb(246 195 81 / 40%), 0 0 22px rgb(0 0 0 / 22%), 0 0 35px rgb(0 0 0 / 10%);
  -webkit-text-stroke: 0.4px rgba(255, 225, 140, 0.35);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-slogan-line {
  display: block;
  margin-top: 6px;
  font-size: 0.48em;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  letter-spacing: 0.06em;
}

.hero-desc-line {
  display: block;
  margin-top: 4px;
  font-size: 0.28em;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.04em;
}

.home-hero .hero-lead {
  color: rgba(255, 255, 255, 0.78);
}

.home-hero .eyebrow {
  color: #C9A96E;
}

.home-hero .hero-points span {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(201, 169, 110, 0.25);
  color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.home-hero .hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.home-hero .hero-media {
  display: none;
}

.home-hero .hero-lead {
  margin-right: auto;
  margin-left: auto;
}

.home-hero .hero-actions,
.home-hero .hero-points {
  justify-content: center;
}

.hero-dashboard-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow:
    0 0 0 1px rgba(201, 169, 110, 0.1),
    0 4px 24px rgba(45, 27, 78, 0.2),
    0 12px 48px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s, box-shadow 0.4s;
}

.hero-dashboard-visual:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(201, 169, 110, 0.2),
    0 6px 32px rgba(45, 27, 78, 0.25),
    0 16px 56px rgba(0, 0, 0, 0.12);
}

.hero-dashboard-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12 / 7;
  object-fit: contain;
  object-position: center;
  mix-blend-mode: normal;
  opacity: 0.9;
}

.visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(45, 27, 78, 0.04) 0%,
    transparent 40%,
    rgba(201, 169, 110, 0.03) 100%
  );
  pointer-events: none;
}

/* ===== Page Hero (sub pages) ===== */
.page-hero {
  display: grid;
  place-items: center;
  min-height: 360px;
  text-align: center;
}

.page-hero h1 {
  margin: 0;
  max-width: 880px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.page-hero h1.middle {
  font-size: clamp(32px, 4vw, 48px);
}

.page-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.compact-page-hero {
  min-height: 260px;
}

/* ===== Videos ===== */

.video-library {
  display: grid;
  gap: 28px;
}

.video-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.video-tile {
  display: grid;
  gap: 10px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 0 16px;
  color: var(--ink);
  text-align: left;
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.25s;
}

button.video-tile {
  font: inherit;
  cursor: pointer;
}

button.video-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.video-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
  background: #e7f1f3;
  aspect-ratio: 16 / 9;
}

.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-badge {
  position: absolute;
  right: 14px;
  bottom: 14px;
  border-radius: 999px;
  padding: 7px 13px;
  color: #ffffff;
  background: rgba(139, 0, 0, 0.92);
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}

button.video-tile:hover .play-badge {
  background: var(--brand-dark);
}

.placeholder-thumb {
  display: grid;
  place-items: center;
  color: var(--brand);
  font-weight: 800;
  background: #f3f3f3;
}

.video-meta,
.video-tile strong,
.video-tile small {
  margin-right: 16px;
  margin-left: 16px;
}

.video-meta {
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.video-tile strong {
  font-size: 18px;
  line-height: 1.32;
}

.video-tile small {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.video-coming {
  box-shadow: none;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  place-items: center;
  padding: 28px;
}

.video-modal.open {
  display: grid;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.68);
}

.video-modal-panel {
  position: relative;
  z-index: 1;
  width: min(1080px, 94vw);
  overflow: hidden;
  border-radius: var(--radius);
  background: #0f172a;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.28);
}

.video-modal-panel iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  border: 0;
  border-radius: 999px;
  padding: 7px 12px;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.76);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

.video-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #0f172a;
}

.video-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--brand);
  font-size: 14px;
  font-weight: 800;
  transition: color 0.2s;
}

.video-link:hover {
  color: var(--brand-gold);
}

/* ===== Pain Grid (痛点) ===== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.pain-grid article {
  display: grid;
  gap: 14px;
  padding: 36px 30px 36px 22px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand);
  position: relative;
  transition: border-left-color 0.3s, box-shadow 0.3s, transform 0.25s;
  box-shadow: 0 2px 12px rgba(45, 27, 78, 0.04);
}

.pain-grid article:nth-child(1) { border-left-color: var(--brand); }
.pain-grid article:nth-child(2) { border-left-color: var(--brand-gold); }
.pain-grid article:nth-child(3) { border-left-color: #8b5cf6; }
.pain-grid article:nth-child(4) { border-left-color: var(--brand-red); }

.pain-grid article:hover {
  box-shadow: 0 10px 36px rgba(45, 27, 78, 0.1);
  transform: translateY(-2px);
}

.pain-grid strong {
  font-size: 19px;
  line-height: 1.35;
  color: var(--ink);
}

.pain-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== Definition (3-up) ===== */
.definition-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.definition-grid > div {
  display: grid;
  gap: 16px;
  padding: 44px 34px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
  text-align: center;
  transition: box-shadow 0.3s, transform 0.2s;
}

.definition-grid > div:hover {
  box-shadow: 0 8px 32px rgba(45, 27, 78, 0.06);
  transform: translateY(-2px);
}

.definition-grid .def-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 14px;
  font-size: 24px;
}

.definition-grid .def-icon.c01 { background: linear-gradient(135deg, #ede4f5, #d4c4e8); }
.definition-grid .def-icon.c02 { background: linear-gradient(135deg, #fdf3d6, #f5e1a4); }
.definition-grid .def-icon.c03 { background: linear-gradient(135deg, #dbeafe, #b8d4f8); }

.definition-grid h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.definition-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

/* ===== Value Layout ===== */
.value-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 32px;
  align-items: stretch;
}

.value-list {
  display: grid;
  gap: 14px;
}

.value-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  padding: 30px 28px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(45, 27, 78, 0.03);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s;
}

.value-item:hover {
  border-color: var(--brand-gold);
  box-shadow: 0 6px 24px rgba(45, 27, 78, 0.08);
  transform: translateY(-1px);
}

.value-item span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #2D1B4E 0%, #3b2465 60%, #4a3070 100%);
  color: var(--brand-gold);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(45, 27, 78, 0.2);
}

.value-item h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.value-item p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== Dashboard Panel (经营看板 2x2 grid) ===== */
.dashboard-panel {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px 24px;
  border-radius: var(--radius);
  background: linear-gradient(160deg, #3b2465 0%, #2D1B4E 40%, #1a0f30 100%);
  border: 1px solid rgba(201, 169, 110, 0.28);
  box-shadow:
    0 0 0 1px rgba(123, 94, 167, 0.2),
    0 16px 48px rgba(45, 27, 78, 0.25);
  position: relative;
  overflow: hidden;
}

.dashboard-panel::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 94, 167, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: var(--brand-gold);
  font-weight: 600;
  font-size: 13px;
}

.dash-period {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dash-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.dash-card:hover {
  border-color: rgba(201, 169, 110, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.dash-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 600;
}

.dash-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.dash-badge-up {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.dash-badge-info {
  background: rgba(59, 130, 246, 0.2);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.dash-badge-warn {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

/* Card 1: 项目毛利率 */
.dash-big-number {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.dash-big-number strong {
  font-size: 38px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.dash-sub-number {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.dash-bar-compare {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 4px;
}

.dash-bar-row {
  display: grid;
  grid-template-columns: 72px 1fr 52px;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
}

.dash-bar-track {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.dash-bar-fill {
  height: 100%;
  border-radius: 4px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dash-bar-gold {
  background: linear-gradient(90deg, var(--brand-gold), #e0c78a);
}

.dash-bar-muted {
  background: rgba(255, 255, 255, 0.3);
}

.dash-bar-row em {
  font-style: normal;
  font-weight: 600;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  text-align: right;
}

/* Card 2: 预算vs实际毛利率 */
.dash-budget-compare {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dash-budget-item {
  display: grid;
  grid-template-columns: 90px 64px 1fr;
  gap: 10px;
  align-items: center;
}

.dash-budget-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.dash-budget-num {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.dash-budget-bar {
  height: 10px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.dash-budget-fill {
  height: 100%;
  border-radius: 5px;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dash-budget-blue {
  background: linear-gradient(90deg, #60a5fa, #3b82f6);
}

.dash-budget-gold {
  background: linear-gradient(90deg, var(--brand-gold), #e0c78a);
}

.dash-budget-gap {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 8px 10px;
  border-radius: 6px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.2);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.dash-budget-gap span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
}

.dash-budget-gap em {
  font-style: normal;
  font-weight: 700;
  font-size: 13px;
}

.dash-gap-warn {
  color: #fbbf24;
}

.dash-budget-gap small {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

/* Card 3: 应收款项追踪 */
.dash-receivable-list {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.dash-r-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.dash-r-label {
  color: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.dash-r-value {
  color: #ffffff;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  margin-left: auto;
}

.dash-r-note {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  flex-shrink: 0;
}

.dash-r-highlight .dash-r-value {
  font-size: 13px;
  font-weight: 700;
}

.dash-r-green {
  color: #4ade80;
}

.dash-r-red {
  color: #f87171;
}

.dash-r-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 4px 0;
}

.dash-r-progress {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

.dash-r-progress-track {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.dash-r-progress-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(90deg, #4ade80, #22c55e);
  transition: width 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.dash-r-progress span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  text-align: right;
}

/* Card 4: 垫资利息核算 */
.dash-interest-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dash-interest-big {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.dash-interest-big strong {
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  font-variant-numeric: tabular-nums;
}

.dash-interest-big span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
}

.dash-interest-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.dash-interest-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 6px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
}

.dash-interest-item span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
}

.dash-interest-item em {
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  font-variant-numeric: tabular-nums;
}

.dash-interest-cost {
  color: #fbbf24;
}

.dash-interest-note {
  margin: 0;
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

/* 响应式：看板单列 */
@media (max-width: 768px) {
  .dash-grid {
    grid-template-columns: 1fr;
  }
  .dash-big-number strong {
    font-size: 38px;
  }
  .dash-interest-big strong {
    font-size: 28px;
  }
}

/* ===== Metric Panel (保留兼容) ===== */
.metric-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: var(--radius);
  padding: 36px 34px;
  color: #ffffff;
  background: linear-gradient(160deg, #3b2465 0%, #2D1B4E 40%, #1a0f30 100%);
  border: 1px solid rgba(201, 169, 110, 0.28);
  box-shadow:
    0 0 0 1px rgba(123, 94, 167, 0.2),
    0 16px 48px rgba(45, 27, 78, 0.25);
  position: relative;
  overflow: hidden;
}

.metric-panel::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -80px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 94, 167, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.metric-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--brand-gold);
  font-weight: 600;
  position: relative;
}

.metric-big {
  margin: 44px 0;
}

.metric-big small {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.metric-big strong {
  display: block;
  margin-top: 6px;
  font-size: 68px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.metric-bars {
  display: grid;
  gap: 12px;
}

.metric-bars div {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  overflow: hidden;
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.12);
}

.metric-bars div::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--bar);
  background: rgba(255, 255, 255, 0.1);
}

.metric-bars span,
.metric-bars b {
  position: relative;
  font-size: 14px;
}

/* ===== Flow ===== */
.flow-panel {
  max-width: 1280px;
  margin: 0 auto;
  border: 1px solid rgba(201, 169, 110, 0.18);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 40px);
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(45, 27, 78, 0.06);
}

.flow-list {
  counter-reset: flow-step;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  counter-increment: flow-step;
  position: relative;
  min-height: 148px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 18px 18px;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(45, 27, 78, 0.03);
  transition: border-color 0.25s, box-shadow 0.2s, transform 0.25s;
}

.flow-list li:hover {
  border-color: var(--brand-gold);
  box-shadow: 0 4px 16px rgba(45, 27, 78, 0.08);
}

.flow-list li::before {
  content: counter(flow-step, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(135deg, #2D1B4E, #3b2465);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(45, 27, 78, 0.2);
  border: 2px solid rgba(201, 169, 110, 0.25);
}

.flow-list li:not(:nth-child(4n))::after {
  content: "";
  position: absolute;
  top: 42px;
  right: -20px;
  width: 14px;
  height: 8px;
  border-top: 2px solid rgba(201, 169, 110, 0.35);
  border-right: 2px solid rgba(201, 169, 110, 0.35);
  transform: skewX(20deg);
}

.flow-list strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
}

.flow-list small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.flow-outcomes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.flow-outcomes div {
  border-radius: var(--radius);
  padding: 22px 24px;
  color: #ffffff;
  background: linear-gradient(135deg, #3b2465, #2D1B4E);
  border: 1px solid rgba(201, 169, 110, 0.25);
  box-shadow: 0 4px 16px rgba(45, 27, 78, 0.15);
  transition: transform 0.2s, box-shadow 0.25s;
}

.flow-outcomes div:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45, 27, 78, 0.22);
  border-color: var(--brand-gold);
}

.flow-outcomes div:hover {
  transform: translateY(-2px);
}

.flow-outcomes span {
  display: block;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 700;
}

.flow-outcomes strong {
  display: block;
  margin-top: 4px;
  font-size: 17px;
  line-height: 1.35;
}

/* ===== Scenes Grid ===== */
.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.scene-grid article {
  display: grid;
  gap: 12px;
  padding: 32px 28px 32px 20px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand);
  box-shadow: 0 2px 10px rgba(45, 27, 78, 0.03);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.25s;
}

.scene-grid article:nth-child(1) { border-left-color: var(--brand); }
.scene-grid article:nth-child(2) { border-left-color: var(--brand-gold); }
.scene-grid article:nth-child(3) { border-left-color: var(--accent); }
.scene-grid article:nth-child(4) { border-left-color: #8b5cf6; }

.scene-grid article:hover {
  box-shadow: 0 8px 32px rgba(45, 27, 78, 0.1);
  transform: translateY(-2px);
}

.scene-grid h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.scene-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.scene-grid ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.scene-grid li {
  padding: 6px 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--brand);
}

.scene-grid li::before {
  content: "→ ";
  color: var(--brand-gold);
}

/* ===== Features Grid ===== */
.features-grid-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.features-grid-section > div {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 28px 30px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.features-grid-section > div:hover {
  border-color: var(--brand-gold);
  box-shadow: 0 2px 12px rgba(45, 27, 78, 0.04);
}

.features-grid-section .feat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 18px;
  flex-shrink: 0;
}

.features-grid-section .feat-icon.f1 { background: linear-gradient(135deg, #ede4f5, #d4c4e8); }
.features-grid-section .feat-icon.f2 { background: linear-gradient(135deg, #fdf3d6, #f5e1a4); }
.features-grid-section .feat-icon.f3 { background: linear-gradient(135deg, #dbeafe, #b8d4f8); }
.features-grid-section .feat-icon.f4 { background: linear-gradient(135deg, #fce7f3, #f5c6d8); }
.features-grid-section .feat-icon.f5 { background: linear-gradient(135deg, #e0e7ff, #c0cdf8); }
.features-grid-section .feat-icon.f6 { background: linear-gradient(135deg, #d1fae5, #a7f0c4); }
.features-grid-section .feat-icon.f7 { background: linear-gradient(135deg, #fdf3d6, #f5e1a4); }
.features-grid-section .feat-icon.f8 { background: linear-gradient(135deg, #ede9fe, #d5c8f0); }
.features-grid-section .feat-icon.f9 { background: linear-gradient(135deg, #ffedd5, #fdd9a8); }

.features-grid-section h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.features-grid-section p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== Legacy feature-grid (for FAQ etc) ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-grid > div {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--panel);
  border: 1px solid var(--line);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.feature-grid > div:hover {
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.feature-grid h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.feature-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== Compare ===== */
.compare-table-wrap {
  max-width: 1280px;
  margin: 0 auto;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.compare-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  text-align: left;
}

.compare-table th,
.compare-table td {
  border-bottom: 1px solid var(--line);
  padding: 16px 20px;
  vertical-align: top;
  font-size: 14px;
  line-height: 1.6;
}

.compare-table thead th {
  color: var(--brand-dark);
  background: var(--brand-light);
  font-size: 14px;
  font-weight: 700;
}

.compare-table tbody th {
  width: 16%;
  color: var(--ink);
  font-weight: 600;
}

.compare-table td {
  color: var(--muted);
}

.compare-table tr:last-child th,
.compare-table tr:last-child td {
  border-bottom: 0;
}

.compare-table tr:hover td {
  background: var(--soft);
}

.compare-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 1280px;
  margin: 28px auto 0;
}

/* ===== Pricing ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pricing-grid article {
  display: flex;
  flex-direction: column;
  min-height: 245px;
  position: relative;
  padding: 30px 28px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(45, 27, 78, 0.03);
  transition: box-shadow 0.25s, transform 0.2s, border-color 0.2s;
}

.pricing-grid article:hover {
  border-color: var(--brand-gold);
  box-shadow: 0 8px 32px rgba(45, 27, 78, 0.06);
  transform: translateY(-2px);
}

.pricing-grid article .on-sale {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  font-weight: 700;
  color: #ffffff;
  background: var(--warm);
  border-radius: 6px;
  padding: 3px 8px;
}

.pricing-grid strong {
  display: block;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-grid article del {
  font-size: 13px;
  color: #94a3b8;
  font-weight: normal;
  padding-left: 8px;
}

.pricing-grid article .sale-tips {
  font-size: 12px;
  color: var(--warm);
  padding-left: 8px;
  font-weight: 700;
}

.plan-name {
  color: var(--brand);
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 6px;
}

.pricing-grid p {
  height: auto;
  min-height: 40px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.pricing-grid small {
  display: block;
  margin-top: auto;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.pricing-grid .button {
  margin-top: 22px;
}

.featured-plan {
  border-color: var(--brand-gold);
  border-width: 2px;
  box-shadow: 0 12px 36px rgba(45, 27, 78, 0.15);
}

.pricing-note,
.pricing-more {
  max-width: 980px;
  margin: 22px auto 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
  line-height: 1.6;
}

.pricing-more p {
  margin: 0;
}

.pricing-more .text-link {
  margin-top: 10px;
}

.pricing-rule-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1280px;
  margin: 0 auto;
}

.pricing-rule-grid article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: #ffffff;
}

.pricing-rule-grid h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}

.pricing-rule-grid p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* ===== Flow Cards (Payment/Subscription Flow) ===== */
.flow-cards {
  display: flex;
  align-items: stretch;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
}

.flow-card {
  flex: 1 1 220px;
  max-width: 300px;
  background: #ffffff;
  border: 1px solid rgba(201, 169, 110, 0.18);
  border-radius: 16px;
  padding: 32px 28px 28px;
  text-align: center;
  position: relative;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.flow-card:hover {
  box-shadow: 0 8px 24px rgba(90, 50, 120, 0.08);
  transform: translateY(-2px);
}

.flow-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(90, 50, 120, 0.06) 0%, rgba(90, 50, 120, 0.12) 100%);
  color: var(--primary);
  margin: 0 auto 20px;
}

.flow-card h3 {
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}

.flow-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.flow-card-connect {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  flex-shrink: 0;
}

.connect-line {
  width: 1px;
  flex: 1;
  background: linear-gradient(to bottom, transparent, rgba(201, 169, 110, 0.3), transparent);
}

.connect-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(201, 169, 110, 0.25);
  color: var(--primary);
  margin: 4px 0;
  flex-shrink: 0;
}

.connect-arrow i {
  font-size: 16px;
  line-height: 1;
}

/* ===== Contact ===== */
.compact-contact {
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
}

.offer-list {
  display: grid;
  gap: 12px;
}

.offer-list span {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  background: #ffffff;
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.offer-list span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  flex-shrink: 0;
}

.offer-list span:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-sm);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(420px, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: var(--radius);
  padding: clamp(28px, 5vw, 52px);
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgba(201, 169, 110, 0.08),
    0 12px 40px rgba(45, 27, 78, 0.06);
}

.lead-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.lead-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.lead-form input,
.lead-form select,
.lead-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  background: #ffffff;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lead-form input:focus,
.lead-form select:focus,
.lead-form textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(45, 27, 78, 0.1);
}

.lead-form textarea {
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* ===== Text Link ===== */
.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
  transition: color 0.2s;
}

.text-link:hover {
  color: var(--brand-gold);
}

/* ===== FAQ Page ===== */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  padding: 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.faq-item h2 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--brand);
}

.faq-answer p {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.faq-answer strong {
  color: var(--ink);
}

/* ===== Cases Page ===== */
.case-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 32px;
}

.case-card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.case-card.featured-case {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 1px var(--brand-gold);
}

.case-badge {
  display: inline-block;
  padding: 3px 12px;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 14px;
}

.case-card h3 {
  margin: 0 0 6px;
  font-size: 22px;
  color: var(--ink);
}

.case-type {
  margin: 0 0 16px;
  font-size: 14px;
  color: var(--muted);
}

.case-card blockquote {
  margin: 0 0 20px;
  padding: 14px 18px;
  border-left: 3px solid var(--brand-gold);
  background: var(--soft);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15px;
  line-height: 1.8;
  color: var(--ink);
}

.case-details h4 {
  margin: 18px 0 6px;
  font-size: 15px;
  color: var(--brand);
}

.case-details p {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

.case-trust {
  padding: 32px 0;
}

.case-trust h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: var(--ink);
}

.case-trust p {
  margin: 0 0 14px;
  color: var(--muted);
  line-height: 1.8;
}

.case-trust ul {
  margin: 0 0 20px;
  padding-left: 20px;
}

.case-trust li {
  margin: 6px 0;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .case-detail {
    grid-template-columns: 1fr;
  }
}

/* ===== Download Page ===== */
.download-hero {
  display: grid;
  align-items: center;
  min-height: calc(100dvh - 68px);
}

.download-hero-copy {
  max-width: 860px;
}

.download-hero h1 {
  margin: 0;
  color: var(--brand);
  font-size: clamp(42px, 6vw, 78px);
  line-height: 1.08;
  letter-spacing: -0.025em;
}
.download-hero h1 span.small { 
  font-size: 0.8em; 
  display: block;
  margin-top: 15px;
}

.download-hero-copy > p:not(.eyebrow) {
  margin: 50px 0 0;
  max-width: 850px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.8;
}

.download-actions {
  margin-top: 70px;
}

.download-panel {
  padding: 28px;
  border: 1px solid rgba(201, 169, 110, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.84) 100%),
    radial-gradient(circle at 20% 0%, rgba(201,169,110,0.24), transparent 34%);
  box-shadow: var(--shadow-lg);
}

.download-panel-head,
.download-file {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.download-file {
  padding-top: 18px;
}

.download-panel span,
.download-note {
  color: var(--muted);
  font-size: 14px;
}

.download-panel strong {
  color: var(--brand);
}

.download-link-list {
  display: grid;
  gap: 12px;
  margin: 22px 0;
}

.download-link-list a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.download-link-list a:hover {
  border-color: rgba(201, 169, 110, 0.64);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.download-note {
  margin: 0;
  line-height: 1.75;
}

.download-value-grid,
.download-fit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  max-width: 1120px;
  margin: 0 auto;
}

.download-value-grid article,
.download-fit-grid article,
.download-step-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.download-value-grid article {
  padding: 26px;
}

.download-value-grid strong,
.download-step-list strong {
  display: block;
  margin-bottom: 10px;
  color: var(--brand);
  font-size: 20px;
}

.download-value-grid p,
.download-step-list p,
.download-fit-grid li {
  color: var(--muted);
  line-height: 1.75;
}

.download-flow {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.download-flow h2 {
  margin: 0;
  color: var(--brand);
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.18;
}

.download-flow > div > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.download-step-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.download-step-list article {
  padding: 24px;
}

.download-step-list span {
  display: inline-flex;
  margin-bottom: 16px;
  color: var(--brand-gold);
  font-weight: 800;
}

.download-fit-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.download-fit-grid article {
  padding: 30px;
}

.download-fit-grid h3 {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 24px;
}

.download-fit-grid ul {
  margin: 0;
  padding-left: 20px;
}

.download-fit-grid li {
  margin: 10px 0;
}

.download-faq {
  max-width: 980px;
}

@media (max-width: 1024px) {
  .download-hero,
  .download-flow {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .download-hero {
    min-height: auto;
  }

  .download-hero h1 {
    font-size: clamp(38px, 11vw, 54px);
  }

  .download-value-grid,
  .download-fit-grid,
  .download-step-list {
    grid-template-columns: 1fr;
  }

  .download-panel-head,
  .download-file,
  .download-link-list a {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ===== Footer ===== */
.site-footer {
  border-top: 1px solid rgba(201, 169, 110, 0.15);
  color: rgba(255, 255, 255, 0.65);
  background: linear-gradient(225deg, #1a0f30 0%, #2D1B4E 40%, #3b1850 70%, #4a1435 100%);
}

.site-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 34px clamp(20px, 5vw, 72px);
}

.site-footer strong {
  color: #ffffff;
  font-weight: 700;
}

.site-footer p {
  margin: 6px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer a:hover {
  color: var(--brand-gold);
}

.footer-contact,
.footer-record {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-record a {
  color: rgba(255, 255, 255, 0.55);
}

.footer-record a:hover {
  color: var(--brand-gold);
}

/* ===== Floating Contact Bar ===== */
.help-float-bar {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.help-float-toggle {
  display: none;
}

.help-float-panel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px;
  min-width: 116px;
}

.help-float-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: auto;
  min-width: 40px;
  height: auto;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-decoration: none;
  overflow: visible;
  font-size: 13px;
  white-space: nowrap;
  transition: background 0.2s;
}

.help-float-item:hover {
  background: var(--soft);
}

.help-float-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--muted);
}

.help-float-item img {
  width: 20px;
  height: auto;
  flex-shrink: 0;
  border-radius: 2px;
}

.help-float-item span {
  flex-shrink: 0;
}

.help-float-item-wx {
  position: relative;
  flex-direction: column;
  overflow: visible;
}

.help-float-qr {
  width: 88px !important;
  height: 88px !important;
  border-radius: 4px !important;
  display: block;
}

.help-float-qr-label {
  display: none;
}

.help-float-mobile-toggle {
  display: none;
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .hero,
  .value-layout,
  .contact-card,
  .compact-contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    text-align: center;
  }

  .hero-copy,
  .hero-media {
    max-width: 100%;
  }

  .hero-actions,
  .hero-points {
    justify-content: center;
  }

  .pain-grid,
  .scene-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .features-grid-section {
    grid-template-columns: 1fr;
  }

  .video-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-list li::after {
    display: none;
  }
}

@media (max-width: 1024px) {
  .site-header {
    height: auto;
    min-height: 64px;
  }

  .site-header-inner {
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
    padding: 12px 16px;
  }

  .brand-logo {
    height: 44px;
    max-width: 220px;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: inline-flex;
  }

  .site-header.open .nav,
  .site-header-inner.open .nav {
    display: grid;
    flex-basis: 100%;
    gap: 8px;
    margin: 0;
  }

  .site-header.open .nav a,
  .site-header-inner.open .nav a {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 10px 12px;
    background: #ffffff;
    color: var(--ink);
  }

  .section,
  .section-band {
    padding: 64px 18px;
  }

  .home-hero {
    min-height: calc(100dvh - 64px);
    padding: 25dvh 18px 64px;
    gap: 28px;
  }

  .hero h1 {
    font-size: 38px;
    white-space: normal;
  }

  .section-heading h2 {
    white-space: normal;
    text-wrap: balance;
  }

  .hero-lead {
    font-size: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .definition-grid,
  .feature-grid,
  .pricing-grid,
  .pricing-rule-grid,
  .video-list,
  .flow-outcomes {
    grid-template-columns: 1fr;
  }

  .lead-form {
    grid-template-columns: 1fr;
  }

  .site-footer {
    display: grid;
  }

  .site-footer-inner {
    display: grid;
    width: 100%;
  }

  .flow-cards {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .flow-card {
    max-width: 100%;
  }

  .flow-card-connect {
    width: auto;
    height: 48px;
    flex-direction: row;
  }

  .connect-line {
    width: auto;
    height: 1px;
    flex: 1;
    background: linear-gradient(to right, transparent, rgba(201, 169, 110, 0.3), transparent);
  }

  .connect-arrow {
    transform: rotate(90deg);
    margin: 0 4px;
  }
}

@media (max-width: 560px) {
  .brand-text {
    display: none;
  }

  .brand-logo {
    height: 36px;
    max-width: 190px;
  }

  .home-hero {
    padding: 0 18px 56px;
    gap: 22px;
  }

  .home-hero h1 {
    font-size: 36px;
    line-height: 1.35;
  }

  .home-hero h1 .h1-name { margin-top: 2em;}

  .home-hero h1 .h1-tagline {
    font-size: 0.65em;
    margin-top: 2.5em;
  }

  .home-hero h1 .h1-tagline.small {
    font-size: 0.45em;
    margin-top: 0.5em;
  }
  
  .home-hero .hero-lead {
    font-size: 13px;
    line-height: 1.65;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }

  .home-hero .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .home-hero .hero-actions .button {
    width: 260px;
    max-width: 100%;
  }

  .hero-points {
    justify-content: center;
  }

  .pain-grid,
  .scene-grid,
  .flow-list {
    grid-template-columns: 1fr;
  }

  .flow-panel {
    padding: 18px;
  }

  .metric-big strong {
    font-size: 52px;
  }

  .value-item {
    grid-template-columns: 1fr;
  }
}

/* ===== Mobile floating bar ===== */
@media (max-width: 768px) {
  .help-float-bar {
    right: 8px;
    top: auto;
    bottom: 100px;
    transform: none;
    gap: 4px;
  }

  .help-float-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: var(--brand-red);
    color: #ffffff;
    cursor: pointer;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    transition: transform 0.15s;
  }

  .help-float-mobile-toggle:active {
    transform: scale(1.1);
  }

  .help-float-mobile-toggle svg {
    width: 20px;
    height: 20px;
  }

  .help-float-panel {
    display: none;
    position: absolute;
    right: 0;
    bottom: 50px;
    background: #ffffff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.15);
    padding: 8px;
    min-width: 140px;
  }

  .help-float-bar.open .help-float-panel {
    display: flex;
  }

  .help-float-item {
    all: unset;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--ink);
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s;
  }

  .help-float-item:active {
    background: var(--soft);
  }

  .help-float-item:last-child {
    border-radius: 0 0 5px 5px;
  }

  .help-float-item img,
  .help-float-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--muted);
  }

  .help-float-item-wx {
    all: unset;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 12px;
    border-radius: 6px;
    color: var(--ink);
    font-size: 13px;
    cursor: pointer;
  }

  .help-float-qr {
    width: 100px !important;
    height: 100px !important;
    border-radius: 6px !important;
    margin: 4px auto;
  }

  .help-float-qr-label {
    display: block;
    font-size: 12px;
    color: var(--muted);
    text-align: center;
  }
}
