/* ===== Variables ===== */
:root {
  --bg-deep: #0a1929;
  --bg-midnight: #0d2137;
  --electric-cyan: #4FC3F7;
  --accent-blue: #29B6F6;
  --glass-bg: rgba(79, 195, 247, 0.06);
  --glass-border: rgba(79, 195, 247, 0.15);
  --max-width: 1280px;
}

/* ===== Reset & Base ===== */
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg-deep);
  color: #e5e7eb;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ===== Utilities ===== */
.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
}

.text-gradient {
  background: linear-gradient(135deg, var(--electric-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-text {
  text-shadow: 0 0 20px rgba(79, 195, 247, 0.6);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== Particle Grid ===== */
.particle-grid {
  background-image:
    linear-gradient(rgba(79, 195, 247, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 195, 247, 0.04) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--electric-cyan);
  text-decoration: none;
}

.nav-links {
  display: none;
  gap: 2rem;
}

.nav-links a {
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--electric-cyan);
}

.menu-btn {
  display: flex;
  padding: 0.5rem;
  color: #9ca3af;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s;
}

.menu-btn:hover {
  color: #fff;
}

.menu-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.menu-icon .menu-close {
  display: block;
}

.menu-icon .menu-open {
  display: none;
}

.menu-btn.active .menu-icon .menu-close {
  display: none;
}

.menu-btn.active .menu-icon .menu-open {
  display: block;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.mobile-menu.show {
  display: flex;
}

.mobile-menu a {
  color: #9ca3af;
  text-decoration: none;
  transition: color 0.2s;
}

.mobile-menu a:hover {
  color: var(--electric-cyan);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

  .menu-btn {
    display: none;
  }

  .mobile-menu {
    display: none !important;
  }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  pointer-events: none;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--bg-deep) 0%, transparent 40%, var(--bg-deep) 100%);
}

.hero-aurora {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-aurora-1 {
  background: radial-gradient(ellipse at center, rgba(79, 195, 247, 0.12) 0%, transparent 70%);
}

.hero-aurora-2 {
  background: radial-gradient(ellipse at top right, rgba(41, 182, 246, 0.08) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 1.5rem;
  max-width: 64rem;
  margin: 0 auto;
}

.hero-subtitle {
  color: rgba(79, 195, 247, 0.8);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.hero-title {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-dot {
  color: #d1d5db;
  margin: 0 0.75rem;
}

.hero-desc {
  color: #9ca3af;
  font-size: 1.125rem;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.hero-btns {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.hero-intro {
  color: #9ca3af;
  font-size: 0.9375rem;
  line-height: 1.7;
  max-width: 52rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.hero-intro strong {
  color: var(--electric-cyan);
}

@media (min-width: 640px) {
  .hero-btns {
    flex-direction: row;
  }
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-primary {
  background: rgba(79, 195, 247, 0.2);
  border: 1px solid rgba(79, 195, 247, 0.5);
  color: var(--electric-cyan);
}

.btn-primary:hover {
  background: rgba(79, 195, 247, 0.3);
  box-shadow: 0 0 20px rgba(79, 195, 247, 0.3);
}

.btn-secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: #d1d5db;
}

.btn-secondary:hover {
  border-color: rgba(79, 195, 247, 0.3);
  color: var(--electric-cyan);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
}

.stat-card {
  padding: 1rem;
  border-radius: 0.75rem;
  text-align: center;
  transition: border-color 0.2s;
}

.stat-card:hover {
  border-color: rgba(79, 195, 247, 0.2);
}

.stat-value {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--electric-cyan);
}

.stat-label {
  color: #6b7280;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.stat-unit {
  color: #4b5563;
  font-size: 0.75rem;
}

/* ===== 成功案例库 ===== */
.cases-library-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .cases-library-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.case-item {
  border-radius: 1rem;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  transition: border-color 0.2s;
}

.case-item:hover {
  border-color: rgba(79, 195, 247, 0.25);
}

@media (min-width: 640px) {
  .case-item {
    grid-template-columns: 280px 1fr;
  }
}

.case-item-img {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.case-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-item-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-item-title {
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  font-size: 1.0625rem;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.case-item-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.case-item-title a:hover {
  color: var(--electric-cyan);
}

.case-item-desc {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ===== 号瀚视界 ===== */
.tech-horizon-section .section-desc {
  max-width: 36rem;
}

.horizon-articles {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .horizon-articles {
    grid-template-columns: repeat(2, 1fr);
  }
}

.horizon-card {
  border-radius: 1rem;
  overflow: hidden;
  transition: border-color 0.2s;
}

.horizon-card:hover {
  border-color: rgba(79, 195, 247, 0.25);
}

.horizon-card-img {
  aspect-ratio: 16/6;
  overflow: hidden;
}

.horizon-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.horizon-card-body {
  padding: 1.25rem;
}

.horizon-card-title {
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.horizon-card-title a {
  color: #fff;
  text-decoration: none;
  transition: color 0.2s;
}

.horizon-card-title a:hover {
  color: var(--electric-cyan);
}

.horizon-card-meta {
  color: #6b7280;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.horizon-card-excerpt {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.6;
}

.horizon-card-desc {
  color: #6b7280;
  font-size: 0.8125rem;
  line-height: 1.6;
  margin-top: 0.5rem;
}

/* ===== 号瀚视界 · 可视化大屏 ===== */
.screen-wrap {
  padding-top: 88px;
}

.screen {
  min-height: calc(100vh - 88px);
  padding: 2.25rem 0;
}

.screen-topbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.screen-title {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.3;
  color: #fff;
}

.screen-subtitle {
  color: #9ca3af;
  margin-top: 0.5rem;
  max-width: 54rem;
}

.screen-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.25rem 0 1.5rem;
}

@media (min-width: 768px) {
  .kpi-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.kpi {
  border-radius: 1rem;
  padding: 1rem;
}

.kpi-label {
  color: #6b7280;
  font-size: 0.875rem;
}

.kpi-value {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--electric-cyan);
  margin-top: 0.35rem;
}

.kpi-note {
  color: #9ca3af;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

.panel-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 1024px) {
  .panel-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

.panel {
  border-radius: 1rem;
  padding: 1rem;
}

.panel-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.panel-title {
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
}

.panel-meta {
  color: #6b7280;
  font-size: 0.75rem;
}

.chart {
  width: 100%;
  height: 260px;
  border-radius: 0.75rem;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(79, 195, 247, 0.12) 0%, transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
  border: 1px solid rgba(79, 195, 247, 0.14);
  overflow: hidden;
  position: relative;
}

.chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

.table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 0.75rem;
}

.table th,
.table td {
  text-align: left;
  padding: 0.75rem;
  border-bottom: 1px solid rgba(79, 195, 247, 0.12);
  color: #9ca3af;
  font-size: 0.875rem;
}

.table th {
  color: #d1d5db;
  font-weight: 600;
  background: rgba(79, 195, 247, 0.05);
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(79, 195, 247, 0.22);
  background: rgba(79, 195, 247, 0.07);
  color: #d1d5db;
  font-size: 0.75rem;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.25rem;
  }

  .hero-desc {
    font-size: 1.25rem;
  }

  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .stat-value {
    font-size: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4rem;
  }
}

/* ===== Section ===== */
.section {
  padding: 6rem 1.5rem;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 1.875rem;
  margin-bottom: 1rem;
}

.section-desc {
  color: #9ca3af;
  max-width: 42rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2.25rem;
  }
}

/* ===== Gallery Section ===== */
.gallery-section {
  padding-top: 4rem;
}

.gallery-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: auto auto auto;
}

.gallery-item {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-item-wide {
  grid-column: span 2;
  aspect-ratio: 21/9;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0.6;
  pointer-events: none;
}

.gallery-item:hover .gallery-overlay {
  opacity: 0.4;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .gallery-item-wide {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
  }
}

/* ===== Tech Section ===== */
.tech-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tech-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tech-card {
  padding: 1.5rem;
  border-radius: 1rem;
  cursor: default;
  transition: all 0.3s;
}

.tech-card:hover {
  border-color: rgba(79, 195, 247, 0.3);
}

.tech-card:hover .tech-title {
  color: var(--electric-cyan);
}

.tech-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.tech-title {
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.75rem;
  transition: color 0.2s;
}

.tech-desc {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ===== Cases Section ===== */
.cases-section {
  overflow: hidden;
}

.cases-aurora {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.1) 0%, rgba(41, 182, 246, 0.1) 50%, rgba(79, 195, 247, 0.1) 100%);
  opacity: 0.3;
  pointer-events: none;
}

.cases-section .container {
  position: relative;
}

.cases-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
}

@media (min-width: 768px) {
  .cases-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.case-card {
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--glass-border);
  transition: all 0.2s;
}

.case-card:hover {
  border-color: rgba(79, 195, 247, 0.2);
}

.case-cyan {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(59, 130, 246, 0.2));
}

.case-purple {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(236, 72, 153, 0.2));
}

.case-emerald {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(20, 184, 166, 0.2));
}

.case-amber {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(249, 115, 22, 0.2));
}

.case-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(14, 165, 233, 0.2));
}

.case-rose {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.2), rgba(251, 113, 133, 0.2));
}

.case-title {
  font-family: "Orbitron", sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 0.75rem;
}

.case-desc {
  color: #9ca3af;
  line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-title {
  font-family: "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--electric-cyan);
  margin-bottom: 1rem;
}

.footer-desc {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.6;
}

.footer-heading {
  font-weight: 500;
  color: #d1d5db;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #6b7280;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--electric-cyan);
}

.footer-contact .footer-address,
.footer-contact .footer-phone {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.footer-contact a {
  color: #6b7280;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--electric-cyan);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

.footer-bottom p {
  color: #4b5563;
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  color: #6b7280;
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--electric-cyan);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
