/* ===== 羽飞电子科技 - 升级版样式 ===== */
/* 美学方向: 航空科技深色 + 网格线 + 大字戏剧感 */

:root {
  --primary: #0052D9;
  --primary-dark: #003BA1;
  --primary-light: #1a3a7a;
  --accent: #00E5FF;
  --accent-dim: rgba(0, 229, 255, 0.15);
  --dark: #0B0E14;
  --dark-2: #111827;
  --text: #E8ECF4;
  --text-light: #8896B0;
  --text-muted: #4B5A73;
  --bg: #0B0E14;
  --bg-2: #111827;
  --bg-card: #141C2E;
  --border: rgba(255,255,255,0.07);
  --border-bright: rgba(0, 229, 255, 0.2);
  --success: #00E5A0;
  --radius: 12px;
  --shadow: 0 4px 32px rgba(0,0,0,0.4);
  --shadow-accent: 0 0 40px rgba(0, 229, 255, 0.1);
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", "PingFang SC", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Subtle grid background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 0;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ===== CONTAINER ===== */
.container {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(11, 14, 20, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.nav.scrolled {
  background: rgba(11, 14, 20, 0.95);
  border-bottom-color: var(--border-bright);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
}

.nav-logo .logo-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.nav-logo .logo-mark::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.2));
}

.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition);
  letter-spacing: 0.3px;
  position: relative;
}

.nav-links a:not(.nav-cta):hover { color: var(--text); }
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: var(--transition);
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-cta {
  background: var(--accent) !important;
  color: var(--dark) !important;
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  transition: var(--transition);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}
.nav-cta:hover {
  box-shadow: 0 0 30px rgba(0, 229, 255, 0.4);
  transform: translateY(-1px);
}
.nav-cta::after { display: none !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg);
  overflow: hidden;
  padding-top: 68px;
}

