:root {
  --paper: #F5F5F0;
  --ink: #1C2320;
  --green: #B9E3A4;
  --red: #AD4537;
  --line: #d1d1c8;
  --muted: #5a635f;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

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

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 3px;
  background-color: var(--ink);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(245, 245, 240, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.5px;
}

.brand img {
  height: 32px;
  width: auto;
  border-radius: 4px;
}

.nav-links {
  display: none;
}

.nav-links a {
  margin: 0 16px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--red);
}

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

.btn-download {
  background-color: var(--ink);
  color: var(--paper);
  padding: 8px 20px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.btn-download:hover {
  background-color: var(--red);
}

/* Hero Section */
.hero-section {
  background-color: var(--ink);
  color: var(--paper);
  padding: 40px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 2.8rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.hero-desc {
  font-size: 1.1rem;
  color: #b0b8b3;
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-block;
  background-color: var(--green);
  color: var(--ink);
  padding: 14px 40px;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 700;
  transition: transform 0.2s, background-color 0.2s;
}

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

.hero-link {
  display: block;
  margin-top: 16px;
  font-size: 0.9rem;
  color: #b0b8b3;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-link:hover {
  color: var(--paper);
}

.hero-fold {
  margin-top: 60px;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.hero-fold::-webkit-scrollbar {
  height: 6px;
}

.hero-fold::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 4px;
}

.fold-item {
  flex: 0 0 200px;
  scroll-snap-align: start;
  position: relative;
}

.fold-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid #333;
}

.fold-info {
  margin-top: 12px;
}

.fold-title {
  font-size: 1rem;
  font-weight: 600;
}

.fold-meta {
  font-size: 0.8rem;
  color: #888;
  margin-top: 4px;
}

.fold-status {
  display: inline-block;
  font-size: 0.7rem;
  padding: 2px 6px;
  background-color: var(--red);
  color: #fff;
  border-radius: 2px;
  margin-top: 6px;
}

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

.alt-bg {
  background-color: #fff;
}

/* Latest Hot */
.hot-strip {
  border-top: 1px solid var(--line);
}

.hot-item {
  border-bottom: 1px solid var(--line);
}

.hot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  cursor: pointer;
}

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

.hot-title {
  font-size: 1.2rem;
  font-weight: 600;
}

.hot-tag {
  font-size: 0.8rem;
  background-color: #e0e0e0;
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--ink);
}

.hot-ep {
  font-size: 0.9rem;
  color: var(--muted);
}

.hot-body {
  display: none;
  padding-bottom: 24px;
  gap: 24px;
  align-items: flex-start;
}

.hot-item.active .hot-body {
  display: flex;
}

.hot-cover {
  width: 140px;
  flex-shrink: 0;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
}

.hot-details {
  flex: 1;
}

.hot-points {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 16px;
  color: var(--muted);
}

.hot-points li {
  margin-bottom: 8px;
}

.btn-text {
  display: inline-block;
  color: var(--red);
  font-weight: 600;
  border-bottom: 1px solid var(--red);
  padding-bottom: 2px;
}

/* Quote Section */
.quote-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.quote-card {
  cursor: pointer;
  padding: 20px;
  border: 1px solid transparent;
  transition: background-color 0.2s;
}

.quote-card:hover {
  background-color: #f0f0ea;
}

.quote-text {
  font-size: 1.4rem;
  font-weight: 500;
  position: relative;
  padding-left: 24px;
}

.quote-text::before {
  content: '“';
  position: absolute;
  left: -10px;
  top: -10px;
  font-size: 3rem;
  color: var(--green);
  font-family: serif;
}

.quote-reveal {
  display: none;
  margin-top: 24px;
  gap: 20px;
  align-items: center;
}

.quote-card.active .quote-reveal {
  display: flex;
}

.quote-cover {
  width: 80px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
}

.quote-meta h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.quote-meta p {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Compare Section */
.compare-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.compare-card {
  border: 1px solid var(--line);
  padding: 20px;
  background-color: #fff;
}

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

.compare-cover {
  width: 100px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
}

.compare-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.compare-tag {
  font-size: 0.8rem;
  color: var(--red);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.compare-table th,
.compare-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.compare-table th {
  color: var(--muted);
  font-weight: normal;
  width: 30%;
}

/* Comments */
.comment-list {
  border-top: 1px solid var(--line);
}

.comment-row {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.comment-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.comment-text {
  font-size: 1rem;
}

/* Brand History */
.history-tabs {
  display: flex;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
}

.history-tab {
  padding: 12px 20px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  color: var(--muted);
  border-bottom: 3px solid transparent;
}

.history-tab.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
}

.history-content {
  display: none;
  padding: 20px;
  background-color: #fff;
  border: 1px solid var(--line);
}

.history-content.active {
  display: block;
}

.history-date {
  font-weight: 600;
  color: var(--red);
  margin-bottom: 8px;
}

.history-title {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

/* Qualifications */
.cert-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  font-size: 0.9rem;
}

.cert-table th,
.cert-table td {
  padding: 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.cert-table th {
  background-color: #f9f9f9;
  font-weight: 600;
  width: 120px;
}

/* FAQ */
.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-q {
  padding: 20px 0;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-a {
  display: none;
  padding-bottom: 20px;
  color: var(--muted);
}

.faq-item.active .faq-a {
  display: block;
}

/* Download Area */
.download-area {
  background-color: var(--green);
  padding: 60px 0;
  text-align: center;
}

.download-area h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.download-desc {
  font-size: 1.1rem;
  margin-bottom: 32px;
  color: #2c3a2d;
}

.dl-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
  margin: 0 auto;
}

.btn-dark {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--ink);
  color: #fff;
  padding: 16px;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  transition: opacity 0.2s;
}

.btn-dark:hover {
  opacity: 0.9;
}

/* Footer */
.site-footer {
  background-color: var(--ink);
  color: #88928c;
  padding: 40px 0;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.footer-nav a {
  color: #c0c8c2;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid #333;
  padding-top: 24px;
}

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

/* Image Wall */
.image-wall {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 40px;
}

.image-wall img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
}

/* Responsive */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .hero-content h1 {
    font-size: 3.5rem;
  }
  .hero-fold {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
  }
  .fold-item {
    flex: 0 0 220px;
  }
  .hot-body {
    display: flex !important;
    opacity: 1;
  }
  .hot-header {
    cursor: default;
  }
  .hot-header .icon {
    display: none;
  }
  .quote-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .quote-card {
    flex: 1 1 30%;
    border: 1px solid var(--line);
  }
  .quote-card.active {
    border-color: var(--ink);
  }
  .quote-reveal {
    flex-direction: column;
    align-items: flex-start;
  }
  .quote-cover {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
  }
  .compare-wrap {
    flex-direction: row;
  }
  .compare-card {
    flex: 1;
  }
  .dl-buttons {
    flex-direction: row;
    justify-content: center;
  }
  .btn-dark {
    padding: 16px 40px;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .image-wall {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1024px) {
  .hero-fold {
    gap: 30px;
  }
  .fold-item {
    flex: 0 0 260px;
  }
  .hot-header {
    padding: 24px 0;
  }
  .hot-cover {
    width: 180px;
  }
  .section-pad {
    padding: 100px 0;
  }
  .compare-table th {
    width: 20%;
  }
  .image-wall {
    grid-template-columns: repeat(5, 1fr);
  }
}

.menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--ink);
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}