/* ════════════════════════════════════════
   PRICING SECTION
   ════════════════════════════════════════ */
.pricing {
  position: relative;
  width: 100%;
  padding: 120px 0 80px;
  background: #FFFFFF;
  color: #05295E;
}

.pricing-container {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 32px;
}

.pricing-header {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 56px;
}

.pricing-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #0D56A9;
  font-size: 12px;
  letter-spacing: 3px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pricing-tag-line {
  display: block;
  width: 32px;
  height: 1px;
  background: #C8D1DC;
}

.pricing-header h2 {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  color: #05295E;
  margin-bottom: 14px;
}

.pricing-header h2 span {
  background: linear-gradient(135deg, #0D56A9, #B89857);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing-header p {
  font-size: 15px;
  color: #6B7A8D;
  line-height: 1.75;
  margin-bottom: 32px;
}

.pricing-toggle-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #F4F6F9;
  border-radius: 100px;
  padding: 6px 20px;
}

.toggle-label {
  font-size: 13px;
  font-weight: 600;
  color: #9BA8B8;
  cursor: pointer;
  user-select: none;
}

.toggle-label-active {
  color: #05295E;
}

.toggle-save {
  font-size: 10px;
  font-weight: 700;
  color: #B89857;
  background: rgba(184, 152, 87, 0.1);
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toggle-save.show {
  opacity: 1;
  transform: scale(1);
}

.pricing-toggle {
  width: 46px;
  height: 24px;
  border-radius: 100px;
  background: #D4DAE3;
  border: none;
  cursor: pointer;
  position: relative;
  transition: background 0.35s ease;
  flex-shrink: 0;
  outline: none;
}

.pricing-toggle.active {
  background: #0D56A9;
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.pricing-toggle.active .toggle-thumb {
  transform: translateX(22px);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 100px;
}

.price-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E8ECF1;
  border-radius: 16px;
  padding: 28px 20px 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.price-card:hover {
  border-color: #B8C4D4;
  box-shadow: 0 8px 32px rgba(5, 41, 94, 0.06);
}

/* .price-card-popular {
  border-color: #0D56A9;
  border: 2px solid #0D56A9;
  background: #FFFFFF;
  box-shadow: 0 4px 24px rgba(13, 86, 169, 0.08);
  padding-top: 52px;
} */

.price-card-popular {
  border-color: #0D56A9;
  border: 2px solid #9D00FF;
  box-shadow: 0 8px 40px rgba(13, 86, 169, 0.14);
  padding: 62px 24px 40px;
  min-height: calc(100%);
  transform: translateY(-8px);
  z-index: 3;
}

.price-card-popular:hover {
  border-color: #9D00FF;
  box-shadow: 0 12px 48px rgba(13, 86, 169, 0.2);
  transform: translateY(-10px);
}

.price-card-popular .price-plan-name {
  color: #0D56A9;
  font-size: 15px;
}

.price-card-popular .price-plan-desc {
  font-size: 16px;
  margin-top: 9px;
}

.price-card-popular .price-currency {
  font-size: 23px;
}

.price-card-popular .price-amount {
  font-size: 45px;
}

.price-card-popular .new-price .price-amount {
  font-size: 45px;
  margin-top: 5px;
}

.price-card-popular .old-price .price-amount {
  font-size: 25px;
  margin-top: 5px;
}

.price-card-popular .price-period {
  font-size: 16px;
}

.price-card-popular .price-btn {
  padding: 17px 19px;
  font-size: 16px;
  margin-bottom: 25px;
}

.price-card-popular .price-card-meta {
  gap: 12px;
  margin-bottom: 21px;
  padding-bottom: 21px;
}

.price-card-popular .price-meta-item {
  font-size: 15px;
}

.price-card-popular .price-meta-item svg {
  width: 17px;
  height: 17px;
}

.price-card-popular .price-card-hint {
  font-size: 15px;
  color: #0D56A9;
  margin-bottom: -25px;
}

.price-card-badge {
  position: absolute;
  top: 46px;
  right: 14px;
  background: #0D56A9;
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 100px;
}

.price-card-offer {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 34px;
  background: linear-gradient(90deg, #E8443A, #FF6B35, #E8443A);
  background-size: 200% 100%;
  animation: offerShimmer 3s ease infinite;
  border-radius: 16px 16px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  overflow: hidden;
}

.price-card-offer::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  animation: offerSweep 2.5s ease-in-out infinite;
}

@keyframes offerShimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes offerSweep {
  0% { left: -100%; }
  100% { left: 200%; }
}

.offer-text {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.offer-text svg {
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(255,255,255,0.5));
}

.offer-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255,255,255,0.7);
  animation: offerPulse 1.2s ease infinite;
}

