/* 智子信息官网 */
:root {
  --navy: #0b3a7a;
  --navy-deep: #082a58;
  --cyan: #1e8fd9;
  --cyan-soft: #e8f4fc;
  --ink: #1a2332;
  --ink-soft: #3d4a5c;
  --muted: #6b7280;
  --bg: #f4f7fb;
  --white: #ffffff;
  --line: rgba(11, 58, 122, 0.12);
  --shadow: 0 14px 40px rgba(11, 58, 122, 0.08);
  --font: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --max: 1120px;
  --header-h: 68px;
  --radius: 10px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

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

a {
  color: var(--cyan);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--navy);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 0.55em;
  letter-spacing: -0.02em;
  color: var(--ink);
}

p {
  margin: 0 0 1em;
}

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

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 300;
  background: var(--white);
  padding: 0.5rem 0.85rem;
  border-radius: 8px;
  color: var(--navy);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand:hover {
  opacity: 0.88;
}

.brand-logo {
  height: 42px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  padding: 0.5rem 0.8rem;
  border-radius: 8px;
}

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

.nav .nav-cta {
  margin-left: 0.5rem;
  background: var(--navy);
  color: var(--white);
  padding: 0.5rem 1.1rem;
  font-weight: 500;
}

.nav .nav-cta:hover {
  background: var(--navy-deep);
  color: var(--white);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 10px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  border-radius: 1px;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.45rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

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

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

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2.5rem) 0 3.5rem;
  overflow: hidden;
  background:
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 47px,
      rgba(11, 58, 122, 0.035) 47px,
      rgba(11, 58, 122, 0.035) 48px
    ),
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 47px,
      rgba(11, 58, 122, 0.035) 47px,
      rgba(11, 58, 122, 0.035) 48px
    ),
    linear-gradient(165deg, #eef4fb 0%, var(--bg) 48%, #e8eef6 100%);
  background-size: 48px 48px, 48px 48px, auto;
  animation: hero-grid-drift 16s linear infinite;
}

.hero::before {
  content: "";
  position: absolute;
  top: -22rem;
  right: -14rem;
  width: 52rem;
  height: 52rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 44%, rgba(30, 143, 217, 0.18), transparent 32%),
    radial-gradient(circle at 62% 58%, rgba(11, 58, 122, 0.12), transparent 44%);
  pointer-events: none;
  animation: hero-aurora 7s ease-in-out infinite alternate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 -35%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform: skewX(-16deg);
  pointer-events: none;
  animation: hero-light-sweep 9s ease-in-out infinite;
}

.hero-data-flow {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-data-flow span {
  position: absolute;
  left: -24%;
  width: 20%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30, 143, 217, 0.45));
  animation: hero-data-stream 8s linear infinite;
}

.hero-data-flow span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(30, 143, 217, 0.75);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 0 14px rgba(30, 143, 217, 0.8);
  transform: translate(50%, -50%);
}

.hero-data-flow span:nth-child(1) {
  top: 18%;
  animation-delay: -1s;
}

.hero-data-flow span:nth-child(2) {
  top: 35%;
  animation-delay: -5s;
  animation-duration: 11s;
}

.hero-data-flow span:nth-child(3) {
  top: 53%;
  animation-delay: -8s;
  animation-duration: 13s;
}

.hero-data-flow span:nth-child(4) {
  top: 70%;
  animation-delay: -3s;
  animation-duration: 10s;
}

.hero-data-flow span:nth-child(5) {
  top: 87%;
  animation-delay: -7s;
  animation-duration: 12s;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr minmax(240px, 380px);
  gap: 3.5rem;
  align-items: center;
}

@keyframes hero-grid-drift {
  to {
    background-position: 48px 0, 0 48px, 0 0;
  }
}

@keyframes hero-aurora {
  from {
    opacity: 0.55;
    transform: translate3d(-2%, 2%, 0) scale(0.94);
  }

  to {
    opacity: 0.9;
    transform: translate3d(4%, -3%, 0) scale(1.06);
  }
}

@keyframes hero-light-sweep {
  0%,
  58% {
    transform: translateX(0) skewX(-16deg);
  }

  82%,
  100% {
    transform: translateX(500%) skewX(-16deg);
  }
}

@keyframes hero-data-stream {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(680%);
  }
}

.hero-kicker {
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--navy);
  background: var(--cyan-soft);
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  color: var(--navy);
  margin-bottom: 0.35em;
}

.hero-tagline {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.7em;
}

.hero-desc {
  color: var(--ink-soft);
  max-width: 34em;
}

.trust-list {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.trust-list li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.trust-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 1px;
  background: var(--cyan);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1;
  justify-self: center;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid var(--line);
  border-radius: 24px;
  transform: rotate(8deg);
}

.z-fold {
  position: relative;
  width: 210px;
  height: 210px;
  z-index: 1;
}

.plane {
  position: absolute;
  display: block;
  border-radius: 8px;
}

.plane-top {
  top: 18px;
  left: 8px;
  width: 178px;
  height: 50px;
  background: var(--navy);
  transform: skewX(-20deg);
  box-shadow: 10px 10px 0 var(--navy-deep);
}

