/* ============================================================
   南京诺格信息科技有限公司 · 官网样式
   科技蓝 + 现代简约
   ============================================================ */
:root {
  --navy-950: #06122a;
  --navy-900: #0a1c3f;
  --navy-800: #10295c;
  --blue-700: #0b3f9e;
  --blue-600: #155df0;
  --blue-500: #2f7bff;
  --blue-100: #e6efff;
  --ink-900: #0d1b34;
  --ink-700: #33415f;
  --ink-500: #5c6b8a;
  --bg-soft: #f5f8fe;
  --line: #e3eaf6;
  --white: #ffffff;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 12px 32px -12px rgba(10, 28, 63, 0.14);
  --shadow-lift: 0 24px 48px -16px rgba(10, 28, 63, 0.22);
  --font-cn: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", "Source Han Sans SC", "Noto Sans CJK SC", sans-serif;
  --font-en: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-cn);
  color: var(--ink-900);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ---------- 通用按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.btn--primary {
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(21, 93, 240, 0.55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 32px -8px rgba(21, 93, 240, 0.6); }
.btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: #fff;
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-2px); }
.btn--light {
  background: #fff;
  color: var(--blue-700);
  box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.3);
}
.btn--light:hover { transform: translateY(-2px); }

/* ---------- 区块标题 ---------- */
.sec-head { max-width: 560px; margin-bottom: 56px; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head__tag {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--blue-600);
  background: var(--blue-100);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.sec-head__title {
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--navy-900);
}
.sec-head__desc { margin-top: 16px; color: var(--ink-500); font-size: 16px; }

