:root {
  --primary-green: #8BC34A;
  --dark-green: #689F38;
  --accent-orange: #FF6D00;
  --bg-gray: #F8F9FA;
  --text-main: #333333;
  --text-light: #666666;
  --white: #ffffff;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
  --radius-md: 12px;
  --radius-lg: 24px;
  --font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-gray);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
  z-index: 100;
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 22px;
  font-weight: bold;
  color: var(--dark-green);
}

.brand img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 15px;
  color: var(--text-main);
  transition: all 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-green);
  font-weight: bold;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-box {
  background: var(--bg-gray);
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 14px;
  color: var(--text-light);
  border: 1px solid transparent;
  transition: border 0.2s;
  width: 200px;
}

.search-box:focus {
  outline: none;
  border-color: var(--primary-green);
}

.btn-download {
  background: var(--primary-green);
  color: var(--white);
  padding: 8px 24px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: bold;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(139, 195, 74, 0.3);
}

.btn-download:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(139, 195, 74, 0.4);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 50%, #a5d6a7 100%);
  padding: 80px 0;
  overflow: hidden;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-text {
  flex: 1.2;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.8);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 14px;
  color: var(--dark-green);
  margin-bottom: 24px;
  font-weight: bold;
}

.hero-title {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--text-main);
}

.hero-title span {
  color: var(--dark-green);
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-light);
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-bottom: 40px;
}

.stat-item strong {
  display: block;
  font-size: 24px;
  color: var(--dark-green);
}

.stat-item span {
  font-size: 14px;
  color: var(--text-light);
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.btn-ios {
  background: var(--text-main);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.2s;
}

.btn-android {
  border: 2px solid var(--dark-green);
  color: var(--dark-green);
  padding: 12px 32px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.2s;
}

.btn-ios:hover, .btn-android:hover {
  transform: translateY(-2px);
}

.hero-image-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
}

.hero-main-img {
  width: 320px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 3/4;
}

