:root {
  --color-primary: #1476ff;
  --color-secondary: #0d1726;
  --color-accent: #0bb8a3;
  --color-bg: #f5f8fc;
  --color-bg-soft: #edf3fb;
  --color-text: #162033;
  --color-text-muted: #5d6880;
  --color-border: rgba(15, 31, 57, 0.12);
  --shadow-soft: 0 24px 60px rgba(16, 32, 67, 0.08);
  --shadow-hover: 0 28px 80px rgba(16, 32, 67, 0.12);
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1180px;
  --header-height: 88px;
}

html[data-theme="dark"] {
  --color-primary: #62a6ff;
  --color-secondary: #dbe6ff;
  --color-accent: #44d7c0;
  --color-bg: #0b1220;
  --color-bg-soft: #111c2f;
  --color-text: #dbe6ff;
  --color-text-muted: #9fb3d7;
  --color-border: rgba(138, 164, 212, 0.22);
  --shadow-soft: 0 24px 60px rgba(3, 8, 18, 0.55);
  --shadow-hover: 0 30px 80px rgba(3, 8, 18, 0.7);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at top right, rgba(20, 118, 255, 0.12), transparent 24%),
    linear-gradient(180deg, #f8fbff 0%, #f5f8fc 45%, #f3f7fb 100%);
  line-height: 1.65;
}

html[data-theme="dark"] body {
  background:
    radial-gradient(circle at top right, rgba(86, 147, 255, 0.24), transparent 28%),
    linear-gradient(180deg, #0a1120 0%, #0b1323 48%, #0c1528 100%);
}

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

button,
input,
textarea,
select {
  font: inherit;
}

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

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  transition: background-color 220ms ease, box-shadow 220ms ease, backdrop-filter 220ms ease;
}

.site-header.is-scrolled {
  backdrop-filter: blur(16px);
  background: rgba(245, 248, 252, 0.8);
  box-shadow: 0 12px 32px rgba(12, 28, 61, 0.08);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  box-shadow: 0 16px 34px rgba(20, 118, 255, 0.28);
}

.brand-copy small {
  display: block;
  color: var(--color-text-muted);
  font-weight: 500;
}

.desktop-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.theme-toggle,
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 26px rgba(16, 32, 67, 0.06);
  color: var(--color-text);
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.theme-toggle:hover,
.lang-trigger:hover {
  transform: translateY(-1px);
  border-color: rgba(20, 118, 255, 0.32);
}

.theme-toggle {
  min-height: 40px;
  padding: 6px 10px;
  gap: 8px;
}

.theme-label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.theme-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
}

.theme-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.theme-icon-dark {
  display: none;
}

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

html[data-theme="dark"] .theme-icon-dark {
  display: inline-flex;
}

.lang-icon {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.9rem;
  color: var(--color-primary);
  background: rgba(20, 118, 255, 0.1);
}

.lang-icon-svg {
  width: 14px;
  height: 14px;
  display: block;
}

.lang-dropdown {
  position: relative;
}

.lang-trigger {
  min-height: 40px;
  padding: 6px 10px;
  gap: 8px;
}

.lang-current {
  min-width: 28px;
  text-align: center;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--color-text-muted);
}

.lang-caret {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 104px;
  padding: 8px;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 32px rgba(16, 32, 67, 0.18);
  display: none;
  z-index: 30;
}

.lang-dropdown.is-open .lang-menu {
  display: grid;
  gap: 4px;
}

