.tplm-sales {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif;
  color: #0f172a;
}

.tplm-sales__hero {
  background: linear-gradient(135deg, #0b7fd3, #052c57);
  color: #ffffff;
  padding: 72px 20px;
}

.tplm-sales__hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: center;
}

.tplm-sales__title {
  font-size: 44px;
  line-height: 1.1;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.tplm-sales__subtitle {
  margin: 0 0 22px;
  max-width: 52ch;
  font-size: 17px;
  line-height: 1.6;
  opacity: 0.95;
}

.tplm-sales__bullets {
  margin: 0 0 28px;
  padding-left: 18px;
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.95;
}

.tplm-sales__hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tplm-sales__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 18px;
  text-decoration: none;
  font-weight: 650;
  font-size: 14px;
  border: 1px solid transparent;
  transition: transform 0.12s ease, opacity 0.12s ease, background 0.12s ease, border-color 0.12s ease;
  cursor: pointer;
}

.tplm-sales__btn:focus {
  outline: 2px solid rgba(255, 255, 255, 0.55);
  outline-offset: 2px;
}

.tplm-sales__btn--primary {
  background: #ffffff;
  color: #0b7fd3;
}

.tplm-sales__btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.tplm-sales__btn:hover {
  transform: translateY(-1px);
}

.tplm-sales__hero-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px;
  padding: 20px;
}

.tplm-sales__hero-card-inner {
  display: grid;
  gap: 16px;
}

.tplm-sales__stat {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 14px 14px;
}

.tplm-sales__stat-value {
  font-weight: 750;
  letter-spacing: -0.01em;
}

.tplm-sales__stat-label {
  font-size: 13px;
  opacity: 0.92;
  margin-top: 4px;
}

.tplm-sales__pricing {
  padding: 66px 20px;
  background: #ffffff;
}

.tplm-sales__pricing-header {
  max-width: 1120px;
  margin: 0 auto 34px;
  text-align: center;
}

.tplm-sales__section-title {
  margin: 0 0 10px;
  font-size: 34px;
  letter-spacing: -0.02em;
}

.tplm-sales__section-subtitle {
  margin: 0;
  color: #475569;
  font-size: 15px;
  line-height: 1.6;
}

.tplm-sales__billing-toggle {
  margin: 26px auto 0;
  display: inline-flex;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  background: #f8fafc;
  padding: 4px;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}

.tplm-sales__toggle {
  border: 0;
  background: transparent;
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tplm-sales__toggle[aria-selected="true"],
.tplm-sales__toggle.is-active {
  background: #0b7fd3;
  color: #ffffff;
}

.tplm-sales__toggle-note {
  display: inline-block;
  font-size: 11px;
  font-weight: 750;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: inherit;
}

.tplm-sales__toggle[aria-selected="true"] .tplm-sales__toggle-note,
.tplm-sales__toggle.is-active .tplm-sales__toggle-note {
  background: rgba(255, 255, 255, 0.22);
}

.tplm-sales__grid {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.tplm-sales__card {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 22px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  position: relative;
  display: flex;
  flex-direction: column;
}

.tplm-sales__card--featured {
  border-color: rgba(11, 127, 211, 0.65);
  box-shadow: 0 18px 45px rgba(11, 127, 211, 0.16);
  transform: translateY(-4px);
}

.tplm-sales__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: #0b7fd3;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 999px;
}

.tplm-sales__plan-name {
  margin: 0;
  font-size: 20px;
  letter-spacing: -0.015em;
}

.tplm-sales__plan-meta {
  margin: 8px 0 0;
  font-size: 13px;
  color: #64748b;
}

.tplm-sales__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 18px;
}

.tplm-sales__price-currency {
  font-size: 18px;
  font-weight: 750;
  color: #0f172a;
}

