/* ===== Home Page - 专业 SaaS 风格 ===== */

.home-page {
  background: #fff;
}

.home-page section {
  padding: 80px 24px;
}

/* ===== 新用户引导 ===== */
.home-onboarding {
  padding: 0 24px 16px;
}
.onboarding-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
  border: 1.5px solid #fcd34d;
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 2px 12px rgba(245, 158, 11, 0.15);
}
.onboarding-icon {
  font-size: 2rem;
  flex-shrink: 0;
}
.onboarding-content {
  flex: 1;
}
.onboarding-content h3 {
  font-size: 15px;
  color: #92400e;
  margin: 0 0 4px;
  font-weight: 600;
}
.onboarding-content p {
  font-size: 13px;
  color: #a16207;
  margin: 0;
}
.onboarding-content strong {
  color: #d97706;
}
.onboarding-btn {
  background: #f59e0b;
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.onboarding-btn:hover { background: #d97706; }
.onboarding-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #b45309;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
  flex-shrink: 0;
}

/* ===== Hero ===== */
.home-hero {
  text-align: center;
  padding: 72px 24px 56px;
  background: linear-gradient(180deg, #fdf8f4 0%, #fff 100%);
}

.home-hero-badge {
  display: inline-block;
  padding: 6px 18px;
  background: #fff;
  border: 1px solid #ffcba4;
  border-radius: 24px;
  font-size: .82rem;
  color: #ff6b00;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: .3px;
}

.home-hero h1 {
  font-size: 3.2rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 18px;
  line-height: 1.18;
  letter-spacing: -1px;
}

.home-hero h1 span {
  background: linear-gradient(135deg, #ff6b00, #ff9800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.home-hero .subtitle {
  font-size: 1.08rem;
  color: #6b7280;
  margin-bottom: 36px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.home-hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary-hero {
  padding: 14px 36px;
  background: linear-gradient(135deg, #ff6b00, #ff8c33);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all .25s;
  box-shadow: 0 4px 16px rgba(255,107,0,.25);
}

.btn-primary-hero:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(255,107,0,.35);
}

.btn-outline-hero {
  padding: 14px 36px;
  background: #fff;
  color: #1a1a2e;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
}

.btn-outline-hero:hover {
  border-color: #1a1a2e;
  background: #fafafa;
}

/* Hero stats */
.home-hero-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
}

.home-hero-stat {
  text-align: center;
}

.home-hero-stat .num {
  font-size: 2rem;
  font-weight: 800;
  color: #ff6b00;
  display: block;
  line-height: 1.1;
}

.home-hero-stat .pct {
  font-size: 1.2rem;
}

.home-hero-stat .label {
  font-size: .82rem;
  color: #9ca3af;
  margin-top: 4px;
}

/* ===== Trust Bar ===== */
.home-trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 24px;
  background: #fafafa;
  border-top: 1px solid #f0f0f0;
  border-bottom: 1px solid #f0f0f0;
  font-size: .82rem;
  color: #9ca3af;
  flex-wrap: wrap;
}

.home-trust-bar strong {
  color: #1a1a2e;
  font-weight: 600;
}

.trust-divider {
  color: #e5e7eb;
  margin: 0 6px;
}

/* ===== Showcase ===== */
.home-showcase {
  max-width: 800px;
  margin: 0 auto;
  padding: 24px 24px 80px;
}

.home-showcase-label {
  text-align: center;
  font-size: .8rem;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.home-showcase-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,.07);
  overflow: hidden;
  transition: box-shadow .3s;
}

.home-showcase-card:hover {
  box-shadow: 0 24px 72px rgba(0,0,0,.1);
}

.home-showcase-topbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: #f5f5f5;
  border-bottom: 1px solid #e5e7eb;
}

.home-showcase-topbar .dot {
  width: 12px; height: 12px;
  border-radius: 50%;
}

