/* ============================================
   德扑之家 - 高端SaaS落地页 自定义样式
   主色调: #6D28D9 (深紫)
   暗色背景: #0F0A1A, #1A1030
   霓虹光效: 紫色glow边框
   ============================================ */

/* === 自定义CSS变量 === */
:root {
  --purple-primary: #6D28D9;
  --purple-light: #8B5CF6;
  --purple-dark: #4C1D95;
  --purple-glow: rgba(109, 40, 217, 0.5);
  --bg-deep: #0F0A1A;
  --bg-card: #1A1030;
  --bg-card-hover: #1E1235;
  --text-primary: #F5F3FF;
  --text-secondary: #C4B5FD;
  --text-muted: #8B7AAF;
  --border-glow: rgba(109, 40, 217, 0.3);
  --gradient-purple: linear-gradient(135deg, #6D28D9, #8B5CF6, #A78BFA);
}

/* === 全局重置 === */
html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: 'Inter', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  overflow-x: hidden;
}

/* === 毛玻璃导航栏 === */
.glass-navbar {
  background: rgba(15, 10, 26, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glow);
  transition: all 0.3s ease;
}

.glass-navbar.scrolled {
  background: rgba(15, 10, 26, 0.92);
  box-shadow: 0 4px 30px rgba(109, 40, 217, 0.15);
}

/* === 霓虹发光文字 === */
.neon-text {
  text-shadow:
    0 0 10px rgba(109, 40, 217, 0.8),
    0 0 30px rgba(109, 40, 217, 0.5),
    0 0 60px rgba(109, 40, 217, 0.3),
    0 0 100px rgba(139, 92, 246, 0.2);
}

.neon-text-sm {
  text-shadow:
    0 0 8px rgba(109, 40, 217, 0.6),
    0 0 20px rgba(109, 40, 217, 0.3);
}

