/* ==========================================================================
   星光传媒科技（广州）有限公司 · 官网设计系统
   浅色商务风 + 科技蓝 · 云互动品牌 · 纯静态 · 无外部依赖
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg: #f5f7fb;
  --bg-soft: #eef2f9;
  --bg-card: #ffffff;
  --bg-card-2: #f8fafd;
  --line: #e4eaf3;
  --line-strong: #d3dceb;
  --text: #16233c;
  --text-2: #33415e;
  --muted: #5d6c8a;
  --muted-2: #8b98b1;

  --cyan: #0d8fc7;
  --blue: #2458e6;
  --violet: #6d4fd8;
  --teal: #0d9e74;

  --grad: linear-gradient(100deg, #0d8fc7 0%, #2458e6 100%);
  --grad-soft: linear-gradient(135deg, rgba(13, 143, 199, 0.09), rgba(36, 88, 230, 0.09));
  --grad-line: linear-gradient(90deg, transparent, rgba(36, 88, 230, 0.4), rgba(13, 143, 199, 0.4), transparent);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;

  --shadow: 0 24px 60px -28px rgba(23, 43, 90, 0.18);
  --shadow-glow: 0 0 0 1px rgba(36, 88, 230, 0.22), 0 20px 50px -24px rgba(36, 88, 230, 0.25);

  --nav-h: 74px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  --font: "PingFang SC", "HarmonyOS Sans SC", "Microsoft YaHei", "Noto Sans SC",
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "SF Mono", "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s var(--ease);
}

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: rgba(36, 88, 230, 0.16);
  color: var(--text);
}

:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 28px;
}

.container-narrow { max-width: 900px; }

.section {
  position: relative;
  padding: 108px 0;
}

.section-sm { padding: 72px 0; }

.section-line::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1220px, 92%);
  height: 1px;
  background: var(--grad-line);
  opacity: 0.6;
}

/* ---------- Type helpers ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--blue), transparent);
}

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }

.section-head h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-head .lead {
  margin-top: 18px;
  font-size: 16.5px;
  color: var(--muted);
  line-height: 1.9;
}

.text-grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.mono { font-family: var(--mono); }

/* ---------- Scroll progress ---------- */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--grad);
  z-index: 200;
  transition: width 0.1s linear;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 120;
  padding: 16px 0;
  transition: background 0.35s var(--ease), padding 0.35s var(--ease),
    border-color 0.35s var(--ease), backdrop-filter 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  padding: 9px 0;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px -20px rgba(23, 43, 90, 0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 26px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
}

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

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.brand-text small {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.24em;
  color: var(--muted-2);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-left: auto;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  font-size: 14.5px;
  color: var(--text-2);
  border-radius: 9px;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.nav-link:hover { color: var(--blue); background: rgba(36, 88, 230, 0.06); }

.nav-link.is-active { color: var(--blue); font-weight: 500; }
.nav-link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1px;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}

.nav-link { position: relative; }

.nav-item { position: relative; }

.nav-drop-btn svg { transition: transform 0.25s var(--ease); }
.nav-item.is-open .nav-drop-btn svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: -8px;
  width: 330px;
  padding: 8px;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  box-shadow: 0 24px 50px -18px rgba(23, 43, 90, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease),
    visibility 0.22s;
}

.nav-item:hover .dropdown,
.nav-item.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 11px 13px;
  border-radius: 9px;
}

.dropdown a:hover { background: rgba(36, 88, 230, 0.06); }

.dropdown a span {
  display: block;
  font-size: 14.5px;
  color: var(--text);
  font-weight: 500;
}

.dropdown a small {
  display: block;
  font-size: 11.5px;
  color: var(--muted-2);
  line-height: 1.6;
  margin-top: 2px;
}

.nav-cta { margin-left: 4px; }

.nav-links .nav-mobile-cta { display: none; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: rgba(36, 88, 230, 0.05);
  position: relative;
  margin-left: auto;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: 0.25s var(--ease);
}

.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 20px; }
.nav-toggle span:nth-child(3) { top: 26px; }

