/* ==========================================================================
   奈云 (NaiYun) - Premium Technology SaaS Design System
   Pure Native CSS | Responsive | High Performance
   ========================================================================== */

:root {
  --bg-primary: #090d16;
  --bg-secondary: #0f172a;
  --bg-card: rgba(18, 24, 38, 0.75);
  --bg-card-hover: rgba(26, 35, 56, 0.85);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(56, 189, 248, 0.3);
  
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  
  --accent-cyan: #06b6d4;
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  
  --gradient-brand: linear-gradient(135deg, #06b6d4 0%, #3b82f6 50%, #8b5cf6 100%);
  --gradient-glow: radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.15), transparent 70%);
  --gradient-card-glow: linear-gradient(135deg, rgba(56, 189, 248, 0.1), rgba(139, 92, 246, 0.05));
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 30px rgba(6, 182, 212, 0.25);

  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-width: 1200px;
  --header-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-base);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background: var(--bg-primary);
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(56, 189, 248, 0.12), transparent),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(139, 92, 246, 0.06), transparent);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

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

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

/* Typography Helpers */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-full);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  text-transform: uppercase;
}

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

.section-header h2 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

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

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

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.45);
  opacity: 0.95;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Header Navbar */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(9, 13, 22, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

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

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

.brand-logo-icon {
  width: 34px;
  height: 34px;
  background: var(--gradient-brand);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.4);
}

.brand-logo-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #ffffff;
  stroke-width: 2.5;
}

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

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

.nav-link a:hover {
  color: var(--accent-cyan);
}

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

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1001;
}

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

/* Mobile Nav Drawer */
@media (max-width: 992px) {
  .mobile-menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #0d1322;
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 30px 40px 30px;
    gap: 20px;
    border-left: 1px solid var(--border-color);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-link {
    width: 100%;
  }

  .nav-link a {
    display: block;
    font-size: 1.1rem;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-cta {
    display: none;
  }
}

/* Hero Section */
.hero {
  padding-top: calc(var(--header-height) + 60px);
  padding-bottom: 80px;
  position: relative;
}

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

.hero-content h1 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

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

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.hero-badges {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.hero-badge-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent-cyan);
}

/* Hero Tech Dashboard (CSS Animation) */
.dashboard-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(6, 182, 212, 0.08);
  position: relative;
  overflow: hidden;
}

.dashboard-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-brand);
}

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

.dashboard-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-full);
  color: var(--accent-emerald);
  font-size: 0.78rem;
  font-weight: 600;
}

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

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

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

.node-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.node-item:hover {
  background: rgba(56, 189, 248, 0.06);
  border-color: var(--border-highlight);
}

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

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

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

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

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

.ping-tag {
  font-family: monospace;
  font-size: 0.85rem;
  color: var(--accent-emerald);
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-weight: 600;
}

.speed-wave {
  width: 80px;
  height: 20px;
  display: flex;
  align-items: flex-end;
  gap: 3px;
}

.wave-bar {
  flex: 1;
  background: var(--gradient-brand);
  border-radius: 2px;
  animation: waveAnim 1.8s infinite ease-in-out alternate;
}

.wave-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.wave-bar:nth-child(2) { height: 75%; animation-delay: 0.3s; }
.wave-bar:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { height: 60%; animation-delay: 0.4s; }
.wave-bar:nth-child(5) { height: 90%; animation-delay: 0.15s; }

@keyframes waveAnim {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1); }
}

.dashboard-footer-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  text-align: center;
}

.stat-item h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.stat-item p {
  font-size: 0.75rem;
  color: var(--text-muted);
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
}

/* Bento Grid Core Advantages */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-lg), 0 0 30px rgba(6, 182, 212, 0.12);
  background: var(--bg-card-hover);
}

.bento-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--accent-cyan);
}

.bento-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.bento-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

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

.bento-wide {
  grid-column: span 2;
}

@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-wide {
    grid-column: span 1;
  }
}

/* AI & Streaming Section */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.feature-box h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.tags-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tech-tag-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 14px 10px;
  text-align: center;
  transition: all 0.2s ease;
}

.tech-tag-card:hover {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.3);
}

.tech-tag-name {
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.tech-tag-status {
  font-size: 0.72rem;
  color: var(--accent-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

@media (max-width: 768px) {
  .feature-split {
    grid-template-columns: 1fr;
  }
  .tags-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* SaaS Tiered Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  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;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.pricing-recommended {
  border: 2px solid var(--accent-cyan);
  background: linear-gradient(180deg, rgba(6, 182, 212, 0.12) 0%, rgba(18, 24, 38, 0.85) 100%);
  box-shadow: 0 0 35px rgba(6, 182, 212, 0.2);
}

.badge-recommended {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-brand);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: var(--radius-full);
  letter-spacing: 0.5px;
  box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

.plan-name {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.plan-desc {
  color: var(--text-muted);
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.plan-price {
  margin-bottom: 24px;
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.price-currency {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}

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

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

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

.plan-features li.disabled {
  color: var(--text-dim);
}

.plan-features svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.feature-check {
  color: var(--accent-emerald);
}

.feature-cross {
  color: var(--text-dim);
}

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

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

/* SEO Article Cards (3x3 Grid) */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

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

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-lg);
}

.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.article-category {
  color: var(--accent-cyan);
  font-weight: 600;
  background: rgba(6, 182, 212, 0.1);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.article-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
}

.article-card h3 a {
  color: var(--text-main);
}

.article-card h3 a:hover {
  color: var(--accent-cyan);
}

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

.article-footer-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.article-footer-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

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

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

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

/* Testimonials Cards */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.user-rating {
  color: var(--accent-amber);
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.testimonial-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

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

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

.user-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
}

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

@media (max-width: 992px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* FAQ Accordion Section */
.faq-container {
  max-width: 800px;
  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: border-color 0.2s ease;
}

.faq-item.active {
  border-color: var(--border-highlight);
}

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

.faq-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-cyan);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

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

/* Footer Section */
.site-footer {
  background: #060911;
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px 0;
  margin-top: 80px;
}

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

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

.footer-column h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-main);
}

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

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

.footer-links a:hover {
  color: var(--accent-cyan);
}

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

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-legal-links a {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.footer-legal-links a:hover {
  color: var(--accent-cyan);
}

.footer-rec-sites {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  justify-content: center;
}

.footer-rec-sites a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-rec-sites a:hover {
  color: var(--accent-cyan);
}

.copyright-text {
  font-size: 0.82rem;
  color: var(--text-dim);
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* Article Page Layout Styles */
.article-container {
  max-width: 860px;
  margin: 0 auto;
  padding-top: calc(var(--header-height) + 40px);
  padding-bottom: 80px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

.breadcrumb a:hover {
  color: var(--accent-cyan);
}

.breadcrumb-separator {
  color: var(--text-dim);
}

.article-header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.article-header h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 16px;
}

.article-meta-info {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

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

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 800;
  margin: 36px 0 16px 0;
  color: var(--text-main);
  border-left: 4px solid var(--accent-cyan);
  padding-left: 12px;
}

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

.article-content p {
  margin-bottom: 20px;
}

.article-content ul, .article-content ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

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

.article-cta-box {
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  margin: 40px 0;
}

.article-cta-box h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.article-cta-box p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

.related-articles {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.related-articles h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 24px;
}
