/* ZigoAI 智构 — Growthman-inspired static-site design system
   Prefix: .gm-*  (avoids conflict with product-sites.css)
   Loads alongside /assets/product-sites.css — do NOT redefine :root */

/* M1: Reset & Base Layout */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body.page-aiyuangong {
  color: var(--text);
  background:
    radial-gradient(circle at 16% 0%, rgba(108, 61, 255, 0.10), transparent 32%),
    linear-gradient(180deg, var(--bg), #ffffff 40%, #f8fbff);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.page-aiyuangong::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(108, 61, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 61, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, black, transparent 76%);
}

body.page-aiyuangong::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0 62%, rgba(108, 61, 255, 0.05) 62% 63%, transparent 63%);
  opacity: 0.7;
}

.gm-container {
  max-width: 1400px;
  width: 90%;
  margin: 0 auto;
  position: relative;
}

/* M2: Mega-Menu Navigation (.gm-header) */
.gm-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 72px;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.gm-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-color: var(--line-strong);
  box-shadow: 0 18px 48px -24px rgba(108, 61, 255, 0.18);
}

.gm-header-inner {
  max-width: 1400px;
  width: 90%;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.gm-header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.gm-header-logo img {
  display: block;
  width: 148px;
  height: auto;
}

.gm-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.gm-nav > li {
  position: relative;
  list-style: none;
}

.gm-nav > li > a,
.gm-nav > li > button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.gm-nav > li > a:hover,
.gm-nav > li > button:hover {
  color: var(--primary);
  background: var(--primary-soft);
}

.gm-nav > li > a svg,
.gm-nav > li > button svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.gm-nav > li:hover > a svg,
.gm-nav > li:hover > button svg {
  transform: rotate(180deg);
}

/* Dropdown panels */
.gm-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 720px;
  max-width: 90vw;
  padding: 30px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(108, 61, 255, 0.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.gm-nav > li:hover .gm-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.gm-dropdown-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gm-dropdown-item {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 10px;
  transition: background 0.2s ease;
}

.gm-dropdown-item:hover {
  background: var(--surface-blue);
}

.gm-dropdown-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
}

.gm-dropdown-item-icon svg {
  width: 18px;
  height: 18px;
}

.gm-dropdown-item-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-size: 15px;
  font-weight: 800;
}

.gm-dropdown-item-title .gm-arrow-pair { display: flex; flex-direction: column; width: 14px; height: 14px; overflow: hidden; position: relative; }
.gm-dropdown-item-title .gm-arrow-pair svg { width: 14px; height: 14px; transition: transform 0.25s ease; position: absolute; top: 0; left: 0; }
.gm-dropdown-item-title .gm-arrow-pair svg:last-child { transform: translateX(-14px); }
.gm-dropdown-item:hover .gm-dropdown-item-title .gm-arrow-pair svg:first-child { transform: translateX(14px); }
.gm-dropdown-item:hover .gm-dropdown-item-title .gm-arrow-pair svg:last-child { transform: translateX(0); }

.gm-dropdown-item-desc {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.gm-dropdown-featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.gm-dropdown-featured-card {
  display: flex;
  gap: 14px;
  padding: 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gm-dropdown-featured-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 24px rgba(108, 61, 255, 0.10);
}

.gm-dropdown-featured-card img {
  width: 80px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.gm-dropdown-featured-card b {
  display: block;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.gm-dropdown-featured-card span {
  font-size: 12px;
  color: var(--muted);
}

/* CTA in nav */
.gm-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--primary);
  border-radius: 999px;
  min-height: 42px;
  padding: 10px 20px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 800;
  background: var(--primary);
  box-shadow: 0 14px 34px rgba(108, 61, 255, 0.22);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.gm-nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(108, 61, 255, 0.28);
}

/* Mobile hamburger */
.gm-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  height: 24px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.gm-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.gm-hamburger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.gm-hamburger.is-open span:nth-child(2) {
  opacity: 0;
}

.gm-hamburger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile overlay menu */
.gm-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  top: 60px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  padding: 32px 24px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.35s ease;
}

.gm-mobile-menu.is-open {
  transform: translateX(0);
}

.gm-mobile-menu ul {
  list-style: none;
  display: grid;
  gap: 4px;
}

