/*
 * VEYDU Homepage · 公司官网样式
 *
 * 视觉策略（与后台 design.md 解耦）：
 *   - 用 VEYDU tokens.css 的颜色 token（bg / surface / text / primary）保持品牌一致
 *   - 但不套用后台 design.md 的密度参数（控件 36px / 14px 字号 / 1.6 行高 / 6-8px 圆角）
 *   - 官网需要自己的节奏：大字、大间距、大圆角、营销聚焦
 *   - 允许适度使用色块 / 渐变作为视觉强调
 */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--veydu-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--veydu-text);
  background: var(--veydu-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--veydu-link);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  inset: -100px 0 auto 0;
  padding: 10px 16px;
  background: var(--veydu-primary);
  color: #ffffff;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  z-index: 100;
  transition: inset 180ms;
}
.skip-link:focus {
  inset: 0 0 auto 0;
}

:focus-visible {
  outline: 2px solid var(--veydu-focus);
  outline-offset: 2px;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* ===== Site Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--veydu-surface) 90%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--veydu-border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--veydu-text);
  text-decoration: none;
}
.brand:hover {
  text-decoration: none;
}
.brand__img {
  display: block;
  height: 28px;
  width: auto;
  object-fit: contain;
}
.brand__divider {
  width: 1px;
  height: 20px;
  background: var(--veydu-border);
}
.brand__chinese {
  font-size: 16px;
  color: var(--veydu-text-secondary);
  white-space: nowrap;
}

/* Nav */
.nav {
  margin-left: auto;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  padding: 0;
  cursor: pointer;
  border-radius: 8px;
  color: var(--veydu-text);
}
.nav-toggle:hover {
  background: var(--veydu-surface-muted);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  border-radius: 2px;
}
.nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 8px;
}
.nav-list a {
  display: inline-block;
  color: var(--veydu-text-secondary);
  font-weight: 500;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 15px;
  transition: color 180ms, background 180ms;
}
.nav-list a:hover {
  color: var(--veydu-text);
  background: var(--veydu-surface-muted);
  text-decoration: none;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav-list {
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--veydu-surface);
    border-bottom: 1px solid var(--veydu-border);
    flex-direction: column;
    gap: 0;
    padding: 12px 24px;
    transform: translateY(-4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms, transform 180ms;
  }
  .nav-list.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-list a {
    display: block;
    padding: 14px 0;
    border-radius: 0;
  }
  .nav-list li + li {
    border-top: 1px solid var(--veydu-border);
  }
}

/* ===== Hero ===== */
.hero {
  padding-top: clamp(72px, 12vw, 128px);
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      ellipse 60% 50% at 50% 0%,
      color-mix(in srgb, var(--veydu-primary) 8%, transparent),
      transparent 70%
    );
  pointer-events: none;
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  padding-block: clamp(24px, 6vw, 64px);
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 24px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--veydu-primary-soft);
  color: var(--veydu-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.hero__eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--veydu-primary);
}

.hero__title {
  margin: 0 0 24px;
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--veydu-text);
}
.hero__title-accent {
  color: var(--veydu-primary);
}

.hero__sub {
  margin: 0 0 16px;
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 600;
  color: var(--veydu-text-secondary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero__desc {
  margin: 0 auto 40px;
  max-width: 640px;
  color: var(--veydu-text-secondary);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7;
}

.hero__cta {
  display: inline-flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hero stats */
.hero__stats {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--veydu-border);
  margin-top: clamp(48px, 8vw, 96px);
  padding-block: 32px;
}
.hero__stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.hero__stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  padding: 8px 0;
}
.hero__stat-num {
  font-size: clamp(28px, 4vw, 40px);
  line-height: 1.1;
  font-weight: 700;
  color: var(--veydu-primary);
  letter-spacing: -0.02em;
}
.hero__stat-label {
  font-size: 13px;
  color: var(--veydu-text-secondary);
}

@media (max-width: 720px) {
  .hero__stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

/* ===== Trust Strip ===== */
.trust-strip {
  padding-block: 32px;
  background: var(--veydu-surface-muted);
  border-block: 1px solid var(--veydu-border);
}
.trust-strip__label {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--veydu-text-secondary);
  letter-spacing: 0.04em;
  text-align: center;
}
.trust-strip__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: center;
}
.trust-strip__list li {
  font-size: 16px;
  font-weight: 600;
  color: var(--veydu-text);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  padding-inline: 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 180ms, border-color 180ms, color 180ms,
    box-shadow 180ms, transform 180ms;
  white-space: nowrap;
}
.btn:hover {
  text-decoration: none;
}