.nav-toggle.is-open span:nth-child(1) { top: 20px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { top: 20px; transform: rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 10px;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s, border-color 0.25s, color 0.25s;
  white-space: nowrap;
}

.btn svg { width: 15px; height: 15px; }

.btn-primary {
  background: var(--grad);
  color: #ffffff;
  font-weight: 500;
  box-shadow: 0 12px 30px -12px rgba(36, 88, 230, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -14px rgba(36, 88, 230, 0.6);
}

.btn-ghost {
  border-color: var(--line-strong);
  color: var(--text);
  background: #ffffff;
}

.btn-ghost:hover {
  border-color: rgba(36, 88, 230, 0.5);
  color: var(--blue);
  background: rgba(36, 88, 230, 0.04);
  transform: translateY(-2px);
}

.btn-sm { padding: 9px 18px; font-size: 13.5px; }
.btn-lg { padding: 16px 32px; font-size: 15.5px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--blue);
}

.link-arrow svg { width: 14px; height: 14px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 88px) 0 96px;
  overflow: hidden;
  background: linear-gradient(180deg, #f7fafe 0%, #eef3fb 70%, var(--bg) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(36, 88, 230, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 88, 230, 0.05) 1px, transparent 1px);
  background-size: 62px 62px;
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at 50% 28%, #000 10%, transparent 72%);
  mask-image: radial-gradient(ellipse 85% 65% at 50% 28%, #000 10%, transparent 72%);
  pointer-events: none;
}

.hero-home::after {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: min(1100px, 120vw);
  height: 620px;
  background: radial-gradient(ellipse at center, rgba(36, 88, 230, 0.12), transparent 62%);
  filter: blur(30px);
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.6;
}

.orb-cyan { width: 340px; height: 340px; background: rgba(13, 143, 199, 0.16); }
.orb-violet { width: 380px; height: 380px; background: rgba(109, 79, 216, 0.13); }

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  background: #ffffff;
  box-shadow: 0 8px 24px -14px rgba(23, 43, 90, 0.2);
  font-size: 12.5px;
  color: var(--text-2);
  margin-bottom: 26px;
}

.hero-badge b {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 9px;
  border-radius: 100px;
  background: rgba(36, 88, 230, 0.09);
  color: var(--blue);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(13, 158, 116, 0.7);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(13, 158, 116, 0.6); }
  70% { box-shadow: 0 0 0 9px rgba(13, 158, 116, 0); }
  100% { box-shadow: 0 0 0 0 rgba(13, 158, 116, 0); }
}

.hero h1 {
  font-size: clamp(32px, 4.3vw, 54px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text);
}

.hero h1 .line { display: block; }

.hero-sub {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.92;
  color: var(--muted);
  max-width: 560px;
}

.hero-actions { margin-top: 36px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-top: 44px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.hero-meta div { display: flex; flex-direction: column; gap: 2px; }

.hero-meta strong {
  font-size: 22px;
  font-weight: 600;
  font-family: var(--mono);
  letter-spacing: -0.02em;
  color: var(--text);
}

.hero-meta span { font-size: 12px; color: var(--muted-2); letter-spacing: 0.06em; }

/* Hero visual: stack card */
.hero-visual { position: relative; }

.stack-card {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: #ffffff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.stack-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(13, 143, 199, 0.07), transparent 55%);
  pointer-events: none;
}

.stack-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
  text-transform: uppercase;
}

.stack-head .dots { display: flex; gap: 5px; margin-right: 4px; }
.stack-head .dots i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--line-strong);
}
.stack-head .dots i:first-child { background: rgba(13, 143, 199, 0.7); }

.stack-head .live {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--teal);
  letter-spacing: 0.1em;
}

.stack-body { padding: 18px; display: grid; gap: 10px; }

.stack-row {
  display: grid;
  grid-template-columns: 86px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--bg-card-2);
  transition: border-color 0.3s, background 0.3s;
  min-width: 0;
}

.stack-row:hover { border-color: rgba(13, 143, 199, 0.4); background: rgba(13, 143, 199, 0.045); }

.stack-row .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.stack-row .name { font-size: 13.5px; color: var(--text); min-width: 0; }
.stack-row .name small { display: block; font-size: 11px; color: var(--muted-2); font-family: var(--mono); }

.bar {
  height: 4px;
  border-radius: 3px;
  background: #e6ecf6;
  overflow: hidden;
  width: 100%;
}

.bar i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: var(--grad);
  width: 0;
  transition: width 1.4s var(--ease);
}

.stack-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
}

.float-card {
  position: absolute;
  padding: 11px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 36px -16px rgba(23, 43, 90, 0.28);
  font-size: 11.5px;
  color: var(--text-2);
  animation: floaty 6s ease-in-out infinite;
}

.float-card b { display: block; font-family: var(--mono); font-size: 14px; color: var(--blue); }

.float-a { top: -22px; right: -14px; }
.float-b { bottom: -26px; left: -18px; animation-delay: -3s; }

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

