/* =========================================
   ChatViu · official website
   ========================================= */

:root {
  --bg: #fff8f4;
  --bg-soft: #fff1ea;
  --surface: #ffffff;
  --ink: #3b2a2e;
  --ink-soft: #6f5a60;
  --muted: #9a838a;
  --line: rgba(59, 42, 46, 0.09);
  --coral: #ff7a6b;
  --coral-deep: #f4584c;
  --pink: #ff4d6d;
  --peach: #ffd9c7;
  --dark: #241318;
  --dark-2: #331d24;
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --shadow-sm: 0 2px 8px rgba(94, 52, 44, 0.06);
  --shadow-md: 0 18px 48px -18px rgba(122, 62, 52, 0.28);
  --shadow-lg: 0 40px 90px -30px rgba(122, 52, 44, 0.38);
  --container: 1160px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

:focus-visible {
  outline: 2px solid var(--coral-deep);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---------- shared ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral-deep);
}

.section {
  position: relative;
  padding: 116px 0;
}

section[id], main[id] { scroll-margin-top: 88px; }

.section-tint {
  background:
    radial-gradient(60% 120% at 85% 0%, rgba(255, 200, 178, 0.55), transparent 60%),
    linear-gradient(180deg, #fff6f0 0%, #fff8f4 100%);
}

.section-head {
  max-width: 640px;
  margin: 0 auto 64px;
  text-align: center;
}

.section-head.left {
  margin: 0 0 44px;
  text-align: left;
}

.section-head h2 {
  margin: 18px 0 16px;
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.18;
  letter-spacing: -0.02em;
  font-weight: 800;
}

.section-head p {
  font-size: 16.5px;
  color: var(--ink-soft);
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  background: rgba(255, 248, 244, 0.78);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 30px -22px rgba(80, 40, 32, 0.4);
  background: rgba(255, 248, 244, 0.92);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 72px;
}

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

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  box-shadow: 0 4px 12px rgba(180, 90, 70, 0.25);
}

.brand-name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.nav-links {
  display: flex;
  gap: 30px;
  margin-left: 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-soft);
}

.nav-links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.lang-select {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 8px 0 12px;
  border-radius: 999px;
  background: rgba(59, 42, 46, 0.06);
  color: var(--ink);
  transition: background 0.2s ease;
}

.lang-select:hover { background: rgba(59, 42, 46, 0.1); }

.lang-globe {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  opacity: 0.55;
}

.lang-select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 0;
  outline: 0;
  margin: 0;
  padding: 0 16px 0 2px;
  height: 100%;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: inherit;
  cursor: pointer;
}

.lang-select select option {
  color: var(--ink);
  background: #fff;
}

.lang-chev {
  position: absolute;
  right: 11px;
  width: 10px;
  height: 10px;
  pointer-events: none;
  opacity: 0.55;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-dark {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(38, 22, 26, 0.7);
}

.btn-dark:hover {
  transform: translateY(-1px);
  background: #2a1c20;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 13.5px;
}

.icon-play { width: 13px; height: 13px; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding: 76px 0 96px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(52% 62% at 12% 8%, rgba(255, 214, 196, 0.85), transparent 70%),
    radial-gradient(46% 60% at 92% 12%, rgba(255, 168, 150, 0.55), transparent 68%),
    radial-gradient(60% 60% at 70% 96%, rgba(255, 231, 218, 0.9), transparent 70%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
}

.orb-a {
  width: 380px;
  height: 380px;
  right: -60px;
  top: -80px;
  background: #ff9d85;
  animation: drift 16s ease-in-out infinite;
}

.orb-b {
  width: 300px;
  height: 300px;
  left: -100px;
  top: 280px;
  background: #ffc9b4;
  animation: drift 20s ease-in-out infinite reverse;
}

.orb-c {
  width: 240px;
  height: 240px;
  left: 42%;
  bottom: -160px;
  background: #ffd8c9;
  opacity: 0.7;
}

@keyframes drift {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(-24px, 26px, 0); }
}

.star {
  position: absolute;
  color: #ffb9a4;
  font-size: 18px;
  opacity: 0.8;
  animation: twinkle 3.6s ease-in-out infinite;
}

.star-1 { top: 18%; left: 46%; font-size: 14px; }
.star-2 { top: 64%; left: 6%; animation-delay: 1.2s; }
.star-3 { top: 12%; right: 6%; animation-delay: 2.1s; font-size: 22px; }

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(0.9); }
  50% { opacity: 0.9; transform: scale(1.1); }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 40px;
}

