:root {
  --orange: #f97316;
  --orange-dark: #ea580c;
  --orange-soft: rgba(249, 115, 22, 0.12);
  --ink: #0f172a;
  --ink-muted: #475569;
  --surface: #ffffff;
  --surface-alt: #f8fafc;
  --border: #e2e8f0;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.08);
  --header-h: 84px;
  --maxw: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--surface);
}

a {
  color: var(--orange-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(100% - 32px, var(--maxw));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  overflow: visible;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  overflow: visible;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.logo:hover {
  text-decoration: none;
}

/* 完整显示：用 max-height + height:auto 按比例缩放，勿用 cover（会裁掉上下文字） */
.logo-img {
  display: block;
  width: auto;
  height: auto;
  max-height: 72px;
  max-width: min(320px, calc(100vw - 140px));
  flex-shrink: 0;
  object-fit: contain;
  object-position: left center;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  color: var(--ink-muted);
  font-weight: 500;
  font-size: 0.9375rem;
  text-decoration: none;
}

.nav a:hover {
  color: var(--orange-dark);
  text-decoration: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--ink);
  border-radius: 1px;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.5rem 1.25rem;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav a:last-child {
    border-bottom: none;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% -10%, var(--orange-soft), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(249, 115, 22, 0.08), transparent 50%),
    linear-gradient(180deg, #fff 0%, var(--surface-alt) 100%);
  z-index: -1;
}

.hero-inner {
  max-width: 720px;
}

.hero-tag {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--orange-dark);
  background: var(--orange-soft);
  border-radius: 999px;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 1.75rem;
  font-size: 1.0625rem;
  color: var(--ink-muted);
}

.hero-lead strong {
  color: var(--ink);
  font-weight: 600;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.35rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--orange-dark);
}

/* Sections */
.section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.section-alt {
  background: var(--surface-alt);
}

.section-title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  font-weight: 700;
  text-align: center;
}

.section-title-light {
  color: #fff;
}

.section-intro {
  margin: 0 auto 2.5rem;
  max-width: 640px;
  text-align: center;
  color: var(--ink-muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 720px;
  margin: 0 auto;
}

.stat {
  text-align: center;
  padding: 1.25rem 1rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.stat-num {
  display: block;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--orange-dark);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--ink-muted);
}

@media (max-width: 520px) {
  .stats {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.cards {
  display: grid;
  gap: 1.5rem;
}

.cards-2 {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
  .cards-2 {
    grid-template-columns: 1fr;
  }
}

.card {
  padding: 1.75rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.card-product h3 {
  margin: 0.5rem 0 0.75rem;
  font-size: 1.25rem;
}

.card-product > p {
  margin: 0 0 1rem;
  color: var(--ink-muted);
  font-size: 0.9375rem;
}

.card-icon {
  font-size: 2rem;
  line-height: 1;
}

.card-list {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
}

.card-list li {
  margin-bottom: 0.35rem;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (max-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
}

.feature-item {
  padding: 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.feature-item h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: var(--ink);
}

.feature-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
}

/* Brands */
.brands-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .brands-row {
    grid-template-columns: 1fr;
  }
}

.brand-block {
  padding: 2rem;
  border-radius: var(--radius-lg);
  color: #fff;
}

.brand-b {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  box-shadow: var(--shadow-lg);
}

.brand-c {
  background: linear-gradient(145deg, var(--orange) 0%, var(--orange-dark) 100%);
  box-shadow: 0 16px 40px rgba(249, 115, 22, 0.25);
}

.brand-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
}

.brand-block h3 {
  margin: 0 0 0.75rem;
  font-size: 1.5rem;
}

.brand-block p {
  margin: 0;
  opacity: 0.92;
  font-size: 0.9375rem;
  line-height: 1.7;
}

/* Contact CTA */
.section-cta {
  background: linear-gradient(160deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
  color: #e2e8f0;
}

.contact-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.contact-text {
  margin: 0 0 1.25rem;
  color: #94a3b8;
}

.contact-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.chip {
  padding: 0.4rem 0.85rem;
  font-size: 0.8125rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #cbd5e1;
}

.contact-line {
  margin: 0;
  font-size: 0.9375rem;
  color: #cbd5e1;
}

.contact-line a {
  color: #fdba74;
  text-decoration: none;
}

.contact-line a:hover {
  text-decoration: underline;
}

.contact-sub {
  margin: 0.65rem 0 0;
  font-size: 0.875rem;
  color: #94a3b8;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  background: #020617;
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-inner {
  text-align: center;
}

.footer-copy {
  margin: 0 0 0.5rem;
}

.footer-icp {
  margin: 0;
}

.footer-icp a {
  color: #94a3b8;
  text-decoration: none;
}

.footer-icp a:hover {
  color: var(--orange);
  text-decoration: underline;
}
