/* ============================================
   PRICING CARDS — SkyServer Enterprise Theme
   Royal Blue (#4169E1) + Outfit, light/white cards
   Matches home page hero/hardware card styling.
   Font: Outfit is already loaded site-wide.
   ============================================ */

:root {
  --pc-font: 'Outfit', system-ui, -apple-system, sans-serif;

  --pc-bg-page: #f7f9fc;
  --pc-bg-card: #ffffff;

  --pc-text-primary: #0f1b33;
  --pc-text-secondary: #3d4a63;
  --pc-text-muted: #8d97ad;

  --pc-accent: #4169E1;
  --pc-accent-hover: #2f51c4;
  --pc-accent-light: #eef2fd;
  --pc-accent-text: #2c49a8;

  --pc-green: #0f8a55;
  --pc-green-light: rgba(16,185,129,0.10);
  --pc-green-border: rgba(16,185,129,0.22);

  --pc-border: #e7ebf3;
  --pc-border-soft: #eef1f6;
  --pc-border-featured: #4169E1;

  --pc-badge-popular-bg: #4169E1;
  --pc-badge-popular-text: #ffffff;

  --pc-shadow-card: 0 1px 3px rgba(16,30,54,0.04), 0 8px 24px rgba(16,30,54,0.045);
  --pc-shadow-card-hover: 0 10px 34px rgba(16,30,54,0.10);
  --pc-shadow-featured: 0 12px 36px rgba(65,105,225,0.20);

  --pc-radius-card: 16px;
  --pc-radius-btn: 10px;
  --pc-radius-badge: 6px;
  --pc-radius-pill: 999px;
}

/* --- Section Wrapper --- */
.pc-section {
  font-family: var(--pc-font);
  background: var(--pc-bg-page);
  padding: 64px 20px;
  text-align: center;
}

/* --- Header --- */
.pc-header { margin-bottom: 40px; display: flex; flex-direction: column; align-items: center; }

.pc-header h2 {
  font-family: var(--pc-font);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 700;
  color: var(--pc-text-primary);
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.pc-header-perks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 22px;
  margin-bottom: 26px;
}

.pc-perk {
  font-size: 13.5px;
  color: var(--pc-text-secondary);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pc-perk::before {
  content: "✓";
  color: var(--pc-green);
  font-weight: 700;
}

/* --- Cycle Selector (pills) --- */
.pc-cycle-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.pc-cycle-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: var(--pc-radius-pill);
  border: 1.5px solid var(--pc-border);
  background: var(--pc-bg-card);
  color: var(--pc-text-secondary);
  font-family: var(--pc-font);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all .16s ease;
}

.pc-cycle-pill:hover { border-color: var(--pc-accent); color: var(--pc-accent); }

.pc-cycle-pill.active {
  background: var(--pc-accent);
  border-color: var(--pc-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(65,105,225,0.26);
}

.pc-cycle-save {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--pc-radius-pill);
  background: var(--pc-green-light);
  color: var(--pc-green);
  border: 1px solid var(--pc-green-border);
}

.pc-cycle-pill.active .pc-cycle-save {
  background: rgba(255,255,255,0.22);
  color: #fff;
  border-color: rgba(255,255,255,0.30);
}

/* --- Cards Grid --- */
.pc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(232px, 1fr));
  gap: 20px;
  max-width: 1140px;
  margin: 38px auto 0;
  align-items: stretch;
}

/* --- Single Card --- */
.pc-card {
  background: var(--pc-bg-card);
  border: 1.5px solid var(--pc-border);
  border-radius: var(--pc-radius-card);
  padding: 28px 24px 24px;
  text-align: left;
  position: relative;
  transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
  box-shadow: var(--pc-shadow-card);
  display: flex;
  flex-direction: column;
}

.pc-card:hover {
  box-shadow: var(--pc-shadow-card-hover);
  transform: translateY(-3px);
  border-color: #d8deea;
}

.pc-card.is-featured {
  border-color: var(--pc-border-featured);
  border-width: 2px;
  box-shadow: var(--pc-shadow-featured);
  transform: translateY(-6px);
}

.pc-card.is-featured:hover {
  transform: translateY(-9px);
  box-shadow: 0 16px 44px rgba(65,105,225,0.26);
}

/* --- Popular Badge --- */
.pc-popular-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--pc-badge-popular-bg);
  color: var(--pc-badge-popular-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: var(--pc-radius-pill);
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(65,105,225,0.30);
}

/* --- Top-right tag --- */
.pc-tag-top {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pc-accent-text);
  background: var(--pc-accent-light);
  border: 1px solid #cfdbf8;
  border-radius: var(--pc-radius-badge);
  padding: 3px 8px;
}

/* --- Name & Tagline --- */
.pc-card-name {
  font-family: var(--pc-font);
  font-size: 20px;
  font-weight: 700;
  color: var(--pc-text-primary);
  margin: 0 0 4px;
}

.pc-card-tagline {
  font-size: 12.5px;
  color: var(--pc-text-secondary);
  margin: 0 0 16px;
  min-height: 18px;
  line-height: 1.45;
}

/* --- Discount + Original Price (subtle, enterprise) --- */
.pc-price-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.pc-badge-off {
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--pc-radius-badge);
  background: var(--pc-green-light);
  color: var(--pc-green);
  border: 1px solid var(--pc-green-border);
  letter-spacing: 0.02em;
}

.pc-original-price {
  font-size: 13px;
  color: var(--pc-text-muted);
  text-decoration: line-through;
}

