/* ==========================================================================
   闪跃 (FlashLeap) - 极速代理/网络加速器 官方落地页样式表
   特点: 原生 CSS，零外部依赖，极速秒开，响应式适配，常亮爆闪酷炫紫雷背景
   ========================================================================== */

:root {
  --bg-main: #060812;
  --bg-card: rgba(255, 255, 255, 0.035);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --bg-glass: rgba(10, 14, 26, 0.8);
  --border-color: rgba(255, 255, 255, 0.09);
  --border-accent: rgba(192, 132, 252, 0.45);
  
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  
  --accent-cyan: #00f2fe;
  --accent-blue: #38bdf8;
  --accent-purple: #a855f7;
  --accent-violet: #c084fc;
  --accent-pink: #e879f9;
  
  --accent-gradient: linear-gradient(135deg, #00f2fe 0%, #a855f7 50%, #e879f9 100%);
  --thunder-gradient: linear-gradient(135deg, #c084fc 0%, #a855f7 50%, #6366f1 100%);
  
  --shadow-glow: 0 0 25px rgba(168, 85, 247, 0.35);
  --shadow-thunder: 0 0 35px rgba(232, 121, 249, 0.5);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --container-width: 1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 基础重置 */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  animation: thunder-bg-flash 7s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

/* 酷炫紫雷背景闪烁特效 */
@keyframes thunder-bg-flash {
  0%, 100% {
    background-color: #060812;
  }
  4% {
    background-color: #060812;
  }
  4.5% {
    background-color: #1a0b30;
  }
  5% {
    background-color: #0b0718;
  }
  5.5% {
    background-color: #270e45;
  }
  6.5% {
    background-color: #060812;
  }
  52% {
    background-color: #060812;
  }
  52.5% {
    background-color: #200c38;
  }
  53% {
    background-color: #060812;
  }
}

/* 紫雷 SVG 背景容器 */
.purple-lightning-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  opacity: 0.95;
}

.purple-lightning-svg {
  width: 100%;
  height: 100%;
}

/* 常亮紫雷电弧脉冲 */
.lightning-pulse-1 {
  animation: electric-pulse 3s infinite ease-in-out;
}
.lightning-pulse-2 {
  animation: electric-pulse 4.2s infinite ease-in-out 1.2s;
}
.lightning-pulse-3 {
  animation: electric-pulse 3.6s infinite ease-in-out 0.6s;
}

@keyframes electric-pulse {
  0%, 100% {
    opacity: 0.65;
    stroke-width: 2.5px;
    filter: drop-shadow(0 0 12px #c084fc) drop-shadow(0 0 25px #a855f7);
  }
  20% {
    opacity: 1;
    stroke-width: 3.5px;
    filter: drop-shadow(0 0 20px #e879f9) drop-shadow(0 0 40px #a855f7) drop-shadow(0 0 60px #818cf8);
  }
  22% {
    opacity: 0.35;
  }
  24% {
    opacity: 0.95;
  }
  26% {
    opacity: 0.3;
  }
  28% {
    opacity: 0.85;
  }
  65% {
    opacity: 0.55;
    stroke-width: 2px;
  }
}

/* 大爆闪紫雷 */
.lightning-strike-main {
  animation: main-lightning-flash 5s infinite cubic-bezier(0.1, 0.8, 0.2, 1);
}

@keyframes main-lightning-flash {
  0%, 100% {
    opacity: 0.35;
    stroke-width: 2.5px;
  }
  15% {
    opacity: 0.35;
  }
  16% {
    opacity: 1;
    stroke-width: 4.5px;
    filter: drop-shadow(0 0 25px #ffffff) drop-shadow(0 0 45px #e879f9) drop-shadow(0 0 70px #a855f7);
  }
  17.5% {
    opacity: 0.2;
  }
  19% {
    opacity: 1;
  }
  21% {
    opacity: 0.4;
  }
  24% {
    opacity: 0.85;
  }
  35% {
    opacity: 0.35;
  }
}

/* 页面主体内容层 */
.navbar, .hero, .section, .footer, .page-container {
  position: relative;
  z-index: 1;
}

/* 渐变字体 */
.text-gradient {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* 导航栏 */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.9rem 0;
}

.navbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #a855f7 0%, #e879f9 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
  font-size: 1.15rem;
  box-shadow: 0 0 20px rgba(232, 121, 249, 0.6);
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  align-items: center;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent-violet);
  text-shadow: 0 0 12px rgba(192, 132, 252, 0.6);
}

.nav-links a.nav-highlight {
  color: var(--accent-pink);
  font-weight: 700;
  text-shadow: 0 0 12px rgba(232, 121, 249, 0.6);
}

/* CTA 按钮样式 */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: var(--shadow-thunder);
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 45px rgba(232, 121, 249, 0.7);
  color: #ffffff;
  opacity: 0.95;
}

.btn-cta-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

.btn-cta-lg {
  padding: 1.1rem 2.75rem;
  font-size: 1.15rem;
}

/* 主视觉区 (Hero Section) */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
  position: relative;
}

.badge-notice {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid var(--border-accent);
  color: var(--accent-violet);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 750px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 950px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

.stat-item h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-violet);
  margin-bottom: 0.2rem;
  text-shadow: 0 0 12px rgba(192, 132, 252, 0.5);
}