.home-showcase-topbar .dot:nth-child(1) { background: #ff5f57; }
.home-showcase-topbar .dot:nth-child(2) { background: #ffbd2e; }
.home-showcase-topbar .dot:nth-child(3) { background: #28c840; }

.home-showcase-topbar .title {
  margin-left: 12px;
  font-size: .78rem;
  color: #999;
  font-weight: 500;
}

.home-showcase-body {
  display: flex;
  min-height: 260px;
}

.home-showcase-sidebar {
  width: 130px;
  padding: 20px 16px;
  background: #fafafa;
  border-right: 1px solid #e5e7eb;
  font-size: .75rem;
  color: #9ca3af;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.home-showcase-sidebar .side-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-showcase-sidebar .side-item.active {
  color: #1a1a2e;
  font-weight: 600;
}

.home-showcase-sidebar .side-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ff6b00;
}

.home-showcase-main {
  flex: 1;
  padding: 24px 32px;
}

.home-showcase-main .q-badge {
  display: inline-block;
  padding: 4px 12px;
  background: #fff3eb;
  color: #ff6b00;
  border-radius: 14px;
  font-size: .72rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.home-showcase-main .q-text {
  font-size: .95rem;
  font-weight: 600;
  color: #1a1a2e;
  margin-bottom: 20px;
  line-height: 1.7;
}

.home-showcase-options {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.home-showcase-opt {
  padding: 10px 16px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: .83rem;
  color: #6b7280;
  transition: all .12s;
}

.home-showcase-opt.selected {
  background: #fff3eb;
  border-color: #ff6b00;
  color: #ff6b00;
  font-weight: 600;
}

/* ===== Steps ===== */
.home-steps {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: #fafafa;
}

.home-steps h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.section-sub {
  font-size: .95rem;
  color: #6b7280;
  margin-bottom: 48px;
}

.home-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.home-step-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: all .3s;
}

.home-step-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
  transform: translateY(-4px);
}

.home-step-card .step-num {
  font-size: .7rem;
  font-weight: 700;
  color: #d1d5db;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.home-step-card .step-icon {
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  background: #fff3eb;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-step-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.home-step-card p {
  font-size: .85rem;
  color: #6b7280;
  line-height: 1.6;
}

/* ===== Features ===== */
.home-features {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.home-features h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.home-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 768px) {
  .home-features-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .home-features-grid { grid-template-columns: 1fr; }
}

.home-feature-card {
  display: flex;
  gap: 16px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  transition: all .25s;
}

.home-feature-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 4px 16px rgba(0,0,0,.04);
  transform: translateY(-2px);
}

.feat-icon-wrap {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #f9fafb;
}

.home-feature-card h4 {
  font-size: .95rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feat-tag-new {
  font-size: .62rem;
  padding: 2px 7px;
  background: linear-gradient(135deg, #7c4dff, #9c6dff);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  letter-spacing: .5px;
}

.home-feature-card p {
  font-size: .83rem;
  color: #6b7280;
  line-height: 1.6;
}

/* 旧版功能卡片（4列居中布局） */
.home-feature-item {
  text-align: center;
  padding: 24px 16px;
  transition: all .25s;
  border-radius: 12px;
}
.home-feature-item:hover {
  transform: translateY(-2px);
}
.feat-icon {
  width: 48px; height: 48px;
  margin: 0 auto 16px;
  background: #fff3eb;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-feature-item h4 {
  font-size: .95rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
}
.home-feature-item p {
  font-size: .82rem;
  color: #6b7280;
  line-height: 1.5;
}

/* ===== Compare ===== */
.home-compare {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: #fafafa;
}

.home-compare h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.home-compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: left;
}

.home-compare-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: all .3s;
}

.home-compare-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
}

.home-compare-card.featured {
  border-color: #ff6b00;
  box-shadow: 0 4px 24px rgba(255,107,0,.08);
}

.card-badge {
  position: absolute;
  top: 14px; right: 14px;
  padding: 4px 14px;
  background: linear-gradient(135deg, #ff6b00, #ff9800);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(255,107,0,.3);
}

.home-compare-card .card-head {
  padding: 24px 24px 16px;
  border-bottom: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-head-icon {
  font-size: 1.5rem;
}

.card-head-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
}

.card-head-sub {
  font-size: .78rem;
  color: #9ca3af;
  margin-top: 2px;
}

.home-compare-card .card-body {
  padding: 0;
}

.home-compare-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
  font-size: .88rem;
  color: #6b7280;
  border-bottom: 1px solid #f5f5f5;
}

.home-compare-row:last-child {
  border-bottom: none;
}

.home-compare-row.highlight {
  background: #fffdf7;
  font-weight: 700;
  color: #ff6b00;
  font-size: .92rem;
}

.home-compare-card .card-action {
  padding: 16px 24px 24px;
}

.btn-full {
  display: block;
  width: 100%;
  padding: 13px;
  text-align: center;
  background: #ff6b00;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
}

.btn-full:hover {
  background: #e55d00;
  box-shadow: 0 4px 12px rgba(255,107,0,.25);
}

.home-compare-card.featured .btn-full {
  background: linear-gradient(135deg, #ff6b00, #ff9800);
}

/* ===== Positions ===== */
.home-positions {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 0 24px 80px;
}

.home-positions h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 24px;
}

.home-positions-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.home-pos-tag {
  padding: 9px 20px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  font-size: .85rem;
  color: #4b5563;
  cursor: default;
  transition: all .2s;
}

.home-pos-tag:hover {
  border-color: #ff6b00;
  color: #ff6b00;
  background: #fff3eb;
}

