/* =========================================================
   麦蕊智数首页 · 营销转化版（原站深蓝主题）
   配色对齐 style.css：#050D1D / #0A1F3A / #019DEA
   ========================================================= */

:root {
  --bg: #050D1D;
  --surface: #0A1F3A;
  --surface-2: #0E2542;
  --ink: #FFFFFF;
  --ink-2: rgba(229, 240, 255, 0.72);
  --ink-3: rgba(177, 187, 212, 0.55);
  --line: rgba(255, 255, 255, 0.10);
  --line-strong: rgba(0, 144, 231, 0.35);
  --blue: #019DEA;
  --blue-h: #3D9BFF;
  --blue-soft: rgba(1, 157, 234, 0.14);
  --orange: #F5A623;
  --orange-soft: rgba(245, 166, 35, 0.14);
  --red: #F5465C;
  --green: #2EBD85;
  --radius: 8px;
  --max: 1180px;
  --header: 64px;
  --font: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: Consolas, "Courier New", monospace;
  --ease: 0.2s ease;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-blue: 0 8px 24px rgba(1, 157, 234, 0.28);
}

html { scroll-behavior: smooth; }

/* 营销组件继承原站深色底，不覆盖子页 style.css 全局语义 */

/* ---------- Header ---------- */
body > header.mr-site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  padding: 0 !important;
  min-height: var(--header);
  background: rgba(5, 13, 29, 0.92) !important;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body > header.mr-site-header.mr-header--stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

header.mr-site-header .container { max-width: var(--max); }

.mr-header-inner {
  display: flex;
  align-items: center;
  gap: 12px 20px;
  min-height: var(--header);
  flex-wrap: wrap;
}

header.mr-site-header .logo { margin: 0 !important; min-width: auto !important; }
header.mr-site-header .logo img { max-height: 30px; width: auto; }
header.mr-site-header .navbar { flex: 1; padding: 0; }

header.mr-site-header .navbar-nav .nav-link {
  font-size: 14px !important;
  color: var(--ink-2) !important;
  padding: 8px 12px !important;
  font-weight: 400;
}
header.mr-site-header .navbar-nav .nav-link:hover,
header.mr-site-header .navbar-nav .nav-item.active .nav-link {
  color: var(--blue) !important;
}

header.mr-site-header .navbar .dropdown-menu,
header.mr-site-header .navbar .dropdown-menu.show,
header.mr-site-header .navbar .dropdown-menu[data-bs-popper] {
  background: #070f20 !important;
  border: 1px solid var(--line-strong) !important;
  border-radius: var(--radius) !important;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55) !important;
  padding: 6px !important;
  --bs-dropdown-bg: #070f20;
}

header.mr-site-header .dropdown-item {
  border-radius: 4px;
  color: var(--ink-2) !important;
  font-size: 13px;
  padding: 8px 12px;
}
header.mr-site-header .dropdown-item:hover {
  background: var(--blue-soft) !important;
  color: var(--blue) !important;
}

.mr-dd-item .mr-dd-title { display: block; font-weight: 500; color: var(--ink); }
.mr-dd-item .mr-dd-desc { display: none; }

.mr-nav-auth {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

header.mr-site-header .navbar-toggler .hamburger span {
  background: #fff !important;
}

@media (max-width: 1199.98px) {
  .mr-nav-auth--desktop { display: none !important; }
  .mr-nav-auth--mobile {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid var(--line);
  }
  header.mr-site-header .navbar { order: 3; flex: 1 0 100%; }
  header.mr-site-header .navbar-toggler { margin-left: auto; }
  header.mr-site-header .navbar-collapse {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-top: 6px;
  }
}
@media (min-width: 1200px) {
  .mr-nav-auth--mobile { display: none !important; }
}

/* ---------- Buttons ---------- */
.tc-btn,
a.tc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none !important;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), color var(--ease), box-shadow var(--ease);
  white-space: nowrap;
}

.tc-btn-primary {
  background: var(--blue);
  color: #fff !important;
}
.tc-btn-primary:hover {
  background: var(--blue-h);
  color: #fff !important;
  box-shadow: var(--shadow-blue);
}

