/* 
  YTOO 机场 (ytoo1.cfd) - Bioluminescence & Deep Oceanic Theme
  Designed for maximum performance, visual impact & SEO
*/

:root {
  --bg-dark: #030712;
  --bg-depth: #070d1f;
  --bg-surface: rgba(9, 23, 48, 0.65);
  --bg-surface-hover: rgba(16, 37, 77, 0.8);
  --border-glow: rgba(0, 242, 254, 0.25);
  --border-glow-hover: rgba(0, 242, 254, 0.6);
  
  --cyan-primary: #00f2fe;
  --cyan-secondary: #00e5ff;
  --blue-accent: #4facfe;
  --purple-accent: #7f00ff;
  --teal-glow: #00ffd5;
  
  --text-main: #f1f5f9;
  --text-sub: #cbd5e1;
  --text-muted: #64748b;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-glow: 0 0 25px rgba(0, 242, 254, 0.2);
  --shadow-glow-strong: 0 0 40px rgba(0, 242, 254, 0.45);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
  background: radial-gradient(circle at 50% 0%, #0a1936 0%, #030712 70%);
}

/* Background Canvas */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Custom Cursor Trail Canvas */
#cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
}

/* Layout Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography & Glow Effects */
h1, h2, h3, h4 {
  color: #fff;
  line-height: 1.25;
  font-weight: 700;
}

.glow-text {
  background: linear-gradient(135deg, var(--cyan-primary) 0%, var(--teal-glow) 50%, var(--blue-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 12px rgba(0, 242, 254, 0.4));
}

.section-title {
  font-size: 2.25rem;
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-sub);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 3rem auto;
}

/* Glassmorphism Cards */
.glass-card {
  background: var(--bg-surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--cyan-primary), transparent);
  opacity: 0.4;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: var(--transition-normal);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--cyan-primary) 0%, #00a8ff 100%);
  color: #030712;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 35px rgba(0, 242, 254, 0.7);
  background: linear-gradient(135deg, var(--teal-glow) 0%, var(--cyan-primary) 100%);
}

.btn-secondary {
  background: rgba(0, 242, 254, 0.1);
  color: var(--cyan-primary);
  border: 1px solid var(--border-glow);
}

.btn-secondary:hover {
  background: rgba(0, 242, 254, 0.2);
  border-color: var(--cyan-primary);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
}

/* Header & Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 242, 254, 0.15);
  padding: 1rem 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--cyan-primary), var(--purple-accent));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--cyan-primary);
}

.logo-icon svg {
  width: 18px;
  height: 18px;
  fill: #030712;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.nav-links a:hover {
  color: var(--cyan-primary);
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.5);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 10rem 0 6rem 0;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  border-radius: var(--radius-full);
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--cyan-primary);
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-sub);
  max-width: 800px;
  margin: 0 auto 2.5rem auto;
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.stat-card {
  background: rgba(7, 19, 43, 0.5);
  border: 1px solid rgba(0, 242, 254, 0.15);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--cyan-primary);
}

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

/* Section Wrapper */
.section {
  padding: 5rem 0;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(0, 242, 254, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-primary);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Latency Monitor Section */
.latency-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.latency-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.latency-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(3, 7, 18, 0.6);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 242, 254, 0.1);
}

.node-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.flag-icon {
  font-size: 1.3rem;
}

.ping-tag {
  font-family: monospace;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.85rem;
  background: rgba(0, 255, 170, 0.15);
  color: #00ffaa;
  border: 1px solid rgba(0, 255, 170, 0.3);
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
}

.price-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.price-card.featured {
  border-color: var(--cyan-primary);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.25);
  transform: scale(1.03);
}

.popular-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: linear-gradient(135deg, var(--cyan-primary), var(--blue-accent));
  color: #030712;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
}

.plan-name {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  margin: 1rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

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

.plan-features {
  list-style: none;
  margin-bottom: 2rem;
}

.plan-features li {
  padding: 0.5rem 0;
  color: var(--text-sub);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.plan-features li::before {
  content: '✓';
  color: var(--cyan-primary);
  font-weight: bold;
}

/* Articles Section */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.article-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--cyan-primary);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  letter-spacing: 0.5px;
}

.article-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

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

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

