:root {
  color-scheme: dark;
  --bg: #090d14;
  --bg-soft: #0d1420;
  --ink: #f6f0e6;
  --muted: #b7aa97;
  --faint: #7d8796;
  --line: rgba(246, 240, 230, 0.14);
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --gold: #d6b36a;
  --gold-soft: #f0dca8;
  --teal: #75c9bd;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

*,
*::before,
*::after {
  min-width: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 18% 0%, rgba(117, 201, 189, 0.12), transparent 32%),
    radial-gradient(circle at 85% 8%, rgba(214, 179, 106, 0.1), transparent 26%),
    var(--bg);
  color: var(--ink);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans CJK SC",
    system-ui,
    sans-serif;
  margin: 0;
  overflow-x: hidden;
  width: 100%;
}

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

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

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

h1 {
  font-size: clamp(46px, 7vw, 92px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
  margin-bottom: 28px;
  max-width: 980px;
  overflow-wrap: anywhere;
}

h1 span,
h2 span {
  display: block;
}

h2 {
  font-size: clamp(32px, 4.8vw, 62px);
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.08;
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}

h3 {
  font-size: 24px;
  letter-spacing: 0;
  line-height: 1.22;
  margin-bottom: 12px;
  overflow-wrap: anywhere;
}

p {
  color: var(--muted);
  line-height: 1.78;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(9, 13, 20, 0.76);
  border-bottom: 1px solid rgba(246, 240, 230, 0.1);
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 18px clamp(20px, 5vw, 76px);
  position: sticky;
  right: 0;
  top: 0;
  z-index: 50;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 16px;
  font-weight: 750;
  gap: 12px;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(145deg, var(--gold), #92723e);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #10131a;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.nav {
  align-items: center;
  color: rgba(246, 240, 230, 0.68);
  display: flex;
  font-size: 14px;
  gap: 26px;
}

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

.hero {
  background-image:
    linear-gradient(90deg, rgba(9, 13, 20, 0.97) 0%, rgba(9, 13, 20, 0.9) 43%, rgba(9, 13, 20, 0.45) 76%, rgba(9, 13, 20, 0.78) 100%),
    url("./assets/hero-bedroom-ai.png");
  background-position: center;
  background-size: cover;
  border-bottom: 1px solid var(--line);
  min-height: clamp(720px, calc(100vh - 72px), 920px);
  padding: 96px clamp(20px, 6vw, 92px) 72px;
}

.hero-inner {
  align-items: center;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) 320px;
  margin: 0 auto;
  max-width: 1220px;
  min-height: clamp(560px, calc(100vh - 240px), 700px);
}

.hero-copy {
  max-width: 980px;
  min-width: 0;
}

.eyebrow {
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.hero-text {
  color: rgba(246, 240, 230, 0.76);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.82;
  max-width: 790px;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 18px;
}

.button {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 800;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: var(--gold);
  color: #10131a;
}

.button.primary:hover {
  background: var(--gold-soft);
}

.button.ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(246, 240, 230, 0.24);
  color: var(--ink);
}

.button.ghost:hover {
  border-color: rgba(246, 240, 230, 0.46);
}

.safe-note {
  color: rgba(246, 240, 230, 0.52);
  font-size: 13px;
  max-width: 700px;
}

.hero-panel {
  background: rgba(9, 13, 20, 0.58);
  border: 1px solid rgba(246, 240, 230, 0.18);
  box-shadow: var(--shadow);
  min-width: 0;
  padding: 22px;
}

.hero-panel img {
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(246, 240, 230, 0.22);
  border-radius: 50%;
  display: block;
  height: 92px;
  object-fit: cover;
  width: 92px;
}

.hero-panel .panel-kicker {
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 800;
  margin: 20px 0 8px;
  text-transform: uppercase;
}

.hero-panel h2 {
  font-size: 28px;
  margin-bottom: 10px;
}

.hero-panel p:last-child {
  font-size: 15px;
  margin-bottom: 0;
}

.section,
.pricing-section,
.contact-section {
  margin: 0 auto;
  max-width: 1220px;
  padding: 96px clamp(20px, 4vw, 42px);
}

.section-heading {
  margin-bottom: 34px;
  max-width: 850px;
}

.section-heading.narrow {
  max-width: 760px;
}

.section-heading p:not(.eyebrow),
.pricing-heading p,
.idea-copy p,
.about-copy p,
.contact-copy p {
  font-size: 18px;
}

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

.resource-card {
  background: var(--panel);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 26px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.resource-card:hover {
  background: var(--panel-strong);
  border-color: rgba(246, 240, 230, 0.28);
  transform: translateY(-2px);
}

.resource-card.highlight {
  background: linear-gradient(180deg, rgba(214, 179, 106, 0.2), rgba(255, 255, 255, 0.06));
  border-color: rgba(214, 179, 106, 0.42);
}

.resource-card span {
  color: var(--gold-soft);
  font-size: 13px;
  font-weight: 900;
  margin-bottom: auto;
  text-transform: uppercase;
}

.resource-card h3 {
  margin-top: 54px;
}

.resource-card p {
  font-size: 15px;
  margin-bottom: 0;
}

.lead-magnet {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(214, 179, 106, 0.16), rgba(255, 255, 255, 0.045)),
    rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(214, 179, 106, 0.24);
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) auto;
  margin-top: 18px;
  padding: 30px;
}

