/* ==========================================
   闪狐 (FlashFox) - 2.5 绚彩 POP 版 (Vibrant Purple-Blue Mesh + Emojis Theme)
   ========================================== */

:root {
  --bg-primary: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  
  /* 炫彩主渐变：紫罗兰 ➔ 靛紫 ➔ 桃红 */
  --primary: #6366f1;
  --primary-hover: #4f46e5;
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
  --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
  --warm-gradient: linear-gradient(135deg, #ff5500 0%, #ff007f 100%);
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-blue: #2563eb;
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;
  --accent-orange: #f97316;
  
  --primary-light: rgba(99, 102, 241, 0.09);
  --primary-border: rgba(99, 102, 241, 0.25);
  --primary-shadow: rgba(99, 102, 241, 0.25);
  
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dark: #94a3b8;
  
  --border-color: #e2e8f0;
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 28px -4px rgba(99, 102, 241, 0.1);
  --shadow-lg: 0 20px 48px -10px rgba(139, 92, 246, 0.18);
  --shadow-pop: 0 14px 36px rgba(236, 72, 153, 0.25);
  
  --max-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;
}

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

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

img, svg {
  vertical-align: middle;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 110px 0;
}

@media (max-width: 768px) {
  .section-padding { padding: 65px 0; }
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 22px;
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(236, 72, 153, 0.12) 100%);
  color: var(--accent-purple);
  border: 1.5px solid rgba(139, 92, 246, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.15);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 18px;
  color: var(--text-main);
  letter-spacing: -0.8px;
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.12rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .section-title { font-size: 1.85rem; }
}

/* 4. 按钮规范 - Popping Gradients */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: var(--radius-full);
  cursor: pointer;
  border: none;
  outline: none;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.38);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 35px rgba(236, 72, 153, 0.45);
  filter: brightness(1.08);
}

.btn-secondary {
  background: var(--bg-surface);
  color: var(--text-main);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 18px 44px;
  font-size: 1.15rem;
}

.btn-block { width: 100%; }

/* 5. 悬浮胶囊 Top Navigation */
.header-wrapper {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.header-pill {
  width: 100%;
  max-width: 1080px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-full);
  height: 68px;
  padding: 0 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 36px rgba(99, 102, 241, 0.12);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--text-main);
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: var(--primary-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px var(--primary-shadow);
}

.logo-text span {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 700;
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--accent-pink);
  transform: translateY(-1px);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
}

/* 6. Centered Hero + Multi-color Mesh Gradient */
.hero {
  padding-top: 175px;
  padding-bottom: 95px;
  background: 
    radial-gradient(circle at 20% 20%, rgba(236, 72, 153, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 50% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 40%),
    var(--bg-primary);
  text-align: center;
}

.hero-stacked-container {
  max-width: 960px;
  margin: 0 auto;
}

.hero-headline {
  font-size: 3.8rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text-main);
  letter-spacing: -1.2px;
}

.hero-subheadline {
  font-size: 1.22rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.75;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

/* App Shell Window */
.app-shell-showcase {
  background: var(--bg-surface);
  border: 2px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 26px;
  text-align: left;
  position: relative;
  overflow: hidden;
  margin-top: 20px;
}

.app-shell-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.window-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.app-shell-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent-purple);
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(236, 72, 153, 0.1));
  padding: 6px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.app-shell-body-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.app-node-card {
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: var(--transition);
  animation: card-float 4s ease-in-out infinite alternate;
}

.app-node-card:nth-child(2) { animation-delay: 1.3s; }
.app-node-card:nth-child(3) { animation-delay: 2.6s; }

.app-node-card:hover {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

@keyframes card-float {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-6px); }
}

.node-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.node-title-group {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 0.95rem;
}

.ping-tag {
  color: var(--accent-green);
  font-weight: 800;
  font-size: 0.88rem;
  background: rgba(16, 185, 129, 0.12);
  padding: 2px 10px;
  border-radius: var(--radius-full);
}

.node-card-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

@media (max-width: 868px) {
  .hero-headline { font-size: 2.4rem; }
  .hero-subheadline { font-size: 1.05rem; }
  .app-shell-body-grid { grid-template-columns: 1fr; }
}

/* 7. 2列不对称功能画廊 (Popping Matrix Tags) */
.features-gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: center;
}

.gallery-big-card {
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-md);
}

