:root {
  --bg: #07111f;
  --bg-soft: #0d1c33;
  --paper: rgba(10, 24, 48, 0.72);
  --paper-strong: rgba(10, 24, 48, 0.94);
  --ink: #f2f7ff;
  --muted: #9fb6d1;
  --line: rgba(110, 201, 255, 0.22);
  --line-strong: rgba(110, 201, 255, 0.54);
  --gold: #ffd56a;
  --gold-strong: #ffd56a;
  --teal: #18c8ff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #02050b;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "SF Pro Display", "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(circle at 20% 20%, rgba(26, 113, 255, 0.16), transparent 32%),
    radial-gradient(circle at 75% 18%, rgba(0, 224, 255, 0.16), transparent 28%),
    radial-gradient(circle at 80% 80%, rgba(255, 213, 106, 0.08), transparent 24%),
    linear-gradient(180deg, #02050b 0%, #07111f 28%, #08162a 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

body::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(116, 230, 255, 0.08), transparent 42%),
    linear-gradient(180deg, transparent 0%, rgba(6, 12, 22, 0.18) 100%);
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}

.page-shell {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max-width), calc(100% - 40px));
  margin: 18px auto 0;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(7, 17, 31, 0.9);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  width: 56px;
  height: 56px;
  object-fit: contain;
  object-position: center;
  clip-path: inset(12px 4px);
  border-radius: 0;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  filter: drop-shadow(0 8px 18px rgba(11, 26, 47, 0.12));
}

.brand-copy {
  display: grid;
  gap: 4px;
}

.brand-copy strong {
  font-size: 0.98rem;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.82rem;
}

.topbar-marquee {
  position: relative;
  flex: 1 1 220px;
  min-width: 160px;
  max-width: 320px;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 213, 106, 0.2);
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 213, 106, 0.08), rgba(24, 200, 255, 0.12));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.02),
    0 10px 28px rgba(0, 0, 0, 0.16);
}

.topbar-marquee::before,
.topbar-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 32px;
  z-index: 1;
  pointer-events: none;
}

.topbar-marquee::before {
  inset: 1px auto 1px -24%;
  width: 40%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 244, 196, 0.46), rgba(255, 255, 255, 0));
  filter: blur(10px);
  opacity: 0.9;
  animation: topbar-marquee-sheen 4.8s ease-in-out infinite;
}

.topbar-marquee::after {
  inset: -30% auto auto 12%;
  width: 44%;
  height: 160%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(24, 200, 255, 0.18), rgba(24, 200, 255, 0));
  filter: blur(18px);
  opacity: 0.8;
}

.topbar-marquee__track {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0 24px;
  white-space: nowrap;
}

.topbar-marquee__track span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: linear-gradient(90deg, #fff1b3 0%, #ffd56a 35%, #ffffff 50%, #ffd56a 65%, #fff1b3 100%);
  background-size: 220% auto;
  color: transparent;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow:
    0 0 16px rgba(255, 213, 106, 0.22),
    0 0 28px rgba(24, 200, 255, 0.12);
  animation: topbar-marquee-glow 3.2s ease-in-out infinite;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  flex-shrink: 0;
  gap: 18px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
}

.nav a:hover {
  color: var(--ink);
}

main {
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0 80px;
}

.section {
  padding: 58px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  gap: 36px;
  align-items: center;
  min-height: calc(100vh - 140px);
}

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

.eyebrow {
  margin: 0 0 16px;
  color: var(--teal);
  font-size: 0.8rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

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

h1,
.section-heading h2,
.contact-panel h2 {
  letter-spacing: -0.04em;
  line-height: 1.05;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  max-width: 10ch;
}

.hero-copy h1 {
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  max-width: 24ch;
  line-height: 1.2;
}

.hero-text,
.panel p,
.problem-card p,
.service-card p,
.course-card p,
.sector-card p,
.gallery-copy p,
.highlight-card p,
.contact-panel p,
.timeline-item p,
.founder-copy p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  padding: 14px 22px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(63, 48, 34, 0.12);
}

