:root {
  color-scheme: light;
  --bg: #eef2f7;
  --bg-soft: #e4ebf5;
  --surface: rgba(255, 255, 255, 0.92);
  --card: rgba(255, 255, 255, 0.9);
  --card-strong: #f2f6fb;
  --line: rgba(12, 24, 40, 0.1);
  --text: #0f1b2e;
  --muted: #4a5c73;
  --accent: #45f0d8;
  --accent-2: #6aa7ff;
  --accent-3: #f2b35c;
  --shadow: 0 28px 60px rgba(20, 35, 55, 0.15);
  --body-bg: radial-gradient(circle at top, rgba(69, 240, 216, 0.2), transparent 55%),
    radial-gradient(circle at 20% 15%, rgba(106, 167, 255, 0.22), transparent 50%),
    linear-gradient(180deg, #f4f7fb 0%, #eef3f9 55%, #e9f0f8 100%);
  --header-bg: linear-gradient(180deg, rgba(244, 248, 253, 0.95), rgba(244, 248, 253, 0.75));
  --btn-primary-bg: linear-gradient(135deg, #69d8cc, #7fb5ff);
  --btn-primary-text: #07111f;
  --btn-primary-shadow: 0 14px 26px rgba(111, 167, 238, 0.18);
  --btn-primary-hover-shadow: 0 20px 40px rgba(69, 240, 216, 0.45);
  --btn-primary-header-bg: linear-gradient(135deg, #c8f6ef, #cfe2ff);
  --btn-primary-header-text: #0f1b2e;
  --btn-primary-header-shadow: 0 10px 20px rgba(120, 170, 235, 0.18);
  --btn-outline-bg: rgba(255, 255, 255, 0.65);
  --btn-outline-border: rgba(15, 30, 50, 0.15);
  --btn-outline-text: var(--text);
  --hero-overlay: radial-gradient(circle at 70% 20%, rgba(69, 240, 216, 0.25), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(242, 179, 92, 0.2), transparent 50%);
  --hero-visual-bg: linear-gradient(140deg, rgba(255, 255, 255, 0.9), rgba(230, 238, 248, 0.75));
  --hero-visual-border: rgba(12, 24, 40, 0.12);
  --hero-visual-glow-1: rgba(69, 240, 216, 0.22);
  --hero-visual-glow-2: rgba(106, 167, 255, 0.22);
  --hero-scan-bg: linear-gradient(120deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.35));
  --hero-scan-border: rgba(12, 24, 40, 0.08);
  --tag-bg: rgba(255, 255, 255, 0.7);
  --metric-bg: rgba(255, 255, 255, 0.8);
  --metric-border: rgba(12, 24, 40, 0.12);
  --card-border: rgba(12, 24, 40, 0.12);
  --badge-bg: rgba(106, 167, 255, 0.22);
  --badge-text: #1b2b44;
  --product-card-bg: linear-gradient(160deg, rgba(255, 255, 255, 0.92), rgba(233, 242, 252, 0.85));
  --product-card-border: rgba(12, 24, 40, 0.12);
  --product-card-glow: rgba(106, 167, 255, 0.2);
  --case-card-bg: rgba(255, 255, 255, 0.9);
  --case-card-border: rgba(12, 24, 40, 0.12);
  --blog-card-bg: rgba(255, 255, 255, 0.88);
  --blog-card-border: rgba(12, 24, 40, 0.12);
  --input-bg: rgba(255, 255, 255, 0.9);
  --input-border: rgba(12, 24, 40, 0.18);
  --toggle-bg: var(--surface);
  --toggle-border: var(--line);
  --toggle-shadow: 0 10px 20px rgba(20, 35, 55, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1200px;
  --section-gap: 120px;
  font-family: "Space Grotesk", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #101827;
  --bg-soft: #162236;
  --surface: rgba(24, 34, 52, 0.8);
  --card: rgba(34, 47, 72, 0.88);
  --card-strong: #1a273c;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f1f5fb;
  --muted: #b3bfd4;
  --shadow: 0 35px 70px rgba(10, 20, 38, 0.35);
  --body-bg: radial-gradient(circle at top, rgba(69, 240, 216, 0.12), transparent 55%),
    radial-gradient(circle at 30% 20%, rgba(106, 167, 255, 0.18), transparent 50%),
    linear-gradient(180deg, #0e1522 0%, #121c2c 45%, #141f30 100%);
  --header-bg: linear-gradient(180deg, rgba(14, 21, 34, 0.95), rgba(14, 21, 34, 0.6));
  --btn-primary-bg: linear-gradient(135deg, var(--accent), var(--accent-2));
  --btn-primary-text: #02060f;
  --btn-primary-shadow: 0 15px 30px rgba(69, 240, 216, 0.35);
  --btn-primary-hover-shadow: 0 20px 40px rgba(69, 240, 216, 0.45);
  --btn-primary-header-bg: linear-gradient(135deg, var(--accent), var(--accent-2));
  --btn-primary-header-text: #02060f;
  --btn-primary-header-shadow: 0 15px 30px rgba(69, 240, 216, 0.35);
  --btn-outline-bg: rgba(255, 255, 255, 0.03);
  --btn-outline-border: rgba(255, 255, 255, 0.2);
  --btn-outline-text: var(--text);
  --hero-overlay: radial-gradient(circle at 70% 20%, rgba(69, 240, 216, 0.2), transparent 45%),
    radial-gradient(circle at 20% 80%, rgba(242, 179, 92, 0.18), transparent 50%);
  --hero-visual-bg: linear-gradient(140deg, rgba(20, 30, 50, 0.82), rgba(24, 40, 64, 0.4));
  --hero-visual-border: rgba(255, 255, 255, 0.14);
  --hero-visual-glow-1: rgba(69, 240, 216, 0.16);
  --hero-visual-glow-2: rgba(106, 167, 255, 0.18);
  --hero-scan-bg: linear-gradient(120deg, rgba(255, 255, 255, 0.05), transparent);
  --hero-scan-border: rgba(255, 255, 255, 0.12);
  --tag-bg: rgba(255, 255, 255, 0.08);
  --metric-bg: rgba(25, 36, 56, 0.7);
  --metric-border: rgba(255, 255, 255, 0.1);
  --card-border: rgba(255, 255, 255, 0.1);
  --badge-bg: rgba(69, 240, 216, 0.12);
  --badge-text: var(--accent);
  --product-card-bg: linear-gradient(160deg, rgba(26, 38, 60, 0.92), rgba(18, 28, 44, 0.8));
  --product-card-border: rgba(255, 255, 255, 0.1);
  --product-card-glow: rgba(106, 167, 255, 0.15);
  --case-card-bg: rgba(24, 34, 52, 0.92);
  --case-card-border: rgba(255, 255, 255, 0.1);
  --blog-card-bg: rgba(24, 34, 54, 0.8);
  --blog-card-border: rgba(255, 255, 255, 0.1);
  --input-bg: rgba(20, 30, 48, 0.85);
  --input-border: rgba(255, 255, 255, 0.18);
  --toggle-bg: var(--surface);
  --toggle-border: var(--line);
  --toggle-shadow: 0 10px 20px rgba(5, 12, 24, 0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background: var(--body-bg);
  color: var(--text);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max-width), 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: -999px;
  padding: 10px 16px;
  background: var(--accent);
  color: #000;
  border-radius: 999px;
}

.skip-link:focus {
  left: 20px;
  top: 20px;
  z-index: 1000;
}

.header {
  position: sticky;
  top: 0;
  z-index: 90;
  backdrop-filter: blur(20px);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
}

.brand span {
  font-family: "Outfit", "Space Grotesk", "Noto Sans SC", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  box-shadow: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 0.96rem;
  color: var(--muted);
}

.nav-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--toggle-border);
  background: var(--toggle-bg);
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--toggle-shadow);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--accent-2);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.theme-toggle .icon-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .icon-sun {
  display: block;
}

[data-theme="dark"] .theme-toggle .icon-moon {
  display: none;
}

.nav-links a {
  transition: color 0.2s ease;
}

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

.btn {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: var(--btn-primary-bg);
  color: var(--btn-primary-text);
  box-shadow: var(--btn-primary-shadow);
}

.header .btn-primary {
  background: var(--btn-primary-header-bg);
  color: var(--btn-primary-header-text);
  box-shadow: var(--btn-primary-header-shadow);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--btn-primary-hover-shadow);
}