.btn--lg {
  height: 52px;
  padding-inline: 32px;
}
.btn--xl {
  height: 56px;
  padding-inline: 36px;
  font-size: 16px;
  border-radius: 14px;
}

.btn--primary {
  background: var(--veydu-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px color-mix(in srgb, var(--veydu-primary) 30%, transparent);
}
.btn--primary:hover {
  background: var(--veydu-primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--veydu-primary) 40%, transparent);
}

.btn--secondary {
  background: var(--veydu-surface);
  color: var(--veydu-text);
  border-color: var(--veydu-border-strong);
}
.btn--secondary:hover {
  background: var(--veydu-surface-muted);
  border-color: var(--veydu-primary);
  color: var(--veydu-primary);
  transform: translateY(-1px);
}

.btn__arrow {
  flex-shrink: 0;
  transition: transform 180ms;
}
.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* ===== Sections ===== */
.section {
  padding-block: clamp(80px, 10vw, 128px);
}
.section--muted {
  background: var(--veydu-surface-muted);
}

.section__head {
  margin-bottom: 56px;
  max-width: 800px;
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}

.section__eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--veydu-primary-soft);
  color: var(--veydu-primary);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.section__title {
  margin: 0 0 16px;
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--veydu-text);
}

.section__lede {
  margin: 0;
  color: var(--veydu-text-secondary);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.7;
  max-width: 640px;
}
.section__head--center .section__lede {
  margin-inline: auto;
}

/* ===== Product Grid ===== */
.product-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.product-card {
  padding: 32px;
  background: var(--veydu-surface);
  border: 1px solid var(--veydu-border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 180ms, transform 180ms, box-shadow 180ms;
}
.product-card:hover {
  border-color: var(--veydu-primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--veydu-primary) 12%, transparent);
}

.product-card__head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.product-card__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--veydu-primary);
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}
.product-card__chip {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--veydu-primary-soft);
  color: var(--veydu-primary);
  font-size: 12px;
  font-weight: 600;
}

.product-card__name {
  margin: 4px 0 0;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  color: var(--veydu-text);
  letter-spacing: -0.01em;
}
.product-card__desc {
  margin: 0;
  color: var(--veydu-text-secondary);
  font-size: 15px;
  line-height: 1.7;
  flex: 1;
}
.product-card__link {
  margin-top: 8px;
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--veydu-link);
}
.product-card__link span {
  display: inline-block;
  transition: transform 180ms;
}
.product-card__link:hover span {
  transform: translateX(3px);
}

/* ===== Mission / Vision ===== */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.mission-card {
  padding: 48px 40px;
  background: var(--veydu-surface);
  border: 1px solid var(--veydu-border);
  border-radius: 24px;
}
.mission-card__label {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--veydu-primary);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.mission-card__title {
  margin: 0 0 16px;
  font-size: clamp(24px, 2.6vw, 30px);
  line-height: 1.3;
  font-weight: 700;
  color: var(--veydu-text);
  letter-spacing: -0.01em;
}
.mission-card__desc {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--veydu-text-secondary);
}

/* ===== Feature Grid ===== */
.feature-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}
.feature {
  padding: 24px 0;
  border-top: 2px solid var(--veydu-primary);
}
.feature__num {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--veydu-primary);
  letter-spacing: 0.08em;
}
.feature__title {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--veydu-text);
}
.feature p {
  margin: 0;
  color: var(--veydu-text-secondary);
  line-height: 1.7;
  font-size: 15px;
}

