:root {
  --bg: #f1f2f4;
  --bg-soft: #fafbfc;
  --text: #121417;
  --muted: #6f7682;
  --card: #ffffff;
  --border: rgba(18, 20, 23, 0.08);
  --shadow: 0 20px 40px rgba(12, 18, 29, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: #fff;
}

body.modal-open {
  overflow: hidden;
}

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

.container {
  width: min(1160px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.75);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 36px;
  width: auto;
}

.logo-sumore img {
  height: 34px;
  width: 34px;
  border-radius: 8px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #2d323a;
  font-size: 14px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
}

.lang-btn {
  border: none;
  background: transparent;
  color: #4f5663;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 10px;
  border-radius: 999px;
  cursor: pointer;
}

.lang-btn.is-active {
  background: #171a1f;
  color: #fff;
}

.hero {
  background: var(--bg);
  padding: 56px 0 34px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  align-items: center;
}

.eyebrow {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 2px;
}

.hero h1 {
  margin: 14px 0 0;
  font-size: clamp(34px, 7vw, 78px);
  line-height: 1;
  letter-spacing: 0.04em;
}

.hero h2 {
  margin: 12px 0 0;
  font-size: clamp(22px, 3.2vw, 38px);
  color: rgba(18, 20, 23, 0.85);
  letter-spacing: 0.06em;
}

.hero-desc {
  max-width: 560px;
  margin: 20px 0 0;
  line-height: 1.75;
  color: #4f5663;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-primary {
  background: #171a1f;
  color: #fff;
}

.btn-primary:hover {
  background: #090b0e;
}

.btn-ghost {
  border-color: rgba(0, 0, 0, 0.14);
  color: #1a1f27;
  background: rgba(255, 255, 255, 0.75);
}

.btn-ghost:hover {
  border-color: rgba(0, 0, 0, 0.25);
}

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

.hero-visual img {
  display: block;
  width: min(460px, 100%);
  height: auto;
  max-height: none;
  border-radius: 0;
  box-shadow: none;
  filter: none;
}

.stats {
  margin-top: 26px;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px 14px;
  box-shadow: 0 8px 20px rgba(17, 21, 28, 0.04);
}

.stat-card h3 {
  margin: 0;
  font-size: clamp(22px, 2.5vw, 36px);
}

.stat-card p {
  margin: 6px 0 0;
  color: #626b78;
}

.section {
  padding: 72px 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-tag {
  margin: 0;
  color: #8a92a0;
  font-size: 13px;
}

.section-title {
  margin: 10px 0 0;
  font-size: clamp(24px, 3.3vw, 38px);
  max-width: 720px;
  line-height: 1.35;
}

.scene-title {
  max-width: none;
  white-space: nowrap;
}

.features-title {
  max-width: none;
  white-space: nowrap;
}

.feature-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 16px;
  box-shadow: 0 10px 25px rgba(15, 21, 31, 0.04);
}

.feature-card-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: transparent;
}

.feature-card-icon svg {
  width: 28px;
  height: 28px;
  fill: #1f1f1f;
}

.feature-card-body {
  flex: 1;
  min-width: 0;
}

.feature-card h3 {
  margin: 0;
  font-size: 17px;
  line-height: 1.35;
}

.feature-card p {
  margin: 8px 0 0;
  color: #5f6673;
  font-size: 14px;
  line-height: 1.65;
}

.scene-list {
  margin-top: 26px;
  display: grid;
  gap: 14px;
}

.scene-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
}

.scene-item span {
  font-size: 15px;
  color: #171b22;
  font-weight: 700;
}

.scene-item p {
  margin: 6px 0 0;
  color: #646d7a;
}

.cta-wrap {
  text-align: center;
  background: linear-gradient(180deg, #f2f4f7 0%, #ffffff 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 56px 18px 44px;
}

.cta-carousel {
  overflow: hidden;
}

.cta-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.cta-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.cta h2 {
  margin: 0;
  font-size: clamp(28px, 3.4vw, 42px);
}

.cta p {
  margin: 12px auto 24px;
  max-width: 640px;
  color: #626b79;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.cta-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 22px;
}

.cta-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #c8ced8;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.cta-dot.is-active {
  background: var(--primary);
  transform: scale(1.15);
}

.site-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.site-footer p {
  margin: 0;
  padding: 6px 0;
  font-size: 13px;
  color: #7d8694;
  line-height: 1.7;
}

.site-footer .container {
  padding: 20px 0 24px;
}

.site-footer .footer-note {
  color: #5c6370;
  font-weight: 500;
}

.site-footer .footer-legal a {
  color: #5c6370;
  text-decoration: none;
}

.site-footer .footer-legal a:hover {
  color: var(--primary);
}

.site-footer .footer-sep {
  margin: 0 8px;
  color: #c5cad3;
}

.site-footer .footer-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.site-footer .footer-links a:hover {
  text-decoration: underline;
}

.site-footer .footer-copy {
  padding-top: 4px;
}

.notice-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(8, 10, 14, 0.36);
}

.notice-overlay.is-visible {
  display: flex;
}

.notice-modal {
  width: min(620px, 92vw);
  background: #f7f8fa;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 24px 22px;
}

