/* ==========================================================================
   大哥云机场官网 dageyunjc.sbs - 新潮白紫科技机场风 CSS
   ========================================================================== */

:root {
  --primary: #7c3aed;
  --primary-hover: #6d28d9;
  --primary-light: #f5f3ff;
  --primary-border: #ddd6fe;
  --purple-accent: #8b5cf6;
  --dark-violet: #4c1d95;
  --navy: #1e1b4b;
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  --accent-orange: #d97706;
  --notice-bg: #ecfdf5;
  --notice-border: #a7f3d0;
  --notice-text: #065f46;
  --shadow-sm: 0 2px 8px rgba(124, 58, 237, 0.04);
  --shadow-md: 0 10px 30px -10px rgba(124, 58, 237, 0.08);
  --shadow-hover: 0 20px 40px -10px rgba(124, 58, 237, 0.16);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --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 {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* 动态紫色 Canvas 背景 */
#tech-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  z-index: 1000;
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--purple-accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  font-size: 15px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-hover));
  color: #fff;
  box-shadow: 0 4px 16px rgba(124, 58, 237, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.45);
  background: linear-gradient(135deg, var(--primary-hover), var(--dark-violet));
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1px solid rgba(124, 58, 237, 0.4);
}

.btn-outline:hover {
  background: var(--primary-light);
  border-color: var(--primary);
}

/* Hero */
.hero {
  padding: 140px 0 60px;
  position: relative;
  background: radial-gradient(circle at 50% 20%, rgba(124, 58, 237, 0.06) 0%, transparent 60%);
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 18px;
  background: rgba(124, 58, 237, 0.08);
  border: 1px solid rgba(124, 58, 237, 0.2);
  border-radius: 30px;
  font-size: 14px;
  color: var(--primary-hover);
  font-weight: 600;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary), var(--purple-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 19px;
  color: var(--text-muted);
  max-width: 760px;
  margin: 0 auto 36px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 36px;
}

/* 客户端兼容性徽标栏 Platform Badges */
.platform-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.platform-pill span {
  color: var(--primary);
  font-weight: 700;
}

/* Section 通用 Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.section-tag {
  color: var(--primary);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.5px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 12px;
}

/* 性能对撞对比表 (全面替换旧版3x2 6宫格!) */
.comparison-section {
  padding: 80px 0;
}

.comparison-table-wrapper {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th {
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 800;
  color: var(--navy);
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
}

.comparison-table th.col-highlight {
  background: var(--primary-light);
  color: var(--primary-hover);
  border-bottom: 2px solid var(--primary);
}

.comparison-table td {
  padding: 18px 24px;
  font-size: 15px;
  color: var(--text-main);
  border-bottom: 1px solid #f1f5f9;
}

.comparison-table td.col-highlight {
  background: rgba(245, 243, 255, 0.4);
  font-weight: 700;
  color: var(--dark-violet);
}

.badge-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary);
  font-weight: 700;
}

.badge-cross {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ef4444;
}

/* 全球节点拓扑网格 Global Nodes Section */
.nodes-section {
  padding: 80px 0;
  background: linear-gradient(180deg, rgba(245, 243, 255, 0.4) 0%, rgba(248, 250, 252, 1) 100%);
}

.nodes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.node-card {
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.node-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

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

.node-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

.node-type-badge {
  background: var(--primary-light);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

.node-card-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 价格套餐区域 (精确还原截图) */
.pricing-section {
  padding: 80px 0;
}

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

.price-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.price-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(124, 58, 237, 0.3);
}

.price-header {
  padding: 24px 28px 16px;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
}

.price-name {
  font-size: 16px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 12px;
}

.price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  color: var(--navy);
}

.price-currency {
  font-size: 24px;
  font-weight: 800;
}

.price-number {
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}

.price-period {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 6px;
}

.price-body {
  padding: 24px 28px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.notice-box {
  background-color: var(--notice-bg);
  border: 1px solid var(--notice-border);
  color: var(--notice-text);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #334155;
}

.icon-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid rgba(124, 58, 237, 0.4);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}

.icon-check-fill {
  background: #7c3aed;
  border-color: #7c3aed;
  color: #fff;
}

.icon-warning {
  color: var(--accent-orange);
  font-weight: bold;
}

