/* ==========================================================================
   灯塔 CLOUD - 2026 极致响应式与 SEO 优化 CSS 样式表
   ========================================================================== */

:root {
  --bg-dark: #0f111a;
  --bg-section: #151824;
  --bg-card: #1d2030;
  --bg-card-hover: #25293d;
  --bg-input: #262a3e;
  
  --border-color: rgba(255, 255, 255, 0.08);
  --border-highlight: #2e6bff;
  
  --text-main: #ffffff;
  --text-sub: #9ca3af;
  --text-muted: #6b7280;
  
  --accent-blue: #2e6bff;
  --accent-blue-hover: #457cff;
  --accent-glow: rgba(46, 107, 255, 0.4);
  --accent-gold: #f59e0b;
  --accent-green: #10b981;
  
  --font-family: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
  user-select: none;
}

.btn-primary {
  background-color: var(--accent-blue);
  color: #ffffff;
  box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-primary:hover {
  background-color: var(--accent-blue-hover);
  box-shadow: 0 6px 24px rgba(46, 107, 255, 0.6);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.btn-secondary:hover {
  background: rgba(245, 158, 11, 0.25);
  transform: translateY(-2px);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-sub);
  transform: translateY(-2px);
}

.btn-large {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

.cta-pulse {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% { box-shadow: 0 0 0 0 rgba(46, 107, 255, 0.6); }
  70% { box-shadow: 0 0 0 12px rgba(46, 107, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 107, 255, 0); }
}

/* Floating Navigation Arrows (Right Side Widget) */
.floating-nav-arrows {
  position: fixed;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1000;
}

.nav-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(30, 34, 50, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
}

.nav-arrow svg {
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
}

.nav-arrow:hover {
  background: var(--accent-blue);
  border-color: var(--accent-blue);
  box-shadow: 0 6px 20px var(--accent-glow);
  transform: scale(1.1);
}

.nav-arrow:active {
  transform: scale(0.95);
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 17, 26, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  z-index: 900;
  padding: 14px 0;
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.logo-icon {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
}

.logo-icon .bar {
  width: 4px;
  background: var(--text-main);
  border-radius: 2px;
  transition: var(--transition);
}

.logo-icon .bar-1 { height: 10px; opacity: 0.7; }
.logo-icon .bar-2 { height: 16px; opacity: 0.9; }
.logo-icon .bar-3 { height: 22px; background: var(--accent-blue); }

.logo-link:hover .logo-icon .bar {
  background: var(--accent-blue);
  box-shadow: 0 0 8px var(--accent-glow);
}

.logo-text {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.logo-cloud {
  font-size: 18px;
  color: #93c5fd;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-sub);
}

.main-nav a:hover {
  color: var(--accent-blue);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Main Layout & Sections */
.main-wrapper {
  width: 100%;
}

.section {
  padding: 80px 24px;
  position: relative;
}

.section-container {
  max-width: 1240px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 50px;
}

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

.section-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-sub);
  max-width: 680px;
  margin: 0 auto;
}

.badge-tag {
  display: inline-block;
  background: rgba(46, 107, 255, 0.12);
  color: #60a5fa;
  border: 1px solid rgba(46, 107, 255, 0.3);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}

/* Layout Grid Systems */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* 1. Hero Section */
.hero-section {
  background: linear-gradient(180deg, rgba(21, 24, 36, 0.8) 0%, var(--bg-dark) 100%);
  padding: 100px 24px 80px;
}

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

.hero-headline {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 17px;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.hero-trust-info {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: var(--text-sub);
  flex-wrap: wrap;
}

/* Right Dynamic Card Simulation */
.hero-dynamic-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.server-card-header {
  background: rgba(0, 0, 0, 0.25);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
}

.status-dots {
  display: flex;
  gap: 6px;
}

.status-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.server-status-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
}

.live-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 4px;
}

.ping-pulse {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 50%;
  animation: blink 1s infinite;
}

.server-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.node-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: var(--radius-md);
  font-size: 13px;
}

.node-info {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.node-metrics {
  display: flex;
  gap: 14px;
}

.node-speed {
  color: var(--text-sub);
}

.node-ping.low { color: #10b981; font-weight: 700; }
.node-ping.medium { color: #f59e0b; font-weight: 700; }

.speedtest-visual {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
}

.speed-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 6px;
}

.speed-val {
  color: var(--accent-blue);
  font-weight: 700;
}

.speed-progress-bg {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.speed-progress-fill {
  width: 96%;
  height: 100%;
  background: linear-gradient(90deg, #3b82f6, #60a5fa);
  border-radius: 3px;
  animation: progress-pulse 3s infinite alternate;
}

@keyframes progress-pulse {
  0% { width: 85%; }
  100% { width: 99%; }
}

/* 2. Core Advantages Cards */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(46, 107, 255, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.card-icon-wrapper {
  height: 160px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 18px;
}

.card-img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.feature-card:hover .card-img-cover {
  transform: scale(1.05);
}

.card-title {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-main);
}

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

/* 3. Streaming & AI Cards */
.support-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}

.support-card:hover {
  border-color: var(--accent-blue);
  transform: translateY(-4px);
}

.support-icon {
  font-size: 38px;
  margin-bottom: 12px;
}

.support-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.support-text {
  font-size: 13px;
  color: var(--text-sub);
}

/* 4. Pricing Comparison Table */
.pricing-section {
  background: var(--bg-section);
}

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

.price-card.popular {
  border-color: var(--accent-blue);
  background: linear-gradient(180deg, #1f2438 0%, var(--bg-card) 100%);
  box-shadow: 0 10px 40px rgba(46, 107, 255, 0.25);
  transform: scale(1.03);
}

.popular-ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #2e6bff, #60a5fa);
  color: #ffffff;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 4px 10px var(--accent-glow);
}

.plan-name {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 6px;
}

.plan-desc {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 20px;
  min-height: 38px;
}

.plan-price {
  font-size: 36px;
  font-weight: 900;
  color: var(--text-main);
  margin-bottom: 24px;
}

.plan-price .currency { font-size: 20px; vertical-align: super; }
.plan-price .period { font-size: 14px; font-weight: 500; color: var(--text-sub); }

.price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
  font-size: 14px;
  color: var(--text-sub);
}

.price-features li strong {
  color: var(--text-main);
}

/* 5. 15 SEO Articles Section */
.seo-articles-section {
  background: var(--bg-dark);
}

.article-cards-grid {
  gap: 20px;
}

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

.article-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.article-card.featured-article {
  border-color: var(--accent-blue);
  background: linear-gradient(135deg, rgba(46, 107, 255, 0.1) 0%, var(--bg-card) 100%);
}

.article-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-sub);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.article-badge.highlight {
  background: var(--accent-blue);
  color: #ffffff;
}

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

.article-excerpt {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.5;
  margin-bottom: 16px;
}

/* 6. FAQ Accordion */
.faq-section {
  background: var(--bg-section);
}

.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.faq-question {
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  color: var(--text-main);
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
}

.faq-icon {
  font-size: 20px;
  color: var(--text-sub);
  transition: transform 0.2s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(0, 0, 0, 0.15);
}

.faq-answer p {
  padding: 0 20px 18px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
}

/* 7. User Reviews */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
}

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

.review-text {
  font-size: 14px;
  color: var(--text-sub);
  margin-bottom: 20px;
  font-style: italic;
}

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-info .avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-blue);
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.reviewer-info .name {
  display: block;
  font-weight: 700;
  font-size: 14px;
}

