*{box-sizing:border-box}
body{margin:0;background:#f4f7fb;color:#1f2937;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"PingFang SC","Microsoft YaHei",sans-serif;line-height:1.7}
a{text-decoration:none;color:inherit}
.container{width:min(1180px,calc(100% - 40px));margin:0 auto}
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);border-bottom:1px solid #e5eaf3}
.header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:14px}
.brand-logo{width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,#2563eb,#60a5fa);color:#fff;font-weight:900;font-size:26px;display:grid;place-items:center}
.brand-name{font-size:18px;font-weight:800;color:#111827}
.brand-sub{font-size:13px;color:#6b7280}
.nav{display:flex;gap:22px;color:#374151}
.hero{padding:72px 0 54px}
.hero-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:28px}
.hero-text,.hero-card,.product-card,.detail-card,.order-card,.step{background:#fff;border:1px solid #e5eaf3;border-radius:24px;box-shadow:0 18px 50px rgba(31,41,55,.06)}
.hero-text{padding:54px}
.tag,.badge{display:inline-flex;height:34px;padding:0 14px;border-radius:999px;background:#e8f1ff;color:#2563eb;font-weight:800;align-items:center}
.hero h1,.detail-card h1{font-size:44px;line-height:1.2;margin:20px 0;color:#111827}
.hero p,.lead{font-size:18px;color:#4b5563}
.hero-card{padding:34px}
.hero-card h3{font-size:24px;margin:0 0 18px}
.hero-card li,.features li,.content-list li{margin:8px 0}
.section{padding:42px 0}
.section.light{background:#eef4fb;padding:64px 0}
.section-title{border-left:6px solid #2563eb;padding-left:18px;margin-bottom:26px}
.section-title h2{font-size:32px;margin:0 0 8px}
.section-title p{color:#6b7280;margin:0}
.product-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.product-card{padding:34px;background:linear-gradient(180deg,#f4f9ff,#fff 42%)}
.product-card h3{font-size:26px;color:#1d4ed8;margin:20px 0 18px}
.price{color:#dc2626;margin:0 0 18px}
.price strong{font-size:44px}
.price span{color:#6b7280;margin-left:6px}
.big-price strong{font-size:52px}
.desc{color:#374151;font-size:17px}
.features,.content-list{padding-left:20px}
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 22px;border-radius:999px;font-weight:800;border:1px solid transparent;cursor:pointer}
.btn.primary{background:#2563eb;color:#fff}
.btn.ghost{background:#fff;border-color:#cbd5e1;color:#334155}
.btn.wide{width:100%;margin-top:12px}
.btn.big{min-height:50px;padding:0 30px;font-size:16px}
.card-actions{margin-top:20px}
.notice-box{margin-top:24px;padding:22px 24px;border:1px solid #fed7aa;background:#fff7ed;color:#9a3412;border-radius:18px}
.notice-box.compact{font-size:14px}
.steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.step{padding:24px}
.step span{width:38px;height:38px;display:grid;place-items:center;background:#2563eb;color:#fff;border-radius:50%;font-weight:900}
.footer{margin-top:30px;padding:28px 0;background:#111827;color:#cbd5e1}
.footer-inner{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap}
.detail-card{padding:42px}
.video-preview{display:flex;align-items:center;gap:18px;margin:24px 0;flex-wrap:wrap}
.video-box{min-height:180px;border-radius:20px;background:linear-gradient(135deg,#111827,#334155);color:#fff;display:grid;place-items:center;text-align:center;padding:30px;flex:1}
.video-box.large{min-height:260px;margin:24px 0}
.play-icon{font-size:42px;margin-bottom:10px}
.sample-content{background:#f8fafc;border:1px solid #e5e7eb;border-radius:16px;padding:20px}
.order-wrap{display:flex;justify-content:center}
.order-card{width:min(850px,100%);padding:42px}
.order-card h1{text-align:center;font-size:34px;margin:0 0 8px}
.order-sub{text-align:center;color:#6b7280;margin:0 0 28px}
.order-info{border-top:1px solid #e5e7eb}
.order-row{display:grid;grid-template-columns:150px 1fr;gap:18px;padding:17px 0;border-bottom:1px solid #e5e7eb}
.order-row span{color:#6b7280;font-weight:700}
.order-price{color:#dc2626!important;font-size:28px}
.buyer-section,.pay-section{margin-top:30px}
.buyer-tip{color:#6b7280}
.input-label{display:block;margin-bottom:8px;font-weight:800}
.text-input{width:100%;max-width:420px;height:48px;border:1px solid #cbd5e1;border-radius:14px;padding:0 16px;font-size:17px}
.form-error{min-height:24px;margin-top:8px;color:#dc2626;font-weight:700}
.pay-methods{display:flex;gap:12px}
.pay-btn{min-width:130px;height:44px;border-radius:14px;border:1px solid #2563eb;background:#eff6ff;color:#2563eb;font-size:16px;font-weight:800}
.order-actions{margin-top:28px;display:flex;gap:14px;justify-content:center;flex-wrap:wrap}
@media(max-width:860px){.header-inner{flex-direction:column;align-items:flex-start;padding:16px 0}.hero-grid,.product-grid,.steps{grid-template-columns:1fr}.hero-text,.detail-card,.order-card{padding:30px}.hero h1,.detail-card h1{font-size:34px}.order-row{grid-template-columns:1fr;gap:4px}}

.after-sale-card {
  margin-top: 28px;
  background: #fff;
  border: 1px solid #e5eaf3;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(31,41,55,.06);
  padding: 32px;
}

.after-sale-card h2 {
  margin: 0 0 10px;
  font-size: 26px;
  color: #111827;
}

.after-sale-card p {
  margin: 0 0 20px;
  color: #6b7280;
}

.after-form {
  display: grid;
  gap: 12px;
  max-width: 620px;
}

.after-form label {
  font-weight: 800;
  color: #374151;
}

.after-form input,
.after-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 13px 16px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
}

.after-form input:focus,
.after-form textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}

.after-form button {
  width: 180px;
  height: 46px;
  border: 0;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
}

/* 售后问题联系表单美化 */
.after-sale-card {
  margin-top: 36px;
  background: #ffffff;
  border: 1px solid #e5eaf3;
  border-radius: 24px;
  box-shadow: 0 18px 50px rgba(31,41,55,.06);
  padding: 34px 38px;
}

.after-sale-card h2 {
  margin: 0 0 12px;
  font-size: 30px;
  color: #111827;
  letter-spacing: -0.02em;
}

.after-sale-card p {
  margin: 0 0 24px;
  color: #6b7280;
  font-size: 17px;
  line-height: 1.8;
}

.after-form {
  display: grid;
  grid-template-columns: 120px minmax(260px, 420px);
  gap: 16px 18px;
  align-items: center;
  max-width: 760px;
}

.after-form label {
  font-weight: 800;
  color: #374151;
  font-size: 16px;
}

.after-form input,
.after-form textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  outline: none;
  background: #f8fafc;
  color: #111827;
  transition: all .18s ease;
}

.after-form input {
  height: 52px;
}

.after-form textarea {
  min-height: 120px;
  resize: vertical;
  line-height: 1.7;
}

.after-form input:focus,
.after-form textarea:focus {
  background: #fff;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37,99,235,.12);
}

.after-form button {
  grid-column: 2;
  width: 180px;
  height: 50px;
  border: 0;
  border-radius: 999px;
  background: #2563eb;
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(37,99,235,.2);
}

.after-form button:hover {
  background: #1d4ed8;
}

@media (max-width: 720px) {
  .after-sale-card {
    padding: 28px 24px;
  }

  .after-form {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .after-form button {
    grid-column: 1;
    width: 100%;
  }
}

/* 强制美化售后问题联系表单 */
.after-sale-card {
  margin-top: 42px !important;
  background: #ffffff !important;
  border: 1px solid #e5eaf3 !important;
  border-radius: 26px !important;
  box-shadow: 0 18px 50px rgba(31,41,55,.08) !important;
  padding: 38px 42px !important;
}

.after-sale-card h2 {
  margin: 0 0 14px !important;
  font-size: 30px !important;
  color: #111827 !important;
  font-weight: 900 !important;
}

.after-sale-card p {
  margin: 0 0 26px !important;
  color: #4b5563 !important;
  font-size: 17px !important;
  line-height: 1.8 !important;
}

.after-form {
  display: block !important;
  max-width: 720px !important;
}

.after-form label {
  display: block !important;
  margin: 18px 0 8px !important;
  color: #374151 !important;
  font-size: 16px !important;
  font-weight: 900 !important;
}

.after-form input,
.after-form textarea {
  display: block !important;
  width: 100% !important;
  max-width: 620px !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 16px !important;
  padding: 15px 18px !important;
  font-size: 17px !important;
  font-family: inherit !important;
  background: #f8fafc !important;
  color: #111827 !important;
  outline: none !important;
  box-sizing: border-box !important;
}

.after-form input {
  height: 56px !important;
}

.after-form textarea {
  min-height: 130px !important;
  resize: vertical !important;
  line-height: 1.7 !important;
}

.after-form input:focus,
.after-form textarea:focus {
  background: #fff !important;
  border-color: #2563eb !important;
  box-shadow: 0 0 0 4px rgba(37,99,235,.12) !important;
}

.after-form button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-top: 20px !important;
  width: 190px !important;
  height: 52px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #2563eb !important;
  color: #fff !important;
  font-weight: 900 !important;
  font-size: 16px !important;
  cursor: pointer !important;
  box-shadow: 0 10px 24px rgba(37,99,235,.22) !important;
}

.after-form button:hover {
  background: #1d4ed8 !important;
}

/* 首页去掉右侧说明卡片后，首屏改成单栏 */
.hero-grid.hero-single {
  display: block !important;
}

.hero-grid.hero-single .hero-text {
  max-width: 860px;
}

.pay-methods {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.pay-btn.disabled {
  position: relative;
  border-color: #cbd5e1 !important;
  background: #f8fafc !important;
  color: #94a3b8 !important;
  cursor: not-allowed !important;
}

.pay-btn .soon {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #fee2e2;
  color: #dc2626;
  font-size: 12px;
  font-weight: 900;
}

/* 支付方式：微信待开通角标 */
.pay-methods {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.pay-btn {
  position: relative;
}

.pay-btn.disabled {
  position: relative !important;
  border-color: #cbd5e1 !important;
  background: #f8fafc !important;
  color: #94a3b8 !important;
  cursor: not-allowed !important;
  opacity: .85;
}

.pay-btn .soon {
  position: absolute;
  top: -11px;
  right: -10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  border: 1px solid #ef4444;
  background: #fff;
  color: #dc2626;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

/* 详情页：限时免费观看按钮 */
.free-watch-btn {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
}

.free-watch-btn:hover {
  background: #15803d !important;
  border-color: #15803d !important;
  color: #ffffff !important;
}

/* 强制：择校详情页限时免费观看按钮为绿色 */
a.free-watch-btn,
.free-watch-btn,
.btn.free-watch-btn,
.primary.free-watch-btn,
a[href="watch.html?course=school-choice"].free-watch-btn {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(22, 163, 74, .22) !important;
}

a.free-watch-btn:hover,
.free-watch-btn:hover,
.btn.free-watch-btn:hover,
.primary.free-watch-btn:hover,
a[href="watch.html?course=school-choice"].free-watch-btn:hover {
  background: #15803d !important;
  border-color: #15803d !important;
  color: #ffffff !important;
}

/* 择校详情页：限时免费看按钮绿色 */
.free-watch-btn {
  background: #16a34a !important;
  border-color: #16a34a !important;
  color: #ffffff !important;
  box-shadow: 0 10px 24px rgba(22, 163, 74, .22) !important;
}

.free-watch-btn:hover {
  background: #15803d !important;
  border-color: #15803d !important;
  color: #ffffff !important;
}

/* 视频目录：免费试看标识 */
.free-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #16a34a;
  font-size: 13px;
  font-weight: 900;
  vertical-align: middle;
}

/* 视频目录：免费试看标识 */
.free-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #dcfce7;
  color: #16a34a;
  font-size: 13px;
  font-weight: 900;
  vertical-align: middle;
}