/* ===== CTA ===== */
.home-cta {
  text-align: center;
  background: linear-gradient(180deg, #fafafa 0%, #fdf8f4 100%);
}

.home-cta h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.home-cta p {
  font-size: 1rem;
  color: #6b7280;
  margin-bottom: 28px;
}

.home-cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.home-cta-note {
  font-size: .8rem;
  color: #b0b7c3;
}

/* ===== Footer ===== */
.home-footer {
  padding: 24px 32px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  font-size: .8rem;
  color: #9ca3af;
}

.home-footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.home-footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.home-footer-left strong {
  color: #1a1a2e;
  font-weight: 700;
}

.home-footer-right {
  display: flex;
  gap: 16px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .home-hero h1 { font-size: 2.2rem; }
  .home-steps-grid,
  .home-features-grid { grid-template-columns: 1fr; }
  .home-compare-grid { grid-template-columns: 1fr; }
  .home-showcase-body { flex-direction: column; }
  .home-showcase-sidebar { width: 100%; flex-direction: row; border-right: none; border-bottom: 1px solid #e5e7eb; padding: 12px 16px; gap: 12px; }
  .home-hero-stats { gap: 28px; }
  .home-hero-stat .num { font-size: 1.5rem; }
  .training-cards { grid-template-columns: 1fr; }
}

/* ===== Training Page ===== */
.training-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 80px 20px 80px;
  text-align: center;
}
.training-header { margin-bottom: 48px; }
.training-header h2 {
  font-size: 2rem; font-weight: 800; color: #1a1a2e;
  letter-spacing: -.5px; margin-bottom: 8px;
}
.training-header p {
  font-size: .9rem; color: #8892b0; letter-spacing: 2px;
  text-transform: uppercase;
}

.training-cards {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px; text-align: left;
}

/* 卡片入场动画 */
.training-card {
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 20px;
  padding: 32px 28px 24px;
  cursor: pointer;
  position: relative; overflow: hidden;
  transition: all .4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 8px rgba(0,0,0,.03);
  opacity: 0; transform: translateY(30px);
}
.training-card.visible {
  animation: cardSlideUp .6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--i, 0) * .12s);
}
@keyframes cardSlideUp {
  to { opacity: 1; transform: translateY(0); }
}

/* 卡片光晕 */
.card-glow {
  position: absolute; top: -40%; left: -40%;
  width: 180%; height: 180%;
  background: radial-gradient(circle at 50% 0%, rgba(255,107,0,.06) 0%, transparent 60%);
  opacity: 0; transition: opacity .4s;
  pointer-events: none;
}
.training-card:hover .card-glow { opacity: 1; }

.training-card:hover {
  border-color: #ffcba4;
  box-shadow: 0 16px 40px rgba(255,107,0,.08), 0 4px 12px rgba(0,0,0,.04);
  transform: translateY(-4px);
}
.card-mode1:hover { border-color: #ff6b00; }
.card-mode2:hover { border-color: #7c4dff; }

/* 热门标签 */
.training-card-badge {
  position: absolute; top: 16px; right: 16px;
  background: linear-gradient(135deg, #ff6b00, #ff9800);
  color: #fff; font-size: .72rem; font-weight: 700;
  padding: 3px 12px; border-radius: 20px;
  box-shadow: 0 2px 8px rgba(255,107,0,.3);
}

/* 图标 */
.training-card-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: transform .3s;
}
.card-mode1 .training-card-icon-wrap { background: #fff3eb; color: #ff6b00; }
.card-mode2 .training-card-icon-wrap { background: #f3edff; color: #7c4dff; }
.training-card:hover .training-card-icon-wrap { transform: scale(1.08); }

.training-card h3 {
  font-size: 1.15rem; font-weight: 700; color: #1a1a2e;
  margin-bottom: 6px;
}
.card-desc {
  font-size: .85rem; color: #6b7280; line-height: 1.6;
  margin-bottom: 18px;
}

/* 特性数据 */
.card-features {
  display: flex; gap: 14px; margin-bottom: 18px;
}
.card-features .feat { text-align: center; }
.card-features .feat-val {
  display: block; font-size: 1.15rem; font-weight: 700;
}
.card-mode1 .feat-val { color: #ff6b00; }
.card-mode2 .feat-val { color: #7c4dff; }
.card-features .feat-label {
  font-size: .7rem; color: #8892b0; margin-top: 2px;
}

/* 底部 */
.training-card-footer {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 16px; border-top: 1px solid #f3f4f6;
}
.training-cost { font-size: .78rem; color: #8892b0; }
.training-cta {
  font-size: .88rem; font-weight: 700;
  transition: transform .2s;
}
.card-mode1 .training-cta { color: #ff6b00; }
.card-mode2 .training-cta { color: #7c4dff; }
.training-card:hover .training-cta { transform: translateX(4px); }
