/* DeathLAB Protocols Hub - Cyan Rebrand */

/* ========== VARIABLES ========== */
:root {
  --death-black: #0B0B0B;
  --death-cyan: #6FE4FF;
  --death-cyan-hover: #BFEFFC;
  --death-cyan-dark: #0E2E36;
  --death-white: #FFFFFF;
  --death-gray-1: #1a1a1b;
  --death-gray-2: #2d2d2f;
  --death-gray-3: #3a3a3c;
  --death-gray-4: #B5C2CA;
}

/* ========== BASE STYLES ========== */
.protocols-page {
  background: var(--death-black);
  color: var(--death-white);
  min-height: 100vh;
}

.protocols-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.protocols-cyan {
  color: var(--death-cyan) !important;
  -webkit-text-fill-color: var(--death-cyan) !important;
  text-shadow: 0 0 15px rgba(111, 228, 255, 0.3);
}

/* ========== HERO SECTION ========== */
.protocols-hero {
  padding: 100px 0 60px;
  text-align: center;
  background: var(--death-black);
  border-bottom: 1px solid rgba(111,228,255,0.1);
}

.protocols-badge {
  display: inline-block;
  background: var(--death-cyan);
  color: #001015;
  padding: 8px 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  border-radius: 4px;
}

.protocols-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, #E8E8E8 0%, #FFFFFF 30%, #B5C2CA 70%, #8FD4EA 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.protocols-subtitle {
  font-size: 1.25rem;
  color: var(--death-gray-4);
  margin: 0 auto 30px;
  max-width: 900px;
  font-weight: 300;
  line-height: 1.6;
}

.protocols-description {
  max-width: 1000px;
  margin: 0 auto 50px;
  color: var(--death-gray-4);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.protocols-description p {
  margin: 0 0 15px 0;
}

/* ========== SEARCH BAR ========== */
.protocols-search {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.protocols-search input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: var(--death-gray-2);
  border: 1px solid rgba(111,228,255,0.2);
  border-radius: 10px;
  color: var(--death-white);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.protocols-search input:focus {
  outline: none;
  border-color: var(--death-cyan);
  box-shadow: 0 0 0 4px rgba(111,228,255,0.15);
  background: var(--death-black);
}

.protocols-search input::placeholder {
  color: var(--death-gray-4);
  opacity: 0.6;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--death-gray-4);
  pointer-events: none;
}

/* ========== METHODOLOGY SECTION ========== */
.protocols-methodology {
  padding: 80px 0;
  background: var(--death-gray-1);
  border-bottom: 1px solid rgba(111,228,255,0.1);
}

.protocols-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 60px 0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

.methodology-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.methodology-card {
  background: var(--death-black);
  border: 1px solid rgba(111,228,255,0.15);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.methodology-card:hover {
  border-color: var(--death-cyan);
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(111,228,255,0.15);
}

.methodology-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.methodology-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  color: var(--death-white);
}

.methodology-card p {
  color: var(--death-gray-4);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0;
}

/* ========== FILTERS ========== */
.protocols-filters-section {
  padding: 40px 0 20px;
  background: var(--death-black);
}

.protocols-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.protocol-filter {
  padding: 10px 24px;
  background: var(--death-gray-2);
  color: var(--death-gray-4);
  border: 1px solid var(--death-gray-3);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
}

.protocol-filter:hover {
  background: var(--death-gray-3);
  color: var(--death-white);
}

.protocol-filter.active {
  background: var(--death-cyan);
  color: #000000;
  border-color: var(--death-cyan);
}

/* ========== PROTOCOLS GRID ========== */
.protocols-grid-section {
  padding: 60px 0 80px;
  background: var(--death-black);
}

.protocols-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 2rem;
}

.protocol-card {
  background: var(--death-gray-2);
  border: 1px solid rgba(111,228,255,0.12);
  border-radius: 14px;
  padding: 2rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.protocol-card:hover {
  border-color: var(--death-cyan);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(111,228,255,0.2);
}

.protocol-card.hidden {
  display: none;
}

/* Coming Soon Cards */
.protocol-card-coming-soon {
  opacity: 0.7;
  position: relative;
}

.protocol-card-coming-soon:hover {
  transform: none;
  box-shadow: var(--dl-shadow-sm);
  border-color: rgba(111,228,255,0.12);
}

.protocol-blur {
  filter: blur(4px);
  user-select: none;
  pointer-events: none;
}

.protocol-btn-disabled {
  background: var(--death-gray-3) !important;
  color: var(--death-gray-4) !important;
  cursor: not-allowed !important;
  pointer-events: none;
  opacity: 0.6;
}

.protocol-btn-disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Protocol Badges */
.protocol-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  padding: 6px 14px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 6px;
}

.protocol-badge-foundational {
  background: var(--death-cyan);
  color: #000000;
}

.protocol-badge-experimental {
  background: #FF6FE4;
  color: #000000;
}

.protocol-badge-cognitive {
  background: #6FFFB8;
  color: #000000;
}

.protocol-badge-recovery {
  background: #A76FFF;
  color: #FFFFFF;
}

.protocol-badge-adhd {
  background: #FFB86F;
  color: #000000;
}

.protocol-badge-longevity {
  background: #6FC4FF;
  color: #000000;
}

.protocol-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.protocol-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--death-white);
}

.protocol-type {
  color: var(--death-cyan);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0 0 1rem 0;
}

.protocol-desc {
  color: var(--death-gray-4);
  font-size: 0.9375rem;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
  flex-grow: 1;
}

/* Protocol Highlights */
.protocol-highlights {
  background: var(--death-black);
  border-left: 2px solid var(--death-cyan);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}

.highlight-item {
  color: var(--death-gray-4);
  font-size: 0.875rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.highlight-item:last-child {
  margin-bottom: 0;
}

/* Protocol Meta */
.protocol-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(111,228,255,0.1);
}

.meta-item {
  font-size: 0.8125rem;
  color: var(--death-gray-4);
  font-weight: 500;
}

/* Protocol Button */
.protocol-btn {
  display: block;
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: var(--death-cyan);
  color: #000000;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.05em;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.protocol-btn:hover {
  background: var(--death-cyan-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(111,228,255,0.3);
  text-decoration: none;
  color: #000000;
}

/* ========== CTA SECTION ========== */
.protocols-cta {
  padding: 80px 0;
  background: var(--death-gray-1);
  text-align: center;
  border-top: 1px solid rgba(111,228,255,0.1);
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  text-transform: uppercase;
}

.cta-text {
  font-size: 1.125rem;
  color: var(--death-gray-4);
  max-width: 700px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

.protocol-btn-large {
  display: inline-block;
  padding: 1.125rem 2.5rem;
  background: var(--death-cyan);
  color: #000000;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.1em;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.protocol-btn-large:hover {
  background: var(--death-cyan-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(111,228,255,0.4);
  text-decoration: none;
  color: #000000;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .protocols-title {
    font-size: 2.5rem;
  }

  .protocols-subtitle {
    font-size: 1.0625rem;
  }

  .protocols-description {
    font-size: 0.9375rem;
  }

  .protocols-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .methodology-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .protocols-filters {
    flex-direction: column;
  }

  .protocol-filter {
    width: 100%;
    text-align: center;
  }

  .protocols-section-title {
    font-size: 2rem;
  }

  .cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .protocols-hero {
    padding: 60px 0 40px;
  }

  .protocols-title {
    font-size: 2rem;
  }

  .protocol-card {
    padding: 1.5rem;
  }

  .protocols-container {
    padding: 0 1.25rem;
  }
}
