:root {
  --primary: #7b2cbf;
  --secondary: #ff4d6d;
  --accent: #00b4d8;
  --bg-base: #fcf9ff;
  --text-main: #2b2b2b;
  --text-muted: #666;
  --radius-lg: 20px;
  --radius-md: 12px;
  --shadow-soft: 0 8px 30px rgba(123, 44, 191, 0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--bg-base);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 80px;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(123, 44, 191, 0.1);
  padding: 12px 20px;
}
.header-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: bold; font-size: 20px; color: var(--primary); }
.brand img { height: 32px; width: auto; border-radius: 6px; }
.nav-links { display: flex; gap: 20px; }
.nav-links a { font-size: 15px; color: var(--text-muted); transition: color 0.3s; }
.nav-links a:hover { color: var(--secondary); }

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f3e8ff 0%, #ffe5ec 100%);
  padding: 60px 20px 40px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 40px;
}
.hero-content { text-align: center; max-width: 800px; margin: 0 auto; }
.hero-content h1 { font-size: 36px; line-height: 1.3; margin-bottom: 20px; color: #1a1a1a; }
.hero-content h1 span { color: var(--primary); }
.hero-content p { font-size: 18px; color: var(--text-muted); margin-bottom: 30px; }
.download-group {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 15px;
}
.btn-download {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; color: var(--primary);
  padding: 12px 24px; border-radius: 30px;
  font-weight: bold; font-size: 16px;
  box-shadow: 0 4px 15px rgba(123,44,191,0.15);
  border: 2px solid var(--primary);
  transition: all 0.3s ease;
}
.btn-download:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.hero-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px;
}
.hero-gallery img {
  border-radius: var(--radius-md); box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}
