:root {
  --bg: #fdf9f6;
  --card: #ffffff;
  --text: #161616;
  --muted: #6c6c6c;
  --line: #ece7e1;
  --accent: #f05441;
  --dark: #1d1f22;
  --shadow: 0 8px 24px rgba(26, 26, 26, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

.container {
  width: min(1180px, calc(100vw - 48px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(253, 249, 246, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  white-space: nowrap;
}

.brand-main {
  font-size: 34px;
  font-weight: 750;
  letter-spacing: 0.2px;
}

.accent {
  color: var(--accent);
}

.brand-sub {
  color: #8a8a8a;
  font-size: 15px;
}

.menu {
  display: flex;
  align-items: center;
  gap: 28px;
}

.menu a {
  color: #2a2a2a;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

.actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 14px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-dark {
  background: var(--dark);
  color: #fff;
}

.btn-dark:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(22, 22, 22, 0.18);
}

.btn-light {
  background: #fff;
  color: #222;
  border-color: #dad3cd;
}

.hero {
  padding: 70px 0 44px;
}

.hero-inner {
  text-align: center;
  max-width: 980px;
}

.lobster {
  width: 300px;
  height: 300px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.hero h1 {
  margin: 10px auto 18px;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.2;
  letter-spacing: 0.2px;
}

.hero p {
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  max-width: 980px;
}

.hero-btn {
  margin-top: 28px;
  min-width: 220px;
  font-size: 18px;
  padding: 14px 24px;
}

.section {
  padding: 72px 0;
}

.section h2 {
  margin: 0;
  text-align: center;
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: 1.2;
}

.section-subtitle {
  margin: 16px auto 0;
  max-width: 900px;
  text-align: center;
  color: var(--muted);
  font-size: 16px;
}

.card-grid {
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.card-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feature-card {
  background: var(--card);
  border: 1px solid #eee8e3;
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}

.feature-card h3 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.25;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.tags {
  margin-top: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tags span {
  background: #fff4f1;
  color: #d95140;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.scenes {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.scene-layout {
  margin-top: 34px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 18px;
}

.scene-menu,
.scene-panel {
  background: #fff;
  border: 1px solid #eee8e3;
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.scene-item {
  width: 100%;
  text-align: left;
  border: 1px solid #ebdfd6;
  background: #fff;
  border-radius: 14px;
  padding: 18px;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  cursor: pointer;
}

.scene-item:last-child {
  margin-bottom: 0;
}

.scene-item.active {
  border-color: #f27c65;
  box-shadow: 0 0 0 2px rgba(242, 124, 101, 0.16) inset;
  color: #bf422f;
}

.scene-panel h3 {
  margin: 4px 0 8px;
  font-size: 34px;
}

.scene-panel #scene-target {
  margin: 0;
  color: #434343;
  font-weight: 700;
}

.scene-panel #scene-desc {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.scene-box {
  margin-top: 18px;
  border-radius: 14px;
  border: 1px solid #ebe2d8;
  background: #faf8ff;
  padding: 16px;
}

.scene-box h4 {
  margin: 0 0 8px;
  color: #7353d4;
  font-size: 16px;
}

.scene-box p {
  margin: 0;
  color: #4f4f4f;
}

.scene-box ul {
  margin: 12px 0 0 20px;
  color: #444;
}

.architecture-wrap {
  margin-top: 30px;
  border: 1px solid #efe8e3;
  border-radius: 22px;
  background: #fff;
  padding: 14px;
  box-shadow: var(--shadow);
}

.architecture-wrap img {
  width: 100%;
  display: block;
  border-radius: 14px;
}

.footer {
  padding: 28px 0 36px;
}

.footer p {
  margin: 0;
  text-align: center;
  color: #666;
  font-weight: 600;
}

@media (max-width: 1200px) {
  .menu {
    display: none;
  }

  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .nav {
    min-height: 72px;
  }

  .brand-main {
    font-size: 28px;
  }

  .brand-sub {
    display: none;
  }

  .hero {
    padding-top: 42px;
  }

  .hero p,
  .section-subtitle {
    font-size: 16px;
  }

  .scene-layout {
    grid-template-columns: 1fr;
  }

  .scene-item {
    font-size: 18px;
    padding: 14px;
  }

  .scene-panel h3 {
    font-size: 28px;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(1180px, calc(100vw - 28px));
  }

  .card-grid,
  .card-grid.two {
    grid-template-columns: 1fr;
  }
}
