/* ==========================================================================
   影子 云基础设施平台 (Cloud Infrastructure Platform)
   Pastel Pink, Blue & White Palette Core Stylesheet
   ========================================================================== */

:root {
  /* Pastel Pink, Blue & Light Surface Palette */
  --bg-dark: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.85);
  
  --border-color: rgba(226, 232, 240, 0.8);
  --border-pink-glow: rgba(244, 114, 182, 0.35);
  --border-blue-glow: rgba(96, 165, 250, 0.35);
  
  --primary-pink: #ec4899;
  --primary-rose: #f43f5e;
  --primary-pink-soft: #fbcfe8;
  --primary-blue: #3b82f6;
  --primary-blue-soft: #bfdbfe;
  --accent-cyan: #06b6d4;
  --accent-green: #10b981;
  --accent-purple: #a855f7;
  
  --gradient-pink-blue: linear-gradient(135deg, #f472b6 0%, #60a5fa 100%);
  --gradient-pink-purple: linear-gradient(135deg, #f43f5e 0%, #c084fc 100%);
  --gradient-glow: linear-gradient(135deg, rgba(244, 114, 182, 0.12), rgba(96, 165, 250, 0.12));
  
  --text-main: #0f172a; /* High contrast charcoal */
  --text-sub: #475569;  /* Muted slate text */
  --text-muted: #64748b;
  
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  
  --shadow-glow: 0 10px 30px rgba(244, 114, 182, 0.15);
  --shadow-card: 0 10px 30px -5px rgba(148, 163, 184, 0.12), 0 4px 12px rgba(0, 0, 0, 0.03);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --container-width: 1240px;
}

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

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

body {
  overflow-x: hidden;
  background: 
    radial-gradient(circle at 10% 10%, #fce7f3 0%, transparent 45%),
    radial-gradient(circle at 90% 80%, #e0f2fe 0%, transparent 45%),
    #f8fafc;
  min-height: 100vh;
}

a {
  color: var(--primary-pink);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #db2777;
}

img, svg {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

/* Gradient Utility Text */
.gradient-text {
  background: linear-gradient(135deg, #ec4899 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: var(--transition);
  cursor: pointer;
  border: 1px solid transparent;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-pink-blue);
  color: #ffffff;
  box-shadow: 0 4px 20px rgba(244, 114, 182, 0.35);
  font-weight: 700;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(244, 114, 182, 0.5);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.btn-secondary:hover {
  background: #fff5f8;
  border-color: var(--border-pink-glow);
  color: var(--primary-pink);
  transform: translateY(-2px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 0;
  box-shadow: 0 2px 15px rgba(148, 163, 184, 0.08);
}

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

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

.logo-badge {
  background: var(--gradient-pink-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 0.9rem;
  font-weight: 800;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient-pink-blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(244, 114, 182, 0.4);
  flex-shrink: 0;
}

.logo-icon svg {
  width: 22px;
  height: 22px;
}

.nav-menu {
  display: none;
}

.nav-menu.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem;
  gap: 1.25rem;
  box-shadow: 0 20px 40px rgba(148, 163, 184, 0.2);
}

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

.nav-link:hover {
  color: var(--primary-pink);
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  transition: var(--transition);
}

@media (min-width: 1024px) {
  .hamburger {
    display: none;
  }
  
  .nav-menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.8rem;
    position: static;
    background: transparent;
    padding: 0;
    box-shadow: none;
    border: none;
  }
}

/* Section Shared */
.section {
  padding: 4.5rem 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  padding: 0.35rem 1.1rem;
  background: #fce7f3;
  border: 1px solid #fbcfe8;
  border-radius: 50px;
  color: #db2777;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.25;
  margin-bottom: 1rem;
  color: var(--text-main);
}

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

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

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

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-content h1 {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -1px;
  color: var(--text-main);
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3.4rem;
  }
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-sub);
  margin-bottom: 1.75rem;
  max-width: 560px;
}

/* CLI Quick Install Banner (Sleek Dark Terminal with Crisp Syntax Highlighting) */
.cli-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0f172a;
  border: 1px solid rgba(244, 114, 182, 0.4);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.15);
  gap: 1rem;
}

.cli-code {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
}

.cli-prompt {
  color: #f472b6;
  font-weight: 800;
  user-select: none;
}

.cli-cmd {
  color: #f8fafc;
}

.cmd-kw {
  color: #38bdf8;
  font-weight: 700;
}

.cmd-flag {
  color: #f472b6;
}

.cmd-url {
  color: #ffffff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.3);
}

.cmd-pipe {
  color: #a7f3d0;
}

.copy-cli-btn {
  background: rgba(244, 114, 182, 0.2);
  border: 1px solid rgba(244, 114, 182, 0.45);
  color: #ffffff;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  cursor: pointer;
  font-family: var(--font-family);
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}

.copy-cli-btn:hover {
  background: var(--primary-pink);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(244, 114, 182, 0.5);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.stat-item h4 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-pink);
}

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