.gm-mobile-menu a,
.gm-mobile-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  border-radius: 10px;
  background: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.gm-mobile-menu a:hover,
.gm-mobile-menu button:hover {
  background: var(--surface-blue);
}

.gm-mobile-menu .gm-nav-cta {
  margin-top: 16px;
  width: 100%;
  justify-content: center;
}

.gm-mobile-dropdown {
  display: grid;
  gap: 4px;
  padding-left: 12px;
  margin-top: 4px;
}

.gm-mobile-dropdown a {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  padding: 10px 14px;
}

/* M3: Hero Section (.gm-hero) */
.gm-hero {
  position: relative;
  padding: 140px 0 80px;
  overflow: hidden;
}

.gm-hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 600px at 80% 20%, rgba(108, 61, 255, 0.08), transparent 60%),
    radial-gradient(ellipse 700px 500px at 20% 80%, rgba(23, 105, 255, 0.06), transparent 55%);
}

.gm-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.gm-hero-copy {
  display: grid;
  gap: 28px;
  justify-items: start;
}

.gm-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--primary);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gm-hero-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.gm-hero h1 {
  margin: 0;
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 900;
  line-height: 1.08;
  color: var(--text);
  max-width: 760px;
}

.gm-hero h1 .gm-grad {
  color: var(--primary);
}

.gm-hero-lead {
  margin: 0;
  max-width: 650px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
}

.gm-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.gm-hero-visual {
  position: relative;
  display: block;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.gm-hero-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.gm-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 70%, rgba(108, 61, 255, 0.08));
}

/* Employee overview mini-cards */
.gm-hero-signals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 720px;
  margin-top: 8px;
}

.gm-signal {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gm-signal:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 24px rgba(108, 61, 255, 0.10);
}

.gm-signal b {
  display: block;
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 4px;
}

.gm-signal span {
  display: block;
  color: var(--quiet);
  font-size: 12px;
}

.gm-signal .gm-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  margin-right: 6px;
  box-shadow: 0 0 0 0 rgba(24, 167, 122, 0.5);
  animation: gm-pulse 1.8s ease-in-out infinite;
}

@keyframes gm-pulse {
  0% { box-shadow: 0 0 0 0 rgba(24, 167, 122, 0.5); }
  70% { box-shadow: 0 0 0 6px rgba(24, 167, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(24, 167, 122, 0); }
}

/* M4: Card System (.gm-card, .gm-card-grid) */
.gm-card-grid {
  display: grid;
  gap: 24px;
}

.gm-card-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gm-card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gm-card-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gm-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  background: var(--surface);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.gm-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 46px -28px rgba(108, 61, 255, 0.18), 0 6px 18px -14px rgba(108, 61, 255, 0.10);
}

.gm-card-image {
  border-radius: 8px;
  overflow: hidden;
  margin: -28px -28px 20px;
  aspect-ratio: 16 / 10;
}

.gm-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gm-card:hover .gm-card-image img {
  transform: scale(1.05);
}

.gm-card-tag {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  border: 1px solid rgba(108, 61, 255, 0.18);
  border-radius: 999px;
  padding: 5px 12px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 12px;
  font-weight: 800;
}

.gm-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
}

.gm-card p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.gm-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  transition: gap 0.2s ease;
}

.gm-card-link:hover {
  gap: 12px;
}

.gm-card-link svg {
  width: 16px;
  height: 16px;
}

.gm-card--featured {
  background: linear-gradient(135deg, rgba(108, 61, 255, 0.08), transparent 42%), #ffffff;
  border-color: var(--line-strong);
  box-shadow: 0 18px 46px -28px rgba(108, 61, 255, 0.18);
}

.gm-card--featured:hover {
  box-shadow: 0 24px 56px -24px rgba(108, 61, 255, 0.24);
}

/* M5: Section Layout (.gm-section) */
.gm-section {
  position: relative;
  padding: 100px 0;
}

.gm-section--alt {
  background: linear-gradient(180deg, rgba(234, 243, 255, 0.5), transparent);
}

