/* ==========================================================================
   AirPipi云机场 (airpipivpn.cyou) - 官方落地页主样式表（粉红闪耀主题）
   ========================================================================== */

:root {
  --bg-dark: #1f071e;
  --bg-card: #2d0b2c;
  --bg-card-hover: #3d103b;
  --bg-secondary: #170416;
  --border-color: rgba(255, 105, 180, 0.22);
  --border-glow: rgba(255, 20, 147, 0.65);
  
  --primary-cyan: #ff69b4;  /* Hot Pink */
  --primary-blue: #ff1493;  /* Deep Pink */
  --primary-purple: #ec4899; /* Vibrant Pink */
  --accent-green: #10b981;
  --accent-gold: #ffd700;

  --text-main: #fff0f5;     /* Lavender Blush White */
  --text-muted: #f472b6;    /* Soft Pink Muted */
  --text-sub: #fbcfe8;      /* Light Pink */

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Typography */
* {
  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);
  line-height: 1.6;
}

body {
  overflow-x: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(255, 105, 180, 0.42) 0%, rgba(255, 20, 147, 0.22) 40%, rgba(31, 7, 30, 1) 80%);
  min-height: 100vh;
}

a {
  color: var(--primary-cyan);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #ffb6c1;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #ff85c0 40%, #ff1493 80%, #ffd700 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title {
  text-align: center;
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: #fff;
  text-shadow: 0 0 16px rgba(255, 105, 180, 0.4);
}

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

/* Header & Navigation */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(31, 7, 30, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  height: 72px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 20px rgba(255, 20, 147, 0.15);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
}

.logo-img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 10px rgba(255, 105, 180, 0.5);
}

.logo-badge {
  font-size: 0.75rem;
  background: rgba(255, 105, 180, 0.18);
  color: var(--primary-cyan);
  padding: 2px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 105, 180, 0.4);
  font-weight: 600;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
}

/* 【闪闪发亮的目录字体样式 (Sparkling Shimmer Navigation Links)】 */
@keyframes sparkling-shimmer {
  0% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 2px #ffffff) drop-shadow(0 0 6px #ff69b4) drop-shadow(0 0 10px #ffd700);
  }
  50% {
    background-position: 100% 50%;
    filter: drop-shadow(0 0 4px #ffffff) drop-shadow(0 0 10px #ff1493) drop-shadow(0 0 16px #ffffff);
  }
  100% {
    background-position: 0% 50%;
    filter: drop-shadow(0 0 2px #ffffff) drop-shadow(0 0 6px #ff69b4) drop-shadow(0 0 10px #ffd700);
  }
}

.nav-links a, .mobile-nav-drawer a {
  font-weight: 800;
  font-size: 1.02rem;
  background: linear-gradient(90deg, #ffffff 0%, #ffe4e1 20%, #ff69b4 40%, #ffd700 60%, #ff1493 80%, #ffffff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: sparkling-shimmer 3s infinite linear;
  transition: transform 0.25s ease, filter 0.25s ease;
  letter-spacing: 0.03em;
}

.nav-links a:hover, .mobile-nav-drawer a:hover {
  transform: scale(1.1);
  filter: brightness(1.5) drop-shadow(0 0 12px #ff69b4);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.6rem;
  cursor: pointer;
  padding: 4px;
}

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(45, 11, 44, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 20px;
  z-index: 99;
  flex-direction: column;
  gap: 16px;
}

.mobile-nav-drawer.active {
  display: flex;
}

.mobile-nav-drawer a {
  font-size: 1.1rem;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #ff1493 0%, #ff69b4 50%, #ff85c0 100%);
  color: #ffffff !important;
  font-weight: 800;
  padding: 11px 24px;
  border-radius: 30px;
  box-shadow: 0 4px 22px rgba(255, 20, 147, 0.5);
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 30px rgba(255, 105, 180, 0.7);
  color: #fff !important;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255, 105, 180, 0.12);
  color: var(--text-main) !important;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 30px;
  border: 1px solid rgba(255, 105, 180, 0.3);
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 105, 180, 0.25);
  border-color: rgba(255, 105, 180, 0.5);
  transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
  padding: 90px 0 60px 0;
  text-align: center;
  position: relative;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 105, 180, 0.15);
  border: 1px solid rgba(255, 105, 180, 0.4);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.9rem;
  color: #ffb6c1;
  margin-bottom: 24px;
  font-weight: 700;
  box-shadow: 0 0 15px rgba(255, 105, 180, 0.2);
}

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  color: #fff;
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-sub);
  max-width: 820px;
  margin: 0 auto 36px auto;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 950px;
  margin: 0 auto;
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 22px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.metric-val {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ff69b4;
  margin-bottom: 4px;
  text-shadow: 0 0 10px rgba(255, 105, 180, 0.4);
}

.metric-lbl {
  font-size: 0.88rem;
  color: var(--text-sub);
}

/* Live Ping / Monitor Section */
.monitor-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.monitor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.monitor-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.live-dot {
  width: 10px;
  height: 10px;
  background: #ff1493;
  border-radius: 50%;
  box-shadow: 0 0 12px #ff1493;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 20, 147, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(255, 20, 147, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 20, 147, 0); }
}