/* --- Main Price --- */
.pc-price-row {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 4px;
  flex-wrap: wrap;
}

.pc-currency {
  font-size: 20px;
  font-weight: 700;
  color: var(--pc-text-primary);
  line-height: 1;
  flex-shrink: 0;
}

.pc-amount {
  font-family: var(--pc-font);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 800;
  color: var(--pc-text-primary);
  line-height: 1;
  letter-spacing: -1px;
  word-break: break-all;
  max-width: 100%;
}

.pc-amount.pc-amt-sm  { font-size: 34px; letter-spacing: -0.5px; }
.pc-amount.pc-amt-xs  { font-size: 27px; letter-spacing: -0.5px; }
.pc-amount.pc-amt-xxs { font-size: 22px; letter-spacing: 0; }

.pc-period {
  font-size: 14px;
  color: var(--pc-text-secondary);
  margin-left: 3px;
  font-weight: 500;
  flex-shrink: 0;
}

/* --- Billing note --- */
.pc-billing-note {
  font-size: 11.5px;
  color: var(--pc-text-muted);
  margin: 2px 0 16px;
  line-height: 1.5;
  background: none !important;
  background-color: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

.pc-setup-note {
  font-size: 11.5px;
  color: var(--pc-text-muted);
  margin: -8px 0 14px;
}

/* --- CTA Buttons --- */
.pc-btn {
  font-family: var(--pc-font);
  display: block;
  width: 100%;
  padding: 12px 0;
  border-radius: var(--pc-radius-btn);
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: background .18s, transform .12s, box-shadow .18s, border-color .18s;
  border: 1.5px solid transparent;
  margin-bottom: 14px;
  box-sizing: border-box;
}

.pc-btn-outline {
  background: #fff;
  border-color: var(--pc-accent);
  color: var(--pc-accent);
}

.pc-btn-outline:hover {
  background: var(--pc-accent-light);
  transform: translateY(-1px);
}

.pc-btn-filled {
  background: var(--pc-accent);
  color: #fff;
  border-color: var(--pc-accent);
  box-shadow: 0 4px 14px rgba(65,105,225,0.30);
}

.pc-btn-filled:hover {
  background: var(--pc-accent-hover);
  border-color: var(--pc-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(65,105,225,0.38);
}

.pc-btn:active { transform: scale(0.98); }

/* --- Group Badge --- */
.pc-group-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--pc-accent-text);
  background: var(--pc-accent-light);
  border: 1px solid #cfdbf8;
  border-radius: var(--pc-radius-badge);
  padding: 4px 10px;
  margin-bottom: 10px;
  text-align: center;
}

/* --- Renewal Strip (subtle / enterprise) --- */
.pc-renewal-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--pc-text-secondary);
  background: #f4f6fa;
  border: 1px solid var(--pc-border);
  border-radius: 8px;
  padding: 7px 10px;
  text-align: center;
  margin-bottom: 18px;
}

.pc-renewal-strip::before {
  content: "\1F6E1";
  font-size: 12px;
  filter: grayscale(0.2);
}

/* --- Divider --- */
.pc-divider {
  height: 1px;
  background: var(--pc-border-soft);
  margin: 2px 0 16px;
}

/* --- Features --- */
.pc-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pc-features li {
  font-size: 13px;
  color: var(--pc-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.45;
}

.pc-features li.disabled {
  color: var(--pc-text-muted);
  text-decoration: line-through;
}

.pc-check {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--pc-accent);
}

.pc-cross {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: var(--pc-text-muted);
}

.pc-feature-bold { font-weight: 700; color: var(--pc-text-primary); }

.pc-feature-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 4px;
  background: var(--pc-accent-light);
  color: var(--pc-accent-text);
}

.pc-feature-badge.new { background: #fef3c7; color: #92400e; }

/* --- See All --- */
.pc-see-all {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--pc-accent);
  background: none;
  border: none;
  cursor: pointer;
  padding: 14px 0 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-family: var(--pc-font);
}

/* --- Empty --- */
.pc-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--pc-text-secondary);
  font-size: 15px;
  padding: 40px 0;
}

/* --- Skeleton --- */
.pc-skeleton { pointer-events: none; }
.pc-skel-line {
  background: linear-gradient(90deg,#eef1f6 25%,#f7f9fc 50%,#eef1f6 75%);
  background-size: 200% 100%;
  animation: pc-shimmer 1.4s infinite;
  border-radius: 6px;
}
@keyframes pc-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* --- Custom Bar --- */
.pc-custom-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 1140px;
  margin: 26px auto 0;
  padding: 14px 24px;
}

.pc-custom-text { font-size: 14px; color: var(--pc-text-secondary); }
.pc-custom-sep { font-size: 14px; color: var(--pc-text-muted); margin: 0 2px; }
.pc-custom-label { font-size: 14px; font-weight: 700; color: var(--pc-text-primary); }

.pc-custom-link {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--pc-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: none;
  padding: 0;
  margin-left: 6px;
  transition: opacity .18s;
}
.pc-custom-link:hover { opacity: 0.78; }

/* --- Responsive --- */
@media (max-width: 600px) {
  .pc-grid { grid-template-columns: 1fr; }
  .pc-section { padding: 44px 14px; }
  .pc-amount { font-size: clamp(28px, 9vw, 38px); }
  .pc-card.is-featured { transform: translateY(0); }
  .pc-card.is-featured:hover { transform: translateY(-3px); }
}