.reviewer-info .title {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}

/* Modals */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-dialog {
  background: #181b29;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 800px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  padding: 40px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 28px;
  color: var(--text-sub);
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  color: var(--text-main);
}

.modal-body-content h2 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text-main);
}

.modal-body-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin: 20px 0 10px;
  color: var(--accent-blue);
}

.modal-body-content p {
  font-size: 15px;
  color: var(--text-sub);
  line-height: 1.7;
  margin-bottom: 14px;
}

.modal-body-content ul {
  margin: 10px 0 20px 20px;
  color: var(--text-sub);
}

.modal-cta-box {
  margin-top: 30px;
  padding: 20px;
  background: rgba(46, 107, 255, 0.1);
  border: 1px solid var(--accent-blue);
  border-radius: var(--radius-md);
  text-align: center;
}

/* Footer Section */
.site-footer {
  background: #0a0c12;
  border-top: 1px solid var(--border-color);
  padding: 60px 24px 40px;
}

.footer-container {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.footer-brand {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-sub);
}

.footer-nav-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-nav-link {
  background: transparent;
  border: none;
  color: var(--text-sub);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

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

.footer-pbn-divider {
  height: 1px;
  background: var(--border-color);
  margin: 24px 0;
}

.footer-pbn-links {
  font-size: 13px;
  color: var(--text-muted);
}

.copyright-text {
  margin-bottom: 8px;
}

.internal-footer-link {
  color: var(--text-sub);
  font-weight: 600;
}

.pbn-friends-row {
  color: var(--text-sub);
}

.pbn-link {
  color: var(--accent-blue);
  font-weight: 600;
  margin: 0 6px;
}

.pbn-link:hover {
  text-decoration: underline;
  color: var(--accent-blue-hover);
}

.link-sep {
  color: var(--text-muted);
}

/* Responsive Styles (@media) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .price-card.popular {
    transform: none;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .hero-headline {
    font-size: 30px;
  }
  .hero-subtitle {
    font-size: 15px;
  }
  .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  .floating-nav-arrows {
    right: 12px;
  }
  .nav-arrow {
    width: 38px;
    height: 38px;
  }
  .section {
    padding: 50px 16px;
  }
  .modal-dialog {
    padding: 24px;
  }
}