/* ---------- 入场动画 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.12s; }
.reveal[data-delay="2"] { transition-delay: 0.24s; }
.reveal[data-delay="3"] { transition-delay: 0.36s; }

/* ============================================================
   导航
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px -12px rgba(10, 28, 63, 0.16);
}
.nav__inner { display: flex; align-items: center; gap: 32px; }

.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand__mark { color: var(--blue-600); display: inline-flex; }
.brand__text {
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  transition: color 0.3s ease;
}
.brand__text em {
  font-style: normal;
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.3em;
  opacity: 0.75;
}
.nav.scrolled .brand__text { color: var(--navy-900); }

.nav__links { display: flex; gap: 30px; }
.nav__links a {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  padding: 4px 0;
  transition: color 0.25s ease;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--blue-500);
  transition: width 0.3s ease;
}
.nav__links a:hover { color: #fff; }
.nav__links a:hover::after { width: 100%; }
.nav.scrolled .nav__links a { color: var(--ink-700); }
.nav.scrolled .nav__links a:hover { color: var(--blue-600); }

.nav__cta {
  padding: 10px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-600), var(--blue-500));
  color: #fff !important;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 20px -8px rgba(21, 93, 240, 0.55);
  transition: transform 0.25s ease;
}
.nav__cta:hover { transform: translateY(-2px); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 6px;
}
.nav__toggle span { width: 24px; height: 2px; border-radius: 2px; background: #fff; transition: background 0.3s ease; }
.nav.scrolled .nav__toggle span { background: var(--navy-900); }

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 45%, #0d2f6b 100%);
  color: #fff;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 80% at 60% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 60% 30%, #000 30%, transparent 75%);
}
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.hero__glow--a { width: 520px; height: 520px; background: rgba(47, 123, 255, 0.55); top: -160px; right: 6%; }
.hero__glow--b { width: 420px; height: 420px; background: rgba(0, 180, 255, 0.3); bottom: -140px; left: -80px; }

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  width: 100%;
}

.hero__eyebrow {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: #7fb2ff;
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: 0.01em;
  margin-bottom: 24px;
}
.hero__title span {
  background: linear-gradient(120deg, #6aa8ff, #2f7bff 55%, #37d3ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__sub {
  font-size: 16.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }

.hero__stats {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 28px;
}
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong {
  font-family: var(--font-en);
  font-size: 26px;
  font-weight: 800;
  color: #fff;
}
.hero__stats span { font-size: 13px; color: rgba(255, 255, 255, 0.62); }

/* ---------- Hero 可视化 Mock ---------- */
.hero__visual { perspective: 1200px; }
.mock {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 40px 80px -24px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  transform: rotateY(-8deg) rotateX(4deg);
  transition: transform 0.5s ease;
}
.mock:hover { transform: rotateY(0) rotateX(0); }
.mock__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(6, 18, 42, 0.6);
  margin-bottom: 14px;
}
.mock__dot { width: 9px; height: 9px; border-radius: 50%; background: #ff5f57; }
.mock__dot:nth-child(2) { background: #febc2e; }
.mock__dot:nth-child(3) { background: #28c840; }
.mock__url {
  margin-left: 8px;
  font-family: var(--font-en);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}
.mock__body {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
}
.mock__side {
  background: rgba(6, 18, 42, 0.5);
  border-radius: 12px;
  padding: 16px;
}
.mock__label { font-size: 11px; color: rgba(255, 255, 255, 0.55); margin-bottom: 10px; letter-spacing: 0.1em; }
.mock__stat { margin-bottom: 12px; }
.mock__stat strong { display: block; font-family: var(--font-en); font-size: 26px; font-weight: 800; color: #fff; }
.mock__stat span { font-size: 11px; color: rgba(255, 255, 255, 0.55); }
.mock__stat--mini strong { font-size: 20px; }
.mock__bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; margin-top: 6px; }
.mock__bars i {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, #37d3ff, #2f7bff);
  animation: growBar 1s ease both;
  transform-origin: bottom;
}
@keyframes growBar { from { transform: scaleY(0.1); opacity: 0.4; } to { transform: scaleY(1); opacity: 1; } }
.mock__list { display: flex; flex-direction: column; gap: 8px; }
.mock__row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(6, 18, 42, 0.5);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
}
.mock__row span:nth-child(2) { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mock__row b { font-family: var(--font-en); font-size: 12px; color: #6fe3a4; white-space: nowrap; }
.mock__row b.mock__fee { color: #ff9d9d; }
.mock__tag {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(47, 123, 255, 0.25);
  color: #9cc4ff;
  white-space: nowrap;
}
.mock__tag--blue { background: rgba(0, 180, 255, 0.22); color: #7fe0ff; }
.mock__tag--green { background: rgba(111, 227, 164, 0.2); color: #8df0b6; }
.mock__tag--dark { background: rgba(255, 255, 255, 0.12); color: rgba(255, 255, 255, 0.7); }
.mock__card {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 12px 16px;
}
.mock__card p { font-size: 13px; font-weight: 600; color: #fff; }
.mock__card span { font-size: 11px; color: rgba(255, 255, 255, 0.6); }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.55);
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ============================================================
   公司介绍
   ============================================================ */
.about { padding: 110px 0; background: var(--white); }
.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.about__card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  background: var(--bg-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.about__card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: #c9dbfa;
}
.about__num {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 800;
  color: var(--blue-600);
  letter-spacing: 0.2em;
  margin-bottom: 14px;
}
.about__card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; color: var(--navy-900); }
.about__card p { font-size: 14.5px; color: var(--ink-500); }
.about__card b { color: var(--blue-600); font-weight: 600; }

/* ============================================================
   产品平台
   ============================================================ */
.platform { padding: 110px 0; background: var(--bg-soft); }
.platform__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.feat {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feat:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.feat__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  font-size: 24px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-100), #f0f6ff);
  margin-bottom: 20px;
}
.feat h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--navy-900); }
.feat p { font-size: 14px; color: var(--ink-500); }

/* ============================================================
   解决方案
   ============================================================ */
.solutions { padding: 110px 0; background: var(--navy-900); color: #fff; }
.solutions .sec-head__title { color: #fff; }
.solutions .sec-head__desc { color: rgba(255, 255, 255, 0.6); }
.solutions__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.soln {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.soln:hover { transform: translateY(-6px); background: rgba(255, 255, 255, 0.09); }
.soln__badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(47, 123, 255, 0.25);
  color: #9cc4ff;
  margin-bottom: 16px;
}
.soln__top h3 { font-size: 22px; font-weight: 800; margin-bottom: 10px; }
.soln__top p { font-size: 14px; color: rgba(255, 255, 255, 0.65); margin-bottom: 22px; }
.soln__list { border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 20px; }
.soln__list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
}
.soln__list li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: linear-gradient(135deg, #37d3ff, #2f7bff);
}

/* ============================================================
   技术能力
   ============================================================ */
.caps { padding: 110px 0; background: var(--white); }
.caps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cap {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  background: var(--bg-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cap:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.cap__dot {
  display: block;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #37d3ff, #2f7bff);
  margin-bottom: 18px;
  box-shadow: 0 0 0 5px rgba(47, 123, 255, 0.14);
}
.cap h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 8px; color: var(--navy-900); }
.cap p { font-size: 13.5px; color: var(--ink-500); }

/* ============================================================
   联系我们
   ============================================================ */
.contact { padding: 110px 0; background: var(--bg-soft); }
.contact__card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, var(--navy-900), #123a7d);
  border-radius: 28px;
  padding: 64px 60px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 44px;
  align-items: center;
  box-shadow: var(--shadow-lift);
}
.contact__card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 90% at 100% 0%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 70% 90% at 100% 0%, #000, transparent 70%);
  pointer-events: none;
}
.contact__card > * { position: relative; }
.contact__card .sec-head__tag { background: rgba(47, 123, 255, 0.3); color: #9cc4ff; }
.contact__copy h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; line-height: 1.3; margin-bottom: 16px; }
.contact__copy p { color: rgba(255, 255, 255, 0.7); font-size: 15px; }
.contact__info { display: flex; flex-direction: column; gap: 16px; }
.contact__item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  transition: background 0.25s ease, transform 0.25s ease;
}
a.contact__item:hover { background: rgba(255, 255, 255, 0.14); transform: translateX(4px); }
.contact__ico {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border-radius: 12px;
  background: rgba(47, 123, 255, 0.25);
}
.contact__item span:last-child { display: flex; flex-direction: column; font-size: 15px; font-weight: 600; overflow: hidden; }
.contact__item em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2px;
  letter-spacing: 0.06em;
}
.contact .btn { justify-self: start; }

/* ============================================================
   页脚
   ============================================================ */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, 0.6); padding: 56px 0 32px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__brand { font-size: 17px; font-weight: 800; color: #fff; }
.footer__brand em {
  font-style: normal;
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: rgba(255, 255, 255, 0.5);
  margin-left: 8px;
}
.footer__desc { font-size: 13px; margin-top: 6px; }
.footer__links { display: flex; gap: 26px; }
.footer__links a { font-size: 14px; transition: color 0.25s ease; }
.footer__links a:hover { color: #7fb2ff; }
.footer__copy { width: 100%; text-align: center; font-size: 12.5px; color: rgba(255, 255, 255, 0.4); padding-top: 28px; margin-top: 32px; border-top: 1px solid rgba(255, 255, 255, 0.08); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__visual { max-width: 560px; }
  .platform__grid, .about__grid, .solutions__grid { grid-template-columns: repeat(2, 1fr); }
  .caps__grid { grid-template-columns: repeat(2, 1fr); }
  .contact__card { grid-template-columns: 1fr; padding: 48px 32px; }
}

@media (max-width: 720px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    padding: 20px 24px;
    box-shadow: var(--shadow-soft);
    gap: 18px;
  }
  .nav__links.open a { color: var(--ink-700); }
  .platform__grid, .about__grid, .solutions__grid, .caps__grid { grid-template-columns: 1fr; }
  .hero { padding: 110px 0 70px; }
  .hero__stats { gap: 28px; }
  .mock__body { grid-template-columns: 1fr; }
  .about, .platform, .solutions, .caps, .contact { padding: 72px 0; }
  .contact__card { padding: 40px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mock, .hero__scroll, .mock__bars i { animation: none !important; }
}