/* Hero Cloud Diagram Visual (Pastel Pearl Glass) */
.cloud-diagram-container {
  background: #ffffff;
  border: 1px solid var(--border-pink-glow);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

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

.diagram-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.status-badge-live {
  background: #dcfce7;
  color: #15803d;
  border: 1px solid #bbf7d0;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dot-live {
  width: 6px;
  height: 6px;
  background-color: #16a34a;
  border-radius: 50%;
  box-shadow: 0 0 8px #16a34a;
  animation: pulse 2s infinite;
}

/* SVG Cloud Diagram Graphic */
.cloud-svg-wrapper {
  width: 100%;
  height: 240px;
  margin-bottom: 1.5rem;
  position: relative;
}

.cloud-svg-wrapper svg {
  width: 100%;
  height: 100%;
}

.diagram-metrics-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 1rem;
  border: 1px solid var(--border-color);
  text-align: center;
}

.d-metric-val {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-pink);
}

.d-metric-lbl {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Regional Availability Cards */
.regions-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .regions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .regions-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.region-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition);
  position: relative;
  box-shadow: var(--shadow-card);
}

.region-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-pink-glow);
  box-shadow: 0 15px 35px rgba(244, 114, 182, 0.18);
}

.region-flag-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.region-flag-name {
  font-size: 1.1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-main);
}

.region-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--primary-blue);
  background: #eff6ff;
  border: 1px solid #dbeafe;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 700;
}

.region-stats-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-sub);
}

.stat-row {
  display: flex;
  justify-content: space-between;
}

.stat-row span:last-child {
  font-weight: 700;
  color: var(--text-main);
}

/* System Metrics Dashboard Section */
.metrics-section-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-card);
}

.metrics-counter-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .metrics-counter-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .metrics-counter-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.metric-counter-item {
  text-align: center;
  padding: 1rem;
  border-right: 1px solid var(--border-color);
}

.metric-counter-item:last-child {
  border-right: none;
}

@media (max-width: 1023px) {
  .metric-counter-item {
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  .metric-counter-item:last-child {
    border-bottom: none;
  }
}

.metric-counter-item h3 {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 0.25rem;
  background: linear-gradient(135deg, #ec4899 0%, #3b82f6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.metric-counter-item p {
  color: var(--text-sub);
  font-size: 0.9rem;
  font-weight: 600;
}

/* Developer-Oriented Code Section */
.dev-section {
  padding: 4.5rem 0;
}

.dev-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.dev-tabs-header {
  display: flex;
  background: #f8fafc;
  border-bottom: 1px solid var(--border-color);
  overflow-x: auto;
}

.dev-tab-btn {
  padding: 1rem 1.75rem;
  background: none;
  border: none;
  color: var(--text-sub);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.dev-tab-btn:hover {
  color: var(--text-main);
}

.dev-tab-btn.active {
  color: var(--primary-pink);
  border-bottom-color: var(--primary-pink);
  background: #fce7f3;
}

.dev-tab-content {
  display: none;
  padding: 2rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.7;
  color: #cbd5e1;
  background: #0f172a; /* High Contrast Terminal Dark Inside */
  overflow-x: auto;
}

.dev-tab-content.active {
  display: block;
}

.code-keyword { color: #f472b6; font-weight: bold; }
.code-func { color: #38bdf8; }
.code-str { color: #34d399; }
.code-comment { color: #94a3b8; font-style: italic; }

/* Bento Grid Features */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.bento-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.bento-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-pink-glow);
  box-shadow: 0 15px 35px -10px rgba(244, 114, 182, 0.2);
}

.bento-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: #fce7f3;
  border: 1px solid #fbcfe8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--primary-pink);
}

.bento-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.bento-card p {
  color: var(--text-sub);
  font-size: 0.95rem;
}

/* AI & Streaming Scene Grid */
.scene-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .scene-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.scene-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.scene-card:hover {
  border-color: var(--border-blue-glow);
}

.scene-tag-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.scene-tag-ai {
  background: #fce7f3;
  color: #db2777;
  border: 1px solid #fbcfe8;
}

.scene-tag-stream {
  background: #eff6ff;
  color: #2563eb;
  border: 1px solid #dbeafe;
}

.scene-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-main);
}

.scene-card p {
  color: var(--text-sub);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tech-tag {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Pricing Section (Pastel Pink-Blue Style) */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.pricing-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.pricing-card:hover {
  border-color: var(--border-pink-glow);
}

.pricing-featured {
  background: linear-gradient(180deg, #fff5f8 0%, #f0f7ff 100%);
  border: 2px solid var(--primary-pink);
  box-shadow: 0 10px 40px rgba(244, 114, 182, 0.22);
  transform: scale(1.02);
}

.featured-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gradient-pink-blue);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 1.1rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}

.pricing-price {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-main);
  margin: 1rem 0;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

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

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

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

.pricing-features li::before {
  content: "✓";
  color: var(--primary-pink);
  font-weight: 900;
}

/* Articles Section */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

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

@media (min-width: 1024px) {
  .articles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.article-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-pink-glow);
  box-shadow: 0 15px 35px rgba(244, 114, 182, 0.15);
}

.article-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-pink);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
}

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