.gm-section--dark {
  background: linear-gradient(180deg, rgba(234, 243, 255, 0.72), rgba(247, 251, 255, 0.86));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.gm-section-head {
  max-width: 700px;
  margin-bottom: 48px;
}

.gm-section-head--center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.gm-section-head h2 {
  margin: 0 0 16px;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 850;
  line-height: 1.12;
  color: var(--text);
}

.gm-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
  max-width: 700px;
}

/* M6: Scroll Animations (.gm-animate) */
.gm-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.gm-animate.gm-visible {
  opacity: 1;
  transform: translateY(0);
}

.gm-animate[data-gm-anim="fade-in"] {
  transform: none;
}

.gm-animate[data-gm-anim="fade-in"].gm-visible {
  opacity: 1;
}

.gm-animate[data-gm-anim="slide-left"] {
  transform: translateX(-30px);
}

.gm-animate[data-gm-anim="slide-left"].gm-visible {
  transform: translateX(0);
}

.gm-stagger > .gm-animate:nth-child(1) { transition-delay: 0s; } .gm-stagger > .gm-animate:nth-child(2) { transition-delay: 0.08s; } .gm-stagger > .gm-animate:nth-child(3) { transition-delay: 0.16s; } .gm-stagger > .gm-animate:nth-child(4) { transition-delay: 0.24s; } .gm-stagger > .gm-animate:nth-child(5) { transition-delay: 0.32s; } .gm-stagger > .gm-animate:nth-child(6) { transition-delay: 0.40s; }

/* M7: Buttons (.gm-btn) */
.gm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  min-height: 48px;
  padding: 12px 28px;
  font-weight: 800;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}

.gm-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.gm-btn--primary {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 8px 24px rgba(108, 61, 255, 0.25);
}

.gm-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(108, 61, 255, 0.32);
  background: #5a2ee0;
}

.gm-btn--secondary {
  background: #ffffff;
  color: var(--primary);
  border-color: var(--line-strong);
  box-shadow: none;
}

.gm-btn--secondary:hover {
  background: var(--surface-blue);
}

.gm-btn--ghost {
  background: transparent;
  color: var(--primary);
  border-color: transparent;
  box-shadow: none;
}

.gm-btn--ghost:hover {
  background: var(--primary-soft);
}

/* M8: Footer (.gm-footer) */
.gm-footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 30px;
  background: #ffffff;
}

.gm-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr;
  gap: 40px;
}

.gm-footer-brand {
  display: grid;
  gap: 14px;
  align-content: start;
}

.gm-footer-brand img {
  width: 148px;
  height: auto;
  display: block;
}

.gm-footer-brand p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  max-width: 260px;
}

.gm-footer-group {
  display: grid;
  gap: 14px;
  align-content: start;
}

.gm-footer-group h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}

.gm-footer-group ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.gm-footer-group a {
  display: block;
  color: var(--muted);
  font-size: 13px;
  transition: color 0.2s ease;
}

.gm-footer-group a:hover {
  color: var(--primary);
}

.gm-footer-contact {
  display: grid;
  gap: 14px;
  align-content: start;
}

.gm-footer-contact h4 {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin: 0;
}

.gm-footer-contact p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.gm-footer-contact img {
  width: 100px;
  height: auto;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.gm-footer-bar {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: center;
}

.gm-footer-bar p,
.gm-footer-bar a {
  color: var(--quiet);
  font-size: 12px;
}

.gm-footer-bar a:hover {
  color: var(--primary);
}

/* M9: Typography Scale */
.gm-display {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 900;
  line-height: 1.08;
  color: var(--text);
}

.gm-h2 {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 850;
  line-height: 1.12;
  color: var(--text);
}

.gm-h3 {
  font-size: clamp(20px, 2vw, 24px);
  font-weight: 800;
  line-height: 1.3;
  color: var(--text);
}

.gm-body-lg {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted);
}

.gm-body {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--muted);
}

.gm-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--primary);
  text-transform: uppercase;
}

.gm-label::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}

.gm-text-center { text-align: center; }
.gm-text-muted { color: var(--muted); }
.gm-text-primary { color: var(--primary); }

/* === Template Compatibility — missing classes === */