.tplm-sales__price-amount {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.tplm-sales__price-period {
  font-size: 13px;
  font-weight: 650;
  color: #64748b;
}

.tplm-sales__billing {
  margin: 10px 0 0;
  font-size: 13px;
  color: #475569;
}

.tplm-sales__features {
  margin: 18px 0 0;
  padding-left: 18px;
  color: #334155;
  font-size: 13px;
  line-height: 1.65;
  flex: 1;
}

.tplm-sales__actions {
  margin-top: 20px;
}

.tplm-sales__btn--card {
  width: 100%;
  border-radius: 12px;
  background: #0b7fd3;
  color: #ffffff;
  padding: 12px 14px;
}

.tplm-sales__btn--card:hover {
  opacity: 0.96;
}

/* CRITICAL FIX: Force enable buttons that should be clickable */
.tplm-sales__btn:not(:disabled):not(.tplm-sales__btn--owned) {
  pointer-events: auto !important;
  opacity: 1 !important;
  cursor: pointer !important;
  transform: translateY(0) !important;
}

.tplm-sales__smallprint {
  margin: 10px 0 0;
  font-size: 12px;
  color: #64748b;
  text-align: center;
}

.tplm-sales__benefits {
  padding: 66px 20px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.tplm-sales__benefits-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.tplm-sales__benefits-header {
  margin-bottom: 42px;
}

.tplm-sales__benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  text-align: left;
}

.tplm-sales__benefit {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tplm-sales__benefit:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.08);
}

.tplm-sales__benefit-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.tplm-sales__benefit h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #0f172a;
  font-weight: 700;
}

.tplm-sales__benefit p {
  margin: 0;
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

.tplm-sales__faq {
  padding: 66px 20px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.tplm-sales__faq-inner {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.tplm-sales__faq-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  text-align: left;
}

.tplm-sales__faq-item {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  background: #f8fafc;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.tplm-sales__faq-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.tplm-sales__faq-item h3 {
  margin: 0 0 10px;
  font-size: 16px;
  color: #0f172a;
  font-weight: 700;
}

.tplm-sales__faq-item p {
  margin: 0;
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
}

.tplm-sales__cta {
  padding: 66px 20px;
  background: linear-gradient(135deg, #0b7fd3, #052c57);
  color: #ffffff;
  text-align: center;
}

.tplm-sales__cta-inner {
  max-width: 800px;
  margin: 0 auto;
}

.tplm-sales__cta h2 {
  margin: 0 0 12px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tplm-sales__cta p {
  margin: 0 0 28px;
  font-size: 18px;
  opacity: 0.95;
}

.tplm-sales__cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.tplm-sales__btn--large {
  padding: 14px 24px;
  font-size: 16px;
}

.tplm-sales__trust {
  margin-top: 24px;
}

.tplm-sales__trust p {
  margin: 0;
  font-size: 14px;
  opacity: 0.9;
}

@media (max-width: 980px) {
  .tplm-sales__hero-inner {
    grid-template-columns: 1fr;
  }
  .tplm-sales__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tplm-sales__benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tplm-sales__faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .tplm-sales__title {
    font-size: 34px;
  }
  .tplm-sales__grid {
    grid-template-columns: 1fr;
  }
  .tplm-sales__benefits-grid {
    grid-template-columns: 1fr;
  }
  .tplm-sales__faq-grid {
    grid-template-columns: 1fr;
  }
  .tplm-sales__price-amount {
    font-size: 40px;
  }
  .tplm-sales__cta h2 {
    font-size: 28px;
  }
  .tplm-sales__cta p {
    font-size: 16px;
  }
  .tplm-sales__cta-actions {
    flex-direction: column;
    gap: 12px;
  }
}

/* Coupon Modal Styles */
.tplm-coupon-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: tplm-modal-fadeIn 0.3s ease-out;
}

.tplm-coupon-modal__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
}

.tplm-coupon-modal__content {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  max-width: 480px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: tplm-modal-slideIn 0.3s ease-out;
}

.tplm-coupon-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 24px 0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 24px;
}

.tplm-coupon-modal__title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.tplm-coupon-modal__close {
  background: none;
  border: none;
  font-size: 24px;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
  border-radius: 4px;
  transition: color 0.2s ease;
}

.tplm-coupon-modal__close:hover {
  color: #0f172a;
}

.tplm-coupon-modal__body {
  padding: 0 24px 24px;
}

.tplm-coupon-modal__plan-info {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
}

.tplm-coupon-modal__plan-info h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
}

