/* ==========================================================================
   Pulp House Publishing - Shared Packages & Pricing Stylesheet
   ========================================================================== */

/* 1. Award Banner Section */
.ph-award-banner {
  background-color: #ffffff;
  padding: 60px 0;
  border-bottom: 1px solid rgba(158, 39, 169, 0.15);
  color: #341E36;
}

.ph-award-banner-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.ph-award-banner-left {
  flex: 1 1 58%;
  text-align: left;
}

.ph-award-banner-right {
  flex: 1 1 42%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ph-award-banner-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 1.25rem;
  color: #341E36;
}

.ph-award-banner-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #341E36;
  opacity: 0.9;
  margin-bottom: 0;
}

.ph-certi-img {
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(52, 30, 54, 0.15);
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(158, 39, 169, 0.2);
  transition: transform 0.3s ease;
}

.ph-certi-img:hover {
  transform: scale(1.02);
}

/* 2. Fast-Track CTA Banner Section */
.ph-fasttrack-cta-section {
  padding: 40px 16px;
  background: #ffffff;
  border-bottom: 1px solid rgba(158, 39, 169, 0.1);
}

.ph-fasttrack-cta-card {
  max-width: 1220px;
  margin: 0 auto;
  background: linear-gradient(135deg, #1c0a27 0%, #30113c 100%);
  border-radius: 24px;
  padding: 44px 48px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.ph-fasttrack-left {
  flex: 1 1 65%;
  text-align: left;
}

.ph-fasttrack-tag {
  display: inline-block;
  color: #ff9cf8;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ph-fasttrack-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 12px;
}

.ph-fasttrack-title .ph-highlight-pink {
  color: #ff9cf8;
}

.ph-fasttrack-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  max-width: 620px;
}

.ph-fasttrack-right {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.ph-fasttrack-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  background: linear-gradient(135deg, #9e27a8 0%, #ec4899 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(158, 39, 168, 0.5);
  transition: all 0.3s ease;
  text-decoration: none;
}

.ph-fasttrack-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(158, 39, 168, 0.7);
  color: #ffffff !important;
}

.ph-fasttrack-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.ph-fasttrack-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  color: #ffffff !important;
}

/* 3. Main Packages Section */
.ph-packages-section {
  background: linear-gradient(135deg, #1f0c29 0%, #2a1133 100%);
  padding: 60px 16px 80px;
  color: #ffffff;
  position: relative;
}

.ph-packages-inner {
  max-width: 1220px;
  margin: 0 auto;
  text-align: left;
}

.ph-packages-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 28px;
  letter-spacing: -0.5px;
  color: #ffffff;
  text-align: left;
}

.ph-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  width: 100%;
}

.ph-card {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 24px 20px 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.ph-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 50px rgba(168, 50, 184, 0.35);
  border-color: rgba(255, 156, 248, 0.4);
}

.ph-card-featured {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.09);
}

.ph-card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 56px;
  height: auto;
  z-index: 3;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

.ph-card-header {
  text-align: center;
  margin-bottom: 8px;
}

.ph-card-title {
  font-family: var(--font-heading, 'Outfit', sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #ffffff;
}

.ph-card-subtitle {
  font-style: italic;
  font-size: 0.88rem;
  margin-bottom: 6px;
  opacity: 0.9;
  color: #ffc9fa;
}

.ph-card-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ff9cf8;
  letter-spacing: -0.3px;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.ph-manuscript-badge {
  display: none;
}

.ph-feature-list {
  list-style: none;
  margin: 8px 0 0;
  padding: 0 8px 0 0;
  max-height: 250px;
  overflow-y: auto;
  text-align: left;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.85) transparent;
}

.ph-feature-list::-webkit-scrollbar {
  width: 6px;
}

.ph-feature-list::-webkit-scrollbar-track {
  background: transparent;
}

.ph-feature-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 10px;
}