.gm-nav-inner { max-width:1400px; width:90%; margin:0 auto; height:100%; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.gm-logo { display:flex; align-items:center; gap:12px; flex-shrink:0; text-decoration:none; }
.gm-logo-img { display:block; width:148px; height:auto; }
.gm-nav .gm-nav-item { position:relative; }
.gm-nav .gm-nav-link { display:flex; align-items:center; gap:6px; padding:10px 14px; color:var(--muted); font-size:14px; font-weight:600; border-radius:10px; background:none; border:none; cursor:pointer; text-decoration:none; transition:color .2s ease,background .2s ease; }
.gm-nav .gm-nav-link:hover { color:var(--primary); background:var(--primary-soft); }
.gm-nav-item:hover .gm-dropdown { opacity:1; visibility:visible; pointer-events:auto; transform:translateX(-50%) translateY(0); }
.gm-dropdown-card { display:grid; gap:8px; padding:14px; border-radius:10px; text-decoration:none; color:inherit; transition:background .2s ease; }
.gm-dropdown-card:hover { background:var(--surface-blue); }
.gm-dropdown-card b { display:block; color:var(--text); font-size:15px; font-weight:800; }
.gm-dropdown-card>span { color:var(--muted); font-size:13px; line-height:1.5; }
.gm-icon-chip { width:36px; height:36px; border-radius:10px; display:grid; place-items:center; font-size:14px; font-weight:900; flex-shrink:0; }
.gm-arrow-pair { display:flex; width:28px; height:14px; overflow:hidden; position:relative; }
.gm-arrow-pair span { display:block; width:14px; height:14px; font-size:12px; line-height:14px; text-align:center; transition:transform .25s ease; position:absolute; top:0; left:0; color:var(--primary); }
.gm-arrow-pair span:last-child { transform:translateX(14px); }
.gm-dropdown-card:hover .gm-arrow-pair span:first-child { transform:translateX(-14px); }
.gm-dropdown-card:hover .gm-arrow-pair span:last-child { transform:translateX(0); }
.gm-dropdown-grid--links { display:flex; flex-direction:column; gap:4px; }
.gm-dropdown-link { display:block; padding:10px 14px; color:var(--muted); font-size:14px; font-weight:600; border-radius:10px; text-decoration:none; transition:color .2s ease,background .2s ease; }
.gm-dropdown-link:hover { color:var(--primary); background:var(--primary-soft); }
.gm-footer-col { display:grid; gap:14px; align-content:start; }
.gm-footer-col h4 { font-size:14px; font-weight:800; color:var(--text); margin:0; }
.gm-footer-col a { display:block; color:var(--muted); font-size:13px; text-decoration:none; transition:color .2s ease; }
.gm-footer-col a:hover { color:var(--primary); }
.gm-footer-logo { width:148px; height:auto; display:block; }
.gm-footer-icp { margin-top:40px; padding-top:20px; border-top:1px solid var(--line); }
.gm-footer-icp p,.gm-footer-icp a { color:var(--quiet); font-size:12px; }
.gm-footer-icp a:hover { color:var(--primary); }
.gm-btn--sm { min-height:38px; padding:8px 16px; font-size:13px; }
.gm-hamburger--open span:nth-child(1) { transform:translateY(7px) rotate(45deg); }
.gm-hamburger--open span:nth-child(2) { opacity:0; }
.gm-hamburger--open span:nth-child(3) { transform:translateY(-7px) rotate(-45deg); }
.gm-nav--open { display:flex !important; flex-direction:column; position:fixed; inset:0; top:60px; background:rgba(255,255,255,.98); backdrop-filter:blur(20px); z-index:999; padding:32px 24px; overflow-y:auto; gap:8px; }
.gm-nav--open .gm-nav-item { width:100%; }
.gm-nav--open .gm-nav-link { display:block; padding:14px 16px; font-size:16px; border-radius:12px; }
.gm-nav--open .gm-dropdown { display:block; position:static; transform:none; opacity:1; visibility:visible; pointer-events:auto; width:100%; max-width:none; padding:8px 0; box-shadow:none; border:none; background:transparent; }
.gm-nav--open .gm-dropdown-grid { display:flex; flex-direction:column; gap:4px; }
.gm-nav--open .gm-dropdown-card { padding:12px 16px; }

/* M10: Responsive Breakpoints */
@media (max-width: 1024px) {
  .gm-header { height: 64px; }
  .gm-section { padding: 80px 0; }
  .gm-hero { padding: 120px 0 60px; }
  .gm-hero-grid { gap: 40px; }
  .gm-card-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gm-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gm-dropdown { width: 640px; }
  .gm-proof-grid, .gm-playbook-grid, .gm-pilot-grid, .gm-capability-grid, .gm-metrics, .gm-scenario-grid, .gm-insight-grid, .gm-pain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gm-proof-lead, .gm-playbook-card--featured { grid-column: 1 / -1; }
  .gm-pilot-connector { display: none; }
  .gm-compare { grid-template-columns: 1fr; }
  .gm-trust-layout { grid-template-columns: 1fr; }
  .gm-board-body { grid-template-columns: 1fr; }
  .gm-side-list { border-right: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .gm-side-card { margin-bottom: 0; }
  .gm-cta-card { grid-template-columns: 1fr; }
  .gm-cta-qr { justify-self: start; }
  .gm-flow-step { grid-template-columns: 1fr; }
  .gm-flow-outcome { justify-self: start; }
}

@media (max-width: 768px) {
  .gm-header { height: 60px; }
  .gm-nav { display: none; }
  .gm-hamburger { display: flex; }
  .gm-mobile-menu { display: block; }
  .gm-hero { padding: 110px 0 48px; }
  .gm-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .gm-hero h1 { font-size: clamp(32px, 8vw, 48px); }
  .gm-hero-signals { grid-template-columns: 1fr; }
  .gm-section { padding: 60px 0; }
  .gm-section { padding: 60px 0; }
  .gm-section-head h2 { font-size: clamp(26px, 6vw, 36px); }
  .gm-card-grid--2, .gm-card-grid--3, .gm-card-grid--4 { grid-template-columns: 1fr; }
  .gm-footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .gm-footer-col { gap: 10px; }
  .gm-footer-bar { flex-direction: column; text-align: center; gap: 8px; }
  .gm-footer-icp { margin-top: 24px; padding-top: 16px; text-align: center; }
  .gm-btn { width: 100%; justify-content: center; }
  .gm-dropdown { display: none; }
  .gm-proof-grid, .gm-playbook-grid, .gm-pilot-grid, .gm-capability-grid, .gm-metrics, .gm-scenario-grid, .gm-insight-grid, .gm-pain-grid, .gm-fit-grid, .gm-trust-grid { grid-template-columns: 1fr; }
  .gm-playbook-card--featured { grid-column: auto; }
  .gm-proof-lead { grid-column: auto; }
  .gm-side-list { grid-template-columns: 1fr; }
  .gm-cta { padding: 60px 0 80px; }
  .gm-cta-card { padding: 24px; border-radius: 16px; }
  .gm-cta-qr { width: min(100%, 220px); }
  .gm-product-hero { padding: 110px 0 40px; }
  .gm-workflow-area, .gm-boundary-box, .gm-job-desc, .gm-mini-faq { padding: 20px; }
}

@media (max-width: 480px) {
  .gm-container { width: 92%; }
  .gm-hero h1 { font-size: clamp(28px, 10vw, 40px); }
  .gm-card { padding: 20px; }
  .gm-card-image { margin: -20px -20px 16px; }
  .gm-section-head h2 { font-size: clamp(24px, 8vw, 32px); }
  .gm-nav-cta { width: 100%; justify-content: center; }
  .gm-proof-item, .gm-proof-lead { padding: 14px 16px; }
  .gm-playbook-card { padding: 20px; }
  .gm-playbook-card h3 { font-size: 22px; }
  .gm-pilot-step, .gm-compare-panel { padding: 20px; }
  .gm-flow-step { padding: 14px; }
  .gm-capability-card { padding: 18px; }
  .gm-metric { padding: 16px; }
  .gm-metric b { font-size: 22px; }
  .gm-footer-col { gap: 8px; }
  .gm-footer-col h4 { font-size: 13px; }
  .gm-footer-icp { margin-top: 20px; }
}

@media (pointer: coarse) {
  .gm-nav > li > a, .gm-nav > li > button, .gm-mobile-menu a, .gm-mobile-menu button, .gm-btn, .gm-card-link, .gm-dropdown-item, .gm-faq summary, .gm-nav-link, .gm-dropdown-card, .gm-dropdown-link { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .gm-animate { opacity: 1; transform: none; }
}

/* M11: FAQ Accordion */
.gm-faq {
  display: grid;
  gap: 12px;
}

.gm-faq details {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.gm-faq details:hover {
  border-color: var(--line-strong);
}

.gm-faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  cursor: pointer;
  font-weight: 800;
  font-size: 17px;
  color: var(--text);
  list-style: none;
}

.gm-faq summary::-webkit-details-marker {
  display: none;
}

.gm-faq summary::marker {
  display: none;
}

.gm-faq summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 18px;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.gm-faq details[open] summary::after {
  content: "\2212";
}

.gm-faq details[open] summary {
  border-bottom: 1px solid var(--line);
}

.gm-faq-answer {
  padding: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.gm-faq-answer p + p {
  margin-top: 12px;
}

/* M12: Utility & Helper Classes */
.gm-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.gm-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.gm-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.gm-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: var(--primary-soft);
  color: var(--primary);
}

.gm-tag--green {
  background: rgba(24, 167, 122, 0.10);
  color: var(--green);
}

.gm-tag--blue {
  background: rgba(23, 105, 255, 0.10);
  color: var(--blue);
}

.gm-mb-8 { margin-bottom: 8px; } .gm-mb-16 { margin-bottom: 16px; } .gm-mb-24 { margin-bottom: 24px; } .gm-mb-32 { margin-bottom: 32px; } .gm-mb-48 { margin-bottom: 48px; } .gm-mb-64 { margin-bottom: 64px; }

.gm-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: var(--quiet);
  font-size: 13px;
}

.gm-breadcrumb a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.gm-breadcrumb a:hover {
  color: var(--primary);
}

.gm-breadcrumb span {
  color: var(--text);
  font-weight: 700;
}

.gm-breadcrumb .gm-sep {
  color: var(--quiet);
}

/* Content-Specific: Proof Strip */
.gm-proof-strip {
  padding: 0 0 42px;
}

.gm-proof-grid {
  display: grid;
  grid-template-columns: 1.08fr repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.gm-proof-lead {
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  padding: 18px 20px;
  background: var(--surface-blue);
}

.gm-proof-lead strong,
.gm-proof-item b {
  display: block;
  color: var(--text);
  font-size: 20px;
  line-height: 1.28;
  font-weight: 800;
}

.gm-proof-lead span,
.gm-proof-item span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 4px;
}

.gm-proof-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gm-proof-item:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 24px rgba(108, 61, 255, 0.10);
}

/* Content-Specific: Employee Playbook Cards */
.gm-playbook-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.92fr 0.92fr;
  gap: 24px;
  align-items: stretch;
}

