:root {
  --bg-1: #fbf7f9;
  --bg-2: #f3f0fa;
  --bg-3: #f0f6f9;
  --bg-4: #fdf8f2;
  --text-main: #2d2a32;
  --text-sub: #615a6b;
  --accent-1: #d6558e;
  --accent-2: #7c5cbf;
  --accent-3: #3a9eb5;
  --grad-main: linear-gradient(90deg, #d6558e, #7c5cbf, #3a9eb5, #d6558e);
  --card-bg: #ffffff;
  --shadow: 0 8px 24px rgba(124, 92, 191, 0.08);
  --radius: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-1);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 80px; /* space for floating bar */
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 249, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: bold;
  font-size: 20px;
}
.brand-logo img {
  height: 32px;
  width: auto;
  border-radius: 8px;
}
.nav-menu {
  display: flex;
  gap: 16px;
}
.nav-menu a {
  font-size: 14px;
  color: var(--text-sub);
  transition: color 0.3s;
  position: relative;
  padding: 4px 0;
}
.nav-menu a:hover {
  color: var(--accent-1);
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--grad-main);
  transition: all 0.3s;
  transform: translateX(-50%);
}
.nav-menu a:hover::after {
  width: 100%;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-main);
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: var(--bg-1);
  padding: 40px 20px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.hero-text {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero h1 {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 16px;
  color: var(--text-main);
}
.hero h1 span {
  color: var(--accent-1);
}
.hero p {
  font-size: 16px;
  color: var(--text-sub);
  margin-bottom: 24px;
}
.download-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
  background: var(--card-bg);
  color: var(--text-main);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.05);
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
.btn-primary {
  background: var(--accent-1);
  color: #fff;
  border: none;
}
.btn-gradient {
  background: var(--grad-main);
  color: #fff;
  border: none;
}

/* Hero Images Carousel */
.hero-visuals {
  display: flex;
  justify-content: center;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
  scrollbar-width: none;
}
.hero-visuals::-webkit-scrollbar { display: none; }
.hero-visuals img {
  height: 340px;
  width: 190px;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: var(--shadow);
  flex-shrink: 0;
  transition: transform 0.3s;
}
.hero-visuals img:hover {
  transform: scale(1.02);
}

