:root {
  --coral: #FF6B6B;
  --cream: #FFFDF7;
  --mint: #4ECDC4;
  --yellow: #FFE66D;
  --text-dark: #2D2A26;
  --text-light: #6B6660;
  --card-bg: #FFFFFF;
  --radius: 20px;
  --shadow: 0 8px 30px rgba(255, 107, 107, 0.12);
  --container: min(1240px, 92vw);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--cream);
  background-image: radial-gradient(var(--coral) 1px, transparent 1px);
  background-size: 24px 24px;
  background-attachment: fixed;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; }

.container {
  width: var(--container);
  margin: 0 auto;
}

section { padding: 80px 0; position: relative; }

h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}
h2 span.act-tag {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--coral);
  background: rgba(255, 107, 107, 0.1);
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* 导航 */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  background: rgba(255, 253, 247, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 107, 107, 0.2);
  z-index: 1000;
  height: 70px;
  display: flex;
  align-items: center;
}
.nav-inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.2rem; }
.nav-brand img { height: 34px; }
.nav-links { display: flex; gap: 8px; }
.nav-links a {
  padding: 8px 16px; border-radius: 100px; font-size: 0.95rem; font-weight: 600; color: var(--text-light); transition: all 0.3s;
}
.nav-links a:hover, .nav-links a.active { background: var(--coral); color: #fff; }
.btn-primary {
  background: var(--coral); color: #fff; padding: 10px 24px; border-radius: 100px; font-weight: 700; transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4); }

/* 首屏 Hero */
#hero { padding-top: 130px; padding-bottom: 80px; text-align: center; overflow: hidden; }
.hero-pill {
  display: inline-block; background: var(--yellow); color: #8B6B00; padding: 6px 16px; border-radius: 100px; font-weight: 700; font-size: 0.9rem; margin-bottom: 24px;
}
.hero-logo-wrap { display: inline-block; padding: 20px; background: #fff; border-radius: 30px; box-shadow: 0 10px 40px rgba(255,107,107,0.3); margin-bottom: 24px; animation: float 4s ease-in-out infinite; }
.hero-logo-wrap img { height: 80px; display: block; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
h1 { font-size: 3.5rem; font-weight: 900; line-height: 1.2; margin-bottom: 20px; }
h1 .highlight { color: var(--coral); }
.hero-sub { font-size: 1.2rem; color: var(--text-light); margin-bottom: 12px; }
.hero-desc { max-width: 600px; margin: 0 auto 32px; color: var(--text-light); }
.hero-actions { display: flex; justify-content: center; gap: 16px; margin-bottom: 40px; }
.btn-large { padding: 14px 36px; border-radius: 100px; font-size: 1.1rem; font-weight: 700; transition: all 0.3s; }
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(255,107,107,0.3); }
.btn-coral:hover { background: #ff5252; transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--coral); border: 2px solid var(--coral); }
.btn-outline:hover { background: rgba(255,107,107,0.05); transform: translateY(-2px); }

.hero-stats { display: flex; justify-content: center; gap: 40px; color: var(--text-light); font-weight: 600; }
.hero-stats span { display: flex; align-items: center; gap: 8px; }
.hero-stats i { display: block; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }

/* 首屏两侧悬浮图 */
.hero-floating-cards { position: absolute; top: 150px; width: 100%; pointer-events: none; }
.float-card { position: absolute; width: 120px; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 20px rgba(0,0,0,0.15); border: 2px solid #fff; animation: float 6s ease-in-out infinite; }
.float-card img { width: 100%; height: auto; display: block; }
.float-card:nth-child(1) { left: 2%; top: 0; transform: rotate(-15deg); animation-delay: 0s; }
.float-card:nth-child(2) { left: 10%; top: 80px; transform: rotate(-8deg); animation-delay: 1s; }
.float-card:nth-child(3) { left: 18%; top: -40px; transform: rotate(-20deg); animation-delay: 2s; }
.float-card:nth-child(4) { right: 2%; top: 0; transform: rotate(15deg); animation-delay: 0.5s; }
.float-card:nth-child(5) { right: 10%; top: 80px; transform: rotate(8deg); animation-delay: 1.5s; }
.float-card:nth-child(6) { right: 18%; top: -40px; transform: rotate(20deg); animation-delay: 2.5s; }

/* 底部胶片墙 */
.film-strip {
  margin-top: 60px;
  background: #222;
  padding: 20px 0;
  overflow: hidden;
  position: relative;
}
.film-strip::before, .film-strip::after {
  content: ''; position: absolute; left: 0; width: 100%; height: 8px;
  background-image: radial-gradient(#fff 2px, transparent 3px); background-size: 16px 8px; background-repeat: repeat-x;
}
.film-strip::before { top: 4px; }
.film-strip::after { bottom: 4px; }
.film-track { display: flex; gap: 16px; width: max-content; animation: scrollLeft 30s linear infinite; }
.film-track:hover { animation-play-state: paused; }
.film-item { width: 120px; height: 180px; border-radius: 8px; overflow: hidden; flex-shrink: 0; border: 2px solid #444; transition: border-color 0.2s; }
.film-item:hover { border-color: var(--coral); }
.film-item img { width: 100%; height: 100%; object-fit: cover; }
@keyframes scrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* 模块通用 */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; align-items: stretch; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: stretch; }

.card { background: var(--card-bg); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); border: 1px solid rgba(255, 107, 107, 0.1); display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s; position: relative; overflow: hidden; }
.card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(255, 107, 107, 0.25); border-color: rgba(255, 107, 107, 0.3); }
.card-num { font-size: 5rem; font-weight: 900; color: rgba(255, 107, 107, 0.1); position: absolute; top: -10px; left: 10px; line-height: 1; pointer-events: none; }
.card h3 { font-size: 1.4rem; font-weight: 800; margin-bottom: 12px; position: relative; z-index: 1; margin-top: 20px; }
.card p { color: var(--text-light); flex-grow: 1; }

/* 内容特色 */
.feature-section .section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; }
.feature-section .section-header p { max-width: 400px; color: var(--text-light); text-align: right; }

/* 题材雷达 */
.radar-section .radar-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.radar-chart-wrap { background: #fff; border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); position: relative; display: flex; justify-content: center; align-items: center; min-height: 400px; }
.radar-svg { width: 100%; max-width: 300px; height: auto; }
.radar-polygon { fill: rgba(78, 205, 196, 0.2); stroke: var(--mint); stroke-width: 2; }
.radar-grid { fill: none; stroke: #E0E0E0; stroke-width: 1; }
.radar-axis { stroke: #E0E0E0; stroke-width: 1; }
.radar-dot { fill: var(--coral); transition: r 0.3s, fill 0.3s; }
.radar-dot.active { fill: var(--yellow); r: 6; }
.radar-sweep { transform-origin: center; animation: sweep 4s linear infinite; }
@keyframes sweep { 100% { transform: rotate(360deg); } }
.radar-label { position: absolute; font-weight: 700; font-size: 0.85rem; color: var(--text-dark); background: #fff; padding: 2px 8px; border-radius: 100px; border: 1px solid #eee; }

.radar-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.genre-card { background: #fff; border-radius: 16px; padding: 20px; box-shadow: 0 4px 15px rgba(0,0,0,0.04); border: 1px solid rgba(255, 107, 107, 0.1); cursor: pointer; transition: all 0.3s; }
.genre-card:hover { border-color: var(--coral); box-shadow: 0 8px 20px rgba(255, 107, 107, 0.15); }
.genre-card h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.genre-card p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 16px; }
.progress-bar { height: 6px; background: #eee; border-radius: 10px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 10px; background: linear-gradient(90deg, var(--mint), var(--coral)); transition: width 0.3s; }

/* 热门排行榜 */
.rank-section .top-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 24px; }
.rank-card { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform 0.3s; }
.rank-card:hover { transform: translateY(-5px); }
.rank-poster { width: 100%; aspect-ratio: 2/3; border-radius: 12px; overflow: hidden; margin-bottom: 16px; position: relative; }
.rank-poster img { width: 100%; height: 100%; object-fit: cover; }
.rank-badge { position: absolute; top: 10px; left: 10px; background: var(--coral); color: #fff; font-size: 1.2rem; font-weight: 900; width: 36px; height: 36px; display: flex; justify-content: center; align-items: center; border-radius: 50%; border: 2px solid #fff; }
.rank-card h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 8px; }
.rank-card .tags { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.rank-card .tag { font-size: 0.75rem; background: rgba(78, 205, 196, 0.15); color: #2A8A82; padding: 2px 8px; border-radius: 100px; }
.rank-card p { font-size: 0.9rem; color: var(--text-light); margin-bottom: 16px; flex-grow: 1; }
.rank-progress { margin-top: auto; }

.rank-list-container { background: #fff; border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); margin-bottom: 24px; }
.rank-row { display: grid; grid-template-columns: 40px 60px 1fr 2fr 100px 60px; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid #f0f0f0; }
.rank-row:last-child { border-bottom: none; }
.rank-row-num { font-size: 1.5rem; font-weight: 900; color: #ccc; text-align: center; }
.rank-row-img { width: 60px; height: 80px; border-radius: 8px; overflow: hidden; }
.rank-row-img img { width: 100%; height: 100%; object-fit: cover; }
.rank-row-title { font-weight: 800; font-size: 1rem; }
.rank-row-desc { font-size: 0.85rem; color: var(--text-light); }
.rank-row-score { font-weight: 800; color: var(--coral); text-align: right; }

.rank-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rank-feature-card { background: #fff; border-radius: 16px; padding: 24px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.04); border: 1px solid rgba(255, 107, 107, 0.1); }
.rank-feature-card h4 { font-weight: 800; margin-bottom: 8px; color: var(--coral); }
.rank-feature-card p { font-size: 0.9rem; color: var(--text-light); }

/* 截图预览 */
.screenshot-section .grid-4 { align-items: start; }
.screenshot-card { background: #fff; border-radius: 16px; padding: 16px; box-shadow: var(--shadow); border: 2px solid transparent; transition: all 0.3s; }
.screenshot-card:hover, .screenshot-card.highlight { border-color: var(--mint); transform: translateY(-8px); }
.phone-frame { width: 100%; aspect-ratio: 9/16; background: #f0f0f0; border-radius: 12px; overflow: hidden; margin-bottom: 16px; position: relative; box-shadow: inset 0 0 10px rgba(0,0,0,0.05); }
.phone-frame img { width: 100%; height: 100%; object-fit: cover; }
.screenshot-card h4 { font-size: 1.1rem; font-weight: 800; margin-bottom: 8px; }
.screenshot-card p { font-size: 0.85rem; color: var(--text-light); }

/* AI 互动问答 */
.chat-section .chat-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.chat-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; height: 500px; }
.chat-header { display: flex; align-items: center; gap: 12px; padding: 20px; border-bottom: 1px solid #f0f0f0; }
.chat-avatar { width: 40px; height: 40px; background: var(--mint); border-radius: 50%; display: flex; justify-content: center; align-items: center; color: #fff; font-weight: bold; }
.chat-status { display: flex; align-items: center; gap: 6px; font-size: 0.85rem; color: var(--text-light); }
.status-dot { width: 8px; height: 8px; background: #2ECC71; border-radius: 50%; }
.chat-messages { flex-grow: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 16px; background: #FAFAFA; }
.message { max-width: 80%; padding: 12px 16px; border-radius: 16px; font-size: 0.95rem; }
.message.ai { background: #fff; border: 1px solid #eee; align-self: flex-start; border-bottom-left-radius: 4px; }
.message.user { background: linear-gradient(135deg, var(--coral), #FF8E8E); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-input-area { padding: 16px 20px; border-top: 1px solid #f0f0f0; background: #fff; }
.quick-questions { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.quick-btn { background: #F5F5F5; border: 1px solid #E0E0E0; padding: 6px 12px; border-radius: 100px; font-size: 0.8rem; color: var(--text-light); transition: all 0.2s; }
.quick-btn:hover { background: rgba(255, 107, 107, 0.1); border-color: var(--coral); color: var(--coral); }
.chat-input-wrap { display: flex; gap: 8px; }
.chat-input-wrap input { flex-grow: 1; padding: 10px 16px; border: 1px solid #ddd; border-radius: 100px; outline: none; transition: border-color 0.2s; }
.chat-input-wrap input:focus { border-color: var(--coral); }
.chat-send-btn { background: var(--coral); color: #fff; padding: 0 20px; border-radius: 100px; font-weight: 700; }

.chat-text { display: flex; flex-direction: column; justify-content: center; }
.chat-text h3 { font-size: 2rem; font-weight: 800; margin-bottom: 16px; line-height: 1.3; }
.chat-text > p { color: var(--text-light); margin-bottom: 32px; }
.chat-feature-list { display: flex; flex-direction: column; gap: 16px; }
.chat-feature-item { background: #fff; padding: 20px; border-radius: 12px; border-left: 4px solid var(--mint); box-shadow: 0 4px 10px rgba(0,0,0,0.03); }
.chat-feature-item h4 { font-weight: 800; margin-bottom: 4px; }
.chat-feature-item p { font-size: 0.9rem; color: var(--text-light); }

/* 使用须知 */
.notice-section .grid-3 { align-items: stretch; }
.notice-card { background: #fff; border-radius: 16px; padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.notice-card.border-coral { border-left: 4px solid var(--coral); }
.notice-card.border-yellow { border-left: 4px solid var(--yellow); }
.notice-card.border-mint { border-left: 4px solid var(--mint); }
.notice-card h4 { font-weight: 800; margin-bottom: 16px; font-size: 1.1rem; }
.notice-list { flex-grow: 1; }
.notice-list li { position: relative; padding-left: 20px; margin-bottom: 12px; font-size: 0.9rem; color: var(--text-light); }
.notice-list li::before { content: '•'; position: absolute; left: 0; color: var(--coral); font-weight: bold; font-size: 1.2rem; top: -2px; }

/* 页脚 */
footer { background: #fff; border-top: 1px solid #f0f0f0; padding: 60px 0 30px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.footer-brand { max-width: 300px; }
.footer-brand .brand-row { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-weight: 800; font-size: 1.2rem; }
.footer-brand img { height: 32px; }
.footer-brand p { font-size: 0.9rem; color: var(--text-light); }
.footer-en { font-size: 1.5rem; font-weight: 900; color: #eee; letter-spacing: 2px; text-align: right; text-transform: uppercase; }
.footer-bottom { border-top: 1px solid #f0f0f0; padding-top: 20px; display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; color: #999; }
.footer-bottom .time-tag { margin-left: 12px; }

/* 响应式 */
@media (max-width: 1024px) {
  .hero-floating-cards { display: none; }
  h1 { font-size: 2.8rem; }
  .feature-section .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .feature-section .section-header p { text-align: left; }
  .rank-row { grid-template-columns: 30px 50px 1fr 80px; }
  .rank-row-desc, .rank-row-slider { display: none; }
  .chat-layout { grid-template-columns: 1fr; }
  .chat-text { margin-top: 40px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  h1 { font-size: 2rem; }
  .hero-actions { flex-direction: column; padding: 0 20px; }
  .hero-stats { flex-wrap: wrap; gap: 16px; }
  .grid-3, .grid-4, .grid-2, .top-3, .rank-features, .radar-layout, .notice-section .grid-3 {
    grid-template-columns: 1fr;
  }
  .radar-list { grid-template-columns: 1fr; }
  .footer-top { flex-direction: column; gap: 20px; }
  .footer-en { text-align: left; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .rank-row { grid-template-columns: 30px 50px 1fr; }
  .rank-row-score { display: none; }
}