@charset "utf-8";

:root {
  --primary: #ff7800;
  --primary-dark: #e06a00;
  --primary-light: #ffa94d;
  --bg: #fffaf5;
  --bg-card: #ffffff;
  --text: #333333;
  --text-light: #666666;
  --text-muted: #999999;
  --border: #f0e6da;
  --shadow: 0 4px 20px rgba(255, 120, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(255, 120, 0, 0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1200px;
  --nav-height: 64px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  outline: none;
}

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

ul, ol {
  list-style: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  background: var(--primary);
  border-radius: 2px;
  margin: 12px auto 0;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  margin-top: 16px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  height: var(--nav-height);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(255, 120, 0, 0.1);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.navbar-logo img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu li a {
  display: block;
  padding: 8px 16px;
  font-size: 0.95rem;
  color: var(--text);
  border-radius: 8px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--primary);
  background: rgba(255, 120, 0, 0.08);
}

.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 8px;
  background: none;
  border: none;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.hamburger i {
  display: block;
  width: 24px;
  height: 24px;
}

.hamburger i::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background: url(../iconfont/icon-hamburger.svg) center/contain no-repeat;
}

.hamburger.active i::before {
  background-image: url(../iconfont/icon-close.svg);
}

.hero {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 80px;
  background: linear-gradient(135deg, #fff5eb 0%, #ffe8d1 50%, #fffaf5 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 120, 0, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 120, 0, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 120, 0, 0.1);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-badge i::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background: url(../iconfont/icon-star.svg) center/contain no-repeat;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--text);
  margin-bottom: 16px;
}

.hero-title span {
  color: var(--primary);
  position: relative;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 32px;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  -webkit-tap-highlight-color: transparent;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 120, 0, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-phone-mockup {
  width: 280px;
  height: 560px;
  background: #fff;
  border-radius: 36px;
  box-shadow: 0 20px 60px rgba(255, 120, 0, 0.15);
  position: relative;
  overflow: hidden;
}

.hero-phone-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 36px;
}

.features {
  background: #fff;
}

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

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--primary);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

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

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:nth-child(odd) {
  margin-top: 20px;
}

.feature-card:nth-child(even) {
  margin-bottom: 20px;
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 120, 0, 0.08);
  border-radius: 18px;
}

.feature-icon i {
  display: block;
  width: 32px;
  height: 32px;
}

.feature-icon .icon-read::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background: url(../iconfont/icon-read.svg) center/contain no-repeat;
}

.feature-icon .icon-offline::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background: url(../iconfont/icon-offline.svg) center/contain no-repeat;
}

.feature-icon .icon-bookmark::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background: url(../iconfont/icon-bookmark.svg) center/contain no-repeat;
}

.feature-icon .icon-night::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background: url(../iconfont/icon-night.svg) center/contain no-repeat;
}

.feature-icon .icon-hd::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background: url(../iconfont/icon-hd.svg) center/contain no-repeat;
}

.feature-icon .icon-update::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background: url(../iconfont/icon-update.svg) center/contain no-repeat;
}

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

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.screenshots {
  background: var(--bg);
}

.screenshots-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.screenshots-scroll::-webkit-scrollbar {
  height: 8px;
}

.screenshots-scroll::-webkit-scrollbar-track {
  background: var(--border);
  border-radius: 4px;
}

.screenshots-scroll::-webkit-scrollbar-thumb {
  background: var(--primary-light);
  border-radius: 4px;
}

.screenshots-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

.screenshot-item {
  flex: 0 0 260px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.screenshot-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-hover);
}

.screenshot-item img {
  width: 100%;
  height: auto;
  display: block;
}

.download {
  background: linear-gradient(135deg, #fff5eb 0%, #fffaf5 100%);
}

.download-buttons {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  border-radius: 14px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: var(--transition);
}

.download-btn.android {
  background: #fff;
  color: var(--text);
  border: 2px solid #e8e8e8;
}

.download-btn.android:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.download-btn.ios {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}

.download-btn.ios:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(255, 120, 0, 0.4);
}

.download-btn i {
  display: block;
  width: 32px;
  height: 32px;
}

.download-btn .icon-android::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background: url(../images/安卓.svg) center/contain no-repeat;
}

.download-btn .icon-ios::before {
  content: "";
  display: block;
  width: 32px;
  height: 32px;
  background: url(../images/苹果.svg) center/contain no-repeat;
}

