/* ==========================================================================
   大象网络 (Elephant Route) - Global Styles & Design System
   ========================================================================== */

/* Google Fonts - Modern Typography */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette (Premium Light Theme) */
  --bg-primary: #F8FAFC;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #EEF2F6;
  
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #94A3B8;
  
  --color-primary: #4F46E5;      /* Tech Indigo */
  --color-secondary: #06B6D4;    /* Cyan */
  --color-success: #10B981;      /* Emerald Green */
  --color-accent: #F59E0B;       /* Amber */
  
  --gradient-brand: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  --gradient-hover: linear-gradient(135deg, #4338CA 0%, #0891B2 100%);
  --gradient-soft: linear-gradient(135deg, rgba(79, 70, 229, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
  
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
  --shadow-xl: 0 20px 25px -5px rgba(79, 70, 229, 0.05), 0 10px 10px -5px rgba(6, 182, 212, 0.02);
  
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
  --border-radius-pill: 9999px;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: 'Outfit', var(--font-sans);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Selection & Scrollbar */
::selection {
  background-color: rgba(6, 182, 212, 0.2);
  color: var(--color-primary);
}

::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: var(--border-radius-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-secondary);
}

/* Typography Utility */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.25;
}

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

/* ==========================================================================
   Buttons with Continuous Looping Border Line (每个按钮都有循环线)
   ========================================================================== */

/* The loop button base styling */
.btn-loop {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background-color: var(--bg-secondary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--border-radius-pill);
  border: none;
  cursor: pointer;
  z-index: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: var(--shadow-md);
  text-align: center;
}

/* Moving colored gradient line around the border */
.btn-loop::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: conic-gradient(from 0deg, var(--color-primary), var(--color-secondary), var(--color-success), var(--color-primary));
  border-radius: var(--border-radius-pill);
  z-index: -2;
  animation: rotateBorder 3s linear infinite;
  opacity: 0.9;
}

/* Mask to cover center of button and reveal border line */
.btn-loop::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-pill);
  z-index: -1;
  transition: background-color 0.3s ease;
}

/* Hover effects */
.btn-loop:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--color-primary);
}

.btn-loop:hover::after {
  background-color: var(--bg-tertiary);
}

.btn-loop:active {
  transform: translateY(0);
}

/* Filled loop button (Primary Action) */
.btn-loop-primary {
  color: #FFFFFF;
}

.btn-loop-primary::after {
  background: var(--gradient-brand);
}

.btn-loop-primary:hover {
  color: #FFFFFF;
}

.btn-loop-primary:hover::after {
  background: var(--gradient-hover);
}

/* Small variation */
.btn-loop-sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

@keyframes rotateBorder {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ==========================================================================
   Header & Navigation (Maximized Logo & Brand)
   ========================================================================== */
.header-nav {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(248, 250, 252, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  padding: 16px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: padding 0.3s ease;
}

.header-nav.scrolled {
  padding: 10px 5%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

/* Maximized brand name & logo on the left */
.brand-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-logo {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-logo:hover {
  transform: rotate(8deg) scale(1.05);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.8rem;
  letter-spacing: -1px;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin: 0;
}

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

.nav-links a {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 0.95rem;
  transition: color 0.2s ease;
  position: relative;
  padding: 4px 0;
}

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

.nav-links a:hover {
  color: var(--color-primary);
}

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

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

/* Mobile Toggle menu button */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 120px 5% 80px 5%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at 85% 15%, rgba(6, 182, 212, 0.08) 0%, rgba(79, 70, 229, 0.03) 50%, transparent 100%);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  align-self: flex-start;
  background-color: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.15);
  color: var(--color-primary);
  padding: 6px 16px;
  border-radius: var(--border-radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background-color: var(--color-success);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -2px;
  color: var(--text-primary);
  line-height: 1.15;
}

.hero-title span {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 24px;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* Hero Elephant Element (Hero视觉展示部分和大象logo同元素) */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-elephant-wrapper {
  position: relative;
  width: 80%;
  max-width: 420px;
  aspect-ratio: 1;
  background: white;
  border-radius: 50%;
  padding: 30px;
  box-shadow: var(--shadow-xl);
  animation: floatIllustration 6s ease-in-out infinite;
}

.hero-elephant-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Pulsing background decorative rings */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1px dashed rgba(6, 182, 212, 0.2);
  animation: rotateBorder 30s linear infinite;
  z-index: -1;
}

.hero-visual::after {
  content: '';
  position: absolute;
  width: 115%;
  height: 115%;
  border-radius: 50%;
  border: 1px solid rgba(79, 70, 229, 0.08);
  animation: rotateBorder 45s linear infinite reverse;
  z-index: -1;
}

@keyframes floatIllustration {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

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

/* ==========================================================================
   Real-Time Node Status Dashboard / Chart (实时节点图表)
   ========================================================================== */
.status-section {
  padding: 40px 5% 100px 5%;
  position: relative;
  z-index: 1;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-secondary);
}

.dashboard-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.node-list-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.node-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background-color: var(--bg-primary);
  border-radius: var(--border-radius-md);
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.node-item:hover, .node-item.active {
  border-color: var(--color-primary);
  background-color: #FFFFFF;
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

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

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

.node-name-type {
  display: flex;
  flex-direction: column;
}

.node-name {
  font-weight: 600;
  font-size: 0.95rem;
}

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

.node-metrics {
  display: flex;
  align-items: center;
  gap: 20px;
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.metric-val {
  font-size: 0.9rem;
  font-weight: 600;
}

.metric-val.ping-good { color: var(--color-success); }
.metric-val.ping-avg { color: var(--color-accent); }

.metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.node-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-success);
}

.chart-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 12px;
  background-color: var(--bg-primary);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(226, 232, 240, 0.6);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chart-title-sub {
  display: flex;
  flex-direction: column;
}

.chart-title-sub h3 {
  font-size: 1.15rem;
}

.live-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(16, 185, 129, 0.1);
  color: var(--color-success);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: var(--border-radius-pill);
  font-weight: 600;
}

.live-indicator::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-success);
  animation: pulse 1s infinite;
}