@keyframes offerPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.4); }
}

.price-card-header {
  margin-bottom: 16px;
}

.price-plan-name {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #9BA8B8;
}

.price-card-popular .price-plan-name {
  color: #0D56A9;
}

.price-plan-desc {
  font-size: 12px;
  color: #9BA8B8;
  margin-top: 5px;
  line-height: 1.4;
}

.price-card-pricing {
  margin-bottom: 18px;
  min-height: 46px;
  display: flex;
  align-items: flex-end;
}

.price-monthly,
.price-yearly {
  display: flex;
  align-items: baseline;
  gap: 1px;
  flex-wrap: wrap;
}

.price-currency {
  font-size: 18px;
  font-weight: 700;
  color: #05295E;
}

.price-amount {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.5px;
  color: #05295E;
}

.price-period {
  font-size: 12px;
  font-weight: 500;
  color: #9BA8B8;
  margin-left: 3px;
}

.price-billed {
  display: block;
  width: 100%;
  font-size: 10px;
  color: #B89857;
  margin-top: 4px;
  font-weight: 500;
}

.price-custom {
  font-size: 28px;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #0D56A9, #B89857);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.price-card-pricing .price-monthly,
.price-card-pricing .price-yearly {
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.price-card-pricing.switching .price-monthly,
.price-card-pricing.switching .price-yearly {
  opacity: 0;
  transform: translateY(-5px);
}

.price-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
  margin-bottom: 18px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.price-btn-outline {
  background: transparent;
  border: 1px solid #E8ECF1;
  color: #05295E;
}

.price-btn-outline:hover {
  border-color: #0D56A9;
  color: #0D56A9;
  background: rgba(13, 86, 169, 0.03);
}

.price-btn-filled {
  background: #0D56A9;
  color: #FFFFFF;
}

.price-btn-filled:hover {
  background: #0A4790;
}

.price-card-meta {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid #F0F2F5;
}

.price-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #9BA8B8;
}

.price-meta-item svg {
  flex-shrink: 0;
  opacity: 0.5;
  width: 12px;
  height: 12px;
}

.price-card-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 10px;
  color: #B8C4D4;
  margin-top: auto;
  padding-top: 2px;
  transition: color 0.3s ease;
}

.price-card:hover .price-card-hint {
  color: #0D56A9;
}

.price-card-hint svg {
  opacity: 0.6;
}

/* ── Old / New Price ── */
.price-monthly:has(.old-price) {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.old-price {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
  text-decoration: line-through;
  text-decoration-color: #9BA8B8;
  text-decoration-thickness: 1.5px;
  opacity: 0.55;
}

.old-price .price-currency {
  font-size: 13px;
  font-weight: 700;
  color: #9BA8B8;
}

.old-price .price-amount {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #9BA8B8;
}

.old-price .price-period {
  font-size: 11px;
  font-weight: 500;
  color: #B8C4D4;
  margin-left: 2px;
}

.new-price {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}

.new-price .price-currency {
  font-size: 18px;
  font-weight: 700;
  color: #05295E;
}

.new-price .price-amount {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -1.5px;
  color: #05295E;
}

.new-price .price-period {
  font-size: 12px;
  font-weight: 500;
  color: #9BA8B8;
  margin-left: 3px;
}

/* ═══════════════════════════════
   FEATURE TABLE
═══════════════════════════════ */
.feature-table-wrap {
  position: relative;
}

.feature-table-header {
  text-align: center;
  max-width: 480px;
  margin: 0 auto 48px;
}

.feature-table-title {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #05295E;
  margin-bottom: 12px;
}

.feature-table-title span {
  background: linear-gradient(135deg, #0D56A9, #B89857);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-table-subtitle {
  font-size: 14px;
  color: #6B7A8D;
  line-height: 1.7;
}

.feature-table-scroll {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid #E8ECF1;
  background: #FFFFFF;
}

.feature-table-scroll::-webkit-scrollbar {
  height: 5px;
}

.feature-table-scroll::-webkit-scrollbar-track {
  background: #F8F9FB;
}

.feature-table-scroll::-webkit-scrollbar-thumb {
  background: #C8D1DC;
  border-radius: 10px;
}

.feature-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  font-size: 13px;
}

/* .feature-table thead th {
  padding: 18px 20px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #9BA8B8;
  text-transform: uppercase;
  border-bottom: 1px solid #F0F2F5;
  white-space: nowrap;
  background: #FAFBFC;
  position: sticky;
  top: 0;
  transition: background 0.4s ease, color 0.4s ease;
} */


.feature-table thead th {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 18px 20px;
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;

  color: #9BA8B8;
  background: #ffffff; 
  border-bottom: 1px solid #E8EDF3;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature-table-scroll {
  max-height: 650px;
  overflow-y: auto;
  overflow-x: auto;
  position: relative;
  border-radius: 12px;
  background: #fff;
  scrollbar-width: thin;
  scrollbar-color: #c3cfdf transparent
}



.ft-feature-col {
  text-align: left !important;
  min-width: 220px;
  color: #6B7A8D !important;
}

.ft-popular-col {
  color: #0D56A9 !important;
}

.ft-star {
  color: #B89857;
  font-size: 13px;
}

.feature-table tbody td {
  padding: 13px 20px;
  text-align: center;
  color: #6B7A8D;
  border-bottom: 1px solid #F4F6F9;
  transition: background 0.3s ease;
}

.feature-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: #3A4A5E;
}

