:root {
  --rainforest: #1B5E20;
  --rainforest-deep: #0D3812;
  --rainforest-light: #2E7D32;
  --rainforest-pale: #E8F5E9;
  --parrot-red: #D32F2F;
  --parrot-coral: #FF5252;
  --macaw-yellow: #F9A825;
  --macaw-amber: #FFD54F;
  --mist-white: #F1F8E9;
  --mist-fog: rgba(241, 248, 233, 0.85);
  --text-primary: #1A301E;
  --text-secondary: #3D5A40;
  --card-bg: rgba(255, 255, 255, 0.88);
  --border-leaf: rgba(27, 94, 32, 0.22);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background:
    radial-gradient(circle at 15% 15%, rgba(46, 125, 50, 0.12), transparent 40%),
    radial-gradient(circle at 85% 30%, rgba(249, 168, 37, 0.08), transparent 45%),
    radial-gradient(circle at 50% 85%, rgba(211, 47, 47, 0.06), transparent 50%),
    linear-gradient(180deg, #F1F8E9 0%, #E8F5E9 40%, #DCEDC8 100%);
  color: var(--text-primary);
  font-family: "Rubik", "Source Han Sans SC", "Noto Sans SC", "思源黑体", "Segoe UI", "PingFang SC", sans-serif;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.wrap { width: min(1160px, calc(100% - 36px)); margin: 0 auto; position: relative; z-index: 5; }

/* Tropical Foliage & Rain Atmosphere */
.rainforest-env {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.mist-layer {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.6) 0%, transparent 70%);
  animation: mist-breathe 10s ease-in-out infinite alternate;
}
.foliage-left, .foliage-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 130px;
  opacity: 0.85;
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.foliage-left {
  left: -20px;
  background:
    radial-gradient(ellipse 90px 220px at 0% 15%, #1B5E20 70%, transparent 72%),
    radial-gradient(ellipse 80px 180px at 0% 45%, #2E7D32 70%, transparent 72%),
    radial-gradient(ellipse 95px 240px at 0% 75%, #0D3812 70%, transparent 72%);
}
.foliage-right {
  right: -20px;
  background:
    radial-gradient(ellipse 90px 200px at 100% 25%, #2E7D32 70%, transparent 72%),
    radial-gradient(ellipse 85px 230px at 100% 60%, #1B5E20 70%, transparent 72%),
    radial-gradient(ellipse 70px 160px at 100% 88%, #0D3812 70%, transparent 72%);
}

/* Rain Dewdrops sliding down */
.raindrop-track {
  position: absolute;
  top: 0;
  left: 35px;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.4), transparent);
}
.dewdrop {
  position: absolute;
  width: 8px;
  height: 14px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: linear-gradient(180deg, #FFFFFF, rgba(255, 255, 255, 0.7));
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.9), inset 1px 1px 2px rgba(255, 255, 255, 0.8);
  animation: drop-slide 6.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.dewdrop.d2 { left: 96%; animation-delay: 3.2s; animation-duration: 7.8s; }

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(241, 248, 233, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(27, 94, 32, 0.28);
  box-shadow: 0 4px 18px rgba(27, 94, 32, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  color: var(--rainforest);
  letter-spacing: 0.06em;
  font-size: 19px;
}
.brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(27, 94, 32, 0.2);
}
.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
}
.nav-links a {
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: 8px;
  transition: all 0.25s ease;
  position: relative;
}
.nav-links a:hover, .nav-links a.on {
  color: var(--rainforest);
  background: rgba(27, 94, 32, 0.09);
}
.nav-links a.on::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--rainforest);
  border-radius: 2px;
}

/* Eco Mascot Badges (Parrot & Tree Frog) */
.eco-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(27, 94, 32, 0.1);
  border: 1px solid rgba(27, 94, 32, 0.25);
  color: var(--rainforest);
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.badge-parrot {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--parrot-red) 45%, var(--macaw-yellow) 90%);
  box-shadow: 0 0 6px rgba(211, 47, 47, 0.5);
}
.badge-frog {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #76FF03 30%, #1B5E20 85%);
  box-shadow: 0 0 6px rgba(46, 125, 50, 0.5);
}

/* Hero Section */
.hero {
  padding: 28px 0 20px;
  position: relative;
  z-index: 5;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}
h1 {
  font-size: clamp(23px, 3.2vw, 36px);
  color: var(--rainforest-deep);
  line-height: 1.28;
  margin-bottom: 10px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.claim {
  font-size: 23px;
  font-weight: 700;
  color: var(--parrot-red);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.claim::before {
  content: "🌿";
  font-size: 20px;
}
.hero-desc {
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 620px;
  line-height: 1.75;
}

/* 4 Download Cards - Above the fold, zero scroll conversion */
.dl-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 20px;
}
.dl-card {
  background: var(--card-bg);
  border: 1.5px solid rgba(27, 94, 32, 0.28);
  border-radius: 16px;
  padding: 16px 10px;
  text-align: center;
  min-height: 128px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 4px 14px rgba(27, 94, 32, 0.08);
  cursor: pointer;
}
.dl-card:hover {
  transform: translateY(-4px);
  border-color: var(--rainforest);
  box-shadow: 0 8px 24px rgba(27, 94, 32, 0.18);
  background: #FFFFFF;
}
.dl-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 2px;
}
.dl-card:nth-child(1) .dl-icon { background: rgba(27, 94, 32, 0.12); color: var(--rainforest); }
.dl-card:nth-child(2) .dl-icon { background: rgba(249, 168, 37, 0.15); color: #E65100; }
.dl-card:nth-child(3) .dl-icon { background: rgba(46, 125, 50, 0.15); color: #1B5E20; }
.dl-card:nth-child(4) .dl-icon { background: rgba(211, 47, 47, 0.12); color: var(--parrot-red); }

.dl-card strong {
  font-size: 14px;
  color: var(--rainforest-deep);
}
.dl-card span {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Hero Showcase Frame */
.hero-showcase {
  background: var(--card-bg);
  border: 2px solid rgba(27, 94, 32, 0.25);
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 12px 32px rgba(27, 94, 32, 0.12);
  position: relative;
}
.hero-showcase::after {
  content: "🦜 栖息雨林 · 进度尽在掌握";
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  color: var(--rainforest);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.hero-showcase img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: 14px;
}

/* Four Feature Modules */
.section {
  padding: 48px 0;
  position: relative;
  z-index: 5;
}
.mod {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
  background: var(--card-bg);
  border: 1.5px solid rgba(27, 94, 32, 0.2);
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 8px 26px rgba(27, 94, 32, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mod:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(27, 94, 32, 0.14);
}
.mod.reverse {
  direction: rtl;
}
.mod.reverse > * {
  direction: ltr;
}
.mod-name {
  color: var(--rainforest);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.mod-name::before {
  content: "◆";
  color: var(--macaw-yellow);
  font-size: 10px;
}
h2 {
  font-size: 26px;
  color: var(--rainforest-deep);
  line-height: 1.35;
  margin-bottom: 16px;
  font-weight: 800;
}
.points {
  list-style: none;
  padding-left: 0;
}
.points li {
  position: relative;
  padding-left: 24px;
  margin: 10px 0;
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.7;
}
.points li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--rainforest);
  font-weight: 900;
  font-size: 13px;
}
.frame {
  background: #FFFFFF;
  border: 1.5px solid rgba(27, 94, 32, 0.18);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 4px 16px rgba(27, 94, 32, 0.08);
}
.frame img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 12px;
}

/* Zero Install Web CTA */
.web-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 30px 36px;
  background: linear-gradient(135deg, rgba(27, 94, 32, 0.12), rgba(249, 168, 37, 0.12));
  border: 2px dashed var(--rainforest);
  border-radius: 24px;
  margin: 20px 0 40px;
}
.web-cta h2 { margin-bottom: 6px; font-size: 24px; }
.web-cta p { color: var(--text-secondary); font-size: 14.5px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  background: var(--rainforest);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(27, 94, 32, 0.28);
}
.btn:hover {
  background: var(--rainforest-deep);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 94, 32, 0.38);
}
.btn.ghost {
  background: transparent;
  color: var(--rainforest);
  border: 2px solid var(--rainforest);
  box-shadow: none;
}
.btn.ghost:hover {
  background: rgba(27, 94, 32, 0.08);
}

/* Web Page Chat Hall */
.hall {
  background: var(--card-bg);
  border: 2px solid rgba(27, 94, 32, 0.25);
  border-radius: 24px;
  padding: 20px;
  margin: 16px 0 32px;
  box-shadow: 0 8px 28px rgba(27, 94, 32, 0.1);
}
.hall-top {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 800;
  color: var(--rainforest);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}
.hall img {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: 14px;
}
.log {
  margin: 14px 0;
  min-height: 48px;
  padding: 12px 16px;
  background: rgba(27, 94, 32, 0.08);
  border-left: 4px solid var(--rainforest);
  border-radius: 0 10px 10px 0;
  font-size: 14px;
  color: var(--rainforest-deep);
  display: flex;
  align-items: center;
}
.bar {
  display: flex;
  gap: 10px;
}
.bar input {
  flex: 1;
  background: #FFFFFF;
  border: 1.5px solid rgba(27, 94, 32, 0.3);
  padding: 12px 20px;
  border-radius: 999px;
  color: var(--text-primary);
  font-size: 14.5px;
  outline: none;
  transition: border-color 0.2s;
}
.bar input:focus {
  border-color: var(--rainforest);
  box-shadow: 0 0 0 3px rgba(27, 94, 32, 0.15);
}

/* Cards Grid */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 20px 0;
}
.card {
  background: var(--card-bg);
  border: 1.5px solid rgba(27, 94, 32, 0.2);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 4px 16px rgba(27, 94, 32, 0.06);
  transition: all 0.25s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--rainforest);
}
.card h3 {
  color: var(--rainforest);
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}
.card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.65;
}

