@charset "UTF-8";

:root {
  --bg-deep: #0a0618;
  --bg-purple: #1a0a2e;
  --purple-dark: #2d1b69;
  --purple-mid: #5b3ea8;
  --purple-light: #9b6dff;
  --purple-pale: #c4b5fd;
  --red-accent: #e63946;
  --red-light: #ff4757;
  --gold: #fbbf24;
  --cyan: #67e8f9;
  --text-primary: #f0e6ff;
  --text-secondary: #b8a9d4;
  --text-muted: #7c6b9a;
  --card-bg: rgba(45, 27, 105, 0.35);
  --card-border: rgba(155, 109, 255, 0.2);
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.stars-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  background: linear-gradient(180deg, #0a0618 0%, #140a2e 30%, #1a0a2e 50%, #200e3a 70%, #0a0618 100%);
}

.stars-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.stars-layer::before {
  content: '';
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    50px 120px #fff, 180px 340px #fff, 320px 80px #fff, 450px 500px #fff, 600px 200px #fff,
    750px 420px #fff, 80px 600px #fff, 280px 750px #fff, 520px 650px #fff, 680px 100px #fff,
    880px 550px #fff, 1000px 300px #fff, 1100px 700px #fff, 150px 900px #fff, 400px 850px #fff,
    620px 950px #fff, 850px 150px #fff, 950px 800px #fff, 1050px 450px #fff, 1150px 150px #fff,
    200px 150px #fff, 380px 250px #fff, 550px 350px #fff, 700px 500px #fff, 900px 100px #fff,
    30px 400px #fff, 130px 500px #fff, 350px 450px #fff, 480px 150px #fff, 650px 600px #fff,
    780px 700px #fff, 930px 350px #fff, 1080px 600px #fff, 60px 750px #fff, 250px 650px #fff;
  animation: twinkle 3s ease-in-out infinite alternate;
}

.stars-layer::after {
  content: '';
  position: absolute;
  width: 1px;
  height: 1px;
  border-radius: 50%;
  background: #c4b5fd;
  box-shadow:
    100px 50px #c4b5fd, 220px 180px #c4b5fd, 370px 300px #c4b5fd, 500px 80px #c4b5fd, 640px 380px #c4b5fd,
    800px 250px #c4b5fd, 950px 480px #c4b5fd, 1100px 100px #c4b5fd, 40px 320px #c4b5fd, 190px 420px #c4b5fd,
    430px 550px #c4b5fd, 560px 200px #c4b5fd, 720px 600px #c4b5fd, 870px 350px #c4b5fd, 1020px 500px #c4b5fd,
    80px 700px #c4b5fd, 310px 800px #c4b5fd, 460px 720px #c4b5fd, 600px 850px #c4b5fd, 890px 650px #c4b5fd,
    160px 250px #c4b5fd, 290px 100px #c4b5fd, 520px 450px #c4b5fd, 670px 280px #c4b5fd, 830px 520px #c4b5fd,
    980px 200px #c4b5fd, 1150px 350px #c4b5fd, 20px 550px #c4b5fd, 210px 700px #c4b5fd, 570px 750px #c4b5fd,
    760px 100px #c4b5fd, 920px 700px #c4b5fd, 1060px 250px #c4b5fd, 140px 820px #c4b5fd, 420px 920px #c4b5fd;
  animation: twinkle 4s ease-in-out infinite alternate-reverse;
}

.stars-layer-deep {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.aiarticle-comment-rating-icon{
    display:inline-block !important;
    width:auto !important;
    height:auto !important;
    margin-right:2px;
    color:#ffb400 !important;
    font-style:normal !important;
    font-weight:normal !important;
    line-height:1 !important;
    vertical-align:middle;
    text-decoration:none !important;
}

.aiarticle-comment-rating-icon:before{
    font-family:Arial,"Segoe UI Symbol","Noto Sans Symbols","Microsoft YaHei",sans-serif !important;
    font-style:normal !important;
    font-weight:normal !important;
    line-height:1 !important;
}

.aiarticle-comment-rating-icon.fa-star:before{
    content:"\2605" !important;
}

.aiarticle-comment-rating-icon.fa-star-o:before{
    content:"\2606" !important;
}

.aiarticle-comment-rating-icon:last-child{
    margin-right:0;
}

.stars-layer-deep::before {
  content: '';
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fbbf24;
  filter: blur(0.5px);
  box-shadow:
    80px 200px #fbbf24, 350px 450px #fbbf24, 600px 120px #fbbf24, 850px 380px #fbbf24, 1050px 550px #fbbf24,
    180px 650px #fbbf24, 500px 750px #fbbf24, 720px 300px #fbbf24, 980px 650px #fbbf24, 130px 100px #fbbf24,
    400px 300px #fbbf24, 680px 500px #fbbf24, 900px 200px #fbbf24, 1140px 450px #fbbf24, 250px 850px #fbbf24;
  animation: twinkle 5s ease-in-out infinite alternate;
}

@keyframes twinkle {
  0% { opacity: 0.4; }
  50% { opacity: 0.8; }
  100% { opacity: 1; }
}

@keyframes floatStar {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.1); }
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(155, 109, 255, 0.3); }
  50% { box-shadow: 0 0 40px rgba(155, 109, 255, 0.6); }
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(10, 6, 24, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(155, 109, 255, 0.15);
  transition: background 0.3s;
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  background: linear-gradient(135deg, #c4b5fd, #e63946);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}

.nav-menu ul {
  display: flex;
  gap: 32px;
}

.nav-menu ul li a {
  font-size: 15px;
  color: var(--text-secondary);
  padding: 8px 0;
  position: relative;
  transition: color 0.3s;
}

.nav-menu ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-light), var(--red-accent));
  transition: width 0.3s;
}

