:root {
  --bg: #ebfbf5;
  --bg-alt: #dcf7ed;
  --bg-dark: #0f172a;
  --surface: #ffffff;
  --surface-tint: #ccf4e6;
  --text: #0f172a;
  --text-muted: #334155;
  --text-inverse: #f8fafc;
  --primary: #0f766e;
  --primary-hover: #115e59;
  --accent: #0369a1;
  --border: #9bd7c2;
  --border-light: #bfe7d8;
  --focus: #2563eb;
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1140px;
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 3rem;
  --space-6: 4rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(circle at 12% 14%, rgba(152, 255, 152, 0.28), transparent 44%),
    radial-gradient(circle at 88% 36%, rgba(100, 216, 203, 0.24), transparent 46%),
    radial-gradient(circle at 22% 78%, rgba(184, 242, 230, 0.42), transparent 48%);
  background-attachment: fixed;
  -webkit-text-size-adjust: 100%;
}

h1,
h2,
h3 {
  width: fit-content;
  max-width: 100%;
  background: linear-gradient(105deg, #053e33 0%, #0d7358 20%, #22b276 38%, #59e399 50%, #22b276 62%, #0d7358 80%, #053e33 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgba(5, 62, 51, 0.12));
  animation: bamboo-gradient-shift 5.5s ease-in-out infinite;
}

h3 a {
  background: linear-gradient(105deg, #053e33 0%, #0d7358 20%, #22b276 38%, #59e399 50%, #22b276 62%, #0d7358 80%, #053e33 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: bamboo-gradient-shift 5.5s ease-in-out infinite;
}

h3 a:hover {
  text-decoration-color: #0f766e;
}

@keyframes bamboo-gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

a {
  color: var(--primary);
  text-underline-offset: 3px;
}

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

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--bg-dark);
  color: var(--text-inverse);
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

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

.bg-falling-leaves {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

section[id],
h2[id],
h3[id] {
  scroll-margin-top: 5.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(241, 253, 248, 0.92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
  padding: 0.5rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  min-height: 44px;
  padding: 0.25rem 0.25rem;
  white-space: nowrap;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.22);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.5rem;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background-color: var(--surface-tint);
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background-color: var(--primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--surface);
  color: var(--text);
  border-color: var(--border);
}

.btn-secondary:hover {
  background-color: var(--bg-alt);
  color: var(--text);
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 1.5rem;
}

/* Hero */
.hero {
  background: linear-gradient(165deg, #cef6e7 0%, #dff9ef 52%, #ebfbf5 100%);
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-light);
}

.hero .container {
  max-width: 1180px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 2.25rem;
  align-items: center;
}

.hero-media {
  width: 100%;
  max-width: 585px;
  margin-inline: auto;
}

.hero-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background-color: #ccfbf1;
  color: #115e59;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1.25;
}

.hero-subtitle {
  margin: 0 0 1rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
}

.hero-desc {
  margin: 0;
  color: var(--text-muted);
}

/* Sections */
.section {
  padding: 3.5rem 0;
}

.section-alt {
  background-color: var(--bg-alt);
}

.section-header {
  max-width: 720px;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  line-height: 1.3;
}

.section-header p {
  margin: 0;
  color: var(--text-muted);
}

/* Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background-color: var(--surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.5rem;
  min-width: 0;
  overflow-wrap: anywhere;
}

.card-media {
  margin-bottom: 1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--border-light);
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  line-height: 1.4;
}

.card p {
  margin: 0;
  color: var(--text-muted);
}

/* Pricing Table */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background-color: var(--surface);
}

.table-wrap .btn {
  white-space: nowrap;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  text-align: left;
}

caption {
  padding: 1rem 1.25rem;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: left;
  background-color: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
  color: var(--text);
}

th,
td {
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: middle;
}

thead th {
  background-color: var(--bg-alt);
  font-weight: 700;
  color: var(--text);
}

tbody tr:last-child th,
tbody tr:last-child td {
  border-bottom: none;
}