.gallery-title-box {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.gallery-icon-box {
  width: 54px;
  height: 54px;
  background: var(--warm-gradient);
  color: #fff;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(255, 85, 0, 0.3);
}

.matrix-tags-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

/* 炫彩 POP 标签款式 */
.matrix-tag-pill {
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  text-align: center;
  font-weight: 800;
  font-size: 0.9rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.tag-red { background: rgba(244, 63, 94, 0.1); color: #f43f5e; border: 1.5px solid rgba(244, 63, 94, 0.25); }
.tag-red:hover { background: #f43f5e; color: #fff; transform: translateY(-2px); }

.tag-blue { background: rgba(37, 99, 235, 0.1); color: #2563eb; border: 1.5px solid rgba(37, 99, 235, 0.25); }
.tag-blue:hover { background: #2563eb; color: #fff; transform: translateY(-2px); }

.tag-green { background: rgba(16, 185, 129, 0.1); color: #10b981; border: 1.5px solid rgba(16, 185, 129, 0.25); }
.tag-green:hover { background: #10b981; color: #fff; transform: translateY(-2px); }

.tag-purple { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; border: 1.5px solid rgba(139, 92, 246, 0.25); }
.tag-purple:hover { background: #8b5cf6; color: #fff; transform: translateY(-2px); }

.tag-amber { background: rgba(245, 158, 11, 0.1); color: #d97706; border: 1.5px solid rgba(245, 158, 11, 0.25); }
.tag-amber:hover { background: #d97706; color: #fff; transform: translateY(-2px); }

.gallery-timeline-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.timeline-item-card {
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-item-card:hover {
  border-color: var(--accent-purple);
  transform: translateX(6px);
  box-shadow: var(--shadow-lg);
}

.timeline-head {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 8px;
}

.timeline-step {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  background: var(--primary-gradient);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px var(--primary-shadow);
}

@media (max-width: 992px) {
  .features-gallery-grid { grid-template-columns: 1fr; }
  .matrix-tags-wrapper { grid-template-columns: repeat(2, 1fr); }
}

/* 8. Bento Box 拼图布局式套餐价格表 */
.bento-pricing-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 28px;
}

.bento-card-popular {
  grid-column: span 6;
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.06) 0%, #ffffff 100%);
  border: 2.5px solid var(--accent-purple);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-lg);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card-sub {
  grid-column: span 3;
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 38px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.bento-card-sub:hover {
  border-color: var(--primary);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.pricing-amount-num {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--text-main);
}

.bento-popular-tag {
  position: absolute;
  top: -16px;
  left: 36px;
  background: var(--warm-gradient);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(255, 0, 127, 0.35);
}

@media (max-width: 992px) {
  .bento-card-popular { grid-column: span 12; }
  .bento-card-sub { grid-column: span 6; }
}

@media (max-width: 640px) {
  .bento-card-sub { grid-column: span 12; }
}

/* 9. SEO 文章知识库 Magazine 卡片网格 */
.articles-section {
  background: var(--bg-surface);
  border-top: 1.5px solid var(--border-color);
  border-bottom: 1.5px solid var(--border-color);
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  background: var(--bg-primary);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-purple);
  background: var(--bg-surface);
  box-shadow: var(--shadow-lg);
}

.article-category {
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
  background: var(--primary-gradient);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px var(--primary-shadow);
}

.article-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1.45;
  margin-bottom: 12px;
}

.article-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1.5px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-dark);
}

.article-link {
  color: var(--accent-purple);
  font-weight: 800;
}

@media (max-width: 992px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .articles-grid { grid-template-columns: 1fr; }
}

/* 10. 双栏并排拆分评价与 FAQ */
.split-reviews-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.split-column {
  display: flex;
  flex-direction: column;
}

.reviews-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-mini-card {
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.review-mini-card:hover {
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-md);
}

.review-stars { color: #f59e0b; margin-bottom: 8px; font-size: 1.1rem; }

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.faq-item[open] { border-color: var(--accent-purple); }

.faq-question {
  padding: 18px 22px;
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-answer {
  padding: 0 22px 18px 22px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

@media (max-width: 992px) {
  .split-reviews-faq-grid { grid-template-columns: 1fr; }
}

/* 11. 浮动卡片页脚 */
.footer {
  padding: 60px 0 30px 0;
  background: var(--bg-primary);
}

.footer-floating-card {
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 48px;
  box-shadow: var(--shadow-md);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1.5px solid var(--border-color);
  flex-wrap: wrap;
  gap: 20px;
}

.footer-nav-four {
  display: flex;
  gap: 28px;
  align-items: center;
  flex-wrap: wrap;
}

.footer-nav-link {
  font-size: 1.02rem;
  font-weight: 800;
  color: var(--text-main);
  transition: var(--transition);
}

.footer-nav-link:hover {
  color: var(--accent-pink);
}

.footer-pbn-links {
  text-align: center;
  margin: 20px 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-bottom {
  text-align: center;
  color: var(--text-dark);
  font-size: 0.88rem;
  font-weight: 600;
}

/* Subpage styling */
.subpage-hero {
  padding-top: 155px;
  padding-bottom: 48px;
  background: radial-gradient(circle at 50% 0%, rgba(236, 72, 153, 0.1) 0%, rgba(99, 102, 241, 0.08) 50%, var(--bg-primary) 100%);
  border-bottom: 1.5px solid var(--border-color);
}

.subpage-body { padding: 60px 0; }

.content-card {
  background: var(--bg-surface);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 38px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.content-card h2 {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.content-card h2::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 18px;
  background: var(--primary-gradient);
  border-radius: 2px;
}

.content-card p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.content-card ul {
  margin-left: 20px;
  margin-bottom: 14px;
}

.content-card li {
  color: var(--text-muted);
  line-height: 1.8;
  list-style-type: disc;
  margin-bottom: 6px;
}

.highlight-box {
  background: var(--primary-light);
  border: 1.5px solid var(--primary-border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  margin: 18px 0;
  color: var(--text-main);
}