.stat-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* 板块通用 */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title h2 {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-title p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-5px);
  background: var(--bg-card-hover);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-thunder);
}

.feature-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: rgba(168, 85, 247, 0.18);
  color: var(--accent-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.3);
}

.feature-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* 多媒体与 AI 支持专区 */
.media-section {
  background: rgba(255, 255, 255, 0.015);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.media-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  backdrop-filter: blur(10px);
}

.media-box h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.media-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.tag-highlight {
  background: rgba(168, 85, 247, 0.2);
  border-color: rgba(192, 132, 252, 0.5);
  color: var(--accent-pink);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.35);
}

/* 优惠码 Banner */
.coupon-banner {
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.18) 0%, rgba(232, 121, 249, 0.18) 100%);
  border: 1px solid rgba(192, 132, 252, 0.45);
  border-radius: var(--radius-md);
  padding: 1.25rem 2rem;
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-glow);
}

.coupon-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.coupon-info .icon {
  font-size: 1.8rem;
}

.coupon-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-primary);
}

.coupon-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.coupon-code-box {
  background: rgba(6, 8, 18, 0.7);
  border: 1px dashed var(--accent-pink);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.coupon-code-box span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.coupon-code-box strong {
  color: var(--accent-pink);
  font-family: monospace;
  font-size: 1.2rem;
  letter-spacing: 1px;
}

/* 价格套餐表 (9 套餐网格) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.pricing-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.pricing-card.popular {
  background: linear-gradient(180deg, rgba(168, 85, 247, 0.12) 0%, rgba(10, 14, 26, 0.88) 100%);
  border: 2px solid var(--accent-pink);
  box-shadow: var(--shadow-thunder);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-gradient);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(232, 121, 249, 0.6);
}

.plan-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.plan-desc {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  min-height: 2.4em;
}

.plan-price {
  font-size: 2.25rem;
  font-weight: 900;
  margin-bottom: 1.25rem;
}

.plan-price span {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.plan-features {
  list-style: none;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.plan-features li {
  padding: 0.5rem 0;
  color: var(--text-secondary);
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
}

.plan-features li::before {
  content: "⚡";
  color: var(--accent-pink);
  font-size: 0.8rem;
}

/* 用户真实意见 */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.review-stars {
  color: #fbbf24;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.review-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.avatar {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  background: var(--thunder-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #ffffff;
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.5);
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
}

.author-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 常见问题 (FAQ) */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

details {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

details[open] {
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.25);
}

summary {
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "⚡";
  font-size: 1.1rem;
  color: var(--accent-pink);
  transition: transform 0.3s ease;
}

details[open] summary::after {
  content: "⚡";
  transform: rotate(180deg);
}

details p {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* 页脚 */
.footer {
  border-top: 1px solid var(--border-color);
  background: #04050a;
  padding: 3rem 0;
  margin-top: 4rem;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 600;
  transition: var(--transition);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
}

.footer-nav a:hover {
  color: var(--accent-pink);
  background: rgba(255, 255, 255, 0.03);
}

.footer-copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* 独立子页面样式 */
.page-container {
  padding: 5rem 0;
  max-width: 900px;
  margin: 0 auto;
}

.page-header {
  margin-bottom: 3rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
}

.content-block {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
}

.content-block h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent-pink);
  margin-bottom: 1rem;
}

.content-block p, .content-block ul {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.content-block ul {
  padding-left: 1.5rem;
}

.back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: var(--accent-pink);
  font-weight: 600;
}

/* 响应式媒体查询 (@media) */
@media (max-width: 992px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .features-grid, .pricing-grid, .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .media-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .navbar-inner {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    padding: 3.5rem 0 2.5rem;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.25;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .btn-cta {
    width: 100%;
    min-height: 52px;
    font-size: 1.05rem;
  }

  .hero-stats {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1.25rem;
  }

  .stat-item h3 {
    font-size: 1.4rem;
  }

  .features-grid, .pricing-grid, .reviews-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.popular {
    transform: none;
  }

  .coupon-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav {
    flex-direction: column;
    gap: 1rem;
  }

  .page-container {
    padding: 2.5rem 1rem;
  }

  .content-block {
    padding: 1.5rem;
  }
}
