/* 奈云 (Naiyun) - Neon Pink Cyberpunk Minimalist CSS */

:root {
  --bg-primary: #0a0510;
  --bg-secondary: #12091c;
  --bg-card: #1d0f2b;
  --bg-card-hover: #2c1640;
  --text-main: #fdf2f8;
  --text-muted: #c4b5fd;
  --accent-pink: #ff007f;
  --accent-neon: #ff2a85;
  --accent-magenta: #f43f5e;
  --accent-cyan: #ff2a85; /* Neon Pink accent */
  --accent-blue: #d946ef;  /* Electric Magenta/Orchid */
  --accent-purple: #a855f7;
  --accent-emerald: #10b981;
  --border-color: rgba(255, 0, 127, 0.15);
  --border-hover: rgba(255, 0, 127, 0.5);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", SFMono-Regular, Consolas, monospace;
  --shadow-glow: 0 0 25px rgba(255, 0, 127, 0.35);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.section {
  padding: 90px 0;
}

@media (max-width: 768px) {
  .section {
    padding: 55px 0;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(255, 0, 127, 0.12);
  border: 1px solid rgba(255, 0, 127, 0.35);
  color: var(--accent-neon);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.2);
}

.gradient-text {
  background: linear-gradient(135deg, #ff2a85, #e879f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Nav */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 5, 16, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-color);
  padding: 16px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-blue));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.5);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-menu a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--accent-neon);
}

@media (max-width: 860px) {
  .nav-menu {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, #ff007f, #d946ef);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(255, 0, 127, 0.45);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(255, 0, 127, 0.65);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-outline:hover {
  border-color: var(--accent-neon);
  color: var(--accent-neon);
  background: rgba(255, 0, 127, 0.08);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.875rem;
}

/* HERO LEFT-RIGHT SPLIT LAYOUT */
.hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
}

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

@media (max-width: 992px) {
  .hero-grid {
    grid-template-cols: 1fr;
    gap: 40px;
  }
}

.hero-left h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

@media (max-width: 768px) {
  .hero-left h1 {
    font-size: 2.2rem;
  }
}

.hero-left p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-pills {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
  font-size: 0.875rem;
  color: var(--text-muted);
}

.pill-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-neon);
  box-shadow: 0 0 12px var(--accent-neon);
}

/* HERO DYNAMIC RIGHT CARD (NEON PINK NOC WIDGET) */
.hero-widget {
  background: rgba(29, 15, 43, 0.8);
  border: 1px solid rgba(255, 0, 127, 0.3);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 0, 127, 0.15);
  position: relative;
}

.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-b: 1px solid var(--border-color);
  padding-bottom: 14px;
  margin-bottom: 18px;
}

.widget-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-neon);
  font-weight: 700;
}

.pulse-ring {
  width: 10px;
  height: 10px;
  background: var(--accent-neon);
  border-radius: 50%;
  position: relative;
  box-shadow: 0 0 10px var(--accent-neon);
}

.pulse-ring::after {
  content: '';
  position: absolute;
  inset: -4px;
  border: 2px solid var(--accent-neon);
  border-radius: 50%;
  animation: ping 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

.widget-status {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent-neon);
  background: rgba(255, 0, 127, 0.12);
  padding: 3px 10px;
  border-radius: 4px;
  border: 1px solid rgba(255, 0, 127, 0.4);
}

.node-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.node-row {
  background: rgba(18, 9, 28, 0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  transition: var(--transition);
}

.node-row:hover {
  border-color: var(--accent-neon);
  background: rgba(18, 9, 28, 0.95);
  box-shadow: 0 0 12px rgba(255, 0, 127, 0.2);
}

.node-name {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-main);
  font-weight: 600;
}

.node-flag {
  font-size: 1rem;
}

.node-ping {
  color: var(--accent-neon);
  font-weight: 700;
}

.node-bar-container {
  width: 70px;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.node-bar {
  height: 100%;
  background: linear-gradient(90deg, #ff007f, #e879f9);
  border-radius: 3px;
  animation: barPulse 3s ease-in-out infinite alternate;
}

@keyframes barPulse {
  0% { width: 40%; }
  50% { width: 85%; }
  100% { width: 65%; }
}

.widget-wave {
  background: rgba(18, 9, 28, 0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.75rem;
}

.wave-info {
  display: flex;
  flex-direction: column;
}

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

.wave-val {
  color: var(--accent-neon);
  font-size: 0.95rem;
  font-weight: 700;
}

/* SECTION TITLES */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 55px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 14px;
}

@media (max-width: 768px) {
  .section-header h2 {
    font-size: 1.7rem;
  }
}

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

/* Core Advantages */
.features-grid {
  display: grid;
  grid-template-cols: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-cols: 1fr;
  }
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 34px 26px;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(255, 0, 127, 0.2);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: rgba(255, 0, 127, 0.12);
  color: var(--accent-neon);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.2);
}

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

