/* ==========================================================================
   CandyTally 极速电竞 (candytally.baby) - 暗夜极光硬核电竞霓虹风
   ========================================================================== */
:root {
  --bg-main: #090a14;
  --bg-subtle: #0e1122;
  --bg-card: #12162b;
  --bg-card-hover: #181d38;
  --primary: #ff1a75;
  --primary-hover: #e00d60;
  --primary-grad: linear-gradient(135deg, #ff1a75 0%, #7b2cbf 100%);
  --accent-cyan: #00f5a0;
  --text-title: #ffffff;
  --text-body: #94a3b8;
  --text-muted: #64748b;
  --border: #232946;
  --border-neon: rgba(255, 26, 117, 0.4);
  --shadow-neon: 0 0 25px rgba(255, 26, 117, 0.25);
  --radius-box: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(255, 26, 117, 0.15) 0%, transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(0, 245, 160, 0.12) 0%, transparent 45%);
  color: var(--text-body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: all 0.25s ease; }
a:hover { color: var(--accent-cyan); }
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Navbar */
.navbar {
  position: sticky; top: 0; z-index: 999;
  background: rgba(9, 10, 20, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand-link { display: inline-flex; align-items: center; gap: 12px; font-size: 20px; font-weight: 800; color: #ffffff; letter-spacing: 0.5px; text-decoration: none; }
.brand-link img { width: 40px; height: 40px; min-width: 40px; border-radius: 8px; border: 1px solid var(--border-neon); object-fit: contain; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav-links li { list-style: none; }
.nav-links a { color: #cbd5e1; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--primary); }
.nav-actions { display: flex; align-items: center; gap: 14px; }

/* Buttons */
.btn-neon-ghost {
  display: inline-block;
  padding: 9px 24px;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-box);
  border: 1px solid var(--border-neon);
  color: #ffffff;
  background: rgba(255, 26, 117, 0.08);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-neon-ghost:hover {
  background: rgba(255, 26, 117, 0.2);
  border-color: var(--primary);
  box-shadow: var(--shadow-neon);
}
.btn-neon {
  display: inline-block;
  padding: 10px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-box);
  background: var(--primary-grad);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-neon);
  transition: all 0.3s ease;
}
.btn-neon:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(255, 26, 117, 0.45);
  color: #ffffff;
}

/* Hero Section */
.hero-section {
  padding: 90px 0 70px;
  text-align: center;
}
.badge-neon {
  display: inline-flex;
  align-items: center;
  padding: 7px 20px;
  background: rgba(255, 26, 117, 0.12);
  border: 1px solid var(--border-neon);
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  border-radius: var(--radius-box);
  margin-bottom: 24px;
}
.hero-h1 {
  font-size: 46px;
  font-weight: 800;
  color: var(--text-title);
  line-height: 1.35;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}
.theme-accent {
  background: linear-gradient(135deg, #ff1a75 0%, #00f5a0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-desc {
  max-width: 760px;
  margin: 0 auto 36px;
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.8;
}
.hero-cta { display: flex; justify-content: center; gap: 18px; margin-bottom: 50px; }

/* Metrics */
.metrics-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 50px auto 0;
  padding: 28px 24px;
  background: var(--bg-card);
  border-radius: var(--radius-box);
  border: 1px solid var(--border);
}
.metric-item strong { display: block; font-size: 28px; line-height: 1.2; color: var(--accent-cyan); font-weight: 800; font-family: monospace; margin-bottom: 6px; }
.metric-item span { font-size: 13px; color: var(--text-muted); }

/* Section titles */
.section { padding: 90px 0; }
.section-subtle { background: var(--bg-subtle); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-title);
}
.section-title p { color: var(--text-muted); margin-top: 10px; font-size: 15px; }

/* Cards */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-box);
  padding: 36px 28px;
  transition: all 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--primary);
  box-shadow: var(--shadow-neon);
}
.feature-icon {
  width: 56px; height: 56px;
  background: rgba(255, 26, 117, 0.1);
  color: var(--primary);
  border: 1px solid var(--border-neon);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
}
.feature-card h3 { font-size: 19px; color: var(--text-title); margin-bottom: 12px; font-weight: 700; }
.feature-card p { font-size: 14px; color: var(--text-body); line-height: 1.7; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.pricing-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-box);
  padding: 40px 28px;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}
.pricing-box:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 30px rgba(0, 245, 160, 0.2);
}
.pricing-box.featured {
  border-color: var(--primary);
  box-shadow: var(--shadow-neon);
}
.ribbon {
  position: absolute; top: -12px; right: 20px;
  background: var(--primary-grad); color: #fff;
  font-size: 11px; font-weight: 700;
  padding: 3px 12px; border-radius: var(--radius-box);
}
.pricing-box h3 { font-size: 19px; font-weight: 700; color: var(--text-title); margin-bottom: 16px; }
.pricing-val { font-size: 44px; font-weight: 800; color: var(--accent-cyan); margin: 20px 0; font-family: monospace; }
.pricing-val small { font-size: 14px; color: var(--text-muted); font-weight: 400; }
.pricing-feats { list-style: none; margin: 26px 0; padding: 0; text-align: left; font-size: 14px; }
.pricing-feats li { padding: 10px 0; border-bottom: 1px dashed var(--border); color: #cbd5e1; list-style: none; }
.pricing-feats li::before { content: '⚡ '; color: var(--primary); margin-right: 8px; }

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-box);
  padding: 28px;
}
.testi-quote { font-style: normal; color: #cbd5e1; margin-bottom: 18px; font-size: 14px; line-height: 1.7; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 8px; background: var(--primary-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 17px; }
.testi-info h4 { font-size: 15px; color: var(--text-title); margin: 0; font-weight: 700; }
.testi-info span { font-size: 12px; color: var(--accent-cyan); }

/* FAQ */
.faq-grid { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-box); padding: 24px 28px; }
.faq-item h4 { font-size: 17px; color: var(--text-title); margin-bottom: 10px; font-weight: 700; }
.faq-item p { font-size: 14px; color: var(--text-body); line-height: 1.7; }

/* Footer */
.footer { background: #05060b; color: #64748b; padding: 70px 0 35px; font-size: 14px; border-top: 1px solid var(--border); }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 45px; }
.footer h4 { color: #ffffff; font-size: 16px; margin-bottom: 18px; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { margin-bottom: 10px; list-style: none; }
.footer ul li a { color: #94a3b8; text-decoration: none; }
.footer ul li a:hover { color: #ffffff; }
.footer-bot { border-top: 1px solid rgba(255, 255, 255, 0.08); padding-top: 28px; text-align: center; font-size: 13px; }

@media (max-width: 868px) {
  .nav-links { display: none; }
  .hero-h1 { font-size: 32px; }
  .metrics-strip { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .feature-grid, .pricing-grid, .testi-grid, .footer-top { grid-template-columns: 1fr; }
}
