/* ==========================================================================
   狗子云 (Gouziyun.mom) - 淡褐色主题 Pure Native CSS (Zero JS, Instant Load)
   ========================================================================== */
:root {
  --bg-base: #eadfd3;
  --bg-surface: rgba(248, 242, 235, 0.82);
  --bg-card: rgba(252, 248, 242, 0.86);
  --bg-card-hover: rgba(255, 252, 248, 0.96);
  --border-subtle: rgba(120, 82, 48, 0.16);
  --border-accent: rgba(166, 98, 42, 0.52);
  --text-primary: #2d1e12;
  --text-secondary: #533c29;
  --text-muted: #7a5e47;
  --accent-cyan: #a65c26;
  --accent-indigo: #8c4a1c;
  --accent-purple: #c47a3b;
  --accent-emerald: #2f7d57;
  --grad-primary: linear-gradient(135deg, #c27838 0%, #9f5420 55%, #783b14 100%);
  --grad-glow: linear-gradient(90deg, #b45f24, #d48642, #8d4618);
  --shadow-card: 0 16px 40px -14px rgba(84, 52, 26, 0.14);
  --shadow-glow: 0 12px 34px -6px rgba(166, 92, 38, 0.24);
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --max-w: 1240px;
}

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

a:hover {
  color: #783b14;
}

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

/* ==========================================================================
   Dynamic Pure-CSS Animated Background (Warm Light-Brown Aura)
   ========================================================================== */
.bg-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background: radial-gradient(circle at 50% 0%, #f6efe6 0%, #e4d4c3 72%);
}

.bg-grid {
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(139, 90, 43, 0.085) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166, 98, 42, 0.085) 1px, transparent 1px);
  background-size: 56px 56px;
  transform: perspective(700px) rotateX(55deg);
  animation: gridMove 22s linear infinite;
  mask-image: radial-gradient(ellipse at 50% 35%, rgba(0,0,0,0.85) 15%, transparent 72%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 35%, rgba(0,0,0,0.85) 15%, transparent 72%);
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  opacity: 0.55;
  will-change: transform;
}

.orb-1 {
  width: 520px;
  height: 520px;
  top: -140px;
  left: -100px;
  background: radial-gradient(circle, rgba(217, 152, 92, 0.52), transparent 70%);
  animation: floatOrb1 18s ease-in-out infinite alternate;
}

.orb-2 {
  width: 580px;
  height: 580px;
  top: 18%;
  right: -160px;
  background: radial-gradient(circle, rgba(188, 122, 68, 0.44), transparent 70%);
  animation: floatOrb2 24s ease-in-out infinite alternate;
}

.orb-3 {
  width: 480px;
  height: 480px;
  bottom: -120px;
  left: 28%;
  background: radial-gradient(circle, rgba(232, 189, 138, 0.55), transparent 70%);
  animation: floatOrb3 20s ease-in-out infinite alternate;
}

@keyframes gridMove {
  0% { transform: perspective(700px) rotateX(55deg) translateY(0); }
  100% { transform: perspective(700px) rotateX(55deg) translateY(56px); }
}

@keyframes floatOrb1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(110px, 80px) scale(1.16); }
}

@keyframes floatOrb2 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-120px, 110px) scale(1.12); }
}

@keyframes floatOrb3 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(80px, -90px) scale(1.2); }
}

@media (prefers-reduced-motion: reduce) {
  .bg-grid, .bg-orb { animation: none !important; }
}