/* ===== CTA Banner ===== */
.cta-banner {
  padding-block: clamp(64px, 8vw, 96px);
  background: linear-gradient(
    135deg,
    var(--veydu-primary-soft) 0%,
    color-mix(in srgb, var(--veydu-primary-soft) 60%, var(--veydu-surface)) 100%
  );
  border-block: 1px solid var(--veydu-border);
}
.cta-banner__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cta-banner__icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  background: var(--veydu-surface);
  border: 1px solid var(--veydu-border);
  border-radius: 16px;
  padding: 12px;
}
.cta-banner__icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.cta-banner__content {
  flex: 1;
  min-width: 200px;
}
.cta-banner__title {
  margin: 0 0 6px;
  font-size: clamp(22px, 2.6vw, 28px);
  line-height: 1.3;
  font-weight: 700;
  color: var(--veydu-text);
  letter-spacing: -0.01em;
}
.cta-banner__sub {
  margin: 0;
  color: var(--veydu-text-secondary);
  font-size: 16px;
}

/* ===== Prose ===== */
.prose {
  max-width: 760px;
}
.prose--center {
  margin-inline: auto;
  text-align: center;
}
.prose p {
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.8;
  color: var(--veydu-text-secondary);
}
.prose p:last-child {
  margin-bottom: 0;
}
.prose strong {
  color: var(--veydu-text);
  font-weight: 700;
}

/* ===== Contact List ===== */
.contact-list {
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 16px;
  max-width: 720px;
}
.contact-list li {
  padding: 24px 32px;
  background: var(--veydu-surface);
  border: 1px solid var(--veydu-border);
  border-radius: 16px;
  color: var(--veydu-text);
  display: flex;
  align-items: center;
  gap: 24px;
}
.contact-list strong {
  color: var(--veydu-text);
  font-weight: 700;
  min-width: 100px;
  font-size: 15px;
}
.contact-list a {
  font-weight: 500;
}
.placeholder {
  color: var(--veydu-text-disabled);
  font-style: italic;
}

/* ===== Footer =====
 * Footer 永远用 VEYDU 暗色主题（与系统主题无关），
 * 这里注入 dark tokens（与 tokens.css .dark 块一致），
 * 让内部全部 var(--veydu-*) 引用自然落到暗色值。
 */
.site-footer {
  --veydu-bg: #0b1220;
  --veydu-surface: #111d32;
  --veydu-surface-muted: #192843;
  --veydu-text: #edf2fc;
  --veydu-text-secondary: #a7b6cf;
  --veydu-text-disabled: #7d8ca5;
  --veydu-border: #2a3b58;
  --veydu-border-strong: #657b9e;
  --veydu-link: #86abff;

  background: var(--veydu-bg);
  color: var(--veydu-text-secondary);
  border-top: 1px solid var(--veydu-border);
  font-size: 15px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  padding-block: 80px 56px;
}
.site-footer__brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.site-footer__brand .site-footer__logo {
  height: 24px;
  width: auto;
}
.site-footer__brand-chinese {
  font-size: 16px;
  color: var(--veydu-text-secondary);
  white-space: nowrap;
}
.site-footer__tagline {
  margin: 0 0 6px;
  color: var(--veydu-text);
  font-size: 16px;
  font-weight: 600;
}
.site-footer__slogan {
  margin: 0;
  color: var(--veydu-text-secondary);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer__heading {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--veydu-text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-footer__nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.site-footer__nav a {
  color: var(--veydu-text-secondary);
  font-size: 14px;
  transition: color 180ms;
}
.site-footer__nav a:hover {
  color: var(--veydu-text);
  text-decoration: none;
}
.site-footer__nav li {
  color: var(--veydu-text-secondary);
  font-size: 14px;
}
.site-footer__nav .placeholder {
  color: var(--veydu-text-disabled);
}

.site-footer__base {
  border-top: 1px solid var(--veydu-border);
  padding-block: 24px;
}
.site-footer__base-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--veydu-text-secondary);
}
.site-footer__base-inner p {
  margin: 0;
}
.site-footer__base .placeholder {
  color: var(--veydu-text-disabled);
}

@media (max-width: 768px) {
  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .site-footer__brand {
    grid-column: 1 / -1;
  }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}