.row-highlight {
  background-color: var(--surface-tint);
}

.price-tag {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
}

.table-note {
  margin: 0.875rem 0 0;
  font-size: 0.925rem;
  color: var(--text-muted);
}

/* Streaming & AI */
.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 1rem 0 0;
}

.tag-list li {
  padding: 0.3rem 0.75rem;
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

/* Reviews */
.rating-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius);
  background-color: var(--surface-tint);
  border: 1px solid #99f6e4;
}

.rating-score {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

.review-meta {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

/* FAQ */
.faq-list {
  display: grid;
  gap: 0.875rem;
}

details {
  background-color: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.25rem 1.25rem;
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  padding: 0.65rem 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  color: var(--text);
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--primary);
  flex-shrink: 0;
}

details[open] summary::after {
  content: "−";
}

.faq-body {
  padding: 0 0 1rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-light);
  padding-top: 0.75rem;
}

.faq-body p {
  margin: 0;
}

/* Article & Subpages */
.page-banner {
  background-color: var(--bg-alt);
  border-bottom: 1px solid var(--border-light);
  padding: 2.5rem 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.page-banner h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  line-height: 1.3;
}

.article-layout {
  max-width: 820px;
}

.article-content h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.35rem;
  line-height: 1.35;
}

.article-content p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.article-content ul,
.article-content ol {
  margin: 0 0 1.25rem;
  padding-left: 1.4rem;
  color: var(--text-muted);
}

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

.article-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

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

/* Footer */
.site-footer {
  position: relative;
  z-index: 2;
  background-color: var(--bg-dark);
  color: var(--text-inverse);
  padding: 2.5rem 0;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 2rem;
}

.footer-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.75rem;
  color: var(--text-inverse);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-sm);
}

.footer-nav a:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

/* Responsive */
.hero-grid > *,
.split-feature > *,
.grid-2 > *,
.grid-3 > * {
  min-width: 0;
}

@media (max-width: 960px) {
  .hero-grid,
  .split-feature,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 0;
  }

  .site-nav {
    width: 100%;
    gap: 0.25rem;
  }

  .site-nav a {
    padding: 0.4rem 0.6rem;
    font-size: 0.95rem;
  }

  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding: 2.25rem 0;
  }

  .section {
    padding: 2.5rem 0;
  }

  .cta-group .btn {
    width: 100%;
  }

  .footer-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
  }

  .footer-nav a {
    justify-content: center;
  }
}

/* Hero Mint Forest Symbiosis Scene (V3.0 Photorealistic Layered) */
.hero-scene {
  position: relative;
  width: 100%;
  aspect-ratio: 944 / 460;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(100, 216, 203, 0.45);
  background: #d9f9ef;
  box-shadow: 0 18px 42px rgba(20, 90, 80, 0.13), 0 4px 14px rgba(100, 216, 203, 0.14);
  container-type: inline-size;
  user-select: none;
}

.hero-base-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
}

.hero-scene-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 2;
  pointer-events: none;
}

.hero-botanical-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-leaf-tip {
  position: absolute;
  left: 31.568%;
  top: 0%;
  width: 14.407%;
  height: 26.957%;
  transform-origin: 10% 10%;
  animation: leaf-breeze-tip 6.2s ease-in-out infinite;
}

.hero-leaf-mid {
  position: absolute;
  left: 16.102%;
  top: 8.261%;
  width: 13.136%;
  height: 23.913%;
  transform-origin: 18% 8%;
  animation: leaf-breeze-mid 7.1s ease-in-out -2.4s infinite;
}

.hero-flowers-left {
  position: absolute;
  left: 1.907%;
  top: 56.087%;
  width: 16.631%;
  height: 18.913%;
  transform-origin: 45% 95%;
  animation: flower-breeze 6.6s ease-in-out -1.5s infinite;
}

@keyframes leaf-breeze-tip {
  0%, 100% { transform: rotate(-1.6deg); }
  50% { transform: rotate(2.4deg); }
}

