/* ==========================================================================
   69云机场 (69yun.xyz) - 2026 赛博赛红黑独创落地页主样式表
   ========================================================================== */

:root {
  --bg-dark: #090406;
  --bg-card: rgba(26, 8, 12, 0.75);
  --bg-card-hover: rgba(42, 12, 18, 0.9);
  --border-color: rgba(239, 68, 68, 0.15);
  --border-glow: rgba(239, 68, 68, 0.5);
  
  --primary-red: #ef4444;
  --primary-rose: #f43f5e;
  --primary-crimson: #dc2626;
  --accent-gold: #f59e0b;
  --accent-green: #10b981;

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-sub: #cbd5e1;

  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --transition-fast: 0.3s cubic-bezier(0.16, 1, 0.3, 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(ellipse at 50% 0%, rgba(239, 68, 68, 0.25) 0%, transparent 60%),
    radial-gradient(circle at 100% 50%, rgba(159, 18, 57, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 0% 80%, rgba(225, 29, 72, 0.15) 0%, transparent 50%),
    var(--bg-dark);
  min-height: 100vh;
}

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

a:hover {
  color: #ff758f;
  text-shadow: 0 0 10px rgba(244, 63, 94, 0.4);
}

.container {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.text-gradient {
  background: linear-gradient(135deg, #ff4d4d 0%, #f43f5e 50%, #fb7185 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Glassmorphism Panel Effect */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

/* Header & Navigation */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(9, 4, 6, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  height: 76px;
  display: flex;
  align-items: center;
}

.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: 800;
  font-size: 1.3rem;
  letter-spacing: -0.5px;
}

.logo-img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 15px rgba(239, 68, 68, 0.4);
}

.logo-badge {
  font-size: 0.72rem;
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(225, 29, 72, 0.2));
  color: #f43f5e;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(244, 63, 94, 0.4);
  font-weight: 700;
}

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

.nav-links a {
  color: var(--text-sub);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-rose);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, #ef4444 0%, #be123c 100%);
  color: #ffffff !important;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: 30px;
  box-shadow: 0 4px 25px rgba(239, 68, 68, 0.45);
  transition: all var(--transition-fast);
  border: none;
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 30px rgba(239, 68, 68, 0.65);
  filter: brightness(1.1);
}

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

.btn-secondary:hover {
  background: rgba(239, 68, 68, 0.12);
  border-color: rgba(239, 68, 68, 0.4);
  transform: translateY(-2px);
}

/* Mobile Drawer Menu */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
}

.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 76px;
  left: 0;
  width: 100%;
  background: rgba(18, 5, 8, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 24px;
  z-index: 99;
}

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

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mobile-nav-links a {
  color: var(--text-main);
  font-size: 1.1rem;
  font-weight: 600;
  display: block;
}

/* Hero Section (Unique Dual-Column Design for 69yun.xyz) */
.hero-section-xyz {
  padding: 90px 0 70px 0;
  position: relative;
}

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

.hero-left-content {
  text-align: left;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 30px;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #f43f5e;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.hero-title-xyz {
  font-size: 3.4rem;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 22px;
}

.hero-subtitle-xyz {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-right-card {
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--border-glow);
  box-shadow: 0 15px 40px rgba(239, 68, 68, 0.15);
  position: relative;
}

.hero-right-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--accent-green);
  font-weight: 700;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: var(--accent-green);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-green);
  animation: pulse 2s infinite;
}

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

.spec-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
}

.spec-label {
  color: var(--text-muted);
}

.spec-val {
  font-weight: 700;
  color: #fff;
}

/* Metrics Row */
.metrics-grid-xyz {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}

.metric-card-xyz {
  border-radius: var(--radius-md);
  padding: 24px 18px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease;
}

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

.metric-card-xyz .metric-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--primary-rose);
}

/* Section Common Headers */
.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px auto;
}

.section-tag {
  color: var(--primary-rose);
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.3;
}

.section-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Latency Monitor Section */
.ping-container-xyz {
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 1000px;
  margin: 0 auto;
}

.ping-grid-xyz {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.ping-card-item {
  background: rgba(14, 4, 6, 0.6);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ping-card-item:hover {
  border-color: rgba(239, 68, 68, 0.35);
}

.ping-info-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

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

.node-title {
  font-weight: 800;
  font-size: 0.98rem;
  color: #fff;
}

.node-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.ping-right-badge {
  text-align: right;
  min-width: 95px;
}

.ping-val {
  font-family: monospace;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent-green);
  display: block;
  margin-bottom: 4px;
}

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

.ping-bar-fill {
  height: 100%;
  background: var(--accent-green);
  transition: width 0.4s ease;
}

/* Feature Grid Matrix (4-Column Cyber Red Layout) */
.features-grid-xyz {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-box-xyz {
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: all var(--transition-fast);
}

.feature-box-xyz:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 40px rgba(239, 68, 68, 0.2);
}

.feature-box-xyz.span-full {
  grid-column: span 3;
  display: flex;
  align-items: center;
  gap: 30px;
}

.feature-box-icon {
  font-size: 2.6rem;
  margin-bottom: 18px;
}

.feature-box-xyz h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.feature-box-xyz p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

/* Pricing Section Matrix */
.pricing-matrix-xyz {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pricing-card-xyz {
  border-radius: var(--radius-lg);
  padding: 34px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-fast);
}

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

.pricing-card-xyz.recommended {
  border: 2px solid var(--primary-red);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.15) 0%, var(--bg-card) 100%);
  box-shadow: 0 14px 45px rgba(239, 68, 68, 0.25);
}