.button.primary {
  color: #fffaf2;
  border-color: transparent;
  background: linear-gradient(135deg, #0d7a8c, #b5792d);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.02);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.hero-metrics li,
.panel,
.problem-card,
.founder-card,
.mini-panel,
.service-card,
.course-card,
.sector-card,
.gallery-card,
.highlight-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.hero-metrics li {
  padding: 20px 22px;
}

.hero-metrics strong {
  display: block;
  margin-bottom: 8px;
  font-size: 2rem;
}

.hero-metrics span {
  color: var(--muted);
}

.hero-visual {
  position: relative;
  min-height: 680px;
}

.hero-globe {
  position: absolute;
  inset: 40px 48px 168px 48px;
  border-radius: 40px;
  background:
    linear-gradient(150deg, rgba(4, 12, 24, 0.98), rgba(13, 28, 51, 0.94)),
    linear-gradient(135deg, rgba(24, 200, 255, 0.14), transparent 65%);
  border: 1px solid rgba(116, 230, 255, 0.18);
  overflow: hidden;
  box-shadow: inset 0 0 80px rgba(24, 200, 255, 0.08);
}

.hero-globe img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  mix-blend-mode: screen;
  opacity: 0.92;
}

.hero-card {
  position: absolute;
  padding: 24px;
  max-width: 290px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  color: var(--ink);
  background: rgba(7, 17, 31, 0.72);
  backdrop-filter: blur(18px);
}

.hero-card span,
.service-index,
.tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  margin: 18px 0 12px;
  font-size: 1.6rem;
  line-height: 1.2;
}

.hero-card p {
  margin-bottom: 0;
  color: rgba(242, 247, 255, 0.78);
}

.hero-card-main {
  right: -8px;
  bottom: 114px;
}

.hero-card-side {
  left: 0;
  bottom: 18px;
}

.section-heading {
  max-width: 800px;
  margin-bottom: 30px;
}

.section-heading--nowrap {
  max-width: none;
  overflow-x: auto;
}

.section-heading--nowrap h2 {
  white-space: nowrap;
  display: inline-block;
  font-size: clamp(1.05rem, 2.15vw, 1.85rem);
  letter-spacing: -0.03em;
}

.section-heading h2,
.contact-panel h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.8rem);
  line-height: 1.2;
}

.overview-grid,
.service-grid,
.course-grid,
.sector-grid,
.highlight-grid {
  display: grid;
  gap: 18px;
}

.overview-grid,
.service-grid,
.course-grid,
.highlight-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.panel,
.problem-card,
.service-card,
.course-card,
.sector-card,
.highlight-card {
  padding: 26px;
}

.panel-accent {
  background:
    linear-gradient(160deg, rgba(32, 90, 164, 0.95), rgba(9, 21, 38, 0.95)),
    var(--paper);
}

.problem-solution {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.solution-card {
  background:
    linear-gradient(180deg, rgba(24, 200, 255, 0.08), rgba(255, 213, 106, 0.06)),
    var(--paper);
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.7;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--gold));
}

.problem-list {
  grid-template-columns: repeat(2, minmax(0, max-content));
  justify-content: space-between;
  row-gap: 14px;
  column-gap: 20px;
}

.problem-list li {
  min-height: 0;
  padding-right: 8px;
  white-space: nowrap;
  font-size: 0.95rem;
}

.problem-card {
  overflow-x: auto;
}

.founder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 18px;
}

.founder-card,
.media-row {
  display: grid;
  gap: 20px;
}

.founder-card {
  grid-template-columns: 320px minmax(0, 1fr);
  padding: 28px;
  align-items: center;
}

.founder-portrait {
  position: relative;
  min-height: 460px;
  border-radius: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(24, 200, 255, 0.18), transparent 40%),
    linear-gradient(180deg, #10224a 0%, #09121f 100%);
  border: 1px solid rgba(116, 230, 255, 0.18);
}

.founder-portrait img {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.trust-stack {
  display: grid;
  gap: 18px;
}

.mini-panel {
  padding: 24px;
}

.media-row {
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
}

.media-row img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  object-fit: cover;
  background: rgba(255, 255, 255, 0.96);
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 22px 24px;
  border-top: 1px solid var(--line);
}

.timeline-item:first-child {
  border-top: 0;
}

.timeline-item span {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
}

.service-index {
  color: var(--teal);
  background: rgba(24, 200, 255, 0.08);
}

.course-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.course-tags span {
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  font-size: 0.95rem;
}

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

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 22px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  transition:
    transform 280ms ease,
    box-shadow 280ms ease,
    border-color 280ms ease;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -140%;
  width: 52%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
  transform: skewX(-18deg);
  opacity: 0;
  transition: transform 520ms ease, opacity 320ms ease;
  pointer-events: none;
}

.gallery-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 480ms ease, filter 480ms ease;
}

.gallery-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 213, 106, 0.24);
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.32);
}

