/* public/assets/css/zero-day/sponsorship.css */

.package-section-header {
  border-bottom: 2px solid var(--accent-cyan);
  padding-bottom: 12px;
  margin-bottom: 40px;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.package-section-title {
  font-family: var(--font-header);
  font-size: 1.8rem;
  color: var(--text-primary);
  margin: 0;
  text-transform: uppercase;
}

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

.tier-card {
  position: relative;
  background: rgba(6, 6, 22, 0.6);
  border: 1px solid var(--grid-line-color);
  padding: 32px;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
}

.tier-card.evangelist {
  border: 2px solid #facc15;
}

.tier-card.partner {
  border-color: var(--accent-cyan);
}

.tier-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.tier-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.tier-badge-evangelist {
  color: #facc15;
  font-weight: bold;
  border: 1px solid rgba(250, 204, 21, 0.4);
  padding: 2px 8px;
  background: rgba(250, 204, 21, 0.1);
}

.tier-badge-partner {
  color: var(--accent-cyan);
  font-weight: bold;
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 2px 8px;
  background: rgba(6, 182, 212, 0.05);
}

.tier-badge-supporter {
  color: var(--text-muted);
  font-weight: bold;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.02);
}

.tier-title {
  font-family: var(--font-header);
  font-size: 1.6rem;
  color: var(--text-primary);
  margin: 0 0 8px 0;
  letter-spacing: 1px;
}

.tier-price-evangelist {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: #facc15;
  font-weight: bold;
  margin-bottom: 24px;
  border-bottom: 1px dashed var(--grid-line-color);
  padding-bottom: 12px;
}

.tier-price-partner {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--accent-cyan);
  font-weight: bold;
  margin-bottom: 24px;
  border-bottom: 1px dashed var(--grid-line-color);
  padding-bottom: 12px;
}

.tier-price-supporter {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  color: var(--text-primary);
  font-weight: bold;
  margin-bottom: 24px;
  border-bottom: 1px dashed var(--grid-line-color);
  padding-bottom: 12px;
}

.tier-list {
  color: var(--text-secondary);
  padding-left: 20px;
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 0;
}

.tier-list li {
  margin-bottom: 12px;
}

.tier-list li:last-child {
  margin-bottom: 0;
}

.special-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.special-card {
  background: rgba(6, 6, 22, 0.4);
  border: 1px solid var(--grid-line-color);
  padding: 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s ease;
  overflow: hidden; /* Clips the scanning sweep line */
  animation: special-card-glow-pulse-muted 8s infinite ease-in-out;
}

.special-card.tech {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.05) 0%,
    rgba(6, 6, 22, 0.6) 100%
  );
  border-color: var(--accent-emerald);
  animation: special-card-glow-pulse-emerald 6s infinite ease-in-out;
}

/* Skewed Light Sweep Shine Overlay */
.special-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -150%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.07),
    rgba(255, 255, 255, 0.02),
    transparent
  );
  transform: skewX(-25deg);
  pointer-events: none;
  z-index: 2;
  animation: light-sweep 6s infinite ease-in-out;
}

.special-card.tech::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(16, 185, 129, 0.05),
    rgba(16, 185, 129, 0.18),
    rgba(16, 185, 129, 0.05),
    transparent
  );
  animation-delay: 1.5s; /* Stagger sweep timings */
}

@keyframes light-sweep {
  0% {
    left: -150%;
  }
  25%,
  100% {
    left: 150%;
  }
}

@keyframes special-card-glow-pulse-emerald {
  0%,
  100% {
    border-color: var(--accent-emerald);
    box-shadow:
      0 0 15px rgba(16, 185, 129, 0.1),
      inset 0 0 10px rgba(16, 185, 129, 0.02);
  }
  50% {
    border-color: #34d399;
    box-shadow:
      0 0 25px rgba(52, 211, 153, 0.25),
      inset 0 0 15px rgba(52, 211, 153, 0.08);
  }
}

@keyframes special-card-glow-pulse-muted {
  0%,
  100% {
    border-color: var(--grid-line-color);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.01);
  }
  50% {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow:
      0 0 18px rgba(255, 255, 255, 0.06),
      inset 0 0 10px rgba(255, 255, 255, 0.02);
  }
}