/* Download Area */
.download-area {
  background: linear-gradient(135deg, #fff8e1 0%, #fff3e0 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.bg-circle {
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(255, 109, 0, 0.05);
  border-radius: 50%;
  top: -100px;
  right: -100px;
  z-index: 1;
}

.download-inner {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 60px;
  align-items: center;
}

.download-text {
  flex: 1;
}

.section-title-center {
  text-align: center;
  margin-bottom: 40px;
}

.section-title-center h2 {
  font-size: 36px;
  color: var(--text-main);
  margin-bottom: 16px;
}

.section-title-center h2 span.orange {
  background: linear-gradient(90deg, #FF8A00, #FF6D00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-title-center p {
  font-size: 16px;
  color: var(--text-light);
}

.download-guide {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 16px;
  color: var(--text-main);
}

.download-desc {
  color: var(--text-light);
  font-size: 15px;
  margin-bottom: 32px;
  line-height: 1.8;
}

.download-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.dl-card {
  background: var(--white);
  padding: 20px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}

.dl-info h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.dl-info p {
  font-size: 13px;
  color: var(--text-light);
}

.btn-orange {
  background: var(--accent-orange);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.2s;
}

.btn-green {
  background: var(--primary-green);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 14px;
  transition: all 0.2s;
}

.btn-orange:hover, .btn-green:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.dl-tags {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dl-tag {
  background: rgba(139, 195, 74, 0.1);
  color: var(--dark-green);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: bold;
}

.download-qr {
  flex: 0 0 300px;
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.qr-placeholder {
  width: 200px;
  height: 200px;
  background: var(--bg-gray);
  border-radius: var(--radius-md);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 14px;
}

/* Content Sections */
.section-padding {
  padding: 80px 0;
}

.section-title {
  font-size: 32px;
  text-align: center;
  margin-bottom: 48px;
  color: var(--text-main);
}

.section-title span {
  color: var(--dark-green);
}

/* Ranking */
.ranking-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-img-wrapper {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

.rank-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--white);
  background: rgba(0,0,0,0.6);
  z-index: 2;
}

.rank-1 { background: var(--accent-orange); }
.rank-2 { background: #B0BEC5; color: #333; }
.rank-3 { background: #8D6E63; }

.card-content {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-meta {
  font-size: 13px;
  color: var(--text-light);
  margin-top: auto;
}

/* Library */
.library-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.lib-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  transition: all 0.3s;
}

.lib-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.lib-img {
  flex: 0 0 200px;
  height: 280px;
  overflow: hidden;
}

.lib-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.lib-card:hover .lib-img img {
  transform: scale(1.05);
}

.lib-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lib-content h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
}

.lib-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.lib-tag {
  font-size: 12px;
  color: var(--primary-green);
  background: rgba(139, 195, 74, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
}

.lib-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.75;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Calendar */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.calendar-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border-top: 4px solid var(--primary-green);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.calendar-day {
  font-size: 16px;
  font-weight: bold;
  color: var(--dark-green);
  margin-bottom: 12px;
  text-align: center;
  border-bottom: 1px solid var(--bg-gray);
  padding-bottom: 8px;
}

.calendar-list {
  font-size: 13px;
  color: var(--text-light);
}

.calendar-list li {
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.calendar-note {
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
  margin-top: 24px;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.feature-card {
  background: var(--white);
  padding: 40px 24px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.faq-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--primary-green);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.faq-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.faq-q {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 8px;
}

.faq-a {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
}

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.review-card:hover {
  box-shadow: var(--shadow-md);
}

.review-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--dark-green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
}

.review-user {
  flex: 1;
}

.review-name {
  font-size: 15px;
  font-weight: bold;
}

.review-meta {
  font-size: 12px;
  color: var(--text-light);
}

.review-stars {
  color: var(--accent-orange);
  font-size: 14px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 16px;
}

.review-tag {
  display: inline-block;
  font-size: 12px;
  color: var(--primary-green);
  background: rgba(139, 195, 74, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
}

/* Bottom CTA */
.bottom-cta {
  background: linear-gradient(135deg, #2e4a1a 0%, #1f3311 100%);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
}

.bottom-cta h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.bottom-cta p {
  font-size: 16px;
  opacity: 0.8;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn-white {
  background: var(--white);
  color: var(--dark-green);
  padding: 14px 40px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.2s;
}

.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  padding: 12px 40px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: bold;
  transition: all 0.2s;
}

.btn-white:hover, .btn-outline-white:hover {
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: #888;
  padding: 60px 0 30px;
  font-size: 14px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ccc;
  font-size: 18px;
  font-weight: bold;
}

.footer-brand img {
  height: 32px;
  filter: grayscale(100%);
  opacity: 0.7;
}

.footer-links {
  display: flex;
  gap: 60px;
}

.footer-col h4 {
  color: #ccc;
  font-size: 15px;
  margin-bottom: 16px;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: #888;
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--primary-green);
}

.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid #333;
  font-size: 13px;
  color: #666;
}

.footer-bottom a {
  color: #666;
}

.footer-bottom a:hover {
  color: #999;
}

/* Floating Button */
.floating-btn {
  position: fixed;
  bottom: 80px;
  right: 28px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: float 2s infinite ease-in-out;
}

.floating-tip {
  background: var(--white);
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 12px;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  margin-bottom: 8px;
  white-space: nowrap;
}

.floating-action {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #FF8A00, #FF6D00);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(255, 109, 0, 0.4);
  transition: transform 0.2s;
}

.floating-action:hover {
  transform: scale(1.08);
}

.floating-action span:first-child {
  font-size: 20px;
  margin-bottom: 2px;
}

.floating-action span:last-child {
  font-size: 12px;
  font-weight: bold;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Responsive */
@media (max-width: 1024px) {
  .nav-links, .search-box { display: none; }
  .hero-inner { flex-direction: column; text-align: center; gap: 40px; }
  .hero-subtitle { margin: 0 auto 40px; }
  .hero-stats { justify-content: center; }
  .hero-buttons { justify-content: center; }
  .download-inner { flex-direction: column; }
  .download-qr { flex: none; width: 100%; max-width: 400px; }
  .ranking-grid { grid-template-columns: repeat(3, 1fr); }
  .calendar-grid { grid-template-columns: repeat(4, 1fr); }
  .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-title { font-size: 32px; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-buttons { flex-direction: column; }
  .ranking-grid { grid-template-columns: repeat(2, 1fr); }
  .library-grid { grid-template-columns: 1fr; }
  .lib-card { flex-direction: column; }
  .lib-img { flex: none; height: 200px; width: 100%; }
  .calendar-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .cta-buttons { flex-direction: column; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-links { flex-wrap: wrap; gap: 30px; }
  .floating-btn { bottom: 24px; right: 24px; }
  .floating-action { width: 72px; height: 72px; }
}