.gm-playbook-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gm-playbook-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 46px -28px rgba(108, 61, 255, 0.18);
}

.gm-playbook-card--featured {
  background: linear-gradient(135deg, rgba(108, 61, 255, 0.11), transparent 42%), #ffffff;
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.gm-playbook-card--featured:hover {
  box-shadow: 0 24px 56px -24px rgba(108, 61, 255, 0.24);
}

.gm-playbook-role {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 18px;
  border: 1px solid rgba(108, 61, 255, 0.18);
  border-radius: 999px;
  padding: 5px 12px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 12px;
  font-weight: 800;
}

.gm-playbook-card h3 {
  margin: 0 0 12px;
  color: var(--text);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
}

.gm-playbook-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.gm-playbook-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0 0 22px;
  padding: 0;
}

.gm-playbook-list li {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
}

.gm-playbook-list b {
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.gm-playbook-list span {
  color: var(--muted);
  font-size: 13px;
}

.gm-playbook-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: var(--primary);
  font-size: 14px;
  font-weight: 800;
  transition: gap 0.2s ease;
}

.gm-playbook-link:hover {
  gap: 12px;
}

.gm-playbook-link svg {
  width: 16px;
  height: 16px;
}

/* Content-Specific: Pilot Path (4 steps) */
.gm-pilot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  position: relative;
}