.special-badge {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.special-title {
  font-family: var(--font-header);
  font-size: 1.6rem;
  color: var(--text-primary);
  margin: 0 0 16px 0;
}

.special-title.tech-title {
  color: var(--accent-emerald);
  text-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.special-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.special-card.tech .special-desc {
  color: var(--text-primary);
  font-weight: 500;
}

.special-benefits-box {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 24px;
  margin-top: 24px;
}

.special-slots-box {
  margin-top: 16px;
  border-top: 1px dashed var(--grid-line-color);
  padding-top: 16px;
}

.special-benefits-list {
  color: var(--text-secondary);
  padding-left: 20px;
  font-size: 0.85rem;
  line-height: 1.6;
  margin: 0;
}

.special-benefits-list li {
  margin-bottom: 8px;
}

.special-benefits-list li:last-child {
  margin-bottom: 0;
}

.pitch-section {
  margin-top: 80px;
  text-align: center;
  background: rgba(6, 6, 22, 0.4);
  border: 1px solid var(--grid-line-color);
  padding: 48px;
}

.pitch-title {
  font-family: var(--font-header);
  font-size: 1.8rem;
  color: var(--text-primary);
  margin: 0 0 12px 0;
}

.pitch-desc {
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto 30px auto;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Light Theme Adaptation */
html[data-theme="light"] .tier-card {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

html[data-theme="light"] .tier-badge-supporter {
  border-color: rgba(15, 23, 42, 0.1);
  background: rgba(15, 23, 42, 0.02);
}

html[data-theme="light"] .special-card {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

html[data-theme="light"] .special-card.tech {
  background: linear-gradient(
    135deg,
    rgba(16, 185, 129, 0.05) 0%,
    #ffffff 100%
  );
}

html[data-theme="light"] .special-benefits-box {
  background: rgba(16, 185, 129, 0.02);
}

html[data-theme="light"] .pitch-section {
  background: #ffffff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

/* Light Mode Premium Overrides for Gold/Evangelist Tier */
html[data-theme="light"] .tier-card.evangelist {
  border-color: #d97706 !important;
  box-shadow: 0 10px 30px rgba(217, 119, 6, 0.06) !important;
}

html[data-theme="light"] .tier-badge-evangelist {
  color: #b45309 !important;
  border-color: rgba(180, 83, 9, 0.4) !important;
  background: rgba(180, 83, 9, 0.05) !important;
}

html[data-theme="light"] .tier-price-evangelist {
  color: #b45309 !important;
}

/* Light Mode Overrides for Special Card Glow and Sweeps */
html[data-theme="light"] .special-card {
  animation: special-card-glow-pulse-light-muted 8s infinite ease-in-out !important;
}
html[data-theme="light"] .special-card.tech {
  animation: special-card-glow-pulse-light-emerald 6s infinite ease-in-out !important;
}
html[data-theme="light"] .special-card::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(15, 23, 42, 0.02),
    rgba(15, 23, 42, 0.06),
    rgba(15, 23, 42, 0.02),
    transparent
  ) !important;
}
html[data-theme="light"] .special-card.tech::after {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(5, 150, 105, 0.04),
    rgba(5, 150, 105, 0.15),
    rgba(5, 150, 105, 0.04),
    transparent
  ) !important;
}

@keyframes special-card-glow-pulse-light-emerald {
  0%, 100% {
    border-color: var(--accent-emerald) !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02), 0 0 10px rgba(5, 150, 105, 0.05) !important;
  }
  50% {
    border-color: #10b981 !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04), 0 0 20px rgba(16, 185, 129, 0.15) !important;
  }
}

@keyframes special-card-glow-pulse-light-muted {
  0%, 100% {
    border-color: var(--grid-line-color) !important;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.02) !important;
  }
  50% {
    border-color: rgba(15, 23, 42, 0.2) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06) !important;
  }
}

@media (max-width: 768px) {
  .special-row {
    grid-template-columns: 1fr !important;
  }
}
