:root {
  --bg-color: #f5f6f8;
  --text-main: #1f2329;
  --text-sub: #555c66;
  --text-light: #8b929c;
  --primary: #62d5d0;
  --primary-dark: #45b5b0;
  --card-bg: #ffffff;
  --border-color: #e4e7eb;
  --radius: 16px;
  --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 60px;
}
body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: var(--primary-dark);
}
h1, h2, h3 {
  line-height: 1.3;
  font-weight: 600;
}
.container {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 20px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 24px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}
.btn-primary {
  background-color: var(--primary);
  color: #fff;
}
.btn-primary:hover {
  background-color: var(--primary-dark);
}
.btn-outline {
  background-color: transparent;
  border: 1px solid var(--primary);
  color: var(--primary-dark);
}
.btn-outline:hover {
  background-color: rgba(98, 213, 208, 0.1);
}
.section {
  padding: 60px 0;
}
.section-title {
  font-size: 24px;
  margin-bottom: 12px;
  text-align: center;
}
.section-desc {
  font-size: 15px;
  color: var(--text-sub);
  text-align: center;
  margin-bottom: 40px;
}
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 20px; }
.card {
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid var(--border-color);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 18px;
  color: var(--text-main);
}
.brand img {
  height: 32px;
  width: auto;
}
.nav-links {
  display: none;
  gap: 24px;
  font-size: 15px;
  color: var(--text-sub);
}
.nav-links a {
  color: inherit;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--primary-dark);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-actions .btn {
  padding: 8px 16px;
  font-size: 14px;
}

/* Hero */
.hero {
  padding-top: 100px;
  padding-bottom: 60px;
  text-align: center;
  background: linear-gradient(180deg, #f0fbfa 0%, var(--bg-color) 100%);
}
.hero h1 {
  font-size: 32px;
  margin-bottom: 16px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.hero p {
  font-size: 16px;
  color: var(--text-sub);
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 40px;
}
.hero-visual {
  display: flex;
  justify-content: center;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
}
.hero-visual img {
  height: 400px;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
  flex-shrink: 0;
}

/* Characters */
.character-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.char-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
}
.char-img-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  background-color: #eee;
}
.char-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.char-info {
  padding: 16px;
}
.char-info h3 {
  font-size: 18px;
  margin-bottom: 4px;
}
.char-info .tags {
  font-size: 12px;
  color: var(--text-light);
  margin-bottom: 8px;
}
.chat-bubble {
  background: #f0fbfa;
  border-radius: 12px;
  padding: 12px;
  font-size: 14px;
  color: var(--text-main);
  margin-top: 8px;
  position: relative;
}
.chat-bubble::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 16px;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #f0fbfa;
}

/* App Pages */
.app-pages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.app-page-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: column;
}
.app-page-card img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 9/16;
  object-fit: cover;
  background-color: #eee;
  margin-bottom: 12px;
}
.app-page-card p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.4;
}

/* Memory */
.memory-showcase {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 600px;
  margin: 0 auto;
}
.memory-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.memory-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e4e7eb;
  flex-shrink: 0;
  overflow: hidden;
}
.memory-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.memory-content {
  background: #fff;
  padding: 12px 16px;
  border-radius: 0 12px 12px 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  font-size: 15px;
}
.memory-item.right {
  flex-direction: row-reverse;
}
.memory-item.right .memory-content {
  background: var(--primary);
  color: #fff;
  border-radius: 12px 0 12px 12px;
}
.memory-saved {
  background: #fff8e1;
  border: 1px solid #ffe082;
  padding: 16px;
  border-radius: 12px;
  margin-top: 16px;
  font-size: 14px;
}
.memory-saved strong {
  display: block;
  margin-bottom: 4px;
  color: #d84315;
}

/* Features */
.feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.feature-item {
  display: flex;
  gap: 16px;
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.feature-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 12px;
  background-color: #eee;
  flex-shrink: 0;
}
.feature-text h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.feature-text p {
  font-size: 14px;
  color: var(--text-sub);
}

/* Reviews */
.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.review-card {
  background: #fff;
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.review-text {
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 12px;
  font-style: italic;
}
.review-author {
  font-size: 12px;
  color: var(--text-light);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  overflow: hidden;
}
.faq-item summary {
  padding: 16px 20px;
  font-size: 16px;
  font-weight: 500;
  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: '+';
  font-size: 20px;
  color: var(--text-light);
  transition: transform 0.2s;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
}
.faq-content {
  padding: 0 20px 16px;
  font-size: 14px;
  color: var(--text-sub);
}

/* Download */
.download-section {
  text-align: center;
  background: #fff;
  padding: 60px 20px;
  border-radius: 24px;
  margin: 40px auto;
  max-width: 800px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}
.download-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
  flex-wrap: wrap;
}
.download-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 30px;
  border-radius: 12px;
  background: var(--text-main);
  color: #fff;
  min-width: 160px;
}
.download-btn span:first-child {
  font-size: 16px;
  font-weight: 600;
}
.download-btn span:last-child {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}

/* Footer */
.footer {
  background: #fff;
  padding: 40px 0 20px;
  border-top: 1px solid var(--border-color);
  font-size: 13px;
  color: var(--text-light);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 30px;
}
.footer-brand h3 {
  font-size: 18px;
  color: var(--text-main);
  margin-bottom: 8px;
}
.footer-links h4 {
  font-size: 14px;
  color: var(--text-main);
  margin-bottom: 12px;
}
.footer-links ul {
  list-style: none;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a {
  color: var(--text-light);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--primary-dark);
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 12px;
}
.footer-bottom p {
  margin-bottom: 8px;
}
.footer-bottom a {
  color: var(--text-light);
}
.about-details {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-light);
}
.about-details summary {
  cursor: pointer;
  outline: none;
  display: inline-block;
}
.about-content {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: center;
}
.about-content a {
  color: var(--text-light);
  text-decoration: underline;
}

@media (min-width: 768px) {
  .hero h1 { font-size: 40px; }
  .hero-visual img { height: 500px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .character-grid { grid-template-columns: repeat(2, 1fr); }
  .app-pages-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-list { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .character-grid { grid-template-columns: repeat(3, 1fr); }
  .app-pages-grid { grid-template-columns: repeat(5, 1fr); }
  .feature-list { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
}