.ph-feature-list li {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 0.93rem;
  line-height: 1.45;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.ph-feature-list li.ph-feature-heading {
  font-weight: 800;
  font-size: 1rem;
  color: #ff9cf8;
  padding-top: 12px;
  border-bottom: none;
}

.ph-feature-list li:last-child {
  border-bottom: none;
}

.ph-feature-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #a832b8 0%, #ec4899 100%);
  color: #ffffff;
  font-weight: 900;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.ph-card-actions {
  text-align: center;
  margin: 10px 0 4px;
}

.ph-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border-radius: 30px;
  background: linear-gradient(135deg, #9e27a8 0%, #ec4899 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 8px 20px rgba(158, 39, 168, 0.4);
  cursor: pointer;
}

.ph-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(158, 39, 168, 0.6);
  opacity: 0.95;
  color: #ffffff !important;
}

.ph-card-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.85rem;
  text-align: left;
}

.ph-footer-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.ph-footer-label {
  display: block;
  font-weight: 700;
  font-size: 0.8rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.ph-phone {
  font-weight: 800;
  font-size: 0.85rem;
  color: #ffffff;
  text-decoration: none;
}

.ph-chat {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.85rem;
  color: #ff9cf8;
}

.ph-compare-btn-wrap {
  margin-top: 28px;
  text-align: left;
}

.ph-compare-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: 30px;
  background: linear-gradient(135deg, #9e27a8 0%, #ec4899 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(158, 39, 168, 0.4);
  transition: all 0.3s ease;
}

.ph-compare-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(158, 39, 168, 0.6);
}

.ph-btn-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 0.85rem;
}

/* 4. Comparison Table */
.ph-comparison {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(158, 39, 169, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.ph-comparison.collapsed {
  max-height: 0;
  opacity: 0;
  padding: 0;
  border-width: 0;
  pointer-events: none;
  margin-top: 0;
}

.ph-comparison.expanded {
  max-height: 2000px;
  opacity: 1;
  padding: 16px;
  margin-top: 24px;
}

.ph-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.15);
}

.ph-table {
  width: 100%;
  min-width: 780px;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  color: #341E36;
}

.ph-table thead th {
  background: #9E27A9;
  color: #ffffff;
  padding: 16px 14px;
  font-weight: 800;
  font-size: 0.98rem;
  text-align: center;
  border: none;
}

.ph-table thead th:first-child {
  width: 34%;
  text-align: left;
  border-top-left-radius: 10px;
}

.ph-table thead th:last-child {
  border-top-right-radius: 10px;
}

.ph-table tbody tr {
  transition: background-color 0.2s ease;
}

.ph-table tbody tr:nth-child(odd) {
  background: #ffffff;
}

.ph-table tbody tr:nth-child(even) {
  background: #fcf5ff;
}

.ph-table tbody tr:hover {
  background: #f6e8fb;
}

.ph-table td {
  padding: 14px 14px;
  border-bottom: 1px solid #f0dcf5;
  font-weight: 600;
  font-size: 0.92rem;
  color: #341E36 !important;
}

.ph-table td:first-child {
  text-align: left;
  font-weight: 700;
  color: #341E36 !important;
  width: 34%;
}

.ph-table td:not(:first-child) {
  text-align: center;
}

.ph-check {
  color: #9E27A9 !important;
  font-size: 1.2rem;
  font-weight: 900;
}

.ph-cross {
  color: #94a3b8 !important;
  font-size: 1.1rem;
  font-weight: 700;
}

/* 5. Responsive Styles */
@media (max-width: 991px) {
  .ph-award-banner-grid {
    flex-direction: column;
    text-align: center;
    gap: 24px;
  }
  
  .ph-award-banner-left {
    text-align: center;
  }

  .ph-fasttrack-cta-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 24px;
    gap: 24px;
  }

  .ph-fasttrack-left {
    width: 100%;
  }

  .ph-fasttrack-right {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }

  .ph-fasttrack-btn-primary,
  .ph-fasttrack-btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .ph-fasttrack-title {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .ph-award-banner-title {
    font-size: 1.6rem;
  }
  
  .ph-packages-title {
    font-size: 1.9rem;
  }
  
  .ph-card {
    padding: 22px 18px;
  }
  
  .ph-card-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 8px;
  }

  .ph-footer-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
  }
}

@media (max-width: 576px) {
  .ph-matrix-table-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  .ph-packages-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .ph-card-footer {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 10px !important;
  }

  .ph-footer-divider {
    display: none !important;
  }
}