.lead-magnet h3 {
  font-size: clamp(26px, 3vw, 38px);
  margin-bottom: 12px;
  max-width: 780px;
}

.lead-magnet p:not(.eyebrow) {
  font-size: 16px;
  margin-bottom: 0;
  max-width: 860px;
}

.idea-section {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 0.7fr);
}

.idea-copy {
  max-width: 720px;
}

.idea-visual img {
  border: 1px solid rgba(246, 240, 230, 0.16);
  box-shadow: var(--shadow);
  display: block;
  width: 100%;
}

.principles {
  display: grid;
  gap: 14px;
  grid-column: 1 / -1;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.principles div,
.boundary-list div {
  background: rgba(255, 255, 255, 0.045);
  border-top: 1px solid rgba(246, 240, 230, 0.16);
  padding: 24px 0 0;
}

.principles span {
  color: var(--teal);
  display: block;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
}

.principles h3,
.boundary-list strong {
  color: var(--ink);
  display: block;
  font-size: 21px;
  margin-bottom: 10px;
}

.principles p,
.boundary-list p {
  font-size: 15px;
  margin-bottom: 0;
}

.library-section {
  border-top: 1px solid var(--line);
}

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

.content-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.035)),
    var(--panel);
  border: 1px solid var(--line);
  min-height: 360px;
  padding: 24px;
  position: relative;
}

.content-card::after {
  background: linear-gradient(90deg, var(--gold), transparent);
  content: "";
  height: 1px;
  left: 24px;
  position: absolute;
  right: 24px;
  top: 82px;
}

.content-card span {
  color: var(--teal);
  display: block;
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 70px;
  text-transform: uppercase;
}

.content-card h3 {
  font-size: 24px;
  margin-bottom: 18px;
}

.content-card p {
  font-size: 15px;
  margin-bottom: 0;
}

.pricing-section {
  max-width: 1260px;
}

.pricing-heading {
  margin-bottom: 34px;
  max-width: 800px;
}

.pricing-grid {
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.price-card {
  background: rgba(255, 255, 255, 0.045);
  display: flex;
  flex-direction: column;
  min-height: 590px;
  padding: 34px;
  position: relative;
}

.price-card + .price-card {
  border-left: 1px solid var(--line);
}

.price-card.featured {
  background:
    linear-gradient(180deg, rgba(214, 179, 106, 0.22), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px rgba(214, 179, 106, 0.22);
}

.price-topline {
  color: var(--gold-soft);
  font-size: 12px;
  font-weight: 900;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.price-card h3 {
  font-size: 32px;
  font-weight: 650;
}

.price {
  color: var(--ink);
  font-size: 58px;
  font-weight: 760;
  line-height: 1;
  margin: 18px 0 10px;
}

.price-sub {
  color: rgba(246, 240, 230, 0.68);
  font-size: 15px;
  min-height: 52px;
}

.price-card ul {
  list-style: none;
  margin: 28px 0 34px;
  padding: 0;
}

.price-card li {
  color: rgba(246, 240, 230, 0.78);
  line-height: 1.65;
  padding-left: 28px;
  position: relative;
}

.price-card li + li {
  margin-top: 12px;
}

.price-card li::before {
  color: var(--teal);
  content: "✓";
  font-weight: 900;
  left: 0;
  position: absolute;
  top: 0;
}

.price-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(246, 240, 230, 0.2);
  color: var(--ink);
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  margin-top: auto;
  min-height: 52px;
  padding: 0 20px;
  width: 100%;
}

.price-button:hover {
  background: rgba(255, 255, 255, 0.12);
}

.price-button.primary-price {
  background: var(--gold);
  border-color: var(--gold);
  color: #10131a;
}

.ribbon {
  background: var(--gold);
  color: #10131a;
  font-size: 12px;
  font-weight: 900;
  padding: 7px 11px;
  position: absolute;
  right: 24px;
  top: 24px;
}

.pricing-footnote {
  color: rgba(246, 240, 230, 0.52);
  font-size: 13px;
  margin: 18px 0 0;
  text-align: center;
}

.about-section {
  border-top: 1px solid var(--line);
}

.about-profile {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: 132px minmax(0, 1fr);
  margin-bottom: 42px;
  max-width: 980px;
}

.about-profile img {
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(246, 240, 230, 0.22);
  border-radius: 50%;
  object-fit: cover;
  width: 132px;
}

.about-grid {
  display: grid;
  gap: 54px;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 0.7fr);
}

.about-copy p {
  margin-bottom: 18px;
}

.boundary-list {
  display: grid;
  gap: 24px;
}

.contact-section {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    #0d1420;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 0.9fr) minmax(240px, 0.5fr) 290px;
  margin-bottom: 70px;
}

.contact-copy h2 {
  max-width: 720px;
}

.contact-preview img {
  border: 1px solid rgba(246, 240, 230, 0.14);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.36);
  display: block;
}

