/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  color: #e2e8f0;
  background: #061327;
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: 76px;
  background: rgba(6, 19, 39, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(80, 140, 255, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1320px, calc(100% - 48px));
  height: 100%;
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.brand-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.4);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.nav-link:hover { color: #fff; background: rgba(255,255,255,0.06); }

.nav-link.active {
  color: #fff;
  position: relative;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 16px;
  right: 16px;
  height: 2px;
  background: #2f6bff;
  border-radius: 1px;
}

.nav-cta {
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #2f6bff, #1a5ae8);
  border-radius: 8px;
  margin-left: 8px;
  box-shadow: 0 4px 16px rgba(47, 107, 255, 0.3);
  transition: box-shadow 0.2s, transform 0.2s;
}

.nav-cta:hover {
  box-shadow: 0 6px 24px rgba(47, 107, 255, 0.45);
  transform: translateY(-1px);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 760px;
  overflow: hidden;
  background: linear-gradient(160deg, #061327 0%, #081a36 40%, #0b2347 70%, #071830 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(80,140,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80,140,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 55% 50%, #000 0%, transparent 65%);
  pointer-events: none;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
}

.hero-orb-1 {
  width: 600px;
  height: 600px;
  top: -120px;
  right: 5%;
  background: radial-gradient(circle, rgba(47,107,255,0.18), transparent 70%);
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: 20%;
  background: radial-gradient(circle, rgba(59,130,246,0.1), transparent 70%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  width: min(1320px, calc(100% - 48px));
  min-height: 760px;
  margin-inline: auto;
  gap: 48px;
  grid-template-columns: 42fr 58fr;
}

/* ===== HERO LEFT ===== */
.hero-left {
  padding: 48px 0;
}

.hero-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}

.tag {
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #59a8ff;
  background: rgba(47,107,255,0.08);
  border: 1px solid rgba(80,140,255,0.18);
  border-radius: 999px;
}

.hero-title {
  font-size: clamp(38px, 4.2vw, 54px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero-sub {
  margin-top: 18px;
  font-size: 15px;
  color: rgba(255,255,255,0.55);
}

.hero-desc {
  margin-top: 14px;
  font-size: 15px;
  color: rgba(255,255,255,0.42);
  max-width: 460px;
  line-height: 1.75;
}

.hero-btns {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 30px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  white-space: nowrap;
  border: 1px solid transparent;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2f6bff, #1a5ae8);
  box-shadow: 0 8px 28px rgba(47,107,255,0.35);
}

.btn-primary:hover {
  box-shadow: 0 12px 36px rgba(47,107,255,0.5);
  transform: translateY(-2px);
}

.btn-outline {
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.18);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat strong {
  font-size: 26px;
  font-weight: 800;
  color: #3d8bff;
  letter-spacing: -0.02em;
}

.stat span {
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

.stat-div {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.08);
}

/* ===== HERO RIGHT - PERSON CARDS ===== */
.hero-right {
  display: flex;
  gap: 20px;
  align-items: flex-end;
  justify-content: center;
  padding: 32px 0 0;
}

/* ===== PERSON CARD ===== */
.person-card {
  position: relative;
  width: 220px;
  height: 420px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #0e2240 0%, #091a33 100%);
  border: 1px solid rgba(87,146,255,0.25);
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  transition: box-shadow 0.3s, border-color 0.3s;
}

.person-card:hover {
  border-color: rgba(87,146,255,0.45);
  box-shadow: 0 24px 72px rgba(0,0,0,0.4), inset 0 0 40px rgba(70,130,255,0.08);
}

/* Grid pattern */
.card-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(80,140,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80,140,255,0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  z-index: 0;
}

/* Concentric rings */
.card-ring-outer {
  position: absolute;
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  border: 1px solid rgba(80,140,255,0.08);
  pointer-events: none;
  z-index: 0;
}

.card-ring-inner {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 1px solid rgba(80,140,255,0.05);
  pointer-events: none;
  z-index: 0;
}

/* Bottom glow arc */
.card-glow-bottom {
  position: absolute;
  bottom: -10px;
  left: 15%;
  right: 15%;
  height: 100px;
  border-radius: 50% 50% 0 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(47,107,255,0.2), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* Person photo - transparent PNG on dark card bg */
.person-photo {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: auto;
  height: 94%;
  max-width: none;
  object-fit: contain;
  object-position: center bottom;
  z-index: 2;
}

/* Bottom fade overlay */
.card-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(9,26,51,0.95));
  pointer-events: none;
  z-index: 3;
}

/* Signature */
.person-sign {
  position: absolute;
  left: 50%;
  bottom: 72px;
  transform: translateX(-50%);
  width: 150px;
  height: auto;
  z-index: 4;
  opacity: 0.85;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.45));
  mix-blend-mode: screen;
  pointer-events: none;
}

.person-sign-text {
  text-align: center;
  font-family: "Segoe Script", "Brush Script MT", cursive, sans-serif;
  font-size: 22px;
  line-height: 1;
  color: #fff;
  width: auto;
  white-space: nowrap;
  letter-spacing: 0.06em;
}

/* Name and role */
.person-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 24px;
  z-index: 5;
  text-align: center;
}

.person-name {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.6);
}

.person-role {
  margin-top: 4px;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* ===== SERVICES ===== */
.services {
  padding: 56px 0 48px;
  background: #061327;
  border-top: 1px solid rgba(80,140,255,0.06);
}

.services-inner {
  display: grid;
  gap: 16px;
  width: min(1320px, calc(100% - 48px));
  margin-inline: auto;
  grid-template-columns: repeat(4, 1fr);
}

.svc-card {
  padding: 28px 24px;
  border: 1px solid rgba(80,140,255,0.1);
  border-radius: 20px;
  background: rgba(10, 30, 61, 0.5);
  backdrop-filter: blur(12px);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.svc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(80,140,255,0.25);
  box-shadow: 0 12px 40px rgba(47,107,255,0.12);
}

.svc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 12px;
  background: rgba(47,107,255,0.08);
}

.svc-card h3 {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
}

.svc-card p {
  margin: 0 0 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

.svc-link {
  font-size: 13px;
  font-weight: 600;
  color: #3d8bff;
  transition: color 0.2s;
}

.svc-link:hover { color: #59a8ff; }

/* ===== FOOTER ===== */
.footer {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.04);
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.2);
}

.footer p { margin: 0; }

.footer-contact { margin-top: 6px !important; }

.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.footer-contact a:hover { color: #59a8ff; }

.footer-icp { margin-top: 6px !important; }

.footer-icp a {
  color: inherit;
  text-decoration: none;
}

.footer-icp a:hover { color: #59a8ff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 40px;
    min-height: auto;
  }

  .hero { min-height: auto; padding-bottom: 40px; }

  .hero-right {
    justify-content: center;
  }

  .person-card {
    width: 260px;
    height: 460px;
  }

  .services-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .header-inner { width: calc(100% - 32px); }
  .nav-link:not(.nav-cta) { display: none; }
  .hero-title { font-size: 30px; }
  .hero-right { gap: 16px; }
  .person-card { width: 150px; height: 300px; }
  .person-sign { width: 70px; bottom: 56px; }
  .person-name { font-size: 14px; }
  .person-role { font-size: 10px; }
  .person-info { bottom: 16px; }
  .services-inner { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