/* ==========================================================================
   Layout & Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 72px 0;
}

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

.section-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #8c4a1c;
  background: rgba(166, 92, 38, 0.12);
  border: 1px solid rgba(166, 92, 38, 0.28);
  margin-bottom: 14px;
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

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

/* ==========================================================================
   Header & Navigation (Top-Left Logo)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(244, 235, 224, 0.84);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 72px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.22rem;
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.brand-logo:hover {
  color: var(--text-primary);
  opacity: 0.9;
}

.brand-logo svg,
.brand-logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(140, 74, 28, 0.22));
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-cyan);
  letter-spacing: 0.06em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
  text-align: center;
}

.btn-primary {
  background: var(--grad-primary);
  color: #ffffff;
  box-shadow: 0 8px 22px -6px rgba(159, 84, 32, 0.45);
}

.btn-primary:hover {
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px -4px rgba(159, 84, 32, 0.55);
}

.btn-outline {
  background: rgba(255, 250, 244, 0.85);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-outline:hover {
  color: var(--accent-cyan);
  border-color: var(--border-accent);
  background: #ffffff;
}

.btn-lg {
  padding: 14px 32px;
  font-size: 1.05rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 88px 0 64px;
  text-align: center;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  background: rgba(47, 125, 87, 0.12);
  border: 1px solid rgba(47, 125, 87, 0.3);
  color: #226344;
  font-size: 0.86rem;
  font-weight: 600;
  margin-bottom: 22px;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f7d57;
  box-shadow: 0 0 8px rgba(47, 125, 87, 0.65);
}

.hero h1 {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

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

.hero-desc {
  max-width: 780px;
  margin: 0 auto 32px;
  font-size: 1.12rem;
  color: var(--text-secondary);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-bottom: 44px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 18px 14px;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-card);
}

.stat-value {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 4px;
}

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

/* ==========================================================================
   Pricing Section (All 4 Plans in a Single Row on Desktop)
   ========================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(12px);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.pricing-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-accent);
  background: var(--bg-card-hover);
}

.pricing-card.featured {
  border: 2px solid var(--accent-cyan);
  background: linear-gradient(180deg, rgba(255, 247, 237, 0.98) 0%, rgba(250, 239, 226, 0.94) 100%);
  box-shadow: var(--shadow-glow);
}

.plan-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(159, 84, 32, 0.35);
}

.plan-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-primary);
}

.plan-sub {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 18px;
  min-height: 2.6em;
}

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

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

.price-amount {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

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

.plan-discount {
  font-size: 0.8rem;
  font-weight: 600;
  color: #2f7d57;
  margin-bottom: 20px;
  min-height: 1.4em;
}

.plan-features {
  list-style: none;
  margin-bottom: 26px;
  flex-grow: 1;
}

.plan-features li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.plan-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-cyan);
  font-weight: 800;
}

.pricing-note {
  margin-top: 22px;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Features & Client Compatibility Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-card);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: var(--border-accent);
  transform: translateY(-3px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(166, 92, 38, 0.14);
  color: var(--accent-cyan);
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}

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

/* ==========================================================================
   Articles Grid (SEO / GEO Knowledge Hub)
   ========================================================================== */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-accent);
}

.article-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.76rem;
  font-weight: 600;
  color: #8c4a1c;
  background: rgba(196, 122, 59, 0.16);
  border: 1px solid rgba(196, 122, 59, 0.32);
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 12px;
}

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

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

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

.article-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

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

/* ==========================================================================
   Reviews Section
   ========================================================================== */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-stars {
  color: #d97706;
  font-size: 0.95rem;
  letter-spacing: 2px;
}

.review-text {
  font-size: 0.94rem;
  color: var(--text-secondary);
  flex-grow: 1;
}

.review-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--text-muted);
  padding-top: 10px;
  border-top: 1px solid var(--border-subtle);
}

.review-author strong {
  color: var(--text-primary);
}

/* ==========================================================================
   FAQ Accordion (Pure HTML <details> + CSS)
   ========================================================================== */
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item[open] {
  border-color: var(--border-accent);
}

.faq-item summary {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--text-primary);
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--accent-cyan);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 22px 18px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

/* ==========================================================================
   Outbound Links & Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(224, 206, 187, 0.72);
  padding: 56px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.footer-col h4 {
  font-size: 0.98rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.footer-col p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

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

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

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

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Article Page Styles
   ========================================================================== */
.article-wrap {
  max-width: 860px;
  margin: 0 auto;
  padding: 44px 20px 72px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

.article-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
  box-shadow: var(--shadow-card);
}

.article-header {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border-subtle);
}

.article-header h1 {
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.article-info {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.86rem;
  color: var(--text-muted);
}

.article-body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 30px 0 12px;
  color: var(--text-primary);
  padding-left: 12px;
  border-left: 3px solid var(--accent-cyan);
}

.article-body h3 {
  font-size: 1.12rem;
  font-weight: 700;
  margin: 22px 0 10px;
  color: var(--text-primary);
}

.article-body p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 1rem;
}

.article-body ul, .article-body ol {
  margin: 0 0 18px 22px;
  color: var(--text-secondary);
}

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

.geo-summary-box {
  background: rgba(166, 92, 38, 0.08);
  border: 1px solid rgba(166, 92, 38, 0.28);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 20px 0 26px;
  color: var(--text-secondary);
}

.geo-summary-box strong {
  color: var(--accent-cyan);
}

.article-table-wrap {
  overflow-x: auto;
  margin: 20px 0 26px;
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.article-table th, .article-table td {
  padding: 12px 14px;
  border: 1px solid var(--border-subtle);
  text-align: left;
}

.article-table th {
  background: rgba(166, 92, 38, 0.12);
  color: var(--text-primary);
  font-weight: 700;
}

.article-table td {
  color: var(--text-secondary);
}

.article-cta-box {
  margin: 32px 0;
  padding: 24px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(217, 152, 92, 0.18), rgba(166, 92, 38, 0.14));
  border: 1px solid var(--border-accent);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.article-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.article-nav-card {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.article-nav-card:hover {
  border-color: var(--border-accent);
}

.article-nav-label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.article-nav-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.related-box {
  margin-top: 36px;
  padding-top: 26px;
  border-top: 1px solid var(--border-subtle);
}

.related-box h3 {
  font-size: 1.15rem;
  margin-bottom: 14px;
}

.related-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 18px;
}

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

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

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1100px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid,
  .articles-grid,
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  .article-panel {
    padding: 24px 18px;
  }
  .article-nav,
  .related-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  section {
    padding: 52px 0;
  }
}
