:root {
  --bg: #07111f;
  --bg-soft: #0d1b2d;
  --panel: rgba(15, 27, 45, 0.78);
  --panel-border: rgba(255,255,255,0.08);
  --text: #eef4ff;
  --muted: #a9b7cd;
  --accent: #e6b44c;
  --accent-2: #f4d48e;
  --shadow: 0 20px 60px rgba(0,0,0,0.35);
  --max: 1180px;
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Desktop */
body {
  margin: 0;
  padding-top: 80px; /* 稍微多一点更稳 */
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 0%, rgba(230,180,76,0.22), transparent 26%),
    radial-gradient(circle at 22% 18%, rgba(230,180,76,0.12), transparent 22%),
    radial-gradient(circle at 88% 10%, rgba(130,175,255,0.10), transparent 28%),
    linear-gradient(180deg, #08101b 0%, #07111f 52%, #091526 100%);
  line-height: 1.55;
}

/*  Mobile（关键） */
@media (max-width: 760px) {
  body {
    padding-top: 90px; /* 或 100px，如果还被挡就再加 */
  }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(circle at 14% 8%, rgba(230,180,76,0.14), transparent 18%),
    radial-gradient(circle at 18% 28%, rgba(230,180,76,0.08), transparent 20%);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(230,180,76,0.3);
  background: rgba(230,180,76,0.08);
  border-radius: 999px;
  color: var(--accent-2);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tm { font-size: 0.78em; vertical-align: super; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(7, 17, 31, 0.78);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand span {
  color: var(--accent);
  margin-left: 2px;
}

.brand-logo {
  height: 28px !important;
  width: 28px !important;
  object-fit: contain;
  display: block;
  flex: 0 0 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-size: 14px;
  transition: color .2s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--text); }

/* ============================= */
/* hamburger for mobile navigation */
/* ============================= */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.nav-toggle:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.18);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform .25s ease, opacity .2s ease;
}

.site-header.menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  cursor: pointer;
}

.button {
  background: linear-gradient(135deg, var(--accent) 0%, #f1c86d 100%);
  color: #101522;
  box-shadow: 0 10px 30px rgba(230,180,76,0.25);
}

.button:hover,
.button-secondary:hover {
  transform: translateY(-1px);
}

.button-secondary {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--text);
}

.nav-links a.button {
  color: #ffffff;
}

.nav-links a.button:hover,
.nav-links a.button:focus,
.nav-links a.button:visited {
  color: #ffffff;
}

.page-hero,
.hero {
  padding: 36px 0 15px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: stretch;
}

.hero-copy,
.hero-card,
.panel,
.impact-card,
.work-card,
.insight-card,
.service-card,
.cta-banner {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}

.hero-copy {
  padding: 30px 42px 40px;
}

.page-intro {
  max-width: 900px;
}

.page-intro.panel {
  padding: 36px;
}

