/* ===== 羽飞科技子站通用样式 - 深色航空主题 ===== */
/* 全局变量（主站风格延续） */
:root {
  --primary: #0052D9;
  --primary-dark: #003BA1;
  --bg: #0B0E14;
  --bg-2: #111827;
  --bg-card: #141C2E;
  --text: #E8ECF4;
  --text-light: #8896B0;
  --text-muted: #4B5A73;
  --border: rgba(255,255,255,0.07);
  --radius: 12px;
  --shadow: 0 4px 32px rgba(0,0,0,0.4);
  --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 bg */
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; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--accent, #00C8FF); border-radius: 3px; }

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

/* ===== NAV ===== */
.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: rgba(var(--accent-rgb, 0,200,255), 0.2);
  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);
}
.nav-logo-mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--primary), var(--accent, #00C8FF));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.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);
  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, #00C8FF);
  transition: var(--transition);
}
.nav-links a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
  background: var(--accent, #00C8FF) !important;
  color: var(--bg) !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(var(--accent-rgb, 0,200,255), 0.2);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { box-shadow: 0 0 30px rgba(var(--accent-rgb, 0,200,255), 0.4); transform: translateY(-1px); }
.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; }

/* ===== PAGE HERO ===== */
.page-hero {
  padding-top: 68px;
  padding-bottom: 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 0%, rgba(var(--accent-rgb, 0,200,255), 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}
.breadcrumb a { color: var(--text-muted); transition: var(--transition); }
.breadcrumb a:hover { color: var(--accent, #00C8FF); }
.page-hero h1 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.page-hero h1 .icon { font-size: 1em; }
.page-hero p {
  font-size: 17px;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== SECTIONS ===== */
.section { padding: 100px 0; position: relative; z-index: 1; }
.section-alt { background: var(--bg-2); }

.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent, #00C8FF);
  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, #00C8FF);
  opacity: 0.4;
}
.section-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.8px;
}
.section-desc {
  font-size: 15px;
  color: var(--text-light);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ===== 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: 36px 28px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent, #00C8FF));
  opacity: 0;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(var(--accent-rgb, 0,200,255), 0.3);
  box-shadow: 0 0 32px rgba(var(--accent-rgb, 0,200,255), 0.08);
}
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 48px; height: 48px;
  background: rgba(var(--accent-rgb, 0,200,255), 0.08);
  border: 1px solid rgba(var(--accent-rgb, 0,200,255), 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
}
.service-icon svg {
  width: 24px; height: 24px;
  stroke: var(--accent, #00C8FF);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}
.service-card p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.75;
}

/* ===== FEATURE LIST ===== */
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.feature-item {
  display: flex;
  gap: 18px;
  padding: 24px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: var(--transition);
}
.feature-item:hover {
  border-color: rgba(var(--accent-rgb, 0,200,255), 0.2);
  background: rgba(var(--accent-rgb, 0,200,255), 0.03);
}
.feature-icon {
  width: 46px; height: 46px;
  background: rgba(var(--accent-rgb, 0,200,255), 0.08);
  border: 1px solid rgba(var(--accent-rgb, 0,200,255), 0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.feature-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 6px;
}
.feature-item p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== TIMELINE ===== */
.timeline {
  position: relative;
  padding-left: 36px;
  max-width: 720px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 12px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent, #00C8FF), rgba(var(--accent-rgb, 0,200,255), 0.1));
}
.timeline-item {
  position: relative;
  padding-bottom: 40px;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -28px; top: 4px;
  width: 14px; height: 14px;
  background: var(--bg);
  border: 2px solid var(--accent, #00C8FF);
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(var(--accent-rgb, 0,200,255), 0.3);
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.timeline-item p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.8;
}

/* ===== CTA ===== */
.cta-section {
  background: linear-gradient(135deg, rgba(var(--primary-rgb, 0,82,217), 0.15) 0%, rgba(var(--accent-rgb, 0,200,255), 0.05) 100%);
  border: 1px solid rgba(var(--accent-rgb, 0,200,255), 0.1);
  padding: 80px 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(var(--accent-rgb, 0,200,255), 0.02) 40px, rgba(var(--accent-rgb, 0,200,255), 0.02) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(var(--accent-rgb, 0,200,255), 0.02) 40px, rgba(var(--accent-rgb, 0,200,255), 0.02) 41px);
}
.cta-section h2 {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 800;
  color: var(--text);
  margin-bottom: 14px;
  letter-spacing: -0.6px;
  position: relative;
}
.cta-section p {
  font-size: 15px;
  color: var(--text-light);
  margin-bottom: 32px;
  position: relative;
}
.btn-white {
  background: var(--text);
  color: var(--bg);
  padding: 13px 32px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
}
.btn-white:hover {
  background: var(--accent, #00C8FF);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(var(--accent-rgb, 0,200,255), 0.25);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 40px 0 30px;
}
.footer-bottom {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.footer-bottom a { color: var(--text-muted); transition: var(--transition); }
.footer-bottom a:hover { color: var(--accent, #00C8FF); }

/* ===== FADE-UP ANIMATION ===== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 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);
    z-index: 999;
  }
  .nav-links.active a { padding: 10px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .timeline { padding-left: 28px; }
  .timeline::before { left: 8px; }
  .timeline-item::before { left: -22px; }
  .section { padding: 72px 0; }
  .section-title { font-size: 24px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
}