.ping-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.ping-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ping-node-name {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
}

.ping-flag {
  margin-right: 6px;
}

.ping-val {
  font-weight: 700;
  color: #ff69b4;
}

.ping-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
}

.ping-bar-fill {
  height: 100%;
  background: #ff69b4;
  width: 90%;
  transition: width 0.5s ease;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-fast);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 30px rgba(255, 20, 147, 0.25);
}

.feature-icon {
  width: 54px;
  height: 54px;
  background: rgba(255, 105, 180, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  border: 1px solid rgba(255, 105, 180, 0.3);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.feature-card p {
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Pricing Section */
.pricing-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all var(--transition-fast);
}

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

.pricing-card.featured {
  background: linear-gradient(180deg, #3d0d3b 0%, #2d0b2c 100%);
  border: 2px solid #ff1493;
  box-shadow: 0 10px 40px rgba(255, 20, 147, 0.3);
}

.popular-tag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff1493, #ff85c0);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 10px rgba(255, 20, 147, 0.5);
}

.pricing-header h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.pricing-sub {
  color: var(--text-sub);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: #ff69b4;
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  text-shadow: 0 0 10px rgba(255, 105, 180, 0.3);
}

.pricing-price span {
  font-size: 0.95rem;
  color: var(--text-sub);
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-sub);
}

.pricing-features li::before {
  content: "✓";
  color: #ff69b4;
  font-weight: bold;
}

.pricing-btn {
  width: 100%;
}

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

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

.article-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(255, 20, 147, 0.2);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.82rem;
  color: var(--text-sub);
}

.article-tag {
  background: rgba(255, 105, 180, 0.2);
  color: #ff69b4;
  padding: 3px 10px;
  border-radius: 12px;
  font-weight: 600;
}

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

.article-excerpt {
  color: var(--text-sub);
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.6;
}

.article-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #ff69b4;
}

/* User Testimonials / Reviews Section */
.reviews-section {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

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

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all var(--transition-fast);
}

.review-card:hover {
  border-color: rgba(255, 105, 180, 0.4);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff1493, #ff85c0);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: 0 0 10px rgba(255, 20, 147, 0.4);
}

.review-user-info h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.review-user-info span {
  font-size: 0.8rem;
  color: var(--text-sub);
}

.review-stars {
  color: var(--accent-gold);
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-sub);
  line-height: 1.65;
}

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

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

.faq-item.active {
  border-color: rgba(255, 105, 180, 0.5);
}

.faq-question {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  color: #fff;
}

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: #ff69b4;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

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

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

/* Article Page Layout */
.article-page {
  padding: 50px 0 80px 0;
}

.article-header {
  max-width: 860px;
  margin: 0 auto 40px auto;
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-sub);
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: var(--text-sub);
}

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

.article-main-title {
  font-size: 2.3rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #fff;
}

.article-body {
  max-width: 860px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 40px;
  line-height: 1.8;
  font-size: 1.02rem;
  color: var(--text-sub);
}

.article-body h2 {
  font-size: 1.55rem;
  font-weight: 800;
  margin: 36px 0 16px 0;
  color: #ff69b4;
  border-left: 4px solid #ff1493;
  padding-left: 12px;
}

.article-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 24px 0 12px 0;
  color: var(--text-main);
}

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

.article-body ul, .article-body ol {
  margin: 0 0 20px 24px;
}

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

.article-body blockquote {
  background: rgba(255, 105, 180, 0.1);
  border-left: 4px solid #ff1493;
  padding: 16px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0;
  color: var(--text-sub);
  font-style: italic;
}

.article-body .cta-box {
  background: linear-gradient(135deg, rgba(255,20,147,0.15) 0%, rgba(255,105,180,0.15) 100%);
  border: 1px solid rgba(255, 105, 180, 0.4);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  margin: 36px 0;
}

.article-body .cta-box h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-main);
}

.article-body .cta-box p {
  font-size: 0.95rem;
  color: var(--text-sub);
  margin-bottom: 16px;
}

.related-articles {
  max-width: 860px;
  margin: 50px auto 0 auto;
}

/* Footer & PBN Links (Core Task 2) */
footer {
  background: #120311;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px 0;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--text-sub);
  font-size: 0.9rem;
  margin-top: 14px;
  max-width: 340px;
  line-height: 1.65;
}

.footer-col h5 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-bottom p {
  color: var(--text-sub);
  font-size: 0.85rem;
}

/* 【Core Task 2: Low-key PBN Links Section inside Footer】 */
.footer-friend-links {
  font-size: 0.82rem;
  color: #f472b6;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 4px;
}

.footer-friend-links span {
  color: #db2777;
}

.footer-friend-links a {
  color: #f472b6;
  text-decoration: none;
  transition: color 0.2s ease;
}

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

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-title { font-size: 2.5rem; }
  .hero-metrics { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-menu-toggle { display: block; }
  .hero-title { font-size: 2rem; }
  .hero-desc { font-size: 1rem; }
  .section-title { font-size: 1.75rem; }
  .article-body { padding: 24px; }
  .article-main-title { font-size: 1.7rem; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
}