/* ---------- Marquee ---------- */
.marquee {
  position: relative;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ffffff;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 46px;
  animation: marquee 38s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 46px;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.marquee-track span::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(13, 143, 199, 0.5);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  position: relative;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #ffffff;
  box-shadow: 0 12px 34px -26px rgba(23, 43, 90, 0.18);
  overflow: hidden;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s;
  background: radial-gradient(
    340px circle at var(--mx, 50%) var(--my, 0%),
    rgba(36, 88, 230, 0.06),
    transparent 70%
  );
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(36, 88, 230, 0.32);
  box-shadow: 0 26px 54px -26px rgba(36, 88, 230, 0.28);
}

.card:hover::before { opacity: 1; }

.card-tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.card h3 {
  font-size: 19.5px;
  margin-top: 14px;
  letter-spacing: -0.01em;
}

.card p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.85;
  color: var(--muted);
}

.icon-box {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  border: 1px solid rgba(36, 88, 230, 0.22);
  background: var(--grad-soft);
  margin-bottom: 20px;
}

.icon-box svg { width: 22px; height: 22px; stroke: var(--blue); }

.card-list {
  margin-top: 18px;
  display: grid;
  gap: 8px;
}

.card-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.7;
}

.card-list li::before {
  content: "";
  margin-top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(13, 143, 199, 0.6);
  flex-shrink: 0;
}

.card .card-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* Service panel (large business card) */
.panel {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: #ffffff;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.panel-media {
  position: relative;
  min-height: 320px;
  padding: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid var(--line);
  background:
    radial-gradient(circle at 60% 40%, rgba(13, 143, 199, 0.1), transparent 62%),
    radial-gradient(circle at 30% 80%, rgba(109, 79, 216, 0.1), transparent 60%);
}

.panel-body { padding: 44px 40px; }

.panel-body h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  margin-bottom: 16px;
}

.panel-body > p { color: var(--muted); font-size: 15px; line-height: 1.9; }

/* ---------- Feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.split.reverse .split-media { order: -1; }

.split h2 { font-size: clamp(26px, 3vw, 38px); margin-bottom: 18px; }
.split .lead { color: var(--muted); font-size: 16px; line-height: 1.9; }

.check-list {
  margin-top: 30px;
  display: grid;
  gap: 18px;
}

.check-list li { display: flex; gap: 14px; }

.check-ico {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
  background: rgba(36, 88, 230, 0.08);
  border: 1px solid rgba(36, 88, 230, 0.25);
}

.check-ico svg { width: 13px; height: 13px; stroke: var(--blue); }

.check-list strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.check-list p { font-size: 13.5px; color: var(--muted); line-height: 1.8; }

/* Visual: architecture diagram wrapper */
.diagram-frame {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.diagram-frame svg { width: 100%; height: auto; }

/* ---------- Metrics ---------- */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.metric {
  padding: 34px 28px;
  background: #ffffff;
  position: relative;
}

.metric b {
  display: block;
  font-family: var(--mono);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 600;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metric span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: step;
}

.step {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #ffffff;
  box-shadow: 0 10px 28px -24px rgba(23, 43, 90, 0.18);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}

.step:hover {
  border-color: rgba(36, 88, 230, 0.32);
  background: rgba(36, 88, 230, 0.025);
  transform: translateY(-3px);
}

.step b {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--blue);
  margin-bottom: 12px;
}

.step h4 { font-size: 15.5px; margin-bottom: 8px; }
.step p { font-size: 12.5px; color: var(--muted); line-height: 1.75; }

/* ---------- Chips / industries ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }

.chip {
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 13px;
  color: var(--text-2);
  background: #ffffff;
  transition: 0.25s;
}

.chip:hover {
  border-color: rgba(36, 88, 230, 0.5);
  color: var(--blue);
  background: rgba(36, 88, 230, 0.045);
}

.industry {
  padding: 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #ffffff;
  box-shadow: 0 10px 28px -26px rgba(23, 43, 90, 0.2);
  transition: border-color 0.3s, transform 0.3s var(--ease);
}

.industry:hover { border-color: rgba(36, 88, 230, 0.3); transform: translateY(-3px); }

.industry h4 { font-size: 15px; margin-bottom: 8px; }
.industry p { font-size: 12.5px; color: var(--muted); line-height: 1.75; }

.industry .num {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted-2);
  letter-spacing: 0.14em;
  display: block;
  margin-bottom: 12px;
}

/* ---------- Table ---------- */
.table-wrap {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow-x: auto;
  background: #ffffff;
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 13.5px;
}

