/* ==========================================================================
   老头VPN (laotouvpn.sbs) - 老头魔幻极速主样式表
   Design Aesthetic: Dark Void Arcane Fantasy, Cyan & Gold Neon Glow, Glassmorphism
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700;900&family=Outfit:wght@300;400;600;700;800&family=Noto+Sans+SC:wght@300;400;500;700;900&display=swap');

:root {
  --bg-dark: #07050e;
  --bg-card: rgba(18, 14, 36, 0.75);
  --bg-card-hover: rgba(30, 22, 58, 0.85);
  --border-color: rgba(138, 43, 226, 0.25);
  --border-glow: rgba(0, 240, 255, 0.4);
  
  --primary-magic: #00f0ff;
  --accent-purple: #9d4edd;
  --accent-gold: #ffd700;
  --accent-magenta: #ff007f;
  
  --text-main: #f0f2fe;
  --text-muted: #a0a5c0;
  --text-gold: #ffe600;

  --font-magic: 'Cinzel', 'Noto Sans SC', serif;
  --font-sans: 'Outfit', 'Noto Sans SC', sans-serif;
  
  --transition-fast: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  --magic-glow: 0 0 25px rgba(0, 240, 255, 0.35);
  --gold-glow: 0 0 25px rgba(255, 215, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  line-height: 1.6;
}

body {
  position: relative;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, #1a0b36 0%, #07050e 70%);
}

/* Magic Cursor Canvas Background Layer */
#magic-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* Background Ambient Orbs */
.bg-ambient {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  pointer-events: none;
}
.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.25;
  animation: floatOrb 18s infinite alternate ease-in-out;
}
.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--accent-purple);
  top: -100px;
  left: 10%;
}
.orb-2 {
  width: 400px;
  height: 400px;
  background: var(--primary-magic);
  top: 40%;
  right: -50px;
  animation-delay: -6s;
}
.orb-3 {
  width: 450px;
  height: 450px;
  background: var(--accent-magenta);
  bottom: -100px;
  left: 30%;
  animation-delay: -12s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
  100% { transform: translate(-40px, 80px) scale(0.95); }
}

/* Typography & Links */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-magic);
  color: #ffffff;
  letter-spacing: 0.5px;
}
a {
  color: var(--primary-magic);
  text-decoration: none;
  transition: var(--transition-fast);
}
a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px var(--primary-magic);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header & Nav */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(7, 5, 14, 0.85);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(138, 43, 226, 0.2);
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-magic);
  background: linear-gradient(135deg, #ffffff 0%, var(--primary-magic) 50%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.logo-icon {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 8px var(--primary-magic));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 1rem;
}
.nav-links a:hover {
  color: var(--primary-magic);
}

