/* Uncle Tony 官网
   延续 App 的 Tactile Play 语言：温暖底色、清晰信息层级和克制的实体感。 */

:root {
  --cream: #f7ecda;
  --cream-light: #fff9ef;
  --cream-deep: #edddc2;
  --surface: #fffdf8;
  --ink: #28242f;
  --ink-soft: #6e665f;
  --line: rgba(54, 43, 30, 0.12);
  --purple: #5c50eb;
  --purple-deep: #4438c8;
  --purple-tint: #e9e6ff;
  --amber: #ffad26;
  --amber-tint: #ffebc7;
  --green: #07815f;
  --green-tint: #d9f3e8;
  --blue: #3977b8;
  --blue-tint: #e2effb;
  --coral: #d95645;
  --radius: 24px;
  --shadow-sm: 0 8px 24px rgba(76, 56, 27, 0.08);
  --shadow: 0 20px 56px rgba(76, 56, 27, 0.12);
  --font: "Plus Jakarta Sans", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.container { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
section { scroll-margin-top: 84px; }

/* Buttons */
.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary { color: #fff; background: var(--purple); box-shadow: 0 10px 26px rgba(92, 80, 235, 0.3); }
.btn-primary:hover { background: var(--purple-deep); }
.btn-ghost { background: rgba(255, 253, 248, 0.64); border: 1px solid var(--line); backdrop-filter: blur(12px); }
.btn-ghost:hover { background: rgba(255, 253, 248, 0.9); }
.btn-sm { min-height: 40px; padding: 8px 18px; font-size: 13px; }

/* Navigation */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background 220ms ease, box-shadow 220ms ease; }
.nav.scrolled { background: rgba(247, 236, 218, 0.82); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(18px); }
.nav-inner { width: min(1160px, calc(100% - 48px)); min-height: 72px; margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand-avatar { width: 38px; height: 38px; border-radius: 12px; object-fit: cover; box-shadow: 0 5px 14px rgba(76, 56, 27, 0.16); }
.brand-name { font-size: 16px; font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.nav-links a { color: var(--ink-soft); font-size: 14px; font-weight: 700; transition: color 160ms ease; }
.nav-links a:hover { color: var(--purple); }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #fbf3e6 0%, var(--cream) 62%, var(--cream-deep) 100%);
}

#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero-inner { position: relative; z-index: 2; width: min(1160px, calc(100% - 48px)); margin-inline: auto; padding: 132px 0 94px; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 50px; align-items: center; }
.hero-copy { max-width: 650px; }
.hero-badge, .feature-kicker { display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; color: var(--purple); background: var(--purple-tint); font-size: 13px; font-weight: 700; }
.hero-badge { margin-bottom: 22px; }
.hero-title { max-width: 720px; margin-bottom: 24px; font-size: clamp(42px, 5.3vw, 70px); line-height: 1.14; font-weight: 700; letter-spacing: 0; }
.hero-title .accent { color: var(--purple); }
.hero-sub { max-width: 34em; margin-bottom: 32px; color: var(--ink-soft); font-size: 17px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 24px; color: var(--ink-soft); font-size: 13px; font-weight: 600; }
.hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
.hero-mascot { justify-self: center; width: min(355px, 86%); animation: float 6s ease-in-out infinite; filter: drop-shadow(0 28px 42px rgba(76, 56, 27, 0.2)); }

@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
.hero-scroll { position: absolute; z-index: 2; bottom: 26px; left: 50%; width: 24px; height: 40px; border: 2px solid rgba(40, 36, 47, 0.24); border-radius: 14px; transform: translateX(-50%); }
.hero-scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: rgba(40, 36, 47, 0.42); animation: scrollhint 1.8s ease-in-out infinite; }
@keyframes scrollhint { 0%, 100% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(11px); opacity: 0; } }

/* Sections */
.section { padding: 112px 0; }
.section-eyebrow { margin-bottom: 12px; color: var(--purple); font-size: 13px; font-weight: 700; }
.section-title { max-width: 720px; margin-bottom: 18px; font-size: clamp(30px, 4vw, 48px); line-height: 1.22; font-weight: 700; letter-spacing: 0; }
.section-sub { max-width: 42em; margin-bottom: 52px; color: var(--ink-soft); font-size: 16px; }

/* Capability bento */
.feature-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.feature-panel { position: relative; overflow: hidden; min-height: 240px; padding: 28px; border: 1px solid rgba(54, 43, 30, 0.08); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); transform-style: preserve-3d; transition: box-shadow 240ms ease; }
.feature-panel:hover { box-shadow: var(--shadow); }
.feature-panel h3 { max-width: 15em; margin: 16px 0 9px; font-size: 20px; line-height: 1.35; }
.feature-panel p { max-width: 32em; color: var(--ink-soft); font-size: 14px; }
.feature-panel-main { grid-column: span 4; min-height: 380px; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1.08fr); gap: 30px; align-items: center; background: linear-gradient(135deg, #fffdf8 15%, #efedff 100%); }
.feature-panel-main h3 { max-width: 9em; font-size: clamp(25px, 2.8vw, 34px); }
.feature-books, .feature-wardrobe { grid-column: span 2; }
.feature-books { background: linear-gradient(160deg, #fffdf8 30%, #e2f3e9 100%); }
.feature-wardrobe { background: linear-gradient(160deg, #fffdf8 30%, #ffedd3 100%); }
.feature-small { grid-column: span 2; min-height: 230px; }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; }
.feature-icon svg { width: 24px; height: 24px; }
.i-purple { color: var(--purple); background: var(--purple-tint); }
.i-green { color: var(--green); background: var(--green-tint); }
.i-amber { color: #9a6100; background: var(--amber-tint); }
.i-blue { color: var(--blue); background: var(--blue-tint); }

.task-preview { padding: 20px; border: 1px solid rgba(92, 80, 235, 0.14); border-radius: 20px; background: rgba(255, 255, 255, 0.76); box-shadow: 0 16px 40px rgba(92, 80, 235, 0.13); }
.task-summary { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.task-summary strong { font-size: 17px; }
.task-summary span { color: var(--purple); font-size: 12px; font-weight: 700; }
.task-progress { height: 8px; margin-bottom: 16px; overflow: hidden; border-radius: 99px; background: #e6e2ef; }
.task-progress i { display: block; width: 60%; height: 100%; border-radius: inherit; background: var(--purple); }
.task-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 9px; align-items: center; padding: 12px 0; border-top: 1px solid rgba(54, 43, 30, 0.08); }
.task-row b { overflow: hidden; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.task-row em { color: var(--amber); font-size: 12px; font-style: normal; font-weight: 700; }
.task-symbol { width: 27px; height: 27px; display: grid; place-items: center; border-radius: 50%; color: var(--coral); background: #ffe4df; font-weight: 700; }
.task-done .task-symbol { color: var(--green); background: var(--green-tint); }

.book-spines { position: absolute; right: 20px; bottom: 20px; left: 20px; height: 74px; display: flex; align-items: flex-end; justify-content: center; gap: 7px; opacity: 0.9; }
.book-spines i { width: 14%; max-width: 26px; border-radius: 5px 5px 2px 2px; }
.book-spines i:nth-child(1) { height: 58px; background: var(--green); }
.book-spines i:nth-child(2) { height: 70px; background: var(--amber); }
.book-spines i:nth-child(3) { height: 52px; background: var(--purple); }
.book-spines i:nth-child(4) { height: 64px; background: #e46b54; }
.book-spines i:nth-child(5) { height: 44px; background: var(--blue); }
.wardrobe-tags { position: absolute; right: 22px; bottom: 22px; left: 22px; display: flex; flex-wrap: wrap; gap: 7px; }
.wardrobe-tags span { padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.8); color: #79551c; font-size: 11px; font-weight: 700; }

.asset-story { position: relative; overflow: hidden; margin-top: 74px; border-radius: 28px; background: #f4ead9; box-shadow: var(--shadow); }
.asset-story img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.asset-story figcaption { position: absolute; right: 30px; bottom: 30px; width: min(390px, calc(100% - 60px)); padding: 24px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 18px; background: rgba(255, 253, 248, 0.84); backdrop-filter: blur(18px); box-shadow: var(--shadow-sm); }
.asset-story figcaption span { color: var(--green); font-size: 12px; font-weight: 700; }
.asset-story figcaption strong { display: block; margin: 6px 0 8px; font-size: 22px; line-height: 1.3; }
.asset-story figcaption p { color: var(--ink-soft); font-size: 13px; }

/* Product modes */
.section-showcase { background: #fff8ed; }
.device-stage { display: grid; grid-template-columns: minmax(250px, 0.68fr) minmax(0, 1.32fr); gap: 52px; align-items: center; }
.experience-copy { padding-left: 16px; }
.experience-number { display: inline-block; margin-bottom: 8px; color: var(--purple); font-size: 12px; font-weight: 700; }
.experience-copy h3 { margin-bottom: 8px; font-size: 22px; }
.experience-copy p { color: var(--ink-soft); font-size: 14px; }
.experience-divider { width: 100%; height: 1px; margin: 32px 0; background: var(--line); }
.mode-visual { overflow: hidden; border-radius: 28px; box-shadow: var(--shadow); }
.mode-visual img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

/* Assistant */
.assistant-section { background: var(--ink); color: #fffdf7; }
.assistant-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr); gap: 74px; align-items: center; }
.assistant-copy .section-eyebrow { color: #b9b2ff; }
.assistant-copy .section-sub { color: rgba(255, 253, 247, 0.68); }
.assistant-capabilities { list-style: none; display: grid; gap: 12px; }
.assistant-capabilities li { display: flex; align-items: center; gap: 12px; color: rgba(255, 253, 247, 0.82); font-size: 14px; }
.assistant-capabilities span { min-width: 48px; padding: 5px 9px; border-radius: 99px; color: #fff; background: rgba(255, 255, 255, 0.12); text-align: center; font-size: 11px; font-weight: 700; }
.assistant-visual { position: relative; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 24px; box-shadow: 0 30px 72px rgba(0, 0, 0, 0.28); }
.assistant-visual img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.assistant-visual figcaption { position: absolute; right: 18px; bottom: 18px; left: 18px; padding: 15px 17px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid rgba(255, 255, 255, 0.55); border-radius: 15px; color: var(--ink); background: rgba(255, 253, 248, 0.86); backdrop-filter: blur(16px); }
.assistant-visual figcaption strong { font-size: 13px; }
.assistant-visual figcaption span { color: var(--ink-soft); font-size: 11px; text-align: right; }

/* Privacy */
.privacy-layout { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 72px; align-items: start; }
.privacy-copy { position: sticky; top: 112px; }
.privacy-links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: -24px; }
.privacy-links a { color: var(--purple); font-size: 13px; font-weight: 700; }
.privacy-links a::after { content: " ↗"; }
.privacy-points { display: grid; gap: 16px; }
.point { display: flex; gap: 18px; padding: 25px; border: 1px solid rgba(54, 43, 30, 0.08); border-radius: 20px; background: var(--surface); box-shadow: var(--shadow-sm); }
.point-icon { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: var(--green); background: var(--green-tint); }
.point-icon svg { width: 23px; height: 23px; }
.point-icon-purple { color: var(--purple); background: var(--purple-tint); }
.point-icon-amber { color: #9a6100; background: var(--amber-tint); }
.point h3 { margin-bottom: 5px; font-size: 16px; }
.point p { color: var(--ink-soft); font-size: 13px; }

/* Download and footer */
.section-download { text-align: center; background: linear-gradient(180deg, var(--cream) 0%, #ebe8ff 130%); }
.download-inner { display: flex; flex-direction: column; align-items: center; }
.download-mascot { width: 112px; height: 112px; margin-bottom: 25px; border-radius: 28px; box-shadow: var(--shadow); }
.download-inner .section-title { max-width: 760px; }
.download-inner .section-sub { margin-bottom: 30px; }
.store-btn { display: inline-flex; align-items: center; gap: 11px; padding: 13px 22px; border-radius: 16px; color: #fffdf7; background: var(--ink); }
.store-btn svg { width: 25px; height: 25px; }
.store-btn span { display: flex; flex-direction: column; align-items: flex-start; font-size: 14px; font-weight: 700; line-height: 1.25; }
.store-btn em { color: rgba(255, 253, 247, 0.6); font-size: 10px; font-style: normal; font-weight: 500; }
.footer { padding: 38px 0; background: var(--cream-deep); }
.footer-inner { display: flex; align-items: center; gap: 24px; color: var(--ink-soft); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
.footer-links a:hover { color: var(--purple); }
.footer-copy { white-space: nowrap; }

/* Motion */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 680ms ease, transform 680ms cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-mascot, .hero-scroll span { animation: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-copy { max-width: 720px; }
  .hero-mascot { width: min(260px, 54vw); }
  .feature-panel-main { grid-column: span 6; }
  .feature-books, .feature-wardrobe, .feature-small { grid-column: span 3; }
  .device-stage { grid-template-columns: 1fr; }
  .experience-copy { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; padding: 0; }
  .experience-copy h3, .experience-copy p { grid-column: 2; }
  .experience-divider { grid-column: 1 / -1; }
  .assistant-layout { grid-template-columns: 1fr; gap: 42px; }
  .assistant-visual { max-width: 760px; }
  .privacy-layout { grid-template-columns: 1fr; gap: 40px; }
  .privacy-copy { position: static; }
}

@media (max-width: 700px) {
  .container, .nav-inner, .hero-inner { width: min(100% - 32px, 1160px); }
  .nav-inner { min-height: 64px; }
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
  .brand-name { font-size: 15px; }
  .hero { min-height: 820px; }
  .hero-inner { padding: 104px 0 76px; }
  .hero-title { font-size: clamp(38px, 11vw, 54px); }
  .hero-sub { font-size: 15px; }
  .hero-cta .btn { flex: 1 1 180px; }
  .hero-scroll { display: none; }
  .section { padding: 82px 0; }
  .section-title { font-size: clamp(29px, 9vw, 40px); }
  .section-sub { margin-bottom: 38px; }
  .feature-bento { grid-template-columns: 1fr; }
  .feature-panel-main, .feature-books, .feature-wardrobe, .feature-small { grid-column: auto; }
  .feature-panel-main { min-height: 0; grid-template-columns: 1fr; }
  .feature-panel { min-height: 220px; padding: 24px; }
  .task-preview { margin-top: 8px; }
  .asset-story { margin-top: 46px; border-radius: 20px; }
  .asset-story img { aspect-ratio: 4 / 5; object-position: 56% center; }
  .asset-story figcaption { position: static; width: auto; border: 0; border-radius: 0; background: var(--surface); backdrop-filter: none; }
  .mode-visual { border-radius: 20px; }
  .mode-visual img { aspect-ratio: 4 / 5; object-position: center; }
  .assistant-layout { gap: 32px; }
  .assistant-visual { border-radius: 20px; }
  .assistant-visual img { aspect-ratio: 4 / 5; object-position: center; }
  .assistant-visual figcaption { position: static; border: 0; border-radius: 0; }
  .privacy-links { margin-top: -16px; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { margin-left: 0; }
  .footer-copy { white-space: normal; }
}

@media (max-width: 390px) {
  .nav .brand-name { display: none; }
  .hero-trust { gap: 10px 14px; }
  .feature-panel-main { padding: 22px; }
}
