/* ColdX — Public / Auth / Download pages */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body.cx-public-body {
  margin: 0;
  font-family: var(--cx-font);
  background: var(--cx-page-bg);
  color: var(--cx-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--cx-primary);
  text-decoration: none;
  transition: var(--cx-transition);
}

a:hover {
  color: var(--cx-primary-hover);
}

/* ── Brand header (visitor pages) ── */
.cx-public-header {
  background: linear-gradient(135deg, var(--cx-sidebar) 0%, #0B2548 55%, #13366B 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 20px;
}

.cx-public-header-inner {
  max-width: 1080px;
  margin: 0 auto;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cx-public-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
}

.cx-public-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: contain;
}

.cx-public-brand-sub {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
  margin-left: 4px;
}

.cx-public-header-links {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 13px;
}

.cx-public-header-links a {
  color: rgba(255, 255, 255, 0.88);
}

.cx-public-header-links a:hover {
  color: #fff;
}

.cx-public-main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 16px 40px;
}

.cx-public-footer {
  text-align: center;
  color: var(--cx-text-3);
  font-size: 13px;
  padding: 24px 16px 32px;
}

/* ── Share page ── */
.cx-share-hero .card-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.cx-share-hero .card-head img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
}

.cx-share-hero h1 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
}

.cx-share-pwd-card {
  max-width: 420px;
  margin: 48px auto;
  text-align: center;
}

.cx-share-pwd-card .card-head {
  justify-content: center;
  margin-bottom: 8px;
}

.cx-share-pwd-card h1 {
  margin: 0;
  font-size: 18px;
}

.cx-link-box {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.cx-link-box .input-compact {
  flex: 1;
  min-width: 180px;
  max-width: none;
}

.cx-public-body .card h2 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
}

.cx-public-body table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.cx-public-body table th,
.cx-public-body table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--cx-divider);
  text-align: left;
  vertical-align: middle;
}

.cx-public-body table th {
  color: var(--cx-text-2);
  background: #FAFBFC;
  font-weight: 600;
}

.cx-public-body .table-scroll {
  overflow-x: auto;
}

/* ── Diversion landing ── */
.cx-diversion-wrap {
  min-height: calc(100vh - 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
}

.cx-diversion-card {
  width: 100%;
  max-width: 480px;
  text-align: center;
}

.cx-diversion-card .pill {
  margin-bottom: 16px;
}

.cx-diversion-account {
  background: #F8FAFC;
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius);
  padding: 16px;
  margin: 20px 0 0;
  text-align: start;
}

.cx-diversion-account b {
  display: block;
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--cx-text);
}

.cx-diversion-hint {
  font-size: 12px;
  color: var(--cx-text-3);
  margin-top: 24px;
}

/* ── Download center ── */
.cx-download-hero {
  background: linear-gradient(160deg, var(--cx-sidebar) 0%, #0E2A52 45%, #1677FF 100%);
  color: #fff;
  padding: 48px 20px 56px;
  text-align: center;
}

.cx-download-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.cx-download-hero .cx-public-brand {
  justify-content: center;
  margin-bottom: 20px;
}

.cx-download-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.cx-download-hero p {
  margin: 0;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.6;
}

.cx-download-body {
  max-width: 880px;
  margin: -32px auto 0;
  padding: 0 16px 40px;
  position: relative;
  z-index: 1;
}

.cx-download-primary.card {
  padding: 28px 24px;
  margin-bottom: 20px;
}

.cx-download-primary-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.cx-download-primary-head h2 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 700;
}

.cx-download-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.cx-download-meta-item {
  background: #F8FAFC;
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius-sm);
  padding: 12px 14px;
}

.cx-download-meta-item span {
  display: block;
  font-size: 12px;
  color: var(--cx-text-2);
  margin-bottom: 4px;
}

.cx-download-meta-item b {
  font-size: 14px;
  font-weight: 600;
  word-break: break-all;
}

.cx-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.btn-download-lg {
  min-height: 44px;
  padding: 0 24px;
  font-size: 15px;
  font-weight: 600;
}

.cx-download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.cx-download-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cx-download-steps li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--cx-divider);
  font-size: 14px;
  color: var(--cx-text-2);
}

.cx-download-steps li:last-child {
  border-bottom: 0;
}

