/* Curiovex Subscription & Pricing Styles — Cyber Black & Neon Mint Theme */
.pricing-view {
  max-width: 1140px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.pricing-hero {
  text-align: center;
  margin-bottom: 48px;
}

.pricing-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 700 12px "JetBrains Mono", monospace;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b5b5b5;
  background: rgba(153, 153, 153, 0.08);
  border: 1px solid rgba(153, 153, 153, 0.3);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
  box-shadow: 0 0 15px rgba(153, 153, 153, 0.12);
}

.pricing-hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 16px;
}

.pricing-hero p {
  font-size: 17px;
  color: #a6a6a6;
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Pricing Grid */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-bottom: 48px;
}

.pricing-card {
  position: relative;
  background: linear-gradient(180deg, rgba(17, 17, 17, 0.95), rgba(11, 11, 11, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(12px);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: rgba(153, 153, 153, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.pricing-card.featured {
  border-color: rgba(153, 153, 153, 0.5);
  box-shadow: 0 0 40px rgba(153, 153, 153, 0.15), 0 20px 40px rgba(0, 0, 0, 0.6);
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.95), rgba(5, 10, 8, 0.98));
}

.pricing-ribbon {
  position: absolute;
  top: -13px;
  right: 28px;
  background: linear-gradient(135deg, #999999, #7b7b7b);
  color: #030708;
  font: 800 11px "JetBrains Mono", monospace;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(153, 153, 153, 0.22);
}

.plan-head {
  margin-bottom: 24px;
}

.plan-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.plan-desc {
  font-size: 14px;
  color: #a6a6a6;
  line-height: 1.5;
  min-height: 42px;
}

.plan-price-box {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 20px 0 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.plan-price {
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1.5px;
  line-height: 1;
}

.plan-period {
  font-size: 14px;
  color: #777777;
  font-weight: 500;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  flex: 1;
}

.plan-features li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #d7d7d7;
  margin-bottom: 14px;
  line-height: 1.45;
}

.plan-features li.disabled {
  color: #575757;
  text-decoration: line-through;
}

.plan-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(153, 153, 153, 0.15);
  color: #999999;
  font-weight: 800;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-cross {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(166, 166, 166, 0.08);
  color: #575757;
  font-size: 12px;
  flex-shrink: 0;
  margin-top: 1px;
}

.plan-btn {
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
}

.plan-btn.primary {
  position: relative;
  background: linear-gradient(135deg, #999999, #7b7b7b);
  color: #030708 !important;
  font-weight: 800;
  border: 1px solid rgba(206, 206, 206, 0.6);
  box-shadow: 0 4px 20px rgba(153, 153, 153, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.plan-btn.primary:hover {
  background: linear-gradient(135deg, #b5b5b5, #999999);
  box-shadow: 0 6px 28px rgba(206, 206, 206, 0.22);
  transform: translateY(-1px);
}

.plan-btn.active-btn {
  background: rgba(153, 153, 153, 0.12);
  color: #999999;
  border: 1px solid rgba(153, 153, 153, 0.3);
  cursor: default;
}

/* Student & Educator Callout */
.student-callout {
  background: linear-gradient(135deg, rgba(18, 18, 18, 0.85), rgba(5, 10, 8, 0.95));
  border: 1px solid rgba(153, 153, 153, 0.3);
  border-radius: 20px;
  padding: 36px 32px;
  margin-bottom: 48px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 30px rgba(153, 153, 153, 0.1);
}

@media (min-width: 768px) {
  .student-callout {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.student-info {
  max-width: 540px;
}

.student-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 700 11px "JetBrains Mono", monospace;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #b5b5b5;
  background: rgba(153, 153, 153, 0.12);
  border: 1px solid rgba(153, 153, 153, 0.3);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.student-info h3 {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.student-info p {
  font-size: 14.5px;
  color: #a6a6a6;
  line-height: 1.55;
  margin: 0;
}

.student-redeem-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 300px;
}

.student-input-wrap {
  display: flex;
  gap: 8px;
}

.student-input-wrap input {
  flex: 1;
  background: rgba(9, 9, 9, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13.5px;
  color: #fff;
  outline: none;
  transition: all 0.2s;
}

.student-input-wrap input:focus {
  border-color: #999999;
  box-shadow: 0 0 14px rgba(153, 153, 153, 0.22);
}

.student-redeem-box button {
  white-space: nowrap;
}

.student-msg {
  font-size: 13px;
  font-weight: 600;
  min-height: 18px;
}
.student-msg.success { color: #999999; }
.student-msg.error { color: #848484; }

/* FAQ Section */
.pricing-faq {
  margin-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 48px;
}

.pricing-faq h2 {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  text-align: center;
  margin-bottom: 32px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.faq-item {
  background: rgba(17, 17, 17, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 14px;
  padding: 22px;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: rgba(153, 153, 153, 0.25);
}

.faq-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: #e9e9e9;
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 14px;
  color: #a6a6a6;
  line-height: 1.55;
  margin: 0;
}

/* Modals & Paywall */
.pro-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(3, 5, 8, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.pro-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.pro-paywall-modal, .pro-checkout-modal {
  position: relative;
  max-width: 520px;
  width: 90vw;
  background: #0d0d0d;
  border: 1px solid rgba(153, 153, 153, 0.35);
  border-radius: 20px;
  padding: 32px;
  color: #e9e9e9;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(153, 153, 153, 0.15);
  transform: scale(0.95);
  transition: transform 0.25s ease;
  max-height: 90vh;
  overflow-y: auto;
}

.pro-modal-backdrop.active .pro-paywall-modal,
.pro-modal-backdrop.active .pro-checkout-modal {
  transform: scale(1);
}

.pro-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #a6a6a6;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.2s;
}

.pro-modal-close:hover {
  background: rgba(153, 153, 153, 0.2);
  color: #cecece;
  border-color: rgba(153, 153, 153, 0.4);
}

.pro-paywall-header {
  text-align: center;
  margin-bottom: 24px;
}

.pro-paywall-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(153, 153, 153, 0.12);
  color: #cecece;
  font-size: 26px;
  margin-bottom: 14px;
  border: 1px solid rgba(153, 153, 153, 0.3);
  box-shadow: 0 0 20px rgba(153, 153, 153, 0.2);
}

.pro-paywall-header h2 {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.pro-paywall-header p {
  font-size: 14px;
  color: #a6a6a6;
  line-height: 1.5;
  margin: 0;
}

.paywall-student-card {
  background: rgba(18, 18, 18, 0.7);
  border: 1px solid rgba(153, 153, 153, 0.3);
  border-radius: 14px;
  padding: 18px;
  margin: 20px 0;
}

.paywall-student-card label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #b5b5b5;
  margin-bottom: 8px;
}

.paywall-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
  color: #777777;
  font: 700 11px "JetBrains Mono", monospace;
  text-transform: uppercase;
}

.paywall-divider::before, .paywall-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.checkout-summary {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  margin: 20px 0;
}

.checkout-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  padding: 6px 0;
  color: #a6a6a6;
}

.checkout-row.total {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 8px;
  padding-top: 10px;
  font-size: 16px;
  font-weight: 700;
  color: #cecece;
}

.mock-card-input {
  background: rgba(9, 9, 9, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: "JetBrains Mono", monospace;
  font-size: 13.5px;
  color: #fff;
  width: 100%;
  margin-bottom: 12px;
  box-sizing: border-box;
}

.mock-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
}

/* ========================================================
   10x BETTER CYBER-LUMINESCENT PREMIUM BUTTON (Black & Green)
   ======================================================== */
.upgrade-pill-btn {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 7px 16px 7px 14px !important;
  border-radius: 999px !important;
  font-family: "JetBrains Mono", monospace !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  color: #cecece !important;
  background: #05070a !important;
  border: 1px solid rgba(153, 153, 153, 0.5) !important;
  box-shadow: 0 0 16px rgba(153, 153, 153, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.12) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  overflow: hidden !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  z-index: 1;
}

/* Animated gradient rim */
.upgrade-pill-btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 999px;
  background: linear-gradient(90deg, #999999, #cecece, #7b7b7b, #b5b5b5, #999999);
  background-size: 300% 100%;
  z-index: -2;
  opacity: 0.6;
  animation: cyber-border-flow 4s linear infinite;
  transition: opacity 0.25s ease;
}

/* Deep obsidian inner mask */
.upgrade-pill-btn::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 999px;
  background: linear-gradient(180deg, #0f0f0f, #05070a);
  z-index: -1;
  transition: background 0.25s ease;
}

.upgrade-pill-btn:hover {
  transform: translateY(-1px) scale(1.03);
  color: #ffffff !important;
  box-shadow: 0 0 28px rgba(206, 206, 206, 0.22), 0 4px 14px rgba(0, 0, 0, 0.7) !important;
  border-color: rgba(206, 206, 206, 0.9) !important;
}

.upgrade-pill-btn:hover::before {
  opacity: 1;
  animation-duration: 2s;
}

.upgrade-pill-btn:hover::after {
  background: linear-gradient(180deg, #181818, #0b0b0b);
}

.upgrade-pill-btn:active {
  transform: translateY(0) scale(0.97);
}

.upgrade-pill-btn .pro-star {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cecece;
  font-size: 13px;
  line-height: 1;
  text-shadow: 0 0 8px #cecece;
  animation: star-pulse 2.5s ease-in-out infinite;
  transition: transform 0.25s ease;
}

.upgrade-pill-btn:hover .pro-star {
  transform: rotate(72deg) scale(1.2);
  color: #ffffff;
  text-shadow: 0 0 12px #cecece;
}

@keyframes cyber-border-flow {
  0% { background-position: 0% 50%; }
  100% { background-position: 300% 50%; }
}

@keyframes star-pulse {
  0%, 100% { transform: scale(1); opacity: 0.9; }
  50% { transform: scale(1.25); opacity: 1; filter: drop-shadow(0 0 6px #cecece); }
}

/* Active Pro Badge (when user has unlocked Pro) */
.pro-active-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(153, 153, 153, 0.12);
  color: #cecece;
  border: 1px solid rgba(153, 153, 153, 0.45);
  font: 800 11px "JetBrains Mono", monospace;
  letter-spacing: 0.5px;
  padding: 5px 12px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 0 16px rgba(153, 153, 153, 0.22);
  transition: all 0.2s ease;
}

.pro-active-badge:hover {
  background: rgba(153, 153, 153, 0.2);
  border-color: rgba(206, 206, 206, 0.7);
  box-shadow: 0 0 22px rgba(206, 206, 206, 0.22);
  transform: translateY(-1px);
}

/* Case Pro Tag on Cards */
.case-pro-tag {
  background: linear-gradient(135deg, #999999, #7b7b7b);
  color: #020608;
  font: 800 10px "JetBrains Mono", monospace;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 0 10px rgba(153, 153, 153, 0.22);
}

.cases-pro-banner {
  background: linear-gradient(90deg, rgba(18, 18, 18, 0.9), rgba(10, 10, 10, 0.95));
  border: 1px solid rgba(153, 153, 153, 0.3);
  border-radius: 12px;
  padding: 14px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  color: #e9e9e9;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.cases-pro-banner code {
  background: rgba(153, 153, 153, 0.15);
  color: #cecece;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
}
