:root {
  --blue-deep: #1638d9;
  --blue: #3d5fec;
  --blue-bright: #4f7dff;
  --blue-soft: #d5e3ff;
  --blue-mist: #eef3ff;
  --ink: #1a1f36;
  --ink-soft: #4a5168;
  --red: #e60012;
  --amber: #ffb020;
  --white: #ffffff;
  --radius: 4px;
  --font-display: "ZCOOL QingKe HuangYou", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem clamp(1.25rem, 4vw, 3rem);
  background: color-mix(in srgb, var(--white) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--blue) 12%, transparent);
}

.topbar__brand img {
  height: 34px;
  width: auto;
}

.topbar__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
}

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

/* —— Hero: one composition —— */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: stretch;
  overflow: hidden;
  background: linear-gradient(135deg, #f7faff 0%, var(--blue-soft) 48%, #b8cdff 100%);
}

.hero__atmosphere {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 50% 60% at 18% 30%, rgba(255, 255, 255, 0.75), transparent 70%),
    radial-gradient(ellipse 40% 50% at 85% 75%, rgba(61, 95, 236, 0.22), transparent 65%);
  pointer-events: none;
  animation: atmosphere-shift 12s ease-in-out infinite alternate;
}

@keyframes atmosphere-shift {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.05) translate(-1%, 1%); }
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(6rem, 12vh, 8rem) clamp(1.5rem, 5vw, 4.5rem) 3rem;
  max-width: 36rem;
}

.hero__brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  letter-spacing: 0.04em;
  color: var(--red);
}

.hero__brand sup {
  font-size: 0.55em;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: var(--ink);
  animation: rise-in 0.9s ease both;
}

.hero__lead {
  margin: 1.25rem 0 0;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--ink-soft);
  max-width: 28rem;
  animation: rise-in 0.9s ease 0.12s both;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
  animation: rise-in 0.9s ease 0.24s both;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.98rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--primary {
  background: linear-gradient(120deg, var(--blue-deep), var(--blue-bright));
  color: var(--white);
  box-shadow: 0 12px 28px rgba(22, 56, 217, 0.28);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(22, 56, 217, 0.34);
}

.btn--ghost {
  background: color-mix(in srgb, var(--white) 70%, transparent);
  color: var(--blue-deep);
  border: 1px solid color-mix(in srgb, var(--blue) 35%, transparent);
}

.btn--ghost:hover {
  background: var(--white);
}

.hero__visual {
  position: relative;
  z-index: 1;
  min-height: 100%;
  margin: 0;
}

.hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  object-fit: cover;
  object-position: center right;
  animation: hero-pan 18s ease-in-out infinite alternate;
}

@keyframes hero-pan {
  from { transform: scale(1.02) translateX(0); }
  to { transform: scale(1.06) translateX(-1.5%); }
}

/* —— Sections —— */
.section {
  padding: clamp(4rem, 9vw, 7rem) clamp(1.25rem, 4vw, 3rem);
}

.section__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section__head {
  max-width: 36rem;
  margin-bottom: clamp(2rem, 5vw, 3rem);
}

.section__head h2,
.audience h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.7rem);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.section__head p,
.audience p {
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.section__head--light h2,
.section__head--light p {
  color: var(--white);
}

.section__head--light p {
  opacity: 0.88;
}

.section--modes {
  background: var(--white);
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.mode-block h3 {
  margin: 0 0 0.75rem;
  font-size: 1.45rem;
  color: var(--blue-deep);
}

.mode-block p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.section--modules {
  background:
    linear-gradient(180deg, var(--blue-mist), var(--white));
}

.module-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid color-mix(in srgb, var(--blue) 18%, transparent);
}

.module-list li {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1.25rem;
  align-items: baseline;
  padding: 1.15rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--blue) 18%, transparent);
  font-size: 1.05rem;
  color: var(--ink-soft);
}

.module-list span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: 0.06em;
}

.section--tech {
  background:
    linear-gradient(160deg, #1a3ad4 0%, #2f5ef0 45%, #4a7cff 100%);
  overflow: hidden;
}

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

.spotlight__item {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.spotlight__item img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.section--audience {
  background: var(--blue-mist);
}

.audience {
  max-width: 40rem;
}

.footer {
  background: #0f1630;
  color: rgba(255, 255, 255, 0.88);
  padding: 3.5rem clamp(1.25rem, 4vw, 3rem) 2.5rem;
  text-align: center;
}

.footer__inner {
  max-width: 720px;
  margin: 0 auto;
}

.footer__logo {
  margin: 0 auto 1.25rem;
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.footer__company {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.footer__phone {
  margin: 0.5rem 0 0;
}

.footer__phone a:hover {
  color: var(--amber);
}

.footer__icp {
  margin: 1.25rem 0 0;
  font-size: 0.9rem;
  opacity: 0.85;
}

.footer__icp a:hover {
  text-decoration: underline;
}

.footer__copy {
  margin: 1.5rem 0 0;
  font-size: 0.82rem;
  opacity: 0.55;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero__content {
    max-width: none;
    padding-top: 5.5rem;
    padding-bottom: 1.5rem;
  }

  .hero__visual img {
    min-height: 52vw;
    max-height: 420px;
  }

  .mode-grid,
  .spotlight {
    grid-template-columns: 1fr;
  }

  .topbar__nav {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__atmosphere,
  .hero__visual img,
  .hero h1,
  .hero__lead,
  .hero__actions {
    animation: none;
  }
  .spotlight__item {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
