/* ============================================================
   霆雅科技官网 · 设计系统 v2（深空科幻 · 未来 AI 感）
   主色：霓虹青蓝 #06B6D4 → #2563EB，深空底 #050A18 / #0A1428
   ============================================================ */

:root {
  /* 品牌主色（霓虹青蓝） */
  --brand-blue: #2563EB;
  --brand-cyan: #06B6D4;
  --brand-cyan-light: #22D3EE;
  --brand-violet: #7C3AED;
  --brand-grad: linear-gradient(135deg, #06B6D4 0%, #2563EB 55%, #7C3AED 100%);
  --brand-grad-soft: linear-gradient(135deg, rgba(6,182,212,0.15), rgba(37,99,235,0.15));

  /* 深空背景 */
  --bg-deep: #050A18;
  --bg-deep-2: #0A1428;
  --bg-card: rgba(15, 25, 48, 0.6);
  --bg-card-solid: #0F1930;

  /* 文字（深色主题，浅色文字） */
  --text-primary: #E2E8F0;
  --text-secondary: #94A3B8;
  --text-dim: #64748B;

  /* 描边与光 */
  --border: rgba(148, 163, 184, 0.14);
  --border-glow: rgba(6, 182, 212, 0.4);
  --glow-cyan: 0 0 24px rgba(6, 182, 212, 0.35);
  --glow-blue: 0 0 32px rgba(37, 99, 235, 0.45);

  /* 功能色 */
  --success: #10B981;
  --warning: #F59E0B;
  --danger: #EF4444;

  /* 尺寸 */
  --container: 1200px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.45);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: var(--text-primary);
  background: var(--bg-deep);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* 全站深空背景：渐变 + 网格 + 光晕 */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: -2;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(37, 99, 235, 0.18), transparent 55%),
    radial-gradient(ellipse at 85% 20%, rgba(124, 58, 237, 0.15), transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(6, 182, 212, 0.12), transparent 55%),
    linear-gradient(180deg, #050A18 0%, #0A1428 100%);
}
body::after {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.5), transparent 75%);
}

a { color: var(--brand-cyan); text-decoration: none; transition: all .25s; }
a:hover { color: var(--brand-cyan-light); }

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

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- 头部导航（玻璃拟态） ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(5, 10, 24, 0.72);
  backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100px;
}
.brand { display: flex; align-items: center; gap: 16px; }
.brand-logo {
  width: 70px; height: 70px;
  filter: drop-shadow(0 0 14px rgba(6,182,212,0.45));
  transition: transform .3s;
}
.brand:hover .brand-logo { transform: scale(1.06); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-size: 35px; color: #fff; letter-spacing: 1px; font-weight: 700; line-height: 1.1;
  background: var(--brand-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.brand-text small { font-size: 13px; color: var(--text-secondary); letter-spacing: 4px; line-height: 1.2; margin-top: 2px; }
.nav { display: flex; gap: 36px; }
.nav-link {
  color: var(--text-secondary); font-size: 17px; font-weight: 500;
  padding: 6px 0; position: relative; letter-spacing: 0.5px;
}
.nav-link:hover { color: var(--brand-cyan-light); text-shadow: 0 0 12px rgba(34,211,238,0.6); }
.nav-link.active { color: var(--brand-cyan-light); font-weight: 600; }
.nav-link.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--brand-grad); border-radius: 2px;
  box-shadow: var(--glow-cyan);
}

