:root {
  --bg: #f7f1e8;
  --bg-strong: #ead8bb;
  --panel: rgba(255, 251, 245, 0.86);
  --text: #2f241b;
  --muted: #6f6258;
  --line: rgba(102, 72, 39, 0.12);
  --gold: #a56b2a;
  --gold-deep: #754613;
  --shadow: 0 20px 50px rgba(78, 51, 20, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "PingFang SC", "Hiragino Sans GB", "Noto Serif SC", "Microsoft YaHei", serif;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.7), transparent 34%),
    linear-gradient(180deg, #fbf5ee 0%, var(--bg) 48%, var(--bg-strong) 100%);
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 36px 0 56px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 28px;
  align-items: stretch;
}

.hero-main,
.hero-panel,
.notice-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.hero-main,
.hero-panel {
  padding: 24px;
  background: linear-gradient(145deg, rgba(255, 252, 247, 0.95), rgba(245, 232, 212, 0.84));
}

.meta-label {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-deep);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.title-row {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-top: 16px;
}

.app-icon {
  width: 88px;
  height: 88px;
  border-radius: 18px;
  box-shadow: 0 18px 30px rgba(61, 40, 18, 0.18);
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1;
}

.subtitle {
  margin-top: 8px;
  color: var(--muted);
  font-size: 1.1rem;
}

.lead,
.hero-panel p,
.notice-card p {
  color: var(--muted);
  line-height: 1.8;
}

.lead {
  margin-top: 24px;
  font-size: 1.06rem;
  max-width: 700px;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  margin-top: 28px;
}

.primary-button,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  text-decoration: none;
}

.primary-button {
  background: linear-gradient(135deg, var(--gold), #cc9453);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 28px rgba(165, 107, 42, 0.24);
}

.secondary-link {
  color: var(--gold-deep);
  background: rgba(255, 248, 240, 0.88);
  border: 1px solid rgba(165, 107, 42, 0.18);
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 12px;
  row-gap: 18px;
  margin-top: 28px;
}

.meta-item {
  padding: 16px;
  border-radius: 16px;
  background: rgba(255, 252, 247, 0.82);
  border: 1px solid var(--line);
}

.meta-item strong {
  font-size: 0.98rem;
}

.meta-item-wide {
  grid-column: 1 / -1;
}

.meta-item-wide strong {
  display: block;
  margin-bottom: 6px;
  line-height: 1.5;
}

.meta-item-wide strong:last-child {
  margin-bottom: 0;
}

.hero-panel {
  background: linear-gradient(180deg, rgba(248, 240, 228, 0.95), rgba(237, 221, 198, 0.95));
}

.panel-heading {
  margin-top: 10px;
  font-size: 2rem;
  line-height: 1.1;
}

.panel-feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.panel-feature-item {
  position: relative;
  padding: 12px 12px 12px 16px;
  border-radius: 16px;
  background: rgba(255, 250, 243, 0.74);
  border: 1px solid rgba(102, 72, 39, 0.1);
}

.panel-feature-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), #d2a05f);
}

.panel-feature-item h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.panel-feature-item p {
  line-height: 1.82;
}

.section {
  margin-top: 28px;
}

.screenshot-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.screenshot-strip img {
  width: 100%;
  min-width: 180px;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(102, 72, 39, 0.08);
}

.notice-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.notice-card {
  padding: 22px;
  background: var(--panel);
  border-radius: 20px;
}

.notice-card h3 {
  margin-top: 8px;
  margin-bottom: 10px;
  font-size: 1.18rem;
}

.notice-card a {
  color: var(--gold-deep);
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 36px 16px 40px;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
}

.footer-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 8px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-label {
  font-weight: 600;
  color: var(--text);
  margin-right: 2px;
  letter-spacing: 0.2px;
}

.footer-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 6px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--text);
}

/* Product Links */
.footer-link.product-link {
  color: var(--gold);
}

.footer-link.product-link:hover {
  color: var(--gold-deep);
}

.badge-featured {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  padding: 2px 5px;
  border-radius: 4px;
  background: linear-gradient(135deg, #ef4444, #f97316);
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-left: 2px;
  box-shadow: 0 1px 4px rgba(239, 68, 68, 0.3);
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% {
    opacity: 0.9;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

.footer-bullet {
  color: var(--line);
  font-size: 12px;
  margin: 0 2px;
  user-select: none;
}

.footer-copyright p {
  margin: 8px 0 0 0;
  font-size: 13px;
  letter-spacing: 0.2px;
}

@media (max-width: 980px) {
  .hero,
  .notice-layout {
    grid-template-columns: 1fr;
  }

  .meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .screenshot-strip {
    grid-template-columns: repeat(5, 220px);
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
    padding-top: 20px;
  }

  .hero-main,
  .hero-panel,
  .notice-card {
    padding: 22px;
    border-radius: 18px;
  }

  .title-row {
    align-items: flex-start;
  }

  .meta-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-strip {
    grid-template-columns: repeat(5, 180px);
  }
}
