/* ===== Home Page - 面试狗风格 ===== */

.home-page {
  background: #fff;
}

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

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

.home-hero h1 {
  font-size: 3rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 16px;
  line-height: 1.2;
}

.home-hero h1 span {
  color: #ff6b00;
}

.home-hero .subtitle {
  font-size: 1.15rem;
  color: #6b7280;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

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

.home-hero-btns .btn-primary-hero {
  padding: 14px 40px;
  background: #ff6b00;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: all .2s;
}

.home-hero-btns .btn-primary-hero:hover {
  background: #e55d00;
  box-shadow: 0 8px 24px rgba(255,107,0,.3);
  transform: translateY(-2px);
}

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

.home-hero-btns .btn-outline-hero:hover {
  border-color: #1a1a2e;
}

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

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

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

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

/* ===== Product Screenshot ===== */
.home-showcase {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px 80px;
}

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

.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: .8rem;
  color: #999;
}

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

.home-showcase-sidebar {
  width: 120px;
  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-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: 3px 10px;
  background: #fff3eb;
  color: #ff6b00;
  border-radius: 12px;
  font-size: .72rem;
  font-weight: 600;
  margin-bottom: 12px;
}

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

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

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

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

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

.home-steps h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a2e;
  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 24px;
  text-align: center;
}

.home-step-card .step-icon {
  width: 56px; height: 56px;
  margin: 0 auto 20px;
  background: #fff3eb;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

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

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

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

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

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

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

.home-feature-item {
  text-align: center;
  padding: 24px 16px;
}

.home-feature-item .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: 960px;
  margin: 0 auto;
  text-align: center;
  background: #fafafa;
}

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

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

.home-compare-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  overflow: hidden;
  text-align: left;
}

.home-compare-card .card-head {
  padding: 20px 24px;
  background: #fafafa;
  border-bottom: 1px solid #e5e7eb;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1a1a2e;
}

.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-card .card-action {
  padding: 16px 24px 24px;
}

.home-compare-card .btn-full {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: center;
  background: #ff6b00;
  color: #fff;
  border: none;
  border-radius: 8px;
  font-size: .92rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}

.home-compare-card .btn-full.outline {
  background: #fff;
  color: #ff6b00;
  border: 2px solid #ff6b00;
}

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

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

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

.home-pos-tag {
  padding: 10px 22px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  font-size: .88rem;
  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: #fafafa;
}

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

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

/* ===== Training Page ===== */
.training-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px 80px;
  text-align: center;
}

.training-page h2 {
  font-size: 1.8rem;
  font-weight: 800;
  color: #1a1a2e;
  margin-bottom: 8px;
}

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

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

@media (max-width: 640px) {
  .training-cards { grid-template-columns: 1fr; }
}

.training-card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  padding: 28px 24px;
  cursor: pointer;
  transition: all .2s;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.training-card:hover {
  border-color: #ff6b00;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

.training-card-icon {
  width: 48px; height: 48px;
  background: #fff3eb;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.training-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.training-card p {
  font-size: .85rem;
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 14px;
}

.training-card-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.training-card-tags span {
  padding: 3px 10px;
  background: #f5f5f5;
  border-radius: 12px;
  font-size: .75rem;
  color: #6b7280;
}

.training-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid #f0f0f0;
}

.training-cost {
  font-size: .8rem;
  color: #ff6b00;
  font-weight: 600;
}

.training-arrow {
  font-size: .88rem;
  color: #ff6b00;
  font-weight: 600;
}

/* ===== Footer ===== */
.home-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 32px;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  font-size: .82rem;
  color: #9ca3af;
}

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

.home-footer-inner strong {
  color: #1a1a2e;
  margin-right: 12px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .home-hero h1 { font-size: 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; }
}
