/* 
  BS-2D-V3 主题样式 
  Theme: Tech Dark (Deep Blue/Black + Cyan/Blue Accents)
*/

:root {
  /* 基础颜色系统 */
  --color-bg-base: #070B14;
  --color-bg-surface: rgba(17, 24, 40, 0.65);
  --color-bg-panel: rgba(25, 33, 50, 0.7);
  
  /* 强调色/品牌色: 智能青色 & 科技蓝 */
  --color-accent-primary: #00C2FF;
  --color-accent-secondary: #3B82F6;
  --color-gradient-accent: linear-gradient(135deg, #00C2FF 0%, #3B82F6 100%);
  --color-gradient-subtle: linear-gradient(135deg, rgba(0, 194, 255, 0.15) 0%, rgba(59, 130, 246, 0.05) 100%);

  /* 文字颜色 */
  --color-text-title: #FFFFFF;
  --color-text-body: #9CA3AF;
  --color-text-muted: #6B7280;

  /* 边框及其他 */
  --border-glass: rgba(255, 255, 255, 0.08);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  /* 字体设置 */
  --font-family-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-family-display: 'Outfit', 'Inter', sans-serif;

  /* 动画过渡与间距 */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --space-unit: 1rem;
}

/* ================== 重置与基础 ================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family-body);
  background-color: var(--color-bg-base);
  color: var(--color-text-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 8rem 0;
}

/* 文字渐变高亮 */
.text-gradient {
  background: var(--color-gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

/* ================== 共用组件 ================== */

/* 按钮组件 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--color-gradient-accent);
  color: #fff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 194, 255, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 194, 255, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--color-text-title);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--color-accent-primary);
  color: #fff;
  background: rgba(0, 194, 255, 0.1);
}

.btn-secondary {
  background: var(--color-bg-surface);
  color: var(--color-text-title);
  border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
  background: var(--border-glass);
}

/* 玻璃态面板 (Glassmorphism) */
.glass-panel {
  background: var(--color-bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: 1.5rem;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: var(--shadow-glass);
}

/* ================== 环境与动态光效 ================== */
.ambient-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(15, 23, 42, 1) 0%, rgba(7, 11, 20, 1) 100%);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.5;
  animation: float 20s infinite alternate ease-in-out;
}

.glow-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: rgba(0, 194, 255, 0.15);
}

.glow-2 {
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: rgba(59, 130, 246, 0.12);
  animation-delay: -5s;
}

@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(5%, 10%) scale(1.1); }
  100% { transform: translate(-5%, -10%) scale(0.9); }
}

/* ================== 顶部导航 ================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 11, 20, 0.8);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-glass);
  padding: 1rem 0;
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: var(--color-gradient-accent);
  border-radius: 8px;
  display: inline-block;
  position: relative;
}

.logo-icon::after {
  content: '';
  position: absolute;
  top: 4px; left: 4px; right: 4px; bottom: 4px;
  background: var(--color-bg-base);
  border-radius: 4px;
}

.logo-text {
  font-family: var(--font-family-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-text-title);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a:not(.btn) {
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-links a:not(.btn):hover {
  color: var(--color-accent-primary);
}

/* ================== Hero Section ================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-family: var(--font-family-display);
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  color: var(--color-text-title);
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* 抽象视觉元素 (仪表盘) */
.hero-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  perspective: 1000px;
}

.glass-board {
  width: 100%;
  height: 100%;
  background: var(--color-gradient-subtle);
  border: 1px solid var(--border-glass);
  border-radius: 1rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transform: rotateY(-15deg) rotateX(10deg);
  transition: transform 0.5s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.glass-board:hover {
  transform: rotateY(-5deg) rotateX(5deg);
}

.board-header {
  height: 40px;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  padding: 0 1rem;
  gap: 8px;
  border-bottom: 1px solid var(--border-glass);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.board-body {
  flex: 1;
  position: relative;
  background: radial-gradient(circle at center, rgba(30,40,60,0.5) 0%, transparent 100%);
  background-size: 20px 20px;
  background-image: 
    linear-gradient(to right, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.03) 1px, transparent 1px);
}

/* ================== 客户滚动区 Clients ================== */
.clients {
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--border-glass);
  background: linear-gradient(180deg, rgba(255,255,255,0.01) 0%, transparent 100%);
}