/* Atmospheric radial glows */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 82, 217, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-text h1 {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

.hero-text h1 .highlight {
  background: linear-gradient(135deg, var(--accent), #60A5FA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-text p {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 40px;
  line-height: 1.85;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 0 24px rgba(0, 229, 255, 0.25);
}
.btn-primary:hover {
  background: #33ECFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(0, 229, 255, 0.05);
}

.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Drone SVG illustration */
.drone-illustration {
  width: 100%;
  max-width: 460px;
  position: relative;
  filter: drop-shadow(0 0 60px rgba(0, 82, 217, 0.2));
}

.drone-illustration svg {
  width: 100%;
  height: auto;
}

/* Floating coordinate lines */
.coord-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  height: 1px;
  opacity: 0.3;
  animation: coord-pulse 4s ease-in-out infinite;
}
.coord-line:nth-child(1) { width: 120px; top: 20%; left: -40px; animation-delay: 0s; }
.coord-line:nth-child(2) { width: 80px; bottom: 30%; right: -30px; animation-delay: 1s; }
.coord-line:nth-child(3) {
  width: 1px;
  height: 80px;
  top: -20px;
  left: 30%;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  animation-delay: 0.5s;
}

@keyframes coord-pulse {
  0%, 100% { opacity: 0.2; transform: scaleX(0.8); }
  50% { opacity: 0.5; transform: scaleX(1); }
}

/* Animated drone frame */
.drone-frame {
  width: 280px;
  height: 280px;
  position: relative;
  margin: 0 auto;
}

.drone-arm {
  position: absolute;
  width: 100px;
  height: 8px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 4px;
  top: 50%;
  left: 50%;
  transform-origin: left center;
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.drone-arm:nth-child(1) { transform: translate(-50%, -50%) rotate(45deg); }
.drone-arm:nth-child(2) { transform: translate(-50%, -50%) rotate(135deg); }
.drone-arm:nth-child(3) { transform: translate(-50%, -50%) rotate(225deg); }
.drone-arm:nth-child(4) { transform: translate(-50%, -50%) rotate(315deg); }

.drone-propeller {
  position: absolute;
  width: 52px;
  height: 52px;
  border: 3px solid var(--accent);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 3s linear infinite;
  box-shadow: 0 0 16px rgba(0, 229, 255, 0.3), inset 0 0 16px rgba(0, 229, 255, 0.1);
}
.drone-propeller:nth-child(5) { animation-delay: 0s; }
.drone-propeller:nth-child(6) { animation-delay: -0.75s; }
.drone-propeller:nth-child(7) { animation-delay: -1.5s; }
.drone-propeller:nth-child(8) { animation-delay: -2.25s; }

@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

.drone-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 32px rgba(0, 82, 217, 0.3);
}

.drone-core::after {
  content: '';
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 16px var(--accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/* ===== DIGITAL TWIN HIGHLIGHT ===== */
.dt-highlight {
  padding: 64px 0;
  background: linear-gradient(135deg, var(--dark-2) 0%, #0a1628 50%, var(--dark-2) 100%);
  border-top: 1px solid rgba(79, 195, 247, 0.15);
  border-bottom: 1px solid rgba(79, 195, 247, 0.15);
  position: relative;
  overflow: hidden;
}
.dt-highlight::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(79, 195, 247, 0.12) 0%, transparent 70%);
  pointer-events: none;
}
.dt-highlight-inner {
  display: flex;
  align-items: center;
  gap: 64px;
}
.dt-visual {
  flex-shrink: 0;
  perspective: 600px;
}
.dt-cube {
  width: 120px;
  height: 120px;
  position: relative;
  transform-style: preserve-3d;
  animation: dtRotate 8s linear infinite;
}
@keyframes dtRotate {
  0%   { transform: rotateX(-15deg) rotateY(0deg); }
  100% { transform: rotateX(-15deg) rotateY(360deg); }
}
.dt-cube-face {
  position: absolute;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  border: 1px solid rgba(79, 195, 247, 0.3);
  background: rgba(79, 195, 247, 0.05);
  color: #4FC3F7;
  letter-spacing: 1px;
  backdrop-filter: blur(4px);
}
.dt-cube-face span { text-shadow: 0 0 20px rgba(79, 195, 247, 0.8); }
.dt-cube-front  { transform: rotateY(0deg) translateZ(60px); }
.dt-cube-back   { transform: rotateY(180deg) translateZ(60px); }
.dt-cube-right  { transform: rotateY(90deg) translateZ(60px); }
.dt-cube-left   { transform: rotateY(-90deg) translateZ(60px); }
.dt-cube-top    { transform: rotateX(90deg) translateZ(60px); }
.dt-cube-bottom { transform: rotateX(-90deg) translateZ(60px); }
.dt-content { flex: 1; }
.dt-badge {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(79, 195, 247, 0.12);
  border: 1px solid rgba(79, 195, 247, 0.3);
  border-radius: 20px;
  color: #4FC3F7;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.dt-content h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 12px;
  background: linear-gradient(90deg, #fff, #4FC3F7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.dt-content p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 560px;
}
.dt-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 24px;
}
.dt-features strong { color: #4FC3F7; font-weight: 600; }
.dt-dot { color: rgba(79, 195, 247, 0.4); }
.dt-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: linear-gradient(135deg, #4FC3F7, #29B6F6);
  color: #0B0E14;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  transition: var(--transition);
  box-shadow: 0 0 24px rgba(79, 195, 247, 0.25);
}
.dt-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(79, 195, 247, 0.4);
}
@media (max-width: 768px) {
  .dt-highlight-inner { flex-direction: column; text-align: center; gap: 32px; }
  .dt-content h2 { font-size: 24px; }
  .dt-features { justify-content: center; }
}

/* ===== STATS BAR ===== */
.stats {
  background: var(--bg-2);
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

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

.stat-item {
  text-align: center;
  padding: 0 24px;
  position: relative;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background: var(--border);
}

.stat-number {
  font-size: 44px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -2px;
  font-variant-numeric: tabular-nums;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 500;
}

/* ===== SECTION STYLES ===== */
.section {
  padding: 120px 0;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.section-label::before, .section-label::after {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
}

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

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-accent);
}
.service-card:hover::before { opacity: 1; }

.service-icon {
  width: 52px;
  height: 52px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.service-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
}

.service-card .service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: var(--transition);
}
.service-card .service-link:hover { gap: 12px; }

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  height: 440px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Drone topographic pattern */
.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 50% 50%, rgba(0, 82, 217, 0.15) 0%, transparent 70%),
    repeating-linear-gradient(0deg, transparent, transparent 28px, rgba(0,229,255,0.04) 28px, rgba(0,229,255,0.04) 29px),
    repeating-linear-gradient(90deg, transparent, transparent 28px, rgba(0,229,255,0.04) 28px, rgba(0,229,255,0.04) 29px);
}

