/* 小蓝视频 — 企业官网样式 */
:root {
  --blue-900: #0a1628;
  --blue-800: #0f2744;
  --blue-700: #153a5c;
  --blue-600: #1e5a8a;
  --blue-500: #2b7fc4;
  --blue-400: #4da3e8;
  --cyan: #22d3ee;
  --cyan-dim: rgba(34, 211, 238, 0.35);
  --text: #e8f1f8;
  --text-muted: #94a3b8;
  --surface: rgba(15, 39, 68, 0.65);
  --border: rgba(148, 163, 184, 0.2);
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 72px;
  --font: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", "WenQuanYi Micro Hei", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--blue-900);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(43, 127, 196, 0.35), transparent),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(34, 211, 238, 0.08), transparent);
  min-height: 100vh;
}

a {
  color: var(--blue-400);
  text-decoration: none;
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-weight: 700;
  font-size: 1.125rem;
}

.logo:hover {
  color: var(--text);
}

.logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan));
  box-shadow: 0 4px 20px var(--cyan-dim);
}

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

.nav a {
  color: var(--text-muted);
  font-size: 0.9375rem;
  font-weight: 500;
}

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

.nav-cta {
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.nav-cta:hover {
  filter: brightness(1.08);
  color: #fff !important;
}

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

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  margin-inline: auto;
}

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

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    background: rgba(10, 22, 40, 0.97);
    border-bottom: 1px solid var(--border);
    gap: 0;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

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

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

  .nav a:last-child {
    border-bottom: none;
    margin-top: 0.5rem;
    text-align: center;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(4rem, 10vw, 6rem);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 40%, rgba(43, 127, 196, 0.2), transparent 45%),
    radial-gradient(circle at 80% 60%, rgba(34, 211, 238, 0.12), transparent 40%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

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

.hero-copy h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-copy .accent {
  background: linear-gradient(90deg, var(--blue-400), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 36em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--cyan));
  color: var(--blue-900);
  box-shadow: 0 8px 32px var(--cyan-dim);
}

.btn-primary:hover {
  filter: brightness(1.05);
  color: var(--blue-900);
}

.btn-outline {
  background: transparent;
  border-color: var(--border);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-card {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.hero-card-glow {
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 180deg at 50% 50%, var(--blue-600), var(--cyan), var(--blue-500), var(--blue-600));
  opacity: 0.25;
  animation: spin 12s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-card-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 22, 40, 0.9) 100%);
}

.hero-badge {
  align-self: flex-start;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(34, 211, 238, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(34, 211, 238, 0.35);
  margin-bottom: auto;
  margin-top: 1rem;
}

.hero-card-title {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 700;
}

.hero-card-sub {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: clamp(3.5rem, 8vw, 5rem) 0;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.75rem;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 800;
}

.section-desc {
  margin: 0;
  color: var(--text-muted);
}

/* Solutions cards */
.solutions {
  background: rgba(15, 39, 68, 0.35);
  border-block: 1px solid var(--border);
}

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

@media (max-width: 900px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

.card {
  padding: 1.5rem 1.35rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.card p {
  margin: 0 0 1rem;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.card-link {
  font-weight: 600;
  font-size: 0.875rem;
}

/* Products */
.product-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.product-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

@media (max-width: 600px) {
  .product-item {
    grid-template-columns: 1fr;
  }
}

.product-tag {
  display: inline-block;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.25);
  white-space: nowrap;
}

.product-item h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.product-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* About */
.about {
  background: rgba(15, 39, 68, 0.35);
  border-block: 1px solid var(--border);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-copy h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.65rem, 3vw, 2rem);
}

.about-copy p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.about-copy p:last-child {
  margin-bottom: 0;
}

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

.stat {
  padding: 1.35rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--blue-400), var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* Contact */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem 2.25rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(43, 127, 196, 0.2), rgba(34, 211, 238, 0.08));
  border: 1px solid var(--border);
}

@media (max-width: 640px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }
}

.contact h2 {
  margin: 0 0 0.5rem;
}

.contact-tagline {
  margin: 0;
  color: var(--text-muted);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.contact-list li span {
  display: inline-block;
  min-width: 3rem;
  color: var(--text-muted);
  margin-right: 0.5rem;
}

/* Footer */
.site-footer {
  padding: 3rem 0 0;
  border-top: 1px solid var(--border);
  background: rgba(10, 22, 40, 0.6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.logo-footer .logo-mark {
  width: 32px;
  height: 32px;
}

.footer-brand p {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 280px;
}

.footer-title {
  margin: 0 0 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links li {
  margin-bottom: 0.5rem;
}

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

.footer-links a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}

.footer-legal-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  text-align: center;
}

.footer-copy-line {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-copy-line a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-copy-line a:hover {
  color: var(--cyan);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal .sep {
  opacity: 0.5;
}

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

.footer-legal strong {
  color: var(--text);
  font-weight: 600;
}

/* 内页通用：页头、列表目录 */
.page-main {
  padding-top: calc(var(--header-h) + 0.75rem);
  padding-bottom: 3rem;
}

.inner-hero {
  padding: 1.25rem 0 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2rem;
}

.inner-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3.2vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
}

.inner-lead {
  margin: 0;
  max-width: 46em;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.prose {
  max-width: 46em;
}

.prose h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.prose p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.prose p:last-child {
  margin-bottom: 0;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.nav a.nav-active {
  color: var(--cyan);
}

.catalog-grid {
  display: grid;
  gap: 1rem;
}

.catalog-block {
  margin-bottom: 2.5rem;
}

.catalog-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem 1.25rem;
  align-items: center;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}

@media (max-width: 640px) {
  .catalog-item {
    grid-template-columns: 1fr;
  }
}

a.seo-internal-keyword {
  color: var(--cyan, #0891b2);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  font-weight: 600;
}

a.seo-internal-keyword:hover {
  color: #0e7490;
}

.catalog-item h3 {
  margin: 0 0 0.35rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.catalog-item p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.catalog-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan);
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  white-space: nowrap;
  align-self: start;
}

.catalog-link {
  font-weight: 600;
  font-size: 0.875rem;
  white-space: nowrap;
}

.about-visual {
  margin: 2rem 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.about-visual img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

.related-block {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.related-block h2 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.related-links a {
  font-weight: 500;
}

.list-section-title {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 800;
}

.list-section-title--spaced {
  margin-top: 2.5rem;
}
