/* Pricing page — base from style.css + page polish (single source) */

/* Pricing page */
.faq-deco-image, .faq-deco-right{
  top: 15%;
}
.faq-deco-left{bottom: 15%;}
.pricing-page {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  background: #fff;
  overflow-x: clip;
}

/* Inner header chrome moved to header.css (ThemeAsset) */

.pricing-main {
  background: #fff;
}

.pricing-hero-section {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.pricing-hero-backdrop {
  position: absolute;
  inset: 0;
  background: #fbfcfd;
}

.pricing-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.0) 0%, rgba(255, 255, 255, 0.84) 18%, rgba(255, 255, 255, 0.0) 35%),
    repeating-linear-gradient(90deg, rgba(200, 222, 251, 0.55) 0 1px, transparent 1px 55px);
  opacity: 0.42;
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 1) 22%, rgba(0, 0, 0, 1) 78%, transparent 100%);
}

.pricing-hero-glow {
  position: absolute;
  border-radius: 999px;
  /* gradients already soft — skip live filter:blur during scroll */
  transform: translateZ(0);
  contain: layout style;
}

.pricing-hero-glow-left {
  left: 183px;
  top: 124px;
  width: 298px;
  height: 700px;
  background: radial-gradient(circle, rgba(206, 226, 251, 0.78) 0%, rgba(206, 226, 251, 0) 74%);
}

.pricing-hero-glow-center {
  left: 694px;
  top: 146px;
  width: 722px;
  height: 718px;
  background: radial-gradient(circle, rgba(118, 168, 255, 0.45) 0%, rgba(118, 168, 255, 0.12) 36%, rgba(118, 168, 255, 0) 74%);
}

.pricing-hero-glow-bottom {
  left: 811px;
  top: 645px;
  width: 298px;
  height: 282px;
  background: radial-gradient(circle, rgba(206, 226, 251, 0.72) 0%, rgba(206, 226, 251, 0) 72%);
}

.pricing-hero-content {
  position: relative;
  z-index: 1;
  width: min(1288px, calc(100% - 64px));
  margin: 0 auto;
}

.pricing-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  margin-bottom: 30px;
}

.pricing-hero-copy h1 {
  width: 960px;
  margin: 0;
  color: var(--text);
  font-size: 48px;
  font-weight: 400;
  line-height: 60px;
  text-align: center;
}

.pricing-hero-copy h1 span {
  display: block;
}

.pricing-hero-copy h1 span:first-child {
  color: var(--primary);
}

.pricing-hero-copy p {
  width: 640px;
  margin: 0;
  color: #667085;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}

.pricing-toggle {
  width: 239px;
  margin: 32px auto 32px;
  padding: 4px;
  /* display: flex; */
  display: none;
  align-items: center;
  background: #f0f2f5;
  border-bottom: 1px solid #fff;
  border-radius: 10px;
}

.pricing-toggle-item {
  flex: 1;
  height: 40px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--text-2);
  font-size: 16px;
  line-height: 24px;
}

.pricing-toggle-item.is-active {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
  box-shadow: 0 1px 1px rgba(16, 24, 40, 0.06), 0 1px 1.5px rgba(16, 24, 40, 0.1);
}

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

.pricing-card {
  padding: 12px 4px 4px;
  border-radius: 20px;
}

