/* ==========================================================================
   青云梯 (QingYunTi) - 极速网络加速器 官方落地页样式表
   Design: Modern Clean Light-Green Aesthetics (Matching Screenshot 100%)
   Encoding: UTF-8
   ========================================================================== */

:root {
  --primary: #1b9868;
  --primary-hover: #147a52;
  --primary-dark: #0f6140;
  --primary-light: #d8f3e5;
  --primary-subtle: #effaf4;
  --accent-green: #0fa968;
  
  --bg-main: #ffffff;
  --bg-hero: #f4f8f5;
  --bg-card: #ffffff;
  --bg-subtle: #f8faf9;
  
  --text-dark: #1f2937;
  --text-body: #374151;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  
  --border-color: #e5e7eb;
  --border-green: rgba(27, 152, 104, 0.25);
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
  --shadow-green: 0 10px 25px -5px rgba(27, 152, 104, 0.3);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

/* Header & Navigation (Matching Screenshot) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

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

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s ease;
}

.site-logo-img {
  height: 44px;
  width: auto;
  display: block;
  object-fit: contain;
}

.logo-container:active {
  transform: scale(0.96);
}

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

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: #4b5563;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary);
  background-color: var(--primary-subtle);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-login {
  font-size: 14px;
  font-weight: 600;
  color: #4b5563;
  padding: 8px 16px;
  transition: var(--transition);
}

.btn-login:hover {
  color: var(--primary);
}

.btn-cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #288158;
  background: linear-gradient(135deg, #288158 0%, #1b7a4e 100%);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(40, 129, 88, 0.3);
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-cta-primary:hover {
  background: linear-gradient(135deg, #1f6b47 0%, #155b39 100%);
  box-shadow: 0 6px 20px rgba(40, 129, 88, 0.45);
  transform: translateY(-2px);
}

.btn-cta-recommend {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #0284c7, #2563eb);
  color: #ffffff !important;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  transition: var(--transition);
}

.btn-cta-recommend:hover {
  background: linear-gradient(135deg, #1d4ed8, #1e40af);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  transform: translateY(-2px);
}

.btn-cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #ffffff;
  color: var(--text-dark) !important;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 22px;
  border-radius: var(--radius-md);
  border: 1px solid #d1d5db;
  transition: var(--transition);
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.btn-cta-secondary:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
  background-color: var(--primary-subtle);
  transform: translateY(-2px);
}

/* Hero Section (Matching Screenshot) */
.hero-section {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, #f3f7f4 0%, #f7fbf8 100%);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #d9edd8;
  color: #1b633f;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.dot-green {
  width: 8px;
  height: 8px;
  background-color: #288158;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(40, 129, 88, 0.25);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 129, 88, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(40, 129, 88, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(40, 129, 88, 0); }
}

.hero-title {
  font-size: 46px;
  line-height: 1.2;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero-title .highlight {
  color: #1b9868;
  display: block;
}

.hero-brand {
  font-size: 20px;
  font-weight: 800;
  color: #4b5563;
  margin-bottom: 16px;
}

.hero-desc {
  font-size: 15px;
  color: var(--text-body);
  margin-bottom: 30px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-features-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.feature-pill {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Hero Right Side Card with Photo (Matching Screenshot) */
.hero-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background: #ffffff;
  border: 1px solid rgba(40, 129, 88, 0.15);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-xl);
  transition: transform 0.5s ease;
}

.hero-visual:hover img {
  transform: scale(1.02);
}

/* Page Sections */
.section {
  padding: 90px 0;
  scroll-margin-top: 80px;
}

.bg-subtle {
  background-color: var(--bg-subtle);
}

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

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

.section-title {
  font-size: 36px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Core Advantages Cards */
.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.advantage-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #1b9868, #288158);
  opacity: 0;
  transition: var(--transition);
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-green);
}

.advantage-card:hover::before {
  opacity: 1;
}

.card-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--primary-subtle);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 28px;
}

.card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.card-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
}

/* Streaming & AI Cards */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.tech-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: var(--transition);
}

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

.tech-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.tech-info h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
}

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

/* Pricing Table */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.pricing-card.popular {
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-green);
  transform: scale(1.03);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #1b9868, #147a52);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
}

.pricing-header {
  text-align: center;
  margin-bottom: 24px;
}

.plan-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.plan-price {
  font-size: 36px;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1;
}

.plan-price span {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.plan-features {
  list-style: none;
  margin-bottom: 30px;
}

.plan-features li {
  font-size: 14px;
  color: var(--text-body);
  padding: 8px 0;
  border-bottom: 1px dashed #f3f4f6;
  display: flex;
  align-items: center;
  gap: 8px;
}

.plan-features li svg {
  width: 16px;
  height: 16px;
  fill: var(--primary);
  flex-shrink: 0;
}

/* 12 SEO Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

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

.article-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-dark);
  background: var(--primary-light);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  align-self: flex-start;
  margin-bottom: 12px;
}

.article-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.article-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.article-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* FAQ Accordion */
.faq-list {
  max-width: 820px;
  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);
  padding: 24px;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-green);
}

.faq-question {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.faq-question::before {
  content: 'Q.';
  color: var(--primary);
  font-size: 18px;
}

.faq-answer {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  padding-left: 28px;
}

/* User Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

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

.testimonial-text {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.user-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
}

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

/* Footer Section */
.site-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 60px 0 30px;
  font-size: 14px;
  border-top: 1px solid #1e293b;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  margin-bottom: 40px;
  list-style: none;
}

.footer-nav a {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 15px;
  transition: var(--transition);
}

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

.footer-pbn-bar {
  text-align: center;
  padding: 20px 0;
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
  margin-bottom: 30px;
}

.footer-pbn-title {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pbn-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
}

.pbn-link {
  color: #34d399;
  font-weight: 700;
  text-decoration: underline;
  transition: var(--transition);
}

.pbn-link:hover {
  color: #6ee7b7;
}

.footer-bottom {
  text-align: center;
  color: #64748b;
  font-size: 13px;
}

/* Floating Scroll Navigation Arrows */
.floating-scroll-nav {
  position: fixed;
  right: 24px;
  bottom: 40px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.scroll-arrow-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  user-select: none;
}

.scroll-arrow-btn:hover {
  background: var(--primary);
  border-color: var(--primary-light);
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(27, 152, 104, 0.4);
}

.scroll-arrow-btn:active {
  transform: scale(0.92);
}

.scroll-arrow-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Responsive Styles - Mobile First Optimization */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cards-grid-3, .articles-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .pricing-card.popular {
    transform: none;
  }
}

@media (max-width: 768px) {
  .navbar {
    height: 64px;
  }
  .nav-menu {
    display: none;
  }
  .hero-title {
    font-size: 32px;
  }
  .cards-grid-3, .articles-grid, .testimonials-grid, .tech-grid, .pricing-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 60px 0;
  }
  .section-title {
    font-size: 28px;
  }
  .hero-buttons {
    flex-direction: column;
  }
  .hero-buttons a {
    width: 100%;
    text-align: center;
  }
  .floating-scroll-nav {
    right: 14px;
    bottom: 24px;
  }
  .scroll-arrow-btn {
    width: 40px;
    height: 40px;
  }
  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
}