/* ---------- Hero ---------- */
.hero {
  color: #fff; position: relative; overflow: hidden;
  padding: 120px 0 110px;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(6,182,212,0.20), transparent 55%),
    radial-gradient(ellipse at 75% 60%, rgba(124,58,237,0.22), transparent 50%);
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148,163,184,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7), transparent 80%);
}
.hero-inner {
  position: relative; text-align: center;
  max-width: 900px; margin: 0 auto; padding: 0 24px;
}
.hero-logo {
  width: 280px; height: 280px; margin: 0 auto 44px;
  filter: drop-shadow(0 0 40px rgba(6,182,212,0.6));
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
.hero h1 {
  font-size: 58px; line-height: 1.2; font-weight: 800; margin-bottom: 24px;
  letter-spacing: 1px;
}
.hero h1 .highlight {
  background: var(--brand-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; filter: drop-shadow(0 0 18px rgba(6,182,212,0.5));
}
.hero p {
  font-size: 19px; color: var(--text-secondary); max-width: 680px;
  margin: 0 auto 44px;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 15px 38px; border-radius: 12px; font-size: 16px; font-weight: 600;
  cursor: pointer; transition: all .3s; border: none; letter-spacing: 0.5px;
}
.btn-primary {
  background: var(--brand-grad); color: #fff;
  box-shadow: 0 6px 24px rgba(6,182,212,0.4);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(6,182,212,0.6); color: #fff; }
.btn-ghost {
  background: rgba(6,182,212,0.08); color: var(--brand-cyan-light);
  border: 1px solid var(--border-glow);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover { background: rgba(6,182,212,0.18); color: #fff; box-shadow: var(--glow-cyan); }

/* ---------- 区块通用 ---------- */
.section { padding: 100px 0; }
/* banner 后面紧跟的区块，缩小上边距，避免标题与正文空隙过大 */
.page-hero + .section { padding-top: 48px; }
.section-head { text-align: center; margin-bottom: 60px; }
.section-head h2 {
  font-size: 38px; font-weight: 800; margin-bottom: 14px; letter-spacing: 1px;
  background: var(--brand-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-head p { color: var(--text-secondary); font-size: 16px; }
.section-title-bar {
  display: inline-block; width: 64px; height: 3px;
  background: var(--brand-grad); border-radius: 2px; margin-bottom: 22px;
  box-shadow: var(--glow-cyan);
}

/* ---------- 产品卡片（玻璃拟态） ---------- */
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.product-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 32px;
  transition: all .35s; position: relative; overflow: hidden;
  backdrop-filter: blur(12px);
}
.product-card::before {
  content: ''; position: absolute; inset: 0; opacity: 0; transition: opacity .35s;
  background: radial-gradient(ellipse at 30% 0%, rgba(6,182,212,0.14), transparent 60%);
  pointer-events: none;
}
.product-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-glow);
  box-shadow: 0 16px 50px rgba(0,0,0,0.5), 0 0 24px rgba(6,182,212,0.2);
}
.product-card:hover::before { opacity: 1; }
.product-card .product-icon {
  width: 72px; height: 72px; border-radius: 18px; margin-bottom: 24px;
  background: var(--brand-grad);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 30px; font-weight: 700;
  box-shadow: 0 6px 20px rgba(37,99,235,0.4);
}
.product-card h3 { font-size: 22px; margin-bottom: 8px; color: #fff; }
.product-cover {
  width: 100%; height: 180px; object-fit: cover; border-radius: 14px;
  margin-bottom: 20px; border: 1px solid var(--border);
}
.product-card .tagline { color: var(--brand-cyan-light); font-size: 14px; font-weight: 500; margin-bottom: 12px; }
.product-card .desc { color: var(--text-secondary); font-size: 14px; margin-bottom: 18px; }
.status-badge {
  display: inline-block; padding: 4px 14px; border-radius: 20px; font-size: 12px; font-weight: 600;
}
.status-badge.online { background: rgba(16,185,129,0.16); color: #34D399; border: 1px solid rgba(16,185,129,0.3); }
.status-badge.beta { background: rgba(245,158,11,0.16); color: #FBBF24; border: 1px solid rgba(245,158,11,0.3); }
.status-badge.dev { background: rgba(99,102,241,0.16); color: #A5B4FC; border: 1px solid rgba(99,102,241,0.3); }

/* ---------- 愿景横幅 ---------- */
.vision-banner {
  width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 30px rgba(6,182,212,0.12);
}

/* ---------- 数据亮点 ---------- */
.highlight-section { padding: 0 0 100px; margin-top: -40px; }
.highlight-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px;
  max-width: 1000px; margin: 0 auto;
}
.highlight-item {
  text-align: center; padding: 36px 20px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
}
.highlight-num {
  font-size: 46px; font-weight: 800; line-height: 1;
  background: var(--brand-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-bottom: 10px;
}
.highlight-label { color: var(--text-secondary); font-size: 14px; }

/* ---------- 优势 ---------- */
.advantage-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.advantage-item {
  padding: 36px 26px; text-align: center;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  backdrop-filter: blur(12px); transition: all .3s;
}
.advantage-item:hover { border-color: var(--border-glow); transform: translateY(-4px); box-shadow: 0 0 24px rgba(6,182,212,0.18); }
.advantage-icon {
  width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 16px;
  background: var(--brand-grad); display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 28px; box-shadow: 0 6px 20px rgba(37,99,235,0.4);
}
.advantage-item h3 { font-size: 19px; margin-bottom: 10px; color: #fff; }
.advantage-item p { color: var(--text-secondary); font-size: 14px; }

/* ---------- 服务能力 ---------- */
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.service-item {
  text-align: center; padding: 40px 22px;
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg);
  backdrop-filter: blur(12px); transition: all .3s;
}
.service-item:hover { border-color: var(--border-glow); box-shadow: 0 0 24px rgba(6,182,212,0.18); transform: translateY(-4px); }
.service-icon {
  width: 76px; height: 76px; margin: 0 auto 22px; border-radius: 20px;
  background: var(--brand-grad);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 32px;
  box-shadow: 0 6px 22px rgba(37,99,235,0.45);
}
.service-item h3 { font-size: 18px; margin-bottom: 8px; color: #fff; }
.service-item p { color: var(--text-secondary); font-size: 14px; }

/* ---------- 价值观 ---------- */
.value-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.value-item {
  text-align: center; padding: 40px 22px;
  background: var(--bg-card); border-radius: var(--radius-lg); border: 1px solid var(--border);
  backdrop-filter: blur(12px); transition: all .3s;
}
.value-item:hover { border-color: var(--border-glow); transform: translateY(-4px); }
.value-item .value-char {
  width: 84px; height: 84px; margin: 0 auto 22px; border-radius: 50%;
  background: var(--brand-grad); display: flex; align-items: center; justify-content: center;
  font-size: 38px; font-weight: 700; color: #fff;
  box-shadow: 0 0 28px rgba(6,182,212,0.4);
}
.value-item h3 { font-size: 24px; margin-bottom: 8px; color: #fff; }
.value-item p { color: var(--text-secondary); font-size: 14px; }

/* ---------- 时间轴 ---------- */
.timeline { position: relative; max-width: 720px; margin: 0 auto; padding-left: 44px; }
.timeline::before {
  content: ''; position: absolute; left: 14px; top: 0; bottom: 0;
  width: 2px; background: var(--brand-grad);
  box-shadow: var(--glow-cyan);
}
.timeline-item { position: relative; padding-bottom: 44px; }
.timeline-item::before {
  content: ''; position: absolute; left: -37px; top: 6px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand-cyan-light); box-shadow: 0 0 0 4px rgba(6,182,212,0.25), 0 0 16px rgba(6,182,212,0.6);
}
.timeline-item .year { font-size: 16px; font-weight: 700; color: var(--brand-cyan-light); margin-bottom: 6px; }
.timeline-item .event { color: var(--text-primary); }

/* ---------- 新闻列表 ---------- */
.news-list { max-width: 860px; margin: 0 auto; }
.news-item {
  display: block; padding: 30px 24px; border-bottom: 1px solid var(--border);
  transition: all .25s; border-radius: var(--radius);
}
.news-item:hover { background: var(--bg-card); padding-left: 32px; }
.news-item .news-date { color: var(--text-dim); font-size: 13px; margin-bottom: 8px; }
.news-item .news-category {
  display: inline-block; padding: 3px 12px; border-radius: 4px; font-size: 12px;
  background: rgba(99,102,241,0.16); color: #A5B4FC; border: 1px solid rgba(99,102,241,0.3);
  margin-bottom: 8px;
}
.news-item h3 { font-size: 21px; margin-bottom: 8px; color: #fff; }
.news-item .news-excerpt { color: var(--text-secondary); font-size: 14px; }

/* ---------- 联系 ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.contact-info-item .icon {
  width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0;
  background: var(--brand-grad);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 22px;
  box-shadow: 0 4px 16px rgba(37,99,235,0.4);
}
.contact-info-item h4 { font-size: 16px; margin-bottom: 4px; color: #fff; }
.contact-info-item p { color: var(--text-secondary); font-size: 14px; }

.contact-form {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 38px; backdrop-filter: blur(12px);
}
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: var(--text-secondary); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 16px;
  background: rgba(5,10,24,0.6); border: 1px solid var(--border); border-radius: 10px;
  font-size: 15px; font-family: inherit; color: var(--text-primary);
  transition: all .25s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--brand-cyan); box-shadow: 0 0 0 3px rgba(6,182,212,0.18), var(--glow-cyan);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-dim); }
.form-group select option { background: var(--bg-deep-2); }

/* ---------- 页头（内页 banner） ---------- */
.page-hero {
  color: #fff; padding: 36px 0; text-align: center; position: relative; overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(6,182,212,0.18), transparent 55%),
    radial-gradient(ellipse at 70% 80%, rgba(124,58,237,0.16), transparent 50%);
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(148,163,184,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148,163,184,0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6), transparent 80%);
}
.page-hero h1 {
  font-size: 30px; font-weight: 800; margin-bottom: 8px; letter-spacing: 1px;
  background: var(--brand-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero p { color: var(--text-secondary); font-size: 14px; max-width: 640px; margin: 0 auto; position: relative; }

/* ---------- 产品详情 ---------- */
.product-detail { padding: 72px 0; }
.product-detail-hero { display: grid; grid-template-columns: 340px 1fr; gap: 52px; margin-bottom: 72px; }
.product-detail-cover {
  width: 100%; height: 340px; object-fit: cover; border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 24px rgba(6,182,212,0.15);
}
.product-detail-icon {
  width: 220px; height: 220px; border-radius: 36px;
  background: var(--brand-grad);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 90px; font-weight: 700;
  box-shadow: 0 12px 40px rgba(37,99,235,0.5), 0 0 30px rgba(6,182,212,0.3);
}
.product-detail-hero h1 { font-size: 40px; margin-bottom: 10px; color: #fff; }
.product-detail-hero .tagline { color: var(--brand-cyan-light); font-size: 19px; font-weight: 500; margin-bottom: 16px; }
.product-detail-hero .desc { color: var(--text-secondary); margin-bottom: 22px; }
.platform-tag {
  display: inline-block; padding: 5px 16px; border-radius: 8px;
  background: var(--bg-card); border: 1px solid var(--border); font-size: 13px; margin-right: 10px; color: var(--text-secondary);
}

.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; margin-top: 36px; }
.feature-item {
  padding: 28px; background: var(--bg-card); border-radius: var(--radius);
  border: 1px solid var(--border); backdrop-filter: blur(12px);
}
.feature-item h3 { font-size: 18px; margin-bottom: 8px; color: #fff; }
.feature-item p { color: var(--text-secondary); font-size: 14px; }

/* ---------- 页脚 ---------- */
.site-footer {
  background: rgba(3, 6, 16, 0.9); color: rgba(255,255,255,0.7);
  padding: 72px 0 0; border-top: 1px solid var(--border);
}
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 52px; }
.footer-brand strong { color: #fff; font-size: 22px; display: block; margin-bottom: 12px; }
.footer-brand p { color: var(--text-dim); font-size: 14px; }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; }
.footer-col a, .footer-col p { display: block; color: var(--text-dim); font-size: 14px; margin-bottom: 12px; }
.footer-col a:hover { color: var(--brand-cyan-light); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 26px 0;
  display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center;
}
.footer-bottom p { color: var(--text-dim); font-size: 13px; }
.footer-bottom a { color: var(--text-secondary); text-decoration: none; }
.footer-bottom a:hover { color: var(--brand-cyan-light); text-decoration: underline; }

/* ---------- 响应式 ---------- */
@media (max-width: 960px) {
  .product-grid, .service-grid, .value-grid, .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); }
  .product-detail-hero { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 42px; }
}
@media (max-width: 640px) {
  .product-grid, .service-grid, .value-grid, .advantage-grid { grid-template-columns: 1fr; }
  .highlight-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .footer-inner { grid-template-columns: 1fr; }
  .nav { gap: 18px; overflow-x: auto; }
  .hero h1 { font-size: 32px; }
  .section { padding: 64px 0; }
  .brand-logo { width: 52px; height: 52px; }
  .hero-logo { width: 110px; height: 110px; }
}
