/* 基础样式与变量 */
:root {
  --bg: #0a0e1a;
  --card: #0f1419;
  --muted: #8b9dc3;
  --text: #e8f0ff;
  --brand: #00d4ff;
  --brand-2: #0099cc;
  --accent: #00ff88;
  --danger: #ff4757;
  --shadow: 0 10px 30px rgba(0,0,0,.4);
  --radius: 14px;
  --container: 1120px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, "Noto Sans CJK SC", sans-serif;
  color: var(--text);
  background: 
    radial-gradient(1200px 600px at 20% -10%, rgba(0,212,255,.12), transparent),
    radial-gradient(1200px 600px at 120% 10%, rgba(0,153,204,.08), transparent),
    radial-gradient(800px 400px at 50% 50%, rgba(0,255,136,.06), transparent),
    var(--bg);
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(2px 2px at 20px 30px, rgba(0,212,255,.4), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(0,153,204,.5), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(0,255,136,.3), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(0,212,255,.6), transparent),
    radial-gradient(2px 2px at 160px 30px, rgba(0,255,255,.3), transparent);
  background-repeat: repeat;
  background-size: 200px 100px;
  animation: twinkle 4s ease-in-out infinite;
  pointer-events: none;
  z-index: -1;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0; z-index: 50;
  background: rgba(11,13,18,.6);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand .logo { 
  font-size: 22px; 
  animation: orbit 8s linear infinite;
  filter: drop-shadow(0 0 8px rgba(0,212,255,.4));
}
.brand .name { 
  letter-spacing: .5px; 
  background: linear-gradient(90deg, var(--brand), var(--brand-2), #00ffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes orbit {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes glow {
  from { filter: drop-shadow(0 0 5px rgba(0,212,255,.6)); }
  to { filter: drop-shadow(0 0 15px rgba(0,212,255,.9)); }
}
.nav a { color: var(--text); text-decoration: none; margin-left: 18px; opacity: .8; }
.nav a:hover { opacity: 1; }

.section { padding: 56px 0; }
.section-title { font-size: 28px; margin: 0 0 8px; }
.section-subtitle { margin: 0 0 24px; color: var(--muted); }

/* 轮播 */
.carousel {
  position: relative;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.carousel-track { 
  display: flex; 
  transition: transform .5s ease; 
  width: 300%; 
}
.carousel-slide { 
  width: 33.333%; 
  flex-shrink: 0; 
  position: relative; 
  user-select: none; 
}
.carousel-slide img { 
  width: 100%; 
  height: 300px; 
  object-fit: cover; 
  display: block; 
  border-radius: 10px; 
}
.carousel-slide .caption { position: absolute; left: 12px; bottom: 12px; background: rgba(0,0,0,.45); padding: 6px 10px; border-radius: 8px; font-size: 14px; }
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.35); color: #fff; cursor: pointer;
}
.carousel-btn:hover { background: rgba(0,0,0,.5); }
.carousel-btn.prev { left: 12px; }
.carousel-btn.next { right: 12px; }
.carousel-dots { display: flex; gap: 8px; justify-content: center; margin-top: 12px; }
.carousel-dots button { width: 8px; height: 8px; border-radius: 999px; border: none; background: rgba(255,255,255,.3); cursor: pointer; }
.carousel-dots button[aria-selected="true"] { background: linear-gradient(90deg, var(--brand), var(--brand-2)); width: 20px; }

/* 功能详情 */
.features-detail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.feature-item {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}
.feature-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.feature-item p {
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

/* 价格卡片 */
.section-pricing { padding-top: 24px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 20px;
  position: relative;
  transition: all 0.3s ease;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(91,155,255,.1), transparent);
  transition: left 0.5s ease;
}

.card:hover::before {
  left: 100%;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(91,155,255,.15);
}
.card .card-header { font-weight: 700; margin-bottom: 6px; }
.card .price { font-size: 28px; margin: 8px 0 12px; }
.card .price .amount { font-weight: 800; background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card .price .cycle { color: var(--muted); font-size: 16px; margin-left: 4px; }
.card .features { margin: 0; padding-left: 18px; color: var(--muted); }
.card.featured { outline: 1px solid rgba(91,155,255,.35); box-shadow: 0 10px 30px rgba(91,155,255,.15); }
.card .badge { position: absolute; top: 12px; right: 12px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); padding: 4px 8px; border-radius: 999px; font-size: 12px; }
.card .discount { 
  background: linear-gradient(90deg, var(--accent), #16a34a); 
  color: white; 
  padding: 4px 8px; 
  border-radius: 999px; 
  font-size: 12px; 
  font-weight: 600; 
  text-align: center; 
  margin: 8px 0; 
  display: inline-block; 
}

/* 服务说明 */
.service-note {
  text-align: center;
  margin-top: 24px;
  padding: 16px;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
}
.service-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

/* 方案选择与支付 */
.section-plans { padding-top: 24px; }
.plan-selector { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.plan-option { display: inline-flex; align-items: center; gap: 8px; background: var(--card); border: 1px solid rgba(255,255,255,.08); padding: 10px 12px; border-radius: 999px; cursor: pointer; }
.plan-option input { accent-color: #6ea8ff; }
.payment { display: grid; grid-template-columns: 240px 1fr; gap: 16px; align-items: center; }
.qrcode { width: 240px; height: 240px; background: #0f131a; border: 1px dashed rgba(255,255,255,.2); border-radius: 12px; display: grid; place-items: center; }
.qrcode img { width: 220px; height: 220px; object-fit: contain; display: block; }
.payment-tips { color: var(--muted); }
.payment-tips .small { font-size: 12px; opacity: .8; }

.site-footer { border-top: 1px solid rgba(255,255,255,.06); margin-top: 40px; }
.footer-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.footer-inner a { color: var(--muted); text-decoration: none; margin-left: 12px; }
.footer-inner a:hover { color: var(--text); }

/* 首页样式 */
.hero {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, rgba(0,212,255,.08), rgba(0,153,204,.06));
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(400px 400px at 20% 20%, rgba(0,212,255,.12), transparent),
    radial-gradient(400px 400px at 80% 80%, rgba(0,153,204,.10), transparent);
  pointer-events: none;
}

.hero-title {
  font-size: 48px;
  font-weight: 800;
  margin: 0 0 16px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2), #00ffff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--muted);
  margin: 0 0 40px;
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 40px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 8px;
}

.stat-label {
  color: var(--muted);
  font-size: 14px;
}

/* 产品展示 */
.section-products {
  padding: 80px 0;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.product-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,212,255,.12), transparent);
  transition: left 0.5s ease;
}

.product-card:hover::before {
  left: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,212,255,.25);
  border-color: rgba(0,212,255,.4);
}

.product-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: block;
}

.product-title {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--text);
}

.product-description {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 20px;
  font-size: 14px;
}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-tag {
  background: rgba(0,212,255,.12);
  color: var(--brand);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

.product-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 16px;
}

.product-cta {
  color: var(--brand);
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s ease;
}

.product-card:hover .product-cta {
  color: var(--brand-2);
}

/* 关于我们 */
.section-about {
  padding: 80px 0;
  background: rgba(255,255,255,.02);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 40px;
}

.about-text p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature-icon {
  font-size: 24px;
  flex-shrink: 0;
}

.about-feature h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.about-feature p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

/* 响应式 */
@media (max-width: 920px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .payment { grid-template-columns: 1fr; }
  .qrcode { margin: 0 auto; }
  .features-detail { grid-template-columns: 1fr; }
  .carousel { max-width: 100%; }
  .carousel-slide img { height: 250px; }
  
  .hero-title { font-size: 36px; }
  .hero-stats { gap: 30px; }
  .products-grid { grid-template-columns: 1fr; }
  .about-content { grid-template-columns: 1fr; gap: 40px; }
}


