/* 腾讯云官网风格 */

:root {
  --brand: #0052d9;
  --brand-hover: #003db8;
  --brand-soft: #e8f3ff;
  --brand-glow: #00a4ff;
  --text: #1a1a1a;
  --text-secondary: #5c5c5c;
  --text-muted: #8a8a8a;
  --border: #e6e8eb;
  --bg: #fff;
  --bg-soft: #f3f5f8;
  --footer-bg: #0b1220;
  --container: 1200px;
  --header-top: 0px;
  --masthead-h: 76px;
  --nav-rail-h: 72px;
  --header-h: 148px;
  --font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  --radius: 10px;
  --shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* Header — 双层黑底编号导航，不再用白底横排链接 */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #000;
  color: #fff;
  border-bottom: 0;
}

.header-top,
.header-inner {
  display: none;
}

.masthead {
  height: var(--masthead-h);
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.masthead-inner {
  width: min(100% - 32px, 1280px);
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.brand-lockup {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.brand-en {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #7eb0ff;
  font-weight: 600;
}

.brand-text {
  display: block;
  white-space: nowrap;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.16em;
}

.brand img {
  width: 28px;
  height: 28px;
  display: block;
  border-radius: 0;
  filter: grayscale(1) brightness(2);
}

.masthead-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.masthead-cta {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 18px;
  border: 1px solid #00a4ff;
  color: #00a4ff;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.masthead-cta:hover {
  background: #00a4ff;
  color: #000;
}

.nav-rail {
  height: var(--nav-rail-h);
  background: #0a0a0a;
}

.nav-rail-inner {
  width: min(100%, 1280px);
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  align-items: stretch;
}

.nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: 100%;
  margin: 0;
  gap: 0;
}

.nav-link {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
  padding: 0 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
  border-radius: 0;
}

.nav-link em {
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #00a4ff;
}

.nav-link:hover {
  color: #fff;
  background: #111;
}

.nav-link.is-active {
  color: #fff;
  background: #0052d9;
}

.nav-link.is-active em {
  color: #fff;
}

.nav-link.is-active::after {
  display: none;
}

.search {
  display: flex;
  align-items: center;
  gap: 0;
  height: 100%;
  padding: 0 16px 0 20px;
  background: #050505;
  border-left: 1px solid rgba(0, 164, 255, 0.35);
}

.search input {
  flex: 1;
  width: auto;
  height: 40px;
  border: 0;
  border-radius: 0;
  padding: 0 4px 0 0;
  outline: none;
  color: #fff;
  background: transparent;
  font-size: 13px;
  letter-spacing: 0.04em;
}

.search input::placeholder {
  font-size: 12px;
  color: #6b7280;
  letter-spacing: 0.08em;
}

.search input:focus {
  border-color: transparent;
  background: transparent;
}

.search button {
  border: 0;
  background: transparent;
  color: #00a4ff;
  padding: 0;
  min-width: auto;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.search button:hover {
  color: #fff;
  background: transparent;
}

.menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  margin-left: 0;
}

.menu-toggle span {
  display: block;
  height: 1px;
  background: #fff;
  border-radius: 0;
}

/* Hero */

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 560px;
  height: clamp(480px, 58vw, 640px);
  background: #061029;
  overflow: hidden;
  color: #fff;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(6, 16, 41, 0.88) 0%, rgba(0, 82, 217, 0.42) 58%, rgba(6, 16, 41, 0.28) 100%),
    radial-gradient(circle at 80% 20%, rgba(0, 164, 255, 0.28), transparent 36%);
  pointer-events: none;
}

.hero-wrap {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.hero-content {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  padding: 48px 0;
}

.hero-eyebrow {
  margin: 0 0 14px;
  padding: 4px 10px;
  border: 1px solid rgba(126, 176, 255, 0.4);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #9ec3ff;
  background: rgba(0, 82, 217, 0.28);
}

.hero-content h1 {
  margin: 0 0 14px;
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.15;
}

.hero-lead {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
  max-width: 460px;
}

.hero-stats {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-stat {
  min-width: 128px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  backdrop-filter: blur(8px);
}

.hero-stat strong {
  display: block;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.2;
}

.hero-stat span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  opacity: 0.8;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  height: 46px;
  padding: 0 28px;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  background: var(--brand);
  box-shadow: 0 10px 24px rgba(0, 82, 217, 0.35);
  transition: background 0.2s, transform 0.2s;
}

.hero-cta:hover {
  background: #3d7eff;
  transform: translateY(-1px);
}

/* Sections */

.section {
  padding: 80px 0 72px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.section-title {
  margin: 0 0 40px;
  text-align: left;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--text);
}

.section-head .section-title {
  margin: 0;
}

/* Cases */

.cases {
  background: linear-gradient(180deg, #fff 0%, #f5f8fc 100%);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.case-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #edf0f5;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 82, 217, 0.12);
}

.case-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
  margin-bottom: 0;
}

.case-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.case-card:hover .case-cover img {
  transform: scale(1.05);
}

.case-card h3 {
  margin: 18px 20px 8px;
  font-size: 18px;
  font-weight: 650;
}

.case-card p {
  margin: 0 20px 18px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  min-height: 44px;
}

.case-card .btn-outline {
  margin: 0 20px 20px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 108px;
  height: 36px;
  padding: 0 16px;
  border: 1px solid var(--brand);
  border-radius: 8px;
  color: var(--brand);
  font-size: 14px;
  background: transparent;
  transition: background 0.2s, color 0.2s;
}

.btn-outline:hover {
  background: var(--brand);
  color: #fff;
}

.more-link {
  display: inline-flex;
  margin-top: 0;
  text-align: left;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.more-link:hover {
  opacity: 0.75;
}

/* Featured */

.featured {
  background: #061029;
  padding-bottom: 88px;
  color: #fff;
}

.featured .section-title {
  color: #fff;
  text-align: left;
}

.featured-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  position: relative;
}

.tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tab {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.04);
  padding: 9px 16px;
  border-radius: 999px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition: color 0.2s, background 0.2s, border-color 0.2s;
}

.tab:hover {
  color: #fff;
}

.tab.is-active {
  color: #fff;
  font-weight: 600;
  background: var(--brand);
  border-color: var(--brand);
}

.tab.is-active::after {
  display: none;
}

.featured-arrows {
  position: static;
  transform: none;
  display: flex;
  gap: 10px;
}

.arrow-btn {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.2s, background 0.2s;
}

.arrow-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: invert(1);
}