.nav-menu ul li a:hover {
  color: var(--text-primary);
}

.nav-menu ul li a:hover::after {
  width: 100%;
}

.mobile-download {
  display: none;
  padding: 8px 20px;
  background: linear-gradient(135deg, #e63946, #c0392b);
  color: #fff;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  z-index: 1001;
  white-space: nowrap;
}

.hamburger {
  display: none;
  width: 32px;
  height: 32px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger i {
  display: block;
  width: 24px;
  height: 24px;
}

.hamburger i::before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background: url('../icons/menu.svg') center/contain no-repeat;
}

.hamburger.active i::before {
  background: url('../icons/close.svg') center/contain no-repeat;
}

.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 20px 80px;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero-content {
  flex: 1;
  max-width: 520px;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(230, 57, 70, 0.15);
  border: 1px solid rgba(230, 57, 70, 0.3);
  color: var(--red-light);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 1px;
}

.hero-badge i {
  display: inline-block;
  width: 16px;
  height: 16px;
}

.hero-badge i::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: url('../icons/sparkles.svg') center/contain no-repeat;
}

.hero-title {
  font-size: clamp(32px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #c4b5fd 40%, #e63946 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite;
}

.hero-subtitle {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.hero-desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.hero-update {
  font-size: 13px;
  color: var(--text-muted);
}

.hero-phone {
  flex-shrink: 0;
}

.phone-frame {
  width: 280px;
  height: 540px;
  background: #1a1a2e;
  border-radius: 32px;
  border: 3px solid rgba(155, 109, 255, 0.3);
  padding: 12px;
  position: relative;
  box-shadow: 0 0 60px rgba(155, 109, 255, 0.15), 0 20px 60px rgba(0, 0, 0, 0.5);
}

.phone-notch {
  width: 80px;
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  margin: 0 auto 10px;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #0d0d1a;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(45, 27, 105, 0.5);
  border-bottom: 1px solid rgba(155, 109, 255, 0.15);
  position: relative;
}

.chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9b6dff, #e63946);
  flex-shrink: 0;
}

.chat-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.chat-status {
  font-size: 10px;
  color: #34d399;
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.chat-status::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #34d399;
  margin-right: 4px;
}

.chat-body {
  flex: 1;
  padding: 14px 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-msg {
  display: flex;
  max-width: 85%;
}

.msg-left {
  align-self: flex-start;
  gap: 8px;
}

.msg-right {
  align-self: flex-end;
}

.msg-left .msg-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9b6dff, #e63946);
  flex-shrink: 0;
}

.msg-bubble {
  font-size: 11px;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 14px;
  word-break: break-word;
}

.msg-left .msg-bubble {
  background: rgba(45, 27, 105, 0.5);
  color: #e0d4ff;
  border-top-left-radius: 4px;
}

.msg-right .msg-bubble {
  background: linear-gradient(135deg, #5b3ea8, #9b6dff);
  color: #fff;
  border-top-right-radius: 4px;
}

.msg-icon {
  display: inline-block;
  width: 12px;
  height: 12px;
}

.msg-icon::before {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
}

.msg-icon.sparkle-sm::before { background: url('../icons/sparkle.svg') center/contain no-repeat; }
.msg-icon.moon-sm::before { background: url('../icons/moon.svg') center/contain no-repeat; }
.msg-icon.voice-sm::before { background: url('../icons/voice.svg') center/contain no-repeat; }

.chat-input-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: rgba(45, 27, 105, 0.3);
  border-top: 1px solid rgba(155, 109, 255, 0.15);
}

.chat-input-placeholder {
  font-size: 11px;
  color: #5a4a7a;
}

.chat-send-btn {
  font-size: 11px;
  color: #9b6dff;
  font-weight: 600;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: linear-gradient(135deg, #e63946, #c0392b);
  color: #fff;
  border-radius: 50px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: transform 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(230, 57, 70, 0.4);
}

.download-card .btn-primary:hover {
  transform: none;
  box-shadow: none;
}

.btn-primary i {
  display: inline-block;
  width: 20px;
  height: 20px;
}

.btn-primary i::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: url('../icons/download.svg') center/contain no-repeat;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: transparent;
  border: 2px solid var(--purple-mid);
  color: var(--purple-pale);
  border-radius: 50px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 1px;
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  cursor: pointer;
}

.btn-outline:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(91, 62, 168, 0.4);
  background: rgba(91, 62, 168, 0.2);
}

