:root {
  --red: #ff4d45;
  --red-dark: #e83e36;
  --orange: #ff7a45;
  --ink: #22242d;
  --muted: #6f7480;
  --line: #f0e6e4;
  --paper: #ffffff;
  --peach-bg: #fff3f0;
  --soft-peach: #fff0e7;
  --soft-blue: #eef7ff;
  --soft-pink: #fff0f8;
  --soft-mint: #ebfbf7;
  --soft-violet: #f1efff;
  --shadow: 0 18px 50px rgba(226, 91, 75, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  background: var(--paper);
}

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

button {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 40px;
  border-bottom: 1px solid #f3e7e4;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  font-weight: 800;
  white-space: nowrap;
}

.brand-full-logo {
  display: block;
  width: auto;
  height: 34px;
  object-fit: contain;
}

.footer-brand .brand-full-logo {
  height: 32px;
}

.nav-links {
  display: flex;
  gap: 32px;
  color: #5e626d;
  font-size: 14px;
}

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

.primary-btn,
.ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 132px;
  min-height: 42px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 700;
  white-space: nowrap;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(180deg, #ff6b61 0%, var(--red) 100%);
  box-shadow: 0 12px 24px rgba(255, 77, 69, 0.2);
}

.ghost-btn {
  color: #373946;
  background: #fff;
  border-color: #f0eeee;
}

.ghost-btn.small {
  min-width: 108px;
  min-height: 34px;
  padding: 0 16px;
  font-size: 14px;
}

.hero {
  padding: 68px 6vw 78px;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 239, 235, 0.95) 0%, rgba(255, 247, 244, 0.9) 50%, #fff 100%),
    var(--peach-bg);
}

.hero-copy {
  max-width: 1120px;
  margin: 0 auto;
}

.hero h1 {
  margin: 0;
  color: var(--red);
  font-size: 40px;
  line-height: 1.28;
  letter-spacing: 0;
  white-space: nowrap;
}

.hero-copy > p {
  max-width: 820px;
  margin: 20px auto 0;
  color: #333742;
  font-size: 17px;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 32px;
}

.hero-actions .primary-btn,
.hero-actions .ghost-btn {
  min-width: 150px;
  min-height: 46px;
}

.demo-window {
  position: relative;
  max-width: 1080px;
  margin: 48px auto 0;
  overflow: visible;
  background: transparent;
}

.hero-demo-image {
  display: block;
  width: 100%;
  height: auto;
}

.section {
  padding: 82px 6vw 72px;
  background: #fff;
}

.section-title {
  max-width: 820px;
  margin: 0 auto 42px;
  text-align: center;
}

.section-title p {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 18px;
  font-weight: 900;
}

.section-title h2 {
  margin: 0;
  color: #33343a;
  font-size: 34px;
  line-height: 1.3;
  letter-spacing: 0;
}

.problem-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
  max-width: 960px;
  margin: 0 auto;
}

.soft-card {
  min-height: 250px;
  overflow: hidden;
  border: 1px solid #f5efee;
  border-radius: 8px;
  background: #fff;
}

.soft-card h3 {
  margin: 18px 18px 6px;
  color: #33343a;
  font-size: 18px;
}

.soft-card p {
  margin: 0 18px 22px;
  color: #747986;
  font-size: 14px;
}

.card-visual {
  position: relative;
  height: 150px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
}

.card-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-grid {
  max-width: 960px;
}

.feature-grid .soft-card {
  min-height: 282px;
}

.mint {
  background: linear-gradient(180deg, var(--soft-mint) 0%, #fff 58%);
}

.coral {
  background: linear-gradient(180deg, #fff0ec 0%, #fff 58%);
}

.violet {
  background: linear-gradient(180deg, var(--soft-violet) 0%, #fff 58%);
}

.feature-visual {
  height: 168px;
}

.article-band {
  padding: 72px 6vw 78px;
  background: #fbf9f8;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 34px 44px;
  max-width: 1040px;
  margin: 0 auto;
}

.article-grid article {
  min-width: 0;
}

.article-cover {
  height: 128px;
  margin-bottom: 14px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff2ee;
  box-shadow: 0 10px 26px rgba(226, 91, 75, 0.08);
}

.article-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-grid h3 {
  margin: 0 0 6px;
  color: #2c2f38;
  font-size: 17px;
}

.article-grid p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #818692;
  font-size: 14px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.download-band {
  padding: 74px 6vw;
  text-align: center;
  background: #fff;
}

.download-band h2 {
  margin: 0;
  color: var(--red);
  font-size: 34px;
  line-height: 1.3;
  letter-spacing: 0;
}

.download-band p {
  margin: 12px 0 28px;
  color: #555b66;
}

.site-footer {
  padding: 28px 6vw;
  color: #737883;
  border-top: 1px solid #eef0f4;
  background: #fff;
}

.footer-inner {
  display: flex;
  align-items: center;
  gap: 34px;
  max-width: 1120px;
  margin: 0 auto;
}

.site-footer p {
  margin: 0;
  font-size: 15px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  z-index: 50;
  min-width: 132px;
  padding: 12px 20px;
  color: #fff;
  text-align: center;
  border-radius: 8px;
  background: rgba(34, 36, 45, 0.92);
  box-shadow: 0 14px 36px rgba(34, 36, 45, 0.18);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 980px) {
  .site-header {
    padding: 0 24px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    padding-top: 54px;
  }

  .problem-grid,
  .feature-grid,
  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 56px;
    padding: 0 16px;
  }

  .brand-full-logo {
    height: 31px;
  }

  .ghost-btn.small {
    min-width: 88px;
    padding: 0 12px;
  }

  .hero {
    padding: 46px 16px 58px;
  }

  .hero h1 {
    font-size: 30px;
    white-space: normal;
  }

  .hero-copy > p {
    font-size: 15px;
  }

  .hero-actions {
    gap: 12px;
  }

  .hero-actions .primary-btn,
  .hero-actions .ghost-btn {
    min-width: 128px;
    padding: 0 18px;
  }

  .demo-window {
    margin-top: 36px;
  }

  .section,
  .article-band,
  .download-band {
    padding-right: 16px;
    padding-left: 16px;
  }

  .section-title h2,
  .download-band h2 {
    font-size: 26px;
  }

  .problem-grid,
  .feature-grid,
  .article-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}
