/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --primary: #e50914;
  --primary-dark: #b00710;
  --bg-dark: #0a0a0f;
  --bg-card: #141420;
  --bg-card-hover: #1a1a2e;
  --text-primary: #ffffff;
  --text-secondary: #a0a0b0;
  --text-muted: #6c6c7a;
  --border: #2a2a3a;
  --gradient: linear-gradient(135deg, #e50914 0%, #ff6b35 100%);
  --shadow: 0 8px 32px rgba(229, 9, 20, 0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: #ff3040; }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
section { padding: 80px 0; }

/* ===== Header / Navigation ===== */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: var(--transition);
}
.header.scrolled { background: rgba(10, 10, 15, 0.98); box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-brand { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 800; color: var(--text-primary); }
.nav-brand .logo-icon { width: 36px; height: 36px; background: var(--gradient); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.nav-menu { display: flex; align-items: center; gap: 32px; }
.nav-menu a { color: var(--text-secondary); font-size: 0.95rem; font-weight: 500; position: relative; }
.nav-menu a:hover, .nav-menu a.active { color: var(--text-primary); }
.nav-menu a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary); transition: var(--transition); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }
.nav-cta { background: var(--gradient); color: #fff; padding: 10px 24px; border-radius: 50px; font-weight: 600; font-size: 0.9rem; border: none; cursor: pointer; transition: var(--transition); }
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--text-primary); transition: var(--transition); border-radius: 2px; }

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding-top: 72px;
  background: radial-gradient(ellipse at 50% 0%, rgba(229,9,20,0.15) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 50%, rgba(255,107,53,0.08) 0%, transparent 50%),
              var(--bg-dark);
}
.hero-content { text-align: center; max-width: 800px; position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(229,9,20,0.1); border: 1px solid rgba(229,9,20,0.3); padding: 8px 20px; border-radius: 50px; font-size: 0.85rem; color: var(--primary); margin-bottom: 24px; }
.hero h1 { margin-bottom: 20px; background: linear-gradient(135deg, #fff 0%, #ccc 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero p { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 40px; max-width: 600px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 32px; border-radius: 50px; font-weight: 600; font-size: 1rem; transition: var(--transition); cursor: pointer; border: none; }
.btn-primary { background: var(--gradient); color: #fff; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow); color: #fff; }
.btn-outline { background: transparent; color: var(--text-primary); border: 2px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-3px); }
.hero-stats { display: flex; justify-content: center; gap: 48px; margin-top: 60px; padding-top: 40px; border-top: 1px solid var(--border); }
.hero-stat { text-align: center; }
.hero-stat .number { font-size: 2rem; font-weight: 800; color: var(--primary); }
.hero-stat .label { font-size: 0.85rem; color: var(--text-muted); margin-top: 4px; }

/* ===== Features Section ===== */
.features { background: var(--bg-dark); }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .tag { display: inline-block; background: rgba(229,9,20,0.1); color: var(--primary); padding: 6px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.section-header h2 { margin-bottom: 16px; }
.section-header p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.feature-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 36px; transition: var(--transition); position: relative; overflow: hidden; }
.feature-card:hover { transform: translateY(-4px); border-color: rgba(229,9,20,0.3); background: var(--bg-card-hover); }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gradient); opacity: 0; transition: var(--transition); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { width: 56px; height: 56px; background: rgba(229,9,20,0.1); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; }
.feature-card h3 { margin-bottom: 12px; font-size: 1.2rem; }
.feature-card p { color: var(--text-secondary); font-size: 0.95rem; }

/* ===== Screenshots / Preview ===== */
.preview { background: linear-gradient(180deg, var(--bg-dark) 0%, #0f0f1a 100%); }
.preview-carousel { display: flex; gap: 24px; overflow-x: auto; padding: 20px 0; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.preview-carousel::-webkit-scrollbar { display: none; }
.preview-item { flex: 0 0 280px; scroll-snap-align: center; background: var(--bg-card); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); transition: var(--transition); }
.preview-item:hover { transform: scale(1.03); border-color: var(--primary); }
.preview-item .screen { width: 280px; height: 500px; background: linear-gradient(135deg, #1a1a2e, #2a2a3a); display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 0.9rem; }

/* ===== Download Section ===== */
.download { background: radial-gradient(ellipse at 50% 50%, rgba(229,9,20,0.08) 0%, transparent 70%), var(--bg-dark); }
.download-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; max-width: 900px; margin: 0 auto; }
.download-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; text-align: center; transition: var(--transition); }
.download-card:hover { transform: translateY(-4px); border-color: rgba(229,9,20,0.3); }
.download-card .platform-icon { font-size: 3rem; margin-bottom: 16px; }
.download-card h3 { margin-bottom: 8px; }
.download-card p { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 24px; }
.download-card .btn { width: 100%; justify-content: center; }

/* ===== FAQ Section ===== */
.faq { background: var(--bg-dark); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; transition: var(--transition); }
.faq-item.active { border-color: rgba(229,9,20,0.3); }
.faq-question { padding: 20px 24px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 1rem; }
.faq-question:hover { color: var(--primary); }
.faq-question .icon { font-size: 1.2rem; transition: var(--transition); color: var(--text-muted); }
.faq-item.active .faq-question .icon { transform: rotate(45deg); color: var(--primary); }
.faq-answer { padding: 0 24px; max-height: 0; overflow: hidden; transition: max-height 0.3s ease, padding 0.3s ease; color: var(--text-secondary); font-size: 0.95rem; line-height: 1.8; }
.faq-item.active .faq-answer { max-height: 300px; padding: 0 24px 20px; }

/* ===== About Section ===== */
.about { background: var(--bg-dark); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-content h2 { margin-bottom: 20px; }
.about-content p { color: var(--text-secondary); margin-bottom: 16px; }
.about-image { background: var(--bg-card); border-radius: var(--radius-lg); border: 1px solid var(--border); height: 400px; display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.about-values { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 60px; }
.value-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.value-card h3 { margin-bottom: 8px; font-size: 1.1rem; }
.value-card p { color: var(--text-secondary); font-size: 0.9rem; }

/* ===== CTA Section ===== */
.cta { background: linear-gradient(135deg, rgba(229,9,20,0.1) 0%, rgba(255,107,53,0.05) 100%); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-content { text-align: center; max-width: 600px; margin: 0 auto; }
.cta-content h2 { margin-bottom: 16px; }
.cta-content p { color: var(--text-secondary); margin-bottom: 32px; }

/* ===== Footer ===== */
.footer { background: #06060a; padding: 60px 0 30px; border-top: 1px solid var(--border); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-secondary); font-size: 0.9rem; margin-top: 12px; max-width: 300px; }
.footer-col h4 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-secondary); font-size: 0.9rem; padding: 4px 0; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 1px solid var(--border); font-size: 0.85rem; color: var(--text-muted); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { width: 36px; height: 36px; background: var(--bg-card); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--text-secondary); font-size: 0.9rem; transition: var(--transition); }
.footer-social a:hover { background: var(--primary); color: #fff; }

/* ===== Breadcrumb ===== */
.breadcrumb { padding: 100px 0 20px; }
.breadcrumb-list { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-muted); }
.breadcrumb-list a { color: var(--text-secondary); }
.breadcrumb-list a:hover { color: var(--primary); }
.breadcrumb-list .separator { color: var(--text-muted); }

/* ===== Page Hero ===== */
.page-hero { padding: 40px 0 60px; text-align: center; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { color: var(--text-secondary); max-width: 600px; margin: 0 auto; font-size: 1.1rem; }

/* ===== Content Pages ===== */
.content-page { padding: 40px 0 80px; }
.content-page .content-body { max-width: 800px; margin: 0 auto; }
.content-body h2 { margin: 32px 0 16px; font-size: 1.4rem; color: var(--text-primary); }
.content-body h3 { margin: 24px 0 12px; font-size: 1.1rem; color: var(--text-primary); }
.content-body p { color: var(--text-secondary); margin-bottom: 16px; font-size: 0.95rem; }
.content-body ul { margin-bottom: 16px; }
.content-body ul li { color: var(--text-secondary); padding: 4px 0 4px 20px; position: relative; font-size: 0.95rem; }
.content-body ul li::before { content: '•'; position: absolute; left: 0; color: var(--primary); }

/* ===== Animations ===== */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 968px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 32px; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: rgba(10,10,15,0.98); flex-direction: column; justify-content: flex-start; padding-top: 40px; gap: 24px; }
  .nav-menu.active { display: flex; }
  .nav-toggle { display: flex; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  section { padding: 60px 0; }
  .features-grid { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr; }
}