.svg-chart-container {
  width: 100%;
  height: 220px;
  position: relative;
}

.chart-grid-y {
  stroke: rgba(148, 163, 184, 0.15);
  stroke-dasharray: 4 4;
}

.chart-line {
  fill: none;
  stroke: url(#chartGradient);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: all 0.5s ease;
}

.chart-area {
  fill: url(#chartAreaGradient);
  opacity: 0.15;
  transition: all 0.5s ease;
}

.chart-point {
  fill: var(--color-secondary);
  stroke: #FFFFFF;
  stroke-width: 2.5;
  transition: all 0.5s ease;
}

/* ==========================================================================
   Pricing Packages (价格套餐 移到上一层 - Prominently Placed & Overlapping)
   ========================================================================== */
.pricing-section {
  padding: 0 5% 100px 5%;
  margin-top: -60px; /* Overlaps status-section slightly */
  position: relative;
  z-index: 10;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-card {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(226, 232, 240, 0.8);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(79, 70, 229, 0.2);
}

.pricing-card.featured {
  border: 2px solid var(--color-primary);
  transform: scale(1.03) translateY(-4px);
}

.pricing-card.featured:hover {
  transform: scale(1.03) translateY(-10px);
}

.pricing-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--gradient-brand);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--border-radius-pill);
  text-transform: uppercase;
}

.pricing-name {
  font-size: 1.4rem;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.pricing-price-box {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 28px;
}

.pricing-currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  font-family: var(--font-display);
  letter-spacing: -2px;
  line-height: 1;
}

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

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

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

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

.pricing-features li.disabled {
  color: var(--text-muted);
}

.pricing-features li.disabled svg {
  color: var(--text-muted);
}

.pricing-card .btn-loop {
  width: 100%;
}

/* ==========================================================================
   Elephant Feature Display (全部落地页要有大象的元素图)
   ========================================================================== */
.features-section {
  padding: 80px 5%;
  background: var(--gradient-soft);
  position: relative;
  overflow: hidden;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-md);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 232, 240, 0.4);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* Feature Elephant Mascot Watermark Icon */
.feature-elephant-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
}

.feature-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.feature-text {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

/* Decorative background shapes showing abstract elephants */
.bg-elephant-decoration {
  position: absolute;
  right: -5%;
  bottom: -5%;
  width: 180px;
  height: 180px;
  opacity: 0.03;
  pointer-events: none;
}

/* ==========================================================================
   Infinite Auto-Scrolling Testimonials (无限循环自动轮播)
   ========================================================================== */
.testimonials-section {
  padding: 80px 0;
  overflow: hidden;
  background-color: var(--bg-secondary);
}

.testimonials-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
  position: relative;
  width: 100vw;
}

.testimonials-marquee {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
  position: relative;
}