.tplm-coupon-modal__plan-info p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}

.tplm-coupon-form {
  margin-bottom: 24px;
}

.tplm-coupon-form__label {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.tplm-coupon-form__input-group {
  display: flex;
  gap: 8px;
}

.tplm-coupon-form__input {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 14px;
  color: #0f172a;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tplm-coupon-form__input:focus {
  outline: none;
  border-color: #0b7fd3;
  box-shadow: 0 0 0 3px rgba(11, 127, 211, 0.1);
}

.tplm-coupon-form__apply-btn {
  padding: 12px 20px;
  background: #0b7fd3;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.tplm-coupon-form__apply-btn:hover:not(:disabled) {
  background: #0a6bb8;
}

.tplm-coupon-form__apply-btn:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

.tplm-coupon-form__message {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
}

.tplm-coupon-form__message--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.tplm-coupon-form__message--error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}

.tplm-pricing-breakdown {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
}

.tplm-pricing-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.tplm-pricing-row:last-child {
  margin-bottom: 0;
}

.tplm-pricing-row--discount {
  color: #059669;
}

.tplm-pricing-row--total {
  padding-top: 8px;
  border-top: 1px solid #e2e8f0;
  font-weight: 700;
  font-size: 16px;
  color: #0f172a;
}

.tplm-pricing-label {
  font-size: 14px;
  color: #64748b;
}

.tplm-pricing-value {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.tplm-coupon-modal__footer {
  display: flex;
  gap: 12px;
  padding: 0 24px 24px;
  justify-content: flex-end;
}

.tplm-coupon-modal__cancel,
.tplm-coupon-modal__checkout {
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

.tplm-coupon-modal__cancel {
  background: #f1f5f9;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.tplm-coupon-modal__cancel:hover {
  background: #e2e8f0;
  color: #475569;
}

.tplm-coupon-modal__checkout {
  background: #0b7fd3;
  color: #ffffff;
  flex: 1;
  max-width: 200px;
}

.tplm-coupon-modal__checkout:hover:not(:disabled) {
  background: #0a6bb8;
}

.tplm-coupon-modal__checkout:disabled {
  background: #94a3b8;
  cursor: not-allowed;
}

/* Modal animations */
@keyframes tplm-modal-fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes tplm-modal-slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Mobile responsive */
@media (max-width: 640px) {
  .tplm-coupon-modal {
    padding: 10px;
  }
  
  .tplm-coupon-modal__content {
    margin: 0;
  }
  
  .tplm-coupon-modal__header,
  .tplm-coupon-modal__body,
  .tplm-coupon-modal__footer {
    padding-left: 16px;
    padding-right: 16px;
  }
  
  .tplm-coupon-form__input-group {
    flex-direction: column;
  }
  
  .tplm-coupon-form__apply-btn {
    width: 100%;
  }
  
  .tplm-coupon-modal__footer {
    flex-direction: column;
  }
  
  .tplm-coupon-modal__checkout {
    max-width: none;
    order: -1;
  }
}

/* Manager Features Section Styles */
.tplm-sales__manager-features {
  padding: 66px 20px;
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
}

.tplm-sales__manager-header {
  max-width: 1120px;
  margin: 0 auto 42px;
  text-align: center;
}

.tplm-manager-layout {
  max-width: 1120px;
  margin: 0 auto;
}

.tplm-manager-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.tplm-manager-main h3 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
}

.tplm-manager-main > p {
  margin: 0 0 32px;
  font-size: 16px;
  color: #475569;
  line-height: 1.6;
}

.tplm-manager-sidebar {
  position: relative;
}

.tplm-team-card {
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border: 1px solid #0ea5e9;
  border-radius: 16px;
  padding: 24px;
  position: sticky;
  top: 20px;
}

.tplm-team-card h4 {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: #0c4a6e;
}

.tplm-team-card > p {
  margin: 0 0 20px;
  font-size: 14px;
  color: #075985;
  line-height: 1.5;
}

.tplm-team-benefits {
  margin-bottom: 24px;
}

.tplm-team-benefit {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 8px;
}

.tplm-team-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.tplm-team-benefit h5 {
  margin: 0 0 4px;
  font-size: 14px;
  font-weight: 600;
  color: #0c4a6e;
}

.tplm-team-benefit p {
  margin: 0;
  font-size: 13px;
  color: #075985;
  line-height: 1.4;
}

.tplm-team-workflow {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  padding: 16px;
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.tplm-team-workflow h5 {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #0c4a6e;
}

.tplm-team-workflow ol {
  margin: 0;
  padding-left: 16px;
  font-size: 13px;
  color: #075985;
  line-height: 1.5;
}

.tplm-team-workflow li {
  margin-bottom: 6px;
}

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

.tplm-feature-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tplm-feature-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(15, 23, 42, 0.1);
}

.tplm-feature-icon {
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.tplm-feature-item h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
}

.tplm-feature-item p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
}

