@charset "UTF-8";

:root {
  --night: #100814;
  --ink: #f6efe8;
  --muted: #b7a8b0;
  --paper: #1a1018;
  --panel: #24151f;
  --ember: #e24a3a;
  --ember-deep: #b52d2a;
  --amber: #e8b86d;
  --violet: #8b74ff;
  --violet-soft: #2a2148;
  --line: rgba(232, 184, 109, 0.22);
  --hard: 8px 8px 0 rgba(226, 74, 58, 0.28);
  --hard-violet: 8px 8px 0 rgba(139, 116, 255, 0.28);
  --shell: 1180px;
  --header-h: 74px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  padding-top: var(--header-h);
  color: var(--ink);
  background:
    radial-gradient(circle at 1px 1px, rgba(232, 184, 109, 0.08) 1px, transparent 0) 0 0 / 22px 22px,
    linear-gradient(180deg, #140a12 0%, #1a1018 40%, #120c18 100%);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button { border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0);
}

.shell {
  width: min(calc(100% - 40px), var(--shell));
  margin: 0 auto;
}

.section { position: relative; padding: 96px 0; overflow: hidden; }

.kicker {
  margin-bottom: 12px;
  color: var(--amber);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.section-head { max-width: 640px; margin-bottom: 46px; }
.section-head h2 {
  font-size: clamp(28px, 3.8vw, 44px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
}
.section-head p { margin-top: 12px; color: var(--muted); font-size: 15px; }

.site-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto 0;
  height: var(--header-h);
  border-bottom: 1px solid rgba(232, 184, 109, 0.14);
  background: rgba(16, 8, 20, 0.86);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img {
  width: 42px; height: 42px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: var(--hard);
}

.brand strong { display: block; font-size: 17px; font-weight: 800; }
.brand small { display: block; color: var(--muted); font-size: 11px; }

.site-nav ul { display: flex; gap: 4px; }
.site-nav a {
  display: block;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}
.site-nav a:hover,
.site-nav a.is-current {
  background: rgba(226, 74, 58, 0.16);
  color: var(--amber);
}

.header-cta,
.btn-ember,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 800;
  transition: transform 0.2s, background 0.2s;
}

.header-cta,
.btn-ember {
  background: var(--ember);
  color: #fff;
  box-shadow: var(--hard);
}
.btn-ember.ios { background: var(--violet); box-shadow: var(--hard-violet); }
.btn-ghost {
  border: 1.5px solid var(--amber);
  color: var(--amber);
  background: rgba(255,255,255,0.03);
}
.header-cta:hover,
.btn-ember:hover,
.btn-ghost:hover { transform: translate(-2px, -2px); }

.mobile-tools { display: none; align-items: center; gap: 10px; }
.menu-toggle {
  width: 42px; height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block; width: 16px; height: 2px; background: var(--ink); position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -5px; }
.menu-toggle span::after { top: 5px; }

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  padding: 52px 0 80px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  background: linear-gradient(180deg, #2a0d16 0%, #140814 70%);
  clip-path: polygon(0 0, 88% 0, 100% 100%, 0 100%);
}
.hero::after {
  content: "";
  position: absolute;
  right: -120px; top: 10%;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 116, 255, 0.22), transparent 68%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(46px, 7vw, 82px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 0.92;
}
.hero h1 em {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 0.34em;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--amber);
}
.hero-lead {
  margin-top: 22px;
  max-width: 480px;
  color: #e8d8d4;
  font-size: 17px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.hero-chips span {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
}

.stage {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
}

.float-card {
  position: absolute;
  z-index: 3;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(36, 21, 31, 0.92);
  box-shadow: var(--hard);
  font-size: 12px;
  font-weight: 700;
  animation: floatY 4.8s ease-in-out infinite;
}
.float-card.a { top: 6%; left: 0; }
.float-card.b { top: 18%; right: 0; animation-delay: -1.4s; box-shadow: var(--hard-violet); }
.float-card.c { bottom: 16%; left: 2%; animation-delay: -2.2s; }
.float-card small { display: block; color: var(--muted); font-weight: 500; margin-top: 2px; }

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.chat-desk {
  position: relative;
  z-index: 2;
  width: min(100%, 360px);
  border-radius: 28px;
  padding: 14px;
  background: #0c070c;
  border: 1.5px solid rgba(232, 184, 109, 0.28);
  box-shadow: 18px 22px 0 rgba(139, 116, 255, 0.22);
  animation: floatY 6s ease-in-out infinite;
}

.chat-status {
  display: flex;
  justify-content: space-between;
  color: #8a7a82;
  font-size: 10px;
  padding: 4px 10px 8px;
}
.chat-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 8px 12px;
}
.chat-head img {
  width: 42px; height: 42px;
  border-radius: 14px;
  object-fit: cover;
}
.chat-head strong { display: block; font-size: 14px; }
.chat-head span { color: #7dce9a; font-size: 11px; }

.affinity {
  height: 6px;
  margin: 0 8px 12px;
  border-radius: 99px;
  background: #2a1a22;
  overflow: hidden;
}
.affinity i {
  display: block;
  width: 72%;
  height: 100%;
  background: linear-gradient(90deg, var(--ember), var(--amber));
}

.bubbles { display: grid; gap: 10px; padding: 0 8px 12px; min-height: 210px; }
.bubble {
  max-width: 82%;
  padding: 10px 12px;
  border-radius: 14px;
  font-size: 12px;
  line-height: 1.55;
}
.bubble.ai { background: #2a1630; color: #f2e8ec; }
.bubble.me { margin-left: auto; background: var(--ember); color: #fff; }

.chat-input {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-radius: 16px;
  background: #1a1016;
}
.chat-input span {
  flex: 1;
  padding: 10px 12px;
  border-radius: 12px;
  background: #2a1c24;
  color: #8a7a82;
  font-size: 12px;
}
.chat-input b {
  width: 40px; height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--violet);
  font-size: 12px;
}

.salon { background: transparent; }
.salon-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
}

.salon-board {
  position: relative;
  min-height: 460px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 20% 20%, rgba(226, 74, 58, 0.18), transparent 40%),
    var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}

.role-card {
  position: absolute;
  width: 168px;
  padding: 10px;
  border-radius: 18px;
  background: #120b12;
  border: 1px solid var(--line);
  box-shadow: var(--hard);
  transition: transform 0.25s;
}
.role-card:hover { transform: translateY(-6px) rotate(0deg) !important; }
.role-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
}
.role-card strong { display: block; margin-top: 8px; font-size: 13px; }
.role-card span { color: var(--muted); font-size: 11px; }
.role-card.r1 { left: 8%; top: 10%; transform: rotate(-6deg); }
.role-card.r2 { right: 10%; top: 8%; transform: rotate(7deg); box-shadow: var(--hard-violet); }
.role-card.r3 { left: 22%; bottom: 8%; transform: rotate(4deg); }
.role-card.r4 { right: 16%; bottom: 12%; transform: rotate(-5deg); }

