/* ==========================================================================
   云图机场 - Network Accelerator & Proxy SaaS Landing Page Styles
   Theme: Light Pastel Green Wallpaper & Soft Sky Blue Accents
   ========================================================================== */

:root {
  /* Wallpaper Backgrounds (Light Pastel Green) */
  --bg-dark: #f0fdf4;
  --bg-body-gradient: linear-gradient(180deg, #f0fdf4 0%, #ecfdf5 40%, #e0f2fe 100%);
  --bg-card: rgba(255, 255, 255, 0.82);
  --bg-card-hover: rgba(255, 255, 255, 0.95);
  --border-color: rgba(52, 211, 153, 0.2);
  --border-glow: rgba(16, 185, 129, 0.4);
  
  /* Pastel Accent Colors */
  --pastel-green-bg: #d1fae5;
  --pastel-green: #10b981;       /* Vibrant Soft Green */
  --pastel-green-dark: #047857;  /* Deep Emerald Green for Text */
  --pastel-blue: #3b82f6;        /* Soft Sky Blue */
  --pastel-blue-dark: #1d4ed8;   /* Deep Blue for Text */
  --pastel-teal: #14b8a6;        /* Soft Aqua Teal */
  
  --accent-gradient: linear-gradient(135deg, #10b981 0%, #14b8a6 40%, #3b82f6 100%);
  --accent-gradient-text: linear-gradient(135deg, #047857 0%, #0d9488 40%, #1d4ed8 100%);
  --accent-glow: radial-gradient(circle at center, rgba(167, 243, 208, 0.45) 0%, rgba(186, 230, 253, 0.3) 50%, transparent 75%);

  /* Text Colors (Dark & High Contrast for Readability) */
  --text-main: #0f172a;
  --text-muted: #334155;
  --text-subtle: #64748b;

  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --max-width: 1200px;
}

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

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

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg-body-gradient);
}

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

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }

p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.gradient-text {
  background: var(--accent-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  color: var(--pastel-green-dark);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

/* 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-md);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent-gradient);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(16, 185, 129, 0.45);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(6, 78, 59, 0.04);
}

.btn-secondary:hover {
  background: #ffffff;
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
}

/* Cards & Light Glassmorphism */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(6, 78, 59, 0.04);
  transition: all var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-glow);
  box-shadow: 0 15px 35px rgba(6, 78, 59, 0.1);
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(240, 253, 244, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(52, 211, 153, 0.18);
  padding: 1rem 0;
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.brand-icon {
  width: 32px;
  height: 32px;
  background: var(--accent-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 900;
}

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

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

.nav-link:hover {
  color: var(--pastel-green-dark);
}

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

.hamburger-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.4rem;
}

/* Hero Section */
.hero-section {
  padding: 5rem 0 4rem 0;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: var(--accent-glow);
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero-title {
  margin-bottom: 0.5rem;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-highlights {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.highlight-icon {
  color: var(--pastel-green-dark);
  font-weight: 700;
}

/* Dashboard UI Component */
.dashboard-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: 0 20px 45px rgba(6, 78, 59, 0.08);
  position: relative;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.status-badge {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.75rem;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  color: var(--pastel-green-dark);
  font-size: 0.8rem;
  font-weight: 600;
}

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

@keyframes pulse {
  0% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.4; transform: scale(0.9); }
}

.nodes-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.node-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: rgba(240, 253, 244, 0.6);
  border-radius: var(--radius-md);
  border: 1px solid rgba(52, 211, 153, 0.15);
}

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

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

.node-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
}

.node-ping {
  font-size: 0.85rem;
  font-family: monospace;
  color: var(--pastel-green-dark);
  font-weight: 700;
}

/* Bento Grid Layouts */
.bento-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.bento-grid-2-1 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 1.5rem;
}

.feature-icon-wrapper {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pastel-green-dark);
  margin-bottom: 1.2rem;
}

/* AI & Streaming Section */
.ai-streaming-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.platform-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.tag-pill {
  padding: 0.4rem 0.9rem;
  background: #ffffff;
  border: 1px solid rgba(52, 211, 153, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 500;
  box-shadow: 0 2px 6px rgba(6, 78, 59, 0.03);
}

/* SaaS Pricing Section */
.pricing-section {
  padding: 5rem 0;
  position: relative;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--pastel-green);
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
  box-shadow: 0 15px 45px rgba(16, 185, 129, 0.15);
}

.featured-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--accent-gradient);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.8rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.pricing-header {
  margin-bottom: 1.5rem;
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-main);
}

.price-period {
  font-size: 0.9rem;
  color: var(--text-subtle);
}

.pricing-features {
  list-style: none;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

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

.pricing-features li svg {
  color: var(--pastel-green-dark);
  flex-shrink: 0;
}

/* SEO Articles Section */
.articles-section {
  padding: 5rem 0;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

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

.article-category {
  font-size: 0.8rem;
  color: var(--pastel-blue-dark);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

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

.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.2rem;

  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-subtle);
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

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

/* FAQ Accordion Section */
.faq-section {
  padding: 5rem 0;
}

.faq-list {
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item summary {
  padding: 1.2rem 1.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  color: var(--text-main);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-normal);
  color: var(--pastel-green-dark);
}

.faq-item[open] summary .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  padding: 0 1.5rem 1.2rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Footer (Dark Emerald Accent for Grounding) */
.site-footer {
  background: #06261d;
  color: #e2e8f0;
  border-top: 1px solid rgba(52, 211, 153, 0.2);
  padding: 4rem 0 2rem 0;
  margin-top: auto;
}

.site-footer p, .site-footer a {
  color: #94a3b8;
}

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

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 0.8rem;
  max-width: 300px;
  color: #cbd5e1;
}

.footer-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: #cbd5e1;
}

.footer-links a:hover {
  color: var(--pastel-green);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
}

.recommended-sites {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.recommended-sites a {
  color: #cbd5e1;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.3);
  transition: color var(--transition-fast);
}

.recommended-sites a:hover {
  color: var(--pastel-green);
}

/* Article Page Specific Layout */
.article-container {
  max-width: 820px;
  margin: 3rem auto 5rem auto;
  padding: 0 1.5rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-subtle);
  margin-bottom: 2rem;
}

.article-header-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  color: var(--text-subtle);
  font-size: 0.9rem;
  margin: 1rem 0 2rem 0;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #1e293b;
}

.article-content h2 {
  margin: 2.5rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.article-content h3 {
  margin: 1.8rem 0 0.8rem 0;
}

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

.article-content ul, .article-content ol {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-muted);
}

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

.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  background: #ffffff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(6, 78, 59, 0.04);
}

.article-table th, .article-table td {
  padding: 0.85rem 1.2rem;
  border: 1px solid var(--border-color);
  text-align: left;
  font-size: 0.95rem;
}

.article-table th {
  background: rgba(240, 253, 244, 0.8);
  color: var(--pastel-green-dark);
  font-weight: 600;
}

.related-articles {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

/* Mobile Responsiveness */
@media (max-width: 1024px) {
  .bento-grid-3,
  .pricing-grid,
  .articles-grid,
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(240, 253, 244, 0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    gap: 1.2rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 10px 25px rgba(6, 78, 59, 0.1);
  }

  .nav-menu.active {
    display: flex;
  }

  .hamburger-btn {
    display: block;
  }

  .nav-cta .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }

  .bento-grid-3,
  .bento-grid-2-1,
  .ai-streaming-grid,
  .pricing-grid,
  .articles-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-highlights {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