.card p {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.6;
}

/* Ecosystem Grid */
.ecosystem-grid {
  display: grid;
  grid-template-cols: repeat(2, 1fr);
  gap: 28px;
}

@media (max-width: 768px) {
  .ecosystem-grid {
    grid-template-cols: 1fr;
  }
}

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

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.tag {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
}

.tag-icon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.tag-icon.red { background: #ff007f; }
.tag-icon.green { background: #10b981; }
.tag-icon.purple { background: #d946ef; }
.tag-icon.blue { background: #3b82f6; }

/* PRICING GRID */
.pricing-grid {
  display: grid;
  grid-template-cols: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-cols: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pricing-grid {
    grid-template-cols: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

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

.pricing-card:hover {
  border-color: rgba(255, 0, 127, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(255, 0, 127, 0.2);
}

.pricing-card.popular {
  border-color: var(--accent-neon);
  background: linear-gradient(180deg, rgba(255, 0, 127, 0.1) 0%, var(--bg-secondary) 100%);
  transform: scale(1.03);
  box-shadow: 0 0 30px rgba(255, 0, 127, 0.3);
}

@media (max-width: 1100px) {
  .pricing-card.popular {
    transform: scale(1);
  }
}

.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #ff007f, #d946ef);
  color: #fff;
  font-size: 0.725rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.5);
}

.pricing-header h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.price {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--text-main);
  margin: 16px 0;
  font-family: var(--font-mono);
}

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

.pricing-features {
  list-style: none;
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

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

.pricing-features li svg {
  color: var(--accent-neon);
  flex-shrink: 0;
}

/* 9 SEO ARTICLES VISUAL CARDS GRID (图卡形式) */
.articles-grid {
  display: grid;
  grid-template-cols: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 992px) {
  .articles-grid {
    grid-template-cols: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .articles-grid {
    grid-template-cols: 1fr;
  }
}

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

.article-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(255, 0, 127, 0.25);
}

.article-card-header {
  height: 120px;
  background: linear-gradient(135deg, rgba(255, 0, 127, 0.2), rgba(217, 70, 239, 0.25));
  border-bottom: 1px solid var(--border-color);
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-card-tag {
  align-self: flex-start;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-neon);
  background: rgba(255, 0, 127, 0.15);
  border: 1px solid rgba(255, 0, 127, 0.35);
  padding: 3px 10px;
  border-radius: 4px;
  text-transform: uppercase;
}

.article-card-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.article-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.article-card:hover .article-card-title {
  color: var(--accent-neon);
}

.article-card-excerpt {
  color: var(--text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent-neon);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.article-card-link svg {
  transition: var(--transition);
}

.article-card:hover .article-card-link svg {
  transform: translateX(4px);
}

/* User Testimonials */
.reviews-grid {
  display: grid;
  grid-template-cols: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .reviews-grid {
    grid-template-cols: 1fr;
  }
}

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

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

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

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

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-pink), var(--accent-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
}

.user-details h4 {
  font-size: 0.9rem;
  font-weight: 600;
}

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

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}

.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 8px;
}

.faq-answer {
  color: var(--text-muted);
  font-size: 0.925rem;
  line-height: 1.6;
}

/* Footer Section */
.footer {
  border-top: 1px solid var(--border-color);
  background: var(--bg-secondary);
  padding: 40px 0;
  margin-top: auto;
}

.footer-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 45px;
  flex-wrap: wrap;
}

.footer-nav a {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

.footer-nav a:hover {
  color: var(--accent-neon);
}

.footer-bottom {
  text-align: center;
  margin-top: 24px;
  color: #8b79a5;
  font-size: 0.85rem;
}

/* Sub-page Specific Styling */
.subpage-content {
  padding: 60px 0;
  max-width: 900px;
  margin: 0 auto;
}

.subpage-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 36px;
  margin-bottom: 24px;
}

.subpage-card h2 {
  font-size: 1.4rem;
  color: var(--accent-neon);
  margin-bottom: 14px;
}

.subpage-card p {
  color: var(--text-muted);
  margin-bottom: 12px;
  line-height: 1.7;
}

.subpage-card ul {
  color: var(--text-muted);
  padding-left: 20px;
  margin-bottom: 14px;
}

.subpage-card li {
  margin-bottom: 8px;
}