.cx-download-steps .step-num {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--cx-primary-soft);
  color: var(--cx-primary);
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cx-security-note {
  background: var(--cx-primary-muted);
  border: 1px solid #C8E0FF;
  border-radius: var(--cx-radius);
  padding: 16px 18px;
  font-size: 13px;
  color: var(--cx-text-2);
  line-height: 1.6;
}

.cx-security-note strong {
  display: block;
  color: var(--cx-text);
  margin-bottom: 6px;
}

/* ── Auth ── */
.cx-auth-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: #F4F7FC;
  color: var(--cx-text);
  overflow-x: hidden;
}

.cx-auth-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 860px 560px at 6% 8%, rgba(22, 119, 255, 0.10), transparent 68%),
    radial-gradient(ellipse 780px 520px at 94% 92%, rgba(56, 189, 248, 0.08), transparent 70%),
    linear-gradient(180deg, #F6F9FD 0%, #F4F7FC 100%);
}

.cx-auth-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(22, 119, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 119, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 88% 78% at 50% 42%, #000 18%, transparent 100%);
}

.cx-auth-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 18% 28%, rgba(22, 119, 255, 0.08) 0 2px, transparent 3px),
    radial-gradient(circle at 76% 62%, rgba(56, 189, 248, 0.07) 0 2px, transparent 3px),
    radial-gradient(circle at 42% 78%, rgba(22, 119, 255, 0.06) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 88% 18%, rgba(56, 189, 248, 0.06) 0 1.5px, transparent 2.5px);
  opacity: 0.85;
}

.cx-auth-bg-deco {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.cx-auth-deco {
  position: absolute;
  pointer-events: none;
}

.cx-auth-deco-dot--1 {
  top: 22%;
  left: 8%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(22, 119, 255, 0.10);
  box-shadow: 0 0 24px rgba(22, 119, 255, 0.12);
}

.cx-auth-deco-dot--2 {
  bottom: 18%;
  right: 10%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.10);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.10);
}

.cx-auth-deco-ring--1 {
  top: 16%;
  left: 5%;
  width: 140px;
  height: 140px;
  border: 1px solid rgba(22, 119, 255, 0.08);
  border-radius: 50%;
}

.cx-auth-deco-ring--2 {
  bottom: 12%;
  right: 6%;
  width: 110px;
  height: 110px;
  border: 1px solid rgba(56, 189, 248, 0.07);
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.cx-auth-deco-line {
  top: 38%;
  right: 14%;
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22, 119, 255, 0.10), transparent);
  transform: rotate(-28deg);
}

.cx-auth-deco-line::after {
  content: '';
  position: absolute;
  top: 42px;
  left: 28px;
  width: 64px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.08), transparent);
  transform: rotate(52deg);
}

.cx-auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px 28px;
  position: relative;
  z-index: 1;
}

.cx-auth-shell {
  width: 100%;
  max-width: 460px;
  position: relative;
}

.cx-auth-shell::before {
  content: '';
  position: absolute;
  top: 72px;
  left: 50%;
  width: min(420px, 92vw);
  height: 320px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 100% 85% at 50% 0%, rgba(22, 119, 255, 0.08), transparent 72%);
  pointer-events: none;
  z-index: -1;
  filter: blur(2px);
}

.cx-auth-logo-block {
  text-align: center;
  margin-bottom: 16px;
}

.cx-auth-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cx-text);
  font-weight: 700;
  font-size: 22px;
  text-decoration: none;
  position: relative;
}

.cx-auth-brand::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 50%;
  width: 52px;
  height: 52px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 119, 255, 0.16) 0%, rgba(22, 119, 255, 0.04) 55%, transparent 72%);
  filter: blur(6px);
  z-index: -1;
}

.cx-auth-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(22, 119, 255, 0.14);
  position: relative;
  z-index: 1;
}

.cx-auth-tagline {
  margin: 8px 0 0;
  font-size: 13px;
  color: var(--cx-text-2);
  letter-spacing: 0.02em;
}

.cx-auth-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 460px;
  margin: 0 auto;
  padding: 24px 24px 20px;
  border-radius: 16px;
  border: 1px solid rgba(22, 119, 255, 0.10);
  box-shadow:
    0 24px 70px rgba(8, 20, 38, 0.10),
    0 0 0 1px rgba(255, 255, 255, 0.80) inset;
  background: #fff;
}

