/* NE Pricing Table - scoped styles */

.ne-pricing-table-wrap {
  --ne-group-gap: 24px;
  box-sizing: border-box;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
  color: #1a1a1a;
  line-height: 1.5;
}

.ne-pricing-table-wrap *,
.ne-pricing-table-wrap *::before,
.ne-pricing-table-wrap *::after {
  box-sizing: border-box;
}

/* Toggle */
.ne-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 auto 28px;
  user-select: none;
}

.ne-toggle-label {
  font-weight: 600;
  font-size: 15px;
  color: #6b7280;
  transition: color 0.2s ease;
}

.ne-toggle-label.is-active {
  color: #1a1a1a;
}

.ne-toggle-switch {
  position: relative;
  width: 52px;
  height: 28px;
  border-radius: 999px;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s ease;
  flex-shrink: 0;
}

.ne-toggle-switch.is-yearly {
  background: var(--ne-toggle-active, #FF9901);
}

.ne-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: transform 0.25s ease;
}

.ne-toggle-switch.is-yearly .ne-toggle-thumb {
  transform: translateX(24px);
}

.ne-toggle-switch:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

/* Group layout */
.ne-pricing-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--ne-group-gap, 24px);
}

.ne-pricing-group--solo {
  display: block;
}

/* Card */
.ne-plan-card {
  position: relative;
  flex: 1 1 280px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  background: var(--ne-bg, #FFF3E0);
  border: var(--ne-border-width, 2px) solid var(--ne-border, #FF9901);
  border-radius: var(--ne-border-radius, 16px);
  color: var(--ne-text, #1a1a1a);
  padding: 28px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ne-plan-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.08);
}

.ne-pricing-group--solo .ne-plan-card {
  margin: 0 auto;
}

/* Badge */
.ne-plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--ne-accent, #FF9901);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.ne-plan-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  color: var(--ne-text);
  text-align: center;
}

.ne-plan-subtitle {
  margin: 0 0 20px;
  font-size: 14px;
  color: rgba(0,0,0,0.65);
  text-align: center;
}

/* Price */
.ne-price-block {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 4px;
  margin: 8px 0 24px;
  padding: 12px 0;
}

.ne-price-currency {
  font-size: 22px;
  font-weight: 600;
  color: var(--ne-text);
  align-self: flex-start;
  margin-top: 6px;
}

.ne-price-amount {
  font-size: 48px;
  font-weight: 800;
  color: var(--ne-text);
  line-height: 1;
  transition: opacity 0.18s ease;
}

.ne-price-amount.is-fading {
  opacity: 0;
}

.ne-price-period {
  font-size: 16px;
  font-weight: 500;
  color: rgba(0,0,0,0.6);
  margin-left: 2px;
}

.ne-savings-badge {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--ne-savings-badge-bg, #22c55e);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  animation: ne-fade-in 0.25s ease;
}

.ne-savings-badge[hidden] {
  display: none;
}

.ne-price-original {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: #dc2626;
  text-decoration: line-through;
  text-decoration-color: #dc2626;
  text-decoration-thickness: 2px;
  margin-bottom: 2px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}

.ne-price-original[hidden] {
  display: none;
}

@keyframes ne-fade-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Promo note */
.ne-promo-note {
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--ne-accent, #FF9901);
  margin: -14px 0 16px;
  letter-spacing: 0.2px;
}

/* Features */
.ne-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ne-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ne-text);
}

.ne-feature-check {
  flex-shrink: 0;
  color: var(--ne-accent, #FF9901);
  margin-top: 1px;
}

.ne-feature-text { flex: 1; }

/* Notes */
.ne-notes-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ne-note-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: rgba(0,0,0,0.7);
}

.ne-note-icon {
  flex-shrink: 0;
  color: rgba(0,0,0,0.55);
  margin-top: 2px;
}

/* Warning */
.ne-warning-text {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: #92400e;
  background: rgba(245, 158, 11, 0.12);
  border-left: 3px solid #f59e0b;
  padding: 10px 12px;
  border-radius: 6px;
  margin: 0 0 18px;
}

.ne-warning-icon {
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}

/* Countdown */
.ne-countdown {
  margin: 8px 0 18px;
  text-align: center;
}

.ne-countdown-label {
  font-size: 13px;
  font-weight: 600;
  color: rgba(0,0,0,0.7);
  margin-bottom: 8px;
}

.ne-countdown-segments {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.ne-countdown-seg {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 6px 10px;
  min-width: 48px;
}

.ne-countdown-seg span {
  font-size: 18px;
  font-weight: 700;
  color: var(--ne-text);
  font-variant-numeric: tabular-nums;
}

.ne-countdown-seg small {
  font-size: 10px;
  color: rgba(0,0,0,0.55);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.ne-countdown-sep {
  font-size: 18px;
  font-weight: 700;
  color: rgba(0,0,0,0.4);
}

.ne-countdown-expired {
  font-size: 14px;
  font-weight: 600;
  color: #b91c1c;
}

/* CTA */
.ne-cta-btn {
  display: block;
  margin-top: auto;
  text-align: center;
  background: var(--ne-cta-bg, #FF9901);
  color: var(--ne-cta-text, #fff) !important;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 22px;
  border-radius: 10px;
  text-decoration: none;
  transition: filter 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.ne-cta-btn:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

.ne-cta-btn:active { transform: translateY(0); }
.ne-cta-btn:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }

/* Responsive */
@media (max-width: 1023px) {
  .ne-plan-card { max-width: 420px; }
}

@media (max-width: 639px) {
  .ne-pricing-group { flex-direction: column; align-items: stretch; }
  .ne-plan-card { max-width: 100%; flex: 1 1 auto; }
  .ne-price-amount { font-size: 40px; }
  .ne-countdown-seg { min-width: 42px; padding: 5px 8px; }
  .ne-countdown-seg span { font-size: 16px; }
}