/* Horizontal track holding duplicate lists */
.testimonials-track {
  display: flex;
  flex-shrink: 0;
  gap: 24px;
  padding: 10px 12px;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.track-reverse {
  animation: marquee-reverse 35s linear infinite;
}

.testimonials-marquee:hover .testimonials-track {
  animation-play-state: paused;
}

.testimonial-card {
  width: 320px;
  background-color: var(--bg-primary);
  border-radius: var(--border-radius-md);
  padding: 24px;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.user-meta {
  display: flex;
  flex-direction: column;
}

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

.user-tag {
  font-size: 0.72rem;
  color: var(--color-primary);
  background-color: rgba(79, 70, 229, 0.08);
  padding: 1px 6px;
  border-radius: 4px;
  align-self: flex-start;
}

.user-stars {
  color: var(--color-accent);
  display: flex;
  gap: 2px;
}

.testimonial-quote {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-style: italic;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 12px)); }
}

@keyframes marquee-reverse {
  0% { transform: translateX(calc(-50% - 12px)); }
  100% { transform: translateX(0); }
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 80px 5%;
  max-width: 800px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.faq-item {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-question {
  width: 100%;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  cursor: pointer;
}

.faq-question svg {
  transition: transform 0.3s ease;
  color: var(--text-secondary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  border-top: 1px solid transparent;
}

/* Active FAQ Class */
.faq-item.active {
  border-color: rgba(79, 70, 229, 0.2);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
  color: var(--color-primary);
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 0 24px 24px 24px;
  border-top-color: rgba(226, 232, 240, 0.6);
}

/* ==========================================================================
   Blog / Articles Section (SEO Hook)
   ========================================================================== */
.blog-section {
  padding: 80px 5%;
  background: var(--bg-primary);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 40px auto 0 auto;
}

.blog-card {
  background-color: var(--bg-secondary);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(226, 232, 240, 0.6);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(79, 70, 229, 0.15);
}

.blog-thumb-wrap {
  width: 100%;
  height: 180px;
  background: var(--gradient-soft);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-card-elephant {
  width: 64px;
  height: 64px;
  opacity: 0.15;
}

.blog-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.blog-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
}

.blog-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
}

.blog-title a {
  transition: color 0.2s ease;
}

.blog-title a:hover {
  color: var(--color-primary);
}

.blog-excerpt {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(226, 232, 240, 0.6);
  font-size: 0.78rem;
  color: var(--text-muted);
}

.blog-more-btn {
  font-weight: 600;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   Footer & SEO PBN Weight Links (页脚 PBN 权重输血管道 - 智能兼容与无nofollow)
   ========================================================================== */
.site-footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
  padding: 60px 5% 30px 5%;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 36px;
  height: 36px;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links-col h4 {
  font-size: 0.95rem;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

.footer-links-col a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  transition: color 0.2s ease;
}

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

/* Crucial PBN Footer Links (友情链接) - Matches original page style */
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pbn-links-container {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.pbn-links-container span {
  opacity: 0.8;
}

/* Standard styling deeply blended with the theme - Small font, no flashing highlights */
.pbn-link {
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
}

.pbn-link:hover {
  color: var(--text-secondary);
  text-decoration: underline;
}

/* ==========================================================================
   Mouse Cursor Trail (Canvas representation)
   ========================================================================== */
#cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

/* Custom mouse cursor hiding on desktop */
@media (min-width: 1024px) {
  body {
    /* Optional: Can hide standard cursor for full trail experience */
    /* cursor: none; */
  }
  /* Ensure interactive links/buttons can still show cursor or special cursor */
}

/* ==========================================================================
   Responsive Design & Mobile Adjustments
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .header-nav {
    padding: 16px 20px;
  }
  
  /* Mobile menu sliding panel */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-secondary);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 40px 40px 40px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.05);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 24px;
    z-index: 100;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  /* Animated toggle buttons for mobile menu open state */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
  
  .nav-cta {
    display: none; /* Injected inside mobile menu on demand or hidden */
  }
  
  .nav-links .btn-loop {
    width: 100%;
    margin-top: 20px;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
  
  .hero-badge {
    align-self: center;
  }
  
  .hero-desc {
    margin: 0 auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1; /* visual on top for mobile */
  }
  
  .dashboard-container {
    grid-template-columns: 1fr;
  }
  
  .pricing-section {
    margin-top: 0;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .pricing-card.featured {
    transform: scale(1);
  }
  .pricing-card.featured:hover {
    transform: translateY(-8px);
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