.arrow-btn:hover {
  transform: scale(1.05);
  background: rgba(0, 82, 217, 0.5);
}

.featured-panels {
  position: relative;
}

.featured-panel {
  display: none;
  position: relative;
  min-height: 380px;
  background: #102044;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  overflow: hidden;
  opacity: 0;
  animation: fadeIn 0.35s ease forwards;
}

.featured-panel.is-active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.featured-bg {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  object-position: center right;
}

.featured-copy {
  position: absolute;
  inset: 0 auto 0 0;
  width: min(46%, 460px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 40px 48px 48px;
  background: linear-gradient(90deg, rgba(6, 16, 41, 0.96) 68%, rgba(6, 16, 41, 0));
}

.featured-copy h3 {
  margin: 0 0 16px;
  font-size: 30px;
  font-weight: 700;
}

.featured-copy p {
  margin: 0 0 28px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.7;
  max-width: 300px;
}

.featured .btn-outline {
  border-color: #fff;
  color: #fff;
}

.featured .btn-outline:hover {
  background: #fff;
  color: #061029;
}

/* Journey CTA */

.journey {
  padding: 88px 0 96px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(0, 164, 255, 0.16), transparent 42%),
    linear-gradient(180deg, #f3f7ff 0%, #fff 100%);
}

.journey-title {
  margin: 0 0 12px;
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #061029;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
}

.journey-sub {
  margin: 0 0 32px;
  font-size: 16px;
  color: var(--text-secondary);
}

.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 168px;
  height: 48px;
  padding: 0 36px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(0, 82, 217, 0.24);
  transition: background 0.2s, transform 0.2s;
}