.cx-auth-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(22, 119, 255, 0.55), transparent);
  pointer-events: none;
}

.cx-auth-card--register {
  padding: 20px 22px 16px;
}

.cx-auth-card h1 {
  margin: 0 0 4px;
  font-size: 22px;
  font-weight: 700;
}

.cx-auth-card .auth-subtitle {
  margin: 0 0 14px;
  font-size: 14px;
  color: var(--cx-text-2);
}

.cx-auth-card--register .auth-subtitle {
  margin-bottom: 12px;
}

.cx-auth-form .form-group {
  margin-bottom: 12px;
}

.cx-auth-card--register .form-group {
  margin-bottom: 10px;
}

.password-field {
  position: relative;
  display: block;
}

.password-field .cx-auth-input {
  width: 100%;
  padding-right: 48px;
}

.password-toggle {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: #98A2B3;
  cursor: pointer;
  transition: color 0.15s ease;
}

.password-toggle:hover {
  color: #1677FF;
}

.password-toggle svg {
  width: 18px;
  height: 18px;
  display: block;
}

.password-toggle .icon-eye-off {
  display: none;
}

.password-toggle.is-revealed .icon-eye {
  display: none;
}

.password-toggle.is-revealed .icon-eye-off {
  display: block;
}

.cx-auth-input {
  min-height: 44px;
  padding: 10px 12px;
  font-size: 14px;
}

.cx-auth-input:focus {
  border-color: #1677FF;
  box-shadow: 0 0 0 3px rgba(22, 119, 255, 0.10);
}

.cx-auth-input.input-error {
  border-color: var(--cx-danger, #ef4444);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.10);
}

.form-hint {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--cx-text-2);
}

.form-error {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.5;
  color: var(--cx-danger, #ef4444);
}

.cx-auth-btn {
  width: 100%;
  min-height: 46px;
  margin-top: 4px;
  font-size: 15px;
  font-weight: 600;
  background: linear-gradient(135deg, #1677FF 0%, #2F80FF 100%);
  border-color: #1677FF;
  color: #fff;
  box-shadow: 0 6px 16px rgba(22, 119, 255, 0.20);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.cx-auth-btn:hover {
  background: linear-gradient(135deg, #125fcc 0%, #1677FF 100%);
  border-color: #125fcc;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(22, 119, 255, 0.24);
}

.cx-auth-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--cx-divider);
  text-align: center;
  font-size: 14px;
  color: var(--cx-text-2);
}

.cx-auth-footer a {
  font-weight: 500;
  color: var(--cx-primary);
}

.cx-auth-footer a:hover {
  color: var(--cx-primary-hover);
}

@media (max-width: 640px) {
  .cx-auth-main {
    align-items: flex-start;
    padding-top: 14px;
  }

  .cx-auth-logo-block {
    margin-bottom: 12px;
  }

  .cx-auth-card,
  .cx-auth-card--register {
    padding: 18px 16px 14px;
  }

  .cx-auth-deco-ring--1,
  .cx-auth-deco-ring--2 {
    opacity: 0.65;
  }
}

@media (max-height: 820px) {
  .cx-auth-main {
    align-items: flex-start;
    padding-top: 10px;
    padding-bottom: 16px;
  }

  .cx-auth-logo-block {
    margin-bottom: 10px;
  }

  .cx-auth-brand {
    font-size: 20px;
  }

  .cx-auth-tagline {
    margin-top: 6px;
    font-size: 12px;
  }

  .cx-auth-shell::before {
    top: 56px;
    height: 260px;
  }

  .cx-auth-card--register {
    padding: 16px 18px 12px;
  }

  .cx-auth-card--register .auth-subtitle {
    margin-bottom: 10px;
  }

  .cx-auth-card--register .form-group {
    margin-bottom: 8px;
  }

  .cx-auth-footer {
    margin-top: 10px;
    padding-top: 8px;
  }
}

@media (max-width: 640px) {
  .cx-public-header-inner {
    min-height: 52px;
  }

  .cx-public-header-links {
    gap: 12px;
    font-size: 12px;
  }

  .cx-public-brand-sub {
    display: none;
  }

  .cx-download-hero {
    padding: 36px 16px 48px;
  }

  .cx-download-primary.card {
    padding: 20px 16px;
  }

  .cx-download-actions .btn-download-lg {
    width: 100%;
  }
}

/* ── Download FAQ cards ── */
.cx-download-faq {
  margin-bottom: 24px;
}

.cx-section-title {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  color: var(--cx-text);
}

.cx-download-faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.cx-download-faq-card {
  border-radius: var(--cx-radius);
  overflow: hidden;
  border: 1px solid var(--cx-border);
  background: #fff;
  display: flex;
  flex-direction: column;
}

.cx-download-faq-card-win {
  background: linear-gradient(180deg, #EEF4FF 0%, #fff 42%);
}

.cx-download-faq-preview {
  padding: 16px 16px 0;
  text-align: center;
}

.cx-download-faq-preview img {
  max-width: 100%;
  height: auto;
  border-radius: var(--cx-radius-sm);
  box-shadow: 0 4px 16px rgba(8, 20, 38, 0.12);
}

.cx-download-faq-content {
  padding: 16px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cx-download-faq-content h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.cx-download-faq-content p {
  margin: 0 0 14px;
  font-size: 13px;
  color: var(--cx-text-2);
  line-height: 1.6;
  flex: 1;
}

.cx-download-faq-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 10px 16px;
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius-sm);
  background: #fff;
  color: var(--cx-text);
  font-size: 14px;
  font-weight: 500;
  transition: var(--cx-transition);
  align-self: flex-start;
}

.cx-download-faq-link:hover {
  border-color: var(--cx-primary);
  color: var(--cx-primary);
  background: var(--cx-primary-soft);
}

/* ── Packages page ── */
.cx-packages-hero {
  background: linear-gradient(135deg, var(--cx-sidebar) 0%, #0B2548 55%, #13366B 100%);
  color: #fff;
  padding: 48px 20px 56px;
  text-align: center;
}

.cx-packages-hero-inner {
  max-width: 720px;
  margin: 0 auto;
}

.cx-packages-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
}

.cx-packages-hero p {
  margin: 0;
  font-size: 15px;
  opacity: 0.88;
  line-height: 1.7;
}

.cx-packages-body {
  max-width: 1080px;
  margin: -36px auto 0;
  padding: 0 16px 48px;
  position: relative;
  z-index: 1;
}

.cx-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.cx-pricing-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 8px rgba(8, 20, 38, 0.04);
}

.cx-pricing-card-featured {
  border-color: var(--cx-primary);
  box-shadow: 0 8px 24px rgba(22, 119, 255, 0.12);
}

.cx-pricing-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--cx-primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
}