.article-card p {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-bottom: 1.25rem;
  line-height: 1.5;
  flex-grow: 1;
}

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

/* Testimonials Grid */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-sub);
  font-style: italic;
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.user-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

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

/* FAQ Accordion */
.faq-container {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-card);
}

.faq-item:hover {
  border-color: var(--border-pink-glow);
}

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

.faq-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  color: var(--primary-pink);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  padding: 0 1.5rem;
  color: var(--text-sub);
  font-size: 0.95rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 1.5rem 1.25rem 1.5rem;
  transition: max-height 0.3s ease-in-out;
}

/* Footer (Crisp Pastel Dark Contrast Footer) */
.site-footer {
  background: #0f172a;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 0 2rem;
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

.footer-brand p {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #64748b;
  max-width: 320px;
}

.footer-column h4 {
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

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

.footer-links a {
  color: #94a3b8;
}

.footer-links a:hover {
  color: #f472b6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-recommend {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  font-size: 0.85rem;
}

.footer-recommend a {
  color: #94a3b8;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.2);
}

.footer-recommend a:hover {
  color: #f472b6;
  text-decoration-color: #f472b6;
}

/* Standalone Article Layout */
.article-page {
  padding: 3rem 0 5rem;
}

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

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

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

.article-body h2 {
  font-size: 1.6rem;
  color: var(--text-main);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}

.article-body h3 {
  font-size: 1.3rem;
  color: var(--text-main);
  margin: 1.75rem 0 0.75rem;
}

.article-body p {
  margin-bottom: 1.25rem;
}

.article-body ul, .article-body ol {
  margin: 1rem 0 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.article-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: #ffffff;
  border-radius: var(--radius-md);
  overflow: hidden;
  font-size: 0.95rem;
  box-shadow: var(--shadow-card);
}

.article-body th, .article-body td {
  padding: 0.85rem 1.25rem;
  border: 1px solid var(--border-color);
  text-align: left;
}

.article-body th {
  background: #fce7f3;
  color: #db2777;
  font-weight: 700;
}

.article-cta-box {
  background: linear-gradient(135deg, #fff5f8 0%, #f0f7ff 100%);
  border: 1px solid var(--border-pink-glow);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 3rem 0;
  text-align: center;
  box-shadow: var(--shadow-card);
}

/* Keyframes & Reduced Motion */
@keyframes pulse {
  0% { opacity: 0.4; }
  50% { opacity: 1; }
  100% { opacity: 0.4; }
}

@keyframes dashFlow {
  from { stroke-dashoffset: 40; }
  to { stroke-dashoffset: 0; }
}

.animated-dash {
  stroke-dasharray: 6 6;
  animation: dashFlow 2s linear infinite;
}

@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;
  }
}