.lang-option {
  padding: 8px 10px;
  border-radius: 10px;
  text-align: left;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.lang-option:hover,
.lang-option.is-active {
  color: var(--color-secondary);
  background: rgba(20, 118, 255, 0.12);
}

html[data-theme="dark"] .theme-toggle,
html[data-theme="dark"] .lang-trigger,
html[data-theme="dark"] .menu-toggle {
  background: rgba(17, 27, 44, 0.8);
}

html[data-theme="dark"] .lang-menu {
  background: rgba(14, 22, 37, 0.96);
}

html[data-theme="dark"] .site-header.is-scrolled {
  background: rgba(10, 16, 28, 0.78);
  box-shadow: 0 14px 36px rgba(3, 8, 18, 0.55);
}

html[data-theme="dark"] .metric-card,
html[data-theme="dark"] .visual-panel,
html[data-theme="dark"] .service-card,
html[data-theme="dark"] .problem-card,
html[data-theme="dark"] .solution-card,
html[data-theme="dark"] .industry-card,
html[data-theme="dark"] .feature-card,
html[data-theme="dark"] .timeline-item,
html[data-theme="dark"] .info-panel,
html[data-theme="dark"] .service-detail,
html[data-theme="dark"] .industry-detail,
html[data-theme="dark"] .contact-panel,
html[data-theme="dark"] .form-panel,
html[data-theme="dark"] .cta-banner,
html[data-theme="dark"] .compliance-panel,
html[data-theme="dark"] .faq-item,
html[data-theme="dark"] .footer-grid {
  background: rgba(15, 23, 38, 0.8);
  border-color: rgba(136, 164, 214, 0.25);
}

html[data-theme="dark"] .contact-form input,
html[data-theme="dark"] .contact-form textarea,
html[data-theme="dark"] .contact-form select {
  background: rgba(11, 18, 30, 0.95);
  color: var(--color-text);
}

html[data-theme="dark"] .section-soft {
  background: linear-gradient(180deg, rgba(13, 21, 35, 0.8), rgba(11, 18, 30, 0));
}

html[data-theme="dark"] .section-emphasis {
  background: linear-gradient(135deg, rgba(7, 13, 24, 0.98), rgba(11, 18, 31, 0.95));
}

html[data-theme="dark"] .mobile-panel nav a {
  background: rgba(17, 27, 44, 0.82);
}

.desktop-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--color-text-muted);
  transition: color 180ms ease, background-color 180ms ease;
}

.desktop-nav a.is-active,
.desktop-nav a:hover {
  color: var(--color-secondary);
  background: rgba(20, 118, 255, 0.08);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), #3596ff);
  box-shadow: 0 18px 36px rgba(20, 118, 255, 0.22);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--color-border);
  color: var(--color-secondary);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
}

.mobile-panel {
  display: none;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero {
  min-height: calc(90vh - 24px);
  display: flex;
  align-items: center;
  padding: 34px 0 70px;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 118, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 118, 255, 0.08) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 85%);
  pointer-events: none;
}

.hero-grid,
.two-column,
.contact-layout,
.compliance-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
  align-items: center;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 4vw, 4.2rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.hero-text,
