/* Subscription / pricing plans — public website + student portal */

.pricing-hero {
  background: linear-gradient(165deg, #eff6ff 0%, #f8fafc 55%, #fff 100%);
  padding: 48px 0 56px;
  border-bottom: 1px solid #e2e8f0;
}

.pricing-hero-inner {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.pricing-hero h1 {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  color: #0f172a;
  line-height: 1.15;
  margin: 0 0 14px;
}

.pricing-hero p {
  font-size: 17px;
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

.pricing-trust {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.pricing-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
}

.pricing-section {
  padding: 56px 0 72px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

@media (max-width: 991px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 28px 24px 24px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.1);
}

.pricing-card.is-featured {
  border-color: #2563eb;
  box-shadow: 0 12px 40px rgba(37, 99, 235, 0.15);
  z-index: 1;
}

@media (min-width: 992px) {
  .pricing-card.is-featured {
    transform: scale(1.03);
  }

  .pricing-card.is-featured:hover {
    transform: scale(1.03) translateY(-4px);
  }
}

.pricing-card-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-card-tier {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 8px;
}

.pricing-card.is-featured .pricing-card-tier {
  color: #2563eb;
}

.pricing-card-name {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 12px;
  line-height: 1.2;
}

.pricing-card-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 4px;
}

.pricing-card-price .amount {
  font-size: 40px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
}

.pricing-card-price .currency {
  font-size: 16px;
  font-weight: 700;
  color: #64748b;
}

.pricing-card-billing {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 16px;
}

.pricing-card-desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 20px;
}

.pricing-form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pricing-form-input,
.pricing-form-select,
.pricing-form-textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: #0f172a;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 11px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.pricing-form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 40px;
}

.pricing-form-textarea {
  resize: vertical;
  min-height: 72px;
}

.pricing-form-input:focus,
.pricing-form-select:focus,
.pricing-form-textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.pricing-form-input::placeholder,
.pricing-form-textarea::placeholder {
  color: #94a3b8;
}

.pricing-card-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  flex: 1;
}

.pricing-card-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #334155;
  line-height: 1.45;
  margin-bottom: 10px;
}

.pricing-card-features li svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: #16a34a;
}

.pricing-card-cta {
  display: block;
  width: 100%;
  text-align: center;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.pricing-card-cta-primary {
  background: #2563eb;
  color: #fff;
}

.pricing-card-cta-primary:hover {
  background: #1d4ed8;
  color: #fff;
}

.pricing-card-cta-outline {
  background: #fff;
  color: #2563eb;
  border: 1.5px solid #2563eb;
}

.pricing-card-cta-outline:hover {
  background: #eff6ff;
  color: #1d4ed8;
}

.pricing-card.is-featured .pricing-card-cta-outline {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}

.pricing-card.is-featured .pricing-card-cta-outline:hover {
  background: #1d4ed8;
}

.pricing-payment-strip {
  margin-top: 48px;
  padding: 28px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
}

.pricing-payment-strip h2 {
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 16px;
  text-align: center;
}

.pricing-payment-accounts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.pricing-payment-account {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}

.pricing-payment-account .label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 8px;
}

.pricing-payment-account .number {
  font-size: 22px;
  font-weight: 800;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #0f172a;
}

.pricing-payment-account .title {
  font-size: 13px;
  color: #64748b;
  margin-top: 6px;
}

.pricing-instructions {
  font-size: 14px;
  color: #475569;
  line-height: 1.65;
  white-space: pre-line;
  background: #fff;
  border-radius: 12px;
  padding: 18px 20px;
  border: 1px solid #e2e8f0;
}

.pricing-home-teaser {
  background: #fff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 56px 0;
}

.pricing-home-teaser .pricing-grid {
  margin-top: 32px;
}

.pricing-checkout-form {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pricing-checkout-form label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
}

.pricing-checkout-toggle {
  margin-top: auto;
  padding-top: 8px;
}

.pricing-checkout-toggle summary {
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  color: #2563eb;
  list-style: none;
}

.pricing-checkout-toggle summary::-webkit-details-marker {
  display: none;
}

.pricing-status-banner {
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 14px;
  margin-bottom: 24px;
}

.pricing-status-banner.is-success {
  background: #dcfce7;
  border: 1px solid #86efac;
  color: #166534;
}

.pricing-status-banner.is-warning {
  background: #fef3c7;
  border: 1px solid #fde68a;
  color: #92400e;
}

.pricing-status-banner.is-error {
  background: #fee2e2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

.pricing-faq {
  max-width: 640px;
  margin: 48px auto 0;
  text-align: center;
}

.pricing-faq h2 {
  font-size: 22px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
}

.pricing-faq p {
  font-size: 15px;
  color: #64748b;
  line-height: 1.65;
  margin: 0;
}
