.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 20px;
}
.btn-apply {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 9999px;
  background: #ffffff;
  color: #000000;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid #ffffff;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-apply:hover {
  background: #e4e4e7;
  transform: translateY(-1px);
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 520px;
}
.search-box > i {
  position: absolute;
  left: 15px;
  color: var(--text-muted);
  font-size: 14px;
  pointer-events: none;
}
.search-box input {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 12px 40px 12px 42px;
  font-size: 14px;
  font-family: inherit;
  color: #ffffff;
  outline: none;
  transition: all 0.2s ease;
}
.search-box input::placeholder { color: #52525b; }
.search-box input:focus {
  border-color: rgba(56, 189, 248, 0.55);
  background: #18181d;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}
.search-clear {
  display: none;
  position: absolute;
  right: 12px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: #e4e4e7;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
}
.search-clear:hover { background: rgba(255, 255, 255, 0.2); }

.directory { margin-top: 28px; }
.dir-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.dir-shield-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--emerald);
  font-weight: 600;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.reseller-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 18px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 0;
}
.reseller-card:hover {
  border-color: var(--card-border-hover);
  background: var(--card-bg-elevated);
  transform: translateY(-2px);
}
.reseller-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.rc-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.rc-logo-wrap {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.rc-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.rc-logo-fallback {
  color: var(--accent);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rc-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.28);
  color: var(--emerald);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.rc-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.rc-note {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  flex: 1;
}
.rc-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.rc-btn {
  flex: 1;
  min-width: 110px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 600;
  transition: all 0.2s ease;
}
.rc-btn-wa {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: #6ee7b7;
}
.rc-btn-wa:hover {
  background: #10b981;
  border-color: #10b981;
  color: #000000;
}
.rc-btn-tg {
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #7dd3fc;
}
.rc-btn-tg:hover {
  background: #38bdf8;
  border-color: #38bdf8;
  color: #000000;
}

.empty {
  grid-column: 1 / -1;
  background: var(--card-bg);
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  padding: 36px 20px;
  text-align: center;
  color: var(--text-muted);
}
.empty i { font-size: 26px; margin-bottom: 10px; color: #71717a; }
.empty h3 { font-size: 16px; color: #ffffff; margin-bottom: 4px; }
.empty p { font-size: 13px; }

/* Benefits & Apply Sections */
.benefits {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--card-border);
}
.sec-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 6px;
}
.benefits h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.benefits .sub {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.benefit {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bc-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.24);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
}
.benefit h4 {
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}
.benefit p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.apply-banner { margin-top: 28px; }
.apply-card {
  background: linear-gradient(145deg, rgba(24, 24, 29, 0.9), rgba(13, 13, 15, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.apply-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}
.apply-card p {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 460px;
}
.apply-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  background: #ffffff;
  color: #000000;
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.apply-cta:hover { background: #e4e4e7; transform: translateY(-1px); }

@media (max-width: 680px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  .reseller-card {
    padding: 14px 12px;
    border-radius: 16px;
    gap: 8px;
  }
  .reseller-card:last-child:nth-child(odd) {
    padding: 16px 14px;
  }
  .rc-top-row {
    gap: 6px;
    flex-wrap: wrap;
  }
  .rc-logo-wrap {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }
  .rc-logo-fallback { font-size: 16px; }
  .rc-badge {
    font-size: 9px;
    padding: 2px 6px;
    letter-spacing: 0.03em;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .rc-name { font-size: 14.5px; }
  .rc-note { font-size: 11.5px; line-height: 1.38; }
  .rc-actions {
    gap: 6px;
    margin-top: 4px;
    padding-top: 10px;
  }
  .rc-btn {
    flex: 1 1 100%;
    min-width: 0;
    padding: 8px 10px;
    font-size: 11.5px;
    border-radius: 9px;
  }
  .reseller-card:last-child:nth-child(odd) .rc-btn {
    flex: 1 1 110px;
  }
  .benefits-grid { grid-template-columns: minmax(0, 1fr); }
}