.marquee-wrapper {
  display: flex;
  overflow: hidden;
  user-select: none;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  padding: 1rem 0;
}

.marquee-content {
  display: flex;
  flex-shrink: 0;
  justify-content: space-around;
  min-width: 100%;
  gap: 2rem;
  animation: scrollLeft 45s linear infinite;
}

.marquee-wrapper:hover .marquee-content {
  animation-play-state: paused;
}

.client-badge {
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 8px;
  color: var(--color-text-body);
  font-weight: 500;
  font-size: 1rem;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.client-badge:hover {
  background: rgba(0, 194, 255, 0.1);
  color: var(--color-text-title);
  border-color: var(--color-accent-primary);
  transform: translateY(-3px);
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

/* ================== Footer Team ================== */
.footer-team {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  max-width: 300px;
}

.footer-team strong {
  display: block;
  font-family: var(--font-family-display);
  color: var(--color-text-body);
  margin-bottom: 0.3rem;
}

/* 摘要图与截图展示 */
.hero-dashboard-img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
  border: 1px solid var(--border-glass);
  transform: perspective(1000px) rotateY(-10deg) rotateX(5deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-dashboard-img:hover {
  transform: perspective(1000px) rotateY(-2deg) rotateX(2deg) scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 194, 255, 0.2);
}

/* logo 图片样式 */
.logo-icon-img {
  height: 36px;
  border-radius: 6px;
  display: block;
  object-fit: contain;
}

/* 联系信息横幅 */
.contact-info-banner {
  margin-bottom: 2rem;
  font-size: 1.25rem;
  background: rgba(255, 255, 255, 0.05);
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: 1px solid var(--border-glass);
}

.contact-info-banner strong {
  color: var(--color-accent-primary);
}

/* ================== 指标区 Metrics ================== */
.metrics {
  padding: 4rem 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.02) 50%, transparent 100%);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
}

.metric-value {
  font-family: var(--font-family-display);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-text-title);
  margin-bottom: 0.5rem;
}

.metric-value .unit {
  font-size: 1.25rem;
  color: var(--color-accent-primary);
  font-weight: 600;
}

.metric-label {
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ================== 通用标头 ================== */
.section-head {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-family: var(--font-family-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text-title);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ================== 特性区 Features ================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: var(--color-gradient-accent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feature-img {
  width: calc(100% + 5rem);  /* 抵消 padding让图片撑满卡片顶部 */
  margin: -2.5rem -2.5rem 1.5rem -2.5rem;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--border-glass);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

.feature-title {
  font-family: var(--font-family-display);
  font-size: 1.25rem;
  color: var(--color-text-title);
  margin-bottom: 1rem;
}

/* ================== 范式标签 Paradigms ================== */
.paradigm-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
}

.tag {
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-glass);
  border-radius: 999px;
  color: var(--color-text-title);
  font-weight: 500;
  transition: var(--transition-smooth);
}

.tag:hover {
  background: rgba(0, 194, 255, 0.1);
  border-color: var(--color-accent-primary);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(0, 194, 255, 0.2);
}

/* ================== 底部 CTA ================== */
.cta-panel {
  padding: 4rem;
  text-align: center;
  background: radial-gradient(circle at center, rgba(0, 194, 255, 0.08) 0%, rgba(25, 33, 50, 0.5) 100%);
}

.cta-title {
  font-family: var(--font-family-display);
  font-size: 2.5rem;
  color: var(--color-text-title);
  margin-bottom: 1rem;
}

.cta-desc {
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* ================== Footer ================== */
.footer {
  background: #000;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-glass);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.footer-tagline {
  margin-top: 1rem;
  max-width: 250px;
}

.footer-links h4 {
  color: var(--color-text-title);
  margin-bottom: 1.5rem;
  font-family: var(--font-family-display);
}

.footer-links a {
  display: block;
  margin-bottom: 0.8rem;
}

.footer-links a:hover {
  color: var(--color-accent-primary);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
  font-size: 0.875rem;
}

/* ================== 动画 (Scroll Reveal) ================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }

/* ================== 响应式 ================== */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .nav-links { display: none; } /* 移动端暂时隐藏菜单或后继增加汉堡菜单 */
  .cta-buttons {
    flex-direction: column;
  }
}
