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

:root {
  --c-deep: #0B1B3D;
  --c-blue: #1A3A6B;
  --c-green: #39FF88;
  --c-orange: #FF6B35;
  --c-bg-light: #F5F7FA;
  --c-text-light: #E5E8F0;
  --c-text-muted: #93A5C0;
  --c-text-dark: #0B1B3D;
  --c-glow: rgba(57,255,136,.4);
  --c-gold: #FFD166;
  --c-red: #FF4B4B;
  --header-h: 72px;
  --container: 1280px;
  --container-narrow: 880px;
  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --font-sans: "Inter", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  --font-mono: "Roboto Mono", "SF Mono", "Cascadia Mono", "Source Code Pro", Consolas, "Liberation Mono", monospace;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, .35);
}

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

body {
  margin: 0;
  padding-top: var(--header-h);
  background: var(--c-deep);
  color: var(--c-text-light);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.has-hero { padding-top: 0; }

body.nav-open { overflow: hidden; }

main:focus { outline: none; }

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .6em;
  line-height: 1.15;
  font-weight: 800;
  color: var(--c-text-light);
  letter-spacing: -.01em;
}

p { margin: 0 0 1em; }

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

ul, ol { margin: 0; padding: 0; }

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

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

::selection { background: var(--c-green); color: var(--c-deep); }

:focus-visible { outline: 3px solid var(--c-green); outline-offset: 3px; }

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--c-deep); }
::-webkit-scrollbar-thumb { background: var(--c-blue); border-radius: 5px; }
::-webkit-scrollbar-thumb:hover { background: var(--c-green); }

/* ============ Layout & Sections ============ */
.container { max-width: var(--container); margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: var(--container-narrow); }

.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--alt { background: var(--c-blue); }
.section--light { background: var(--c-bg-light); color: var(--c-text-dark); }
.section--light h1,
.section--light h2,
.section--light h3,
.section--light h4,
.section--light h5,
.section--light h6 { color: var(--c-text-dark); }
.section--light .section-head__note,
.section--light .breadcrumb { color: #52658A; }
.section--light .breadcrumb__current { color: var(--c-text-dark); }

.section-head {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px 28px;
  margin-bottom: 44px;
}

.section-head__index {
  display: block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-green);
}

.section-head__title {
  margin: 8px 0 0;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -.02em;
}

.section-head__note {
  margin: 0 0 8px auto;
  max-width: 300px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-muted);
}

@media (max-width: 767px) {
  .section-head__note { margin-left: 0; max-width: none; }
}

/* ============ Breadcrumb ============ */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-text-muted);
}

.breadcrumb__sep { color: rgba(57, 255, 136, .55); margin: 0 4px; }
.breadcrumb__link:hover { color: var(--c-green); }
.breadcrumb__current { color: var(--c-text-light); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  letter-spacing: .02em;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease), color .25s var(--ease);
}

.btn--primary { background: var(--c-green); color: var(--c-deep); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(57, 255, 136, .35); }

.btn--orange { background: var(--c-orange); color: var(--c-deep); }
.btn--orange:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(255, 107, 53, .35); }

.btn--ghost { border-color: rgba(229, 232, 240, .35); color: var(--c-text-light); background: rgba(11, 27, 61, .2); }
.btn--ghost:hover { border-color: var(--c-green); color: var(--c-green); transform: translateY(-2px); }

.section--light .btn--ghost { border-color: rgba(11, 27, 61, .3); color: var(--c-text-dark); background: transparent; }
.section--light .btn--ghost:hover { border-color: var(--c-green); color: var(--c-green); }

.btn--lg { padding: 16px 36px; font-size: 17px; }
.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--block { display: flex; width: 100%; }

/* ============ Grid & Cards ============ */
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--center { align-items: center; }

.card {
  position: relative;
  background: linear-gradient(160deg, rgba(26, 58, 107, .66), rgba(11, 27, 61, .94));
  border: 1px solid rgba(57, 255, 136, .14);
  border-radius: var(--radius-lg);
  padding: 28px;
  overflow: hidden;
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, var(--c-green), transparent 70%);
  opacity: 0;
  transition: opacity .3s;
}

.card:hover { transform: translateY(-4px); border-color: var(--c-glow); box-shadow: 0 18px 44px rgba(0, 0, 0, .32); }
.card:hover::before { opacity: .7; }

.card--light { background: var(--c-bg-light); color: var(--c-text-dark); border-color: rgba(11, 27, 61, .08); }
.card--light:hover { box-shadow: 0 18px 40px rgba(11, 27, 61, .1); }
.card--light .card__title { color: var(--c-text-dark); }

.card__meta {
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-green);
}

.card--light .card__meta { color: var(--c-orange); }

.card__title { margin: 0 0 10px; font-size: 20px; }

