/* ===================== */
/* Design Tokens         */
/* ===================== */
:root {
  --green:    #22C55E;
  --orange:   #F97316;
  --bg:       #FAFAFA;
  --text:     #1F2937;
  --text-muted: #6B7280;
  --white:    #FFFFFF;
  --radius:   16px;
  --shadow:   0 4px 24px rgba(0,0,0,0.08);
  --transition: 0.25s ease;
}

/* ===================== */
/* Reset                 */
/* ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ===================== */
/* Utilities             */
/* ===================== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-primary { background: linear-gradient(135deg, var(--green), #16A34A); color: var(--white); }
.btn-nav     { background: var(--orange); color: var(--white); padding: 10px 24px; font-size: 0.9rem; }

.highlight { color: var(--green); }

/* ===================== */
/* Navbar                */
/* ===================== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,250,250,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #E5E7EB;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-size: 1.3rem; font-weight: 800;
  background: linear-gradient(135deg, var(--green), var(--orange));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================== */
/* Hero                  */
/* ===================== */
.hero {
  padding: 96px 0 80px;
  background: linear-gradient(135deg, #F0FDF4 0%, #FFF7ED 100%);
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.hero-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1.2; margin-bottom: 20px; }
.hero-sub   { font-size: 1.2rem; color: var(--text-muted); margin-bottom: 36px; }

/* Mockup card */
.mockup-card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow); min-width: 280px;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.mockup-badge {
  display: inline-block; background: var(--green); color: var(--white);
  font-size: 0.75rem; font-weight: 700; padding: 4px 12px; border-radius: 20px; margin-bottom: 16px;
}
.mockup-item {
  padding: 10px 14px; border-radius: 10px; margin-bottom: 8px; font-size: 0.9rem; font-weight: 500;
}
.mockup-item.green  { background: #DCFCE7; color: #15803D; }
.mockup-item.orange { background: #FFEDD5; color: #C2410C; }
.mockup-bar {
  height: 8px; background: #E5E7EB; border-radius: 4px; margin: 16px 0 8px; overflow: hidden;
}
.bar-fill { display: block; height: 100%; background: linear-gradient(90deg, var(--green), var(--orange)); border-radius: 4px; }
.mockup-label { font-size: 0.8rem; color: var(--text-muted); }

/* ===================== */
/* Features              */
/* ===================== */
.features { padding: 96px 0; }
.section-title { text-align: center; font-size: 2rem; font-weight: 800; margin-bottom: 56px; }

.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.card {
  background: var(--white); border-radius: var(--radius); padding: 36px 28px;
  box-shadow: var(--shadow); transition: transform var(--transition);
  opacity: 0; transform: translateY(30px);
}
.card.visible { opacity: 1; transform: translateY(0); transition: opacity 0.5s ease, transform 0.5s ease; }
.card:hover { transform: translateY(-4px); }
.card-icon { width: 56px; height: 56px; border-radius: 14px; font-size: 1.6rem; display: grid; place-items: center; margin-bottom: 20px; }
.card h3   { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; }
.card p    { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }

/* ===================== */
/* Scenario              */
/* ===================== */
.scenario { background: linear-gradient(135deg, #F0FDF4, #FFF7ED); padding: 96px 0; }
.scenario-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center;
}
.scenario-text h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 32px; line-height: 1.4; }
.scenario-list { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.scenario-list li { display: flex; align-items: center; gap: 14px; font-size: 1rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.green-dot  { background: var(--green); }
.orange-dot { background: var(--orange); }

/* Timeline visual */
.timeline { display: flex; flex-direction: column; align-items: flex-start; gap: 0; padding: 24px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.tl-item { display: flex; align-items: center; gap: 16px; font-size: 0.95rem; font-weight: 600; }
.tl-dot { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; }
.tl-green  { background: var(--green); }
.tl-orange { background: var(--orange); }
.tl-line { width: 2px; height: 32px; background: #E5E7EB; margin-left: 7px; }

/* ===================== */
/* CTA / Register        */
/* ===================== */
.cta-section {
  padding: 96px 0;
  background: linear-gradient(135deg, var(--green), #16A34A);
  color: var(--white);
}
.cta-inner { text-align: center; }
.cta-inner h2 { font-size: 2.2rem; font-weight: 800; margin-bottom: 14px; }
.cta-inner > p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 40px; }

.register-form {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; max-width: 600px; margin: 0 auto 16px;
}
.register-form input {
  flex: 1; min-width: 180px; padding: 14px 20px; border-radius: 50px; border: none;
  font-size: 1rem; outline: none; color: var(--text);
}
.register-form .btn-primary { background: var(--orange); }
.form-note { font-size: 0.8rem; opacity: 0.7; }

/* ===================== */
/* About                 */
/* ===================== */
.about { padding: 80px 0; }
.about-inner { max-width: 680px; text-align: center; margin: 0 auto; }
.about-inner h2 { font-size: 1.8rem; font-weight: 800; margin-bottom: 20px; }
.about-inner p  { font-size: 1rem; color: var(--text-muted); line-height: 1.8; }

/* ===================== */
/* Footer                */
/* ===================== */
.footer {
  background: var(--text); color: #9CA3AF;
  padding: 24px 0; text-align: center; font-size: 0.85rem;
}

/* ===================== */
/* Responsive            */
/* ===================== */
@media (max-width: 768px) {
  .hero-inner      { grid-template-columns: 1fr; gap: 40px; }
  .hero            { padding: 64px 0 48px; }
  .cards           { grid-template-columns: 1fr; }
  .scenario-inner  { grid-template-columns: 1fr; gap: 40px; }
  .register-form   { flex-direction: column; align-items: stretch; }
  .register-form input, .register-form .btn { width: 100%; }
}