.about-visual-icon {
  position: relative;
  z-index: 1;
  font-size: 100px;
  filter: drop-shadow(0 0 40px rgba(0, 229, 255, 0.2));
}

.about-visual .corner-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 6px;
}

.about-text h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 24px;
  letter-spacing: -0.8px;
}

.about-text p {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.85;
  margin-bottom: 16px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 32px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

.about-feature .check {
  width: 18px;
  height: 18px;
  background: rgba(0, 229, 160, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 10px;
  color: var(--success);
}

/* ===== ADVANTAGES ===== */
.section-dark {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-dark .section-label { color: var(--accent); }
.section-dark .section-title { color: var(--text); }
.section-dark .section-desc { color: var(--text-light); }

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-item {
  display: flex;
  gap: 20px;
  padding: 28px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.feature-item:hover {
  border-color: var(--border-bright);
  background: rgba(0, 229, 255, 0.03);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 1.5;
}

.feature-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.feature-item p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== PARTNERS ===== */
.partners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
}

.partner-logo {
  flex: 1;
  min-width: 140px;
  padding: 28px 20px;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  border-right: 1px solid var(--border);
  transition: var(--transition);
  letter-spacing: 0.5px;
}
.partner-logo:last-child { border-right: none; }
.partner-logo:hover {
  color: var(--text);
  background: rgba(0, 229, 255, 0.03);
}

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, rgba(0, 82, 217, 0.2) 0%, rgba(0, 229, 255, 0.08) 100%);
  border: 1px solid rgba(0, 229, 255, 0.12);
  padding: 100px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(0,229,255,0.02) 40px, rgba(0,229,255,0.02) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(0,229,255,0.02) 40px, rgba(0,229,255,0.02) 41px);
}

.cta-section h2 {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.8px;
}

.cta-section p {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 36px;
}

.btn-white {
  background: var(--text);
  color: var(--dark);
  padding: 14px 36px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn-white:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0, 229, 255, 0.25);
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.info-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 20px;
}

.info-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.info-item p {
  font-size: 14px;
  color: var(--text-light);
}

.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 14px;
  transition: var(--transition);
  font-family: inherit;
  background: var(--bg);
  color: var(--text);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.08);
}