.tplm-interface-screenshot {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.tplm-interface-screenshot img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 8px;
  background: #e2e8f0;
  aspect-ratio: 16/10;
  object-fit: cover;
  margin-bottom: 16px;
}

.tplm-screenshot-caption {
  font-size: 14px;
  color: #64748b;
  font-style: italic;
  line-height: 1.5;
}

.tplm-manager-benefits {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.tplm-manager-benefits h3 {
  margin: 0 0 32px;
  font-size: 22px;
  font-weight: 700;
  color: #0f172a;
}

.tplm-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.tplm-benefit-item {
  text-align: center;
}

.tplm-benefit-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.tplm-benefit-item h4 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
  color: #0f172a;
}

.tplm-benefit-item p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

/* Backend Interface Section */
.tplm-sales__backend-interfaces {
  padding: 72px 20px;
  background: #f8fafc;
}

.tplm-sales__backend-header {
  text-align: center;
  margin-bottom: 48px;
}

.tplm-sales__backend-header .tplm-sales__section-title {
  font-size: 36px;
  color: #1e293b;
  margin: 0 0 16px;
}

.tplm-sales__backend-header .tplm-sales__section-subtitle {
  font-size: 18px;
  color: #64748b;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.tplm-backend-layout {
  max-width: 1120px;
  margin: 0 auto;
}

.tplm-backend-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.tplm-backend-main h3 {
  font-size: 28px;
  color: #1e293b;
  margin: 0 0 12px;
}

.tplm-backend-main > p {
  font-size: 16px;
  color: #64748b;
  margin: 0 0 32px;
  line-height: 1.6;
}

.tplm-interface-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.tplm-interface-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.tplm-interface-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.tplm-interface-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.tplm-interface-item h4 {
  font-size: 16px;
  color: #1e293b;
  margin: 0 0 8px;
  font-weight: 600;
}

.tplm-interface-item p {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 16px;
  line-height: 1.5;
}

.tplm-feature-details {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.tplm-feature-details ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.tplm-feature-details li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #64748b;
  line-height: 1.4;
}

.tplm-feature-details li::before {
  content: "✓";
  color: #10b981;
  font-weight: bold;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 2px;
}

.tplm-features-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 24px;
}

.tplm-features-card h4 {
  font-size: 20px;
  color: #1e293b;
  margin: 0 0 8px;
}

.tplm-features-card > p {
  font-size: 14px;
  color: #64748b;
  margin: 0 0 24px;
  line-height: 1.5;
}

.tplm-features-list {
  margin-bottom: 24px;
}

.tplm-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}

.tplm-feature-icon {
  font-size: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.tplm-feature h5 {
  font-size: 14px;
  color: #1e293b;
  margin: 0 0 4px;
  font-weight: 600;
}

.tplm-feature p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.4;
}

.tplm-workflow {
  border-top: 1px solid #e2e8f0;
  padding-top: 20px;
}

.tplm-workflow h5 {
  font-size: 16px;
  color: #1e293b;
  margin: 0 0 12px;
}

.tplm-workflow ol {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  padding-left: 18px;
  line-height: 1.5;
}

.tplm-workflow li {
  margin-bottom: 6px;
}

.tplm-interface-showcase {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 48px;
}

.tplm-interface-showcase h3 {
  font-size: 24px;
  color: #1e293b;
  margin: 0 0 24px;
  text-align: center;
}

