:root {
  --bg-main: #FAF8F5;
  --bg-card: #FFFFFF;
  --text-main: #2D2A26;
  --text-muted: #7A756D;
  --teal: #3EC6B8;
  --teal-hover: #32AD9F;
  --teal-light: #E8F6F4;
  --border-color: #EBE7DF;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* 导航 */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 700;
}

.brand img {
  height: 32px;
  width: auto;
}

.nav-links {
  display: none;
  gap: 24px;
}

.nav-links a {
  font-size: 15px;
  color: var(--text-muted);
  transition: color 0.2s;
}

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

.btn-nav-download {
  background-color: var(--teal);
  color: #fff;
  padding: 8px 16px;
  border-radius: var(--radius-lg);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-nav-download:hover {
  background-color: var(--teal-hover);
}

/* 通用区块 */
.section-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section-title {
  font-size: 28px;
  text-align: center;
  margin-bottom: 12px;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 16px;
}

/* 首屏 */
.hero {
  padding: 60px 20px;
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.hero-text h1 {
  font-size: 32px;
  line-height: 1.3;
  margin-bottom: 16px;
}

.hero-text p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-primary {
  display: inline-block;
  text-align: center;
  background-color: var(--teal);
  color: #fff;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s;
}

.btn-primary:hover {
  background-color: var(--teal-hover);
}

.btn-secondary {
  display: inline-block;
  text-align: center;
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 500;
  transition: background 0.2s;
}

.btn-secondary:hover {
  background-color: var(--bg-card);
}

/* 对话展示 */
.chat-mockup {
  background-color: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
  border: 1px solid var(--border-color);
}

.chat-date {
  text-align: center;
  font-size: 12px;
  color: var(--text-muted);
  margin: 16px 0;
}

.chat-bubble {
  display: flex;
  margin-bottom: 16px;
}

.chat-bubble.user {
  justify-content: flex-end;
}

.chat-bubble.ai {
  justify-content: flex-start;
}

.chat-bubble .text {
  max-width: 80%;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: 15px;
}

.chat-bubble.user .text {
  background-color: var(--teal);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.chat-bubble.ai .text {
  background-color: var(--bg-main);
  color: var(--text-main);
  border-bottom-left-radius: 4px;
}

/* 角色介绍 */
.roles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.role-card {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.role-card img {
  width: 100%;
  max-width: 200px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.role-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.role-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.role-reply {
  background-color: var(--bg-main);
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  width: 100%;
  text-align: left;
  border-left: 3px solid var(--teal);
}

/* App内页展示 */
.app-screens {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.screen-item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid var(--border-color);
}

.screen-img-wrapper {
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: #f0f0f0;
  aspect-ratio: 9/16;
}

.screen-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.screen-info h3 {
  font-size: 20px;
  margin-bottom: 8px;
}

.screen-info p {
  font-size: 15px;
  color: var(--text-muted);
}

/* 长期记忆 */
.memory-block {
  background-color: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border-color);
  margin-bottom: 20px;
}

.memory-chat {
  background-color: var(--bg-main);
  padding: 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.memory-tag {
  display: inline-block;
  background-color: var(--teal-light);
  color: var(--teal);
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
  font-weight: 600;
}

/* 场景 */
.scene-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.scene-card {
  background-color: var(--bg-card);
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.scene-card h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.scene-card p {
  font-size: 15px;
  color: var(--text-muted);
}

/* 隐私与边界 */
.privacy-section {
  background-color: #fff;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.privacy-content {
  max-width: 800px;
  margin: 0 auto;
}

.privacy-content p {
  margin-bottom: 16px;
  font-size: 16px;
}

.privacy-list {
  list-style: none;
  padding: 0;
}

.privacy-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--text-muted);
}

.privacy-list li::before {
  content: "•";
  color: var(--teal);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* 用户声音 */
.voice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.voice-card {
  background-color: var(--bg-card);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.voice-card .quote {
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 12px;
  font-style: italic;
}

.voice-card .meta {
  font-size: 13px;
  color: var(--text-muted);
  text-align: right;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-item summary {
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  color: var(--teal);
  font-size: 20px;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-content {
  padding: 0 16px 16px;
  color: var(--text-muted);
  font-size: 15px;
}

/* 下载区 */
.download-section {
  background-color: var(--bg-card);
  padding: 60px 20px;
  border-top: 1px solid var(--border-color);
}

.download-inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.download-inner h2 {
  font-size: 28px;
  margin-bottom: 12px;
}

.download-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 30px;
}

.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-ios {
  background-color: #2D2A26;
  color: #fff;
}

.btn-ios:hover {
  background-color: #1A1815;
}

.btn-android {
  background-color: var(--teal);
  color: #fff;
}

.btn-android:hover {
  background-color: var(--teal-hover);
}

.platform-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 20px;
}

/* 页脚 */
.site-footer {
  padding: 40px 20px;
  font-size: 13px;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
}

.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer-about {
  max-width: 600px;
}

.footer-about summary {
  cursor: pointer;
  display: inline-block;
  list-style: none;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-about summary::-webkit-details-marker {
  display: none;
}

.footer-about summary:hover {
  color: var(--text-main);
}

.footer-about p {
  margin-top: 10px;
  line-height: 1.8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.footer-links a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--teal);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-time {
  font-size: 12px;
  color: #a8a39b;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
  .hero {
    flex-direction: row;
    align-items: center;
  }
  .hero-text {
    flex: 1;
  }
  .chat-mockup {
    flex: 1;
  }
  .roles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .screen-item {
    flex-direction: row;
    align-items: center;
    gap: 30px;
  }
  .screen-img-wrapper {
    flex: 0 0 260px;
    width: 260px;
    height: 462px;
    aspect-ratio: auto;
  }
  .scene-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .voice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .download-buttons {
    flex-direction: row;
  }
  .btn-download {
    flex: 1;
  }
}

@media (min-width: 1024px) {
  .roles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .scene-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .voice-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-text h1 {
    font-size: 42px;
  }
}