/* Marquee */
.marquee-wrap {
  background: var(--card-bg);
  padding: 12px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(0,0,0,0.05);
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.marquee-content {
  display: inline-block;
  animation: marquee 20s linear infinite;
  font-weight: bold;
  font-size: 16px;
  background: var(--grad-main);
  -webkit-background-clip: text;
  color: transparent;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* General Section */
.section {
  padding: 60px 20px;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-title {
  font-size: 24px;
  margin-bottom: 12px;
  text-align: center;
}
.section-desc {
  text-align: center;
  color: var(--text-sub);
  margin-bottom: 40px;
  font-size: 15px;
}

/* Core Features */
.bg-features { background-color: var(--bg-2); }
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.feature-card {
  background: var(--card-bg);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid rgba(124, 92, 191, 0.1);
  transition: transform 0.3s;
}
.feature-card:hover {
  transform: translateY(-5px);
}
.feature-card h3 {
  font-size: 18px;
  margin-bottom: 8px;
  color: var(--accent-2);
}
.feature-card p {
  font-size: 14px;
  color: var(--text-sub);
}

/* Tutorial */
.bg-tutorial { background-color: var(--bg-3); }
.tutorial-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tutorial-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--card-bg);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.tutorial-num {
  background: var(--accent-3);
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}
.tutorial-text h3 {
  font-size: 16px;
  margin-bottom: 4px;
}
.tutorial-text p {
  font-size: 14px;
  color: var(--text-sub);
}

/* Character Square */
.bg-characters { background-color: var(--bg-4); }
.char-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
.char-img {
  width: 100%;
  max-width: 300px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
}
.char-text h3 {
  font-size: 20px;
  margin-bottom: 16px;
  color: var(--accent-1);
}
.char-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.char-list li {
  background: var(--card-bg);
  padding: 16px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  font-size: 14px;
}
.char-list li strong {
  display: block;
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 4px;
}

/* AI Chat */
.bg-chat { background-color: var(--bg-1); }
.chat-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.chat-card {
  background: var(--card-bg);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent-1);
}
.chat-card h3 {
  font-size: 17px;
  margin-bottom: 8px;
}
.chat-card p {
  font-size: 14px;
  color: var(--text-sub);
}

/* Customization */
.bg-custom { background-color: var(--bg-2); }
.custom-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.custom-item {
  background: var(--card-bg);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.custom-item h3 {
  color: var(--accent-2);
  font-size: 16px;
  margin-bottom: 8px;
}
.custom-item p {
  font-size: 14px;
  color: var(--text-sub);
}

/* Reviews */
.bg-reviews { background-color: var(--bg-3); }
.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.review-card {
  background: var(--card-bg);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.review-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-1);
}
.review-content {
  flex: 1;
}
.review-content p {
  font-size: 14px;
  margin-bottom: 8px;
}
.review-author {
  font-size: 13px;
  color: var(--text-sub);
}

/* Privacy */
.bg-privacy { background-color: var(--bg-4); }
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.privacy-item {
  background: var(--card-bg);
  padding: 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.privacy-item h3 {
  color: var(--accent-3);
  font-size: 16px;
  margin-bottom: 8px;
}

/* FAQ */
.bg-faq { background-color: var(--bg-1); }
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto;
}
.faq-item {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.faq-q {
  padding: 16px;
  font-weight: 600;
  font-size: 15px;
  background: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f0f0f0;
}
.faq-q::after {
  content: '+';
  font-size: 20px;
  color: var(--accent-1);
}

/* Feedback */
.bg-feedback { background-color: var(--bg-2); }
.feedback-box {
  background: var(--card-bg);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.feedback-box h3 {
  font-size: 20px;
  margin-bottom: 16px;
}
.feedback-box p {
  font-size: 15px;
  color: var(--text-sub);
  margin-bottom: 24px;
}
.feedback-btn {
  display: inline-block;
  background: var(--accent-1);
  color: #fff;
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: bold;
  transition: background 0.3s;
}
.feedback-btn:hover {
  background: #c0457d;
}

/* Download Section */
.bg-download { background-color: var(--bg-3); }
.download-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}
.download-img {
  width: 100%;
  max-width: 400px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.download-info {
  flex: 1;
  text-align: center;
}
.download-info h2 {
  font-size: 24px;
  margin-bottom: 16px;
}
.download-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

/* Footer */
.site-footer {
  background: #f8f9fa;
  padding: 32px 20px;
  text-align: center;
  font-size: 13px;
  color: #888;
  border-top: 1px solid #eaeaea;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 12px;
}
.footer-links a {
  color: #888;
}
.footer-links a:hover {
  color: var(--accent-1);
}
.footer-copy {
  margin-bottom: 8px;
}
.footer-time {
  margin-bottom: 8px;
}
.footer-beian {
  color: #888;
}
.footer-beian a {
  color: #888;
}

/* Floating Bar */
.floating-bar {
  position: fixed;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 999;
  width: 90%;
  max-width: 500px;
}
.floating-bar img {
  height: 36px;
  width: 36px;
  border-radius: 8px;
}
.floating-bar .float-text {
  flex: 1;
  font-size: 13px;
  line-height: 1.3;
}
.floating-bar .float-text strong {
  display: block;
  font-size: 14px;
}
.floating-bar .float-btn {
  background: var(--accent-1);
  color: #fff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: bold;
  white-space: nowrap;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.modal-content {
  background: #fff;
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  max-width: 90%;
  width: 320px;
}
.modal-content p {
  margin-bottom: 16px;
  font-size: 15px;
}
.modal-content input {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 16px;
  text-align: center;
  font-size: 14px;
}
.modal-content button {
  background: var(--accent-1);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 20px;
  font-size: 15px;
  cursor: pointer;
}

/* Media Queries */
@media (min-width: 768px) {
  .hero h1 { font-size: 36px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .chat-layout { grid-template-columns: repeat(2, 1fr); }
  .custom-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .privacy-grid { grid-template-columns: repeat(2, 1fr); }
  .char-layout { flex-direction: row; justify-content: space-between; }
  .char-img { width: 40%; }
  .char-text { width: 55%; }
  .download-layout { flex-direction: row; text-align: left; }
  .download-info { text-align: left; }
  .download-buttons { justify-content: flex-start; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 44px; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .chat-layout { grid-template-columns: repeat(3, 1fr); }
  .custom-grid { grid-template-columns: repeat(3, 1fr); }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .privacy-grid { grid-template-columns: repeat(3, 1fr); }
  .nav-menu { display: flex; }
}
@media (max-width: 767px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  }
  .nav-menu.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .hero-visuals img {
    height: 280px;
    width: 160px;
  }
}