.cx-pricing-card-head h2 {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 700;
}

.cx-pricing-tag {
  margin: 0 0 16px;
  font-size: 13px;
  color: var(--cx-text-2);
}

.cx-pricing-price {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--cx-divider);
}

.cx-pricing-amount {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: var(--cx-primary);
  line-height: 1.2;
}

.cx-pricing-period {
  display: block;
  margin-top: 2px;
  font-size: 15px;
  font-weight: 600;
  color: var(--cx-text);
}

.cx-pricing-unit {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--cx-text-2);
}

.cx-pricing-features li.cx-pricing-tier {
  font-size: 13px;
  color: var(--cx-text-2);
  padding-left: 22px;
}

.cx-pricing-features li.cx-pricing-tier::before {
  background: var(--cx-primary-muted);
  border-color: var(--cx-primary);
  width: 6px;
  height: 6px;
  top: 15px;
}

.btn-primary {
  background: var(--cx-primary);
  border-color: var(--cx-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--cx-primary-hover);
  border-color: var(--cx-primary-hover);
  color: #fff;
}

.cx-pricing-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  flex: 1;
}

.cx-pricing-features li {
  position: relative;
  padding: 8px 0 8px 22px;
  font-size: 14px;
  color: var(--cx-text-2);
  line-height: 1.5;
  border-bottom: 1px solid var(--cx-divider);
}

.cx-pricing-features li:last-child {
  border-bottom: 0;
}

.cx-pricing-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cx-primary-soft);
  border: 2px solid var(--cx-primary);
}

.cx-pricing-cta {
  width: 100%;
  justify-content: center;
}

.cx-compare-section {
  margin-bottom: 40px;
}

.cx-compare-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius);
  background: #fff;
}

.cx-compare-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}

