﻿@charset "utf-8";

:root {
  --green-primary: #7EC850;
  --green-light: #A8E6CF;
  --green-lighter: #DCEDC1;
  --green-dark: #5DA83A;
  --green-deep: #3A7A2A;
  --green-footer: #2A5E1E;
  --black-stroke: #2D2D2D;
  --white-card: #FFFFFF;
  --text-dark: #333333;
  --text-mid: #666666;
  --text-light: #999999;
  --max-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --stroke-width: 3px;
  --shadow-card: 0 4px 0 var(--black-stroke), 0 6px 16px rgba(0,0,0,0.08);
  --shadow-btn: 0 4px 0 var(--black-stroke);
  --shadow-hover: 0 2px 0 var(--black-stroke), 0 4px 12px rgba(0,0,0,0.1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
  color: var(--text-dark);
  background-color: var(--white-card);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: var(--green-primary);
  border-radius: 2px;
  border: 2px solid var(--black-stroke);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-mid);
  margin-top: 12px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  border-bottom: var(--stroke-width) solid var(--black-stroke);
  min-height: 64px;
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.5);
}

.nav-brand-text {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  text-shadow: 2px 2px 0 rgba(0,0,0,0.15);
  letter-spacing: 2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu li a {
  display: block;
  padding: 8px 16px;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 20px;
}

.nav-menu li a:hover {
  background: rgba(255,255,255,0.2);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle-icon {
  display: block;
  width: 32px;
  height: 32px;
  background-image: url('../icons/icon-menu.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.nav-toggle.active .nav-toggle-icon {
  background-image: url('../icons/icon-close.svg');
}

.hero {
  background: linear-gradient(180deg, var(--green-lighter) 0%, #B8E6B0 40%, var(--green-light) 100%);
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-bottom: var(--stroke-width) solid var(--black-stroke);
}

.hero::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--green-light) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.6;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 40px 20px;
}

.hero-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 24px;
  background-image: url('../images/logo.webp');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border-radius: 28px;
  border: 4px solid var(--black-stroke);
  box-shadow: var(--shadow-card);
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  color: var(--text-dark);
  line-height: 1.3;
  margin-bottom: 16px;
  text-shadow: 2px 2px 0 rgba(255,255,255,0.6);
}

.hero-title span {
  color: var(--green-deep);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-mid);
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-btn {
  display: inline-block;
  padding: 16px 48px;
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  border-radius: 50px;
  border: var(--stroke-width) solid var(--black-stroke);
  box-shadow: var(--shadow-btn);
  letter-spacing: 2px;
}

.hero-btn:hover {
  background: linear-gradient(135deg, var(--green-dark), var(--green-deep));
  box-shadow: var(--shadow-hover);
}

.hero-frog-decor {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 80px;
  line-height: 1;
  opacity: 0.3;
  pointer-events: none;
}

.features {
  background: var(--white-card);
  background-image:
    radial-gradient(circle at 20% 20%, var(--green-lighter) 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, var(--green-light) 0%, transparent 40%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--white-card);
  border: var(--stroke-width) solid var(--black-stroke);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--green-primary), var(--green-light), var(--green-primary));
  border-bottom: 2px solid var(--black-stroke);
}