.gallery-card:hover::after {
  transform: translateX(430%) skewX(-18deg);
  opacity: 1;
}

.gallery-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.08) contrast(1.02);
}

.gallery-card-large {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-card-large img {
  height: 100%;
  min-height: 538px;
}

.gallery-copy {
  padding: 20px 22px 24px;
}

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

.team-grid--lead {
  grid-template-columns: 1.2fr 1.2fr 0.8fr;
}

.team-sequence {
  display: grid;
  gap: 18px;
}

.team-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.team-card--wide {
  grid-template-columns: 320px minmax(0, 1fr);
  align-items: start;
}

.team-photo {
  min-height: 260px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(16, 34, 74, 0.92), rgba(9, 18, 31, 0.98));
  border: 1px solid rgba(116, 230, 255, 0.16);
}

.team-photo--dark {
  min-height: 420px;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-photo--dark img {
  object-fit: contain;
}

.team-copy h3 {
  margin-bottom: 10px;
}

.team-block-title {
  margin: 18px 0 10px;
  color: var(--teal);
  font-size: 0.96rem;
  letter-spacing: 0.08em;
}

.contact-panel {
  padding: 32px;
  text-align: left;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 22px;
  align-items: start;
  margin: 24px 0 28px;
}

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

.contact-item {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02));
}

.contact-item--primary {
  grid-column: 1 / -1;
  min-height: 132px;
}

.contact-item span {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-item strong {
  display: block;
  line-height: 1.65;
}

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

.wechat-card {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.03);
}

.wechat-card img {
  width: 100%;
  max-width: 180px;
  border-radius: 18px;
  background: #fff;
  padding: 10px;
}

.wechat-card strong {
  text-align: center;
  line-height: 1.6;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(var(--max-width), calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 32px;
  color: var(--muted);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal-delay-1 {
  transition-delay: 120ms;
}

.reveal-delay-2 {
  transition-delay: 220ms;
}

.reveal-delay-3 {
  transition-delay: 320ms;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes topbar-marquee-sheen {
  0% {
    transform: translateX(0);
    opacity: 0;
  }

  12% {
    opacity: 0.9;
  }

  50% {
    transform: translateX(235%);
    opacity: 0.95;
  }

  70%,
  100% {
    transform: translateX(235%);
    opacity: 0;
  }
}

@keyframes topbar-marquee-glow {
  0%,
  100% {
    transform: translateY(0) scale(1);
    background-position: 0% 50%;
    filter: brightness(1);
  }

  50% {
    transform: translateY(-1px) scale(1.02);
    background-position: 100% 50%;
    filter: brightness(1.12);
  }
}

@media (max-width: 1080px) {
  .problem-list {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-wrap: wrap;
  }

  .topbar-marquee {
    order: 3;
    flex-basis: 100%;
    max-width: none;
  }

  .nav {
    margin-left: auto;
  }

  .hero,
  .founder-layout,
  .overview-grid,
  .service-grid,
  .course-grid,
  .sector-grid,
  .highlight-grid,
  .team-grid,
  .team-grid--lead,
  .gallery-grid,
  .problem-solution {
    grid-template-columns: 1fr;
  }

  .team-card--wide {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .founder-card {
    grid-template-columns: 1fr;
  }

  .gallery-card-large {
    grid-column: span 1;
    grid-row: span 1;
  }

  .gallery-card-large img {
    min-height: 260px;
  }

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

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

  .contact-item--primary {
    grid-column: auto;
    min-height: auto;
  }

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

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

@media (max-width: 760px) {
  .topbar {
    position: static;
    border-radius: 22px;
  }

  .topbar-marquee,
  .brand-copy span,
  .nav {
    display: none;
  }

  main,
  .topbar,
  .site-footer {
    width: min(var(--max-width), calc(100% - 20px));
  }

  .section {
    padding: 42px 0;
  }

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

  .hero-visual {
    min-height: 500px;
  }

  .hero-globe {
    inset: 0 0 156px 0;
  }

  .hero-card {
    max-width: none;
  }

  .hero-card-main {
    left: 16px;
    right: 16px;
    bottom: 102px;
  }

  .hero-card-side {
    left: 16px;
    right: 16px;
    bottom: 18px;
  }

  .media-row,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    padding-left: 0;
    padding-right: 0;
  }

  .contact-panel,
  .panel,
  .problem-card,
  .founder-card,
  .mini-panel,
  .service-card,
  .course-card,
  .sector-card,
  .gallery-copy,
  .highlight-card {
    padding: 22px;
  }
}