.reviews {
  background: #fff;
}

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

.review-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.review-card:nth-child(2) {
  margin-top: 20px;
}

.review-card:nth-child(5) {
  margin-top: -20px;
}

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

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.review-avatar i::before {
  content: "";
  display: block;
  width: 24px;
  height: 24px;
  background: url(../iconfont/icon-user.svg) center/contain no-repeat;
}

.review-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-user h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.review-user span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.review-stars {
  display: flex;
  gap: 2px;
  margin-bottom: 12px;
}

.review-stars i {
  display: block;
  width: 18px;
  height: 18px;
}

.review-stars i::before {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  background: url(../iconfont/icon-star-filled.svg) center/contain no-repeat;
}

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

.review-images {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.review-images img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
  object-fit: cover;
}

.changelog {
  background: var(--bg);
}

.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--primary), var(--primary-light), transparent);
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
  padding-left: 30px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: #fff;
  border: 3px solid var(--primary);
  border-radius: 50%;
  z-index: 1;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-version {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.timeline-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.timeline-content {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.timeline-content h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.timeline-content ul {
  list-style: none;
}

.timeline-content ul li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.8;
}

.timeline-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--primary-light);
  border-radius: 50%;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 40px;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-right: 40px;
}

.news {
  background: #fff;
}

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

.news-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: row;
}

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

.news-card:nth-child(even) {
  flex-direction: row-reverse;
}

.news-card-img {
  width: 45%;
  min-height: 200px;
  overflow: hidden;
  flex-shrink: 0;
}

.news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.news-card:hover .news-card-img img {
  transform: scale(1.08);
}

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

.news-card-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(255, 120, 0, 0.08);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  align-self: flex-start;
}

.news-card-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-body p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: auto;
  padding-top: 12px;
}

.footer {
  background: #2c2416;
  color: #ccc;
  padding: 50px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #aaa;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 16px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  font-size: 0.88rem;
  color: #aaa;
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: #aaa;
  margin-bottom: 10px;
}

.footer-contact ul li i {
  display: block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer-contact .icon-email::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background: url(../iconfont/icon-email.svg) center/contain no-repeat;
}

.footer-contact .icon-phone::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background: url(../iconfont/icon-phone.svg) center/contain no-repeat;
}

.footer-contact .icon-location::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background: url(../iconfont/icon-location.svg) center/contain no-repeat;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: #888;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.nav-overlay.show {
  display: block;
  opacity: 1;
}

@media screen and (max-width: 1024px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .feature-card:nth-child(odd) {
    margin-top: 0;
  }
  .feature-card:nth-child(even) {
    margin-bottom: 0;
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .review-card:nth-child(2),
  .review-card:nth-child(5) {
    margin-top: 0;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media screen and (max-width: 768px) {
  :root {
    --nav-height: 56px;
  }
  .section {
    padding: 50px 0;
  }
  .section-title {
    font-size: 1.5rem;
  }
  .hamburger {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: var(--nav-height);
    right: 0;
    width: 260px;
    height: calc(100vh - var(--nav-height));
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 0;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .nav-menu.show {
    transform: translateX(0);
  }
  .nav-menu li a {
    padding: 14px 24px;
    border-radius: 0;
    border-bottom: 1px solid var(--border);
  }
  .hero {
    padding-top: calc(var(--nav-height) + 30px);
    padding-bottom: 50px;
  }
  .hero .container {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-phone-mockup {
    width: 200px;
    height: 400px;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .screenshot-item {
    flex: 0 0 200px;
  }
  .download-btn {
    padding: 14px 20px;
    font-size: 1rem;
  }
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .timeline {
    padding-left: 30px;
  }
  .timeline::before {
    left: 10px;
  }
  .timeline-item {
    padding-left: 20px;
  }
  .timeline-item::before {
    left: -24px;
    width: 12px;
    height: 12px;
  }
  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 0;
  }
  .timeline-item:nth-child(odd) .timeline-content {
    margin-right: 0;
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .news-card {
    flex-direction: column !important;
  }
  .news-card-img {
    width: 100%;
    min-height: 140px;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .footer-brand {
    grid-column: span 2;
  }
}

@media screen and (min-width: 1400px) {
  .hero-title {
    font-size: 3.2rem;
  }
}