.tplm-admin-screenshots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.tplm-screenshot-item {
  text-align: center;
}

.tplm-screenshot-mockup {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
}

.tplm-mockup-header {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 0;
}

.tplm-mockup-nav {
  display: flex;
  gap: 0;
}

.tplm-nav-item {
  padding: 12px 16px;
  font-size: 14px;
  color: #64748b;
  border-right: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tplm-nav-item:last-child {
  border-right: none;
}

.tplm-nav-active {
  background: #ffffff;
  color: #1e293b;
  font-weight: 600;
}

.tplm-mockup-content {
  padding: 0;
}

.tplm-mockup-toolbar {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  align-items: center;
}

.tplm-search-box {
  flex: 1;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  color: #6b7280;
}

.tplm-filter-dropdown, .tplm-add-btn {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
}

.tplm-add-btn {
  background: #3b82f6;
  color: #ffffff;
  border-color: #3b82f6;
}

.tplm-mockup-table {
  background: #ffffff;
}

.tplm-table-header, .tplm-table-row {
  display: grid;
  grid-template-columns: 2fr 2fr 1fr 1fr 1fr;
  gap: 0;
  align-items: center;
}

.tplm-table-header {
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  font-weight: 600;
  font-size: 13px;
  color: #374151;
}

.tplm-table-header .tplm-th, .tplm-table-row .tplm-td {
  padding: 12px 16px;
}

.tplm-table-row {
  border-bottom: 1px solid #f3f4f6;
}

.tplm-table-row:hover {
  background: #f9fafb;
}

.tplm-product-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tplm-product-icon {
  font-size: 16px;
  width: 24px;
  text-align: center;
}

.tplm-product-name {
  font-size: 14px;
  font-weight: 500;
  color: #1f2937;
}

.tplm-license-key {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tplm-license-key code {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  font-family: 'Monaco', 'Courier New', monospace;
  color: #374151;
}

.tplm-copy-btn {
  background: #10b981;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 11px;
  cursor: pointer;
}

.tplm-expire-badge {
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
}

.tplm-expire-soon {
  background: #fef3c7;
  color: #92400e;
}

.tplm-expire-active {
  background: #d1fae5;
  color: #065f46;
}

.tplm-category-badge {
  background: #dbeafe;
  color: #1e40af;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 500;
}

.tplm-row-actions {
  display: flex;
  gap: 4px;
}

.tplm-action-btn {
  background: #f3f4f6;
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 11px;
  color: #374151;
  cursor: pointer;
}

.tplm-mockup-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
}

.tplm-pagination {
  font-size: 12px;
  color: #6b7280;
}

.tplm-bulk-actions {
  display: flex;
  gap: 8px;
  align-items: center;
}

.tplm-bulk-select {
  border: 1px solid #d1d5db;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 12px;
  color: #374151;
}

.tplm-apply-btn {
  background: #6b7280;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 4px 12px;
  font-size: 12px;
  cursor: pointer;
}

.tplm-form-container {
  padding: 24px;
}

.tplm-form-container h3 {
  margin: 0 0 24px;
  font-size: 20px;
  color: #1f2937;
  font-weight: 600;
}

.tplm-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.tplm-form-group {
  display: flex;
  flex-direction: column;
}

.tplm-form-full {
  grid-column: 1 / -1;
}

.tplm-form-group label {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 4px;
}

.tplm-input, .tplm-select, .tplm-textarea {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  color: #1f2937;
  background: #ffffff;
}

.tplm-input:focus, .tplm-select:focus, .tplm-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.tplm-form-group small {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

.tplm-form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  padding-top: 16px;
  border-top: 1px solid #e5e7eb;
}

.tplm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 6px;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.tplm-btn-primary {
  background: #3b82f6;
  color: #ffffff;
  border-color: #3b82f6;
}

.tplm-btn-secondary {
  background: #ffffff;
  color: #374151;
  border-color: #d1d5db;
}

.tplm-btn-tertiary {
  background: #f3f4f6;
  color: #374151;
  border-color: #d1d5db;
}

.tplm-settings-container {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 0;
  min-height: 400px;
}

.tplm-settings-sidebar {
  background: #f9fafb;
  border-right: 1px solid #e5e7eb;
}

.tplm-settings-nav {
  padding: 16px 0;
}

.tplm-settings-item {
  padding: 12px 16px;
  font-size: 14px;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.tplm-settings-active {
  background: #ffffff;
  color: #1f2937;
  font-weight: 500;
  border-left-color: #3b82f6;
}

.tplm-settings-content {
  padding: 24px;
  background: #ffffff;
}

.tplm-settings-section h3 {
  margin: 0 0 24px;
  font-size: 18px;
  color: #1f2937;
  font-weight: 600;
}

.tplm-setting-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f3f4f6;
}

.tplm-setting-item:last-child {
  border-bottom: none;
}

.tplm-setting-item label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 8px;
}

