/* Payment Page Styles */

.header p {
  margin-left:18px;
}
.payment-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px 40px;
}

/* Notification Bar - matches home page styling */
.notification {
  position: fixed;
  top: -100px;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
  padding: 12px 20px;
  text-align: center;
  font-weight: 500;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(239,68,68,.25);
  z-index: 1000;
  transition: top .3s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.notification.show {
  top: 0;
}

.notification-message {
  flex: 1;
  text-align: center;
}

.notification-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.notification-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: white;
}

.tier-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-bottom: 60px;
}

.tier-card {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  position: relative;
}

.tier-card.pro {
  border-color: var(--accent);
  position: relative;
}

.tier-card.pro::before {
  content: "Best Value";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: white;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.tier-card h3 {
  margin: 0 0 16px 0;
  font-size: 24px;
  color: var(--text);
}

.price {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.currency-selector {
  text-align: center;
  margin-bottom: 30px;
}

.currency-selector label {
  margin-right: 10px;
  color: var(--text);
}

.currency-selector select {
  padding: 8px 12px;
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  color: var(--text);
}

.subtitle {
  color: var(--muted);
  margin-bottom: 24px;
  font-size: 14px;
}

.tier-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  text-align: left;
}

.tier-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--stroke);
  position: relative;
  padding-left: 24px;
}

.tier-card li:last-child {
  border-bottom: none;
}

.tier-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.tier-card.free li::before {
  color: var(--muted);
}

.purchase-btn {
  width: 100%;
  margin-top: 20px;
  padding: 14px;
  font-size: 16px;
  text-align: center !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.key-entry-section {
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  grid-column: 1 / -1;
  margin-top: 40px;
}

.key-entry-section h2 {
  margin: 0 0 12px 0;
  font-size: 24px;
}

.key-form {
  max-width: 400px;
  margin: 30px auto 0;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text);
}

.form-group input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--stroke);
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
}

.form-group input:focus {
  outline: none;
  border-color: var(--accent);
}

.key-status {
  margin-top: 20px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
}

.key-status.success {
  background: var(--ok-bg);
  border: 1px solid var(--ok-border);
  color: var(--ok);
}

.key-status.error {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--danger);
}

.hidden {
  display: none;
}

.scan-highlight {
  font-weight: 800;
}
  .price .currency {
  font-size: 0.3em;
  color: var(--muted);
  font-weight: 400;
  margin-left: 2px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .tier-comparison {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .tier-card {
    padding: 24px;
  }
  
  .price {
    font-size: 36px;
  }
  
  .key-entry-section {
    padding: 24px;
  }
}