thead th {
  text-align: left;
  padding: 15px 20px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  background: #f4f7fc;
  border-bottom: 1px solid var(--line);
  font-weight: 500;
  white-space: nowrap;
}

tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid #edf1f8;
  color: var(--text-2);
  vertical-align: top;
}

tbody tr:last-child td { border-bottom: 0; }
tbody tr:hover td { background: rgba(36, 88, 230, 0.035); }
tbody td strong { color: var(--text); font-weight: 500; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }

.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #ffffff;
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

.faq details[open] {
  border-color: rgba(36, 88, 230, 0.35);
  box-shadow: 0 14px 34px -24px rgba(36, 88, 230, 0.35);
}

.faq summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  list-style: none;
}

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

.faq summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--mono);
  font-size: 18px;
  color: var(--blue);
  transition: transform 0.25s;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq .faq-body {
  padding: 0 22px 20px 22px;
  font-size: 14px;
  line-height: 1.9;
  color: var(--muted);
}

/* ---------- CTA ---------- */
.cta-band {
  position: relative;
  padding: 66px 56px;
  border: 1px solid rgba(36, 88, 230, 0.28);
  border-radius: var(--r-xl);
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 20%, rgba(109, 79, 216, 0.1), transparent 55%),
    radial-gradient(circle at 12% 90%, rgba(13, 143, 199, 0.1), transparent 55%),
    linear-gradient(140deg, #ffffff, #edf3fd);
  text-align: center;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.cta-band p {
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto;
  font-size: 15.5px;
  line-height: 1.9;
}

.cta-band .btn-row { justify-content: center; margin-top: 34px; }

.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(36, 88, 230, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 88, 230, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 78%);
  mask-image: radial-gradient(ellipse at center, #000, transparent 78%);
  pointer-events: none;
  opacity: 0.7;
}

.cta-band > * { position: relative; z-index: 1; }

/* ---------- Page hero ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 74px) 0 68px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #f7fafe, #eef3fb 80%, var(--bg));
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(36, 88, 230, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36, 88, 230, 0.045) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 30% 20%, #000, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 70% at 30% 20%, #000, transparent 75%);
}

.page-hero .container { position: relative; }

.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.crumb a:hover { color: var(--blue); }
.crumb span { color: rgba(93, 108, 138, 0.45); }

.page-hero h1 {
  font-size: clamp(30px, 4.4vw, 52px);
  letter-spacing: -0.03em;
  max-width: 900px;
}

.page-hero .lead {
  margin-top: 22px;
  max-width: 720px;
  font-size: 16.5px;
  line-height: 1.95;
  color: var(--muted);
}

.page-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

/* ---------- Article / insight ---------- */
.post {
  display: block;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #ffffff;
  box-shadow: 0 12px 34px -26px rgba(23, 43, 90, 0.18);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
  height: 100%;
}

.post:hover {
  transform: translateY(-4px);
  border-color: rgba(13, 143, 199, 0.4);
  box-shadow: 0 26px 54px -26px rgba(13, 143, 199, 0.3);
}

.post .post-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  color: var(--muted-2);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.post .post-top em {
  font-style: normal;
  padding: 3px 9px;
  border-radius: 5px;
  background: rgba(36, 88, 230, 0.08);
  color: var(--blue);
}

.post h3 { font-size: 18px; line-height: 1.55; }

.post p {
  margin-top: 12px;
  font-size: 13.5px;
  line-height: 1.85;
  color: var(--muted);
}

.post .post-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted-2);
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.info-list { display: grid; gap: 14px; }

.info-item {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #ffffff;
  box-shadow: 0 10px 28px -26px rgba(23, 43, 90, 0.2);
  transition: border-color 0.3s;
}

.info-item:hover { border-color: rgba(36, 88, 230, 0.35); }

.info-item .icon-box { margin: 0; width: 40px; height: 40px; flex-shrink: 0; }
.info-item .icon-box svg { width: 18px; height: 18px; }

.info-item .label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  color: var(--muted-2);
  text-transform: uppercase;
}

.info-item .value { font-size: 15px; margin-top: 3px; color: var(--text); }
.info-item .value small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }

.form-card {
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.form-card h3 { font-size: 20px; margin-bottom: 8px; }
.form-card > p { font-size: 13.5px; color: var(--muted); margin-bottom: 26px; }

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 12.5px;
  color: var(--text-2);
  margin-bottom: 8px;
}

.field label i { color: var(--blue); font-style: normal; }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: var(--bg-card-2);
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}

.field textarea { resize: vertical; min-height: 110px; line-height: 1.7; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: rgba(36, 88, 230, 0.55);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(36, 88, 230, 0.12);
}