.tplm-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tplm-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
}

.tplm-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: #3b82f6;
}

.tplm-stats-panel {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 20px;
  margin-top: 24px;
}

.tplm-stats-panel h4 {
  margin: 0 0 16px;
  font-size: 16px;
  color: #1f2937;
  font-weight: 600;
}

.tplm-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tplm-stat {
  text-align: center;
}

.tplm-stat-number {
  font-size: 24px;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 4px;
}

.tplm-stat-label {
  font-size: 12px;
  color: #6b7280;
  font-weight: 500;
}

.tplm-screenshot-caption {
  text-align: left;
}

.tplm-screenshot-caption h4 {
  font-size: 16px;
  color: #1f2937;
  margin: 0 0 8px;
  font-weight: 600;
}

.tplm-screenshot-caption p {
  font-size: 13px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

.tplm-backend-benefits {
  text-align: center;
}

.tplm-backend-benefits h3 {
  font-size: 28px;
  color: #1e293b;
  margin: 0 0 32px;
}

.tplm-benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.tplm-benefit-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}

.tplm-benefit-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.tplm-benefit-item h4 {
  font-size: 16px;
  color: #1e293b;
  margin: 0 0 8px;
  font-weight: 600;
}

.tplm-benefit-item p {
  font-size: 14px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* Mobile Responsive for Backend Interface Section */
@media (max-width: 980px) {
  .tplm-backend-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .tplm-interface-grid {
    grid-template-columns: 1fr;
  }
  
  .tplm-benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .tplm-features-card {
    position: static;
  }
  
  .tplm-admin-screenshots {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .tplm-form-grid {
    grid-template-columns: 1fr;
  }
  
  .tplm-settings-container {
    grid-template-columns: 1fr;
  }
  
  .tplm-settings-sidebar {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
  }
  
  .tplm-settings-nav {
    display: flex;
    overflow-x: auto;
    padding: 8px 0;
  }
  
  .tplm-settings-item {
    white-space: nowrap;
    border-left: none;
    border-bottom: 3px solid transparent;
  }
  
  .tplm-settings-active {
    border-left: none;
    border-bottom-color: #3b82f6;
  }
}

@media (max-width: 640px) {
  .tplm-sales__backend-interfaces {
    padding: 48px 20px;
  }
  
  .tplm-backend-main h3 {
    font-size: 24px;
  }
  
  .tplm-backend-main > p {
    font-size: 15px;
  }
  
  .tplm-interface-grid {
    grid-template-columns: 1fr;
  }
  
  .tplm-features-card {
    padding: 20px;
  }
  
  .tplm-interface-showcase {
    padding: 24px;
  }
  
  .tplm-benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .tplm-screenshot-mockup {
    margin-bottom: 12px;
  }
  
  .tplm-mockup-toolbar {
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
  }
  
  .tplm-search-box {
    width: 100%;
  }
  
  .tplm-table-header, .tplm-table-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .tplm-table-header .tplm-th {
    display: none;
  }
  
  .tplm-table-row .tplm-td {
    display: block;
    padding: 8px 16px;
    border-bottom: 1px solid #f3f4f6;
  }
  
  .tplm-table-row .tplm-td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #374151;
    display: block;
    margin-bottom: 4px;
  }
  
  .tplm-form-actions {
    flex-direction: column;
  }
  
  .tplm-btn {
    width: 100%;
    justify-content: center;
  }
  
  .tplm-stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
}
