.dir-hero-speakers {
  position: relative;
}

.dir-hero-speakers::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/speakers-hero-bg.jpg') center center / cover no-repeat;
  filter: grayscale(100%) contrast(1.1) brightness(0.35);
  z-index: 0;
}

.dir-hero-speakers > * {
  position: relative;
  z-index: 1;
}

.dir-hero-speakers::before {
  background: radial-gradient(circle, rgba(176, 74, 255, 0.25) 0%, transparent 70%);
  z-index: 1;
}

.dir-hero-startups {
  position: relative;
}

.dir-hero-startups::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/startups-hero-bg.jpg') center center / cover no-repeat;
  filter: grayscale(100%) contrast(1.1) brightness(0.35);
  z-index: 0;
}

.dir-hero-startups > * {
  position: relative;
  z-index: 1;
}

.dir-hero-startups::before {
  background: radial-gradient(circle, rgba(176, 74, 255, 0.25) 0%, transparent 70%);
  z-index: 1;
}

.dir-hero-investors {
  position: relative;
}

.dir-hero-investors::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/investors-hero-bg.jpg') center center / cover no-repeat;
  filter: grayscale(100%) contrast(1.1) brightness(0.35);
  z-index: 0;
}

.dir-hero-investors > * {
  position: relative;
  z-index: 1;
}

.dir-hero-investors::before {
  background: radial-gradient(circle, rgba(176, 74, 255, 0.25) 0%, transparent 70%);
  z-index: 1;
}

.dir-hero-partners {
  position: relative;
}

.dir-hero-partners::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/partners-hero-bg.jpg') center center / cover no-repeat;
  filter: grayscale(100%) contrast(1.1) brightness(0.35);
  z-index: 0;
}

.dir-hero-partners > * {
  position: relative;
  z-index: 1;
}

.dir-hero-partners::before {
  background: radial-gradient(circle, rgba(176, 74, 255, 0.25) 0%, transparent 70%);
  z-index: 1;
}

.dir-hero-ecosystem {
  position: relative;
}

.dir-hero-ecosystem::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/ecosystem-hero-bg.jpg') center center / cover no-repeat;
  filter: grayscale(100%) contrast(1.1) brightness(0.35);
  z-index: 0;
}

.dir-hero-ecosystem > * {
  position: relative;
  z-index: 1;
}

.dir-hero-ecosystem::before {
  background: radial-gradient(circle, rgba(176, 74, 255, 0.25) 0%, transparent 70%);
  z-index: 1;
}

.dir-hero-media {
  position: relative;
}

.dir-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/partners-hero-bg.jpg') center center / cover no-repeat;
  filter: grayscale(100%) contrast(1.1) brightness(0.35);
  z-index: 0;
}

.dir-hero-media > * {
  position: relative;
  z-index: 1;
}

.dir-hero-media::before {
  background: radial-gradient(circle, rgba(176, 74, 255, 0.25) 0%, transparent 70%);
  z-index: 1;
}

.partner-page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 24px;
}

.partner-page-intro {
  margin-bottom: 56px;
}

.partner-page-intro p {
  color: #b8b8c0;
  font-family: 'Inter', sans-serif;
  font-size: 17px;
  line-height: 1.8;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.partner-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 56px;
}