.page-hero p,
.section-heading p,
.section-summary,
.service-card p,
.feature-card p,
.industry-card p,
.solution-card p,
.problem-card p,
.timeline-item p,
.info-panel p,
.compliance-note,
.contact-list span,
.contact-form span,
.faq-item p,
.industry-detail p {
  color: var(--color-text-muted);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-metrics {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.metric-card,
.visual-panel,
.service-card,
.problem-card,
.solution-card,
.industry-card,
.feature-card,
.timeline-item,
.info-panel,
.service-detail,
.industry-detail,
.contact-panel,
.form-panel,
.cta-banner,
.compliance-panel,
.faq-item {
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.76);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.metric-card {
  padding: 18px;
}

.metric-card strong {
  display: block;
  margin-bottom: 6px;
}

.hero-visual {
  min-height: 540px;
  display: grid;
  place-items: center;
}

.hero-orbit {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1 / 1;
  border-radius: 36px;
  background:
    radial-gradient(circle at center, rgba(20, 118, 255, 0.12), rgba(13, 23, 38, 0) 56%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.8), rgba(237, 243, 251, 0.86));
  border: 1px solid rgba(20, 118, 255, 0.16);
  overflow: hidden;
}

.orbit-line {
  position: absolute;
  inset: 12% 12%;
  border: 1px solid rgba(20, 118, 255, 0.16);
  border-radius: 50%;
}

.orbit-line-a {
  animation: pulse 8s ease-in-out infinite;
}

.orbit-line-b {
  inset: 24% 24%;
  animation: pulse 10s ease-in-out infinite reverse;
}

.orbit-node {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  box-shadow: 0 0 0 10px rgba(20, 118, 255, 0.1);
  animation: float 7s ease-in-out infinite;
}

.node-a { top: 18%; left: 18%; }
.node-b { top: 22%; right: 16%; animation-delay: 1.2s; }
.node-c { bottom: 18%; left: 22%; animation-delay: 2.4s; }

.visual-panel {
  position: absolute;
  padding: 20px 22px;
  max-width: 240px;
}

.visual-panel p,
.visual-panel strong {
  margin: 0;
}

.visual-panel strong {
  display: block;
  margin-top: 6px;
}

.panel-core {
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
}

.panel-top {
  top: 14%;
  left: 10%;
}

.panel-bottom {
  right: 8%;
  bottom: 12%;
}

.page-hero {
  padding: 110px 0 54px;
}

.section {
  padding: 56px 0;
}

.section-soft {
  background: linear-gradient(180deg, rgba(237, 243, 251, 0.76), rgba(245, 248, 252, 0));
}

.section-dark {
  color: #f7fbff;
  background:
    radial-gradient(circle at top left, rgba(11, 184, 163, 0.16), transparent 22%),
    linear-gradient(135deg, #0d1726 0%, #10213b 100%);
}

.section-dark .industry-card,
.section-dark .section-heading p,
.section-dark .industry-card p {
  color: rgba(247, 251, 255, 0.82);
}

.section-dark .industry-card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

.section-emphasis {
  background: linear-gradient(135deg, rgba(13, 23, 38, 0.96), rgba(16, 33, 59, 0.88));
  color: #f5fbff;
}

.section-emphasis .section-heading p,
.section-emphasis li {
  color: rgba(245, 251, 255, 0.78);
}

.section-heading {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

.section-heading.align-left {
  margin: 0 0 24px;
  text-align: left;
}

.section-heading h2 {
  margin: 10px 0 12px;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.eyebrow {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-primary);
}

.card-grid,
.feature-grid,
.solution-grid,
.problem-grid {
  display: grid;
  gap: 22px;
}

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

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

.service-card,
.industry-card,
.feature-card,
.solution-card,
.problem-card,
.info-panel,
.industry-detail,
.contact-panel,
.form-panel,
.service-detail,
.cta-banner,
.compliance-panel {
  padding: 28px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover,
.solution-card:hover,
.feature-card:hover,
.industry-card:hover,
.problem-card:hover,
.timeline-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(20, 118, 255, 0.24);
}

.card-icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: var(--color-secondary);
  font-weight: 700;
  background: linear-gradient(135deg, rgba(20, 118, 255, 0.16), rgba(11, 184, 163, 0.22));
}

.service-card h3,
.feature-card h3,
.industry-card h3,
.solution-card h3,
.problem-card h3,
.timeline-item h3,
.service-detail h2,
.industry-detail h2,
.contact-panel h2,
.form-panel h2,
.cta-banner h2,
.faq-item summary {
  margin: 16px 0 10px;
}

.service-card ul,
.bullet-list,
.compliance-panel ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--color-primary);
  font-weight: 600;
}

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

.problem-card span,
.timeline-item span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--color-primary);
  font-weight: 700;
  background: rgba(20, 118, 255, 0.1);
}

.section-summary {
  max-width: 720px;
  margin: 28px auto 0;
  text-align: center;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.timeline-item {
  padding: 24px 20px;
}

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

.service-stack,
.stack-list,
.faq-list {
  display: grid;
  gap: 24px;
}

.service-detail-head,
.contact-list li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.service-detail-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 24px;
}