.gm-pilot-step {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  background: var(--surface);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gm-pilot-step:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 46px -28px rgba(108, 61, 255, 0.18);
}

.gm-pilot-step code {
  display: inline-flex;
  margin-bottom: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 5px 11px;
  color: var(--primary);
  background: var(--primary-soft);
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 12px;
  font-weight: 900;
}

.gm-pilot-step h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.gm-pilot-step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.gm-pilot-step-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 16px;
}

.gm-pilot-step-icon svg {
  width: 24px;
  height: 24px;
}

.gm-pilot-connector {
  position: absolute;
  top: 50%;
  right: -20px;
  width: 24px;
  height: 24px;
  transform: translateY(-50%);
  color: var(--line-strong);
  z-index: 2;
  pointer-events: none;
}

.gm-pilot-step:last-child .gm-pilot-connector {
  display: none;
}

/* Content-Specific: Comparison Table */
.gm-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.gm-compare-panel {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  background: var(--surface);
}

.gm-compare-panel--good {
  border-color: rgba(24, 167, 122, 0.22);
  background: rgba(24, 167, 122, 0.06);
}

.gm-compare-panel h3 {
  margin: 0 0 18px;
  color: var(--text);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.35;
}

.gm-compare-panel ul {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.gm-compare-panel li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.gm-compare-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.gm-compare-panel--good li::before {
  background: var(--green);
}

.gm-compare-panel:not(.gm-compare-panel--good) li::before {
  background: var(--coral);
}

/* Content-Specific: Process Flow */
.gm-flow {
  display: grid;
  gap: 14px;
}

.gm-flow-step {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) 170px;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gm-flow-step:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 24px rgba(108, 61, 255, 0.10);
}

