:root {
  --bg: #fbfaf6;
  --paper: #ffffff;
  --soft: #f6f3ee;
  --line: #ede8df;
  --text: #171512;
  --muted: #7b756b;
  --gold: #c8a356;
  --gold-dark: #997631;
  --deep: #2d2518;
  --shadow: 0 28px 70px rgba(41, 34, 23, 0.16);
  --soft-shadow: 0 14px 34px rgba(41, 34, 23, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(251,250,246,.96)),
    var(--bg);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  text-rendering: geometricPrecision;
}

button, input { font: inherit; }
button { cursor: pointer; }

.topbar {
  height: 70px;
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 0 30px;
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(219, 209, 190, 0.64);
  backdrop-filter: blur(22px) saturate(1.2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #6f5530;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
}

.brand-mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: white;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.42), transparent 34%),
    linear-gradient(135deg, #b98222, #ddc27a);
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(169, 123, 39, .24);
}

.main-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
}

.main-nav a {
  color: #1d1d1d;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.main-nav a.active,
.main-nav a:hover { color: var(--gold); }

.top-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.link-btn {
  border: 0;
  background: transparent;
  color: #161616;
  min-height: 38px;
  padding: 0 4px;
}

.gold-btn,
.lang-btn,
.download-btn {
  min-height: 38px;
  border-radius: 4px;
  border: 1px solid var(--line);
  padding: 0 18px;
  background: white;
  color: var(--text);
  text-decoration: none;
}

.gold-btn {
  border-color: transparent;
  color: white;
  background:
    linear-gradient(180deg, rgba(255,255,255,.2), transparent),
    linear-gradient(135deg, #d3b66f, #ad8432);
  box-shadow: 0 14px 28px rgba(164, 126, 48, 0.24);
  font-weight: 700;
}

.hero {
  min-height: calc(100vh - 70px);
  display: grid;
  grid-template-columns: minmax(320px, 0.8fr) minmax(420px, 1.2fr);
  align-items: center;
  gap: 72px;
  padding: 68px 8vw 80px;
  background:
    radial-gradient(circle at 14% 26%, rgba(214, 183, 112, .18), transparent 30%),
    linear-gradient(90deg, rgba(251,250,247,0.98), rgba(251,250,247,0.72)),
    linear-gradient(180deg, #fff, #f4efe5);
}

.eyebrow {
  margin: 0 0 28px;
  color: #b89d63;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 6px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(46px, 6.1vw, 78px);
  line-height: 1.18;
  letter-spacing: 0;
  font-weight: 900;
  font-family: "Noto Serif SC", Inter, sans-serif;
  text-shadow: 0 1px 0 rgba(255,255,255,.9);
}

.hero-sub {
  margin: 26px 0 28px;
  color: #8c887f;
  font-size: 17px;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero-btn {
  min-width: 138px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
}

.drag-hint {
  color: #8a867d;
  font-size: 14px;
}

.hero-visual {
  position: relative;
  height: min(48vw, 470px);
  min-height: 330px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: #ded7ca;
  border: 1px solid rgba(255,255,255,.7);
}

.hero-before,
.hero-after {
  position: absolute;
  inset: 0;
}

.hero-before {
  background:
    linear-gradient(90deg, transparent 0 52%, rgba(38,38,36,.48) 52% 100%),
    linear-gradient(135deg, rgba(255,255,255,.36), transparent 34%),
    linear-gradient(to bottom, #696760 0 61%, #8a867c 61% 100%);
}

.hero-before::before {
  content: "";
  position: absolute;
  right: 16%;
  top: 27%;
  width: 16%;
  height: 28%;
  background: #fbfbf3;
  border: 6px solid #d7d3ca;
}

.hero-before::after {
  content: "";
  position: absolute;
  right: 41%;
  top: 18%;
  width: 26%;
  height: 54%;
  border-left: 6px solid #3d3d3c;
  border-bottom: 6px solid #3d3d3c;
  transform: skewY(-28deg);
}

.hero-after {
  width: 52%;
  overflow: hidden;
  background:
    radial-gradient(circle at 36% 60%, #d8c49b 0 8%, transparent 9%),
    radial-gradient(circle at 26% 24%, rgba(255,245,218,.9) 0 4%, transparent 5%),
    radial-gradient(circle at 72% 22%, rgba(255,245,218,.9) 0 3%, transparent 4%),
    linear-gradient(90deg, rgba(255,255,255,.62), transparent 45%),
    linear-gradient(to bottom, #ead8bd 0 58%, #b99b72 58% 100%);
}

.hero-after::before {
  content: "";
  position: absolute;
  left: 9%;
  bottom: 17%;
  width: 50%;
  height: 18%;
  border-radius: 20px 20px 8px 8px;
  background: #d7c1a0;
  box-shadow: 0 18px 30px rgba(77, 56, 31, 0.22);
}

.hero-after::after {
  content: "";
  position: absolute;
  right: 16%;
  top: 17%;
  width: 19%;
  height: 40%;
  background: #f7efe2;
  border: 7px solid #fff9ef;
}

.hero-divider {
  position: absolute;
  left: 52%;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(255,255,255,.88);
}

.hero-divider span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(24,20,14,.16);
}

.intro-section {
  min-height: 560px;
  display: grid;
  grid-template-columns: minmax(360px, 0.95fr) minmax(320px, 1fr);
  gap: 52px;
  align-items: center;
  padding: 74px 8vw;
  background: white;
}

.video-mock {
  position: relative;
  overflow: hidden;
  min-height: 285px;
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(225, 217, 202, .86);
  background: #ddd4c5;
}

.video-room {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 62%, #c7ad79 0 8%, transparent 9%),
    linear-gradient(90deg, rgba(255,255,255,.66), transparent 34%),
    linear-gradient(to bottom, #e2d2ba 0 62%, #b7976c 62% 100%);
}

.video-room::before {
  content: "";
  position: absolute;
  left: 10%;
  top: 14%;
  width: 17%;
  height: 58%;
  background: linear-gradient(90deg, #f8f6ef 0 34%, #c7d8d8 35% 100%);
  border: 8px solid rgba(255,255,255,.75);
}

.video-room::after {
  content: "";
  position: absolute;
  left: 28%;
  right: 18%;
  bottom: 17%;
  height: 19%;
  border-radius: 22px 22px 8px 8px;
  background: #dfd1bc;
}

.video-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px;
  color: white;
  background: linear-gradient(transparent, rgba(0,0,0,.78));
}

.video-bar i {
  height: 4px;
  flex: 1;
  background: white;
  border-radius: 999px;
}

.video-bar b {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid white;
}

.intro-copy h2 {
  margin: 0 0 22px;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.3;
  font-family: "Noto Serif SC", Inter, sans-serif;
  font-weight: 900;
}

.intro-copy p {
  max-width: 680px;
  margin: 0 0 18px;
  color: #6f6b64;
  line-height: 1.9;
}

.studio {
  display: grid;
  grid-template-columns: 315px minmax(460px, 1fr) 330px;
  gap: 22px;
  padding: 28px 30px;
  background:
    linear-gradient(180deg, #fff, #fbfaf7 18%),
    #fbfaf7;
  border-top: 1px solid var(--line);
}

.left-panel,
.preview-area,
.chat-panel {
  min-width: 0;
  border-radius: 8px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(230, 222, 207, .9);
  box-shadow: var(--soft-shadow);
}

.left-panel,
.chat-panel {
  height: calc(100vh - 126px);
  min-height: 680px;
  overflow: auto;
  padding: 20px;
}

.step-block + .step-block {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #f0ece5;
}

.step-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.step-title span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.step-title h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.upload-zone {
  display: grid;
  gap: 10px;
  color: #28241e;
}

.upload-zone input { display: none; }
.upload-zone strong { font-size: 14px; }

.upload-photo {
  min-height: 150px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(255,255,255,.55), transparent 45%),
    linear-gradient(to bottom, #d5d2ca 0 62%, #aaa49a 62% 100%);
  box-shadow: 0 12px 28px rgba(40, 34, 26, 0.1);
}

.upload-photo.styled {
  background:
    radial-gradient(circle at 38% 62%, #ccb788 0 10%, transparent 11%),
    linear-gradient(90deg, rgba(255,255,255,.58), transparent 40%),
    linear-gradient(to bottom, #eadbc3 0 60%, #c1a073 60% 100%);
}

.upload-zone.dragging .upload-photo {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.room-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.room-btn {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: white;
  color: #4d4942;
  font-size: 13px;
}

.room-btn.active {
  color: white;
  border-color: var(--gold);
  background: var(--gold);
}

.style-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.style-card {
  display: grid;
  gap: 8px;
  padding: 0;
  text-align: left;
  border: 0;
  background: transparent;
}

.style-thumb {
  height: 92px;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(32, 28, 23, 0.1);
}

.style-card.active .style-thumb {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.style-name {
  font-weight: 700;
  font-size: 13px;
}

.style-desc { display: none; }

.preview-area {
  height: calc(100vh - 126px);
  min-height: 680px;
  padding: 16px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.preview-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.segmented {
  display: flex;
  gap: 10px;
}

.segmented button,
.download-btn {
  min-height: 34px;
  border-radius: 3px;
  border: 1px solid var(--line);
  background: white;
  padding: 0 13px;
  color: #3c3933;
  font-size: 13px;
}

.segmented button.active {
  color: white;
  background: var(--gold);
  border-color: var(--gold);
}

.compare-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 8px;
  border: 1px solid #e5ded2;
  box-shadow: 0 14px 34px rgba(39, 33, 23, .1);
  background:
    linear-gradient(90deg, rgba(255,255,255,.6), transparent 42%),
    linear-gradient(to bottom, #d4d1ca 0 62%, #aaa49a 62% 100%);
}

.compare-img,
.generated-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.compare-img {
  object-fit: cover;
  opacity: 0;
  transition: opacity .2s ease;
}

.compare-card.has-base .base,
.compare-card.has-result .result { opacity: 1; }

.generated-wrap {
  width: 52%;
  overflow: hidden;
  z-index: 2;
}

.result {
  width: var(--scene-width, 760px);
  max-width: none;
}

.sample-result {
  position: absolute;
  inset: 0;
  width: var(--scene-width, 760px);
  min-width: 100%;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.92);
  font-size: 22px;
  font-weight: 800;
  background:
    radial-gradient(circle at 42% 64%, #cfb47e 0 9%, transparent 10%),
    linear-gradient(90deg, rgba(255,255,255,.58), transparent 42%),
    linear-gradient(to bottom, var(--wall, #eadbc3) 0 60%, var(--floor, #c1a073) 60% 100%);
}

.sample-result::before {
  content: "";
  position: absolute;
  left: 10%;
  bottom: 19%;
  width: 44%;
  height: 17%;
  border-radius: 18px 18px 7px 7px;
  background: rgba(235, 221, 202, 0.9);
  box-shadow: 0 16px 28px rgba(70, 49, 28, .18);
}

.compare-card.has-result .sample-result { display: none; }

.empty-state {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 8px;
  z-index: 4;
  text-align: center;
  background: rgba(255,255,255,.7);
}

.empty-state h2 {
  margin: 0;
  font-size: 24px;
  font-family: "Noto Serif SC", Inter, sans-serif;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.compare-card.has-base .empty-state,
.compare-card.has-result .empty-state { display: none; }

.slider-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 52%;
  width: 1px;
  z-index: 5;
  background: rgba(255,255,255,.9);
}

.slider-line::after {
  content: "‹›";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: #111;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(20,20,20,.18);
}

.compare-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 6;
  cursor: ew-resize;
}

.preview-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 12px;
}

.preview-meta span {
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 3px;
  color: var(--muted);
  font-size: 13px;
}

.chat-panel {
  display: grid;
  grid-template-rows: auto 1fr auto auto;
}

.assistant-head {
  display: flex;
  gap: 10px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f0ece5;
}

.assistant-head h2 {
  margin: 0;
  font-size: 16px;
}

.assistant-head p {
  margin: 5px 0 0;
  color: #89847b;
  font-size: 13px;
}

.messages {
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 0;
}

.message {
  max-width: 90%;
  border-radius: 8px;
  padding: 12px 13px;
  font-size: 14px;
  line-height: 1.55;
}

.message p { margin: 0; }
.message.ai { align-self: flex-start; background: #f7f5f1; color: #4b4740; box-shadow: inset 0 0 0 1px rgba(232,225,211,.68); }
.message.user { align-self: flex-end; color: white; background: linear-gradient(135deg, #c7a45b, #a77d2d); }

.quick-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.quick-actions button {
  flex: 1;
  min-height: 34px;
  border: 0;
  background: white;
  color: #4e4941;
  font-size: 13px;
}

.quick-actions button:hover { color: var(--gold-dark); }

.chat-input {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
}

.chat-input input {
  min-width: 0;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0 12px;
}

.send-btn {
  min-height: 40px;
  border-radius: 3px;
}

.share-section {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 520px);
  gap: 30px;
  align-items: center;
  padding: 54px 8vw 70px;
  background: white;
}

.share-section h2 {
  margin: 0 0 12px;
  font-size: 28px;
}

.share-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.feature-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 8vw 86px;
  background: white;
}

.feature-section article,
.empty-history article,
.steps-section article {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 30px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(251,248,241,.9));
  box-shadow: 0 16px 38px rgba(42, 34, 22, .07);
}

.feature-section span,
.empty-history span,
.steps-section span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.feature-section h3,
.empty-history h2,
.steps-section h2 {
  margin: 14px 0 10px;
  font-size: 22px;
  font-family: "Noto Serif SC", Inter, sans-serif;
  font-weight: 900;
}

.feature-section p,
.empty-history p,
.steps-section p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.studio-page {
  min-height: calc(100vh - 70px);
}

.simple-page {
  min-height: calc(100vh - 70px);
  background: white;
}

.simple-hero {
  padding: 92px 8vw 46px;
  background:
    radial-gradient(circle at 12% 18%, rgba(214, 183, 112, .16), transparent 26%),
    linear-gradient(180deg, #fff, #fbfaf7);
}

.simple-hero h1 {
  margin: 0 0 20px;
  font-size: clamp(42px, 6vw, 72px);
  letter-spacing: 0;
  line-height: 1.15;
  font-family: "Noto Serif SC", Inter, sans-serif;
  font-weight: 900;
}

.simple-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
}

.empty-history,
.steps-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 0 8vw 90px;
}

.history-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.history-item {
  width: 104px;
  height: 70px;
  border: 1px solid var(--line);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, var(--wall), var(--floor));
}

.history-item.active { outline: 2px solid var(--gold); }

.history-item span {
  position: absolute;
  left: 6px;
  right: 6px;
  bottom: 5px;
  color: white;
  font-size: 11px;
  text-shadow: 0 1px 4px rgba(0,0,0,.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1180px) {
  .studio { grid-template-columns: 290px 1fr; }
  .chat-panel { grid-column: 1 / -1; min-height: 430px; height: auto; }
}

@media (max-width: 900px) {
  .topbar {
    height: auto;
    grid-template-columns: 1fr auto;
    padding: 16px;
  }
  .main-nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    gap: 22px;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .hero,
  .intro-section,
  .share-section,
  .feature-section,
  .empty-history,
  .steps-section {
    grid-template-columns: 1fr;
    padding-left: 22px;
    padding-right: 22px;
  }
  .hero { min-height: auto; }
  .studio { grid-template-columns: 1fr; padding: 18px; }
  .left-panel,
  .preview-area,
  .chat-panel {
    height: auto;
    min-height: 0;
  }
  .compare-card { min-height: 420px; }
}

@media (max-width: 560px) {
  .top-actions {
    grid-column: 1 / -1;
    justify-content: space-between;
  }
  .hero h1 { font-size: 42px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { min-height: 270px; }
  .room-grid { grid-template-columns: repeat(3, 1fr); }
  .style-list { grid-template-columns: 1fr 1fr; }
  .compare-card { min-height: 340px; }
  .chat-input { grid-template-columns: 1fr; }
}

/* Elegant editorial redesign */
:root {
  --bg: #f8f6f1;
  --paper: #fffefd;
  --soft: #f3efe7;
  --line: #e8e0d2;
  --text: #171411;
  --muted: #756f66;
  --gold: #b99a55;
  --gold-dark: #806431;
  --deep: #211c16;
  --shadow: 0 30px 80px rgba(36, 29, 19, 0.13);
  --soft-shadow: 0 16px 46px rgba(40, 32, 21, 0.07);
  --body-font: "PingFang SC", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;
  --title-font: "Songti SC", "STSong", "SimSun", "Noto Serif CJK SC", serif;
}

body {
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,246,241,.98)),
    var(--bg);
  font-family: var(--body-font);
  font-weight: 400;
  letter-spacing: 0;
}

.topbar {
  height: 76px;
  padding: 0 42px;
  background: rgba(255, 254, 251, 0.9);
  border-bottom: 1px solid rgba(232, 224, 210, .78);
  box-shadow: 0 8px 30px rgba(39, 33, 24, .035);
}

.brand {
  color: #5d4725;
  font-size: 18px;
  letter-spacing: .2px;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #b79242;
  box-shadow: none;
  font-family: Georgia, serif;
}

.main-nav {
  gap: 42px;
}

.main-nav a {
  color: #302b24;
  font-size: 13px;
  font-weight: 500;
}

.main-nav a.active,
.main-nav a:hover {
  color: var(--gold-dark);
}

.gold-btn,
.lang-btn,
.download-btn {
  border-radius: 0;
  min-height: 40px;
  font-size: 13px;
}

.gold-btn {
  background: #b99a55;
  box-shadow: 0 12px 26px rgba(117, 88, 34, .16);
}

.link-btn {
  font-size: 13px;
  color: #2f2b25;
}

.hero {
  min-height: calc(100vh - 76px);
  grid-template-columns: minmax(340px, .75fr) minmax(520px, 1.25fr);
  gap: 86px;
  padding: 76px 8.4vw 88px;
  background:
    radial-gradient(circle at 20% 28%, rgba(185, 154, 85, .10), transparent 28%),
    linear-gradient(180deg, #fffefd, #f8f6f1);
}

.eyebrow {
  margin-bottom: 30px;
  color: #b49a66;
  font-size: 11px;
  letter-spacing: 7px;
  font-weight: 700;
}

.hero h1,
.intro-copy h2,
.simple-hero h1,
.feature-section h3,
.empty-history h2,
.steps-section h2,
.empty-state h2 {
  font-family: var(--title-font);
  font-weight: 900;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 560px;
  font-size: clamp(52px, 6.4vw, 88px);
  line-height: 1.12;
  color: #12100e;
}

.hero-sub {
  max-width: 430px;
  margin-top: 28px;
  color: #7c756c;
  font-size: 15px;
  line-height: 2;
}

.hero-btn {
  height: 50px;
  min-width: 150px;
}

.drag-hint {
  color: #8d867b;
}

.hero-visual {
  height: min(48vw, 500px);
  min-height: 360px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.85);
  background: #d9d0c1;
  box-shadow: 0 36px 90px rgba(40, 32, 21, .16);
}

.hero-visual img,
.video-mock img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-before,
.hero-after {
  inset: 0;
  width: auto;
  background: transparent;
}

.hero-before {
  left: 55%;
  backdrop-filter: grayscale(1) contrast(.86) brightness(.78);
  background: linear-gradient(90deg, rgba(35,32,28,.18), rgba(35,32,28,.38));
}

.hero-after {
  right: 45%;
  background: linear-gradient(90deg, rgba(255,255,255,.08), transparent);
}

.hero-before::before,
.hero-before::after,
.hero-after::before,
.hero-after::after {
  content: none;
}

.hero-before span,
.hero-after span {
  position: absolute;
  bottom: 22px;
  padding: 8px 12px;
  color: white;
  background: rgba(21, 18, 14, .5);
  backdrop-filter: blur(10px);
  font-size: 12px;
  letter-spacing: .5px;
}

.hero-before span { right: 22px; }
.hero-after span { left: 22px; }

.hero-divider {
  left: 55%;
  background: rgba(255,255,255,.88);
}

.hero-divider span {
  width: 44px;
  height: 44px;
  color: #231f19;
  box-shadow: 0 16px 34px rgba(30, 24, 16, .18);
}

.intro-section {
  background: #fffefd;
  padding-top: 88px;
  padding-bottom: 92px;
}

.video-mock {
  border-radius: 10px;
  background: #d8cdbc;
  box-shadow: 0 28px 70px rgba(40, 32, 21, .13);
}

.video-room,
.video-room::before,
.video-room::after {
  display: none;
}

.intro-copy h2 {
  color: #171411;
  font-size: clamp(32px, 3.3vw, 48px);
}

.intro-copy p {
  color: #6f685f;
  font-size: 15px;
}

.feature-section {
  background: #fffefd;
}

.feature-section article,
.empty-history article,
.steps-section article,
.left-panel,
.preview-area,
.chat-panel {
  background: rgba(255,254,251,.96);
  border: 1px solid rgba(232, 224, 210, .9);
  box-shadow: var(--soft-shadow);
}

.feature-section article,
.empty-history article,
.steps-section article {
  padding: 34px;
}

.studio {
  background:
    linear-gradient(180deg, #fbfaf6, #f6f2ea);
  padding: 30px 34px;
}

.left-panel,
.preview-area,
.chat-panel {
  border-radius: 10px;
}

.step-title h2,
.assistant-head h2 {
  color: #211d18;
  font-weight: 700;
}

.upload-photo {
  border-radius: 8px;
  background-image:
    linear-gradient(rgba(31,27,22,.08), rgba(31,27,22,.08)),
    url("assets/interior-hero.png");
  background-size: cover;
  background-position: center;
  filter: grayscale(.95) brightness(.9);
}

.upload-photo.styled {
  background-image: url("assets/interior-hero.png");
  filter: none;
}

.room-btn,
.segmented button,
.download-btn,
.chat-input input {
  border-radius: 0;
  background: #fffefd;
}

.room-btn.active,
.segmented button.active {
  background: #b99a55;
  border-color: #b99a55;
}

.style-thumb {
  border-radius: 8px;
}

.compare-card {
  border-radius: 10px;
  background-image:
    linear-gradient(rgba(255,255,255,.26), rgba(255,255,255,.26)),
    url("assets/interior-hero.png");
  background-size: cover;
  background-position: center;
  box-shadow: 0 22px 56px rgba(40,32,21,.12);
}

.sample-result {
  background-image: url("assets/interior-hero.png");
  background-size: cover;
  background-position: center;
}

.sample-result::before {
  content: none;
}

.sample-result span {
  padding: 8px 14px;
  background: rgba(26, 22, 17, .54);
  backdrop-filter: blur(10px);
  font-size: 13px;
}

.empty-state {
  background: rgba(255, 254, 251, .72);
  backdrop-filter: blur(8px);
}

.message.ai {
  background: #f5f1e9;
  box-shadow: none;
}

.message.user {
  background: #b99a55;
}

.quick-actions button {
  color: #70675a;
}

.simple-page,
.simple-hero {
  background: #fffefd;
}

@media (max-width: 900px) {
  .topbar {
    padding: 16px 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 42px;
    padding-top: 52px;
  }

  .hero h1 {
    font-size: 48px;
  }
}

@media (max-width: 560px) {
  .hero h1 {
    font-size: 40px;
    line-height: 1.18;
  }

  .hero-visual {
    min-height: 310px;
  }
}
