/* Token Packages Specific Styles */
.breadcrumbs {
  font-size: 16px;
  margin-bottom: 2rem;
}

.page-header {
	padding: 1rem 0;
	max-height: 3.5rem;
}

/* Hero Sections */
.offensive-hero {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.premium-hero {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.category-icon::after {
  background-repeat: no-repeat !important;
  background-position: center !important;
  content: ' ';
  display: block;
  width: 32px;
  height: 32px;
}

.category-icon.otp-pts::after {
  background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3Cpath d='M21 12c-1 0-3-1-3-3s2-3 3-3 3 1 3 3-2 3-3 3'/%3E%3Cpath d='M3 12c1 0 3-1 3-3s-2-3-3-3-3 1-3 3 2 3 3 3'/%3E%3Cpath d='M12 3c0 1-1 3-3 3s-3-2-3-3 1-3 3-3 3 2 3 3'/%3E%3Cpath d='M12 21c0-1 1-3 3-3s3 2 3 3-1 3-3 3-3-2-3-3'/%3E%3C/svg%3E");
}

.category-icon.otp-cit::after {
  background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z'/%3E%3C/svg%3E");
}

.category-icon.otp-ast::after {
  background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z'/%3E%3Cpath d='M12 15l-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z'/%3E%3Cpath d='M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0'/%3E%3Cpath d='M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5'/%3E%3C/svg%3E");
}

.category-icon.ptp-ots::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z'/%3E%3Cpath d='M12 15l-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z'/%3E%3Cpath d='M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0'/%3E%3Cpath d='M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5'/%3E%3C/svg%3E");
}

.category-icon.ptp-dfs::after {
  background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.35-4.35'/%3E%3C/svg%3E");
}

.category-icon.ptp-irs::after {
  background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2L3 14h9l-1 8 10-12h-9l1-8z'/%3E%3C/svg%3E");
}

.category-icon.ptp-sas::after {
  background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 12l2 2 4-4'/%3E%3Cpath d='M21 12c-1 0-3-1-3-3s2-3 3-3 3 1 3 3-2 3-3 3'/%3E%3Cpath d='M3 12c1 0 3-1 3-3s-2-3-3-3-3 1-3 3 2 3 3 3'/%3E%3Cpath d='M12 3c0 1-1 3-3 3s-3-2-3-3 1-3 3-3 3 2 3 3'/%3E%3Cpath d='M12 21c0-1 1-3 3-3s3 2 3 3-1 3-3 3-3-2-3-3'/%3E%3C/svg%3E");
}

.category-icon.ptp-as::after {
  background-image: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2L2 7l10 5 10-5-10-5z'/%3E%3Cpath d='M2 17l10 5 10-5'/%3E%3Cpath d='M2 12l10 5 10-5'/%3E%3C/svg%3E");
}

/* Token Badges */
.token-badge {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.offensive-badge {
  background: rgba(251, 191, 36, 0.2);
  color: #92400e;
  border-color: rgba(217, 119, 6, 0.5);
}

.premium-badge {
  background: rgba(139, 92, 246, 0.2);
  color: #d1baf4;
  border-color: rgba(124, 58, 237, 0.5);
}

/* Hero Features */
.hero-features {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
  flex-wrap: wrap;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.75rem 1.25rem;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

.feature-icon {
  font-size: 1.25rem;
}

/* Token Grid */
.token-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.token-grid .token-category {
  flex: 1 1 400px;
  min-width: 400px;
  max-width: 450px;
}

.premium-grid {
  max-width: 1600px;
}

.premium-grid .token-category {
  flex: 1 1 450px;
  min-width: 450px;
  max-width: 500px;
}

/* Ensure minimum 2 items per row for odd numbers */
.token-grid:has(.token-category:nth-child(odd):last-child) .token-category:last-child {
  flex: 1 1 calc(50% - 1rem);
  max-width: calc(50% - 1rem);
}

.premium-grid:has(.token-category:nth-child(odd):last-child) .token-category:last-child {
  flex: 1 1 calc(50% - 1rem);
  max-width: calc(50% - 1rem);
}

.token-category {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.premium-category {
  border: 2px solid #8b5cf6;
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

.token-category:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid #e2e8f0;
  position: relative;
}

.premium-category .category-header {
  border-bottom-color: #8b5cf6;
}

.category-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.premium-category .category-icon {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.category-header h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  flex-grow: 1;
}

.included-badge {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-align: center;
}

/* Token Services */
.token-services {
  list-style: none;
  padding: 0;
  margin: 0;
}

.token-services li {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.75rem;
  transform: none;
  transition: all 0.3s ease;
  border-radius: 8px;
}

.token-services li::before {
  content: '';
  position: relative;
  left: -0.75rem;
  border: 8px solid transparent;
  border-left-color: #d97706;
}

.token-services.premium li::before {
  border-left-color: #7c3aed;
}

.token-services li:last-child {
  border-bottom: none;
}

.token-services li:hover {
  background: #f8fafc;
  transform: translateX(-1rem);
}

.service-name {
  font-weight: 500;
  color: #334155;
}

.token-cost {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.premium-category .token-cost {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

/* Pricing Section */
.pricing-section {
  background: #f8fafc;
  padding: 4rem 0;
}

.premium-pricing {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

/* Pricing Grid */
.pricing-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-grid .pricing-card {
  flex: 1 1 350px;
  min-width: 350px;
  max-width: 380px;
}

/* Ensure minimum 2 items per row for odd numbers */
.pricing-grid:has(.pricing-card:nth-child(odd):last-child) .pricing-card:last-child {
  flex: 1 1 calc(50% - 1rem);
  max-width: calc(50% - 1rem);
}

.pricing-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 2px solid #e2e8f0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.premium-card {
  border-color: #8b5cf6;
  background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
}

.pricing-card.featured {
  transform: scale(1.05);
  border-color: #3b82f6;
  box-shadow: 0 8px 40px rgba(59, 130, 246, 0.2);
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.popular-badge {
  position: absolute;
  top: -1px;
  right: 2rem;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 0 0 12px 12px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 2px solid #e2e8f0;
}

.premium-card .pricing-header {
  border-bottom-color: #8b5cf6;
}

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.token-count {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 0.5rem;
}

.premium-card .token-count {
  background: linear-gradient(135deg, #8b5cf6, #7c3aed);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pricing {
  font-size: 2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.price-per-token {
  font-size: 0.875rem;
  color: #64748b;
  font-weight: 500;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.pricing-features li {
  padding: 0.75rem 0;
  color: #475569;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing-features li::before {
  content: attr(data-icon);
  color: #10b981;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Benefits Section */
.benefits-section {
  padding: 4rem 0;
  background: white;
}

.premium-benefits {
  background: linear-gradient(135deg, #faf5ff 0%, #f3e8ff 100%);
}

/* Benefits Grid */
.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin: 3rem 0;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.benefits-grid .benefit-card {
  flex: 1 1 300px;
  min-width: 300px;
  max-width: 350px;
}

/* Ensure minimum 2 items per row for odd numbers */
.benefits-grid:has(.benefit-card:nth-child(odd):last-child) .benefit-card:last-child {
  flex: 1 1 calc(50% - 1rem);
  max-width: calc(50% - 1rem);
}

.benefit-card {
  text-align: center;
  padding: 2rem;
  border-radius: 16px;
  background: white;
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.premium-benefit {
  border-color: #8b5cf6;
  background: linear-gradient(135deg, #ffffff 0%, #faf5ff 100%);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.benefit-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1rem;
}

.benefit-card p {
  color: #64748b;
  line-height: 1.6;
}

/* CTA Sections */
.premium-cta {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.premium-cta h2,
.premium-cta p {
  color: white;
}

/* Responsive Design */
@media (max-width: 1400px) {
  .token-grid .token-category {
    flex: 1 1 380px;
    min-width: 380px;
    max-width: 420px;
  }

  .premium-grid .token-category {
    flex: 1 1 420px;
    min-width: 420px;
    max-width: 460px;
  }
}

@media (max-width: 1200px) {
  .token-grid .token-category {
    flex: 1 1 350px;
    min-width: 350px;
    max-width: 400px;
  }

  .premium-grid .token-category {
    flex: 1 1 380px;
    min-width: 380px;
    max-width: 430px;
  }

  .pricing-grid .pricing-card {
    flex: 1 1 320px;
    min-width: 320px;
    max-width: 360px;
  }
}

@media (max-width: 1024px) {
  .token-grid {
    max-width: 900px;
  }

  .token-grid .token-category {
    flex: 1 1 calc(50% - 1rem);
    min-width: calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }

  .premium-grid {
    max-width: 950px;
  }

  .premium-grid .token-category {
    flex: 1 1 calc(50% - 1rem);
    min-width: calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }

  .pricing-grid {
    max-width: 800px;
  }

  .pricing-grid .pricing-card {
    flex: 1 1 calc(50% - 1rem);
    min-width: calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }

  .benefits-grid {
    max-width: 800px;
  }

  .benefits-grid .benefit-card {
    flex: 1 1 calc(50% - 1rem);
    min-width: calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }
}

@media (max-width: 768px) {
  .token-grid {
    max-width: 100%;
    gap: 1.5rem;
  }

  .token-grid .token-category {
    flex: 1 1 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .premium-grid {
    max-width: 100%;
  }

  .premium-grid .token-category {
    flex: 1 1 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .pricing-grid {
    max-width: 100%;
    gap: 1.5rem;
  }

  .pricing-grid .pricing-card {
    flex: 1 1 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }

  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .benefits-grid {
    max-width: 100%;
    gap: 1.5rem;
  }

  .benefits-grid .benefit-card {
    flex: 1 1 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .token-cost {
    align-self: flex-end;
  }
}

@media (max-width: 480px) {
  .token-category {
    padding: 1.5rem;
  }

  .pricing-card {
    padding: 2rem;
  }

  .category-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .token-count {
    font-size: 2rem;
  }

  .pricing {
    font-size: 1.5rem;
  }

  .token-grid,
  .premium-grid,
  .pricing-grid,
  .benefits-grid {
    gap: 1rem;
  }
}

/* Fallback for browsers that don't support :has() */
@supports not selector(:has(*)) {
  .token-grid .token-category:nth-child(3n + 1):nth-last-child(1) {
    flex: 1 1 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }

  .premium-grid .token-category:nth-child(3n + 1):nth-last-child(1) {
    flex: 1 1 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }

  .pricing-grid .pricing-card:nth-child(3n + 1):nth-last-child(1) {
    flex: 1 1 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }

  .benefits-grid .benefit-card:nth-child(3n + 1):nth-last-child(1) {
    flex: 1 1 calc(50% - 1rem);
    max-width: calc(50% - 1rem);
  }
}