.gm-flow-step code {
  color: var(--primary);
  font-family: "Cascadia Mono", "Consolas", monospace;
  font-size: 12px;
  font-weight: 800;
}

.gm-flow-step h3 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
}

.gm-flow-step p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.gm-flow-outcome {
  justify-self: end;
  border: 1px solid rgba(24, 167, 122, 0.24);
  border-radius: 999px;
  padding: 8px 14px;
  color: var(--green);
  background: rgba(24, 167, 122, 0.09);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

/* Content-Specific: CTA Block */
.gm-cta {
  padding: 88px 0 108px;
}

.gm-cta-card {
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  padding: 34px;
  background: radial-gradient(circle at 12% 0%, rgba(108, 61, 255, 0.13), transparent 40%), #ffffff;
  box-shadow: var(--shadow);
}

.gm-cta-card h2 {
  margin: 0 0 16px;
  max-width: 760px;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 850;
  line-height: 1.12;
  color: var(--text);
}

.gm-cta-card p {
  margin: 0 0 24px;
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.gm-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gm-cta-qr {
  justify-self: end;
  align-self: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 14px;
  width: 210px;
  background: #ffffff;
  color: var(--text);
  text-align: center;
}

.gm-cta-qr img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}

.gm-cta-qr span {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 800;
}

/* Content-Specific: Product Detail Page */
.gm-product-hero {
  position: relative;
  padding: 140px 0 60px;
}

.gm-product-hero .gm-hero-grid {
  align-items: start;
}

.gm-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  border: 1px solid rgba(24, 167, 122, 0.28);
  border-radius: 999px;
  padding: 6px 14px;
  color: var(--green);
  background: rgba(24, 167, 122, 0.08);
  font-size: 13px;
  font-weight: 800;
}

.gm-status-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  animation: gm-pulse 1.8s ease-in-out infinite;
}

.gm-job-desc {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  background: var(--surface);
  margin-bottom: 24px;
}

.gm-job-desc h3 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.gm-job-desc p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.gm-workflow-area {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  background: var(--surface);
  margin-bottom: 24px;
}

.gm-workflow-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.gm-workflow-tags i {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 12px;
  color: var(--quiet);
  background: #ffffff;
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
}

.gm-capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gm-capability-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: linear-gradient(135deg, rgba(23, 105, 255, 0.08), transparent 46%), #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gm-capability-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 24px rgba(108, 61, 255, 0.10);
}

