.pricing-hero {
  padding: 140px 0 32px;
  text-align: center;
}

.pricing-hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.03em;
}


.pricing-hero h1 .subtitle {
  display: block !important;
  font-size: clamp(24px, 4vw, 36px) !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  margin-top: 12px !important;
}

.pricing-section {
  padding-top: 24px;
  padding-bottom: 48px;
}

.pricing-step-title {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.exchange-options-bar + .pricing-step-title,
.pricing-plans + .pricing-step-title {
  margin-top: 48px;
}

.pricing-step-title.step-hidden {
  display: none;
}

.exchange-selector {
  max-width: 1000px;
  margin: 0 auto 48px;
}

.exchange-options-bar {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.exchange-bar-item {
  cursor: pointer;
}

.exchange-bar-item input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  overflow: hidden;
}

.exchange-bar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  position: relative;
  transition: all 0.2s ease;
}

.exchange-bar-logo {
  width: 72px;
  height: 72px;
  min-width: 72px;
  min-height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #1e293b;
  background: #1e293b;
  transition: all 0.2s ease;
  image-rendering: -webkit-optimize-contrast;
  -ms-interpolation-mode: bicubic;
}

.exchange-bar-card:hover .exchange-bar-logo {
  border-color: #3b82f6;
}

.exchange-bar-item.active .exchange-bar-card .exchange-bar-logo {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.3);
}

.exchange-bar-check {
  position: absolute;
  top: -4px;
  right: 50%;
  transform: translateX(36px) scale(0.5);
  width: 24px;
  height: 24px;
  background: #fbbf24;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.2s ease;
  border: 2px solid #3b82f6;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.3);
}

.exchange-bar-check svg {
  color: #1e293b;
  width: 14px;
  height: 14px;
}

.exchange-bar-item.active .exchange-bar-card .exchange-bar-check {
  opacity: 1;
  transform: translateX(36px) scale(1);
}

.exchange-bar-logo[alt="Binance"] {
  padding: 8px;
}

.exchange-bar-logo[alt="Bybit"] {
  padding: 4px;
  background: #000;
}

.exchange-bar-logo[alt="OKX"] {
  position: relative;
  left: -2px;
}

.exchange-bar-logo[alt="Bitget"] {
  position: relative;
  left: -2px;
}

.exchange-bar-logo[alt="Gate"] {
  position: relative;
  left: -3px;
  top: -2px;
}

.exchange-bar-logo[alt="Kraken"] {
  position: relative;
  left: -2px;
  top: -4px;
}

.exchange-bar-logo[alt="HTX"] {
  position: relative;
  left: -2px;
  top: -2px;
}

.exchange-bar-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  text-align: center;
  padding: 4px 12px;
  border-radius: 100px;
  transition: all 0.2s ease;
}

.exchange-bar-item.active .exchange-bar-card .exchange-bar-name {
  background: #fbbf24;
  color: #1e293b;
  font-weight: 700;
}

.exchange-bar-item.disabled {
  cursor: not-allowed;
}

.exchange-bar-item.disabled .exchange-bar-card {
  opacity: 0.4;
  pointer-events: none;
}

.exchange-bar-logo-wrap {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 50%;
  width: 72px;
  height: 72px;
  border: 3px solid #1e293b;
  background: #1e293b;
}

.exchange-bar-logo-wrap .exchange-bar-logo {
  border-radius: 0;
  border: none;
  width: 100%;
  height: 100%;
}

.exchange-bar-soon {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 700;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: #fbbf24;
  z-index: 1;
}

.pricing-plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 720px;
  margin: 0 auto 48px;
  position: relative;
}