.badge-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ef4444, #9f1239);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 20px;
  white-space: nowrap;
  letter-spacing: 0.5px;
}

.card-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 6px;
}

.card-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 22px;
  min-height: 40px;
}

.card-price-row {
  margin-bottom: 24px;
}

.price-num {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--primary-rose);
}

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

.feature-check-list {
  list-style: none;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.feature-check-list li {
  font-size: 0.88rem;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-check-list li svg {
  width: 17px;
  height: 17px;
  color: var(--accent-green);
  flex-shrink: 0;
}

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

.review-card-xyz {
  border-radius: var(--radius-lg);
  padding: 30px;
}

.review-stars {
  color: var(--accent-gold);
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.review-body {
  color: var(--text-sub);
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 22px;
}

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

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ef4444, #9f1239);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  font-size: 1.15rem;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.4);
}

.author-meta h4 {
  font-size: 0.96rem;
  color: #fff;
  font-weight: 700;
}

.author-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

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

.faq-box-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

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

.faq-toggle-icon {
  font-size: 0.9rem;
  color: var(--primary-rose);
  transition: transform 0.35s ease;
}

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

.faq-answer-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0, 1, 0, 1), padding 0.35s ease;
  padding: 0 26px;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.75;
}

.faq-box-item.active .faq-answer-body {
  max-height: 450px;
  padding: 0 26px 24px 26px;
  transition: max-height 0.35s cubic-bezier(1, 0, 1, 0), padding 0.35s ease;
}

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

.article-card-xyz {
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--transition-fast);
}

.article-card-xyz:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 36px rgba(239, 68, 68, 0.18);
}

.art-badge {
  background: rgba(239, 68, 68, 0.15);
  color: var(--primary-rose);
  padding: 3px 12px;
  border-radius: 12px;
  font-size: 0.78rem;
  font-weight: 700;
}

.art-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #fff;
  margin: 14px 0 10px 0;
  line-height: 1.45;
}

.art-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.65;
  margin-bottom: 22px;
}

.art-read-more {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary-rose);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.article-container {
  max-width: 880px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  padding: 44px;
}

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--primary-rose);
}

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

.article-header-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 20px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.article-body {
  color: var(--text-sub);
  font-size: 1.06rem;
  line-height: 1.85;
}

.article-body h2 {
  font-size: 1.65rem;
  font-weight: 800;
  color: #fff;
  margin: 40px 0 20px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.article-body h3 {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--primary-rose);
  margin: 30px 0 16px 0;
}

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

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

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

.article-callout {
  background: rgba(239, 68, 68, 0.08);
  border-left: 4px solid var(--primary-rose);
  padding: 22px 26px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 30px 0;
}

.article-cta-box {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.18) 0%, rgba(159, 18, 57, 0.18) 100%);
  border: 1px solid var(--border-glow);
  padding: 34px;
  border-radius: var(--radius-md);
  text-align: center;
  margin: 44px 0;
}

.article-cta-box h3 {
  font-size: 1.45rem;
  color: #fff;
  margin-bottom: 12px;
}

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

/* Footer Section */
footer {
  background: #060203;
  border-top: 1px solid var(--border-color);
  padding: 70px 0 35px 0;
}

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

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

.footer-col h5 {
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 20px;
}

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 26px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Core Task 2: PBN Links Styling */
.footer-friend-links {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px dashed rgba(239, 68, 68, 0.15);
  text-align: center;
  font-size: 0.82rem;
  color: rgba(239, 68, 68, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-friend-links span {
  font-weight: 700;
  color: rgba(239, 68, 68, 0.6);
}

.footer-friend-links a {
  color: rgba(244, 63, 94, 0.85);
  font-size: 0.82rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-friend-links a:hover {
  color: #ff758f;
  text-decoration: underline;
}

/* Mobile Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-layout-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .features-grid-xyz, .pricing-matrix-xyz, .testimonials-wrapper-xyz, .articles-grid-xyz {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-box-xyz.span-full {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta-btn {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .hero-title-xyz {
    font-size: 2.3rem;
  }

  .metrics-grid-xyz {
    grid-template-columns: repeat(2, 1fr);
  }

  .ping-grid-xyz, .features-grid-xyz, .pricing-matrix-xyz, .testimonials-wrapper-xyz, .articles-grid-xyz {
    grid-template-columns: 1fr;
  }

  .feature-box-xyz.span-full {
    grid-column: span 1;
    flex-direction: column;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .article-container {
    padding: 26px 20px;
  }

  .article-header-title {
    font-size: 1.8rem;
  }
}