.contact-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li {
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-list li:last-child {
  border-bottom: 0;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form .full-width,
.contact-form button,
.form-feedback {
  grid-column: 1 / -1;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 14px 16px;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: rgba(20, 118, 255, 0.4);
  box-shadow: 0 0 0 4px rgba(20, 118, 255, 0.1);
}

.form-feedback {
  min-height: 24px;
  margin: 0;
  color: var(--color-primary);
}

.faq-item {
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 24px 28px;
  font-weight: 600;
}

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

.faq-item p {
  margin: 0;
  padding: 0 28px 24px;
}

.cta-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 24px;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(20, 118, 255, 0.16), transparent 22%),
    rgba(255, 255, 255, 0.78);
}

.compliance-panel {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.site-footer {
  padding: 40px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.7fr));
  gap: 26px;
  padding: 30px;
  border-radius: 28px;
  border: 1px solid var(--color-border);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
}

.footer-column h3,
.footer-column h4 {
  margin-top: 0;
  margin-bottom: 12px;
}

.footer-column a,
.footer-column p {
  display: block;
  margin: 0 0 10px;
  color: var(--color-text-muted);
}

.footer-bottom {
  margin-top: 18px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
}

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

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.04); opacity: 0.55; }
}

@media (max-width: 1080px) {
  .desktop-nav,
  .header-actions {
    display: none;
  }

  .menu-toggle,
  .mobile-panel.is-open {
    display: block;
  }

  .mobile-panel {
    padding-bottom: 18px;
  }

  .header-tools {
    margin-left: auto;
  }

  .mobile-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
  }

  .mobile-controls .theme-toggle,
  .mobile-controls .lang-trigger {
    flex: 1;
  }

  .mobile-controls {
    margin-bottom: 12px;
  }

  .mobile-panel nav,
  .mobile-panel .mobile-actions {
    display: grid;
    gap: 10px;
  }

  .mobile-panel nav a {
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid var(--color-border);
  }

  .mobile-panel nav a.is-active {
    color: var(--color-secondary);
    border-color: rgba(20, 118, 255, 0.24);
    background: rgba(20, 118, 255, 0.08);
  }

  .mobile-actions {
    margin-top: 12px;
  }

  .hero-grid,
  .two-column,
  .contact-layout,
  .compliance-grid,
  .cta-banner {
    grid-template-columns: 1fr;
  }

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

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

  .hero-metrics {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  :root {
    --header-height: 78px;
  }

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

  .header-tools {
    gap: 8px;
  }

  .theme-toggle,
  .lang-trigger {
    min-height: 38px;
    padding: 5px 8px;
  }

  .lang-icon {
    width: 24px;
    height: 24px;
    font-size: 0.8rem;
  }

  .theme-label {
    display: none;
  }

  .lang-current {
    min-width: 20px;
  }

  .lang-menu {
    min-width: 92px;
  }

  .hero {
    min-height: auto;
    padding: 18px 0 52px;
  }

  .page-hero {
    padding: 92px 0 34px;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(2.25rem, 10vw, 3rem);
  }

  .cards-3,
  .cards-4,
  .problem-grid,
  .solution-grid,
  .timeline,
  .timeline-page,
  .service-detail-body,
  .contact-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-orbit {
    aspect-ratio: 1 / 1.05;
  }

  .panel-top,
  .panel-bottom {
    position: static;
    margin: 12px;
  }

  .panel-core {
    inset: 50% auto auto 50%;
  }

  .timeline-item,
  .service-card,
  .feature-card,
  .industry-card,
  .problem-card,
  .solution-card,
  .contact-panel,
  .form-panel,
  .service-detail,
  .industry-detail,
  .cta-banner,
  .compliance-panel {
    padding: 22px;
  }
}

@media (max-width: 560px) {
  .brand {
    gap: 8px;
  }

  .brand-copy {
    font-size: 0.95rem;
  }

  .brand-copy small {
    display: none;
  }

  .header-bar {
    gap: 10px;
  }
}