.hero-gallery img:hover { transform: scale(1.02); }
.marquee-wrap {
  background: #111; padding: 12px 0; overflow: hidden; white-space: nowrap;
  margin-top: 40px; transform: rotate(-1deg) scale(1.02);
}
.marquee-text {
  display: inline-block;
  animation: marquee 20s linear infinite;
  font-weight: 900; font-size: 24px; letter-spacing: 2px;
  background: linear-gradient(90deg, #ff4d6d, #7b2cbf, #00b4d8, #ff4d6d);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* Section Common */
section { padding: 60px 20px; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 28px; color: var(--text-main); margin-bottom: 10px; }
.section-title p { color: var(--text-muted); font-size: 16px; }

/* Features */
.section-features { background-color: #fff; }
.feature-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
  max-width: 1000px; margin: 0 auto;
}
.feature-card {
  background: #f8f9fa; padding: 24px; border-radius: var(--radius-lg);
  border-left: 4px solid var(--primary);
}
.feature-card h3 { font-size: 18px; margin-bottom: 10px; color: var(--primary); }
.feature-card p { color: var(--text-muted); font-size: 15px; }

/* Tutorials */
.section-tutorials { background-color: #f0f4f8; }
.tutorial-layout {
  display: flex; gap: 40px; max-width: 1000px; margin: 0 auto; align-items: flex-start;
}
.tutorial-text { flex: 1; }
.tutorial-list li {
  margin-bottom: 15px; padding-left: 30px; position: relative; font-size: 16px; color: var(--text-main);
}
.tutorial-list li::before {
  content: '→'; position: absolute; left: 0; color: var(--secondary); font-weight: bold;
}
.tutorial-img { flex: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }

/* Characters */
.section-characters { background-color: #fffbeb; }
.char-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px;
  max-width: 1100px; margin: 0 auto;
}
.char-card {
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05); transition: transform 0.3s;
}
.char-card:hover { transform: translateY(-5px); }
.char-card img { width: 100%; height: 200px; object-fit: cover; }
.char-info { padding: 20px; }
.char-info h3 { font-size: 18px; margin-bottom: 8px; }
.char-info p { font-size: 14px; color: var(--text-muted); }
.tag {
  display: inline-block; background: rgba(255,77,109,0.1); color: var(--secondary);
  padding: 4px 10px; border-radius: 20px; font-size: 12px; margin-top: 10px;
}

/* Custom */
.section-custom { background-color: #e0f2fe; }
.custom-layout {
  display: flex; gap: 40px; max-width: 1000px; margin: 0 auto; align-items: center;
}
.custom-img { flex: 1; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.custom-text { flex: 1; }
.custom-text h3 { font-size: 22px; margin-bottom: 15px; color: #0369a1; }
.custom-text p { margin-bottom: 20px; color: #334155; }
.custom-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.custom-list li {
  background: #fff; padding: 12px; border-radius: 8px; font-size: 14px; text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

/* Chat */
.section-chat { background-color: #fdf2f8; }
.chat-layout {
  display: flex; gap: 40px; max-width: 1000px; margin: 0 auto; align-items: center;
}
.chat-text { flex: 1; }
.chat-text h3 { font-size: 22px; margin-bottom: 15px; color: #be185d; }
.chat-bubbles { display: flex; flex-direction: column; gap: 12px; }
.bubble {
  padding: 12px 18px; border-radius: 18px; font-size: 15px; max-width: 85%;
}
.bubble.left { background: #fff; align-self: flex-start; border-bottom-left-radius: 4px; }
.bubble.right { background: #fbcfe8; align-self: flex-end; border-bottom-right-radius: 4px; }

/* Privacy */
.section-privacy { background-color: #f3f4f6; }
.privacy-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
  max-width: 1000px; margin: 0 auto;
}
.privacy-card {
  background: #fff; padding: 24px; border-radius: var(--radius-lg); text-align: center;
}
.privacy-card .icon {
  width: 50px; height: 50px; background: #e5e7eb; border-radius: 50%;
  margin: 0 auto 15px; display: flex; align-items: center; justify-content: center;
  font-weight: bold; color: var(--primary);
}
.privacy-card h3 { font-size: 18px; margin-bottom: 10px; }
.privacy-card p { font-size: 14px; color: var(--text-muted); }

/* Reviews */
.section-reviews { background-color: #fff; }
.review-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 1000px; margin: 0 auto;
}
.review-card {
  background: #f9fafb; padding: 20px; border-radius: var(--radius-lg);
  display: flex; gap: 15px; align-items: flex-start;
}
.review-avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.review-content p { font-size: 15px; font-style: italic; color: #4b5563; margin-bottom: 8px; }
.review-content .name { font-size: 13px; color: #9ca3af; }

/* FAQ */
.section-faq { background-color: #f0fdf4; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: #fff; border-radius: var(--radius-md); margin-bottom: 15px; overflow: hidden; }
.faq-question {
  padding: 18px 20px; font-weight: bold; font-size: 16px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
}
.faq-answer { padding: 0 20px 18px; color: var(--text-muted); font-size: 15px; display: block; }

/* Download Section */
.section-download { background: linear-gradient(135deg, #7b2cbf, #ff4d6d); color: #fff; padding: 60px 20px; }
.download-inner {
  max-width: 900px; margin: 0 auto; display: flex; gap: 40px; align-items: center;
  background: rgba(255,255,255,0.1); padding: 40px; border-radius: var(--radius-lg);
  backdrop-filter: blur(10px);
}
.download-info { flex: 1; }
.download-info h2 { font-size: 28px; margin-bottom: 15px; }
.download-info p { font-size: 16px; margin-bottom: 20px; opacity: 0.9; }
.download-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-white {
  background: #fff; color: var(--primary); padding: 12px 20px; border-radius: 30px;
  font-weight: bold; transition: all 0.3s;
}
.btn-white:hover { background: #f3f4f6; }
.download-img { flex: 1; text-align: right; }
.download-img img { border-radius: var(--radius-lg); max-width: 100%; }

/* Floating Download */
.floating-download {
  position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%);
  background: #fff; border-radius: 50px; padding: 10px 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15); display: flex; align-items: center; gap: 15px;
  z-index: 1000; border: 2px solid var(--primary);
}
.floating-download img { width: 36px; height: 36px; border-radius: 8px; }
.floating-download .text { font-size: 14px; font-weight: bold; color: var(--text-main); }
.floating-download .text span { font-size: 12px; color: var(--text-muted); font-weight: normal; display: block; }
.btn-float { background: var(--primary); color: #fff; padding: 8px 16px; border-radius: 20px; font-size: 14px; font-weight: bold; }

/* Footer */
.site-footer {
  background: #1a1a1a; color: #9ca3af; padding: 40px 20px 20px; font-size: 14px;
}
.footer-inner { max-width: 1000px; margin: 0 auto; }
.footer-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 30px; }
.footer-brand h3 { color: #fff; margin-bottom: 10px; }
.footer-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-nav a { color: #9ca3af; transition: color 0.3s; }
.footer-nav a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #333; padding-top: 20px; text-align: center; font-size: 12px; }
.footer-bottom p { margin-bottom: 5px; }

/* Mobile Menu Overlay */
.mobile-nav {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.8); z-index: 200; flex-direction: column;
  padding: 20px; justify-content: center;
}
.mobile-nav.active { display: flex; }
.mobile-nav a { color: #fff; font-size: 20px; margin-bottom: 20px; text-align: center; }
.mobile-close { position: absolute; top: 20px; right: 20px; color: #fff; font-size: 30px; cursor: pointer; }
.menu-toggle { display: none; font-size: 24px; cursor: pointer; color: var(--primary); }

/* Responsive */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .hero-content h1 { font-size: 26px; }
  .hero-gallery { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .tutorial-layout, .custom-layout, .chat-layout, .download-inner { flex-direction: column; }
  .privacy-grid, .review-grid { grid-template-columns: 1fr; }
  .custom-list { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; }
  .floating-download { width: 90%; justify-content: space-between; padding: 10px 15px; }
  .floating-download .text { font-size: 13px; }
}