.cx-compare-table th,
.cx-compare-table td {
  padding: 12px 16px;
  text-align: center;
  border-bottom: 1px solid var(--cx-divider);
}

.cx-compare-table th:first-child,
.cx-compare-table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--cx-text);
}

.cx-compare-table thead th {
  background: #F8FAFC;
  font-weight: 600;
  color: var(--cx-text);
}

.cx-compare-group {
  background: var(--cx-primary-muted) !important;
  font-weight: 600 !important;
  color: var(--cx-primary) !important;
  text-align: left !important;
}

.cx-check {
  color: var(--cx-primary);
  font-weight: 700;
}

.cx-faq-section {
  margin-bottom: 40px;
}

.cx-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cx-faq-item {
  background: #fff;
  border: 1px solid var(--cx-border);
  border-radius: var(--cx-radius-sm);
  padding: 0;
}

.cx-faq-item summary {
  padding: 16px 18px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.cx-faq-item summary::-webkit-details-marker {
  display: none;
}

.cx-faq-item summary::after {
  content: '+';
  float: right;
  color: var(--cx-primary);
  font-weight: 700;
}

.cx-faq-item[open] summary::after {
  content: '−';
}

.cx-faq-item p {
  margin: 0;
  padding: 0 18px 16px;
  font-size: 14px;
  color: var(--cx-text-2);
  line-height: 1.7;
}

.cx-packages-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--cx-sidebar) 0%, #0B2548 100%);
  color: #fff;
  border-radius: var(--cx-radius);
  padding: 36px 24px;
}

.cx-packages-cta h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.cx-packages-cta p {
  margin: 0 0 20px;
  opacity: 0.9;
  font-size: 14px;
}

.cx-packages-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.cx-packages-cta .btn-primary {
  background: var(--cx-primary);
  border-color: var(--cx-primary);
  color: #fff;
  font-weight: 600;
}

.cx-packages-cta .btn-primary:hover {
  background: var(--cx-primary-hover);
  border-color: var(--cx-primary-hover);
  color: #fff;
}

/* ── Windows install help ── */
.cx-help-hero {
  background: linear-gradient(135deg, var(--cx-sidebar) 0%, #0B2548 55%, #13366B 100%);
  color: #fff;
  padding: 40px 20px 48px;
}

.cx-help-hero-inner {
  max-width: 760px;
  margin: 0 auto;
}

.cx-help-breadcrumb {
  margin: 0 0 12px;
  font-size: 13px;
  opacity: 0.85;
}

.cx-help-breadcrumb a {
  color: #fff;
  text-decoration: underline;
}

.cx-help-hero h1 {
  margin: 0 0 10px;
  font-size: clamp(22px, 4vw, 28px);
  font-weight: 700;
}

.cx-help-hero p {
  margin: 0;
  font-size: 15px;
  opacity: 0.9;
  line-height: 1.7;
}

.cx-help-body {
  max-width: 760px;
  margin: -28px auto 0;
  padding: 0 16px 48px;
  position: relative;
  z-index: 1;
}

.cx-help-method {
  padding: 28px 24px;
  margin-bottom: 20px;
}

.cx-help-method h2 {
  margin: 0 0 10px;
  font-size: 20px;
}

.cx-help-steps {
  list-style: none;
  margin: 24px 0;
  padding: 0;
}

.cx-help-step {
  padding: 16px 0;
  border-bottom: 1px solid var(--cx-divider);
}

.cx-help-step:last-child {
  border-bottom: 0;
}

.cx-help-step-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.cx-help-step-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cx-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cx-help-step h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.cx-help-step p {
  margin: 0;
  font-size: 14px;
  color: var(--cx-text-2);
  line-height: 1.65;
}

.cx-help-figure {
  margin: 24px 0 0;
  text-align: center;
}

.cx-help-figure img {
  max-width: 100%;
  height: auto;
  border-radius: var(--cx-radius-sm);
  box-shadow: 0 4px 20px rgba(8, 20, 38, 0.12);
}

.cx-help-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--cx-text-2);
}

.cx-help-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

  .cx-packages-cta-actions .btn {
    width: 100%;
  }

  .cx-help-method {
    padding: 20px 16px;
  }

  .cx-help-actions .btn {
    flex: 1;
    min-width: 140px;
  }
}