.btn-outline {
  border-color: var(--btn-outline-border);
  background: var(--btn-outline-bg);
  color: var(--btn-outline-text);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero {
  position: relative;
  padding: 100px 0 140px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--hero-overlay);
  opacity: 0.8;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 3vw + 1.8rem, 4.5rem);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 520px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero-visual {
  position: relative;
  aspect-ratio: 1.1;
  border-radius: var(--radius-lg);
  background: var(--hero-visual-bg);
  border: 1px solid var(--hero-visual-border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(0px);
}

.hero-visual::before {
  width: 220px;
  height: 220px;
  background: var(--hero-visual-glow-1);
  top: -40px;
  right: -60px;
}

.hero-visual::after {
  width: 280px;
  height: 280px;
  background: var(--hero-visual-glow-2);
  bottom: -90px;
  left: -60px;
}

.hero-scan {
  position: absolute;
  inset: 18px;
  border-radius: var(--radius-md);
  background: var(--hero-scan-bg);
  border: 1px solid var(--hero-scan-border);
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 24px;
  gap: 20px;
}

.hero-scan h3 {
  font-size: 1.2rem;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--tag-bg);
  font-size: 0.85rem;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}

.metric {
  padding: 16px;
  background: var(--metric-bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--metric-border);
}

.metric span {
  display: block;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent);
}

