:root {
  --banana-yellow: #FFD42A;
  --soft-cream: #FFF8DB;
  --bg-light-blue: #E8F4F8;
  --bg-light-yellow: #FDFBEA;
  --text-dark: #333333;
  --text-gray: #666666;
  --white: #FFFFFF;
  --border-black: #1A1A1A;
  --radius-lg: 24px;
  --radius-pill: 50px;
  --shadow-soft: 0 8px 24px rgba(0,0,0,0.06);
  --shadow-float: 0 12px 32px rgba(0,0,0,0.12);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light-yellow);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--border-black);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
}

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

.main-nav {
  display: flex;
  gap: 20px;
  font-size: 15px;
  font-weight: 600;
}

.main-nav a {
  transition: color 0.3s;
}

.main-nav a:hover {
  color: #E6A800;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--bg-light-blue) 0%, var(--bg-light-yellow) 100%);
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: var(--soft-cream);
  border-radius: 50%;
  opacity: 0.5;
  z-index: 0;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: var(--banana-yellow);
  border-radius: 50%;
  opacity: 0.15;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text-dark);
  font-weight: 800;
}

.hero h1 span {
  color: #E6A800;
  background: linear-gradient(transparent 60%, var(--banana-yellow) 60%);
}

.hero p {
  font-size: 16px;
  color: var(--text-gray);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: 16px;
  font-weight: 700;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--banana-yellow);
  color: var(--border-black);
  border: 2px solid var(--border-black);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 var(--border-black);
}

.btn-outline {
  background-color: var(--white);
  color: var(--text-dark);
  border: 2px solid var(--border-black);
}

.btn-outline:hover {
  transform: translateY(-2px);
  box-shadow: 4px 4px 0 var(--border-black);
}

/* Section Common */
.section {
  padding: 80px 20px;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 48px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  display: block;
  width: 60%;
  height: 6px;
  background-color: var(--banana-yellow);
  border-radius: 3px;
  margin: 8px auto 0;
}

/* 夏日书单 - Masonry */
.summer-list {
  background-color: var(--white);
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 24px;
  align-items: start;
}

.polaroid-card {
  background: var(--white);
  padding: 12px 12px 20px;
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  border: 1px solid #E0E0E0;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
}

.polaroid-card:nth-child(even) {
  margin-top: 32px;
}

.polaroid-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-float);
}

.polaroid-card img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  background-color: var(--bg-light-blue);
  aspect-ratio: 3/4;
  object-fit: cover;
}

.polaroid-card .card-title {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.polaroid-card .card-tag {
  display: block;
  text-align: center;
  font-size: 12px;
  color: var(--text-gray);
  margin-top: 4px;
}

/* 新番速递 - Timeline */
.timeline-section {
  background-color: var(--bg-light-blue);
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 100px;
  width: 4px;
  background-color: var(--border-black);
  border-radius: 2px;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 32px;
  position: relative;
}

.timeline-date {
  width: 80px;
  text-align: right;
  padding-right: 20px;
  font-weight: 800;
  font-size: 14px;
  color: var(--text-dark);
  position: relative;
  flex-shrink: 0;
}

.timeline-date::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 6px;
  width: 12px;
  height: 12px;
  background-color: var(--banana-yellow);
  border: 2px solid var(--border-black);
  border-radius: 50%;
  z-index: 1;
}

.timeline-content {
  flex: 1;
  display: flex;
  gap: 16px;
  background: var(--white);
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-black);
  margin-left: 20px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.05);
}

.timeline-content img {
  width: 80px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background-color: var(--bg-light-blue);
}

.timeline-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.timeline-text h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.timeline-text p {
  font-size: 13px;
  color: var(--text-gray);
  margin-bottom: 8px;
}

.timeline-tag {
  display: inline-block;
  background: var(--soft-cream);
  color: #B07D00;
  padding: 2px 10px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
  border: 1px solid var(--banana-yellow);
  align-self: flex-start;
}

/* 高清图库 - Carousel */
.gallery-section {
  background-color: var(--white);
  padding-bottom: 40px;
}

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

.gallery-wrapper::-webkit-scrollbar {
  height: 8px;
}

.gallery-wrapper::-webkit-scrollbar-thumb {
  background-color: var(--banana-yellow);
  border-radius: 4px;
}

.gallery-item {
  scroll-snap-align: center;
  flex: 0 0 85%;
  max-width: 600px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--border-black);
  box-shadow: 6px 6px 0 var(--border-black);
  position: relative;
  background-color: var(--bg-light-blue);
}

.gallery-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  padding: 30px 20px 16px;
  font-weight: 700;
}

/* 纯净阅读 & 云端书架 - Split Dashboard */
.dashboard-section {
  background-color: var(--bg-light-yellow);
}

.dashboard-split {
  display: flex;
  gap: 32px;
  align-items: stretch;
}

.dash-left, .dash-right {
  flex: 1;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 2px solid var(--border-black);
  box-shadow: 4px 4px 0 rgba(0,0,0,0.05);
}