/* Inactive state: blur plans until exchange is selected */
.pricing-plans:not(.plans-active) .pricing-plan {
  filter: blur(2px);
  opacity: 0.5;
  pointer-events: none;
  user-select: none;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.pricing-plans.plans-active .pricing-plan {
  filter: none;
  opacity: 1;
  pointer-events: auto;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

/* Hint overlay */
.pricing-plans-hint {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.pricing-plans-hint span {
  background: rgba(0, 0, 0, 0.85);
  color: #fbbf24;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.3);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.pricing-plans.plans-active .pricing-plans-hint {
  opacity: 0;
  pointer-events: none;
}

.pricing-plan {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 32px 28px;
  position: relative;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pricing-plan:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.pricing-plan.selected {
  box-shadow: inset 0 0 0 2px #3b82f6;
}

.pricing-plan.featured {
  background: linear-gradient(135deg, #1e3a8a 0%, #4338ca 40%, #7c3aed 100%);
  border-color: transparent;
  color: #fff;
}

.pricing-plan.featured.selected {
  box-shadow: inset 0 0 0 2px #fff;
}

.pricing-plan.featured .pricing-plan-period,
.pricing-plan.featured .pricing-plan-price,
.pricing-plan.featured .pricing-plan-desc,
.pricing-plan.featured .pricing-plan-features li {
  color: #fff;
}

.pricing-plan.featured .pricing-plan-features li::before {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.pricing-plan-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 16px;
  background: #fbbf24;
  color: #1e293b;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-plan-check {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 28px;
  height: 28px;
  background: #fbbf24;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: all 0.2s ease;
}

.pricing-plan-check svg {
  color: #1e293b;
  width: 14px;
  height: 14px;
}

.pricing-plan.selected .pricing-plan-check {
  opacity: 1;
  transform: scale(1);
}

.pricing-plan.featured .pricing-plan-check {
  background: #fbbf24;
}

.pricing-plan.featured .pricing-plan-check svg {
  color: #1e293b;
}

.pricing-plan-period {
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.pricing-plan-desc {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 20px;
  line-height: 1.5;
}

.pricing-plan-price {
  font-size: 48px;
  font-weight: 800;
  color: #1e293b;
  margin-bottom: 20px;
  line-height: 1;
}

.pricing-plan-price span:first-child {
  font-size: 24px;
  font-weight: 600;
  vertical-align: top;
  margin-right: 2px;
  position: relative;
  top: 8px;
}

.pricing-plan-price span:last-child {
  font-size: 16px;
  font-weight: 500;
  color: #64748b;
}

.pricing-plan.featured .pricing-plan-price,
.pricing-plan.featured .pricing-plan-price span:first-child {
  color: #fff;
}

.pricing-plan.featured .pricing-plan-price span:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-plan-highlight {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 24px;
  background: #f1f5f9;
  border-radius: 12px;
  margin-bottom: 24px;
}

.highlight-value {
  font-size: 24px;
  font-weight: 800;
  color: #1e293b;
  line-height: 1.2;
}

.highlight-label {
  font-size: 13px;
  font-weight: 500;
  color: #64748b;
  margin-top: 2px;
}

.pricing-plan.featured .pricing-plan-highlight {
  background: rgba(255, 255, 255, 0.15);
}

.pricing-plan.featured .highlight-value {
  color: #fbbf24;
}

.pricing-plan.featured .highlight-label {
  color: rgba(255, 255, 255, 0.8);
}

.pricing-plan-features {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pricing-plan-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
  color: #475569;
}

.pricing-plan-features li::before {
  content: '✓';
  width: 20px;
  height: 20px;
  background: #dbeafe;
  color: #3b82f6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-summary {
  margin-top: 0;
  padding: 32px 36px;
  background: linear-gradient(135deg, #1e3a8a 0%, #4338ca 40%, #7c3aed 100%);
  border: none;
  border-radius: 16px;
  text-align: center;
  display: none;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-summary.visible {
  display: block;
  animation: pricingSummaryIn 0.3s ease;
}

@keyframes pricingSummaryIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pricing-summary-details {
  margin-bottom: 24px;
}

.pricing-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.pricing-summary-row + .pricing-summary-row:not(.pricing-summary-total) {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.pricing-summary-total {
  padding-top: 12px;
  margin-top: 4px;
  border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.pricing-summary-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

.pricing-summary-value {
  font-size: 16px;
  color: #fff;
  font-weight: 700;
}

.pricing-summary-price {
  color: #fbbf24;
  font-size: 24px;
  font-weight: 800;
}

.pricing-summary-text {
  font-size: 18px;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.5;
}

.pricing-summary-product {
  color: #fff;
  font-weight: 700;
}

.pricing-summary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1e293b;
  background: #fbbf24;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pricing-summary-btn:hover {
  background: #f59e0b;
}

.pricing-payment {
  padding: 32px 0;
}

.pricing-payment-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 20px 28px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border-light);
  max-width: 360px;
  margin: 0 auto;
}

.pricing-payment-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.pricing-payment-text {
  text-align: left;
}

.pricing-payment-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.pricing-payment-desc {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.pricing-features-section {
  padding: 48px 0;
}

.pricing-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--card-radius);
  padding: 28px 24px;
  text-align: center;
}

.pricing-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.pricing-feature-icon svg {
  width: 28px;
  height: 28px;
}

.pricing-feature-icon.green {
  background: rgba(16, 185, 129, 0.1);
  color: #10b981;
}

.pricing-feature-icon.cyan {
  background: rgba(6, 182, 212, 0.1);
  color: #06b6d4;
}

.pricing-feature-icon.purple {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.pricing-feature-title {
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.pricing-feature-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.pricing-faq {
  padding: 48px 0;
}

.pricing-faq-box {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--card-radius);
  padding: 40px 48px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
}

.pricing-faq-item:first-child {
  padding-top: 0;
}

.pricing-faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.pricing-faq-item h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.pricing-faq-item p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0;
}

.pricing-faq-item p + p {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .pricing-hero {
    padding: 120px 0 24px;
  }

  .exchange-options-bar {
    gap: 20px;
  }

  .exchange-bar-logo {
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
  }

  .exchange-bar-logo-wrap {
    width: 56px;
    height: 56px;
  }

  .exchange-bar-name {
    font-size: 11px;
  }

  .exchange-bar-soon {
    font-size: 7px;
    height: 16px;
  }

  .exchange-bar-check {
    width: 20px;
    height: 20px;
    top: -2px;
    right: -2px;
  }

  .exchange-bar-check svg {
    width: 12px;
    height: 12px;
  }

  .pricing-plans {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pricing-plan {
    padding: 28px 24px;
  }

  .pricing-plan-price {
    font-size: 40px;
  }

  .pricing-features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pricing-feature-card {
    padding: 24px 20px;
  }

  .pricing-faq-box {
    padding: 24px 20px;
  }
}

@media (max-width: 480px) {
  .exchange-options-bar {
    gap: 12px 10px;
    justify-content: center;
  }

  .exchange-bar-item {
    flex: 0 0 calc(25% - 10px);
    max-width: calc(25% - 10px);
  }

  .exchange-bar-logo {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
  }

  .exchange-bar-logo-wrap {
    width: 48px;
    height: 48px;
  }

  .exchange-bar-name {
    font-size: 9px;
  }

  .exchange-bar-soon {
    font-size: 6px;
    height: 12px;
  }

  .exchange-bar-check {
    width: 16px;
    height: 16px;
    top: -2px;
    right: -2px;
  }

  .exchange-bar-check svg {
    width: 10px;
    height: 10px;
  }

  .pricing-summary {
    padding: 20px;
  }

  .pricing-summary-text {
    font-size: 15px;
  }

  .pricing-summary-btn {
    width: 100%;
    padding: 14px 24px;
  }
}

@media (max-width: 360px) {
  .exchange-options-bar {
    gap: 10px 8px;
  }

  .exchange-bar-logo {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }

  .exchange-bar-logo-wrap {
    width: 40px;
    height: 40px;
  }

  .exchange-bar-name {
    font-size: 8px;
    padding: 3px 8px;
  }

  .exchange-bar-soon {
    font-size: 5px;
    height: 10px;
  }

  .exchange-bar-check {
    width: 14px;
    height: 14px;
    top: -1px;
    right: -1px;
  }

  .exchange-bar-check svg {
    width: 8px;
    height: 8px;
  }

  .pricing-step-title {
    font-size: 16px;
  }
}

/* Comparison table */
.comparison-table-wrap {
  max-width: 820px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(160deg, #0c1222 0%, #111a2e 100%);
  border-radius: 20px;
  padding: 2px;
  border: 1px solid rgba(124, 58, 237, 0.25);
  box-shadow:
    0 4px 24px rgba(124, 58, 237, 0.1),
    0 12px 48px rgba(0, 0, 0, 0.4);
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
  border-radius: 18px;
  overflow: hidden;
}

.comparison-table thead th {
  padding: 18px 16px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

.comparison-table thead th.comparison-feature {
  text-align: left;
  background: linear-gradient(90deg, #0e1526, #0c1222);
  color: rgba(255, 255, 255, 0.4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  width: 40%;
}

.comparison-table thead th.comparison-free {
  background: rgba(34, 211, 238, 0.03);
  color: #22d3ee;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  border-left: 1px solid rgba(34, 211, 238, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 15px;
  letter-spacing: 0.1em;
  width: 30%;
}

.comparison-table thead th.comparison-premium-col {
  background: rgba(124, 58, 237, 0.07);
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.1em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  border-left: 1px solid rgba(124, 58, 237, 0.1);
  width: 30%;
}

.comparison-table tbody td {
  padding: 13px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.7);
  background: #0c1222;
}

.comparison-table tbody td:first-child {
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-align: left;
  background: linear-gradient(90deg, #0e1526, #0c1222);
}

.comparison-table tbody td:nth-child(2) {
  text-align: center;
  background: rgba(34, 211, 238, 0.03);
  border-left: 1px solid rgba(34, 211, 238, 0.06);
  border-right: 1px solid rgba(255, 255, 255, 0.03);
}

.comparison-table tbody td:nth-child(3) {
  text-align: center;
}

.comparison-table tbody td.comparison-premium-col {
  background: rgba(124, 58, 237, 0.07);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  border-left: 1px solid rgba(124, 58, 237, 0.1);
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:hover td {
  background: #111a2e;
}

.comparison-table tbody tr:hover td:nth-child(2) {
  background: rgba(34, 211, 238, 0.06);
}

.comparison-table tbody tr:hover td.comparison-premium-col {
  background: rgba(124, 58, 237, 0.13);
}

.comparison-row-price td {
  padding-top: 18px !important;
  padding-bottom: 18px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 15px;
}

.comparison-row-price td strong {
  color: #fff;
}

.comparison-row-price td:nth-child(2) strong {
  color: #22d3ee;
}

.comparison-row-price td.comparison-premium-col strong {
  color: #fbbf24;
  font-size: 16px;
}

.cmp-yes {
  color: #22c55e;
  font-weight: 700;
  font-size: 18px;
}

.cmp-no {
  color: rgba(255, 255, 255, 0.12);
  font-weight: 700;
  font-size: 18px;
}

@media (max-width: 480px) {
  .comparison-table {
    font-size: 12px;
  }
  .comparison-table thead th {
    padding: 14px 10px;
    font-size: 11px;
  }
  .comparison-table tbody td {
    padding: 12px 10px;
  }
  .comparison-table-wrap {
    border-radius: 14px;
  }
}
