:root {
  --color-primary: #1b4f9c;
  --color-primary-dark: #143d7a;
  --color-primary-light: #2a6fd4;
  --color-accent: #0b5fff;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f7fb;
  --color-text: #1a2332;
  --color-text-muted: #5a6577;
  --color-border: #e2e8f0;
  --color-white: #ffffff;
  --header-h: 64px;
  --radius: 8px;
  --shadow-sm: 0 1px 3px rgba(15, 35, 70, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 35, 70, 0.08);
  --font: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --container: 1120px;
  --ease: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

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

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

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

h1,
h2,
h3,
p {
  margin: 0;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--ease), color var(--ease), border-color var(--ease),
    box-shadow var(--ease);
  white-space: nowrap;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: rgba(27, 79, 156, 0.35);
}

.btn-ghost:hover {
  background: rgba(27, 79, 156, 0.06);
  border-color: var(--color-primary);
}

.btn-light {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-light:hover {
  background: #eef3fb;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--ease), border-color var(--ease), background var(--ease);
}

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

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  color: var(--color-primary);
}

.brand-logo {
  display: block;
  width: 140px;
  height: auto;
  flex-shrink: 0;
}

.brand-text {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .brand-logo {
    width: 108px;
  }

  .brand-text {
    font-size: 16px;
  }
}

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

.nav a {
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text-muted);
  border-radius: 6px;
  transition: color var(--ease), background var(--ease);
}

.nav a:hover {
  color: var(--color-primary);
  background: rgba(27, 79, 156, 0.06);
}

.header-cta {
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: auto;
  padding: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform var(--ease), opacity var(--ease);
}

.menu-toggle[aria-expanded='true'] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded='true'] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded='true'] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Hero */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 72px) 0 88px;
  overflow: hidden;
  background: linear-gradient(165deg, #0f3a7a 0%, #1b4f9c 42%, #2a6fd4 100%);
  color: var(--color-white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 85% 20%, rgba(91, 156, 255, 0.35), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(11, 95, 255, 0.2), transparent 50%),
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.02) 40px,
      rgba(255, 255, 255, 0.02) 41px
    );
  pointer-events: none;
}

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

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  padding: 4px 12px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.55;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.95);
}

.hero-sub {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero .btn-primary {
  background: var(--color-white);
  color: var(--color-primary);
}

.hero .btn-primary:hover {
  background: #eef3fb;
}

.hero .btn-ghost {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
}

/* Sections */
.section {
  padding: 88px 0;
}

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

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-head-left {
  text-align: left;
  margin-left: 0;
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-text);
}

.section-head p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* Capabilities */
.capability-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.capability-item {
  padding: 24px 20px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--ease), box-shadow var(--ease);
}

.capability-item:hover {
  border-color: rgba(27, 79, 156, 0.35);
  box-shadow: var(--shadow-md);
}

.capability-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  color: var(--color-primary);
}

.capability-icon svg {
  width: 100%;
  height: 100%;
}

.capability-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.capability-item p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Process */
.process-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: none;
}

.process-step {
  position: relative;
  padding: 28px 24px;
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 40px;
  right: -16px;
  width: 12px;
  height: 2px;
  background: var(--color-primary-light);
  opacity: 0.45;
  z-index: 1;
}

.process-num {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.process-step h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Finance split */
.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list li {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  border-left: 3px solid var(--color-primary);
}

.feature-list strong {
  font-size: 15px;
  font-weight: 600;
}

.feature-list span {
  font-size: 13px;
  color: var(--color-text-muted);
}

.voucher-card {
  background: linear-gradient(160deg, #143d7a, #1b4f9c 60%, #2a6fd4);
  color: var(--color-white);
  border-radius: 12px;
  padding: 28px 28px 24px;
  box-shadow: var(--shadow-md);
}

.voucher-card-head {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.voucher-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  font-size: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.voucher-row span:first-child {
  color: rgba(255, 255, 255, 0.65);
  flex-shrink: 0;
}

.voucher-row span:last-child {
  text-align: right;
  font-weight: 500;
}

.voucher-footer {
  margin-top: 18px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

/* Profit */
.profit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.profit-card {
  padding: 32px 28px;
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  text-align: center;
}

.profit-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.profit-card p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

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

.scenario-item {
  padding: 28px 26px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  transition: border-color var(--ease), box-shadow var(--ease);
}

.scenario-item:hover {
  border-color: rgba(27, 79, 156, 0.35);
  box-shadow: var(--shadow-sm);
}

.scenario-item h3 {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 10px;
}

.scenario-item p {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* CTA */
.cta-band {
  padding: 64px 0;
  background: linear-gradient(135deg, #143d7a, #1b4f9c 50%, #2563b8);
  color: var(--color-white);
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-copy h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-copy p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

/* Footer */
.site-footer {
  padding: 28px 0;
  background: #0f1c2e;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-brand strong {
  color: var(--color-white);
  font-size: 15px;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.footer-meta a:hover {
  color: var(--color-white);
}

/* Responsive */
@media (max-width: 1024px) {
  .capability-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .capability-item:nth-child(4),
  .capability-item:nth-child(5) {
    grid-column: span 1;
  }

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

  .process-step:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 860px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 20px 20px;
    background: var(--color-white);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 14px 12px;
    font-size: 15px;
    border-radius: 6px;
  }

  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .cta-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 64px 0;
  }

  .hero {
    padding: calc(var(--header-h) + 48px) 0 64px;
  }

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

  .process-flow {
    grid-template-columns: 1fr;
  }

  .process-step:not(:last-child)::after {
    display: none;
  }

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

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

  .hero-actions .btn {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