h1 {
  margin: 18px 0 20px;
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.hero-copy p,
.page-intro p {
  margin: 0;
  max-width: 760px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 18px;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 28px;
  margin-bottom: 26px;
}

.hero-actions a {
  min-width: 180px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.hero-mini {
  margin-top: 8px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mini-stat {
  padding: 20px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}

.mini-stat strong {
  display: block;
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.mini-stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-card {
  padding: 30px 28px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
}

.hero-copy > :first-child,
.hero-card > :first-child > :first-child {
  margin-top: 0;
}

.hero-card h2,
.section-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2vw, 2.2rem);
  letter-spacing: -0.03em;
}

.hero-card p,
.section-head p,
.panel p,
.service-card p,
.insight-card p,
.work-card p,
.impact-card p {
  color: var(--muted);
  margin: 0;
}

.framework-list {
  display: grid;
  gap: 12px;
}

.framework-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.framework-item strong {
  display: block;
  margin-bottom: 4px;
}

section {
  padding: 12px 0;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 18px;
  margin-bottom: 24px;
}

.grid-3,
.grid-4,
.impact-grid,
.work-grid,
.insights-grid {
  display: grid;
  gap: 18px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.impact-grid { grid-template-columns: repeat(3, 1fr); }
.work-grid { grid-template-columns: repeat(3, 1fr); }
.insights-grid { grid-template-columns: repeat(3, 1fr); }

.panel,
.impact-card,
.work-card,
.insight-card,
.service-card {
  padding: 26px;
}

.panel h3,
.impact-card h3,
.work-card h3,
.insight-card h3,
.service-card h3 {
  margin: 0 0 10px;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.service-label {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 10px;
  background: rgba(230,180,76,0.08);
  color: var(--accent-2);
  border: 1px solid rgba(230,180,76,0.2);
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.service-card ul,
.panel ul {
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.service-card li,
.panel li { margin-bottom: 8px; }

.framework-box {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
  align-items: stretch;
}

.matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.matrix-col {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.matrix-col strong {
  display: block;
  color: var(--accent-2);
  margin-bottom: 12px;
}

.matrix-col span {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.e2e-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.e2e-list div {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--muted);
}

.impact-card strong,
.work-card strong {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent-2);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cta-banner {
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  background: linear-gradient(135deg, rgba(230,180,76,0.13) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid rgba(230,180,76,0.18);
}

.footer {
  padding: 34px 0 46px;
  color: var(--muted);
  font-size: 0.94rem;
}

.footer-line {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 1050px) {
  .hero-grid,
  .framework-box,
  .grid-3,
  .grid-4,
  .impact-grid,
  .work-grid,
  .insights-grid {
    grid-template-columns: 1fr;
  }

  .hero-mini,
  .matrix {
    grid-template-columns: 1fr;
  }
}
/* ============================= */
/* desktop vs mobile nav */
/* ============================= */
@media (max-width: 760px) {
  body {
    padding-top: 88px;
  }

  .nav {
    min-height: 72px;
    padding: 12px 0;
    align-items: center;
    justify-content: space-between;
    flex-direction: row;
    position: relative;
  }

  .brand {
    font-size: 17px;
    gap: 8px;
  }

  .brand-logo {
    height: 26px !important;
    width: 26px !important;
    flex: 0 0 26px;
  }

  .nav-toggle {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    padding: 16px;
    border-radius: 20px;
    background: rgba(10, 21, 38, 0.96);
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .site-header.menu-open .nav-links {
    display: flex;
  }

  .nav-links a {
    font-size: 15px;
    color: var(--text);
    padding: 10px 2px;
  }

  .nav-links a.button,
  .nav-links a.track-waitlist,
  .nav-links a.track-book-call {
    width: 100%;
    justify-content: center;
    padding: 13px 18px;
    margin-top: 4px;
  }

  /* top nav 两个按钮优化 = 右侧 CTA 优化 */
.nav-links a.track-waitlist {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: #ffffff;
}

.nav-links a.track-book-call {
  background: linear-gradient(135deg, var(--accent) 0%, #f1c86d 100%);
  color: #ffffff;
  box-shadow: 0 10px 30px rgba(230,180,76,0.25);
}

/* top nav 两个按钮优化 = hover 更细腻一点 */
.nav-links a.track-book-call:hover {
  box-shadow: 0 14px 36px rgba(230,180,76,0.35);
  transform: translateY(-1px);
}

/* top nav 两个按钮优化 = 两个按钮之间留出 breathing space */
.nav-links a.button {
  margin-left: 6px;
}

  .hero,
  .page-hero {
    padding-top: 34px;
  }

  .hero-copy,
  .hero-card,
  .panel,
  .service-card,
  .impact-card,
  .work-card,
  .insight-card,
  .page-intro.panel {
    padding: 22px;
  }

  .section-head,
  .cta-banner,
  .footer-line {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero-actions {
    gap: 14px;
  }

  .hero-actions a {
    min-width: 0;
    width: 100%;
  }
}

/* ============================= */
/* 很小屏幕优化                    */
/* ============================= */
@media (max-width: 420px) {
  body {
    padding-top: 84px;
  }

  .container {
    width: min(var(--max), calc(100% - 28px));
  }

  .brand {
    font-size: 16px;
  }

  .hero,
  .page-hero {
    padding-top: 28px;
  }

  h1 {
    line-height: 1.12;
  }
}
/* ============================= */
/* MODERN WAITLIST FORM REDESIGN */
/* ============================= */

.form-wrapper {
  max-width: 820px;
  margin: 0 auto;
}

.page-intro.panel {
  margin-bottom: 18px;
}

.modern-form {
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 56px;
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease, transform .2s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  cursor: pointer;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 46px;
}

.form-group textarea {
  min-height: 180px;
  resize: vertical;
  line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #8ea0bb;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: rgba(230,180,76,0.7);
  background: rgba(255,255,255,0.06);
  box-shadow:
    0 0 0 4px rgba(230,180,76,0.08),
    0 12px 30px rgba(0,0,0,0.15);
}

.form-help {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.form-note {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.form-submit {
  margin-top: 8px;
  display: flex;
  justify-content: flex-start;
}

.form-submit .button {
  min-width: 180px;
}

.modern-form input:invalid,
.modern-form select:invalid {
  box-shadow: none;
}

@media (max-width: 760px) {
  .modern-form {
    padding: 22px;
    gap: 16px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    min-height: 52px;
    padding: 14px 16px;
    border-radius: 14px;
  }

  .form-group textarea {
    min-height: 160px;
  }
}

/* ============================= */
/* PRODUCT PAGE LAYOUT REDESIGN */
/* ============================= */

.waitlist-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: stretch;
}

.waitlist-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
  margin-bottom: 8px;
}

.signal-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.micro-note {
  margin-top: 28px;
  color: rgba(232, 237, 245, 0.64);
  font-size: 0.95rem;
  line-height: 1.7;
}

@media (max-width: 980px) {
  .waitlist-grid,
  .offer-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================= */
/* COOKIE CONSENT MODAL */
/* ============================= */

body.consent-lock {
  overflow: hidden;
}

.cookie-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(3, 8, 18, 0.72);
  backdrop-filter: blur(6px);
}

.cookie-overlay.is-visible {
  display: flex;
}

.cookie-modal {
  width: min(1120px, 100%);
  max-height: calc(100vh - 56px);
  overflow: auto;
  padding: 36px 38px 30px;
  border-radius: 28px;
  background: #f6f3ee;
  color: #172133;
  box-shadow: 0 24px 80px rgba(0,0,0,0.35);
  border: 1px solid rgba(12, 28, 48, 0.12);
}

.cookie-modal h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #172133;
}

.cookie-modal p,
.cookie-modal li,
.cookie-modal .cookie-detail-copy {
  color: #243248;
  font-size: 1.08rem;
  line-height: 1.6;
}

.cookie-modal ul {
  margin: 18px 0 0;
  padding-left: 28px;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 24px;
}

.cookie-button-primary,
.cookie-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  padding: 16px 28px;
  border-radius: 999px;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, opacity .2s ease;
}

.cookie-button-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #f1c86d 100%);
  color: #101522;
  border: none;
  border-radius: 999px;
  padding: 16px 28px;
  font-weight: 700;
  cursor: pointer;
  position: relative;
  box-shadow:
    0 10px 30px rgba(230,180,76,0.25),
    0 0 0 rgba(230,180,76,0);
  transition:
    transform .2s ease,
    box-shadow .3s ease,
    filter .3s ease;
}

.cookie-button-secondary {
  background: #ffffff;
  border: 1.5px solid rgba(23, 33, 51, 0.22);
  color: #172133;
  box-shadow: none;
}

.cookie-button-primary:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 40px rgba(230,180,76,0.35),
    0 0 18px rgba(230,180,76,0.45),
    0 0 40px rgba(230,180,76,0.25);
  filter: brightness(1.03);
}

.cookie-button-primary:active {
  transform: translateY(0);
  box-shadow:
    0 6px 18px rgba(230,180,76,0.25),
    0 0 10px rgba(230,180,76,0.3);
}

.cookie-button-secondary:hover {
  background: rgba(23, 33, 51, 0.05);
  border-color: rgba(23, 33, 51, 0.30);
}

.cookie-inline-link {
  background: transparent;
  border: 0;
  padding: 0;
  color: #172133;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
}

.cookie-footer-links {
  margin-top: 14px;
  display: flex;
  justify-content: flex-end;
}

.cookie-footer-links a {
  color: #172133;
  font-size: 0.96rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.cookie-details {
  display: none;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(23, 33, 51, 0.14);
}

.cookie-details.is-open {
  display: block;
}

.cookie-detail-grid {
  display: grid;
  gap: 16px;
  margin-top: 16px;
}

.cookie-detail-card {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(23, 33, 51, 0.04);
  border: 1px solid rgba(23, 33, 51, 0.08);
  color: #243248;
}

.cookie-detail-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1rem;
  color: #172133;
}

@media (max-width: 760px) {
  .cookie-overlay {
    padding: 14px;
  }

  .cookie-modal {
    padding: 24px 22px 22px;
    max-height: calc(100vh - 28px);
    border-radius: 22px;
  }

  .cookie-actions {
    align-items: stretch;
  }

  .cookie-button-primary,
  .cookie-button-secondary {
    width: 100%;
    min-width: 0;
  }

  .cookie-footer-links {
    justify-content: flex-start;
  }
}


/* === CTA override（一定放最后）=== */

.nav-links a.track-book-call {
  color: #ffffff !important;
}

.nav-links a.track-waitlist {
  color: #ffffff !important;
}

/* 主次区分 */
.nav-links a.track-waitlist {
  background: rgba(255,255,255,0.06) !important;
  border: 1px solid rgba(255,255,255,0.12);
}

.nav-links a.track-book-call {
  background: linear-gradient(135deg, var(--accent) 0%, #f1c86d 100%) !important;
  box-shadow: 0 10px 30px rgba(230,180,76,0.25);
}

/* 间距 */
.nav-links a.button {
  margin-left: 6px;
}

.nav-links a.track-book-call {
  box-shadow:
    0 10px 30px rgba(230,180,76,0.25),
    0 0 18px rgba(230,180,76,0.18);
}