.dash-left h3, .dash-right h3 {
  font-size: 22px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.dash-left p, .dash-right p {
  font-size: 15px;
  color: var(--text-gray);
  margin-bottom: 24px;
}

.ui-wireframe {
  border: 2px dashed #CCC;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: #FAFAFA;
}

.ui-line {
  height: 12px;
  background-color: #E0E0E0;
  border-radius: 6px;
}

.ui-line.short { width: 60%; }
.ui-line.long { width: 100%; }
.ui-line.medium { width: 80%; }
.ui-img-placeholder {
  height: 120px;
  background-color: #EFEFEF;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #AAA;
  font-size: 12px;
}

.sync-flow {
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 40px 0;
}

.device-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.device-icon svg {
  width: 60px;
  height: 60px;
  fill: var(--text-dark);
}

.device-icon span {
  font-size: 13px;
  font-weight: 600;
}

.sync-line {
  flex: 1;
  height: 3px;
  background: var(--banana-yellow);
  position: relative;
  margin: 0 16px;
  border-radius: 2px;
}

.sync-line::after {
  content: '↔';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20px;
  color: var(--text-dark);
  font-weight: 800;
}

/* 常见问题 - Capsule Accordion */
.faq-section {
  background-color: var(--white);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-light-yellow);
  border-radius: var(--radius-pill);
  border: 2px solid var(--border-black);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.faq-question {
  padding: 20px 28px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.3s;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 28px 24px;
  font-size: 15px;
  color: var(--text-gray);
  line-height: 1.7;
}

/* Reviews */
.reviews-section {
  background-color: var(--bg-light-blue);
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-black);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.review-header img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--banana-yellow);
  object-fit: cover;
}

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

.review-text {
  font-size: 14px;
  color: var(--text-gray);
  flex: 1;
}

/* Install & Download CTA */
.install-section {
  background-color: var(--bg-light-yellow);
  text-align: center;
  border-top: 4px solid var(--border-black);
}

.install-steps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.step-item {
  background: var(--white);
  padding: 20px 32px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-black);
  flex: 1;
  min-width: 240px;
  text-align: left;
}

.step-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--banana-yellow);
  display: block;
  margin-bottom: 8px;
  -webkit-text-stroke: 1px var(--border-black);
}

.step-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 14px;
  color: var(--text-gray);
}

.download-btns-group {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Footer */
.site-footer {
  background-color: var(--border-black);
  color: #CCC;
  padding: 48px 20px 24px;
  text-align: center;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--white);
  font-size: 20px;
  font-weight: 800;
}

.footer-brand img {
  height: 32px;
  width: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  font-size: 14px;
}

.footer-copy {
  font-size: 13px;
  color: #888;
  border-top: 1px solid #333;
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-overlay.show {
  display: flex;
}

.modal-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  border: 3px solid var(--border-black);
  box-shadow: 8px 8px 0 var(--border-black);
}

.modal-box p {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.modal-link {
  background: var(--bg-light-blue);
  padding: 12px;
  border-radius: 8px;
  font-size: 13px;
  word-break: break-all;
  margin-bottom: 20px;
  color: var(--text-gray);
  border: 1px dashed #999;
}

.modal-btn {
  background: var(--banana-yellow);
  color: var(--border-black);
  border: 2px solid var(--border-black);
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-weight: 800;
  cursor: pointer;
  width: 100%;
  font-size: 16px;
  transition: transform 0.2s;
}

.modal-btn:hover {
  transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero h1 { font-size: 28px; }
  .dashboard-split { flex-direction: column; }
  .timeline::before { left: 60px; }
  .timeline-date { width: 50px; font-size: 12px; }
  .timeline-date::after { right: -17px; }
  .timeline-content { margin-left: 10px; }
}

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hero { padding: 40px 16px; }
  .hero h1 { font-size: 24px; }
  .hero p { font-size: 14px; }
  .section { padding: 48px 16px; }
  .section-title { font-size: 22px; margin-bottom: 32px; }
  
  .masonry-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .polaroid-card { padding: 8px 8px 12px; }
  .polaroid-card:nth-child(even) { margin-top: 20px; }
  .polaroid-card .card-title { font-size: 13px; }

  .timeline::before { left: 20px; }
  .timeline-item { flex-direction: column; margin-bottom: 24px; }
  .timeline-date {
    width: auto;
    text-align: left;
    padding-left: 40px;
    padding-bottom: 8px;
  }
  .timeline-date::after { left: 20px; right: auto; top: 4px; }
  .timeline-content {
    margin-left: 40px;
    flex-direction: column;
  }
  .timeline-content img {
    width: 100%;
    height: 160px;
  }

  .gallery-item { flex: 0 0 95%; }
  .gallery-item img { height: 260px; }

  .dash-left, .dash-right { padding: 20px; }
  .sync-flow { padding: 20px 0; }
  .device-icon svg { width: 40px; height: 40px; }
  .sync-line::after { top: -10px; font-size: 16px; }

  .faq-question { padding: 16px 20px; font-size: 14px; }
  .faq-answer { padding: 0 20px 20px; font-size: 13px; }

  .step-item { min-width: 100%; padding: 16px 20px; }
  
  .download-btns-group { flex-direction: column; }
  .btn { width: 100%; }

  .footer-links { flex-wrap: wrap; gap: 16px; }
}