.feature-card-icon {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.feature-card-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.feature-card-desc {
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.icon-reading::before {
  content: '';
  display: block;
  width: 64px;
  height: 64px;
  background-image: url('../icons/icon-reading.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-library::before {
  content: '';
  display: block;
  width: 64px;
  height: 64px;
  background-image: url('../icons/icon-library.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-download::before {
  content: '';
  display: block;
  width: 64px;
  height: 64px;
  background-image: url('../icons/icon-download.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-hd::before {
  content: '';
  display: block;
  width: 64px;
  height: 64px;
  background-image: url('../icons/icon-hd.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-search::before {
  content: '';
  display: block;
  width: 64px;
  height: 64px;
  background-image: url('../icons/icon-search.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-sync::before {
  content: '';
  display: block;
  width: 64px;
  height: 64px;
  background-image: url('../icons/icon-sync.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-night::before {
  content: '';
  display: block;
  width: 64px;
  height: 64px;
  background-image: url('../icons/icon-night.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-free::before {
  content: '';
  display: block;
  width: 64px;
  height: 64px;
  background-image: url('../icons/icon-free.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-star::before {
  content: '';
  display: block;
  width: 64px;
  height: 64px;
  background-image: url('../icons/icon-star.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.screenshots {
  background: linear-gradient(180deg, var(--green-lighter), var(--green-light));
  border-top: var(--stroke-width) solid var(--black-stroke);
  border-bottom: var(--stroke-width) solid var(--black-stroke);
}

.screenshots-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 8px 8px 24px 8px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--green-primary) var(--green-lighter);
}

.screenshots-scroll::-webkit-scrollbar {
  height: 10px;
}

.screenshots-scroll::-webkit-scrollbar-track {
  background: var(--green-lighter);
  border-radius: 5px;
  border: 2px solid var(--black-stroke);
}

.screenshots-scroll::-webkit-scrollbar-thumb {
  background: var(--green-primary);
  border-radius: 5px;
  border: 2px solid var(--black-stroke);
}

.screenshot-card {
  flex: 0 0 280px;
  border-radius: var(--radius-md);
  border: var(--stroke-width) solid var(--black-stroke);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--white-card);
}

.screenshot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.download {
  background: var(--white-card);
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.download-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 40px;
  border-radius: var(--radius-xl);
  border: var(--stroke-width) solid var(--black-stroke);
  box-shadow: var(--shadow-btn);
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
}

.download-btn-android {
  background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
}

.download-btn-android:hover {
  background: linear-gradient(135deg, var(--green-dark), var(--green-deep));
  box-shadow: var(--shadow-hover);
}

.download-btn-ios {
  background: linear-gradient(135deg, #4A4A4A, #2D2D2D);
}

.download-btn-ios:hover {
  background: linear-gradient(135deg, #2D2D2D, #1A1A1A);
  box-shadow: var(--shadow-hover);
}

.icon-android::before {
  content: '';
  display: block;
  width: 32px;
  height: 32px;
  background-image: url('../icons/android.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.icon-apple::before {
  content: '';
  display: block;
  width: 32px;
  height: 32px;
  background-image: url('../icons/apple.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.download-note {
  text-align: center;
  margin-top: 24px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.reviews {
  background: linear-gradient(180deg, var(--green-lighter) 0%, #D4F0C0 50%, var(--green-light) 100%);
  border-top: var(--stroke-width) solid var(--black-stroke);
  border-bottom: var(--stroke-width) solid var(--black-stroke);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--white-card);
  border: var(--stroke-width) solid var(--black-stroke);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-card);
  position: relative;
}

.review-card:nth-child(odd) {
  margin-top: 24px;
}

.review-card:nth-child(even) {
  margin-top: -12px;
}

.review-card::before {
  content: '\201C';
  position: absolute;
  top: 10px;
  left: 16px;
  font-size: 3rem;
  color: var(--green-light);
  font-weight: bold;
  line-height: 1;
  font-family: Georgia, serif;
}

.review-stars {
  color: #F5A623;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.7;
  margin-bottom: 16px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--green-primary);
  background: var(--green-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--green-dark);
}

.review-author-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-dark);
}

.review-author-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

.changelog {
  background: var(--white-card);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--green-lighter);
  border-radius: 2px;
  border-left: 2px solid var(--black-stroke);
  border-right: 2px solid var(--black-stroke);
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  width: 100%;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
  margin-right: 55%;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 55%;
  margin-right: auto;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 16px;
  transform: translate(-50%, -50%);
  width: 16px;
  height: 16px;
  background: var(--green-primary);
  border: var(--stroke-width) solid var(--black-stroke);
  border-radius: 50%;
  z-index: 2;
}

.timeline-content {
  width: 42%;
  background: var(--white-card);
  border: var(--stroke-width) solid var(--black-stroke);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  box-shadow: var(--shadow-card);
}

.timeline-version {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 6px;
}

.timeline-date {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.timeline-desc {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.6;
}

.timeline-desc ul {
  padding: 0;
  margin: 0;
}

.timeline-desc ul li {
  position: relative;
  margin-bottom: 4px;
  list-style-type: disc;
  list-style-position: inside;
  color: var(--green-primary);
}

.timeline-desc ul li::marker {
  color: var(--green-primary);
  font-size: 0.7em;
}

.news {
  background: linear-gradient(180deg, var(--green-lighter), var(--green-light));
  border-top: var(--stroke-width) solid var(--black-stroke);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--white-card);
  border: var(--stroke-width) solid var(--black-stroke);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: row;
}

.news-card-img {
  width: 200px;
  min-height: 160px;
  flex-shrink: 0;
  background: var(--green-lighter);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 2px solid var(--black-stroke);
  overflow: hidden;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-img-placeholder {
  width: 80px;
  height: 80px;
  background-image: url('../icons/icon-star.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.5;
}

.news-card-body {
  padding: 20px;
  flex: 1;
}

.news-card-tag {
  display: inline-block;
  padding: 3px 12px;
  background: var(--green-lighter);
  border: 2px solid var(--green-primary);
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
}

.news-card-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 8px;
  line-height: 1.4;
}

.news-card-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

.footer {
  background: var(--green-footer);
  color: rgba(255,255,255,0.8);
  padding: 48px 0 32px;
  border-top: var(--stroke-width) solid var(--black-stroke);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand-name {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.footer-brand-desc {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.6);
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.footer-col ul li a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

@media (max-width: 1023px) {
  .section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-card:nth-child(odd),
  .review-card:nth-child(even) {
    margin-top: 0;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .timeline-item:nth-child(odd) .timeline-content {
    margin-right: 52%;
  }

  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 52%;
  }

  .timeline-content {
    width: 44%;
  }

  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .section {
    padding: 48px 0;
  }

  .container {
    padding: 0 16px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  
  .nav-inner {
    height: 56px;
  }

  .nav-brand-text {
    font-size: 1.2rem;
  }

  .nav-logo {
    width: 34px;
    height: 34px;
  }

  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav-menu {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, var(--green-dark), var(--green-deep));
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 24px 0;
    gap: 4px;
    display: none;
    overflow-y: auto;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-menu li a {
    display: block;
    padding: 14px 20px;
    font-size: 1.1rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  
  .hero {
    min-height: 480px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-btn {
    padding: 14px 36px;
    font-size: 1.05rem;
  }

  .hero-icon {
    width: 90px;
    height: 90px;
    border-radius: 22px;
  }

  
  .features-grid {
    grid-template-columns: 1fr;
  }

  
  .screenshot-card {
    flex: 0 0 220px;
  }

  
  .download-buttons {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .download-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  
  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review-card:nth-child(odd),
  .review-card:nth-child(even) {
    margin-top: 0;
  }

  
  .timeline::before {
    left: 20px;
  }

  .timeline-dot {
    left: 20px;
  }

  .timeline-item:nth-child(odd) .timeline-content,
  .timeline-item:nth-child(even) .timeline-content {
    margin: 0 0 0 48px;
    width: auto;
    text-align: left;
  }

  .timeline-content {
    width: auto;
  }

  
  .news-card {
    flex-direction: column;
  }

  .news-card-img {
    width: 100%;
    min-height: 140px;
    border-right: none;
    border-bottom: 2px solid var(--black-stroke);
  }

  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .footer-grid > div:first-child {
    grid-column: span 2;
  }
}