/* ===== Hero Section ===== */
.hero-section { position: relative; padding: 80px 0 60px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; opacity: 0.4; pointer-events: none; }
.hero-content { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 100px; padding: 6px 16px; font-size: 0.85rem; color: var(--text-secondary); font-weight: 500; box-shadow: var(--shadow-sm); }
.hero-title { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.15; letter-spacing: -0.02em; color: var(--text-primary); }
.hero-gradient { background: linear-gradient(135deg, #4F6EF7, #7C3AED, #06B6D4); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-desc { max-width: 600px; font-size: 1.1rem; color: var(--text-secondary); line-height: 1.7; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.hero-tip { font-size: 0.82rem; color: var(--text-muted); }
.hero-stats { display: flex; align-items: center; gap: 0; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px 32px; box-shadow: var(--shadow-md); margin-top: 12px; flex-wrap: wrap; justify-content: center; }
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 0 28px; }
.stat-num { font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* ===== Features Section ===== */
.features-section { padding: 80px 0; background: var(--bg); }
.section-header { text-align: center; margin-bottom: 48px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--text-primary); letter-spacing: -0.01em; }
.section-desc { font-size: 1rem; color: var(--text-secondary); max-width: 500px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature-card { display: flex; flex-direction: column; gap: 14px; cursor: pointer; text-decoration: none; color: inherit; border: 1px solid var(--border); transition: var(--transition); }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.feature-icon { width: 52px; height: 52px; border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.feature-title { font-size: 1.05rem; font-weight: 700; color: var(--text-primary); }
.feature-desc { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.65; flex: 1; }
.feature-tags { display: flex; gap: 6px; flex-wrap: wrap; }

/* ===== Flow Section ===== */
.flow-section { padding: 60px 0 80px; background: var(--bg-card); border-top: 1px solid var(--border); }
.flow-steps { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.flow-step { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 28px 32px; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-lg); max-width: 220px; text-align: center; }
.flow-step h4 { font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.flow-step p { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }
.flow-num { font-size: 2rem; font-weight: 900; color: var(--primary); opacity: 0.7; line-height: 1; }
.flow-arrow { font-size: 1.5rem; color: var(--text-muted); }

/* ===== Login/Register Modals ===== */
.login-divider { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--text-muted); font-size: 0.82rem; }
.login-divider::before, .login-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.third-login { display: flex; gap: 10px; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0; background: var(--bg-card); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.footer-brand p { font-size: 0.875rem; color: var(--text-muted); margin-top: 6px; }
.footer-links { display: flex; gap: 24px; font-size: 0.85rem; color: var(--text-secondary); cursor: pointer; }
.footer-links span:hover { color: var(--primary); }
.footer-copy { font-size: 0.78rem; color: var(--text-muted); }

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .hero-stats { padding: 16px 20px; }
  .stat-item { padding: 0 14px; }
  .stat-divider { display: none; }
  .flow-arrow { transform: rotate(90deg); }
  .flow-steps { flex-direction: column; }
}