.notice-modal h3 {
  margin: 0;
  font-size: 24px;
}

.notice-modal p {
  margin: 12px 0 0;
  color: #4e5562;
  line-height: 1.8;
}

.notice-modal .btn {
  margin-top: 0;
}

.notice-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.like-burst {
  position: fixed;
  inset: 0;
  z-index: 2000;
  pointer-events: none;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.like-burst.is-active {
  opacity: 1;
}

.like-item {
  position: absolute;
  width: 36px;
  height: 36px;
  animation: like-float 2.2s ease-out forwards;
}

.like-item svg {
  width: 100%;
  height: 100%;
  fill: #1f1f1f;
  opacity: 0.85;
}

@keyframes like-float {
  0% {
    opacity: 0;
    transform: translate(0, 20px) rotate(0deg) scale(calc(var(--like-scale, 1) * 0.6));
  }
  15% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(var(--like-drift, 0px), -140px) rotate(var(--like-rotate, 0deg))
      scale(calc(var(--like-scale, 1) * 1.2));
  }
}

.download-modal {
  width: min(560px, 92vw);
}

.download-intro {
  margin-top: 14px !important;
  color: #4e5562 !important;
}

.download-intro .download-filename {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #1f2430;
}

.download-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
  text-align: left;
}

.download-label {
  flex-shrink: 0;
  color: #4e5562;
  font-size: 14px;
  line-height: 1.6;
  padding-top: 8px;
}

.download-copyable {
  flex: 1;
  min-width: 0;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: #1a5fb4;
  font-size: 13px;
  line-height: 1.5;
  text-align: left;
  word-break: break-all;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.download-copyable:hover {
  background: #f0f4ff;
  border-color: #9bb8e8;
}

.download-copyable:active {
  background: #e4ecfa;
}

.download-copyable-code {
  flex: 0 0 auto;
  min-width: 72px;
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.download-tip {
  margin-top: 14px !important;
  font-size: 13px;
  color: #7d8694 !important;
}

.download-copied {
  margin: 10px 0 0 !important;
  font-size: 13px;
  color: #1a7f37 !important;
  font-weight: 600;
}

.download-modal .btn {
  margin-top: 20px;
  width: 100%;
}

.test-modal {
  width: min(500px, 92vw);
  text-align: center;
}

.test-modal .btn {
  margin-top: 20px;
}

.test-qr {
  display: block;
  width: min(320px, 100%);
  margin: 16px auto 0;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
}

.tutorial-page .hero-desc {
  max-width: 860px;
}

.tutorial-wrap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.tutorial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px 18px;
  box-shadow: 0 10px 25px rgba(15, 21, 31, 0.04);
}

.tutorial-card h2 {
  margin: 0 0 10px;
  font-size: 22px;
}

.tutorial-card h3 {
  margin: 14px 0 8px;
  font-size: 17px;
}

.tutorial-card p {
  margin: 8px 0;
  color: #4f5663;
  line-height: 1.75;
}

.tutorial-card ul,
.tutorial-card ol {
  margin: 0;
  padding-left: 18px;
  color: #4f5663;
  line-height: 1.75;
}

.tutorial-card code {
  padding: 2px 6px;
  background: #f3f5f8;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #1f2430;
}

.tutorial-card-wide {
  grid-column: 1 / -1;
}

.tutorial-card h4 {
  margin: 12px 0 6px;
  font-size: 15px;
  color: #3a4049;
}

.tutorial-table {
  width: 100%;
  margin: 10px 0 14px;
  border-collapse: collapse;
  font-size: 14px;
  color: #4f5663;
}

.tutorial-table th,
.tutorial-table td {
  border: 1px solid var(--border);
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.tutorial-table th {
  background: #f7f8fa;
  font-weight: 600;
  color: #2a303c;
}

.tutorial-note {
  margin: 10px 0 0;
  padding: 10px 12px;
  border-left: 3px solid #9bb8e8;
  background: #f5f8fc;
  border-radius: 0 8px 8px 0;
  color: #4f5663;
  font-size: 14px;
  line-height: 1.7;
}

.tutorial-faq dt {
  margin-top: 12px;
  font-weight: 700;
  color: #2a303c;
}

.tutorial-faq dd {
  margin: 6px 0 0;
  color: #4f5663;
  line-height: 1.75;
}

.tutorial-card a {
  color: #1a5fb4;
  text-decoration: underline;
}

.agreement-content {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  box-shadow: 0 10px 25px rgba(15, 21, 31, 0.04);
}

.agreement-content h2 {
  margin: 24px 0 10px;
  font-size: 18px;
}

.agreement-content h2:first-child {
  margin-top: 0;
}

.agreement-content p,
.agreement-content li {
  color: #2a303c;
  font-weight: 500;
  line-height: 1.8;
}

.agreement-content ul,
.agreement-content ol {
  padding-left: 20px;
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .tutorial-wrap {
    grid-template-columns: 1fr;
  }

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

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

  .scene-title,
  .features-title {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .nav {
    gap: 14px;
    font-size: 13px;
  }

  .hero {
    padding-top: 34px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

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

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

  .section {
    padding: 54px 0;
  }
}