.salon-copy {
  padding: 28px;
  border-radius: 24px;
  background: linear-gradient(180deg, #2c1220, #1a1018);
  border: 1px solid var(--line);
}
.salon-copy h3 { font-size: 24px; margin: 8px 0 12px; }
.salon-copy p { color: var(--muted); font-size: 14px; }
.salon-copy ul { margin-top: 18px; display: grid; gap: 10px; }
.salon-copy li {
  display: flex;
  gap: 10px;
  font-size: 13px;
  font-weight: 700;
}
.salon-copy li::before {
  content: "";
  width: 8px; height: 8px;
  margin-top: 7px;
  background: var(--ember);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.bento article {
  position: relative;
  padding: 26px;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.bento article:nth-child(1) { grid-column: span 7; background: #2a1220; }
.bento article:nth-child(2) { grid-column: span 5; background: var(--violet-soft); }
.bento article:nth-child(3) { grid-column: span 4; background: var(--ember); color: #fff; border-color: transparent; }
.bento article:nth-child(4) { grid-column: span 8; background: #161018; }
.bento article h3 { font-size: 20px; margin: 8px 0 10px; }
.bento article p { color: var(--muted); font-size: 14px; }
.bento article:nth-child(3) p { color: rgba(255,255,255,0.88); }
.bento .num { color: var(--amber); font-size: 12px; font-weight: 800; letter-spacing: 0.16em; }

.screens { background: #120b12; }
.screen-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: end;
}
.screen-item {
  border-radius: 22px;
  overflow: hidden;
  border: 1.5px solid rgba(232, 184, 109, 0.3);
  box-shadow: var(--hard);
  background: #000;
}
.screen-item:nth-child(odd) { transform: translateY(-16px); }
.screen-item:nth-child(even) { transform: translateY(14px); }
.screen-item img { width: 100%; aspect-ratio: 9/16; object-fit: cover; }
.screen-item figcaption {
  padding: 10px 12px;
  background: #0c070c;
  font-size: 12px;
  font-weight: 700;
  color: var(--amber);
}

.stats {
  padding: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 36px 24px;
  min-height: 160px;
}
.stat:nth-child(1) { background: var(--ember); }
.stat:nth-child(2) { background: #7a1f3d; }
.stat:nth-child(3) { background: #4a3ad1; }
.stat:nth-child(4) { background: #1f6f6a; }
.stat strong {
  display: block;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 900;
  letter-spacing: -0.04em;
}
.stat span { font-size: 13px; font-weight: 700; opacity: 0.92; }

.compare-wrap {
  overflow-x: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #160e14;
}
.compare-table {
  width: 100%;
  min-width: 740px;
  border-collapse: collapse;
  font-size: 13px;
}
.compare-table th, .compare-table td {
  padding: 14px 16px;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.compare-table th:first-child, .compare-table td:first-child { text-align: left; font-weight: 700; }
.compare-table thead th { background: #0c070c; color: var(--amber); }
.compare-table thead th.hl { background: var(--ember); color: #fff; }
.compare-table .hl { color: var(--amber); font-weight: 800; }
.compare-note { margin-top: 14px; color: var(--muted); font-size: 13px; text-align: center; }

.timeline { display: grid; gap: 16px; }
.t-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
}
.t-dot {
  width: 48px; height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--ember);
  font-weight: 900;
  box-shadow: var(--hard);
}
.t-item:nth-child(2n) .t-dot { background: var(--violet); box-shadow: var(--hard-violet); }
.t-body {
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--panel);
  border: 1px solid var(--line);
}
.t-item:nth-child(odd) .t-body { background: #2a1220; }
.t-body h3 { font-size: 16px; margin-bottom: 8px; }
.t-body p { color: var(--muted); font-size: 13.5px; }
.t-body p + p { margin-top: 8px; }

.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #160e14;
  overflow: hidden;
}
.faq-item.is-open { border-color: var(--ember); box-shadow: var(--hard); }
.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  text-align: left;
  font-weight: 700;
}
.faq-panel { max-height: 0; overflow: hidden; opacity: 0; transition: 0.35s; padding: 0 22px; }
.faq-item.is-open .faq-panel { max-height: 520px; opacity: 1; padding: 0 22px 18px; }
.faq-panel p { color: var(--muted); font-size: 13.5px; }
.faq-panel p + p { margin-top: 6px; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.review-card {
  padding: 22px;
  border-radius: 18px;
  background: var(--panel);
  border-top: 4px solid var(--ember);
}
.review-card:nth-child(2) { transform: translateY(18px); border-top-color: var(--violet); }
.review-card:nth-child(3) { border-top-color: var(--amber); }
.review-card:nth-child(n+4) { background: #2a1220; }
.stars { color: var(--amber); margin-bottom: 10px; letter-spacing: 2px; }
.review-card p { font-size: 13.5px; color: #eadfe4; margin-bottom: 14px; }
.review-card footer { color: var(--muted); font-size: 12px; }

.download {
  padding: 88px 0;
  background: linear-gradient(135deg, #2a0d16, #140c24 55%, #0c1a1a);
}
.dl-plate {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  padding: 40px;
  border-radius: 28px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.25);
  position: relative;
  overflow: hidden;
}
.dl-plate::before {
  content: "EMBER";
  position: absolute;
  right: 16px; top: 50%;
  transform: translateY(-50%);
  font-size: clamp(64px, 12vw, 140px);
  font-weight: 900;
  color: rgba(255,255,255,0.04);
}
.dl-plate h2 { font-size: clamp(28px, 4vw, 40px); margin: 8px 0 12px; }
.dl-plate p { color: var(--muted); max-width: 460px; margin-bottom: 22px; }
.dl-links { display: flex; flex-wrap: wrap; gap: 12px; }
.dl-brand { text-align: center; }
.dl-brand img {
  width: 96px; height: 96px;
  margin: 0 auto 12px;
  border-radius: 24px;
  box-shadow: var(--hard);
}
.dl-brand strong { display: block; font-size: 20px; }

.disclaimer {
  padding: 28px 32px;
  border-radius: 18px;
  background: #160e14;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
}
.disclaimer h2 { color: var(--ink); font-size: 18px; margin-bottom: 12px; }
.disclaimer p + p { margin-top: 8px; }

.site-footer {
  padding: 56px 0 28px;
  background: #0a060a;
  color: #8a7a82;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}
.footer-grid h4 { color: #fff; font-size: 13px; margin-bottom: 12px; }
.footer-grid a:hover { color: var(--amber); }
.footer-brand { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; color: #fff; }
.footer-brand img { width: 36px; height: 36px; border-radius: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 18px;
  text-align: center;
  font-size: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .chat-desk, .float-card { animation: none; }
}

@media (max-width: 980px) {
  .site-nav, .header-inner > .header-cta { display: none; }
  .mobile-tools { display: flex; }
  .site-nav {
    display: block;
    position: fixed;
    top: var(--header-h); left: 0; right: 0;
    background: rgba(16, 8, 20, 0.97);
    padding: 12px 20px 20px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
  }
  body.menu-open .site-nav { transform: none; opacity: 1; pointer-events: auto; }
  .site-nav ul { flex-direction: column; }
  .hero::before { width: 12px; clip-path: none; }
  .hero-inner, .salon-grid, .dl-plate, .footer-grid { grid-template-columns: 1fr; }
  .hero-copy { order: 1; }
  .stage { order: 2; }
  .hero-lead { max-width: none; }
  .bento article:nth-child(n) { grid-column: span 12; }
  .screen-row { grid-template-columns: 1fr 1fr; }
  .screen-item:nth-child(n) { transform: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: 1fr; }
  .review-card:nth-child(2) { transform: none; }
  .role-card { position: relative; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; transform: none !important; width: auto; }
  .salon-board { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; min-height: 0; }
}

@media (max-width: 560px) {
  .section { padding: 68px 0; }
  .float-card { display: none; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .dl-plate { padding: 24px; }
  .dl-links a { width: 100%; }
}