.contact-form textarea { height: 110px; resize: vertical; }

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand p {
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-muted);
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 20px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  transition: var(--transition);
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== SCROLL ANIMATIONS ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-content { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-text p { margin: 0 auto 40px; }
  .hero-buttons { justify-content: center; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { height: 320px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(11, 14, 20, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.active a { padding: 12px 0; }

  .hero-content { padding: 0 24px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-item + .stat-item::before { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .section { padding: 80px 0; }
  .section-title { font-size: 26px; }
  .partners { flex-direction: column; }
  .partner-logo { border-right: none; border-bottom: 1px solid var(--border); width: 100%; }
  .partner-logo:last-child { border-bottom: none; }
  .contact-form { padding: 28px 24px; }
}

/* ===== NEWS GRID ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}
.news-card:not(.news-card-placeholder):hover {
  transform: translateY(-4px);
  border-color: var(--border-bright);
  box-shadow: var(--shadow-accent);
}
.news-card-placeholder {
  opacity: 0.5;
}
.news-cover {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-2) 100%);
  position: relative;
  overflow: hidden;
}
.news-cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0,82,217,0.1) 0%, transparent 70%);
}
.news-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-body {
  padding: 24px;
}
.news-date {
  font-size: 11px;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.news-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-summary {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

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

/* ===== NATIONAL SERVICE NETWORK ===== */
.network-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}

.network-map-wrap-placeholder {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  overflow: hidden;
}

.china-map {
  width: 100%;
  height: auto;
  display: block;
}

.china-outline {
  fill: none;
  stroke: rgba(0, 229, 255, 0.1);
  stroke-width: 1.5;
}

.city-label {
  font-family: "Plus Jakarta Sans", "PingFang SC", sans-serif;
  font-size: 11px;
  font-weight: 700;
  fill: rgba(0, 229, 255, 0.8);
  letter-spacing: 0.5px;
}
.city-sub {
  font-family: "Plus Jakarta Sans", "PingFang SC", sans-serif;
  font-size: 9px;
  font-weight: 500;
  fill: rgba(0, 229, 255, 0.4);
}
.city-label-city {
  font-family: "Plus Jakarta Sans", "PingFang SC", sans-serif;
  font-size: 12px;
  font-weight: 800;
  fill: #00E5FF;
  letter-spacing: 0.5px;
}
.city-sub-city {
  font-family: "Plus Jakarta Sans", "PingFang SC", sans-serif;
  font-size: 9px;
  font-weight: 600;
  fill: rgba(0, 229, 255, 0.6);
}

.network-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.net-card {
  background: #1a2540;
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: var(--radius);
  padding: 20px 22px;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.net-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  opacity: 0;
  transition: all 0.3s;
}
.net-card:hover {
  border-color: rgba(0, 229, 255, 0.2);
  transform: translateX(4px);
}
.net-card:hover::before { opacity: 1; }

.net-card-hq {
  background: rgba(0, 229, 255, 0.06);
  border-color: rgba(0, 229, 255, 0.4);
}
.net-card-hq::before { opacity: 1; }

.net-card-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--accent);
  background: rgba(0, 229, 255, 0.1);
  border: 1px solid rgba(0, 229, 255, 0.2);
  padding: 2px 8px;
  border-radius: 100px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.net-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.net-card p {
  font-size: 12px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 10px;
}
.net-card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.net-card-tags span {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 100px;
}

@media (max-width: 1024px) {
  .network-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .network-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* SVG text classes for network map */
.cmap-label {
  font-family: "Plus Jakarta Sans", "PingFang SC", sans-serif;
  font-size: 11px;
  font-weight: 700;
  fill: rgba(0, 229, 255, 0.85);
  letter-spacing: 0.5px;
}
.cmap-sub {
  font-family: "Plus Jakarta Sans", "PingFang SC", sans-serif;
  font-size: 9px;
  font-weight: 500;
  fill: rgba(0, 229, 255, 0.45);
}
.cmap-label-hq {
  font-family: "Plus Jakarta Sans", "PingFang SC", sans-serif;
  font-size: 12px;
  font-weight: 800;
  fill: #00E5FF;
  letter-spacing: 0.5px;
}
.cmap-sub-hq {
  font-family: "Plus Jakarta Sans", "PingFang SC", sans-serif;
  font-size: 9px;
  font-weight: 600;
  fill: rgba(0, 229, 255, 0.7);
}
.cmap-legend {
  font-family: "Plus Jakarta Sans", "PingFang SC", sans-serif;
  font-size: 10px;
  font-weight: 500;
  fill: rgba(0, 229, 255, 0.3);
}

/* News collapsed */
.news-collapsed {
  visibility: hidden;
  opacity: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.news-card-wrap {
  /* wrap needed for grid item */
}

.news-expanded {
  /* default visible — let .news-card grid handle display */
  visibility: visible;
  opacity: 1;
  height: auto;
  overflow: visible;
}