.pricing-card-basic {
  background: linear-gradient(90deg, #98a2b3 0%, #475467 100%);
}

.pricing-card-standard {
  background: linear-gradient(90deg, #47cd69 0%, #15ad3c 100%);
}

.pricing-card-linked {
  background: linear-gradient(90deg, #7aa7f6 0%, #2062ff 100%);
}

.pricing-card-managed {
  background: linear-gradient(90deg, #a48afb 0%, #7839ee 100%);
}

.pricing-card-head {
  height: 28px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff;
}

.pricing-card-badge-dot {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: url(/gtrace-media/styles/bang-gia-icon.png);
  background-size: cover;
  background-repeat: no-repeat;
}

.pricing-card-head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 28px;
}

.pricing-card-body {
  min-height: 526px;
  padding: 24px 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.pricing-card-desc {
  min-height: 64px;
  margin: 0;
  color: var(--text-2);
  font-size: 12px;
  line-height: 16px;
}

.pricing-card-price p {
  margin: 0 0 8px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 20px;
}

.pricing-card-price strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 30px;
  font-weight: 500;
  line-height: 38px;
}

.pricing-card-note {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  line-height: 1.5;
  font-style: italic;
}

.pricing-card-note-basic {
  color: #475467;
}

.pricing-card-note-standard {
  background: #ecfdf0;
  border-color: #75e090;
  color: #15ad3c;
}

.pricing-card-note-linked {
  background: #eef4ff;
  border-color: #a4c1fb;
  color: #2062ff;
}

.pricing-card-note-managed {
  background: #f5f3ff;
  border-color: #c3b5fd;
  color: #7839ee;
}

.pricing-card-button {
  width: 100%;
  height: 40px;
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
      text-align: center;
    display: grid;
    align-content: center;
    text-decoration: none;
}

.pricing-card-button-basic {
  background: #475467;
}

.pricing-card-button-standard {
  background: #15ad3c;
}

.pricing-card-button-linked {
  background: #2062ff;
}

.pricing-card-button-managed {
  background: #7839ee;
}

.pricing-card-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-card-list li {
  position: relative;
  padding-left: 28px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 20px;
}

.pricing-card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #f0f2f5;
}

.pricing-card-basic .pricing-card-list li::after,
.pricing-card-standard .pricing-card-list li::after,
.pricing-card-linked .pricing-card-list li::after,
.pricing-card-managed .pricing-card-list li::after {
  content: "✓";
  position: absolute;
  left: 5px;
  top: 0;
  font-size: 14px;
  line-height: 20px;
}

.pricing-card-basic .pricing-card-list li::after {
  color: #475467;
}

.pricing-card-standard .pricing-card-list li::after {
  color: #15ad3c;
}

.pricing-card-linked .pricing-card-list li::after {
  color: #2062ff;
}

.pricing-card-managed .pricing-card-list li::after {
  color: #7839ee;
}

.pricing-compare-section {
  padding: 0 32px 80px;
}

.pricing-compare-heading {
  width: min(1288px, calc(100% - 64px));
  max-width: 100%;
  margin: 0 auto;
  padding: 0 0 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.pricing-compare-wrap {
  width: min(1288px, calc(100% - 64px));
  max-width: 100%;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}

.pricing-compare-heading h2 {
  width: min(960px, 100%);
  margin: 0;
  color: var(--text);
  font-size: 48px;
  font-weight: 400;
  line-height: 60px;
  text-align: center;
}

.pricing-compare-heading p {
  width: min(640px, 100%);
  margin: 0;
  color: #98a2b3;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}

.pricing-compare-table {
  position: relative;
  width: 1288px;
  min-width: 1288px;
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(16, 24, 40, 0.06);
}

.pricing-compare-column {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 257.6px;
  pointer-events: none;
}

.pricing-compare-column-basic {
  left: 257.6px;
  background: rgba(250, 250, 250, 0.92);
}

.pricing-compare-column-standard {
  left: 515.2px;
  background: rgba(236, 253, 240, 0.92);
}

.pricing-compare-column-linked {
  left: 772.8px;
  background: rgba(238, 244, 255, 0.92);
}

.pricing-compare-column-managed {
  left: 1030.4px;
  background: rgba(245, 243, 255, 0.92);
}

.pricing-compare-header,
.pricing-compare-row {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, 257.6px);
}

.pricing-compare-header {
  min-height: 186px;
}

.pricing-compare-header .pricing-compare-feature-cell {
  background: #fff;
  z-index: 5;
}

.pricing-compare-cell,
.pricing-compare-plan {
  min-height: 76px;
  padding: 0 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid rgba(208, 213, 221, 0.65);
  color: #344054;
  font-size: 14px;
  line-height: 20px;
  text-align: center;
}

.pricing-compare-feature-cell {
  position: sticky;
  left: 0;
  z-index: 3;
  justify-content: flex-start;
  color: #344054;
  font-weight: 500;
  text-align: left;
  background: #fff;
  box-shadow: 8px 0 12px -12px rgba(16, 24, 40, 0.35);
}

.pricing-compare-feature-cell span {
  color: #98a2b3;
  font-size: 12px;
  line-height: 16px;
}

.pricing-compare-plan {
  min-height: 186px;
  padding: 20px 16px 24px;
  flex-direction: column;
  gap: 2px;
  text-align: center;
}

.pricing-compare-plan h3 {
  margin: 0;
  color: var(--text-2);
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
}

.pricing-compare-plan p {
  margin: 0;
  color: #98a2b3;
  font-size: 12px;
  line-height: 1.5;
}

.pricing-compare-button {
  width: 100px;
  height: 40px;
  margin-top: 10px;
  border-radius: 8px;
  color: #fff;
  font-weight: 500;
  display: grid;
    align-items: center;
}

.pricing-compare-button-basic {
  background: #475467;
}

.pricing-compare-button-standard {
  background: #15ad3c;
}

.pricing-compare-button-linked {
  background: #2062ff;
}

.pricing-compare-button-managed {
  background: #7839ee;
}

.pricing-compare-category .pricing-compare-feature-cell {
  z-index: 4;
  min-height: 56px;
  color: #2062ff;
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  background: #fff;
}

.pricing-compare-category .pricing-compare-cell {
  min-height: 56px;
  border-bottom: 0;
}

.pricing-compare-icon {
  position: relative;
}

.pricing-compare-row .pricing-compare-feature-cell,
.pricing-compare-row .pricing-compare-cell {
  line-height: 1.5;
}

.pricing-compare-row .pricing-compare-feature-cell {
  color: #344054;
  font-weight: 400;
}

.pricing-compare-row.pricing-compare-category .pricing-compare-feature-cell {
  color: #2062ff;
  font-weight: 500;
}

.pricing-check {
  position: relative;
  width: 16px;
  height: 16px;
  display: inline-block;
}

.pricing-check::before {
  content: "✓";
  position: absolute;
  inset: 0;
  font-size: 18px;
  line-height: 16px;
  font-weight: 600;
}

.pricing-check-basic::before {
  color: #475467;
}

.pricing-check-standard::before {
  color: #15ad3c;
}

.pricing-check-linked::before {
  color: #2062ff;
}

.pricing-check-managed::before {
  color: #7839ee;
}

.pricing-compare-dash {
  color: #98a2b3;
}

.pricing-compare-value-standard {
  color: #15ad3c;
  font-weight: 500;
}

.pricing-compare-value-linked {
  color: #2062ff;
  font-weight: 500;
}

.pricing-compare-value-managed {
  color: #7839ee;
  font-weight: 500;
}

.pricing-cta-section {
  padding: 0 32px 80px;
}

.pricing-cta-panel {
  width: min(1288px, calc(100% - 64px));
  margin: 0 auto;
  padding: 80px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  border-radius: 24px;
  background: linear-gradient(180deg, #eff7ff 0%, #cee2fb 100%);
}

.pricing-cta-panel h2 {
  width: 960px;
  margin: 0;
  color: var(--text);
  font-size: 48px;
  font-weight: 400;
  line-height: 60px;
  text-align: center;
}

.pricing-cta-panel > p {
  width: 640px;
  margin: 0;
  color: #667085;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
}

.pricing-cta-form {
  width: 527px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.pricing-cta-form label {
  width: 100%;
  color: #475467;
  font-size: 12px;
  line-height: 16px;
}

.pricing-cta-form input {
  width: 100%;
  height: 40px;
  margin-top: 6px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: #475467;
  font-size: 16px;
  line-height: 24px;
}

.pricing-cta-button {
  margin-top: 0;
}

.pricing-faq-section {
  padding-top: 80px;
}

/* —— Page polish / scoped overrides —— */

/* Pricing page polish — Figma PC 3738:2083 / Mobile 4048:4688 (scoped) */

.pricing-page .pricing-hero-section {
  overflow: hidden;
}

@media (max-width: 768px) {
  .pricing-cta-panel h2{font-size: 28px; line-height: 1.5;}
  .pricing-page .pricing-hero-section {
    padding: 48px 0 40px;
  }

  .pricing-page .pricing-hero-copy {
    padding: 0 16px;
    text-align: left;
  }

  .pricing-page .pricing-hero-copy h1 {
    font-size: 32px;
    line-height: 44px;
  }

  .pricing-page .pricing-hero-copy p {
    font-size: 16px;
    line-height: 24px;
  }

  .pricing-page .pricing-toggle {
    margin: 24px auto 32px;
  }

  .pricing-page .pricing-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 24px;
    width: 100%;
  }

  .pricing-page .pricing-card {
    width: 100%;
    max-width: 342px;
    margin: 0 auto;
  }

  .pricing-page .pricing-compare-section {
    padding: 48px 0;
  }

  .pricing-page .pricing-compare-heading {
    width: calc(100% - 32px);
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0 24px;
    align-items: flex-start;
    text-align: left;
  }

  .pricing-page .pricing-compare-heading h2 {
    font-size: 28px;
    line-height: 36px;
  }

  .pricing-page .pricing-compare-heading p {
    font-size: 16px;
    line-height: 24px;
  }

  .pricing-page .pricing-compare-wrap {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    padding: 0 0 12px;
    scrollbar-gutter: stable;
  }

  .pricing-page .pricing-compare-table {
    width: 1288px;
    min-width: 1288px;
    max-width: none;
    margin: 0 16px;
    transform: none !important;
  }

  .pricing-page .pricing-compare-header,
  .pricing-page .pricing-compare-row {
    grid-template-columns: 280px repeat(4, 252px);
  }

  .pricing-page .pricing-compare-column {
    display: block;
  }

  .pricing-page .pricing-cta-section {
    padding: 24px 16px 48px;
  }

  .pricing-page .pricing-cta-panel {
    padding: 32px 16px;
  }

  .pricing-page .pricing-cta-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .pricing-page .pricing-faq-section {
    padding-top: 24px;
  }
}