.hero-copy { max-width: 560px; }

.eyebrow.pill {
  padding: 8px 16px 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
  color: var(--ink-soft);
  font-size: 12.5px;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 600;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.6);
  animation: pulse 1.8s ease-out infinite;
  flex-shrink: 0;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(255, 77, 109, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 77, 109, 0); }
}

.hero-title {
  display: flex;
  flex-direction: column;
  margin: 24px 0 22px;
  font-size: clamp(42px, 5.6vw, 68px);
  line-height: 1.07;
  letter-spacing: -0.035em;
  font-weight: 900;
}

html[lang="en"] .hero-title {
  font-size: clamp(30px, 3.55vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.hero-title .grad {
  background: linear-gradient(100deg, #f4584c 0%, #ff6b7e 48%, #ff8f6b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 6px;
}

.hero-lede {
  max-width: 490px;
  font-size: 17px;
  color: var(--ink-soft);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.store-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 186px;
  padding: 13px 22px;
  border-radius: 16px;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: left;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.store-btn-play {
  background: #171013;
  color: #fff;
  box-shadow: 0 18px 34px -16px rgba(30, 14, 18, 0.75);
}

.store-btn-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 44px -18px rgba(30, 14, 18, 0.8);
}

.store-icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.store-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-text small {
  font-size: 9.5px;
  letter-spacing: 0.12em;
  font-weight: 700;
  opacity: 0.68;
}

.store-text strong {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.store-btn-soon {
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(59, 42, 46, 0.12);
  color: rgba(59, 42, 46, 0.55);
  cursor: not-allowed;
}

.store-btn-soon .store-text strong { font-weight: 700; }

.soon-tag {
  position: absolute;
  top: -9px;
  right: 12px;
  padding: 2px 9px;
  border-radius: 999px;
  background: #ffe3d8;
  color: #c9493c;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.03em;
  border: 1px solid #ffcdbd;
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-soft);
  font-weight: 500;
}

.note-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.dot-ok, .dot-soon {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.dot-ok { background: #35b47e; }
.dot-soon { background: #d5a08e; }

.note-sep {
  width: 1px;
  height: 12px;
  background: rgba(59, 42, 46, 0.16);
}

/* hero visual */

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

.portrait-wrap {
  position: relative;
  width: min(430px, 100%);
  aspect-ratio: 1;
}

.portrait-glow {
  position: absolute;
  inset: -10%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 45%, rgba(255, 160, 138, 0.6), transparent 66%);
  filter: blur(22px);
}

.portrait {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 9px;
  background: linear-gradient(155deg, #ffffff 0%, #ffe6db 40%, #ffb9a4 100%);
  box-shadow: var(--shadow-lg);
}

.portrait img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.portrait::after {
  content: "";
  position: absolute;
  inset: 9px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

.live-badge {
  position: absolute;
  left: 4%;
  bottom: 16%;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  background: #ff3f5f;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 12px 26px -10px rgba(255, 47, 84, 0.8);
}

.live-badge .live-dot {
  background: #fff;
  animation: none;
  box-shadow: none;
}

.live-badge.sm {
  position: static;
  padding: 5px 11px;
  font-size: 10px;
  gap: 5px;
  box-shadow: none;
}

.float-chip {
  position: absolute;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 30px -16px rgba(140, 70, 55, 0.55);
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

.chip-a {
  top: 4%;
  right: -4%;
  animation: bob 6s ease-in-out infinite;
}

.chip-b {
  top: 34%;
  right: -10%;
  animation: bob 7s ease-in-out infinite 0.8s;
}

.chip-c {
  bottom: 6%;
  right: 0;
  animation: bob 6.5s ease-in-out infinite 1.6s;
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

.chat-card {
  position: absolute;
  left: -8%;
  bottom: 30%;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 250px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 22px 46px -22px rgba(130, 60, 45, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.9);
  animation: bob 7.5s ease-in-out infinite 0.4s;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

.chat-body { min-width: 0; }

.chat-name {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 2px;
}

.chat-body p {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
}

.chat-heart {
  margin-left: auto;
  color: var(--pink);
  font-size: 13px;
  align-self: flex-end;
}

.heart-float {
  position: absolute;
  color: rgba(255, 90, 120, 0.75);
  font-size: 16px;
  animation: rise 5s ease-in-out infinite;
}

.heart-1 { left: 18%; top: 22%; }
.heart-2 { right: 12%; top: 52%; font-size: 12px; animation-delay: 2.4s; }

@keyframes rise {
  0% { transform: translateY(0) scale(0.9); opacity: 0; }
  30% { opacity: 0.9; }
  100% { transform: translateY(-46px) scale(1.15); opacity: 0; }
}

/* ---------- cards / experience ---------- */

.cards {
  display: grid;
  gap: 22px;
}

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

.card {
  position: relative;
  padding: 34px 30px 32px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid rgba(59, 42, 46, 0.055);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, #ffb59c, #ff7a6b);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card:hover::before { opacity: 1; }

.card-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  margin-bottom: 22px;
  color: var(--coral-deep);
  background: linear-gradient(150deg, #fff1e9, #ffe2d6);
}

.card-icon svg { width: 26px; height: 26px; }

.card h3 {
  font-size: 19.5px;
  font-weight: 800;
  letter-spacing: -0.015em;
  margin-bottom: 10px;
}

.card p {
  font-size: 14.5px;
  color: var(--ink-soft);
}

/* ---------- connect ---------- */

.connect-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 72px;
}

.connect-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.connect-item {
  display: flex;
  gap: 20px;
  padding: 20px 22px;
  border-radius: var(--radius-sm);
  transition: background 0.25s ease, transform 0.25s ease;
}

.connect-item:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: translateX(3px);
}

.connect-num {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--coral);
  padding-top: 3px;
}

.connect-item h3 {
  font-size: 18.5px;
  font-weight: 800;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.connect-item p {
  font-size: 14.5px;
  color: var(--ink-soft);
}

.connect-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.phone {
  position: relative;
  width: 290px;
  padding: 10px;
  border-radius: 44px;
  background: linear-gradient(160deg, #fff, #ffe7dc);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.phone::before {
  content: "";
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 76px;
  height: 6px;
  border-radius: 999px;
  background: rgba(59, 42, 46, 0.16);
  z-index: 3;
}

.phone-screen {
  position: relative;
  height: 540px;
  border-radius: 36px;
  overflow: hidden;
  background: #2a171d;
}

.phone-portrait {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 70%;
  object-fit: cover;
  object-position: 50% 14%;
  -webkit-mask-image: linear-gradient(180deg, #000 58%, rgba(0, 0, 0, 0.65) 78%, transparent 99%);
  mask-image: linear-gradient(180deg, #000 58%, rgba(0, 0, 0, 0.65) 78%, transparent 99%);
}

.screen-grad {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(30, 14, 20, 0.42) 0%, rgba(30, 14, 20, 0) 22%, rgba(30, 14, 20, 0) 54%, rgba(42, 23, 29, 0.92) 64%, #2a171d 72%);
}

.screen-top {
  position: absolute;
  top: 30px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.viewers {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(20, 10, 14, 0.42);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  backdrop-filter: blur(6px);
}

.eye { font-size: 8px; opacity: 0.8; }

.danmaku {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 74px;
  height: 132px;
  overflow: hidden;
  z-index: 2;
  mask-image: linear-gradient(180deg, transparent, #000 32%);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 32%);
}

.dm {
  position: absolute;
  left: 0;
  max-width: 82%;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  backdrop-filter: blur(8px);
  animation: dmSlide 12s linear infinite;
  white-space: nowrap;
}

.dm-1 { bottom: 0; left: 0; animation-delay: 0s; }
.dm-2 { bottom: 38px; left: 17%; animation-delay: 3s; }
.dm-3 { bottom: 76px; left: 5%; animation-delay: 6s; }
.dm-4 { bottom: 114px; left: 22%; animation-delay: 9s; max-width: 64%; }

@keyframes dmSlide {
  0% { transform: translateX(-16px); opacity: 0; }
  6% { transform: translateX(0); opacity: 1; }
  24% { opacity: 1; }
  34% { transform: translateX(8px); opacity: 0; }
  100% { transform: translateX(8px); opacity: 0; }
}

.screen-bottom {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 3;
}

.chat-input {
  flex: 1;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  backdrop-filter: blur(8px);
}

.heart-btn {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ff4d6d;
  color: #fff;
  font-size: 15px;
  box-shadow: 0 8px 18px -8px rgba(255, 60, 100, 0.9);
}

.hearts {
  position: absolute;
  right: 22px;
  bottom: 64px;
  width: 60px;
  height: 160px;
  z-index: 2;
}

.hearts span {
  position: absolute;
  bottom: 0;
  right: 8px;
  color: #ff7d95;
  font-size: 14px;
  opacity: 0;
  animation: heartRise 4.8s ease-in infinite;
}

.hearts span:nth-child(2) { right: 30px; font-size: 11px; animation-delay: 1.2s; }
.hearts span:nth-child(3) { right: 18px; font-size: 17px; animation-delay: 2.4s; }
.hearts span:nth-child(4) { right: 2px; font-size: 10px; animation-delay: 3.4s; }

@keyframes heartRise {
  0% { transform: translateY(0) scale(0.6); opacity: 0; }
  12% { opacity: 1; }
  100% { transform: translateY(-130px) scale(1.1); opacity: 0; }
}

.outfit-card {
  position: absolute;
  left: -6%;
  bottom: 118px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 20px 44px -22px rgba(130, 60, 45, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  animation: bob 7s ease-in-out infinite 0.6s;
}

.outfit-title {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 9px;
}

.swatches {
  display: flex;
  gap: 8px;
}

.swatch {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 8px rgba(80, 40, 32, 0.18);
  cursor: default;
}

.swatch.is-on {
  box-shadow: 0 0 0 2px var(--coral), 0 4px 10px rgba(244, 88, 76, 0.35);
}

.s1 { background: linear-gradient(140deg, #ffd6e0, #ff9db4); }
.s2 { background: linear-gradient(140deg, #ffe3c2, #ffb271); }
.s3 { background: linear-gradient(140deg, #d4e5ff, #8fb4ff); }
.s4 { background: linear-gradient(140deg, #e6d5ff, #b491ff); }

/* ---------- caring (dark) ---------- */

.section-dark {
  background:
    radial-gradient(60% 80% at 12% 0%, rgba(255, 108, 96, 0.22), transparent 62%),
    radial-gradient(50% 70% at 88% 100%, rgba(255, 120, 90, 0.14), transparent 66%),
    var(--dark);
  color: #fff3ee;
  overflow: hidden;
}

.section-dark::after {
  content: "ChatViu";
  position: absolute;
  left: 50%;
  bottom: -60px;
  transform: translateX(-50%);
  font-size: clamp(120px, 22vw, 280px);
  font-weight: 900;
  letter-spacing: -0.05em;
  color: rgba(255, 255, 255, 0.028);
  pointer-events: none;
  white-space: nowrap;
}

.section-dark .section-head h2 { color: #fff6f1; }
.section-dark .section-head p { color: rgba(255, 235, 228, 0.68); }
.section-dark .eyebrow { color: #ff9e8c; }

.caring-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.caring-item {
  padding: 38px 34px 12px 0;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.caring-item:last-child { border-right: 0; }

.caring-index {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ff8f7c;
  margin-bottom: 18px;
}

.caring-item h3 {
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.caring-item p {
  font-size: 14.5px;
  color: rgba(255, 235, 228, 0.62);
  max-width: 280px;
}

/* ---------- download ---------- */

#download { padding-top: 100px; }

.download-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 40px;
  padding: 64px 60px;
  border-radius: 40px;
  overflow: hidden;
  background:
    linear-gradient(135deg, #ffe8dd 0%, #ffd7c8 46%, #ffc4b1 100%);
  box-shadow: var(--shadow-md);
}

.download-bg { position: absolute; inset: 0; pointer-events: none; }

.orb-d {
  width: 320px;
  height: 320px;
  right: 18%;
  top: -160px;
  background: rgba(255, 255, 255, 0.6);
  filter: blur(50px);
  opacity: 0.7;
}

.orb-e {
  width: 260px;
  height: 260px;
  left: -80px;
  bottom: -140px;
  background: rgba(255, 122, 107, 0.4);
  filter: blur(50px);
}

.download-copy { position: relative; z-index: 1; }

.download-copy .eyebrow { color: #c9493c; }

.download-copy h2 {
  margin: 16px 0 14px;
  font-size: clamp(30px, 3.8vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 900;
}

.download-copy > p {
  max-width: 460px;
  font-size: 15.5px;
  color: #7a564d;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.store-btn.light {
  background: rgba(255, 255, 255, 0.9);
  color: var(--ink);
  box-shadow: 0 16px 34px -20px rgba(120, 50, 35, 0.55);
  border-color: rgba(255, 255, 255, 0.9);
}

.store-btn-soon.light {
  background: rgba(255, 255, 255, 0.42);
  color: rgba(59, 42, 46, 0.5);
  border-color: rgba(59, 42, 46, 0.12);
  cursor: not-allowed;
}

.qr-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 24px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 30px 60px -30px rgba(120, 50, 35, 0.55);
  backdrop-filter: blur(10px);
  justify-self: end;
  width: 100%;
  max-width: 300px;
}

.qr-box {
  width: 100%;
  aspect-ratio: 1;
  padding: 14px;
  border-radius: 18px;
  background: #fff;
}

.qr-box svg {
  width: 100%;
  height: 100%;
  display: block;
}

.qr-info {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.qr-info img {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  box-shadow: 0 4px 12px rgba(180, 90, 70, 0.25);
}

.qr-info strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 2px;
}

.qr-info span {
  display: block;
  font-size: 11.5px;
  color: var(--muted);
  line-height: 1.4;
}

/* ---------- footer ---------- */

.site-footer {
  padding: 40px 0 46px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-brand .brand img {
  width: 32px;
  height: 32px;
  border-radius: 10px;
}

.footer-brand .brand-name { font-size: 18px; }

.footer-tag {
  font-size: 12.5px;
  color: var(--muted);
}

.disclaimer {
  font-size: 12px;
  color: var(--muted);
}

.copyright {
  font-size: 12px;
  color: var(--muted);
}

/* ---------- reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--d, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- responsive ---------- */

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { max-width: 640px; }
  .hero-visual { margin-top: 8px; }
  .portrait-wrap { width: min(400px, 82vw); }
  .connect-grid { grid-template-columns: 1fr; gap: 48px; }
  .connect-copy { max-width: 640px; }
  .connect-visual { margin-top: 8px; }
  .outfit-card { left: 8%; }
  .download-panel { grid-template-columns: 1fr; padding: 48px 40px; }
  .qr-card { justify-self: start; max-width: 280px; }
  .footer-inner { grid-template-columns: 1fr; gap: 12px; }
  .footer-brand { gap: 14px; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .header-cta span { display: none; }
  .header-cta { padding: 10px 12px; }
  .header-inner { height: 64px; gap: 14px; }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 44px; }
  .cards-3 { grid-template-columns: 1fr; }
  .caring-grid { grid-template-columns: 1fr; }
  .caring-item {
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
  .caring-item:last-child { border-bottom: 0; }
  .caring-item p { max-width: none; }
  .chip-a { right: 0; }
  .chip-b { right: -2%; }
  .chat-card { left: 0; bottom: 22%; }
}

@media (max-width: 640px) {
  .container { padding: 0 20px; }
  .hero { padding: 48px 0 72px; }
  .hero-title { font-size: clamp(36px, 10.4vw, 48px); }
  .hero-lede { font-size: 15.5px; }
  .hero-cta { gap: 12px; }
  .store-btn { flex: 1 1 100%; min-width: 0; justify-content: flex-start; }
  .store-btn-soon { flex: 1 1 100%; }
  .hero-note { flex-wrap: wrap; gap: 10px; }
  .portrait-wrap { width: min(330px, 86vw); }
  .float-chip { font-size: 11.5px; padding: 7px 12px; }
  .chip-a { top: 2%; right: 0; }
  .chip-b { right: 0; top: 26%; }
  .chip-c { bottom: 4%; right: 0; }
  .chat-card { width: 214px; left: -2%; bottom: 1%; padding: 10px 12px; }
  .chat-body p { font-size: 12px; }
  .live-badge { left: 2%; bottom: 27%; font-size: 11px; padding: 7px 12px; }
  .phone { width: 250px; }
  .phone-screen { height: 470px; }
  .outfit-card { display: none; }
  .download-panel { padding: 36px 24px; border-radius: 28px; }
  .download-actions { flex-direction: column; align-items: stretch; }
  .qr-card { max-width: 260px; margin: 0 auto; }
  .qr-info span { font-size: 11px; }
  .section-dark::after { bottom: -30px; }
  .footer-tag { width: 100%; }
}

@media (max-width: 400px) {
  .container { padding: 0 16px; }
  .header-inner { gap: 10px; }
  .header-actions { gap: 8px; }
  .brand-name { font-size: 17px; }
  .lang-select { padding: 0 6px 0 9px; gap: 4px; }
  .lang-select select { font-size: 12px; }
  html[lang="en"] .hero-title { font-size: 26px; }
  .chat-card { width: 198px; }
  .live-badge { bottom: 31%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