@keyframes leaf-breeze-mid {
  0%, 100% { transform: rotate(1.5deg); }
  50% { transform: rotate(-2.1deg); }
}

@keyframes flower-breeze {
  0%, 100% { transform: rotate(-1.2deg); }
  50% { transform: rotate(1.5deg); }
}

/* Photorealistic Translucent Butterfly Rig */
.hero-butterfly-rig {
  position: absolute;
  left: 65%;
  top: 15%;
  width: 11.5%;
  aspect-ratio: 1 / 0.78;
  transform: translate(-50%, -50%) rotate(-18deg);
  z-index: 4;
  pointer-events: none;
  filter: drop-shadow(0 0 8px rgba(152, 255, 152, 0.55));
}

.hero-butterfly-css-loop {
  animation: bf-flight-css 14s ease-in-out infinite;
}

@keyframes bf-flight-css {
  0%, 100% { left: 66%; top: 15%; transform: translate(-50%, -50%) rotate(-18deg); }
  30% { left: 56%; top: 11%; transform: translate(-50%, -50%) rotate(-24deg); }
  55% { left: 45%; top: 17%; transform: translate(-50%, -50%) rotate(10deg); }
  78% { left: 68%; top: 26%; transform: translate(-50%, -50%) rotate(16deg); }
  88% { left: 69%; top: 24%; transform: translate(-50%, -50%) rotate(4deg); }
}

.bf-sprite-wing-l,
.bf-sprite-wing-r,
.bf-sprite-body {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.bf-sprite-wing-l {
  right: 49%;
  width: 48%;
  height: auto;
  transform-origin: 100% 50%;
  animation: sprite-flap-l 0.48s ease-in-out infinite;
}

.bf-sprite-wing-r {
  left: 49%;
  width: 48%;
  height: auto;
  transform-origin: 0% 50%;
  animation: sprite-flap-r 0.48s ease-in-out infinite;
}

.bf-sprite-body {
  left: 50%;
  width: 24%;
  height: auto;
  transform: translate(-50%, -50%);
  z-index: 2;
}

@keyframes sprite-flap-l {
  0%, 100% { transform: translateY(-50%) scaleX(1); }
  50% { transform: translateY(-50%) scaleX(0.32); }
}

@keyframes sprite-flap-r {
  0%, 100% { transform: translateY(-50%) scaleX(1); }
  50% { transform: translateY(-50%) scaleX(0.32); }
}

/* Light-weight Frosted Glass Feature Pills (Subtle, Non-intrusive) */
.scene-pills {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
}

.scene-pill {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.9cqw;
  padding: 0.72cqw 1.65cqw;
  border-radius: 999px;
  background: rgba(247, 255, 252, 0.54);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 3px 12px rgba(20, 90, 80, 0.08);
  color: #145A50;
  font-size: clamp(9.5px, 1.95cqw, 12.5px);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.scene-pill-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(13px, 2.7cqw, 18px);
  height: clamp(13px, 2.7cqw, 18px);
  border-radius: 50%;
  background: rgba(152, 255, 152, 0.65);
  color: #145A50;
  flex-shrink: 0;
}

.scene-pill-icon svg {
  width: 65%;
  height: 65%;
}

.pill-multi { left: 20.5%; top: 34.5%; }
.pill-stable { left: 18.5%; top: 53.5%; }
.pill-fast { right: 4.5%; top: 24%; }
.pill-global { right: 3.5%; top: 43%; }
.pill-smooth { right: 5%; top: 61.5%; }

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .hero-butterfly-css-loop {
    animation: none !important;
    left: 65% !important;
    top: 15% !important;
    transform: translate(-50%, -50%) rotate(-18deg) !important;
  }

  .bf-sprite-wing-l,
  .bf-sprite-wing-r {
    animation: none !important;
    transform: translateY(-50%) scaleX(0.92) !important;
  }

  h1,
  h2,
  h3,
  h3 a {
    animation: none !important;
    background-position: 35% 50%;
  }
}