.article-excerpt {
  color: var(--text-sub);
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-link {
  color: var(--cyan-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

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

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan-primary), var(--purple-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #030712;
  font-size: 1.1rem;
}

.user-info h4 {
  font-size: 1rem;
}

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

.stars {
  color: #ffd700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

/* FAQ Accordion */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

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

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-answer {
  padding: 0 1.5rem 1.25rem 1.5rem;
  color: var(--text-sub);
  font-size: 0.95rem;
  display: none;
  border-top: 1px solid rgba(0, 242, 254, 0.1);
  margin-top: 0.5rem;
  padding-top: 1rem;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-toggle {
  transition: transform 0.3s ease;
  font-size: 1.2rem;
  color: var(--cyan-primary);
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

/* Article Detail Page Styles */
.article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 8rem 1.5rem 4rem 1.5rem;
}

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

.article-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.25;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.article-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 3rem 2.5rem;
  line-height: 1.8;
  font-size: 1.05rem;
  color: #e2e8f0;
}

.article-content h2 {
  font-size: 1.75rem;
  margin: 2rem 0 1rem 0;
  color: var(--cyan-primary);
  border-bottom: 1px solid rgba(0, 242, 254, 0.15);
  padding-bottom: 0.5rem;
}

.article-content h3 {
  font-size: 1.35rem;
  margin: 1.5rem 0 0.75rem 0;
  color: #fff;
}

.article-content p {
  margin-bottom: 1.25rem;
}

.article-content ul, .article-content ol {
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

.article-content li {
  margin-bottom: 0.5rem;
}

.article-content a {
  color: var(--cyan-primary);
  text-decoration: underline;
}

.article-content pre, .article-content code {
  background: rgba(3, 7, 18, 0.8);
  border: 1px solid rgba(0, 242, 254, 0.2);
  border-radius: 6px;
  font-family: monospace;
}

.article-content code {
  padding: 0.2rem 0.4rem;
  font-size: 0.9em;
  color: var(--teal-glow);
}

.article-content pre {
  padding: 1.25rem;
  overflow-x: auto;
  margin-bottom: 1.5rem;
}

.article-cta {
  margin: 3rem 0;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.1) 0%, rgba(127, 0, 255, 0.1) 100%);
  border: 1px solid var(--cyan-primary);
  border-radius: var(--radius-md);
  text-align: center;
}

/* Footer & PBN Weight Section */
footer {
  background: #02040a;
  border-top: 1px solid rgba(0, 242, 254, 0.15);
  padding: 4rem 0 2rem 0;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 1.25rem;
  color: #fff;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.6rem;
}

.footer-col a {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

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

/* PBN SEO Links Area - Low contrast, discreet, cleanly styled */
.pbn-seo-block {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
  margin-top: 2rem;
  text-align: center;
}

.pbn-seo-block h5 {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 0.75rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pbn-links-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  list-style: none;
}

.pbn-links-list a {
  color: rgba(148, 163, 184, 0.4);
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pbn-links-list a:hover {
  color: var(--cyan-primary);
}

.copyright {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: 1.5rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-title { font-size: 2.75rem; }
  .footer-content { grid-template-columns: 1fr 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(3, 7, 18, 0.95);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border-glow);
  }
  .nav-links.active { display: flex; }
  .mobile-menu-btn { display: block; }
  
  .hero { padding: 7rem 0 4rem 0; }
  .hero-title { font-size: 2.1rem; }
  .hero-desc { font-size: 1rem; }
  .price-card.featured { transform: none; }
  .footer-content { grid-template-columns: 1fr; }
  .article-content { padding: 1.75rem 1.25rem; }
}

/* Download Modal Component */
.download-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 7, 18, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

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

.download-modal {
  position: relative;
  background: #070d1f;
  background: radial-gradient(circle at 50% 0%, #0d1e3d 0%, #060b18 100%);
  border: 1px solid var(--border-glow-hover);
  box-shadow: 0 0 50px rgba(0, 242, 254, 0.25);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  max-width: 520px;
  width: 100%;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.download-modal-backdrop.active .download-modal {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-sub);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  transition: var(--transition-fast);
}

.modal-close-btn:hover,
.modal-close-btn:focus-visible {
  background: rgba(0, 242, 254, 0.2);
  color: var(--cyan-primary);
  border-color: var(--cyan-primary);
  outline: none;
}

.modal-header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.6rem;
}

.modal-subtitle {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.5;
}

.modal-platforms {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.modal-platform-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition-normal);
}

.modal-platform-btn:hover,
.modal-platform-btn:focus-visible {
  background: var(--bg-surface-hover);
  border-color: var(--cyan-primary);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
  outline: none;
}

.platform-btn-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.platform-icon {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0, 242, 254, 0.12);
  color: var(--cyan-primary);
  flex-shrink: 0;
}

.platform-info h4 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.2rem;
}

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

.platform-arrow {
  font-size: 1.1rem;
  color: var(--cyan-primary);
  transition: transform 0.2s ease;
}

.modal-platform-btn:hover .platform-arrow {
  transform: translateX(4px);
}

.modal-guide {
  background: rgba(3, 7, 18, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.modal-guide-title {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-glow);
  margin-bottom: 0.5rem;
}

.modal-guide ol {
  padding-left: 1.2rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
}