.tc-btn-buy {
  background: linear-gradient(135deg, #E37318 0%, #F5A623 100%);
  color: #fff !important;
  border: none;
}
.tc-btn-buy:hover {
  filter: brightness(1.08);
  color: #fff !important;
  box-shadow: 0 6px 16px rgba(227, 115, 24, 0.35);
}

.tc-btn-outline {
  background: transparent;
  border-color: var(--blue);
  color: var(--blue) !important;
}
.tc-btn-outline:hover {
  background: var(--blue-soft);
}

.tc-btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--ink) !important;
}
.tc-btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

.tc-btn-lg { min-height: 46px; padding: 0 24px; font-size: 15px; }
.tc-btn-sm { min-height: 32px; padding: 0 12px; font-size: 13px; }
.tc-btn-block { width: 100%; }

.tc-link {
  color: var(--blue);
  text-decoration: none;
  font-size: 14px;
}
.tc-link:hover { color: var(--blue-h); text-decoration: underline; }

/* ---------- Layout ---------- */
.tc-page { background: transparent; color: var(--ink); }
.tc-wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}
.tc-sec { padding: 64px 0; }
.tc-sec-announce {
  padding: 36px 0 48px;
  background: rgba(10, 31, 58, 0.55);
  border-bottom: 1px solid var(--line);
}
.tc-sec-faq {
  background: rgba(10, 31, 58, 0.45);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tc-sec-head {
  margin-bottom: 32px;
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.tc-sec-head h2 {
  margin: 0 0 10px;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.tc-sec-head p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-3);
  line-height: 1.7;
}
.tc-sec-head-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
  text-align: left;
  max-width: none;
}
.tc-sec-head-row .tc-sec-head {
  margin: 0;
  text-align: left;
}

/* ---------- Hero ---------- */
.tc-hero {
  position: relative;
  padding: 56px 0 48px;
  background:
    radial-gradient(900px 420px at 90% 0%, rgba(1, 157, 234, 0.18), transparent 55%),
    radial-gradient(700px 360px at 10% 30%, rgba(33, 235, 255, 0.06), transparent 50%);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.tc-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.tc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  margin-bottom: 16px;
  background: var(--orange-soft);
  color: var(--orange);
  border: 1px solid rgba(245, 166, 35, 0.28);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
}

.tc-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.tc-hero h1 em {
  font-style: normal;
  color: var(--blue);
}

.tc-hero-lead {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  max-width: 520px;
}

.tc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.tc-hero-note {
  margin: 0;
  font-size: 13px;
  color: var(--ink-3);
}

.tc-hero-note a { color: var(--blue); text-decoration: none; }
.tc-hero-note a:hover { text-decoration: underline; }

.tc-hero-panel {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}

.tc-hero-panel h3 {
  margin: 0 0 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.tc-hero-panel ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}

.tc-hero-panel li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
}

.tc-hero-panel li:last-child { border-bottom: none; }

.tc-hero-panel li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 10px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tc-hero-panel .tc-btn { width: 100%; margin-bottom: 10px; }
.tc-hero-panel .tc-btn:last-child { margin-bottom: 0; }

@media (max-width: 991.98px) {
  .tc-hero-grid { grid-template-columns: 1fr; gap: 28px; }
}

/* ---------- Promo ---------- */
.tc-promo {
  background: linear-gradient(90deg, #0077B8 0%, #019DEA 45%, #21EBFF 100%);
  color: #fff;
  padding: 12px 0;
}

.tc-promo-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
}

.tc-promo strong { font-weight: 600; }
.tc-promo a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 6px;
  transition: background var(--ease);
}
.tc-promo a:hover { background: rgba(255, 255, 255, 0.15); }

/* ---------- Trust ---------- */
.tc-trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 40px;
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow);
}

.tc-trust > div {
  background: var(--surface);
  padding: 22px 12px;
  text-align: center;
}

.tc-trust b {
  display: block;
  font-size: 26px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.02em;
}

.tc-trust span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--ink-3);
}

@media (max-width: 767.98px) {
  .tc-trust { grid-template-columns: repeat(2, 1fr); margin-top: 28px; }
}

/* ---------- Pricing ---------- */
.tc-pricing {
  background: rgba(10, 31, 58, 0.35);
}

.tc-price-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  align-items: stretch;
}

.tc-price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 18px 20px;
  transition: border-color var(--ease), box-shadow var(--ease), transform var(--ease);
}

.tc-price-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.tc-price-card.is-featured {
  background: var(--surface-2);
  border-color: var(--blue);
  box-shadow: var(--shadow-blue);
  transform: scale(1.02);
  z-index: 1;
}