.card__text { margin: 0; font-size: 15px; color: var(--c-text-muted); }
.card--light .card__text { color: #52658A; }

/* ============ Data Components ============ */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(57, 255, 136, .3);
  background: rgba(57, 255, 136, .12);
  color: var(--c-green);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  white-space: nowrap;
}

.chip--orange { border-color: rgba(255, 107, 53, .35); background: rgba(255, 107, 53, .12); color: var(--c-orange); }

.stat { padding: 4px 0; }

.stat__value {
  font-family: var(--font-mono);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--c-green);
  letter-spacing: -.01em;
}

.stat--orange .stat__value { color: var(--c-orange); }

.stat__label {
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--c-text-muted);
}

.stat__delta--up,
.stat__delta--down { font-family: var(--font-mono); font-size: 12px; margin-left: 6px; }
.stat__delta--up { color: var(--c-green); }
.stat__delta--down { color: var(--c-red); }

.panel-data {
  position: relative;
  background: rgba(11, 27, 61, .85);
  border: 1px solid rgba(57, 255, 136, .25);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.panel-data::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(57, 255, 136, .1), transparent 42%, rgba(255, 107, 53, .08));
  pointer-events: none;
}

.panel-data__label {
  position: relative;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-green);
}

.panel-data__value {
  position: relative;
  display: block;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1;
  color: var(--c-text-light);
}

.panel-data__meta {
  position: relative;
  margin-top: 12px;
  font-size: 13px;
  color: var(--c-text-muted);
}

/* ============ Image Frames ============ */
.img-frame {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--c-blue), var(--c-deep));
  aspect-ratio: 4 / 3;
  isolation: isolate;
  min-height: 120px;
}

.img-frame--wide { aspect-ratio: 16 / 9; }
.img-frame--tall { aspect-ratio: 3 / 4; }

.img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}

.img-frame:hover img { transform: scale(1.04); }

.img-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(57, 255, 136, .16), transparent 45%, rgba(255, 107, 53, .1));
  mix-blend-mode: screen;
  opacity: .6;
  transition: opacity .3s;
  pointer-events: none;
}

.img-frame:hover::after { opacity: .9; }

/* ============ Decorations ============ */
.orb {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .45;
  pointer-events: none;
  z-index: 0;
}

.orb--green { background: rgba(57, 255, 136, .4); }
.orb--orange { background: rgba(255, 107, 53, .4); }

.bg-grid {
  background-image:
    linear-gradient(rgba(57, 255, 136, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(57, 255, 136, .05) 1px, transparent 1px);
  background-size: 48px 48px;
}

/* ============ Skip Link ============ */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 300;
  transform: translateY(-200%);
  background: var(--c-green);
  color: var(--c-deep);
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
  padding: 12px 22px;
  border-radius: 999px;
  box-shadow: 0 8px 24px rgba(57, 255, 136, .4);
  transition: transform .3s var(--ease);
}

.skip-link:focus { transform: translateY(0); }

/* ============ Header ============ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(11, 27, 61, .96);
  border-bottom: 1px solid rgba(57, 255, 136, .2);
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}

body.has-hero .site-header:not(.is-scrolled) {
  background: linear-gradient(180deg, rgba(11, 27, 61, .72), rgba(11, 27, 61, .08));
  border-bottom-color: transparent;
  box-shadow: none;
}

.site-header.is-scrolled {
  background: rgba(11, 27, 61, .94);
  border-bottom-color: rgba(57, 255, 136, .28);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .28);
}

.site-header__inner {
  position: relative;
  max-width: var(--container);
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.header-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 3;
  background: linear-gradient(90deg, var(--c-green), var(--c-orange));
  transform: scaleX(0);
  transform-origin: 0 50%;
  box-shadow: 0 0 10px rgba(57, 255, 136, .6);
  pointer-events: none;
}

/* Brand */
.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .03em;
  line-height: 1;
  color: var(--c-text-light);
}

.site-brand__mark {
  position: relative;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--c-green) 0%, var(--c-green) 50%, var(--c-orange) 50%, var(--c-orange) 100%);
  box-shadow: 0 0 18px rgba(57, 255, 136, .45);
}

.site-brand__mark::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--c-deep);
  border-radius: 2px;
}

.site-brand__name { white-space: nowrap; }

/* Nav */
.site-nav { margin-left: auto; }

.site-nav__list { display: flex; align-items: center; gap: 2px; }
.site-nav__item { list-style: none; }

.site-nav__link {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--c-text-light);
  opacity: .86;
  transition: color .2s var(--ease), background .2s var(--ease), opacity .2s var(--ease);
}

.site-nav__link:hover { opacity: 1; color: var(--c-green); background: rgba(57, 255, 136, .08); }