/* FAQ Accordion */
.faq details {
  background: var(--card-bg);
  border: 1.5px solid rgba(27, 94, 32, 0.2);
  border-radius: 14px;
  padding: 14px 18px;
  margin: 10px 0;
  transition: all 0.25s ease;
}
.faq details[open] {
  border-color: var(--rainforest);
  background: #FFFFFF;
}
.faq summary {
  cursor: pointer;
  color: var(--rainforest-deep);
  font-weight: 700;
  font-size: 15.5px;
  user-select: none;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "＋";
  color: var(--rainforest);
  font-weight: 900;
  font-size: 18px;
}
.faq details[open] summary::after {
  content: "—";
}
.faq p {
  margin-top: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
  padding-top: 8px;
  border-top: 1px dashed rgba(27, 94, 32, 0.15);
}

/* Footer */
footer {
  border-top: 2px solid rgba(27, 94, 32, 0.25);
  padding: 32px 0 40px;
  background: rgba(232, 245, 233, 0.95);
  color: var(--text-secondary);
  font-size: 13.5px;
  position: relative;
  z-index: 5;
}
.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
footer a {
  color: var(--rainforest);
  font-weight: 600;
}
footer a:hover {
  color: var(--parrot-red);
}

/* Keyframes */
@keyframes mist-breathe {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 0.9; transform: scale(1.05); }
}
@keyframes drop-slide {
  0% { top: -20px; opacity: 0; }
  10% { opacity: 0.9; }
  85% { opacity: 0.9; }
  100% { top: 100vh; opacity: 0; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .mod, .cards { grid-template-columns: 1fr; }
  .mod.reverse { direction: ltr; }
  .dl-row { grid-template-columns: 1fr 1fr; }
  .nav-inner { flex-direction: column; padding: 12px 0; }
  .hero-showcase img, .frame img, .hall img { height: 200px; }
  .web-cta { flex-direction: column; align-items: flex-start; }
}