.section {
  position: relative;
  z-index: 1;
  padding: 80px 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--purple-light);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-label i {
  display: inline-block;
  width: 14px;
  height: 14px;
}

.section-label i::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  background: url('../icons/star.svg') center/contain no-repeat;
}

.section-title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
}

.section-desc {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: var(--purple-mid);
  box-shadow: 0 16px 48px rgba(91, 62, 168, 0.2);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon i {
  display: block;
  width: 32px;
  height: 32px;
}

.feature-icon i::before {
  content: '';
  display: block;
  width: 32px;
  height: 32px;
}

.feature-icon.books i::before { background: url('../icons/book.svg') center/contain no-repeat; }
.feature-icon.sparkles i::before { background: url('../icons/sparkles.svg') center/contain no-repeat; }
.feature-icon.chat i::before { background: url('../icons/chat.svg') center/contain no-repeat; }
.feature-icon.paint i::before { background: url('../icons/paint.svg') center/contain no-repeat; }

.feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.feature-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.scenarios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.scenario-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.scenario-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  opacity: 0;
  background: radial-gradient(circle at center, rgba(155, 109, 255, 0.1), transparent 70%);
  transition: opacity 0.3s;
}

.scenario-card:hover::before {
  opacity: 1;
}

.scenario-card:hover {
  transform: translateY(-6px);
  border-color: var(--purple-mid);
}

.scenario-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scenario-icon i {
  display: block;
  width: 28px;
  height: 28px;
}

.scenario-icon i::before {
  content: '';
  display: block;
  width: 28px;
  height: 28px;
}

.scenario-icon.heart i::before { background: url('../icons/heart.svg') center/contain no-repeat; }
.scenario-icon.book i::before { background: url('../icons/book.svg') center/contain no-repeat; }
.scenario-icon.shield i::before { background: url('../icons/shield.svg') center/contain no-repeat; }
.scenario-icon.users i::before { background: url('../icons/users.svg') center/contain no-repeat; }

.scenario-card h4 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.scenario-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.screenshots-section {
  position: relative;
  z-index: 1;
  padding: 80px 20px;
}

.screenshots-scroll {
  max-width: var(--max-width);
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.screenshots-scroll::-webkit-scrollbar {
  height: 6px;
}

.screenshots-scroll::-webkit-scrollbar-track {
  background: rgba(45, 27, 105, 0.3);
  border-radius: 3px;
}

.screenshots-scroll::-webkit-scrollbar-thumb {
  background: rgba(155, 109, 255, 0.5);
  border-radius: 3px;
}

.screenshots-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(155, 109, 255, 0.7);
}

.screenshots-track {
  display: flex;
  gap: 20px;
  padding: 12px 0;
}

.screenshot-item {
  flex-shrink: 0;
  width: 240px;
  border-radius: 16px;
  border: 2px solid var(--card-border);
}

.screenshot-item img {
  width: 100%;
  height: auto;
  display: block;
}

.community-preview {
  max-width: var(--max-width);
  margin: 0 auto;
}

.role-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.role-tag {
  padding: 8px 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 50px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s;
}

.role-tag:hover,
.role-tag.active {
  background: rgba(155, 109, 255, 0.2);
  border-color: var(--purple-light);
  color: #fff;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.role-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: transform 0.3s, border-color 0.3s;
  backdrop-filter: blur(10px);
}

.role-card:hover {
  transform: translateY(-6px);
  border-color: var(--purple-mid);
}

.role-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

.role-icon {
  display: block;
  width: 36px;
  height: 36px;
}

.role-icon::before {
  content: '';
  display: block;
  width: 36px;
  height: 36px;
}

.role-icon.moon::before { background: url('../icons/moon.svg') center/contain no-repeat; }
.role-icon.sword::before { background: url('../icons/sword.svg') center/contain no-repeat; }
.role-icon.mask::before { background: url('../icons/mask.svg') center/contain no-repeat; }
.role-icon.flower::before { background: url('../icons/flower.svg') center/contain no-repeat; }