.site-nav__link[aria-current="page"] {
  opacity: 1;
  color: var(--c-green);
  background: rgba(57, 255, 136, .06);
}

.site-nav__link[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-green);
  box-shadow: 0 0 8px rgba(57, 255, 136, .8);
}

.site-nav__num {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--c-green);
  opacity: .75;
}

.site-header__cta { display: inline-flex; flex: none; }
.site-nav__item--cta { display: none; }

/* Nav toggle */
.nav-toggle { display: none; }

/* ============ Footer ============ */
.site-footer {
  position: relative;
  background: #071026;
  color: var(--c-text-light);
  overflow: hidden;
  border-top: 1px solid rgba(57, 255, 136, .18);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--c-green) 30%, var(--c-orange) 70%, transparent);
  opacity: .8;
}

.site-footer__top { position: relative; z-index: 1; }

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.6fr;
  gap: 48px;
  padding: clamp(56px, 7vw, 88px) 28px 56px;
}

.site-footer__brand .site-brand { font-size: 24px; }

.site-footer__tagline {
  margin: 18px 0 0;
  max-width: 44ch;
  font-size: 14px;
  line-height: 1.8;
  color: #B7C3D9;
}

.site-footer__trust {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 24px 0 0;
  padding: 14px 16px;
  border: 1px solid rgba(57, 255, 136, .2);
  border-radius: var(--radius-md);
  background: rgba(57, 255, 136, .07);
  font-size: 13px;
  line-height: 1.7;
  color: #B7C3D9;
}

.site-footer__trust-icon { flex: none; color: var(--c-green); font-size: 16px; line-height: 1.4; }

.site-footer__heading {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--c-green);
}

.site-footer__nav ul,
.site-footer__legal ul { list-style: none; display: grid; gap: 10px; }

.site-footer__nav a,
.site-footer__legal a {
  display: inline-block;
  font-size: 14px;
  color: #BAC6DA;
  transition: color .2s, transform .2s;
}

.site-footer__nav a:hover,
.site-footer__legal a:hover { color: var(--c-green); transform: translateX(4px); }

.site-footer__contact p,
.site-footer__contact-line { margin: 0 0 10px; font-size: 14px; line-height: 1.7; color: #BAC6DA; }

.site-footer__hours {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-green);
}

.site-footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(229, 232, 240, .08);
  padding: 18px 0;
}

.site-footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #8194B0;
}

.site-footer__bottom-inner p { margin: 0; }

/* ============ Reveal ============ */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

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

/* ============ Responsive ============ */
@media (max-width: 1023px) {
  :root { --header-h: 64px; }

  .site-header__inner { gap: 14px; padding: 0 16px; }
  .site-header__cta { display: none; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-left: auto;
    border-radius: 10px;
    border: 1px solid rgba(57, 255, 136, .3);
    background: rgba(11, 27, 61, .6);
    transition: border-color .25s, background .25s;
  }

  .nav-toggle:hover { border-color: var(--c-green); }

  .nav-toggle__box { position: relative; width: 18px; height: 12px; }

  .nav-toggle__bar {
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--c-green);
    transition: transform .3s var(--ease), opacity .2s;
  }

  .nav-toggle__bar:nth-child(1) { top: 0; }
  .nav-toggle__bar:nth-child(2) { top: 5px; }
  .nav-toggle__bar:nth-child(3) { top: 10px; }

  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(5px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

  .site-nav {
    position: fixed;
    top: calc(var(--header-h) + 10px);
    left: 16px;
    right: 16px;
    max-height: calc(100vh - var(--header-h) - 32px);
    overflow-y: auto;
    margin-left: 0;
    background: rgba(11, 27, 61, .98);
    border: 1px solid rgba(57, 255, 136, .22);
    border-radius: 18px;
    padding: 14px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
    box-shadow: var(--shadow-lg);
  }

  .site-nav[data-open] { opacity: 1; visibility: visible; transform: translateY(0); }

  .site-nav__list { flex-direction: column; align-items: stretch; gap: 2px; }

  .site-nav__link {
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 16px;
  }

  .site-nav__link[aria-current="page"]::after { display: none; }
  .site-nav__link[aria-current="page"] { background: rgba(57, 255, 136, .1); }

  .site-nav__item--cta {
    display: block;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px dashed rgba(57, 255, 136, .25);
  }

  .site-nav__cta { width: 100%; }

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

  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 767px) {
  .container { padding: 0 18px; }
  .grid--2,
  .grid--3,
  .grid--4 { grid-template-columns: 1fr; }
}

@media (max-width: 639px) {
  .site-footer__grid { grid-template-columns: 1fr; gap: 36px; padding: 48px 18px 40px; }
  .site-footer__bottom-inner { flex-direction: column; align-items: flex-start; }
}

/* ============ Reduced Motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

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

  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