.section {
  padding: var(--section-gap) 0;
}

.section-title {
  display: grid;
  gap: 14px;
  margin-bottom: 40px;
}

.section-title span {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.78rem;
}

.section-title h2 {
  font-size: clamp(1.8rem, 2vw + 1rem, 3rem);
  line-height: 1.2;
}

.section-title p {
  color: var(--muted);
  max-width: 620px;
}

.card-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--card);
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: center;
}

.timeline {
  display: grid;
  gap: 20px;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), transparent);
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
}

.timeline-dot {
  width: 12px;
  height: 12px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(69, 240, 216, 0.6);
}

.team-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.team-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--card-strong);
  border: 1px solid var(--card-border);
}

.team-avatar {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(106, 167, 255, 0.7), rgba(69, 240, 216, 0.6));
  margin-bottom: 16px;
  overflow: hidden;
}

.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--badge-bg);
  color: var(--badge-text);
  font-size: 0.82rem;
  font-weight: 600;
}

.products-grid {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.product-card {
  padding: 26px;
  border-radius: var(--radius-md);
  background: var(--product-card-bg);
  border: 1px solid var(--product-card-border);
  position: relative;
  overflow: hidden;
}

.product-media {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--bg-soft);
  display: block;
  margin: 8px 0 12px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.product-card::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -40px;
  width: 120px;
  height: 120px;
  background: var(--product-card-glow);
  border-radius: 50%;
}

.product-card ul {
  list-style: none;
  margin-top: 16px;
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
}

.case-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.case-card {
  padding: 20px;
  border-radius: var(--radius-md);
  background: var(--case-card-bg);
  border: 1px solid var(--case-card-border);
}

.blog-list {
  display: grid;
  gap: 18px;
}

.blog-item {
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--blog-card-border);
  background: var(--blog-card-bg);
  display: grid;
  gap: 10px;
}

.section-subtitle {
  margin: 24px 0 12px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.logo-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  align-items: center;
}

.logo-card {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--card);
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
}

.logo-card img {
  max-height: 52px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.form-grid {
  display: grid;
  gap: 16px;
}

label {
  font-size: 0.9rem;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--text);
  font-family: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.footer {
  padding: 40px 0 60px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer a {
  color: var(--text);
}

.page-hero {
  padding: 80px 0 40px;
}

.page-hero h1 {
  font-size: clamp(2rem, 3vw + 1rem, 3.4rem);
  margin-bottom: 14px;
}

.note {
  color: var(--muted);
  font-size: 0.92rem;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .nav {
    flex-wrap: wrap;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding-top: 70px;
  }
}

@media (max-width: 720px) {
  .nav-links {
    width: 100%;
    justify-content: flex-start;
    row-gap: 12px;
  }

  .nav-actions {
    margin-left: auto;
  }

  .theme-toggle {
    width: 36px;
    height: 36px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