.nav-btns {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Special Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* 首页“机场推荐”专属按钮 */
.btn-recommend {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 140, 0, 0.25));
  border: 1.5px solid var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: var(--gold-glow);
}
.btn-recommend:hover {
  background: linear-gradient(135deg, var(--accent-gold), #ff8c00);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
}

/* 魔法注册主要按钮 */
.btn-primary {
  background: linear-gradient(135deg, #00f0ff 0%, #8a2be2 100%);
  border: none;
  color: #ffffff;
  box-shadow: var(--magic-glow);
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.7);
  color: #ffffff;
}

/* Mobile Nav Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.3);
  color: var(--primary-magic);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  background: linear-gradient(180deg, #ffffff 0%, #d8cdff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title span {
  background: linear-gradient(135deg, var(--primary-magic) 0%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 540px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
}

.hero-img-box {
  position: relative;
  text-align: center;
}
.hero-img {
  width: 100%;
  max-width: 540px;
  border-radius: 24px;
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 50px rgba(138, 43, 226, 0.4);
  transition: var(--transition-fast);
}
.hero-img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 65px rgba(0, 240, 255, 0.5);
}

/* Feature Badges Grid */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-item h3 {
  font-size: 1.8rem;
  color: var(--primary-magic);
}
.stat-item p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Sections Global */
.section {
  padding: 90px 0;
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}
.section-tag {
  color: var(--accent-gold);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2.5rem 1.8rem;
  transition: var(--transition-fast);
  backdrop-filter: blur(10px);
}
.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-magic);
  box-shadow: var(--magic-glow);
  background: var(--bg-card-hover);
}
.feature-icon {
  font-size: 2.8rem;
  margin-bottom: 1.2rem;
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-magic), var(--accent-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.feature-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
}
.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* 价格格式：要求弄成一排 (Horizontal Pricing Row Layout) */
.pricing-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1.5rem 0.5rem 2.5rem;
  scroll-snap-type: x mandatory;
}
.pricing-card {
  flex: 1 1 0;
  min-width: 260px;
  scroll-snap-align: start;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 2.5rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: var(--transition-fast);
  backdrop-filter: blur(12px);
}
.pricing-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-magic);
  box-shadow: 0 0 35px rgba(0, 240, 255, 0.3);
}
.pricing-card.featured {
  background: linear-gradient(180deg, rgba(30, 18, 65, 0.95) 0%, rgba(18, 14, 36, 0.85) 100%);
  border: 2px solid var(--accent-gold);
  box-shadow: var(--gold-glow);
}
.pricing-card.featured::before {
  content: '热门尊享魔幻';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--accent-gold), #ff8c00);
  color: #000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
}
.plan-name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.plan-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--primary-magic);
  font-family: var(--font-magic);
  margin-bottom: 1.5rem;
}
.plan-price span {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 400;
}
.plan-features {
  list-style: none;
  margin-bottom: 2rem;
}
.plan-features li {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-features li::before {
  content: '✦';
  color: var(--accent-gold);
}

/* Articles Showcase Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}
.article-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  transition: var(--transition-fast);
}
.article-card:hover {
  border-color: var(--primary-magic);
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(138, 43, 226, 0.3);
}
.article-tag {
  font-size: 0.8rem;
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 0.6rem;
  display: block;
}
.article-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  line-height: 1.4;
}
.article-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* User Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 2rem;
  position: relative;
}
.stars {
  color: var(--accent-gold);
  margin-bottom: 1rem;
}
.testi-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}
.testi-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.user-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-magic), var(--accent-purple));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 1.2rem;
}
.user-info h4 {
  font-size: 1rem;
  color: #fff;
}
.user-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-list {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: var(--transition-fast);
}
.faq-item.active {
  border-color: var(--primary-magic);
}
.faq-question {
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 700;
}
.faq-icon {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
  color: var(--primary-magic);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
  padding: 0 2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.faq-item.active .faq-answer {
  padding: 0 2rem 1.5rem 2rem;
  max-height: 300px;
}

/* 页脚 PBN & 友情链接管道 (Core Requirement 2) */
.footer {
  background: #040308;
  border-top: 1px solid rgba(138, 43, 226, 0.2);
  padding: 60px 0 30px;
  text-align: center;
}
.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}
.footer-logo {
  font-family: var(--font-magic);
  font-size: 1.4rem;
  color: #fff;
}
.footer-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 600px;
}

/* 低调、美观、小字号友情链接区 (低调与原页深度融合) */
.friendly-links-area {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px dashed rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: rgba(160, 165, 192, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.friendly-links-area span {
  opacity: 0.5;
}
.friendly-links-area a {
  color: rgba(160, 165, 192, 0.8);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s ease;
}
.friendly-links-area a:hover {
  color: var(--primary-magic);
  text-shadow: none;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 1rem;
}

/* Article Detail Page Specific Styles */
.article-header {
  padding: 180px 0 40px;
  text-align: center;
  background: radial-gradient(circle at 50% 0%, rgba(138, 43, 226, 0.2) 0%, transparent 70%);
}
.article-meta {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
}
.article-body {
  max-width: 860px;
  margin: 0 auto;
  padding: 2rem 1.5rem 80px;
  color: #e0e4f8;
  font-size: 1.05rem;
  line-height: 1.85;
}
.article-body h2 {
  font-size: 1.8rem;
  margin: 2.5rem 0 1.2rem;
  color: var(--primary-magic);
  border-left: 4px solid var(--accent-gold);
  padding-left: 12px;
}
.article-body h3 {
  font-size: 1.4rem;
  margin: 2rem 0 1rem;
  color: var(--accent-gold);
}
.article-body p {
  margin-bottom: 1.5rem;
}
.article-body ul, .article-body ol {
  margin-bottom: 1.5rem;
  padding-left: 1.8rem;
}
.article-body li {
  margin-bottom: 0.5rem;
}
.article-cta-box {
  margin: 3rem 0;
  padding: 2.5rem;
  background: linear-gradient(135deg, rgba(26, 11, 54, 0.9), rgba(10, 7, 24, 0.9));
  border: 1px solid var(--primary-magic);
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--magic-glow);
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-title {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: rgba(7, 5, 14, 0.95);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border-color);
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
  .pricing-wrapper {
    flex-direction: row;
    overflow-x: scroll;
  }
  .hero-title {
    font-size: 2.2rem;
  }
}