/* === 霓虹发光按钮 === */
.btn-purple {
  background: linear-gradient(135deg, #6D28D9, #8B5CF6);
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 0 20px rgba(109, 40, 217, 0.4), 0 4px 15px rgba(109, 40, 217, 0.3);
}

.btn-purple:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(109, 40, 217, 0.6), 0 8px 25px rgba(109, 40, 217, 0.4);
  background: linear-gradient(135deg, #7C3AED, #A78BFA);
}

.btn-outline-glow {
  background: transparent;
  color: #C4B5FD;
  border: 2px solid rgba(109, 40, 217, 0.6);
  padding: 14px 36px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(109, 40, 217, 0.2), inset 0 0 10px rgba(109, 40, 217, 0.1);
}

.btn-outline-glow:hover {
  background: rgba(109, 40, 217, 0.15);
  border-color: rgba(139, 92, 246, 0.9);
  box-shadow: 0 0 30px rgba(109, 40, 217, 0.4), inset 0 0 20px rgba(109, 40, 217, 0.15);
  color: #fff;
  transform: translateY(-2px);
}

/* === 玻璃卡片 === */
.glass-card {
  background: rgba(26, 16, 48, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.glass-card:hover {
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 30px rgba(109, 40, 217, 0.2), 0 8px 32px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
  background: rgba(30, 18, 53, 0.85);
}

.glass-card:hover::before {
  opacity: 1;
}

/* === 统计数字渐变文字 === */
.stat-number {
  background: linear-gradient(135deg, #8B5CF6, #C4B5FD, #A78BFA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 800;
}

/* === 图标发光环 === */
.icon-glow-ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(109, 40, 217, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.4s ease;
}

.icon-glow-ring::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(109, 40, 217, 0.3);
  opacity: 0;
  transition: all 0.4s ease;
}

.glass-card:hover .icon-glow-ring {
  background: rgba(109, 40, 217, 0.25);
  box-shadow: 0 0 25px rgba(109, 40, 217, 0.3);
}

.glass-card:hover .icon-glow-ring::after {
  opacity: 1;
  inset: -6px;
  border-color: rgba(139, 92, 246, 0.5);
}

/* === Hero区域粒子背景 === */
.hero-section {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(109, 40, 217, 0.15) 0%, transparent 70%),
              radial-gradient(ellipse at 80% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 60%),
              linear-gradient(180deg, #0F0A1A 0%, #1A1030 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(1px 1px at 10% 15%, rgba(139, 92, 246, 0.4), transparent),
    radial-gradient(1px 1px at 25% 35%, rgba(139, 92, 246, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 40% 20%, rgba(167, 139, 250, 0.5), transparent),
    radial-gradient(1px 1px at 55% 45%, rgba(139, 92, 246, 0.3), transparent),
    radial-gradient(1px 1px at 70% 15%, rgba(167, 139, 250, 0.35), transparent),
    radial-gradient(1.5px 1.5px at 85% 30%, rgba(139, 92, 246, 0.4), transparent),
    radial-gradient(1px 1px at 15% 65%, rgba(139, 92, 246, 0.25), transparent),
    radial-gradient(1px 1px at 45% 75%, rgba(167, 139, 250, 0.35), transparent),
    radial-gradient(1px 1px at 65% 60%, rgba(139, 92, 246, 0.3), transparent),
    radial-gradient(1.5px 1.5px at 90% 70%, rgba(167, 139, 250, 0.4), transparent),
    radial-gradient(1px 1px at 30% 85%, rgba(139, 92, 246, 0.2), transparent),
    radial-gradient(1px 1px at 75% 80%, rgba(139, 92, 246, 0.25), transparent),
    radial-gradient(2px 2px at 50% 50%, rgba(167, 139, 250, 0.5), transparent);
  pointer-events: none;
}

/* Hero产品图容器 */
.hero-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 40px rgba(109, 40, 217, 0.3), 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(109, 40, 217, 0.3);
}

.hero-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  box-shadow: inset 0 0 40px rgba(109, 40, 217, 0.2);
  pointer-events: none;
}

/* === 手风琴FAQ === */
.faq-item {
  border: 1px solid var(--border-glow);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: rgba(26, 16, 48, 0.5);
}

.faq-item.active {
  border-color: rgba(139, 92, 246, 0.6);
  box-shadow: 0 0 20px rgba(109, 40, 217, 0.15);
  background: rgba(30, 18, 53, 0.8);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  color: #C4B5FD;
}

.faq-icon {
  font-size: 14px;
  transition: transform 0.3s ease;
  color: #8B5CF6;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 24px 20px;
}

/* === CTA区域底部发光 === */
.cta-section {
  position: relative;
  background: linear-gradient(180deg, #1A1030 0%, rgba(109, 40, 217, 0.08) 50%, #0F0A1A 100%);
}

.cta-inner {
  background: radial-gradient(ellipse at center, rgba(109, 40, 217, 0.12) 0%, transparent 70%);
  border: 1px solid var(--border-glow);
  border-radius: 24px;
  padding: 60px 40px;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.8), transparent);
}

/* === 页脚链接hover === */
.footer-link {
  color: var(--text-muted);
  transition: color 0.3s ease;
  text-decoration: none;
}

.footer-link:hover {
  color: #C4B5FD;
}

/* === 评价卡片 === */
.testimonial-card {
  background: rgba(26, 16, 48, 0.6);
  border: 1px solid var(--border-glow);
  border-radius: 16px;
  padding: 32px;
  transition: all 0.4s ease;
}

.testimonial-card:hover {
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 0 25px rgba(109, 40, 217, 0.15);
  transform: translateY(-3px);
}

/* === 滚动条美化 === */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #0F0A1A;
}

::-webkit-scrollbar-thumb {
  background: rgba(109, 40, 217, 0.4);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(109, 40, 217, 0.6);
}

/* === 淡入动画 === */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === 联系表单 === */
.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(26, 16, 48, 0.6);
  border: 1px solid var(--border-glow);
  border-radius: 10px;
  color: var(--text-primary);
  font-size: 15px;
  transition: all 0.3s ease;
  outline: none;
}

.form-input:focus {
  border-color: rgba(139, 92, 246, 0.7);
  box-shadow: 0 0 20px rgba(109, 40, 217, 0.2);
  background: rgba(30, 18, 53, 0.8);
}

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

.form-label {
  display: block;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
}

/* === 关于页面时间线 === */
.timeline-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--purple-primary);
  box-shadow: 0 0 15px rgba(109, 40, 217, 0.6);
  flex-shrink: 0;
}

.timeline-line {
  width: 2px;
  background: linear-gradient(180deg, rgba(109, 40, 217, 0.4), rgba(139, 92, 246, 0.1));
  flex-grow: 1;
}