.feature-table tbody tr:hover td {
  background: #FAFBFC;
}

.ft-category-row td {
  padding: 11px 20px !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  text-transform: uppercase !important;
  color: #0D56A9 !important;
  text-align: left !important;
  background: #F4F6F9 !important;
  border-bottom: 1px solid #E8ECF1 !important;
}

.ft-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(13, 86, 169, 0.08);
  position: relative;
}

.ft-yes::after {
  content: "";
  width: 5px;
  height: 9px;
  border: solid #0D56A9;
  border-width: 0 1.8px 1.8px 0;
  transform: rotate(45deg) translate(-0.5px, -0.5px);
}

.ft-no {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E0E4EA;
}

.ft-custom {
  font-size: 11px;
  font-weight: 600;
  color: #0D56A9;
  letter-spacing: 0.3px;
}

/* ── Popular column = 4th column (ENTERPRISE) ── */
.feature-table tbody tr:not(.ft-category-row) td:nth-child(4) {
  background: rgba(13, 86, 169, 0.015);
}

.feature-table tbody tr:not(.ft-category-row):hover td:nth-child(4) {
  background: rgba(13, 86, 169, 0.035);
}

.feature-table thead th.ft-col-highlight {
  background: rgba(13, 86, 169, 0.06);
  color: #0D56A9 !important;
}

.feature-table tbody tr:not(.ft-category-row) td.ft-cell-highlight {
  background: rgba(13, 86, 169, 0.04);
}

.feature-table tbody tr:not(.ft-category-row):hover td.ft-cell-highlight {
  background: rgba(13, 86, 169, 0.07);
}

/* ═══════════════════════
   RESPONSIVE
════════════════════════ */
@media (max-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .pricing-header h2 { font-size: 34px; }
  .feature-table-title { font-size: 28px; }
}

@media (max-width: 768px) {
  .pricing { padding: 80px 0 60px; }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 400px;
    margin: 0 auto 80px;
  }
  /* .price-card-popular { order: -1; } */
  .pricing-header { margin-bottom: 36px; }
  .pricing-header h2 { font-size: 28px; }
  .price-amount { font-size: 34px; }
  .old-price .price-amount { font-size: 18px; }
  .new-price .price-amount { font-size: 34px; }
  .feature-table-title { font-size: 24px; }
  .pricing-container { padding: 0 20px; }
}

@media (max-width: 480px) {
  .pricing { padding: 60px 0 40px; }
  .pricing-header h2 { font-size: 24px; }
  .pricing-tag { font-size: 10px; letter-spacing: 2px; }
  .pricing-toggle-wrap { padding: 5px 14px; gap: 8px; }
  .toggle-label { font-size: 12px; }
  .price-card { padding: 24px 18px 18px; }
  .price-amount { font-size: 30px; }
  .old-price .price-amount { font-size: 16px; }
  .new-price .price-amount { font-size: 30px; }
  .feature-table-title { font-size: 20px; }
  .feature-table thead th { padding: 14px 12px; font-size: 10px; }
  .feature-table tbody td { padding: 11px 12px; font-size: 12px; }
  .ft-category-row td { font-size: 9px !important; }
  .pricing-container { padding: 0 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