.tc-price-card.is-featured:hover { transform: scale(1.02) translateY(-2px); }

.tc-price-tag {
  position: absolute;
  top: -1px;
  right: 14px;
  background: var(--blue);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 0 0 6px 6px;
}

.tc-price-name {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.tc-price-desc {
  margin: 0 0 16px;
  font-size: 12px;
  color: var(--ink-3);
  line-height: 1.5;
  min-height: 36px;
}

.tc-price-num {
  margin: 0 0 4px;
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.tc-price-num small {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  margin-left: 2px;
}

.tc-price-num.is-free { color: var(--green); font-size: 28px; }

.tc-price-orig {
  margin: 0 0 14px;
  font-size: 12px;
  color: var(--ink-3);
  text-decoration: line-through;
  min-height: 18px;
}

.tc-price-feats {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  flex: 1;
}

.tc-price-feats li {
  font-size: 13px;
  color: var(--ink-2);
  padding: 5px 0;
  border-top: 1px dashed var(--line);
}

.tc-price-feats li:first-child { border-top: none; }

.tc-price-more {
  margin-top: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-3);
}

@media (max-width: 1199.98px) {
  .tc-price-grid { grid-template-columns: repeat(3, 1fr); }
  .tc-price-card.is-featured { transform: none; }
}
@media (max-width: 767.98px) {
  .tc-price-grid { grid-template-columns: 1fr; }
}

/* ---------- Caps ---------- */
.tc-cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tc-cap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  text-decoration: none !important;
  color: inherit;
  transition: border-color var(--ease), box-shadow var(--ease);
}

.tc-cap:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.tc-cap-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--blue-soft);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 14px;
}

.tc-cap h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
}

.tc-cap p {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.6;
}

.tc-cap-foot {
  font-size: 13px;
  color: var(--blue);
  font-weight: 500;
}

@media (max-width: 991.98px) {
  .tc-cap-grid { grid-template-columns: 1fr; }
}

/* ---------- Flow ---------- */
.tc-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tc-flow-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.tc-flow-n {
  width: 36px;
  height: 36px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tc-flow-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}

.tc-flow-item p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.6;
}

@media (max-width: 767.98px) {
  .tc-flow { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.tc-faq {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.tc-faq-item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}

.tc-faq-item h3 {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.tc-faq-item p {
  margin: 0;
  font-size: 13px;
  color: var(--ink-3);
  line-height: 1.65;
}

@media (max-width: 767.98px) {
  .tc-faq { grid-template-columns: 1fr; }
}

/* ---------- News ---------- */
.tc-news {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.tc-news a {
  display: flex;
  gap: 14px;
  align-items: baseline;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.tc-news li:last-child a { border-bottom: none; }
.tc-news a:hover { background: var(--blue-soft); }
.tc-news-d { width: 90px; flex-shrink: 0; font-size: 12px; color: var(--ink-3); }
.tc-news-t { flex: 1; font-size: 14px; color: var(--ink); }
.tc-news a:hover .tc-news-t { color: var(--blue); }
.tc-news-pin { font-size: 12px; color: var(--orange); }

/* ---------- CTA ---------- */
.tc-sec-cta {
  padding-top: 64px;
  padding-bottom: 64px;
}

.tc-cta {
  background: linear-gradient(135deg, #0A1F3A 0%, #0E2542 40%, #019DEA 160%);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 48px 32px;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-blue);
}

.tc-cta h2 {
  margin: 0 0 10px;
  font-size: 26px;
  font-weight: 600;
  color: #fff;
}

.tc-cta p {
  margin: 0 0 24px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.78);
}

.tc-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.tc-cta .tc-btn-primary {
  background: #fff;
  color: #019DEA !important;
}
.tc-cta .tc-btn-primary:hover {
  background: #E8F7FE;
  box-shadow: none;
}
.tc-cta .tc-btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff !important;
}
.tc-cta .tc-btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
}

/* ---------- Footer：沿用原站深色，仅做布局微调 ---------- */
footer.mr-site-footer {
  background: transparent !important;
  border-top: 1px solid var(--line);
  padding: 40px 0 28px !important;
  margin: 0 !important;
}

/* fade */
.tc-fade {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}
.tc-fade.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .tc-fade { opacity: 1; transform: none; transition: none; }
  .tc-price-card:hover { transform: none; }
}