.text-warning {
  color: var(--accent-orange);
  font-weight: 600;
}

.price-footer {
  padding: 0 28px 24px;
  margin-top: auto;
}

.btn-card-buy {
  width: 100%;
  padding: 12px 0;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  background: #7c3aed;
  color: #ffffff;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.btn-card-buy:hover {
  background: #6d28d9;
}

/* 使用教程板块 Tutorials Section */
.tutorials-section {
  padding: 80px 0;
  background: #ffffff;
}

.tutorials-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tutorial-card {
  background: var(--bg-main);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.tutorial-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.tutorial-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 12px;
}

.tutorial-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.tutorial-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.tutorial-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-top: auto;
}

/* 文章专栏 Articles Section */
.articles-section {
  padding: 80px 0;
}

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

.article-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(124, 58, 237, 0.3);
}

.article-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--primary-light);
  color: var(--primary-hover);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
  width: fit-content;
}

.article-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 12px;
}

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

.article-title a:hover {
  color: var(--primary);
}

.article-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: #94a3b8;
}

.article-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.article-link:hover {
  text-decoration: underline;
}

/* 最下方：用户评价 Reviews Section */
.reviews-section {
  padding: 80px 0;
  background: #ffffff;
}

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

.review-card {
  background: var(--bg-main);
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-stars {
  color: #f59e0b;
  font-size: 16px;
  margin-bottom: 14px;
}

.review-text {
  font-size: 15px;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 20px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 12px;
}

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--purple-accent));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
}

.user-info .user-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.user-info .user-tag {
  font-size: 12px;
  color: var(--text-muted);
}

/* 最下方：FAQ 手风琴 */
.faq-section {
  padding: 80px 0;
  background: var(--bg-main);
}

.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  padding: 20px 24px;
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.faq-question:hover {
  color: var(--primary);
}

.faq-toggle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: var(--transition);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
  background: var(--primary);
  color: #ffffff;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

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

/* Banner CTA */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--dark-violet), #2e1065);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.cta-title {
  font-size: 38px;
  font-weight: 900;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 18px;
  color: #ddd6fe;
  max-width: 640px;
  margin: 0 auto 36px;
}

/* Footer */
.footer {
  background: #140727;
  color: #94a3b8;
  padding: 60px 0 30px;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  color: #ffffff;
  margin-bottom: 16px;
}

.footer-desc {
  line-height: 1.7;
  max-width: 320px;
}

.footer-title {
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #c4b5fd;
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 13px;
}

/* 浮动注册按钮 */
.floating-cta {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  background: linear-gradient(135deg, var(--primary), var(--purple-accent));
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.floating-cta:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 12px 32px rgba(124, 58, 237, 0.5);
}

/* 文章页布局 Article Page Layout */
.article-page {
  padding: 120px 0 80px;
  background: var(--bg-main);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}

.article-content-wrapper {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

.article-main {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.article-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f1f5f9;
}

.article-header h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 16px;
}

.article-post-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: var(--text-muted);
}

.article-body-content {
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
}

.article-body-content h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin: 36px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
}

.article-body-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-violet);
  margin: 28px 0 12px;
}

.article-body-content p {
  margin-bottom: 18px;
}

.article-body-content ul, .article-body-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.article-body-content li {
  margin-bottom: 8px;
}

.article-cta-box {
  background: linear-gradient(135deg, #f5f3ff, #ede9fe);
  border: 1px solid #ddd6fe;
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 36px 0;
  text-align: center;
}

.article-cta-box h4 {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark-violet);
  margin-bottom: 8px;
}

.article-cta-box p {
  font-size: 14px;
  color: #374151;
  margin-bottom: 16px;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: #ffffff;
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.widget-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary-light);
}

.widget-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.widget-links a {
  color: var(--text-main);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
  transition: var(--transition);
}

.widget-links a:hover {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .pricing-grid, .articles-grid, .reviews-grid, .tutorials-grid, .nodes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .article-content-wrapper {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .pricing-grid, .articles-grid, .reviews-grid, .tutorials-grid, .nodes-grid, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-links {
    display: none;
  }
  .hero-title {
    font-size: 32px;
  }
  .article-main {
    padding: 24px;
  }
}