.field select option { background: #ffffff; color: var(--text); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-note { font-size: 12px; color: var(--muted-2); line-height: 1.7; margin-top: 4px; }

/* QR placeholder */
.qr-card {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: rgba(36, 88, 230, 0.03);
}

.qr-box {
  width: 92px;
  height: 92px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid rgba(36, 88, 230, 0.14);
  background: linear-gradient(160deg, rgba(36, 88, 230, 0.09), rgba(13, 143, 199, 0.06));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 11px;
  color: var(--blue);
  text-align: center;
  line-height: 1.4;
  letter-spacing: 0.08em;
}

.qr-box svg {
  width: 26px;
  height: 26px;
}

.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 9px;
}

/* ---------- About ---------- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.about-story p {
  font-size: 15px;
  line-height: 2;
  color: var(--muted);
  margin-bottom: 20px;
}

.about-story p:last-child { margin-bottom: 0; }
.about-story strong { color: var(--text); font-weight: 500; }

.value-card {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #ffffff;
  box-shadow: 0 10px 28px -26px rgba(23, 43, 90, 0.2);
}

.value-card h4 { font-size: 16px; margin-bottom: 10px; }
.value-card p { font-size: 13px; color: var(--muted); line-height: 1.85; }

.value-card .idx {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  color: var(--blue);
  display: block;
  margin-bottom: 16px;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  padding: 72px 0 32px;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, #eef2f9, #f7f9fd);
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  bottom: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(36, 88, 230, 0.07), transparent 65%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
}

.footer-about p {
  margin-top: 18px;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
  max-width: 320px;
}

.footer-col h5 {
  font-size: 12px;
  font-family: var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 18px;
  font-weight: 500;
}

.footer-col li { margin-bottom: 11px; }

.footer-col a,
.footer-col span {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}

.footer-col a:hover { color: var(--blue); }

.footer-bottom {
  position: relative;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 12px;
  color: var(--muted-2);
}

.footer-bottom a:hover { color: var(--text-2); }
.footer-bottom .dotsep { opacity: 0.4; margin: 0 8px; }

/* ---------- Reveal ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

[data-reveal].is-in { opacity: 1; transform: none; }

[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.hero-grid > *,
.split > *,
.contact-grid > *,
.grid > *,
.panel > *,
.steps > * { min-width: 0; }

.stack-row { min-width: 0; }
.stack-row .name,
.hero-sub,
.faq-body { overflow-wrap: anywhere; }

.mt-0 { margin-top: 0; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-44 { margin-top: 44px; }
.mt-56 { margin-top: 56px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 13px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-sub { max-width: 100%; }
  .hero-visual { max-width: 560px; }
  .float-a { right: 0; }
  .float-b { left: 0; }
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split.reverse .split-media { order: 0; }
  .panel { grid-template-columns: 1fr; }
  .panel-media { border-left: 0; border-top: 1px solid var(--line); min-height: 260px; order: -1; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-story { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-links .nav-mobile-cta {
    display: flex;
    justify-content: center;
    margin-top: 18px;
    padding: 15px 20px;
    font-size: 15px;
  }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 22px 24px 60px;
    margin: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-top: 1px solid var(--line);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 0.3s var(--ease);
  }

  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }

  .nav-link { padding: 14px 12px; font-size: 16px; border-radius: 10px; }
  .nav-link.is-active::after { display: none; }
  .nav-link.is-active { background: rgba(36, 88, 230, 0.07); }

  .nav-item { display: block; }

  .dropdown {
    position: static;
    width: 100%;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    border: 0;
    border-left: 1px solid var(--line-strong);
    border-radius: 0;
    margin: 0 0 8px 12px;
    padding: 4px 0 4px 8px;
    background: transparent;
    box-shadow: none;
  }

  .nav-item.is-open .dropdown { display: block; }
  .nav-item:hover .dropdown { transform: none; }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 76px 0; }
  .cta-band { padding: 44px 26px; }
  .panel-body { padding: 32px 26px; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  .hero { padding-top: calc(var(--nav-h) + 52px); }
  .hero-meta { gap: 18px; }
  .hero-meta div { flex: 1 1 40%; }
  .grid-4 { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 26px 22px; }
  .brand-mark { height: 32px; }
  .brand-text strong { font-size: 15px; }
  .brand-text small { font-size: 8.5px; letter-spacing: 0.18em; }
  .float-card { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer { padding-top: 52px; }
  .hero-badge { font-size: 11.5px; }
}
