/* ════════════════════════════════════════════════════════════════
   Renzea AI · 官网首页 · 用户版（非 BP）
   ════════════════════════════════════════════════════════════════ */

:root {
  --bg:        #080B14;
  --bg-2:      #0E1322;
  --bg-3:      #151B2E;
  --surface:   #111827;
  --surface-2: #1A233A;
  --border:    rgba(255,255,255,0.08);
  --border-2:  rgba(255,255,255,0.16);

  --text:      #F5F7FF;
  --text-2:    #A9B0C6;
  --text-3:    #6D778C;

  --blue:      #1E6FEB;
  --blue-glow: rgba(30,111,235,0.35);
  --corn:      #FFD700;
  --corn-glow: rgba(255,215,0,0.28);
  --green:     #00E656;
  --green-soft:rgba(0,230,86,0.14);
  --cyan:      #00F5D4;
  --pink:      #EB7CB6;

  --r: 18px;
  --r-sm: 12px;
  --r-lg: 24px;
  --shadow: 0 24px 80px rgba(0,0,0,0.5);
}

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

html, body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Microsoft YaHei', 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

a { color: inherit; text-decoration: none; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 72px;
  display: flex;
  align-items: center;
  background: rgba(8,11,20,0.78);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.brand {
  display: flex; align-items: center; gap: 12px;
  font-weight: 900; font-size: 20px;
}
.brand img { height: 42px; width: 42px; object-fit: contain; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-2); font-size: 15px; font-weight: 600; transition: .2s; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 12px; font-weight: 700; font-size: 15px;
  cursor: pointer; border: none; transition: .2s; white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, #1658BC 100%);
  color: #fff; box-shadow: 0 10px 30px rgba(30,111,235,0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(30,111,235,0.36); }

.btn-corn {
  background: linear-gradient(135deg, var(--corn) 0%, #FFB300 100%);
  color: #0A0E1A; box-shadow: 0 10px 30px rgba(255,215,0,0.22);
}
.btn-corn:hover { transform: translateY(-2px); }

.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-2); }
.btn-ghost:hover { background: rgba(255,255,255,0.04); }

/* Hero */
.hero {
  position: relative;
  padding: 160px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(30,111,235,0.22) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%; left: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,215,0,0.16) 0%, transparent 65%);
  pointer-events: none;
}

.hero .container { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }

.hero h1 {
  font-size: 56px; line-height: 1.1; font-weight: 900; margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero h1 span { color: var(--corn); }

.hero p { font-size: 20px; color: var(--text-2); max-width: 520px; margin-bottom: 34px; }

.hero-btns { display: flex; gap: 16px; margin-bottom: 48px; }

.hero-stats { display: flex; gap: 40px; }
.hero-stats .num { font-size: 32px; font-weight: 900; color: var(--text); }
.hero-stats .label { font-size: 13px; color: var(--text-3); text-transform: uppercase; letter-spacing: 0.5px; }

.hero-visual {
  background: linear-gradient(135deg, rgba(30,111,235,0.12) 0%, rgba(255,215,0,0.08) 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  min-height: 420px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-visual img {
  width: 70%;
  max-width: 320px;
  filter: drop-shadow(0 28px 50px rgba(0,0,0,0.5));
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero-tag {
  position: absolute; padding: 10px 16px; border-radius: 30px; background: var(--surface);
  border: 1px solid var(--border); font-size: 13px; font-weight: 700; color: var(--text);
  box-shadow: var(--shadow);
}
.hero-tag.t1 { top: 20%; left: 8%; }
.hero-tag.t2 { top: 48%; right: 6%; }
.hero-tag.t3 { bottom: 18%; left: 14%; }

/* Section */
.section { padding: 100px 0; }
.section.bg { background: var(--bg-2); }

.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 { font-size: 38px; font-weight: 900; margin-bottom: 12px; }
.section-head p { color: var(--text-2); font-size: 18px; max-width: 620px; margin: 0 auto; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 28px;
  transition: .25s;
}
.card:hover { transform: translateY(-6px); border-color: var(--border-2); box-shadow: var(--shadow); }

.card-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; font-size: 26px; margin-bottom: 20px;
  background: rgba(255,255,255,0.04);
}
.card.blue .card-icon { background: rgba(30,111,235,0.14); }
.card.corn .card-icon { background: rgba(255,215,0,0.14); }
.card.green .card-icon { background: rgba(0,230,86,0.14); }
.card.pink .card-icon { background: rgba(235,124,182,0.14); }
.card.cyan .card-icon { background: rgba(0,245,212,0.14); }

.card h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.card p { color: var(--text-2); font-size: 14px; line-height: 1.6; }

/* Feature split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }

.split h3 { font-size: 34px; font-weight: 900; margin-bottom: 18px; }
.split p { color: var(--text-2); font-size: 17px; margin-bottom: 24px; }

.feature-list { display: flex; flex-direction: column; gap: 14px; }
.feature-list li {
  list-style: none; display: flex; align-items: center; gap: 12px;
  color: var(--text); font-weight: 600;
}
.feature-list li::before {
  content: '✓'; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; font-size: 12px; flex-shrink: 0;
}

.split-visual {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  min-height: 340px; display: grid; place-items: center; color: var(--text-3);
  position: relative; overflow: hidden;
}
.split-visual img { width: 60%; max-width: 240px; }

/* Workflow */
.workflow { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.workflow-step {
  flex: 1; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r);
  padding: 22px; text-align: center; position: relative;
}
.workflow-step .num {
  width: 38px; height: 38px; border-radius: 50%; margin: 0 auto 14px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  display: grid; place-items: center; font-weight: 900; color: #fff;
}
.workflow-step h4 { font-size: 16px; margin-bottom: 6px; }
.workflow-step p { color: var(--text-3); font-size: 13px; }
.workflow-arrow {
  color: var(--text-3); font-size: 22px; flex-shrink: 0;
}

/* Testimonials */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 26px;
}
.testi q { color: var(--text-2); font-size: 15px; display: block; margin-bottom: 18px; }
.testi .author { display: flex; align-items: center; gap: 12px; }
.testi .avatar {
  width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--corn), var(--pink));
  display: grid; place-items: center; font-weight: 800; color: #0A0E1A; font-size: 13px;
}
.testi .name { font-weight: 800; }
.testi .role { color: var(--text-3); font-size: 13px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 32px;
  display: flex; flex-direction: column;
}
.price-card.pop {
  border-color: var(--blue); background: linear-gradient(180deg, rgba(30,111,235,0.12) 0%, var(--surface) 100%);
  transform: scale(1.03);
}
.price-card h3 { font-size: 20px; margin-bottom: 8px; }
.price-card .desc { color: var(--text-3); font-size: 14px; margin-bottom: 18px; }
.price-card .price { font-size: 42px; font-weight: 900; margin-bottom: 24px; }
.price-card .price span { font-size: 15px; color: var(--text-3); font-weight: 500; }
.price-card ul { flex: 1; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.price-card li { list-style: none; color: var(--text-2); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.price-card li::before { content: '✓'; color: var(--green); font-weight: 800; }
.price-card .btn { width: 100%; }

.pop-badge {
  display: inline-block; background: var(--blue); color: #fff; font-size: 11px; font-weight: 800;
  padding: 4px 10px; border-radius: 20px; margin-bottom: 10px;
}

/* CTA */
.cta {
  background: linear-gradient(135deg, rgba(30,111,235,0.14) 0%, rgba(255,215,0,0.10) 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  text-align: center; padding: 100px 0;
}
.cta h2 { font-size: 40px; font-weight: 900; margin-bottom: 16px; }
.cta p { color: var(--text-2); font-size: 18px; margin-bottom: 32px; }

/* Footer */
.footer {
  padding: 70px 0 30px;
  border-top: 1px solid var(--border);
}
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 40px; margin-bottom: 50px; }
.footer-brand img { height: 42px; width: 42px; margin-bottom: 14px; }
.footer-brand p { color: var(--text-3); font-size: 14px; line-height: 1.7; }
.footer-col h4 { font-size: 14px; color: var(--text); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-col a { display: block; color: var(--text-2); font-size: 14px; margin-bottom: 10px; transition: .15s; }
.footer-col a:hover { color: var(--corn); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; justify-content: space-between; color: var(--text-3); font-size: 13px; }

/* Mobile */
@media (max-width: 900px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 40px; }
  .cards, .testi-grid, .pricing { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse { direction: ltr; }
  .nav-links { display: none; }
  .workflow { flex-direction: column; }
  .workflow-arrow { transform: rotate(90deg); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Demo 徽标 / 移动端导航 / footer 静态项（P1 补齐） ── */
.demo-badge { display: inline-block; margin-top: 12px; font-size: 11px; font-weight: 700; letter-spacing: .6px; color: var(--corn); background: rgba(255,215,0,.10); border: 1px solid rgba(255,215,0,.35); padding: 3px 10px; border-radius: 20px; }
.nav-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border: 1px solid var(--border); background: transparent; color: var(--text-2); border-radius: 10px; cursor: pointer; }
.nav-toggle:hover { color: var(--corn); border-color: rgba(255,215,0,.4); }
.footer-muted { display: block; color: var(--text-3); font-size: 14px; margin-bottom: 10px; }

@media (max-width: 900px) {
  .nav-toggle { display: grid; }
  .nav { position: relative; }
  .nav-links { position: absolute; top: calc(100% + 8px); left: 16px; right: 16px; flex-direction: column; align-items: flex-start; gap: 6px; background: var(--bg-3); border: 1px solid var(--border-2); border-radius: var(--r-sm); padding: 14px 18px; box-shadow: var(--shadow); z-index: 100; }
  .nav-links.open { display: flex; }
  .nav-cta .btn { padding: 8px 14px; font-size: 13px; }
}
@media (max-width: 700px) {
  .nav .brand span { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .hero-stats { gap: 22px; }
  .hero-stats .num { font-size: 24px; }
}