.wechat-card {
  background: #f7f2e8;
  color: #121821;
  padding: 18px;
}

.wechat-qr {
  background: #fff;
  display: block;
  width: 100%;
}

.wechat-id {
  color: #121821;
  font-size: 17px;
  margin: 16px 0 6px;
  text-align: center;
}

.wechat-hint {
  color: #5c6572;
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  text-align: center;
}

.footer {
  border-top: 1px solid var(--line);
  color: rgba(246, 240, 230, 0.62);
  margin: 0 auto;
  max-width: 1220px;
  padding: 28px clamp(20px, 4vw, 42px) 48px;
}

.footer p {
  font-size: 13px;
  margin-bottom: 6px;
}

@media (max-width: 1020px) {
  .nav {
    display: none;
  }

  .hero-inner,
  .idea-section,
  .about-grid,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    align-items: start;
    min-height: auto;
  }

  .hero-panel {
    max-width: 380px;
  }

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

  .lead-magnet {
    grid-template-columns: 1fr;
  }

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

  .price-card {
    min-height: auto;
  }

  .price-card + .price-card {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .contact-section {
    margin-left: 20px;
    margin-right: 20px;
  }

  .contact-preview {
    max-width: 360px;
  }

  .wechat-card {
    max-width: 320px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 14px 18px;
  }

  .brand {
    font-size: 15px;
  }

  .hero {
    background-image:
      linear-gradient(180deg, rgba(9, 13, 20, 0.98) 0%, rgba(9, 13, 20, 0.92) 58%, rgba(9, 13, 20, 0.74) 100%),
      url("./assets/hero-bedroom-ai.png");
    min-height: auto;
    padding: 58px 22px 54px;
  }

  h1 {
    font-size: clamp(32px, 9vw, 36px);
    line-height: 1.12;
    word-break: break-all;
  }

  h2 {
    font-size: clamp(27px, 7.6vw, 31px);
    line-height: 1.14;
    word-break: break-all;
  }

  h3,
  p,
  a,
  li {
    max-width: 100%;
    word-break: break-word;
  }

  .hero-text,
  .safe-note,
  .resource-card p,
  .lead-magnet p,
  .content-card p,
  .price-card li,
  .about-copy p,
  .boundary-list p,
  .contact-copy p,
  .footer p {
    max-width: calc(100vw - 44px);
    overflow-wrap: anywhere;
  }

  .hero-inner {
    gap: 42px;
  }

  .hero-copy,
  .hero-panel,
  .section-heading,
  .pricing-heading,
  .idea-copy,
  .contact-copy {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  .hero-text,
  .section-heading p:not(.eyebrow),
  .pricing-heading p,
  .idea-copy p,
  .about-copy p,
  .contact-copy p {
    font-size: 16px;
    max-width: 100%;
  }

  .section,
  .pricing-section,
  .contact-section {
    padding: 68px 22px;
    width: 100%;
  }

  .hero-actions,
  .contact-actions {
    flex-direction: column;
  }

  .button {
    max-width: 100%;
    width: 100%;
  }

  .resource-grid,
  .principles,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .resource-card {
    min-height: 210px;
  }

  .resource-card h3 {
    margin-top: 38px;
  }

  .lead-magnet {
    padding: 24px;
  }

  .content-card {
    min-height: auto;
    padding: 24px;
  }

  .content-card::after {
    left: 24px;
    right: 24px;
    top: 76px;
  }

  .content-card span {
    margin-bottom: 58px;
  }

  .price-card {
    padding: 28px;
  }

  .price-card.featured {
    padding-top: 62px;
  }

  .price {
    font-size: 52px;
  }

  .ribbon {
    left: 28px;
    right: auto;
  }

  .about-profile {
    grid-template-columns: 1fr;
  }

  .about-profile img {
    width: 108px;
  }

  .contact-section {
    margin-bottom: 42px;
  }

  .contact-preview,
  .wechat-card {
    max-width: none;
    width: 100%;
  }
}