.role-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.role-card .role-type {
  font-size: 12px;
  color: var(--purple-light);
  margin-bottom: 10px;
}

.role-card .role-desc {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.role-card .role-stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 12px;
  color: var(--text-secondary);
}

.role-stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.role-stats i {
  display: inline-block;
  width: 14px;
  height: 14px;
}

.role-stats i.heart-sm::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  background: url('../icons/heart.svg') center/contain no-repeat;
}

.role-stats i.chat-sm::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  background: url('../icons/chat.svg') center/contain no-repeat;
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item.open {
  border-color: var(--purple-mid);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
}

.faq-question span {
  flex: 1;
}

.faq-question i {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s;
}

.faq-question i::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: url('../icons/chevron-down.svg') center/contain no-repeat;
}

.faq-item.open .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.3s, border-color 0.3s;
  backdrop-filter: blur(10px);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: var(--purple-mid);
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.testimonial-avatar {
  display: block;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-light));
  flex-shrink: 0;
}

.testimonial-avatar::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  margin: 10px auto;
  background: url('../icons/user.svg') center/contain no-repeat;
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.testimonial-date {
  font-size: 12px;
  color: var(--text-muted);
}

.testimonial-rating {
  display: flex;
  gap: 2px;
}

.star-icon {
  display: inline-block;
  width: 14px;
  height: 14px;
}

.star-icon::before {
  content: '';
  display: block;
  width: 14px;
  height: 14px;
  background: url('../icons/star.svg') center/contain no-repeat;
}

.testimonial-content {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  min-height: 80px;
}

.testimonial-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.testimonial-tags span {
  padding: 4px 12px;
  background: rgba(155, 109, 255, 0.15);
  border-radius: 50px;
  font-size: 12px;
  color: var(--purple-pale);
}

.download-section {
  text-align: center;
}

.download-card {
  max-width: 520px;
  margin: 0 auto;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 48px 32px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.download-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(155, 109, 255, 0.08), transparent 60%);
  animation: pulseGlow 3s ease-in-out infinite;
  pointer-events: none;
}

.download-card h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #fff;
  position: relative;
}

.download-card p {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  position: relative;
}

.download-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 16px;
  position: relative;
}

.download-tip i {
  display: inline-block;
  width: 16px;
  height: 16px;
}

.download-tip i::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background: url('../icons/shield.svg') center/contain no-repeat;
}

.footer {
  position: relative;
  z-index: 1;
  background: rgba(10, 6, 24, 0.9);
  border-top: 1px solid var(--card-border);
  padding: 48px 20px 32px;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.footer-brand span {
  font-size: 18px;
  font-weight: 700;
  background: linear-gradient(135deg, #c4b5fd, #e63946);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--purple-light);
}

.footer-copyright {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.8;
}

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-mid), var(--purple-light));
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 20px rgba(91, 62, 168, 0.3);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  box-shadow: 0 6px 30px rgba(91, 62, 168, 0.5);
  transform: translateY(-3px);
}

.back-to-top i {
  display: block;
  width: 20px;
  height: 20px;
}

.back-to-top i::before {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background: url('../images/top.svg') center/contain no-repeat;
}

@media (max-width: 1024px) {
  .hero-inner {
    gap: 30px;
  }

  .hero-content {
    max-width: 420px;
  }

  .phone-frame {
    width: 240px;
    height: 480px;
  }

  .chat-body {
    gap: 6px;
  }

  .msg-bubble {
    font-size: 10px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .scenarios-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .community-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .mobile-download {
    display: block;
  }

  .hero-phone {
    display: none;
  }

  .hero-inner {
    justify-content: center;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-desc {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: rgba(20, 10, 46, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    padding: 100px 32px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 1px solid var(--card-border);
  }

  .nav-menu.open {
    right: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 0;
  }

  .nav-menu ul li {
    border-bottom: 1px solid var(--card-border);
  }

  .nav-menu ul li a {
    display: block;
    padding: 16px 0;
    font-size: 16px;
  }

  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
  }

  .nav-overlay.open {
    opacity: 1;
    visibility: visible;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .scenarios-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .community-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-item {
    width: 200px;
  }

  .screenshot-item img {
    width: 100%;
    height: auto;
  }

  .hero-title {
    font-size: 30px;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .scenarios-grid {
    grid-template-columns: 1fr;
  }

  .community-grid {
    grid-template-columns: 1fr;
  }

  .screenshot-item {
    width: 200px;
  }

  .screenshot-item img {
    width: 100%;
    height: auto;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
    max-width: 280px;
  }
}