.partner-page-block {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 36px;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.partner-page-block:hover {
  border-color: rgba(176, 74, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
}

.partner-page-block-title {
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid #b04aff;
}

.partner-page-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.partner-page-list li {
  color: #c8c8d0;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  padding: 10px 0;
  padding-left: 28px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.partner-page-list li:last-child {
  border-bottom: none;
}

.partner-page-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 8px;
  height: 8px;
  background: #b04aff;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(176, 74, 255, 0.4);
}

.partner-page-fit {
  text-align: center;
  margin-top: 24px;
  padding: 40px 32px;
  background: rgba(176, 74, 255, 0.04);
  border: 1px solid rgba(176, 74, 255, 0.1);
  border-radius: 20px;
}

.partner-page-fit .partner-page-block-title {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 28px;
  font-size: 13px;
}

.partner-page-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 0;
}

.partner-fit-tag {
  background: rgba(176, 74, 255, 0.1);
  color: #d4b0ff;
  border: 1px solid rgba(176, 74, 255, 0.25);
  padding: 10px 22px;
  border-radius: 30px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.partner-fit-tag:hover {
  background: rgba(176, 74, 255, 0.2);
  border-color: rgba(176, 74, 255, 0.5);
}

@media (max-width: 768px) {
  .partner-page-content {
    padding: 40px 16px;
  }

  .partner-page-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .partner-page-intro p {
    font-size: 15px;
  }

  .partner-page-block {
    padding: 24px;
  }

  .partner-page-fit {
    padding: 28px 20px;
  }
}

.dir-section {
  padding-bottom: 100px;
}

.dir-section-bar {
  background: #b04aff;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  padding: 18px 20px;
  margin: 0 auto 0;
  max-width: 1100px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.dir-grid {
  display: grid;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.dir-grid-speakers {
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}

.dir-grid-startups {
  grid-template-columns: repeat(3, 1fr);
}

.dir-grid-investors {
  grid-template-columns: repeat(4, 1fr);
}

.dir-grid-partners {
  grid-template-columns: repeat(3, 1fr);
}

.dir-card {
  background: #1a1a1a;
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.dir-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.dir-spk-card {
  position: relative;
  border-radius: 0;
  border: none;
  background: transparent;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.dir-spk-card:hover {
  transform: translateY(-4px);
}

.dir-spk-card:hover .dir-spk-photo {
  transform: scale(1.05);
  filter: grayscale(0%) contrast(1.05) brightness(1.05);
}

.dir-spk-card:hover .dir-spk-placeholder {
  transform: scale(1.05);
}

.dir-spk-card:hover .dir-spk-info {
  border-color: rgba(176, 74, 255, 0.5);
}

.dir-spk-card.dir-spk-has-bio {
  cursor: pointer;
}

.dir-spk-img-wrap {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.dir-spk-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(100%) contrast(1.05);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.dir-spk-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1a1a2e, #2a2a3e);
  color: #b04aff;
  font-family: 'Montserrat', sans-serif;
  font-size: 56px;
  font-weight: 800;
  transition: transform 0.5s ease;
}

.dir-spk-label {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(176, 74, 255, 0.85);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
  backdrop-filter: blur(4px);
  z-index: 2;
  white-space: nowrap;
}

.dir-spk-info {
  padding: 14px 14px 16px;
  background: #0d0d0d;
  border-left: 2px solid rgba(176, 74, 255, 0.25);
  transition: border-color 0.3s ease;
}

.dir-spk-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 3px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.dir-spk-title {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  margin: 0;
  line-height: 1.3;
}

.dir-spk-company {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  color: #b04aff;
  font-weight: 700;
  margin: 4px 0 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dir-spk-details {
  max-height: 0;
  overflow: hidden;
  background: #0a0a0a;
  padding: 0 14px;
  transition: max-height 0.4s ease, padding 0.4s ease;
  border-left: 2px solid #b04aff;
}

.dir-spk-expanded .dir-spk-details {
  max-height: 400px;
  padding: 14px;
}

.dir-spk-bio {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
  margin: 8px 0;
}

.dir-spk-links {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.dir-spk-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 0;
  background: rgba(176, 74, 255, 0.15);
  color: #b04aff;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.dir-spk-link:hover {
  background: #b04aff;
  color: #fff;
}

.dir-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #b04aff;
  background: rgba(176, 74, 255, 0.12);
  padding: 4px 10px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.dir-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.dir-spotlight-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(176, 74, 255, 0.15);
}

.dir-spotlight-header {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #b04aff;
  margin-bottom: 24px;
  padding-left: 4px;
}

.dir-startup-spotlight {
  border: 1px solid rgba(176, 74, 255, 0.3);
  position: relative;
}

.dir-startup-spotlight:hover {
  border-color: rgba(176, 74, 255, 0.5);
}

.dir-spotlight-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(176, 74, 255, 0.85);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 3px;
}

.dir-startup-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
}

.dir-startup-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.dir-startup-logo {
  width: 56px;
  height: 56px;
  border-radius: 0;
  object-fit: contain;
  background: #fff;
  padding: 4px;
  flex-shrink: 0;
}

.dir-startup-logo.dir-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2a2a2a, #333);
  color: #b04aff;
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 800;
  padding: 0;
}

.dir-startup-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.dir-startup-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dir-startup-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 16px;
}

.dir-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dir-badge-stage {
  background: rgba(74, 255, 176, 0.12);
  color: #4affb0;
}

.dir-meta-item {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.dir-startup-link,
.dir-partner-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #b04aff;
  text-decoration: none;
  transition: color 0.2s ease;
  margin-top: auto;
}

.dir-startup-link:hover,
.dir-partner-link:hover {
  color: #cc80ff;
}

.dir-investor-card {
  padding: 28px 24px;
  text-align: center;
}

.dir-investor-header {
  margin-bottom: 16px;
}

.dir-investor-logo {
  width: 80px;
  height: 80px;
  border-radius: 0;
  object-fit: contain;
  background: #fff;
  padding: 8px;
  margin: 0 auto;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.dir-card:hover .dir-investor-logo {
  filter: grayscale(0%);
}

.dir-investor-logo.dir-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2a2a2a, #333);
  color: #4a90ff;
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 800;
  padding: 0;
  filter: none;
}

.dir-investor-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.dir-investor-contact {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 8px;
}

.dir-investor-check {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #4a90ff;
  font-weight: 600;
  margin: 0 0 12px;
}

.dir-investor-bio {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
  margin: 12px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.dir-investor-links {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
}

.dir-partner-card {
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dir-partner-logo-wrap {
  margin-bottom: 16px;
}

.dir-partner-logo {
  width: 120px;
  height: 60px;
  object-fit: contain;
  display: block;
}

.dir-partner-logo.dir-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2a2a2a, #333);
  color: #ffb04a;
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 800;
  border-radius: 0;
}

.dir-partner-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.dir-badge-tier {
  margin-bottom: 12px;
}

.dir-tier-platinum .dir-badge-tier,
.dir-badge-tier.dir-tier-platinum {
  background: rgba(229, 228, 226, 0.15);
  color: #e5e4e2;
}

.dir-tier-gold .dir-badge-tier,
.dir-badge-tier.dir-tier-gold {
  background: rgba(255, 215, 0, 0.15);
  color: #ffd700;
}

.dir-tier-silver .dir-badge-tier,
.dir-badge-tier.dir-tier-silver {
  background: rgba(192, 192, 192, 0.15);
  color: #c0c0c0;
}

.dir-tier-bronze .dir-badge-tier,
.dir-badge-tier.dir-tier-bronze {
  background: rgba(205, 127, 50, 0.15);
  color: #cd7f32;
}

.dir-partner-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}

.dir-empty {
  text-align: center;
  padding: 80px 20px;
  max-width: 500px;
  margin: 0 auto;
}

.dir-empty-icon {
  font-size: 48px;
  margin-bottom: 16px;
}

.dir-empty-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 8px;
}

.dir-empty-desc {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

@media screen and (max-width: 991px) {
  .dir-grid-speakers {
    grid-template-columns: repeat(3, 1fr);
  }

  .dir-grid-startups {
    grid-template-columns: repeat(2, 1fr);
  }

  .dir-grid-investors {
    grid-template-columns: repeat(3, 1fr);
  }

  .dir-grid-partners {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 767px) {
  .dir-grid-speakers {
    grid-template-columns: repeat(2, 1fr);
  }

  .dir-grid-startups,
  .dir-grid-partners {
    grid-template-columns: 1fr;
  }

  .dir-grid-investors {
    grid-template-columns: repeat(2, 1fr);
  }

  .dir-section {
    padding: 48px 20px 60px;
  }
}

@media screen and (max-width: 479px) {
  .dir-grid-speakers,
  .dir-grid-investors {
    grid-template-columns: repeat(2, 1fr);
    gap: 3px;
  }

  .dir-spk-name {
    font-size: 11px;
    letter-spacing: 0.3px;
  }

  .dir-spk-title,
  .dir-spk-company {
    font-size: 10px;
  }

  .dir-spk-info {
    padding: 10px 10px 12px;
  }

  .dir-investor-logo {
    width: 60px;
    height: 60px;
  }
}
