:root {
  --ink: #0f172a;
  --ink-light: #475569;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-light: #f1f5f9;
  --paper: #f8fafc;
  --surface: #ffffff;
  --white: #ffffff;
  --teal: #06b6d4;
  --teal-dark: #0891b2;
  --teal-light: #e0f2fe;
  --gold: #f59e0b;
  --charcoal: #0f172a;
  --soft: #f1f5f9;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.08);
  --shadow-sm: 0 4px 20px rgba(15, 23, 42, 0.04);
  --shadow-hover: 0 12px 40px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 200ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  padding: 14px clamp(20px, 5vw, 72px);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  width: auto;
  height: 38px;
  border-radius: 4px;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: var(--ink-light);
  font-size: 14px;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--ink);
}
.nav a {
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1.5px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 250ms ease;
}
.nav a:hover::after,
.nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}


.header-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 14px;
  transition: all 200ms ease;
}
.header-action:hover {
  background: var(--soft);
  border-color: var(--muted);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  min-height: calc(100vh - 72px);
  padding: clamp(54px, 8vw, 112px) clamp(20px, 5vw, 72px) 44px;
  color: var(--white);
  background:
    radial-gradient(ellipse 90% 70% at 10% 30%, rgba(6, 182, 212, 0.18) 0%, transparent 65%),
    radial-gradient(ellipse 70% 50% at 85% 70%, rgba(99, 102, 241, 0.12) 0%, transparent 50%),
    linear-gradient(105deg, rgba(15, 23, 42, 0.98) 0%, rgba(30, 41, 59, 0.95) 50%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  font-size: clamp(28px, 3.5vw, 42px);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(28px, 4vw, 50px);
  line-height: 1.04;
  letter-spacing: 0;
}

.hero-lede {
  max-width: 680px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(17px, 1.7vw, 22px);
  line-height: 1.75;
  letter-spacing: 0.01em;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: var(--radius);
  font-weight: 700;
  transition: all 220ms ease;
  cursor: pointer;
}

.button.primary {
  color: var(--charcoal);
  background: var(--surface);
}
.button.primary:hover {
  background: #f0f2ed;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.button.secondary {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.26);
}
.button.secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.4);
}

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

.hero-metrics div {
  min-height: 96px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(4px);
  transition: background 250ms ease, border-color 250ms ease;
}
.hero-metrics div:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.hero-metrics dt {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.hero-metrics dt,
.hero-metrics dd {
  margin: 0;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
}

.hero-visual {
  margin: 0;
  position: relative;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  min-height: 360px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px 34px;
  padding: 22px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.trust-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), #6366f1, transparent);
  opacity: 0.35;
}

.trust-strip strong {
  color: var(--ink-light);
  font-weight: 700;
}

.section {
  padding: clamp(68px, 9vw, 120px) clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 32px;
  align-items: end;
  max-width: 1240px;
  margin: 0 auto 38px;
}

.section-heading h2 {
  text-align: right;
  margin: 0;
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1.12;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: start;
  max-width: 1384px;
  margin: 0 auto;
}

.intro .section-heading {
  display: block;
  margin: 0;
}
.intro .section-heading h2 {
  text-align: left;
}

.intro-text {
  margin: 0;
  color: var(--muted);
  font-size: clamp(19px, 2vw, 28px);
  line-height: 1.7;
}

.products,
.approach {
  background: var(--surface);
}

.product-grid,
.solution-layout,
.case-grid,
.steps {
  max-width: 1240px;
  margin: 0 auto;
}

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

.product-card,
.solution-panel,
.case-grid article,
.steps li {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.product-card:hover,
.solution-panel:hover,
.case-grid article:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: var(--line-light);
}

.steps li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  border-color: var(--line-light);
}

.product-card {
  min-height: 430px;
  padding: clamp(24px, 4vw, 42px);
}

.product-card.accent {
  color: var(--white);
  background: linear-gradient(160deg, #1e3a5f 0%, #0f172a 100%);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.15);
}
.product-card.accent:hover {
  background: linear-gradient(160deg, #254575 0%, #15223b 100%);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 16px 48px rgba(15, 23, 42, 0.2);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  color: var(--teal);
  background: var(--soft);
}

.product-card.accent .card-icon {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.card-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.product-card h3,
.solution-panel h3,
.case-grid h3,
.steps h3 {
  margin: 24px 0 12px;
  font-size: 24px;
}

.product-card p,
.solution-panel p,
.case-grid p,
.steps p,
.contact p {
  color: var(--muted);
  line-height: 1.72;
}

.product-card.accent p,
.product-card.accent li {
  color: rgba(255, 255, 255, 0.74);
}

.product-card ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.product-card li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.product-card li::before {
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.solutions {
  background: linear-gradient(180deg, #f0f7ff 0%, #e8f0fe 100%);
  position: relative;
}
.solutions::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--teal), #6366f1, transparent);
  opacity: 0.4;
}

.solution-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.solution-panel {
  min-height: 360px;
  padding: clamp(24px, 4vw, 42px);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.solution-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), #6366f1);
  opacity: 0.6;
  transition: opacity 250ms ease;
}
.solution-panel:hover::before {
  opacity: 1;
}

.tag,
.case-type {
  display: inline-flex;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 800;
}

.capability-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.capability-row span {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--surface);
  font-size: 13px;
  font-weight: 700;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  list-style: none;
}

.steps li {
  min-height: 276px;
  padding: 26px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.steps li::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 26px;
  right: 26px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent 70%);
  opacity: 0;
  transition: opacity 300ms ease;
}
.steps li:hover::after {
  opacity: 1;
}

.steps span {
  color: var(--gold);
  font-weight: 900;
}

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

.case-grid article {
  min-height: 250px;
  padding: clamp(24px, 4vw, 42px);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.62fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: start;
  padding: clamp(68px, 9vw, 112px) clamp(20px, 5vw, 72px);
  color: var(--white);
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 155, 150, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.contact h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 800px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.1;
}

.contact p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  position: relative;
  z-index: 1;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}

.contact-form input,
.contact-form select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  font: inherit;
  transition: border-color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
.contact-form input:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--teal);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(13, 155, 150, 0.15);
}

.contact-form input::placeholder {
  color: rgba(255, 255, 255, 0.38);
}

.contact-form select option {
  color: var(--ink);
}

.contact-form button {
  min-height: 48px;
  border: 0;
  border-radius: var(--radius);
  color: var(--charcoal);
  background: var(--white);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: all 220ms ease;
}
.contact-form button:hover {
  background: #e2e8f0;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}
.contact-form button:active {
  transform: translateY(0);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}
.site-footer .icp-link {
  position: relative;
  margin-left: 8px;
  padding-left: 12px;
  color: var(--muted);
  text-decoration: none;
  transition: color 200ms ease;
}
.site-footer .icp-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  width: 1px;
  height: 11px;
  background: var(--line);
}
.site-footer .icp-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--teal);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms ease;
}
.site-footer .icp-link:hover {
  color: var(--teal);
}
.site-footer .icp-link:hover::after {
  transform: scaleX(1);
}

@media (max-width: 980px) {
  .site-header {
    position: relative;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-top: 2px;
  }

  .hero,
  .intro,
  .section-heading,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    order: -1;
  }

  .product-grid,
  .solution-layout,
  .case-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  .site-header {
    gap: 16px;
  }

  .brand {
    min-width: 0;
  }

  .header-action {
    width: 100%;
  }

  .hero {
    padding-top: 34px;
  }

  h1 {
    font-size: 30px;
  }

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

  .hero-visual img {
    min-height: 260px;
  }

  .contact {
    grid-template-columns: 1fr;
  }
}
