/* cy.css - 未来主义视觉系统 */
:root {
  --cyber-blue: #00f3ff;
  --neon-purple: #bc13fe;
  --matrix-green: #00ff9d;
  --deep-space: #0a0a16;
  --ease-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

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

body {
  font-family: 'SF Pro Display', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--deep-space);
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* 动态粒子背景 */
#particles-js {
  position: fixed;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  background: radial-gradient(ellipse at bottom, #0a0e27 0%, #000000 100%);
}

/* 玻璃拟态导航 */
.glass-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(15px);
  background: rgba(10, 10, 22, 0.6);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1.2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cy-logo {
  font-weight: 800;
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--cyber-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s var(--ease-quart);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--cyber-blue);
  transition: width 0.4s var(--ease-quart);
}

.nav-link:hover {
  color: var(--cyber-blue);
}

.nav-link:hover::after {
  width: 100%;
}

/* 首屏内容 */
.fullscreen-section {
  min-height: 100vh;
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  padding: 0 2rem;
}

.glitch-text {
  font-size: 4.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  animation: text-glitch 1.5s infinite;
}

@keyframes text-glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

.hero-subtitle {
  font-size: 1.8rem;
  color: rgba(255,255,255,0.8);
  background: linear-gradient(90deg, var(--cyber-blue), var(--matrix-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 产品网格 */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  padding: 4rem 6rem;
}

.product-card {
  background: rgba(255,255,255,0.03);
  border-radius: 16px;
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.1);
  transition: transform 0.4s var(--ease-quart), box-shadow 0.4s var(--ease-quart);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.product-icon {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--cyber-blue), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s var(--ease-quart);
}

.product-card:hover .product-icon {
  transform: scale(1.2);
}

.tech-tags {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.tech-tags span {
  background: linear-gradient(90deg, rgba(0,243,255,0.1), rgba(188,19,254,0.1));
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  border: 1px solid rgba(0,243,255,0.3);
}

/* 页脚样式 */
footer {
  position: relative;
  z-index: 100;
  padding: 3rem;
  background: rgba(0,0,0,0.6);
  margin-top: 8rem;
}

.footer-content {
  max-width: 1440px;
  margin: 0 auto;
  text-align: center;
  color: rgba(255,255,255,0.6);
}

.legal-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .nav-container {
    padding: 1rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .glitch-text {
    font-size: 3rem;
  }

  .product-grid {
    padding: 2rem;
    grid-template-columns: 1fr;
  }

  .brand-text {
    display: none;
  }
}
