/* ==========================================
   KRESTAPAY PACKAGE DETAILS PAGE CSS
========================================== */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', sans-serif;
  background: #f8f6fa;
  color: #111827;
  padding-top: 90px;
  min-height: 100vh;
}

/* ==========================================
   HERO BANNER
========================================== */

.pd-hero {
  background: linear-gradient(135deg, #EA8534 0%, #c0392b 55%, #A0111A 100%);
  padding: 40px 20px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pd-hero::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  top: -120px; right: -80px;
  pointer-events: none;
}

.pd-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.30);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.pd-hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -1.5px;
  margin-bottom: 10px;
}

.pd-hero p {
  color: rgba(255,255,255,0.80);
  font-size: 1rem;
}

/* ==========================================
   MAIN WRAPPER
========================================== */

.pd-wrapper {
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: 48px 24px 0;
  position: relative;
  z-index: 2;
}

.pd-wrapper > .pd-back-link {
  display: none;
}

/* ==========================================
   GRID LAYOUT
========================================== */

.pd-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

/* ==========================================
   LEFT - MAIN DETAILS CARD
========================================== */

.pd-main-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid #E5E7EB;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  overflow: hidden;
}

.pd-card-header {
  padding: 32px 36px 28px;
  border-bottom: 1px solid #F3F4F6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.pd-plan-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(234,133,52,0.10);
  color: #EA8534;
  margin-bottom: 10px;
}

.pd-card-header h2 {
  font-size: 1.9rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.5px;
}

.pd-price-block {
  text-align: right;
}

.pd-price-block .pd-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: #EA8534;
  vertical-align: top;
  line-height: 1.6;
}

.pd-price-block .pd-amount {
  font-size: 3rem;
  font-weight: 800;
  color: #EA8534;
  line-height: 1;
  letter-spacing: -2px;
}

.pd-price-block .pd-custom {
  font-size: 2rem;
  font-weight: 800;
  color: #EA8534;
  line-height: 1.2;
}

.pd-price-block small {
  display: block;
  font-size: 0.82rem;
  color: #9CA3AF;
  margin-top: 4px;
}

/* Body sections */
.pd-card-body {
  padding: 32px 36px;
}

.pd-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pd-section-title i {
  width: 34px; height: 34px;
  border-radius: 10px;
  background: rgba(234,133,52,0.10);
  color: #EA8534;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* Features grid */
.pd-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 32px;
}

.pd-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: #F9FAFB;
  border: 1px solid #F3F4F6;
  transition: all 0.3s ease;
}

.pd-feature-item:hover {
  border-color: rgba(234,133,52,0.3);
  background: rgba(234,133,52,0.04);
}

.pd-feature-item i {
  color: #EA8534;
  font-size: 0.85rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.pd-feature-item span {
  font-size: 0.9rem;
  color: #374151;
  font-weight: 500;
  line-height: 1.4;
}

.pd-divider {
  height: 1px;
  background: #F3F4F6;
  margin: 28px 0;
}

/* Info row: Support + Timeline */
.pd-info-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.pd-info-box {
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(234,133,52,0.06), rgba(160,17,26,0.04));
  border: 1px solid rgba(234,133,52,0.18);
}

.pd-info-box label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #9CA3AF;
  margin-bottom: 8px;
}

.pd-info-box label i { color: #EA8534; font-size: 0.85rem; }

.pd-info-box strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111827;
  display: block;
}

.pd-info-box p {
  font-size: 0.83rem;
  color: #6B7280;
  margin-top: 4px;
}

/* ==========================================
   RIGHT - STICKY SUMMARY CARD
========================================== */

.pd-summary-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid #E5E7EB;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  padding: 32px 28px;
  position: sticky;
  top: 110px;
}

.pd-summary-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid #F3F4F6;
}

.pd-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.pd-summary-row .label { color: #6B7280; }
.pd-summary-row .value { font-weight: 600; color: #111827; }

.pd-summary-total {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 2px solid #F3F4F6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pd-summary-total .label {
  font-size: 1rem;
  font-weight: 700;
  color: #111827;
}

.pd-summary-total .value {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #EA8534, #A0111A);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Checkout button */
.pd-checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 56px;
  margin-top: 24px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #EA8534, #A0111A);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 8px 24px rgba(234,133,52,0.30);
}

.pd-checkout-btn:hover {
  background: linear-gradient(135deg, #A0111A, #EA8534);
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(160,17,26,0.35);
}

/* Trust badges */
.pd-trust {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pd-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.83rem;
  color: #6B7280;
}

.pd-trust-item i { color: #EA8534; font-size: 0.85rem; width: 16px; }

/* Back link */
.pd-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 22px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 8px 18px;
  border-radius: 999px;
  transition: all 0.3s ease;
}
.pd-back-link:hover {
  background: rgba(255,255,255,0.30);
  color: #fff;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 900px) {
  .pd-grid { grid-template-columns: 1fr; }
  .pd-summary-card { position: static; }
  .pd-hero h1 { font-size: 2rem; }
}

@media (max-width: 600px) {
  .pd-features-grid { grid-template-columns: 1fr; }
  .pd-info-row { grid-template-columns: 1fr; }
  .pd-card-header { flex-direction: column; align-items: flex-start; }
  .pd-price-block { text-align: left; }
  .pd-card-body, .pd-card-header { padding: 24px 20px; }
  .pd-hero h1 { font-size: 1.7rem; letter-spacing: -0.5px; }
  .pd-wrapper { padding: 0 16px; }
}