.gm-capability-card h3 {
  margin: 0 0 10px;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

.gm-capability-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.gm-boundary-box {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 28px;
  background: var(--surface);
  margin-bottom: 24px;
}

.gm-boundary-box h3 {
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}

.gm-boundary-box ul {
  list-style: none;
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.gm-boundary-box li {
  position: relative;
  padding-left: 20px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.gm-boundary-box li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
}

.gm-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 24px;
}

.gm-metric {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gm-metric:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 24px rgba(108, 61, 255, 0.10);
}

.gm-metric b {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--primary);
  margin-bottom: 6px;
}

.gm-metric span {
  display: block;
  font-size: 13px;
  color: var(--muted);
}

.gm-mini-faq {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  background: var(--surface);
}

.gm-mini-faq h4 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

/* Content-Specific: Trust / Fit Cards */
.gm-fit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gm-fit {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gm-fit:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 24px rgba(108, 61, 255, 0.10);
}

.gm-fit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  background: var(--primary);
  flex-shrink: 0;
}

.gm-fit h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.gm-fit p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Content-Specific: Scenario / Insight Cards */
.gm-scenario-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.gm-scenario-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: var(--surface);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.gm-scenario-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: 0 18px 46px -28px rgba(108, 61, 255, 0.18);
}

.gm-scenario-card span {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  border: 1px solid rgba(108, 61, 255, 0.18);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--primary);
  background: var(--primary-soft);
  font-size: 12px;
  font-weight: 800;
}

.gm-scenario-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}

.gm-scenario-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.gm-insight-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gm-insight {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: var(--surface);
}

.gm-insight strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.gm-insight span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Content-Specific: Pain Cards */
.gm-pain-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.gm-pain-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: linear-gradient(180deg, rgba(108, 61, 255, 0.06), transparent 42%), #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gm-pain-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 24px rgba(108, 61, 255, 0.10);
}

.gm-pain-card span {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 14px;
  border: 1px solid rgba(24, 167, 122, 0.2);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--green);
  background: rgba(24, 167, 122, 0.08);
  font-size: 12px;
  font-weight: 800;
}

.gm-pain-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}

.gm-pain-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Content-Specific: Trust Layout */
.gm-trust-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: start;
}

.gm-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.gm-trust-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
  background: var(--surface);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.gm-trust-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 8px 24px rgba(108, 61, 255, 0.10);
}

.gm-trust-card h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}

.gm-trust-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* Content-Specific: Product Board (chat demo) */
.gm-product-board {
  position: relative;
  display: block;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.gm-board-top {
  min-height: 52px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  border-bottom: 1px solid var(--line);
  background: var(--panel-2);
}

.gm-board-dots {
  display: flex;
  gap: 7px;
}

.gm-board-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.gm-board-dots span:nth-child(1) { background: var(--coral); } .gm-board-dots span:nth-child(2) { background: var(--gold); } .gm-board-dots span:nth-child(3) { background: var(--green); }

.gm-board-title {
  color: var(--quiet);
  font-size: 12px;
}

.gm-live-pill {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(24, 167, 122, 0.28);
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.gm-live-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.gm-board-body {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  min-height: 500px;
}

.gm-side-list {
  border-right: 1px solid var(--line);
  background: var(--panel-2);
  padding: 16px;
}

.gm-side-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px;
  background: #ffffff;
  margin-bottom: 10px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.gm-side-card:last-child {
  margin-bottom: 0;
}

.gm-side-card.active {
  border-color: var(--line-strong);
  background: var(--surface-blue);
}

.gm-side-card b {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}

.gm-side-card small {
  color: var(--quiet);
  font-size: 12px;
}

.gm-work-area {
  padding: 18px;
}

.gm-work-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.gm-work-head b {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
}

.gm-work-head span {
  color: var(--quiet);
  font-size: 12px;
}

.gm-chat {
  display: grid;
  gap: 10px;
}

.gm-bubble {
  max-width: 88%;
  padding: 11px 13px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.gm-bubble.user {
  justify-self: start;
}

.gm-bubble.ai {
  justify-self: end;
  border-color: var(--line-strong);
  color: var(--text);
  background: var(--surface-blue);
}

.gm-bubble.system {
  max-width: 100%;
  color: var(--green);
  background: rgba(24, 167, 122, 0.08);
  border-color: rgba(24, 167, 122, 0.22);
  font-size: 12px;
  font-weight: 800;
}