.plane-mid {
  top: 34px;
  left: 80px;
  width: 50px;
  height: 142px;
  background: linear-gradient(160deg, var(--cyan) 0%, var(--navy) 100%);
  transform: rotate(-38deg);
}

.plane-bot {
  bottom: 18px;
  left: 8px;
  width: 178px;
  height: 50px;
  background: var(--navy);
  transform: skewX(-20deg);
  box-shadow: 10px 10px 0 var(--cyan);
}

/* Sections */
.section {
  padding: 5rem 0;
  scroll-margin-top: calc(var(--header-h) + 12px);
}

#top {
  scroll-margin-top: 0;
}

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

.section-head {
  max-width: 36em;
  margin-bottom: 2.25rem;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--navy);
}

.section-head p {
  color: var(--ink-soft);
  margin: 0;
}

.section-kicker {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.biz-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.biz-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(250px, 0.8fr) minmax(0, 1.35fr);
  gap: 3rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.biz-card::after {
  content: attr(data-index);
  position: absolute;
  top: -2.5rem;
  right: 1.5rem;
  color: rgba(11, 58, 122, 0.045);
  font-size: 10rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
}

.biz-card-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 62%, #12559a);
  border-color: transparent;
  box-shadow: 0 20px 50px rgba(11, 58, 122, 0.18);
}

.biz-card-primary::after {
  color: rgba(255, 255, 255, 0.06);
}

.biz-intro,
.biz-card ul {
  position: relative;
  z-index: 1;
}

.biz-tag {
  display: inline-flex;
  margin-bottom: 0.8rem;
  padding: 0.28rem 0.65rem;
  color: var(--navy);
  background: var(--cyan-soft);
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.biz-card-primary .biz-tag {
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
}

.biz-card h3 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 0.45em;
}

.biz-card-primary h3 {
  color: var(--white);
}

.biz-use {
  color: var(--ink-soft);
  font-size: 1.02rem;
  margin: 0;
}

.biz-card-primary .biz-use {
  color: rgba(255, 255, 255, 0.78);
}

.biz-card li {
  padding: 1rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.biz-card li:first-child {
  padding-top: 0;
  border-top: none;
}

.biz-card li:last-child {
  padding-bottom: 0;
}

.biz-card li strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.biz-card-primary li {
  color: rgba(255, 255, 255, 0.72);
  border-top-color: rgba(255, 255, 255, 0.14);
}

.biz-card-primary li strong {
  color: var(--white);
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  counter-reset: none;
}

.how-grid li {
  padding: 0.25rem 0.15rem 0;
}

.how-num {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--cyan);
  margin-bottom: 0.7rem;
}

.how-grid h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4em;
}

.how-grid p {
  color: var(--ink-soft);
  margin: 0;
  font-size: 0.95rem;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.contact-list > div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
}

.contact-list dt {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.4rem;
}

.contact-list dd {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.contact-list a {
  color: var(--navy);
}

.contact-list a:hover {
  color: var(--cyan);
}

.copy-link {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}

.copy-link:hover {
  color: var(--cyan);
}

/* Footer */
.site-footer {
  padding: 2.25rem 0 1.75rem;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-bottom a {
  color: var(--muted);
}

.footer-bottom a:hover {
  color: var(--navy);
}

/* Reveal */
.reveal {
  transform: translateY(16px);
  transition: transform 0.55s var(--ease);
}

.reveal.is-visible {
  transform: none;
}

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

  .hero,
  .hero::before,
  .hero::after,
  .hero-data-flow span {
    animation: none;
  }

  .hero::after,
  .hero-data-flow {
    display: none;
  }

  .reveal {
    transform: none;
    transition: none;
  }
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 2rem));
  background: var(--ink);
  color: var(--white);
  padding: 0.85rem 1.35rem;
  border-radius: 10px;
  font-size: 0.9rem;
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease), visibility 0.25s var(--ease);
  box-shadow: var(--shadow);
  max-width: min(90vw, 360px);
  text-align: center;
}

.toast.is-show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

/* Responsive */
@media (max-width: 960px) {
  .hero .container,
  .how-grid,
  .contact-list {
    grid-template-columns: 1fr 1fr;
  }

  .how-grid {
    gap: 1.75rem 1.25rem;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--line);
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }

  .nav .nav-cta {
    margin: 0.75rem 0 0;
    text-align: center;
    border-radius: var(--radius);
    border-bottom: none;
  }

  .hero {
    min-height: auto;
  }

  .hero .container,
  .how-grid,
  .contact-list {
    grid-template-columns: 1fr;
  }

  .biz-card {
    grid-template-columns: 1fr;
    gap: 1.35rem;
    padding: 1.6rem 1.4rem;
  }

  .biz-card::after {
    top: -1rem;
    right: 0.5rem;
    font-size: 7rem;
  }

  .hero-visual {
    width: 260px;
  }

  .section {
    padding: 3.5rem 0;
  }
}