.btn-solid:hover {
  background: var(--brand-hover);
  transform: translateY(-1px);
}

/* Footer */

.site-footer {
  background: var(--footer-bg);
  padding: 48px 0 40px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: flex-start;
}

.footer-brand {
  margin: 0 0 16px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 16px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
}

.footer-nav a:hover {
  color: #7eb0ff;
}

.footer-right {
  display: flex;
  align-items: flex-start;
  gap: 36px;
  flex-shrink: 0;
}

.contact h3 {
  margin: 0 0 12px;
  font-size: 16px;
  color: #fff;
  font-weight: 600;
}

.phone {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #7eb0ff;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Floating bar */

.float-bar {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(0, 82, 217, 0.16);
  overflow: hidden;
}

.float-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: #4b5563;
  border-bottom: 1px solid #eef2f7;
  transition: color 0.2s, background 0.2s;
}

.float-bar a:last-child {
  border-bottom: none;
}

.float-bar a:hover {
  color: var(--brand);
  background: var(--brand-soft);
}

/* Responsive */

@media (max-width: 1024px) {
  .nav-rail-inner {
    grid-template-columns: 1fr 260px;
  }

  .nav-link {
    padding: 0 12px;
    font-size: 13px;
  }

  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .featured-copy {
    width: min(58%, 400px);
    padding: 36px 28px;
  }
}

@media (max-width: 768px) {
  :root {
    --masthead-h: 64px;
    --nav-rail-h: auto;
    --header-h: 64px;
  }

  .header-top,
  .header-inner {
    display: none;
  }

  .nav-rail {
    display: none;
    height: auto;
  }

  .nav,
  .search {
    display: none;
  }

  .site-header.is-open .nav-rail,
  .nav.is-open,
  .search.is-open {
    display: block;
  }

  .nav.is-open {
    display: grid;
    grid-template-columns: 1fr;
    height: auto;
  }

  .search.is-open {
    display: flex;
    height: 64px;
    width: 100%;
  }

  .menu-toggle {
    display: flex;
  }

  .brand-text {
    font-size: 20px;
    letter-spacing: 0.1em;
  }

  .masthead-cta {
    display: none;
  }

  .nav-link {
    min-height: 56px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .section {
    padding: 48px 0 40px;
  }

  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 28px;
  }

  .cases-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tabs {
    gap: 8px;
  }

  .featured-panel {
    min-height: 420px;
  }

  .featured-bg {
    min-height: 420px;
    object-position: 70% center;
  }

  .featured-copy {
    width: 100%;
    padding: 28px 24px 32px;
    background: linear-gradient(180deg, rgba(6, 16, 41, 0.92) 55%, rgba(6, 16, 41, 0.72));
    justify-content: flex-start;
  }

  .featured-copy h3 {
    font-size: 22px;
  }

  .journey-title {
    font-size: 28px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-right {
    width: 100%;
    justify-content: space-between;
  }

  .float-bar {
    right: 8px;
    transform: translateY(-40%);
  }

  .float-bar a {
    width: 42px;
    height: 42px;
  }

  .hero {
    min-height: 460px;
    height: auto;
    max-height: none;
    align-items: flex-end;
  }

  .hero-content {
    padding: 36px 0 40px;
  }

  .hero-content h1 {
    margin-bottom: 12px;
  }

  .hero-stats {
    width: 100%;
    flex-wrap: wrap;
  }

  .hero-stat {
    min-width: 0;
    flex: 1 1 30%;
  }

  .hero-stat span {
    font-size: 12px;
  }
}
